.trade-vin-tools{padding:1rem;border:1px solid #d7dfe8;border-radius:.75rem;margin-bottom:1.5rem;background:#f4f7fa}.trade-vin-tools h2{font-size:1.25rem;margin:0}.trade-vin-tools p{font-size:.9rem}.trade-vin-buttons{display:flex;flex-wrap:wrap;gap:.6rem}
.dlp-vin-dialog{box-sizing:border-box;position:fixed;top:1rem;bottom:auto;max-width:calc(100% - 1rem);width:620px;max-height:calc(100svh - 2rem);margin:0 auto;padding:0;border:1px solid #d7dfe8;border-radius:1rem;background:#fff;color:#20262d;overflow:auto}.dlp-vin-dialog::backdrop{background:#102030aa}.dlp-vin-header{display:flex;justify-content:space-between;align-items:center;padding:1rem}.dlp-vin-header h2{font-size:1.25rem;margin:0}.dlp-vin-close{width:44px;height:44px;padding:0;font-size:1.5rem}.dlp-vin-viewfinder{position:relative;min-height:220px;max-height:360px;aspect-ratio:16/10;background:#08121b;overflow:hidden}.dlp-vin-viewfinder video{display:block;width:100%;height:100%;object-fit:cover}.dlp-vin-instruction{position:absolute;top:0;left:0;right:0;text-align:center;color:white;text-shadow:0 1px 3px black}.dlp-vin-guide{position:absolute;inset:35% 5%;border:2px solid #fff;border-radius:.4rem;pointer-events:none}.dlp-vin-footer{padding:1rem}.dlp-vin-footer p{font-size:.9rem}.dlp-vin-manual{width:100%}
.trade-step[hidden]{display:none!important}.trade-step-progress{margin:0 0 1rem;font-weight:700;font-size:.9rem;color:#435268}.trade-vehicle-summary{border:1px solid #cdd9e6;background:#f4f7fa;border-radius:.85rem;padding:1rem;margin:0 0 1.5rem}.trade-vehicle-summary h3{font-size:1.2rem;margin:0 0 .8rem}.trade-vehicle-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:0}.trade-vehicle-summary dt{font-size:.75rem;color:#526174}.trade-vehicle-summary dd{font-size:.9rem;font-weight:600;margin:0;overflow-wrap:anywhere}.trade-step-actions{display:flex;gap:.75rem;justify-content:space-between}.trade-step-actions .trade-back{background:#e4eaf1;color:#17202b}.trade-submit-status:empty{display:none}.trade-submit-status{margin-top:1rem}button:disabled{opacity:.6;cursor:wait}@media(max-width:400px){.trade-vehicle-summary dl{grid-template-columns:1fr}}

.trade-decoded-details{margin:0 0 1.25rem;padding:1rem;border:1px solid #d7dfe8;border-radius:.7rem}.trade-decoded-details summary{cursor:pointer;font-weight:650;font-size:.9rem}.trade-decoded-details[open] summary{margin-bottom:1rem}

/* Override shared status notices for progress and camera guidance. */
.trade-step-progress[role=status]{padding:0;border:0;border-radius:0;background:transparent;color:#526174;font-size:.8rem;letter-spacing:.03em;margin-bottom:.75rem}
[data-trade-decode-status]:empty{display:none!important}
[data-trade-decode-status][role=status]{padding:.75rem 0 0;border:0;border-radius:0;background:transparent;color:#435268;margin-bottom:0}
.dlp-vin-dialog[open]{display:flex;flex-direction:column;inset:0;width:100%;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;overflow:hidden;background:#08121b;color:#fff}
.dlp-vin-header{flex:none;padding: max(1rem,env(safe-area-inset-top)) 1rem 1rem}.dlp-vin-header h2{color:#fff}
.dlp-vin-viewfinder{flex:1;min-height:0;max-height:none;aspect-ratio:auto}
.dlp-vin-instruction{padding:1rem;margin:0;background:linear-gradient(#08121be6,transparent);font-size:1rem!important}
.dlp-vin-footer{flex:none;padding:1rem 1rem max(1rem,env(safe-area-inset-bottom))}
.dlp-vin-footer [role=status]{padding:0;border:0;background:transparent;color:#fff;min-height:1.5em}

/* Trade-in hero experience, with no inset form panel. */
[data-dlp-trade-form]{max-width:880px;margin-inline:auto;padding:clamp(1rem,3vw,2rem);box-sizing:border-box;color:var(--trade-ink,#20262d)}
.trade-experience-intro{text-align:center;max-width:700px;margin:0 auto 2rem}.trade-experience-kicker{text-transform:uppercase;font-size:.75rem;letter-spacing:.16em;font-weight:750;margin:0 0 1rem}.trade-experience-intro h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.08;letter-spacing:-.035em;margin:0 0 1rem;color:inherit}.trade-experience-intro p:last-child{opacity:.85;margin:0;line-height:1.6}
.trade-step-progress[role=status]{text-align:center;color:inherit;opacity:.7}.trade-step>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.trade-vin-tools{border:0;padding:0;margin:0;background:transparent}.trade-vin-tools>h2,.trade-vin-tools>p:not([data-trade-decode-status]){display:none}.trade-vin-buttons{position:relative;height:0;display:block}.trade-vin-buttons [data-decode]{display:none}.trade-vin-entry{display:flex;position:relative;align-items:stretch;margin:1rem 0}.trade-vin-entry .bcf-public-field{flex:1;margin:0}.trade-vin-entry label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.trade-vin-entry input{height:64px;border-radius:1rem 0 0 1rem;font-size:1.1rem;letter-spacing:.08em;padding-right:4rem}.trade-vin-next{border-radius:0 1rem 1rem 0;min-width:120px;max-width:none}
.trade-vin-buttons [data-scan-vin]{position:absolute;z-index:2;right:132px;top:26px;background:transparent;color:#20262d;width:44px;height:44px;border-radius:.6rem;padding:10px}
.trade-manual-entry{display:block;margin:1rem auto;background:transparent;color:inherit;font-size:.85rem;text-decoration:underline;padding:.4rem}.trade-decoded-details{background:transparent;border-color:currentColor}.trade-vehicle-summary{background:#ffffffed;color:#20262d}.trade-step-actions{margin-top:1rem}.trade-step-actions button:last-child{min-width:160px}.trade-vin-tools [data-trade-decode-status]{color:inherit;text-align:center}
@media(min-width:1025px){.trade-vin-buttons [data-scan-vin]{display:none}.trade-vin-entry input{padding-right:1rem}}
@media(max-width:600px){.trade-vin-entry{flex-direction:column;gap:.75rem}.trade-vin-entry input,.trade-vin-next{border-radius:.8rem}.trade-vin-buttons [data-scan-vin]{right:10px;top:26px}.trade-step-actions button:last-child{min-width:0;flex:1}}

.trade-vin-entry .trade-vin-buttons{position:static;height:auto}.trade-vin-entry .trade-vin-buttons [data-scan-vin]{top:10px}

/* Keep the announced step focused without a browser-wide rectangular outline. */
.trade-step-progress[role=status]{width:fit-content;max-width:100%;margin-inline:auto;padding:.25rem .65rem;border-radius:999px}
.trade-step-progress[role=status]:focus{outline:none;box-shadow:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.35em}
@media(forced-colors:active){.trade-step-progress[role=status]:focus{outline:2px solid Highlight;outline-offset:2px}}
