:root {
  --bas-navy: #0c203d;
  --bas-navy-deep: #06111f;
  --bas-blue: #1e4fa3;
  --bas-gold: #f0b429;
  --bas-gold-deep: #a97908;
  --bas-ink: #0d1f3c;
  --bas-paper: #f7f5f0;
  --bas-cloud: #eef3fa;
  --bas-muted: #73849c;
  --bas-line: #dce3ed;
  --bas-white: #fff;
  --stage-line: rgba(255, 255, 255, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bas-navy-deep); }
body { margin: 0; color: var(--bas-white); background: var(--bas-navy-deep); font-family: "DM Sans", Arial, sans-serif; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid rgba(240, 180, 41, .6); outline-offset: 2px; }
[hidden] { display: none !important; }
.configurator-shell { min-height: calc(100svh - 68px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 30vw, 470px); background: var(--bas-navy-deep); }

/* Vehicle stage */
.vehicle-stage { min-width: 0; position: relative; overflow: hidden; display: grid; grid-template-rows: auto minmax(430px, 1fr) auto; padding: clamp(22px, 3.5vw, 52px) clamp(20px, 3.6vw, 58px) 24px; background: radial-gradient(circle at 52% 43%, rgba(49, 102, 167, .31), transparent 34%), linear-gradient(155deg, #122a49 0%, #071421 64%, #09182a 100%); isolation: isolate; }
.vehicle-stage::before { content: ""; pointer-events: none; position: absolute; z-index: -1; inset: 0; opacity: .23; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.vehicle-stage::after { content: ""; pointer-events: none; position: absolute; z-index: 1; inset: auto -15% 12% -15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); box-shadow: 0 18px 50px 8px rgba(0, 0, 0, .66); }
.stage-heading { z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 7px; color: var(--bas-gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.demo-pill { padding: 4px 7px; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 8px; letter-spacing: .12em; }
.stage-heading h1 { margin: 0; font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(44px, 5vw, 76px); font-weight: 400; letter-spacing: .025em; line-height: .88; }
.stage-heading h1 span { color: var(--bas-gold); }
.factory-color { margin: 10px 0 0; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .03em; }
.stage-tagline { max-width: 280px; margin: 5px 0 0; color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.65; text-align: right; }
.viewer-wrap { min-height: 430px; position: relative; margin: -28px -30px -2px; overflow: hidden; touch-action: none; }
.viewer-wrap canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.viewer-wrap canvas:active { cursor: grabbing; }
.viewer-loading { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 10px; color: rgba(255,255,255,.74); text-align: center; background: radial-gradient(circle, rgba(22,52,85,.92), rgba(6,17,31,.84) 54%, transparent 75%); transition: opacity .45s ease, visibility .45s ease; }
.viewer-loading.ready { opacity: 0; visibility: hidden; pointer-events: none; }
.viewer-loading b { margin-top: 8px; font-family: "Bebas Neue", Impact, sans-serif; font-size: 22px; font-weight: 400; letter-spacing: .08em; }
.viewer-loading small { color: rgba(255,255,255,.5); font-size: 11px; }
.loader-ring { width: 34px; height: 34px; display: inline-block; border: 2px solid rgba(255,255,255,.16); border-top-color: var(--bas-gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer-fallback { position: absolute; inset: 14% 8% 13%; z-index: 7; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; }
.viewer-fallback img { width: min(720px, 100%); max-height: 55vh; object-fit: cover; border-radius: 12px; opacity: .78; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.viewer-fallback div { max-width: 430px; display: grid; gap: 5px; }
.viewer-fallback b { color: var(--bas-gold); }
.viewer-fallback span { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.5; }
.interaction-hint { position: absolute; left: 50%; bottom: 24px; z-index: 5; min-height: 36px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; white-space: nowrap; color: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(5,14,25,.48); backdrop-filter: blur(10px); font-size: 11px; cursor: pointer; }
.lighting-control { position: absolute; top: 50%; left: 30px; z-index: 5; transform: translateY(-50%); display: grid; gap: 5px; padding: 10px; border: 1px solid var(--stage-line); border-radius: 8px; background: rgba(5,14,25,.56); backdrop-filter: blur(12px); }
.lighting-control span { color: rgba(255,255,255,.4); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.lighting-control select { min-height: 32px; padding: 0 25px 0 0; color: #fff; border: 0; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.lighting-control option { color: var(--bas-ink); }
.vehicle-actions { position: absolute; top: 50%; right: 30px; z-index: 6; transform: translateY(-50%); width: 142px; color: #fff; border: 1px solid var(--stage-line); border-radius: 8px; background: rgba(5,14,25,.56); backdrop-filter: blur(12px); }
.vehicle-actions summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; list-style: none; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.vehicle-actions summary::-webkit-details-marker { display: none; }
.vehicle-actions[open] summary span { transform: rotate(45deg); }
.vehicle-actions summary span { color: var(--bas-gold); font-size: 18px; transition: transform .18s ease; }
.vehicle-actions div { display: grid; padding: 4px 6px 8px; border-top: 1px solid var(--stage-line); }
.vehicle-actions button { min-height: 36px; padding: 0 7px; color: rgba(255,255,255,.7); text-align: left; border: 0; border-radius: 5px; background: transparent; font-size: 10px; cursor: pointer; }
.vehicle-actions button:hover { color: #fff; background: rgba(255,255,255,.08); }
.camera-strip { z-index: 4; justify-self: center; max-width: 100%; display: flex; gap: 2px; padding: 4px; overflow-x: auto; border: 1px solid var(--stage-line); border-radius: 999px; background: rgba(5,14,25,.7); backdrop-filter: blur(12px); scrollbar-width: none; }
.camera-strip::-webkit-scrollbar { display: none; }
.camera-strip button { min-height: 38px; padding: 0 13px; white-space: nowrap; color: rgba(255,255,255,.58); border: 0; border-radius: 999px; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.camera-strip button:hover { color: #fff; }
.camera-strip button.active { color: var(--bas-ink); background: var(--bas-white); box-shadow: 0 4px 16px rgba(0,0,0,.22); }

/* HTML hotspots above the 3D camera */
.hotspot-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.vehicle-hotspot { position: absolute; width: 28px; height: 28px; transform: translate(-50%,-50%); display: grid; place-items: center; color: var(--bas-ink); border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: var(--bas-gold); box-shadow: 0 0 0 7px rgba(240,180,41,.16); font-size: 12px; font-weight: 700; pointer-events: auto; cursor: pointer; opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.vehicle-hotspot.visible { opacity: 1; }
.vehicle-hotspot:hover { transform: translate(-50%,-50%) scale(1.1); }
.hotspot-card { position: absolute; left: 50%; bottom: 72px; width: min(340px, calc(100% - 32px)); transform: translateX(-50%); padding: 16px 42px 16px 17px; color: var(--bas-ink); border-radius: 10px; background: rgba(255,255,255,.95); box-shadow: 0 20px 50px rgba(0,0,0,.35); pointer-events: auto; }
.hotspot-card b { display: block; margin-bottom: 4px; }
.hotspot-card p { margin: 0; color: #66778d; font-size: 12px; line-height: 1.5; }
.hotspot-card button { position: absolute; top: 7px; right: 8px; width: 32px; height: 32px; color: #65758a; border: 0; background: transparent; font-size: 20px; cursor: pointer; }

/* Configurator panel */
.config-panel { position: relative; z-index: 10; min-width: 0; height: calc(100svh - 68px); overflow: hidden; color: var(--bas-ink); background: var(--bas-paper); border-left: 1px solid rgba(255,255,255,.08); box-shadow: -20px 0 70px rgba(0,0,0,.16); }
.drawer-handle { display: none; }
#config-content { height: 100%; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; }
.config-tabs { display: flex; gap: 1px; padding: 0 18px; overflow-x: auto; border-bottom: 1px solid var(--bas-line); background: rgba(255,255,255,.38); scrollbar-width: none; }
.config-tabs::-webkit-scrollbar { display: none; }
.config-tabs button { min-height: 60px; padding: 0 9px; color: #75859a; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 9.5px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; cursor: pointer; }
.config-tabs button:hover { color: var(--bas-ink); }
.config-tabs button.active { color: var(--bas-blue); border-bottom-color: var(--bas-gold); }
.compatibility-notice { margin: 12px 18px 0; padding: 10px 34px 10px 12px; position: relative; color: #784c00; border: 1px solid #ecd59e; border-radius: 7px; background: #fff6dc; font-size: 11px; font-weight: 600; line-height: 1.45; }
.compatibility-notice::after { content: "×"; position: absolute; top: 6px; right: 10px; color: #9b7a36; font-size: 17px; }
.panel-content { padding: clamp(25px, 3.5vh, 42px) 28px 32px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #bdc8d5 transparent; }
.panel-step { margin: 0 0 8px; color: var(--bas-gold-deep); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.panel-content h2 { margin: 0 0 9px; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.05; }
.panel-intro { margin: 0 0 23px; color: #6f7f94; font-size: 13px; line-height: 1.58; }
.data-note { margin: -10px 0 22px; padding: 9px 11px; color: #7c641d; border-left: 2px solid var(--bas-gold); background: #fff9e9; font-size: 10.5px; line-height: 1.5; }
.options-list { display: grid; gap: 9px; }
.option-card { width: 100%; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 14px; color: var(--bas-ink); text-align: left; border: 1px solid var(--bas-line); border-radius: 9px; background: #fff; box-shadow: 0 4px 14px rgba(12,32,61,.025); cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.option-card:hover { transform: translateY(-1px); border-color: #a8b8cb; box-shadow: 0 7px 20px rgba(12,32,61,.06); }
.option-card.selected { border-color: var(--bas-blue); box-shadow: inset 3px 0 var(--bas-gold), 0 6px 18px rgba(30,79,163,.08); }
.option-card > span:first-child { min-width: 0; display: grid; gap: 3px; }
.option-card > span:first-child > span { min-width: 0; display: grid; gap: 3px; }
.option-card strong { font-size: 14px; }
.option-card small { color: #7f8da1; font-size: 10.5px; line-height: 1.4; }
.option-meta { flex: 0 0 auto; display: grid; justify-items: end; gap: 3px; color: var(--bas-blue); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.option-meta em { color: #8b99aa; font-style: normal; text-transform: none; }
.option-details { padding: 2px 4px 5px 16px; color: #66778d; font-size: 11px; line-height: 1.5; }
.option-details li + li { margin-top: 3px; }
.paint-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.paint-option { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 11px; color: var(--bas-ink); text-align: left; border: 1px solid var(--bas-line); border-radius: 8px; background: #fff; cursor: pointer; }
.paint-option.selected { border-color: var(--bas-blue); box-shadow: inset 0 -3px var(--bas-gold); }
.paint-swatch { width: 32px; height: 32px; flex: 0 0 auto; border: 2px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px rgba(13,31,60,.18), inset -8px -8px 12px rgba(0,0,0,.14), inset 6px 6px 8px rgba(255,255,255,.35); }
.paint-option b { display: block; font-size: 11px; line-height: 1.25; }
.paint-option small { color: #8390a2; font-size: 9px; text-transform: capitalize; }
.lighting-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bas-line); }
.lighting-section h3, .option-group h3 { margin: 0 0 10px; color: #66778d; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.segmented { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; padding: 3px; border-radius: 8px; background: #e8edf3; }
.segmented button { min-height: 39px; padding: 0 4px; color: #67798f; border: 0; border-radius: 6px; background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.segmented button.selected { color: var(--bas-ink); background: #fff; box-shadow: 0 2px 8px rgba(13,31,60,.1); }
.interior-chip { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 7px; background: var(--interior); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 1px rgba(13,31,60,.12); }
.wheel-thumb { width: 46px; height: 46px; flex: 0 0 auto; position: relative; display: grid; place-items: center; border: 5px solid #1b1f23; border-radius: 50%; background: repeating-conic-gradient(from 8deg,#b8c1c8 0 7deg,#363c42 8deg 20deg); box-shadow: inset 0 0 0 7px #626b72; }
.wheel-thumb::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #dce1e4; }
.option-with-thumb { display: flex; align-items: center; gap: 12px; }
.secondary-action, .primary-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 17px; border-radius: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.secondary-action { width: 100%; margin-top: 14px; color: var(--bas-blue); border: 1px solid #9eb2ca; background: transparent; }
.secondary-action:hover { background: #fff; }
.primary-action { color: #fff; border: 0; background: var(--bas-blue); box-shadow: 0 7px 20px rgba(30,79,163,.22); }
.primary-action:hover { background: #173f84; }
.primary-action.gold { color: var(--bas-ink); background: var(--bas-gold); box-shadow: 0 7px 20px rgba(169,121,8,.2); }
.option-group + .option-group { margin-top: 24px; }
.gear-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.gear-card { min-height: 90px; position: relative; display: grid; align-content: space-between; gap: 9px; padding: 12px; color: var(--bas-ink); text-align: left; border: 1px solid var(--bas-line); border-radius: 8px; background: #fff; cursor: pointer; }
.gear-card::after { content: "+"; position: absolute; top: 10px; right: 10px; color: var(--bas-blue); font-size: 18px; }
.gear-card.selected { color: #fff; border-color: var(--bas-blue); background: var(--bas-navy); }
.gear-card.selected::after { content: "✓"; color: var(--bas-gold); font-size: 13px; }
.gear-card strong { padding-right: 20px; font-size: 11px; line-height: 1.3; }
.gear-card small { color: #8290a3; font-size: 9px; }
.gear-card.selected small { color: #b1becf; }
.live-summary { width: 100%; min-height: 80px; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 15px; color: #fff; text-align: left; border: 0; background: var(--bas-navy); cursor: pointer; }
.live-summary > span:not(.summary-arrow) { display: grid; gap: 3px; }
.live-summary small { color: #9eacc0; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.live-summary b { font-size: 12px; }
.summary-price { text-align: right; }
.summary-price b { color: var(--bas-gold); }
.summary-arrow { color: var(--bas-gold); font-size: 20px; }

/* Review */
.review-hero { margin: -8px -8px 22px; padding: 24px 20px; color: #fff; border-radius: 11px; background: radial-gradient(circle at 90% 15%,rgba(240,180,41,.18),transparent 34%), linear-gradient(135deg,#102c52,#071524); }
.review-hero p { margin: 0 0 4px; color: var(--bas-gold); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.review-hero h2 { margin: 0 0 12px; color: #fff; font-family: "Bebas Neue",Impact,sans-serif; font-size: 41px; font-weight: 400; }
.configuration-id { display: inline-flex; min-height: 29px; align-items: center; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.review-specs { margin: 0 0 20px; display: grid; gap: 0; }
.review-specs div { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--bas-line); }
.review-specs dt { color: #7a8a9e; font-size: 10px; }
.review-specs dd { margin: 0; max-width: 68%; font-size: 11px; font-weight: 700; text-align: right; }
.review-price { margin: 12px 0 20px; padding: 15px; display: flex; justify-content: space-between; gap: 16px; border-radius: 8px; background: #e9eef4; }
.review-price span { display: grid; gap: 3px; }
.review-price small { color: #6f8094; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.review-price b { color: var(--bas-blue); font-size: 12px; }
.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-actions .primary-action { grid-column: 1 / -1; }
.review-actions .secondary-action { margin: 0; min-width: 0; justify-content: center; padding-inline: 9px; font-size: 9px; }

/* Footer */
.after-configurator { padding: 54px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #122a49; }
.after-configurator p { margin: 0; font-family: "DM Serif Display",Georgia,serif; font-size: clamp(23px,3vw,36px); font-style: italic; }
.after-configurator a { color: var(--bas-gold); font-size: 13px; font-weight: 700; text-decoration: none; }
.site-disclosure { padding: 26px 5vw; color: rgba(255,255,255,.38); background: var(--bas-navy-deep); font-size: 11px; line-height: 1.7; }
.footer-links { padding: 0 5vw 24px; color: rgba(255,255,255,.25); text-align: center; background: var(--bas-navy-deep); font-size: 12px; }
.footer-links a { margin: 0 7px; color: rgba(255,255,255,.52); text-decoration: none; }
.site-footer { padding: 28px 5vw 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.06); background: var(--bas-navy-deep); }
.footer-logo { color: #fff; font-family: "Bebas Neue",Impact,sans-serif; font-size: 24px; letter-spacing: 2px; text-decoration: none; }
.footer-logo span { color: var(--bas-gold); }
.footer-tagline,.footer-copy { margin: 0; color: rgba(255,255,255,.35); font-size: 12px; }
.footer-tagline { font-family: "DM Serif Display",Georgia,serif; font-style: italic; }

/* Dialogs */
.bas-dialog { width: min(680px,calc(100vw - 30px)); max-height: min(82svh,760px); padding: 0; color: var(--bas-ink); border: 0; border-radius: 14px; background: var(--bas-paper); box-shadow: 0 35px 90px rgba(0,0,0,.5); overflow: auto; }
.bas-dialog::backdrop { background: rgba(3,10,18,.76); backdrop-filter: blur(8px); }
.dialog-top { position: sticky; top: 0; z-index: 3; padding: 24px 64px 19px 26px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--bas-line); background: rgba(247,245,240,.96); backdrop-filter: blur(12px); }
.dialog-eyebrow { margin: 0 0 6px !important; color: var(--bas-gold-deep) !important; font-size: 9px !important; font-weight: 700; letter-spacing: .16em; }
.dialog-top h2 { margin: 0; font-family: "DM Serif Display",Georgia,serif; font-size: 30px; }
.dialog-top p { margin: 7px 0 0; color: #708096; font-size: 12px; }
.dialog-top > button { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; color: #69798d; border: 1px solid var(--bas-line); border-radius: 50%; background: #fff; font-size: 23px; cursor: pointer; }
.dialog-loading { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 13px; color: #718196; font-size: 12px; }
.inventory-results { padding: 18px 24px 26px; }
.matches-note { margin: 2px 0 16px; color: #64758a; font-size: 12px; line-height: 1.55; }
.match-card { margin-bottom: 10px; display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 14px; padding: 15px; color: var(--bas-ink); border: 1px solid var(--bas-line); border-radius: 9px; background: #fff; text-decoration: none; }
.match-percent { width: 68px; height: 68px; display: grid; place-content: center; border-radius: 50%; color: #fff; background: conic-gradient(var(--bas-blue) var(--match),#dce3ed 0); box-shadow: inset 0 0 0 8px #fff; font-size: 12px; font-weight: 700; text-align: center; }
.match-main { min-width: 0; display: grid; gap: 4px; }
.match-main b { font-size: 14px; }
.match-main span { color: #6b7c90; font-size: 10px; }
.match-reasons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.match-reasons i { padding: 4px 6px; color: #426044; border-radius: 4px; background: #e9f2e7; font-size: 8px; font-style: normal; font-weight: 700; }
.match-card > span:last-child { color: var(--bas-blue); font-size: 19px; }
.inventory-fallback { padding: 40px 20px; text-align: center; }
.inventory-fallback p { color: #6d7d91; font-size: 13px; line-height: 1.6; }
.inventory-fallback a { margin-top: 10px; text-decoration: none; }
.build-attachment { margin: 18px 24px 0; padding: 13px 15px; color: #dce7f6; border-radius: 8px; background: var(--bas-navy); font-size: 10px; line-height: 1.55; white-space: pre-line; }
.build-attachment b { color: var(--bas-gold); }
.lead-form { padding: 20px 24px 27px; display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form > label,.form-row label { display: grid; gap: 6px; color: #52647a; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lead-form input,.lead-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--bas-ink); border: 1px solid #cbd5e0; border-radius: 7px; background: #fff; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.lead-form textarea { min-height: 80px; resize: vertical; }
.lead-form fieldset { min-height: 57px; display: flex; align-items: center; gap: 20px; margin: 0; padding: 19px 13px 8px; border: 1px solid #cbd5e0; border-radius: 7px; background: #fff; }
.lead-form legend { padding: 0 5px; color: #52647a; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lead-form fieldset label { display: flex; align-items: center; gap: 6px; color: #41546c; font-size: 11px; }
.lead-form fieldset input { width: 15px; min-height: 15px; accent-color: var(--bas-blue); }
.submit-build { width: 100%; margin-top: 4px; }
.form-error { margin: 0; padding: 10px 12px; color: #8a1c12; border: 1px solid #efc1bc; border-radius: 7px; background: #fdecea; font-size: 11px; font-weight: 600; line-height: 1.45; }
.form-trust { margin: -2px 0 0; color: #7f8da0; text-align: center; font-size: 9px; }
.lead-success { padding: 65px 30px 72px; text-align: center; }
.lead-success > span { width: 62px; height: 62px; margin: 0 auto 17px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--bas-blue); font-size: 26px; }
.lead-success h3 { margin: 0 0 8px; font-family: "DM Serif Display",Georgia,serif; font-size: 30px; }
.lead-success p { max-width: 380px; margin: 0 auto; color: #6f7f94; font-size: 12px; line-height: 1.6; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 2200; max-width: calc(100vw - 32px); transform: translateX(-50%); padding: 12px 16px; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(8,24,43,.96); box-shadow: 0 14px 40px rgba(0,0,0,.35); font-size: 11px; font-weight: 700; text-align: center; }

@media (max-width: 1120px) {
  .configurator-shell { grid-template-columns: minmax(0,1fr) 400px; }
  .vehicle-stage { padding-inline: 27px; }
  .viewer-wrap { margin-inline: -20px; }
  .lighting-control { left: 20px; }
  .vehicle-actions { right: 20px; }
  .camera-strip button { padding-inline: 10px; }
}
@media (max-width: 900px) {
  body { padding-bottom: 104px; }
  .configurator-shell { display: block; min-height: calc(100svh - 64px); }
  .vehicle-stage { min-height: calc(100svh - 64px); height: calc(100svh - 64px); grid-template-rows: auto minmax(0,1fr) auto; padding: 21px 14px 119px; }
  .stage-heading { padding-inline: 3px; }
  .stage-heading h1 { font-size: clamp(40px,12vw,58px); }
  .factory-color { margin-top: 8px; }
  .stage-tagline { display: none; }
  .viewer-wrap { min-height: 0; margin: -12px -14px -6px; }
  .viewer-loading { background: radial-gradient(circle,rgba(22,52,85,.95),rgba(6,17,31,.75) 58%,transparent 84%); }
  .viewer-fallback { inset: 12% 5% 16%; }
  .interaction-hint { bottom: 16px; min-height: 40px; }
  .lighting-control { top: 50%; left: 12px; padding: 8px; }
  .lighting-control select { min-height: 36px; max-width: 92px; }
  .vehicle-actions { top: 50%; right: 12px; width: 130px; }
  .vehicle-actions summary { min-height: 44px; }
  .vehicle-actions div { max-height: 190px; overflow-y: auto; }
  .vehicle-actions button { min-height: 42px; }
  .camera-strip { max-width: calc(100vw - 28px); }
  .camera-strip button { min-height: 44px; padding-inline: 14px; }
  .hotspot-card { bottom: 62px; }
  .vehicle-hotspot { width: 32px; height: 32px; }
  .config-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400; height: min(59svh,610px); border: 1px solid rgba(13,31,60,.18); border-bottom: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -22px 60px rgba(0,0,0,.34); transition: transform .32s cubic-bezier(.22,.8,.28,1); }
  .config-panel.collapsed { transform: translateY(calc(100% - 104px)); }
  .drawer-handle { width: 100%; min-height: 44px; display: grid; place-items: center; gap: 3px; padding: 7px 16px 5px; color: var(--bas-ink); border: 0; background: transparent; cursor: pointer; }
  .drawer-handle span { width: 42px; height: 4px; border-radius: 99px; background: #bbc6d4; }
  .drawer-handle b { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
  #config-content { height: calc(100% - 44px); }
  .config-tabs { padding-inline: 8px; }
  .config-tabs button { min-height: 47px; padding-inline: 12px; }
  .panel-content { padding: 21px 19px 26px; }
  .option-card { min-height: 64px; }
  .paint-option,.gear-card { min-height: 76px; }
  .live-summary { min-height: 60px; padding: 10px 16px; }
  .after-configurator { padding: 45px 20px; flex-direction: column; align-items: flex-start; }
  .site-disclosure { padding: 25px 20px; }
  .footer-links { padding-inline: 14px; line-height: 2.1; }
  .site-footer { padding: 30px 20px; flex-direction: column; text-align: center; }
  .toast { bottom: 116px; }
}
@media (max-width: 520px) {
  .eyebrow { font-size: 9px; }
  .demo-pill { font-size: 7px; }
  .lighting-control { top: auto; bottom: 66px; left: 10px; transform: none; }
  .vehicle-actions { top: auto; right: 10px; bottom: 66px; transform: none; }
  .paint-grid { grid-template-columns: 1fr 1fr; }
  .paint-option { padding: 9px; }
  .paint-swatch { width: 29px; height: 29px; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form fieldset { gap: 13px; }
  .match-card { grid-template-columns: 68px 1fr auto; padding: 12px 10px; gap: 9px; }
  .match-percent { width: 58px; height: 58px; box-shadow: inset 0 0 0 7px #fff; font-size: 10px; }
  .dialog-top { padding-left: 20px; }
  .inventory-results,.lead-form { padding-inline: 18px; }
  .build-attachment { margin-inline: 18px; }
}
@media (max-width: 360px) {
  .stage-heading h1 { font-size: 38px; }
  .panel-content { padding-inline: 15px; }
  .gear-grid { grid-template-columns: 1fr; }
  .paint-option b { font-size: 10px; }
  .summary-price { display: none !important; }
  .live-summary { grid-template-columns: 1fr auto; }
  .segmented button { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
