/* Scoped progressive wizard. Consultation and privacy UI are never hidden. */
body.wizard-ready { background:#f7f8fa; color:#17202b; font-family:Ad,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
body.wizard-ready main > .hero, body.wizard-ready main > .lineup, body.wizard-ready main > .guide, body.wizard-ready main > .faq, body.wizard-ready #mobile-fixed { display:none; }
body.wizard-ready #quote-builder { width:min(100%,920px); margin:0 auto; padding:44px 24px 28px; border:0; background:transparent; scroll-margin-top:88px; }
body.wizard-ready #quote-builder > .section-kicker, body.wizard-ready #verify-title, body.wizard-ready #catalog-count, body.wizard-ready #quote-builder > .verify-inputs { display:none; }
body.wizard-ready #quote-builder > .model-disclaimer { margin:0 0 20px; padding:12px 16px; border:1px solid #e6e8ed; border-radius:14px; color:#657080; background:#fff; font-size:12px; line-height:1.7; }
.wizard-shell { --wizard-accent:#e71920; --wizard-line:#e8eaf0; position:relative; text-align:left; }
.wizard-shell [hidden] { display:none !important; }
.wizard-progress { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:18px; }
.wizard-shell button { font:inherit; cursor:pointer; }
.wizard-step { border:0; background:transparent; border-radius:9px; padding:8px 10px; color:#77818f; font-size:12px !important; }
.wizard-step[aria-current="step"] { background:#fff0f1; color:#a71016; font-weight:700; }
.wizard-shell button:disabled { cursor:not-allowed; opacity:.45; }
.wizard-summary { display:flex; flex-wrap:wrap; gap:7px; margin:0 0 18px; }
.wizard-summary:empty { display:none; }
.wizard-chip { border:1px solid #e3e6eb; border-radius:999px; padding:7px 12px; background:#fff; font-size:11px !important; color:#515b68; max-width:100%; overflow-wrap:anywhere; }
.wizard-panel { padding:36px; border:1px solid var(--wizard-line); border-radius:24px; background:white; box-shadow:0 10px 30px #26354b06; animation:wizard-in .2s ease-out; min-height:340px; }
.wizard-kicker { color:#ad242a; letter-spacing:.14em; font-size:11px; font-weight:700; margin:0 0 13px; }
.wizard-title { margin:0 0 12px; font-size:clamp(25px,4.8vw,36px) !important; font-weight:750; line-height:1.3; letter-spacing:-.055em; color:#17202b; }
.wizard-description { font-size:14px; color:#75808c; line-height:1.8; margin:0 0 26px; }
.wizard-native, .wizard-sr-only { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* Native controls remain the state source but not duplicate keyboard stops. */
.wizard-native { visibility:hidden; }
.wizard-search-label { display:block; font-size:12px; font-weight:650; margin-bottom:8px; color:#4b5664; }
.wizard-search { width:100%; box-sizing:border-box; border:1px solid #e0e4eb; border-radius:14px; background:#f8f9fb; padding:15px 16px; font:inherit; font-size:15px; color:#17202b; margin:0 0 20px; }
.wizard-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.wizard-choice { text-align:left; min-height:76px; padding:18px 20px; border:1px solid #e3e6ec; border-radius:16px; background:#fff; color:#243140; font-size:15px !important; font-weight:650 !important; line-height:1.55; overflow-wrap:anywhere; transition:border-color .15s,background .15s,transform .15s; }
.wizard-choice:hover { border-color:#e79b9e; background:#fffafb; transform:translateY(-1px); }
.wizard-choice[aria-pressed="true"] { border-color:#e71920; background:#fff4f4; box-shadow:0 0 0 1px #e71920; }
.wizard-empty { grid-column:1/-1; padding:32px 12px; color:#7b8490; text-align:center; font-size:14px; }
.wizard-shell :is(button,a,input,select,summary):focus-visible { outline:3px solid #e71920; outline-offset:3px; }
.wizard-shell .field-label { display:block; color:#505b69; font-size:13px; font-weight:650; margin:0 0 9px; }
.wizard-shell :is(select,.trim-input) { width:100%; box-sizing:border-box; border:1px solid #e0e4eb; padding:13px 14px; border-radius:12px; background:#f9fafb; color:#243140; font:inherit; font-size:14px; min-height:48px; }
.wizard-shell .verify-two { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.wizard-shell .option-field { padding:18px; border:1px solid #e7eaf0; border-radius:16px; margin:22px 0; }
.wizard-shell .option-row { display:flex; align-items:flex-start; gap:10px; padding:16px 0; border-bottom:1px solid #f0f1f4; }
.wizard-shell .option-row input { accent-color:#e71920; flex-shrink:0; margin-top:4px; }
.wizard-shell .op-label { flex:1; min-width:0; font-size:14px; }
.wizard-shell .op-label small { display:block; margin-top:6px; font-size:11px; line-height:1.7; color:#7d8795; }
.wizard-shell .op-price { font-size:12px; white-space:nowrap; }
.wizard-shell .field-help, .wizard-shell #catalog-price { font-size:12px; color:#7c8694; line-height:1.8; }
.wizard-shell details { border:1px solid #e7eaf0; border-radius:14px; padding:17px; margin:16px 0; }
.wizard-shell summary { cursor:pointer; font-size:13px; line-height:1.7; }
.wizard-shell details[open] > summary { margin-bottom:20px; }
.wizard-shell #quote-result { border:0; padding:0; margin:20px 0 0; background:#fff; border-radius:0; scroll-margin-top:90px; }
.wizard-shell .monthly-range { color:#b5171d; letter-spacing:-.045em; font-size:clamp(24px,5vw,38px); }
.wizard-shell #quote-input-error { padding:15px 18px; border:1px solid #f2cbce; border-radius:14px; margin:16px 0; background:#fff4f4; color:#ad1a22; line-height:1.7; font-size:13px; }
.wizard-actions { position:sticky; bottom:0; z-index:20; display:flex; align-items:center; gap:12px; padding:16px 0 max(16px,env(safe-area-inset-bottom)); background:#f7f8faf5; backdrop-filter:blur(12px); margin-top:12px; }
.wizard-back { border:1px solid #dfe3e9; background:#fff; border-radius:13px; padding:15px 20px; color:#536071; }
.wizard-consult { color:#6e7886; font-size:12px; text-decoration:none; padding:10px; }
.wizard-next, .wizard-shell #quote-check { margin:0 0 0 auto; width:auto; min-height:50px; padding:15px 24px; border:0; border-radius:13px; background:#e71920; color:white; font-size:14px; font-weight:700; box-shadow:0 4px 12px #e7192015; }
@keyframes wizard-in { from {opacity:1; transform:translateY(5px);} to {opacity:1; transform:translateY(0);} }
@media(max-width:600px) {
 body.wizard-ready #quote-builder { padding:24px 16px 16px; }
 .wizard-panel { padding:25px 20px; border-radius:20px; }
 .wizard-progress { gap:2px; }
 .wizard-step { padding:7px 6px; font-size:10px !important; }
 .wizard-choice { padding:15px; min-height:72px; font-size:14px !important; }
 .wizard-choices { gap:9px; }
 .wizard-shell .verify-two { gap:14px; }
 .wizard-shell .advanced-grid { grid-template-columns:1fr; }
 .wizard-actions { gap:7px; }
 .wizard-next, .wizard-shell #quote-check { padding:15px 16px; font-size:12px; }
 .wizard-back { padding:15px; font-size:12px !important; }
 .wizard-consult { padding:7px; font-size:11px; }
 .wizard-shell .option-row { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { .wizard-panel { animation:none; } .wizard-choice { transition:none; } .wizard-choice:hover { transform:none; } }

/* Contact entry reveals the original consultation without replacing handlers. */
body.wizard-ready #consult:not(.wizard-consult-open) { display:none; }

/* Compact, question-first mobile presentation. */
body.wizard-ready .wizard-disclosure{margin:0 0 18px;font-size:11px;color:#77818f;line-height:1.6}
body.wizard-ready .wizard-disclosure summary{cursor:pointer;font-size:11px;padding:6px 0}
body.wizard-ready .wizard-disclosure .model-disclaimer{margin-top:12px;font-size:12px;border-radius:12px}
body.wizard-ready .wizard-progress{position:relative;margin:0 0 16px;padding:0 0 12px;min-height:30px;overflow:visible}
body.wizard-ready .wizard-step{display:none}
body.wizard-ready .wizard-step[aria-current="step"]{display:inline-flex;border:0;background:transparent;color:#e71920;padding:0;font-size:12px}
body.wizard-ready .wizard-progress:before,body.wizard-ready .wizard-progress:after{content:"";position:absolute;left:0;bottom:0;height:3px;border-radius:4px}
body.wizard-ready .wizard-progress:before{width:100%;background:#eef0f4}
body.wizard-ready .wizard-progress:after{background:#e71920;transition:width .24s ease;width:14.3%}
body.wizard-ready [data-stage="1"] .wizard-progress:after{width:28.6%}body.wizard-ready [data-stage="2"] .wizard-progress:after{width:42.9%}body.wizard-ready [data-stage="3"] .wizard-progress:after{width:57.1%}body.wizard-ready [data-stage="4"] .wizard-progress:after{width:71.4%}body.wizard-ready [data-stage="5"] .wizard-progress:after{width:85.7%}body.wizard-ready [data-stage="6"] .wizard-progress:after{width:100%}
body.wizard-ready .wizard-summary{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-bottom:12px}
body.wizard-ready .wizard-summary::-webkit-scrollbar{display:none}
body.wizard-ready .wizard-chip{flex-shrink:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;padding:8px 12px}
body.wizard-ready .wizard-panel{border:0;border-radius:0;box-shadow:none;background:transparent;padding:12px 0 24px}
body.wizard-ready .wizard-kicker{display:none}
body.wizard-ready .wizard-title{font-size:27px;line-height:1.4;letter-spacing:-1px;margin-bottom:12px}
body.wizard-ready .wizard-description{font-size:13px;line-height:1.7;margin-bottom:26px;color:#7a8492}
body.wizard-ready [data-stage="0"] .wizard-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
body.wizard-ready [data-stage="0"] .wizard-choice{padding:16px 8px;min-height:68px;font-size:14px;text-align:center}
body.wizard-ready [data-stage="1"] .wizard-choices,body.wizard-ready [data-stage="2"] .wizard-choices,body.wizard-ready [data-stage="3"] .wizard-choices{grid-template-columns:1fr}
body.wizard-ready .wizard-choice{position:relative;border:1px solid #edf0f4;border-radius:16px;box-shadow:none;background:#f7f8fa;min-height:66px;font-size:15px;line-height:1.6;padding:18px 36px 18px 18px}
body.wizard-ready [data-stage="1"] .wizard-choice:after,body.wizard-ready [data-stage="2"] .wizard-choice:after,body.wizard-ready [data-stage="3"] .wizard-choice:after{content:"›";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:#a7afba;font-size:23px}
body.wizard-ready .wizard-choice:hover{background:#f0f2f6;border-color:#dfe3ea}
body.wizard-ready .wizard-choice[aria-pressed="true"]{background:#fff0f1;border-color:#f7b4bb;color:#d71b29}
@media(prefers-reduced-motion:reduce){body.wizard-ready .wizard-progress:after{transition:none}}

body.wizard-ready .wizard-title{text-align:left}
body.wizard-ready .wizard-panel[data-step="6"] .quote-result{margin-top:12px}

html.wizard-loading main,html.wizard-loading footer,html.wizard-loading #mobile-fixed{display:none!important}
html.wizard-loading body:after{content:"차량 선택을 준비하고 있어요";position:fixed;top:38%;left:50%;transform:translateX(-50%);color:#788392;font:15px/1.8 system-ui,sans-serif;white-space:nowrap}

/* Visual selection: real local logos + model photos, with readable names. */
body.wizard-ready .wizard-choice--brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:116px;padding:16px 8px;background:#fff}
body.wizard-ready .wizard-media{display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;position:relative}
body.wizard-ready .wizard-media--brand{width:78px;height:48px}
body.wizard-ready .wizard-asset-image{display:block;width:100%;height:100%;object-fit:contain}
body.wizard-ready .wizard-choice-label{display:block;word-break:keep-all;line-height:1.5;font-weight:700}
body.wizard-ready [data-stage="1"] .wizard-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.wizard-ready .wizard-choice--model{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0 0 16px;background:#fff;overflow:hidden;text-align:left;min-width:0}
body.wizard-ready [data-stage="1"] .wizard-choice--model:after{content:none}
body.wizard-ready .wizard-media--model{width:100%;height:112px;background:linear-gradient(180deg,#f8f9fc,#eef1f6);padding:8px;margin-bottom:12px;box-sizing:border-box}
body.wizard-ready .wizard-choice--model .wizard-choice-label{padding:0 12px;font-size:13px;letter-spacing:-.3px}
body.wizard-ready .wizard-model-type{display:block;padding:6px 12px 0;font-size:11px;color:#88919e;font-weight:400}
body.wizard-ready .wizard-image-placeholder{color:#929baa;font-size:11px;font-weight:400;white-space:nowrap}
body.wizard-ready .wizard-selected-visual{display:flex;align-items:center;gap:14px;border:1px solid #e9edf3;border-radius:16px;background:#f8f9fc;padding:12px;margin:0 0 24px}
body.wizard-ready .wizard-media--selected{width:104px;height:70px}
body.wizard-ready .wizard-selected-info{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left}
body.wizard-ready .wizard-selected-brand{font-size:11px;color:#8b94a2}
body.wizard-ready .wizard-selected-info strong{font-size:13px;line-height:1.5;word-break:keep-all;color:#263142}
body.wizard-ready .wizard-selected-info small{font-size:9px;line-height:1.5;color:#8b94a2}
@media(min-width:700px){body.wizard-ready [data-stage="1"] .wizard-choices{grid-template-columns:repeat(3,minmax(0,1fr))}body.wizard-ready .wizard-media--model{height:170px}body.wizard-ready .wizard-choice--model .wizard-choice-label{font-size:15px}}

body.wizard-ready .wizard-selected-brand{display:flex;align-items:center;gap:6px}
body.wizard-ready .wizard-selected-brand .wizard-media--brand{width:28px;height:18px}

body.wizard-ready .wizard-photo-note{font-size:10px;line-height:1.6;color:#919aa7;margin:12px 0 16px}

/* Narrow the catalog before showing logos and photos. */
body.wizard-ready .wizard-filter-title{font-size:14px;font-weight:700;color:#4b586a;margin:0 0 12px}
body.wizard-ready .wizard-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
body.wizard-ready .wizard-filter{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e5e9ef;border-radius:12px;background:#f7f8fa;color:#596576;padding:12px 14px;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;min-height:46px;cursor:pointer}
body.wizard-ready [data-stage="0"] .wizard-filter{flex:1;font-size:16px;min-height:68px;background:#fff}
body.wizard-ready .wizard-filter[aria-pressed="true"]{border-color:#e71920;background:#fff0f1;color:#d71b29}
body.wizard-ready .wizard-filter-count{font-size:10px;font-weight:400;opacity:.7}
body.wizard-ready .wizard-filter:focus-visible{outline:3px solid #e71920;outline-offset:3px}
body.wizard-ready .wizard-search:disabled{opacity:.45;cursor:not-allowed}

body.wizard-ready .wizard-price-note{font-size:10px;line-height:1.6;color:#8792a2;margin:-8px 0 16px}
body.wizard-ready .wizard-model-price{display:flex;flex-direction:column;gap:4px;margin-top:auto;padding:14px 12px 0;text-align:left}
body.wizard-ready .wizard-model-price small{font-size:9px;line-height:1.4;color:#8a94a2;font-weight:400}
body.wizard-ready .wizard-model-price strong{font-size:12px;line-height:1.6;color:#253246;font-weight:750;word-break:keep-all}
body.wizard-ready .wizard-trim-price{display:block;margin-top:8px;font-size:12px;font-weight:700;color:#596b83}

/* Saved fuel type is visible alongside the model photo and base price. */
body.wizard-ready .wizard-fuel-list{display:flex;flex-wrap:wrap;gap:4px;padding:8px 12px 0;text-align:left}
body.wizard-ready .wizard-fuel{display:inline-flex;align-items:center;border-radius:6px;padding:4px 6px;font-size:10px;line-height:1.3;font-weight:650;color:#5b6472;background:#eef0f4;white-space:nowrap}
body.wizard-ready .wizard-fuel--ev{color:#1765ad;background:#e8f2ff}
body.wizard-ready .wizard-fuel--hybrid{color:#237448;background:#e9f6ec}
body.wizard-ready .wizard-fuel--gasoline{color:#946019;background:#fff4df}
body.wizard-ready .wizard-fuel--diesel{color:#505b6a;background:#edf0f4}
body.wizard-ready .wizard-fuel--lpg{color:#7d4bb0;background:#f3edfc}
body.wizard-ready .wizard-fuel--hydrogen{color:#187d8a;background:#e6f7f9}
body.wizard-ready .wizard-fuel--unknown{color:#8a6664;background:#f7eeed}
body.wizard-ready .wizard-selected-fuels,body.wizard-ready .wizard-trim-fuels{padding:4px 0 0}

/* Balanced responsive rhythm after adding photos, prices and fuel badges. */
body.wizard-ready #quote-builder{box-sizing:border-box;max-width:920px;width:100%;padding:24px 24px 20px}
body.wizard-ready .wizard-disclosure{margin-bottom:12px;line-height:1.5}
body.wizard-ready .wizard-disclosure .model-disclaimer{padding:10px 12px;font-size:11px;line-height:1.55}
body.wizard-ready .wizard-progress{margin-bottom:12px;padding-bottom:9px;min-height:24px}
body.wizard-ready .wizard-panel{min-height:0;padding:8px 0 16px}
body.wizard-ready .wizard-title{font-size:28px!important;line-height:1.35;margin-bottom:8px;letter-spacing:-.6px}
body.wizard-ready .wizard-description{margin-bottom:18px;font-size:13px;line-height:1.6}
body.wizard-ready .wizard-filter-title{margin-bottom:8px;font-size:13px}
body.wizard-ready .wizard-filters{margin-bottom:16px;gap:7px}
body.wizard-ready [data-stage="0"] .wizard-filter{min-height:56px;padding:12px;font-size:15px}
body.wizard-ready .wizard-search{margin-bottom:12px;padding:12px 14px;min-height:44px;font-size:14px}
body.wizard-ready .wizard-photo-note{margin:8px 0 6px;font-size:10px;line-height:1.5}
body.wizard-ready .wizard-price-note{margin:0 0 12px;font-size:10px;line-height:1.5}
body.wizard-ready .wizard-empty{padding:20px 8px;font-size:13px;line-height:1.6}
body.wizard-ready .wizard-choice--model{padding-bottom:12px}
body.wizard-ready .wizard-media--model{height:116px;margin-bottom:10px;padding:8px}
body.wizard-ready .wizard-choice--model .wizard-choice-label{font-size:14px;line-height:1.45;min-height:40px}
body.wizard-ready .wizard-fuel-list{padding-top:6px;gap:4px}
body.wizard-ready .wizard-model-type{padding-top:4px;font-size:10px;line-height:1.4}
body.wizard-ready .wizard-model-price{padding-top:10px;gap:3px}
body.wizard-ready .wizard-model-price strong{font-size:12px;line-height:1.5}
body.wizard-ready .wizard-actions{gap:8px;margin-top:8px;padding:8px 0 max(8px,env(safe-area-inset-bottom));min-height:60px;box-sizing:border-box}
body.wizard-ready .wizard-actions .wizard-next,body.wizard-ready .wizard-actions #quote-check,body.wizard-ready .wizard-actions .wizard-back{min-height:44px;padding:11px 14px;font-size:12px!important;line-height:1.5}
body.wizard-ready .wizard-selected-visual{margin-bottom:18px}
@media(max-width:600px){body.wizard-ready #quote-builder{padding:16px 16px 12px}body.wizard-ready .wizard-title{font-size:24px!important}body.wizard-ready .wizard-choice--model .wizard-choice-label{font-size:13px}body.wizard-ready .wizard-filter{padding:10px 12px;min-height:42px}}
@media(min-width:700px){body.wizard-ready [data-stage="0"] .wizard-choices{grid-template-columns:repeat(4,minmax(0,1fr))}body.wizard-ready .wizard-media--model{height:148px}body.wizard-ready .wizard-choice--model .wizard-choice-label{font-size:15px;min-height:44px}body.wizard-ready .wizard-model-price strong{font-size:13px}}
@media(min-width:1000px){body.wizard-ready [data-stage="1"] .wizard-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:600px){body.wizard-ready .wizard-description{margin-bottom:12px}body.wizard-ready .wizard-disclosure{margin-bottom:8px}body.wizard-ready .wizard-selected-visual{margin-bottom:12px}}

@media(min-width:900px){body.wizard-ready .wizard-progress{flex-wrap:nowrap;justify-content:space-between;gap:6px}body.wizard-ready .wizard-step{display:inline-flex;align-items:center;padding:7px 9px;font-size:11px!important}body.wizard-ready .wizard-step[aria-current="step"]{padding:7px 9px;background:#fff0f1;border-radius:9px}}

/* The advertising shell previously capped the entire site at mobile width. */
body.wizard-ready .page{box-sizing:border-box;width:100%;max-width:920px;margin:0 auto;padding-bottom:24px;background:#f7f8fa;box-shadow:none}
body.wizard-ready .header{padding-left:24px;padding-right:24px}
@media(max-width:600px){body.wizard-ready .header{padding-left:16px;padding-right:16px}body.wizard-ready .page{padding-bottom:12px}}

/* Before choosing a category, show only the actionable choice, not a disabled search. */
body.wizard-ready .wizard-search:disabled{display:none}
body.wizard-ready .wizard-search-label:has(+ .wizard-search:disabled){display:none}
body.wizard-ready .wizard-panel:has(.wizard-search:disabled) .wizard-empty{display:none}

.wizard-choices.wizard-choices--spec{display:block}.wizard-spec-section{margin:0 0 24px}.wizard-spec-section h3{font-size:13px;margin:0 0 10px}.wizard-spec-row{display:flex;gap:8px;flex-wrap:wrap}.wizard-spec-button{flex:1;min-width:70px;padding:14px 10px;border:1px solid #d9d5d0;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}.wizard-spec-button[aria-pressed="true"]{border-color:#a82328;background:#fff2f1;color:#8f1c22;font-weight:700}.wizard-spec-button:disabled{opacity:.35}.wizard-spec-summary{border-top:1px solid #ddd5ce;padding:18px 0}.wizard-spec-summary small{display:block;color:#756b65;font-size:11px}.wizard-spec-summary strong{display:block;margin-top:6px;font-size:16px}.wizard-spec-confirm{width:100%;padding:15px;border:0;border-radius:8px;background:#a82328;color:white;font:inherit;font-weight:700}.wizard-spec-confirm:disabled{opacity:.4}

/* Internal defaults remain in the calculation, not customer controls. */
#advanced-assumptions{display:none!important}

/* Contract conditions use the button controls only. */
#quote-kind,#quote-months,#quote-km,#quote-advance,#quote-deposit{display:none!important}
