[x-cloak] {
    display: none !important;
}

.existing-customer-reference {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 210px;
    max-width: 330px;
    margin-inline: 18px;
    padding: 8px 11px;
    border: 1px solid #b9ddca;
    border-radius: 12px;
    background: #f1fbf6;
    box-shadow: 0 5px 16px rgba(17, 119, 81, .08);
}

.existing-customer-check {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    background: #18885f;
    color: #fff;
    font-size: 18px;
}

.existing-customer-copy,
.existing-customer-copy small,
.existing-customer-copy b,
.existing-customer-copy > span {
    display: block;
    min-width: 0;
}

.existing-customer-copy small {
    color: #4d806c;
    font-size: 9px;
    font-weight: 800;
}

.existing-customer-copy b {
    overflow: hidden;
    margin-top: 1px;
    color: #17563f;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.existing-customer-copy > span {
    overflow: hidden;
    margin-top: 2px;
    color: #638174;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gimsa-intake-root .field-error,
.gimsa-intake-root .lookup-error {
    display: none !important;
}

.gimsa-intake-root .invalid-selection {
    border-radius: 16px;
    box-shadow: 0 0 0 3px rgba(201, 71, 71, .12);
    outline: 1px solid #c94747;
    outline-offset: 4px;
}

.gimsa-intake-root .consent.invalid {
    border-color: #c94747;
    box-shadow: 0 0 0 4px rgba(201, 71, 71, .08);
}

.gimsa-intake-root .toast {
    width: max-content;
    max-width: min(540px, calc(100vw - 32px));
    text-align: center;
}

.choice-title,
.choice-text {
    display: block;
}

.stage[data-step="3"] .catalog-filter-wrap {
    position: sticky;
    top: -34px;
    z-index: 12;
    margin: 0 -10px 16px;
    padding: 9px 10px 7px;
    border-bottom: 1px solid rgba(211, 224, 234, .88);
    background: rgba(251, 252, 253, .96);
    box-shadow: 0 9px 20px rgba(20, 47, 74, .055);
    backdrop-filter: blur(14px);
}

.stage[data-step="3"] .catalog-filter-rail {
    position: relative;
    min-width: 0;
    flex: 1 1 0;
}

.stage[data-step="3"] .catalog-filter-rail .catalog-filters {
    width: 100%;
    min-width: 0;
}

.stage[data-step="3"] .catalog-scroll-cue {
    display: none;
}

.btn-other-model {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e1a316;
    background: #ffc928;
    color: #513900;
    box-shadow: 0 8px 20px rgba(220, 158, 13, .22);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-other-model svg,
.btn-skip-trade svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.btn-other-model:hover,
.btn-other-model.selected {
    border-color: #c98c00;
    background: #ffbd00;
    box-shadow: 0 10px 24px rgba(220, 158, 13, .3);
}

.btn-other-model:active {
    transform: scale(.98);
}

@media (max-width: 1050px) {
    .stage[data-step="3"] .catalog-filter-wrap {
        top: 88px;
    }
}

@media (max-width: 700px) {
    .stage[data-step="3"] .catalog-filter-wrap {
        top: 74px;
        margin-inline: -6px;
        padding-inline: 6px;
    }

    .stage[data-step="3"],
    .stage[data-step="3"] .ford-catalog,
    .stage[data-step="3"] .catalog-toolbar,
    .stage[data-step="3"] .catalog-filter-rail {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .stage[data-step="3"] .catalog-toolbar {
        align-items: center;
    }

    .stage[data-step="3"] .catalog-filter-rail {
        position: relative;
        flex: 1 1 0;
        overflow: hidden;
    }

    .stage[data-step="3"] .catalog-filters {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 2px;
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .stage[data-step="3"] .catalog-filters.is-scrollable {
        padding-right: 54px;
        scroll-padding-right: 54px;
    }

    .stage[data-step="3"] .catalog-filter {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .stage[data-step="3"] .catalog-scroll-cue {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 7px;
        z-index: 3;
        width: 58px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 2px;
        padding-right: 5px;
        background: linear-gradient(90deg, rgba(251, 252, 253, 0), rgba(251, 252, 253, .96) 38%, #fbfcfd 68%);
        color: #35698f;
        font-size: 9px;
        font-weight: 850;
        pointer-events: none;
    }

    .stage[data-step="3"] .catalog-scroll-cue svg {
        width: 17px;
        height: 17px;
        animation: catalogScrollCue 1.25s ease-in-out infinite;
    }
}

@keyframes catalogScrollCue {
    0%, 100% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
    .stage[data-step="3"] .catalog-scroll-cue svg {
        animation: none;
    }
}

.lead-matches {
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
    border-color: #c9ddea !important;
}

.matches-heading {
    padding: 15px 17px;
    background: #edf6ff;
    border-bottom: 1px solid #d7e7f3;
}

.matches-heading b,
.matches-heading span {
    display: block;
}

.matches-heading b {
    color: #123f66;
}

.matches-heading span {
    margin-top: 3px;
    color: #657d91;
    font-size: 12px;
}

.lead-match {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 100px minmax(180px, 1.3fr) repeat(3, minmax(125px, 1fr));
    gap: 12px;
    align-items: center;
    padding: 14px 17px;
    border: 0;
    border-bottom: 1px solid #e5ebf0;
    background: #fff;
    text-align: left;
    color: #183a57;
    cursor: pointer;
}

.lead-match:last-child {
    border-bottom: 0;
}

.lead-match:hover {
    background: #f6faff;
}

.match-date {
    color: #4f6c84;
    font-size: 12px;
    font-weight: 800;
}

.match-main,
.match-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.match-main small,
.match-detail small {
    color: #72879a;
    font-size: 11px;
}

.match-main b,
.match-detail b {
    font-size: 12px;
    line-height: 1.35;
}

.match-pilot {
    position: absolute;
    top: 5px;
    right: 8px;
    color: #8da0b0;
    font-size: 9px;
}

.catalog-search-field.live {
    display: flex;
    max-width: 270px;
    flex: 1;
}

.catalog-search-field.live input {
    width: 100%;
}

.vehicle-search-suggestion {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    padding: 9px 12px;
    border: 1px solid #b9d9ee;
    border-radius: 11px;
    background: #eef8ff;
    color: #385b74;
    font-size: 13px;
}

.vehicle-search-suggestion > svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: var(--ford-blue);
}

.vehicle-suggestion-link {
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--ford-blue);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.vehicle-suggestion-link:hover,
.vehicle-suggestion-link:focus-visible {
    color: #003478;
    border-bottom-width: 2px;
}

.assisted-notes {
    margin-top: 15px;
}

.assisted-notes textarea {
    width: 100%;
    min-height: 78px;
    padding: 11px;
    border: 1px solid #d6e0e9;
    border-radius: 12px;
}

.handoff-link {
    width: 100%;
    height: 38px;
    margin-top: 10px;
    padding: 0 10px;
    border: 1px solid #d7e1e9;
    border-radius: 9px;
    color: #526b80;
}

.record-search-overlay[style*="display: none"] {
    display: none !important;
}

.record-search-overlay.show .record-search-progress {
    animation: recordProgress 3s linear forwards;
}

.lookup-btn:disabled {
    cursor: wait;
    opacity: .72;
}

@media (max-width: 1050px) {
    .existing-customer-reference {
        min-width: 170px;
        margin-inline: 10px;
    }

    .existing-customer-copy > span {
        display: none;
    }

    .lead-match {
        grid-template-columns: 90px 1fr 1fr;
    }

    .lead-match .match-detail:nth-of-type(n + 4) {
        display: none;
    }
}

@media (max-width: 650px) {
    .vehicle-special-options {
        top: 74px;
        grid-template-columns: 1fr;
    }

    .existing-customer-reference {
        min-width: 0;
        max-width: 170px;
        margin-inline: 4px;
        padding: 6px 8px;
    }

    .existing-customer-copy small {
        display: none;
    }

    .lead-match {
        grid-template-columns: 1fr;
    }

    .match-date {
        order: -1;
    }

    .lead-match .match-detail {
        display: flex !important;
    }

    .catalog-search-field.live {
        max-width: none;
    }
}

/* V12 · Flujo táctil optimizado para tablet horizontal */
.brand-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.staff-access {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    color: rgba(255, 255, 255, .34);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.staff-access svg {
    width: 13px;
    height: 13px;
}

.staff-access:hover,
.staff-access:focus-visible {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .86);
    outline: none;
}

.top-brand-copy {
    min-width: 0;
    max-width: 310px;
}

.top-brand-copy .top-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-brand-copy .top-sub {
    line-height: 1.3;
}

.lookup-one-required {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    flex: 0 0 auto;
    padding: 0 10px;
    border: 1px solid #bedaf0;
    border-radius: 999px;
    background: #edf7ff;
    color: #1767a8;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.customer-search .lookup-grid {
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
}

.lookup-divider {
    display: grid;
    min-height: 92px;
    place-items: center;
}

.lookup-divider span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid #d8e4ed;
    border-radius: 50%;
    background: #fff;
    color: #71879a;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.staff-strip-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.staff-strip-title span {
    color: #234561;
    font-size: 11px;
    font-weight: 850;
}

.staff-strip-title small {
    padding: 4px 7px;
    border-radius: 999px;
    background: #e4edf4;
    color: #678097;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.assisted-search-grid {
    align-items: start;
}

.assisted-search-select {
    position: relative;
    z-index: 2;
}

.assisted-search-select:focus-within {
    z-index: 20;
}

.assisted-select-trigger {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1.5px solid #d7e0e9;
    border-radius: 14px;
    background: #fff;
    color: #1e3b57;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.assisted-select-trigger:hover,
.assisted-select-trigger[aria-expanded="true"] {
    border-color: var(--ford-blue);
    background: #fbfdff;
    box-shadow: 0 0 0 4px rgba(0, 104, 215, .08);
}

.assisted-select-trigger > svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    color: #668096;
    transition: transform .16s ease;
}

.assisted-select-trigger[aria-expanded="true"] > svg {
    transform: rotate(180deg);
}

.assisted-select-value {
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assisted-select-value.is-placeholder {
    color: #7d91a3;
    font-weight: 600;
}

.assisted-select-popover {
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    z-index: 30;
    overflow: hidden;
    border: 1px solid #cbd9e4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(23, 54, 80, .18);
}

.assisted-select-search {
    position: relative;
    display: flex;
    align-items: center;
    padding: 9px;
    border-bottom: 1px solid #e2e9ef;
    background: #f7fafc;
}

.staff-strip .assisted-select-search input {
    height: 42px;
    padding: 0 12px 0 36px;
    border-radius: 11px;
    font-size: 13px;
}

.assisted-select-search > svg {
    position: absolute;
    left: 21px;
    width: 17px;
    height: 17px;
    z-index: 1;
    color: #6d8497;
    pointer-events: none;
}

.assisted-select-list {
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.assisted-select-options {
    max-height: 230px;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    padding: 6px;
    scrollbar-color: #8eb1cf #edf3f7;
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.assisted-select-options.is-scrollable {
    padding-bottom: 43px;
}

.assisted-select-options::-webkit-scrollbar {
    width: 7px;
}

.assisted-select-options::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #edf3f7;
}

.assisted-select-options::-webkit-scrollbar-thumb {
    border: 2px solid #edf3f7;
    border-radius: 999px;
    background: #7fa8ca;
}

.assisted-select-scroll-hint {
    position: absolute;
    right: 7px;
    bottom: 6px;
    left: 7px;
    z-index: 2;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #dce8f2;
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(247, 251, 254, .94), #edf5fb);
    box-shadow: 0 -8px 18px rgba(255, 255, 255, .92);
    color: #52738d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    pointer-events: none;
}

.assisted-select-scroll-hint svg {
    width: 15px;
    height: 15px;
    animation: assistedSelectScrollCue 1.25s ease-in-out infinite;
}

@keyframes assistedSelectScrollCue {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(2px); }
}

.assisted-select-option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #2d4b65;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 680;
    text-align: left;
}

.assisted-select-option:hover,
.assisted-select-option:focus-visible {
    background: #edf6ff;
    color: #075ea9;
    outline: 0;
}

.assisted-select-option.selected {
    background: #e9f5ff;
    color: #075ea9;
    font-weight: 850;
}

.assisted-select-option > svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.assisted-select-empty {
    padding: 19px 10px;
    color: #73889a;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 720px) {
    .assisted-select-options {
        max-height: min(280px, 42dvh);
    }

    .assisted-select-option {
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .assisted-select-scroll-hint svg {
        animation: none;
    }
}

.customer-category-field {
    align-self: start;
}

.customer-category-radio-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.customer-category-radio-group .touch-radio > span {
    grid-template-columns: 18px minmax(0, 1fr);
    min-height: 52px;
    gap: 6px;
    padding: 8px 9px;
    border-radius: 14px;
}

.customer-category-radio-group .touch-radio > span > i {
    width: 18px;
    height: 18px;
    border-width: 1.5px;
    box-shadow: inset 0 0 0 3.5px #fff;
}

.customer-category-radio-group .touch-radio b {
    overflow: hidden;
    font-size: 11px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trade-in-heading {
    min-width: 0;
}

.touch-slider {
    gap: 10px;
    padding: 15px 17px 13px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(180deg, #fff, #f8fbfd);
    transition: box-shadow .18s ease;
}

.touch-slider:focus-within {
    box-shadow: 0 0 0 4px rgba(0, 104, 215, .07);
}

.touch-slider.invalid-selection {
    box-shadow: 0 0 0 4px rgba(201, 71, 71, .08);
}

.touch-slider-head,
.touch-slider-head > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.touch-slider-stepper {
    min-width: min(230px, 100%);
    display: grid !important;
    grid-template-columns: 44px minmax(112px, 1fr) 44px;
    align-items: center;
    gap: 7px !important;
}

.touch-slider-stepper button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1.5px solid #cbdbe7;
    border-radius: 13px;
    background: #fff;
    color: #075ea8;
    box-shadow: 0 5px 14px rgba(22, 73, 113, .08);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    touch-action: manipulation;
}

.touch-slider-stepper button:active {
    border-color: var(--ford-blue);
    background: #eaf5ff;
    transform: scale(.96);
}

.touch-slider-head output {
    min-width: 0;
    width: 100%;
    padding: 7px 10px;
    border-radius: 9px;
    background: #eaf5ff;
    color: #075ea8;
    font-size: 12px;
    font-weight: 850;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.touch-slider-head button {
    padding: 7px 4px;
    border: 0;
    background: transparent;
    color: #6c8193;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.touch-slider.is-empty .touch-slider-head output {
    background: #f0f3f6;
    color: #758696;
}

.touch-slider input[type="range"] {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: ew-resize;
    appearance: none;
    touch-action: none;
}

.touch-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ford-blue) var(--range-progress), #dce6ee var(--range-progress));
}

.touch-slider input[type="range"]::-webkit-slider-thumb {
    width: 40px;
    height: 40px;
    margin-top: -15px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--ford-blue);
    box-shadow: 0 4px 14px rgba(0, 54, 112, .3), 0 0 0 2px rgba(0, 104, 215, .22);
    appearance: none;
}

.touch-slider input[type="range"]::-moz-range-track {
    height: 10px;
    border-radius: 999px;
    background: #dce6ee;
}

.touch-slider input[type="range"]::-moz-range-progress {
    height: 10px;
    border-radius: 999px;
    background: var(--ford-blue);
}

.touch-slider input[type="range"]::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--ford-blue);
    box-shadow: 0 3px 10px rgba(0, 54, 112, .28);
}

.touch-slider.is-empty input[type="range"] {
    opacity: .68;
}

.touch-slider-scale {
    display: flex;
    justify-content: space-between;
    color: #8697a6;
    font-size: 9px;
    font-weight: 700;
}

.age-slider {
    max-width: none;
}

.touch-year-select {
    min-height: 60px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .touch-slider {
        padding: 14px 12px 12px;
    }

    .touch-slider-head {
        align-items: stretch;
        flex-direction: column;
    }

    .touch-slider-stepper {
        width: 100%;
        min-width: 0;
        grid-template-columns: 48px minmax(0, 1fr) 48px;
    }

    .touch-slider-stepper button {
        width: 48px;
        height: 48px;
    }
}

.touch-choice-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.touch-choice-field legend {
    margin-bottom: 8px;
    color: #314760;
    font-size: 13px;
    font-weight: 700;
}

.touch-radio-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.touch-radio-group.invalid-selection {
    border-radius: 15px;
}

.touch-radio {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.touch-radio > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.touch-radio > span {
    display: grid;
    position: relative;
    grid-template-columns: 25px minmax(0, 1fr);
    min-height: 66px;
    align-content: center;
    align-items: center;
    gap: 2px 9px;
    padding: 10px 12px;
    border: 1.5px solid #d7e1e9;
    border-radius: 15px;
    background: #fff;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.touch-radio:active > span {
    transform: scale(.985);
}

.touch-radio > span > i {
    grid-row: 1 / span 2;
    width: 25px;
    height: 25px;
    border: 2px solid #b9c8d5;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 5px #fff;
}

.touch-radio b {
    min-width: 0;
    color: #1e3b57;
    font-size: 12px;
}

.touch-radio small {
    min-width: 0;
    overflow: hidden;
    color: #73889a;
    font-size: 9px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.touch-radio > input:checked + span {
    border-color: var(--ford-blue);
    background: #edf7ff;
    box-shadow: 0 0 0 3px rgba(0, 104, 215, .07);
}

.touch-radio > input:checked + span > i {
    border-color: var(--ford-blue);
    background: var(--ford-blue);
}

.touch-radio > input:focus-visible + span {
    outline: 3px solid rgba(0, 104, 215, .16);
    outline-offset: 2px;
}

.gender-radio-group {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.btn-skip-trade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e1a316;
    background: #ffc928;
    color: #513900;
    box-shadow: 0 8px 20px rgba(220, 158, 13, .22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    pointer-events: none;
    transition: opacity .48s ease, transform .48s ease, visibility 0s linear .48s, background .18s ease, box-shadow .18s ease;
}

.btn-skip-trade.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.btn-skip-trade:hover,
.btn-skip-trade:focus-visible {
    background: #ffd552;
    box-shadow: 0 10px 24px rgba(220, 158, 13, .28);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .btn-skip-trade {
        transform: none;
        transition: none;
    }
}

.btn-skip-trade svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.skip-short {
    display: none;
}

@media (min-width: 1051px) and (max-width: 1280px) {
    .topbar {
        gap: 16px;
    }

    .top-brand-copy {
        max-width: 250px;
    }

    .top-title {
        font-size: 16px;
    }

    .top-sub {
        font-size: 11px;
    }

    .capture-actions {
        flex: 0 0 auto;
    }

    .mode-toggle {
        padding: 5px;
    }

    .mode-btn {
        min-height: 36px;
        padding: 8px 11px;
    }

    .handoff-btn {
        height: 48px;
    }

    .staff-strip {
        margin-bottom: 16px;
        padding: 11px;
    }

    .staff-strip .fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-strip input,
    .staff-strip select {
        height: 46px;
        font-size: 13px;
    }

    .staff-strip .assisted-select-trigger {
        height: 46px;
    }

    .trade-in-stage .lead {
        margin-bottom: 20px;
    }

    .trade-fields {
        gap: 12px;
    }

    .trade-fields input:not([type="range"]) {
        height: 54px;
    }
}

@media (max-width: 700px) {
    .customer-search .lookup-grid {
        grid-template-columns: 1fr;
    }

    .lookup-divider {
        position: relative;
        min-height: 28px;
    }

    .lookup-divider::before {
        position: absolute;
        right: 0;
        left: 0;
        height: 1px;
        background: #e0e8ee;
        content: "";
    }

    .lookup-divider span {
        z-index: 1;
    }

    .lookup-one-required {
        margin-top: 10px;
    }

    .touch-radio-group,
    .gender-radio-group {
        grid-template-columns: 1fr;
    }

    .customer-category-radio-group,
    .gender-radio-group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .customer-category-radio-group .touch-radio > span,
    .gender-radio-group .touch-radio > span {
        grid-template-columns: 1fr;
        min-height: 68px;
        align-content: center;
        justify-items: center;
        gap: 6px;
        padding: 8px 4px;
        text-align: center;
    }

    .customer-category-radio-group .touch-radio > span > i,
    .gender-radio-group .touch-radio > span > i {
        grid-row: auto;
        width: 20px;
        height: 20px;
        border-width: 1.5px;
        box-shadow: inset 0 0 0 4px #fff;
    }

    .customer-category-radio-group .touch-radio b,
    .gender-radio-group .touch-radio b {
        overflow-wrap: anywhere;
        font-size: 10px;
        line-height: 1.15;
        white-space: normal;
    }

    .touch-radio > span {
        min-height: 60px;
    }

    .brand-foot .staff-access {
        display: none;
    }
}

@media (max-width: 600px) {
    .footer-nav,
    .nav-actions {
        gap: 6px;
    }

    .btn-skip-trade {
        min-height: 50px;
        padding-inline: 12px;
        font-size: 11px;
    }

    .skip-wide {
        display: none;
    }

    .skip-short {
        display: inline;
    }

    .footer-nav .btn-primary {
        min-width: 120px;
    }
}

/* V13 · Recuperación y estado de autoguardado */
.progress-meta {
    gap: 12px;
}

.progress-meta > strong {
    margin-left: auto;
}

.draft-save-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #ecf8f2;
    color: #267255;
    font-size: 9px;
    font-weight: 700;
}

.draft-save-state i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #24a873;
    box-shadow: 0 0 0 3px rgba(36, 168, 115, .1);
}

.draft-save-state b {
    font: inherit;
}

.draft-recovery-backdrop {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(0, 23, 57, .63);
    backdrop-filter: blur(9px);
    animation: draftBackdropIn .25s ease both;
}

.draft-recovery-card {
    width: min(520px, 100%);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 18, 52, .3);
    text-align: center;
    animation: draftCardIn .34s cubic-bezier(.2, .75, .25, 1) both;
}

.draft-recovery-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 17px;
    place-items: center;
    border-radius: 21px;
    background: linear-gradient(145deg, #e7f4ff, #f0edff);
    color: var(--ford-blue);
}

.draft-recovery-icon svg {
    width: 34px;
    height: 34px;
}

.draft-recovery-kicker {
    color: var(--ford-blue);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.draft-recovery-card h3 {
    margin: 7px 0 8px;
    color: #0c2b4d;
    font-size: 28px;
    letter-spacing: -.025em;
}

.draft-recovery-card > p {
    max-width: 420px;
    margin: 0 auto;
    color: #63788d;
    font-size: 13px;
    line-height: 1.55;
}

.draft-recovery-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #e0e8ef;
    border-radius: 17px;
    background: #f7fafc;
    text-align: left;
}

.draft-recovery-summary > div {
    min-width: 0;
    padding: 8px 9px;
}

.draft-recovery-summary span,
.draft-recovery-summary b {
    display: block;
}

.draft-recovery-summary span {
    color: #8192a2;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.draft-recovery-summary b {
    overflow: hidden;
    margin-top: 4px;
    color: #284761;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.draft-recovery-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.draft-recovery-actions button {
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.draft-preserve {
    border: 1px solid #b9cfe2;
    background: #f4f8fb;
    color: #315b7a;
}

.draft-resume {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--ford-blue);
    background: var(--ford-blue);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 104, 215, .22);
}

.draft-resume svg {
    width: 18px;
    height: 18px;
}

.email-input-wrap {
    position: relative;
}

.email-input-wrap > input {
    width: 100%;
    padding-right: 142px;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.email-unavailable-badge {
    position: absolute;
    top: 50%;
    right: 7px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px solid #d3e1ec;
    border-radius: 10px;
    background: #eff5f9;
    color: #537086;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
    transform: translateY(-50%);
    transition: .18s ease;
}

.email-unavailable-badge:hover {
    border-color: #9fc8e7;
    background: #e7f3fc;
    color: #1768a7;
}

.email-unavailable-badge i {
    font-size: 15px;
}

.email-unavailable-badge.active {
    border-color: #83b9df;
    background: #dff0fc;
    color: #075f9e;
    box-shadow: 0 0 0 3px rgba(8, 116, 200, .08);
}

.email-field.email-unavailable input:disabled {
    border-color: #d8e4ec;
    background: #f3f7fa;
    color: #8b9aa6;
    opacity: 1;
}

@media (max-width: 520px) {
    .email-input-wrap > input {
        padding-right: 119px;
        font-size: 14px;
    }

    .email-unavailable-badge {
        right: 6px;
        min-height: 40px;
        padding: 0 9px;
        font-size: 9.5px;
    }
}

@keyframes draftBackdropIn {
    from { opacity: 0; }
}

@keyframes draftCardIn {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
}

@media (max-width: 560px) {
    .draft-save-state {
        display: none !important;
    }

    .draft-recovery-card {
        padding: 24px 18px;
        border-radius: 21px;
    }

    .draft-recovery-summary {
        grid-template-columns: 1fr;
    }

    .draft-recovery-actions {
        flex-direction: column-reverse;
    }

    .draft-recovery-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .draft-recovery-backdrop,
    .draft-recovery-card {
        animation: none;
    }
}
