.avd-vp-fl {
    position: relative;
    overflow: visible;
}

.avd-vp-fl-input {
    height: 34px;
    padding-top: 14px !important;
    padding-bottom: 2px !important;
    box-sizing: border-box;
}

.avd-vp-fl-input.avd-vp-money {
    padding-left: 22px !important;
}

.avd-vp-fl-label {
    position: absolute;
    left: 10px;
    top: 1px;
    transform: none;
    font-size: 10px;
    color: #64748b;
    line-height: 1;
    margin: 0;
    padding: 0 4px;
    background: var(--avd-fl-bg, #fff);
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
}

.avd-vp-fl-input:focus + .avd-vp-fl-label,
.avd-vp-fl-input:not(:placeholder-shown) + .avd-vp-fl-label {
    top: 1px;
    font-size: 10px;
    color: #64748b;
}

.avd-vp-fl-display {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 5px 10px;
    background: var(--avd-fl-bg, #fff);
    margin: 0;
}

.avd-vp-fl-display .avd-vp-fl-label {
    top: -6px;
    left: 8px;
    font-size: 10px;
    line-height: 1;
    color: #64748b;
    background: var(--avd-fl-bg, #fff);
    padding: 0 4px;
}

.avd-vp-fl.avd-vp-fl-notch .avd-vp-fl-label {
    top: -6px;
    left: 10px;
    font-size: 10px;
    line-height: 1;
    color: #64748b;
    background: var(--avd-fl-bg, #f8fafc);
    padding: 0 4px;
}


.avd-vp-fl-readonly-value {
    padding-top: 2px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.avd-vp-spec-card {
    min-height: 100%;
    border: none;
    border-radius: 8px;
    background: transparent;
    overflow: visible;
}

.avd-vp-spec-card-empty {
    min-height: 112px;
}

.avd-vp-spec-row {
    padding: 6px 10px;
}

.avd-vp-spec-row-border {
    border-bottom: none;
}

.avd-vp-spec-card .avd-vp-fl-readonly-value {
    padding-top: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* Vehicle profile finance tiles: force same box size/height */
.avd-template-shell .avd-vp-fl.avd-vp-fl-notch,
.avd-template-shell .avd-vp-fl.avd-vp-fl-display {
    min-height: 40px !important;
    height: 40px !important;
    padding: 12px 10px 6px !important;
    box-sizing: border-box !important;
}

.avd-template-shell .avd-vp-fl.avd-vp-fl-notch > div {
    height: 100% !important;
    align-items: center !important;
}

.avd-template-shell .avd-vp-fl.avd-vp-fl-display {
    display: flex !important;
    align-items: center !important;
}

.avd-template-shell .avd-vp-fl.avd-vp-fl-display .avd-vp-fl-readonly-value,
.avd-template-shell .avd-vp-fl.avd-vp-fl-notch input[type="text"] {
    line-height: 1 !important;
    padding-top: 0 !important;
    margin: 0 !important;
}

/* Make finance rows visually same width as upper spec rows (with inner side gutters). */
.avd-template-shell .avd-vp-fin-tile {
    margin-left: 10px !important;
    margin-right: 10px !important;
}
