/* SELL customer journey, verified support and responsive handoff — 2026-10-24 */
.kc-sell-page .kc-skip-link:not(:focus-visible) {
    visibility: hidden;
    pointer-events: none;
}
.kc-sell-page .kc-sell-main {
    padding-top: clamp(1.2rem, 3vw, 2.4rem);
}
.kc-sell-page .kc-sell-heading h1 {
    font-size: clamp(2.4rem, 5.6vw, 4rem);
    line-height: 1.07;
    letter-spacing: -.045em;
}
.kc-sell-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
    margin: 1.25rem 0 1.15rem;
}
.kc-sell-journey span {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-width: 0;
    padding: .8rem .85rem;
    border: 1px solid var(--kc-border);
    border-radius: .75rem;
    background: rgba(255,255,255,.025);
    color: var(--kc-text-soft);
    font-size: .81rem;
    line-height: 1.35;
}
.kc-sell-journey strong {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: rgba(226,182,91,.14);
    color: var(--kc-gold-strong);
    font-size: .75rem;
}
.kc-sell-page .kc-sell-panel {
    border-radius: 1.1rem;
    box-shadow: 0 15px 42px rgba(0,0,0,.14);
}
.kc-sell-page .kc-sell-summary {
    top: calc(var(--kc-header-height) + 1rem);
}
.kc-sell-verify-main {
    padding: clamp(1rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
}
.kc-sell-verify-layout {
    max-width: 760px;
}
.kc-sell-verify-card {
    width: 100%;
    padding: clamp(1.4rem, 4vw, 3rem);
    border-radius: 1.25rem;
}
.kc-sell-verify-card > h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.kc-sell-success {
    margin-top: 1.7rem;
    border-top: 1px solid var(--kc-border);
    padding-top: 1.6rem;
}
.kc-sell-success__mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0 0 1.25rem;
    border: 1px solid rgba(71,200,144,.52);
    border-radius: 50%;
    color: #57dba0;
    background: rgba(71,200,144,.12);
    font-size: 1.6rem;
}
.kc-sell-success h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    margin: .3rem 0 .8rem;
}
.kc-sell-success__intro {
    max-width: 62ch;
    line-height: 1.7;
}
.kc-sell-success__primary {
    display: grid;
    gap: .75rem;
    padding: 1.2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(226,182,91,.3);
    border-radius: 1rem;
    background: linear-gradient(130deg, rgba(226,182,91,.12), rgba(226,182,91,.02));
}
.kc-sell-success__primary .kc-button {
    justify-self: start;
    min-height: 3.1rem;
    padding-inline: 1.5rem;
    text-decoration: none;
    font-weight: 800;
}
.kc-sell-success__primary p {
    margin: 0;
    font-size: .9rem;
}
.kc-sell-success__contacts {
    padding-top: 1.1rem;
    border-top: 1px solid var(--kc-border);
}
.kc-sell-success__contacts h3 {
    margin-bottom: 1rem;
}
.kc-sell-success__contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.kc-sell-success__contact-links .kc-button {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.kc-sell-success__contacts .muted {
    font-size: .82rem;
    line-height: 1.55;
    margin-top: 1rem;
}
@media (max-width: 820px) {
    .kc-sell-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kc-sell-page .kc-sell-summary { position: static; }
}
@media (max-width: 480px) {
    .kc-sell-journey { grid-template-columns: 1fr 1fr; }
    .kc-sell-journey span { padding: .6rem; font-size: .73rem; }
    .kc-sell-success__primary .kc-button { width: 100%; justify-self: stretch; }
}


/* Progressive checkout states stay legible without relying only on color. */
.kc-sell-journey [data-state="current"] {
    border-color: rgba(226,182,91,.85);
    background: rgba(226,182,91,.1);
    color: var(--kc-text, #f5f2eb);
    box-shadow: inset 0 -2px 0 rgba(226,182,91,.8);
}
.kc-sell-journey [data-state="complete"] {
    border-color: rgba(71,200,144,.38);
    color: var(--kc-text, #f5f2eb);
}
.kc-sell-journey [data-state="complete"] strong {
    background: rgba(71,200,144,.17);
    color: #72e5ac;
}
.kc-sell-journey [data-state="complete"]::after {
    content: '✓';
    font-weight: 700;
    color: #72e5ac;
    margin-left: auto;
}
.kc-sell-verify-page .kc-skip-link:not(:focus-visible) {
    visibility: hidden;
    pointer-events: none;
}
.kc-sell-verify-page .kc-sell-success__primary .kc-button:focus-visible,
.kc-sell-page .kc-sell-journey [aria-current="step"] {
    outline-offset: 3px;
}

/* A real top-layer modal blocks the expired quote behind an opaque veil. */
.kc-sell-page .kc-sell-quote-dialog:not([open]) { display: none; }
.kc-sell-page .kc-sell-quote-dialog[open] {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(92vw, 630px);
    max-width: 92vw;
    max-height: min(85dvh, 720px);
    overflow-y: auto;
    padding: clamp(1.3rem, 4vw, 2.2rem);
    border: 1px solid rgba(226,182,91,.48);
    border-radius: 1.1rem;
    background: #191c21;
    color: var(--kc-text, #f5f2eb);
    box-shadow: 0 32px 90px rgba(0,0,0,.7);
}
.kc-sell-page .kc-sell-quote-dialog::backdrop {
    background: rgba(4,6,10,.91);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.kc-sell-quote-dialog h2 { margin: .5rem 0 1rem; font-size: clamp(1.6rem,4vw,2.2rem); }
.kc-sell-quote-dialog > p { line-height: 1.6; }
.kc-sell-quote-dialog .kc-action-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.kc-sell-quote-dialog .kc-button { min-height: 2.8rem; }
.kc-sell-quote-dialog__feedback:not(:empty) {
    padding: .7rem .85rem;
    border-left: 3px solid var(--kc-gold-strong);
    background: rgba(226,182,91,.07);
}
@media (max-width: 550px) {
    .kc-sell-quote-dialog .kc-action-row { flex-direction: column; }
    .kc-sell-quote-dialog .kc-button { width: 100%; }
}
@media (forced-colors: active) {
    .kc-sell-quote-dialog[open] { border: 2px solid CanvasText; }
}
/* Single decision point after verifying a SELL: tracking first, support second. */
.kc-sell-success__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .7rem;
}
.kc-sell-success__actions .kc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    line-height: 1.3;
}
.kc-sell-success__primary > .kc-eyebrow {
    margin: 0;
}
@media (max-width: 580px) {
    .kc-sell-success__actions { flex-direction: column; }
    .kc-sell-success__actions .kc-button { width: 100%; }
}
