/* A single hierarchy: promise, measured gains, vehicle, navigation. */
.hero-copy h1>em{font-style:normal;line-height:.98;letter-spacing:-.025em}
.slogan-intro{display:block;color:#f0f6fb}.slogan-accent{display:block;color:#00b4d8;text-shadow:0 0 32px #1bb6d81c}
.stage1-curves{filter:none}.stage1-curves .curve-grid path{stroke:#80dbef;stroke-width:1;opacity:.13;stroke-dasharray:none;animation:none!important;transform:none!important}
.stage1-curves .curve-labels text{fill:#c2d2df;font:500 24px Barlow,Arial,sans-serif;letter-spacing:1px}.stage1-curves .curve-labels text:last-child{fill:#62e2ff}
.stage1-curves .curve-tuned{filter:drop-shadow(0 0 5px #54e0ff88)}
.curves-playing .stage1-curves>.curve-stock,.curves-playing .stage1-curves>.curve-tuned{animation-duration:.9s;animation-delay:0s}
.stage1-gains{justify-content:flex-start;align-items:center;gap:clamp(16px,2vw,34px)}
.stage1-gains strong{color:#00b4d8;font-weight:600;letter-spacing:-.025em;line-height:1.05}
.stage1-gains small{font-size:clamp(12px,1.25vw,17px);font-weight:500;color:#d1e8f6;letter-spacing:0}
.gains-ready.stage1-on .stage1-gains{animation:gain-arrival .7s ease-out both}
@keyframes gain-arrival{from{filter:drop-shadow(0 0 15px #53dfff99)}to{filter:drop-shadow(0 0 0 transparent)}}
.preview-model{font:600 clamp(15px,1.55vw,23px)/1.1 'Barlow Condensed',Arial,sans-serif;color:#f1f8ff;letter-spacing:.07em;padding:0 8px 8px}
.stage1-hud{border-top:1px solid #7fe1f733;padding-top:10px}
.stage1-header{min-height:26px}.stage1-toggle{gap:16px}.stage1-hud button{font-size:11px;min-height:28px}
.stage1-values{font-size:clamp(20px,2.2vw,29px);letter-spacing:-.01em;gap:16px;min-height:34px}
.stage1-reference{justify-content:space-between;min-height:22px;gap:10px}.stage1-reference>span:first-child{max-width:75%;font-size:10px;color:#a8c2d5}.stage1-note{font-size:8px;color:#61d2ec}
.carousel-caption #carousel-name{display:none}.carousel-caption{justify-content:flex-end;min-height:12px}.carousel-caption>span:last-child{color:#5ad0eb;letter-spacing:.08em;font-size:8px}
.carousel-actions{gap:7px}.carousel-actions>button{border-color:#19a7c74d;background:transparent;border-radius:50%;color:#b7d3e4;width:32px;height:32px;flex:0 0 32px}
.carousel-actions>button:hover{background:#123249;color:#fff;border-color:#62daf5}
.carousel-dots{position:relative}.carousel-dots select{appearance:auto;background:transparent;border:0;border-bottom:1px solid #1d7ea266;border-radius:0;color:#e1eff8;font:600 12px 'Barlow Condensed',Arial,sans-serif;letter-spacing:.05em;height:34px;padding:4px 2px;box-shadow:none}
.carousel-dots select:hover{color:#7cd6ff;border-bottom-color:#7cd6ff}.carousel-dots option{font:500 14px Barlow,Arial,sans-serif}
.dock>div{border-color:#196d8c80;background:linear-gradient(110deg,#101d2ae8,#0b1521ed);box-shadow:0 8px 35px #0003}
.dock button,.dock .portal-link{color:#a7bdce;font-size:11px;line-height:1.2;gap:7px;min-width:0}
.dock button b,.dock .dealers-nav b{display:flex;align-items:center;justify-content:center;line-height:1}
.nav-symbol,.dock .power-nav-icon,.dock .shop-link svg{width:22px;height:22px;display:block}

.dock button[aria-pressed=true]{background:#173b53;color:#f2fbff;box-shadow:inset 0 0 0 1px #5cd1eb55}
.dock .portal-link{color:#9fb1c1}.dock .portal-link:hover,.dock button:hover{color:#f4fbff;background:#153149}
@media(min-width:701px){.stage1-curves{left:43%;top:10%;width:23%;height:21%}.stage1-gains{left:68%;right:4%;top:16%}.stage1-hud{bottom:73px}.carousel-controls{bottom:12px;width:clamp(370px,40vw,500px)}}
@media(max-width:700px){
 .home-screen .hero-copy h1{margin-top:18px}.hero-copy h1>em{font-size:clamp(39px,9.8vw,65px);max-width:100%;margin-top:0}
 .stage1-curves{left:8%;top:29%;width:40%;height:15%}.stage1-gains{left:56%;right:3%;top:32%;gap:12px}.stage1-gains strong{font-size:clamp(25px,5.2vw,36px)}.stage1-gains small{font-size:11px}
 .stage1-hud{padding-top:7px;bottom:78px}.preview-model{font-size:18px;padding:0 5px 4px;letter-spacing:.055em}
 .stage1-header{min-height:23px}.stage1-hud button{font-size:10px;min-height:24px}.stage1-values{font-size:22px;min-height:30px}.stage1-reference{min-height:18px}.stage1-reference>span:first-child{font-size:8px}.stage1-note{font-size:7px}
 .carousel-controls{bottom:6px}.carousel-caption{min-height:10px}.carousel-caption>span:last-child{font-size:7px}.carousel-dots select{font-size:12px}
 .dock button,.dock .portal-link{font-size:9px;gap:5px;padding:5px 2px}.dock .portal-link span:not(.sr-only){overflow-wrap:anywhere}.nav-symbol,.dock .power-nav-icon,.dock .shop-link svg{width:20px;height:20px}
}
@media(max-width:700px) and (max-height:700px){
 .home-screen .hero-copy h1{margin-top:12px}.hero-copy h1>em{font-size:clamp(32px,9.5vw,49px)}
 .stage1-curves{top:27%;height:13%}.stage1-gains{top:29%;left:54%;gap:10px}.stage1-gains strong{font-size:clamp(22px,6vw,29px)}.stage1-gains small{font-size:10px}
 .stage1-hud{bottom:59px;padding-top:5px}.preview-model{font-size:15px;padding-bottom:3px}.stage1-header{min-height:20px}.stage1-hud button{min-height:20px;font-size:9px}.stage1-values{font-size:19px;min-height:25px}.stage1-reference{min-height:16px}.stage1-reference>span:first-child{font-size:7px}.stage1-note{font-size:6px}
 .carousel-controls{bottom:3px}.carousel-caption{display:none}.carousel-dots select{font-size:11px;height:28px}.carousel-actions>button{width:28px;height:28px;flex-basis:28px}
 .dock button,.dock .portal-link{font-size:8px;gap:4px}.nav-symbol,.dock .power-nav-icon,.dock .shop-link svg{width:18px;height:18px}
}
@media(min-width:701px) and (max-height:480px){.hero-copy h1>em{font-size:43px}.stage1-curves{top:5%;height:25%}.stage1-gains{top:9%}.stage1-gains strong{font-size:26px}.stage1-hud{bottom:46px;padding-top:4px;width:340px}.preview-model{font-size:15px;padding-bottom:2px}.stage1-header,.stage1-values{min-height:20px}.stage1-values{font-size:17px}.stage1-reference{min-height:16px}.stage1-reference>span:first-child{font-size:7px}.stage1-hud button{font-size:9px;min-height:20px}.carousel-controls{bottom:4px;width:340px}.carousel-caption{display:none}.carousel-actions>button,.carousel-dots select{height:26px}.dock button,.dock .portal-link{font-size:9px;gap:3px}}
@media(prefers-reduced-motion:reduce){.gains-ready.stage1-on .stage1-gains{animation:none}}

.dock button{flex-direction:column}.carousel-caption{display:none}
@media(min-width:701px) and (min-height:481px){.stage1-hud{bottom:54px}.carousel-controls{bottom:6px}}

.dock button>span,.dock a>span:not(.sr-only){min-width:0;max-width:100%;overflow-wrap:anywhere}

@media(min-width:701px) and (min-height:481px){.stage1-hud{bottom:42px}}

@media(min-width:701px) and (max-height:480px){.stage1-hud{bottom:34px}.language-label select{height:30px;padding-block:3px}}

/* Automatic showcase: reclaim the manual-control row. */
.carousel-stage{pointer-events:none;user-select:none}.carousel-image{-webkit-user-drag:none;user-select:none}
@media(max-width:700px),(pointer:coarse){.home-screen{touch-action:pan-y}}
@media(min-width:701px) and (min-height:481px){.carousel-stage{bottom:65px}.stage1-hud{bottom:18px}}
@media(max-width:700px){.carousel-stage{bottom:105px}.stage1-hud{bottom:24px}}
@media(max-width:700px) and (max-height:700px){.carousel-stage{bottom:82px}.stage1-hud{bottom:15px}}
@media(min-width:701px) and (max-height:480px){.carousel-stage{bottom:65px}.stage1-hud{bottom:10px}}

/* Apply the normalized subject frame immediately, avoiding an oversized entry frame. */
.carousel-image[data-normalized]{transition:opacity 1.1s ease}

@media(min-width:701px) and (min-height:481px){html:is([lang=fr],[lang=it],[lang=ru]) .hero-copy h1>em{font-size:clamp(42px,5.4vw,78px)}}
@media(max-width:700px){
 .app-shell{grid-template-rows:64px minmax(0,1fr) 112px 22px !important;width:100% !important;min-width:0 !important}
 .dock{width:100% !important;min-width:0 !important;height:auto !important}
 .dock>div{display:grid !important;width:100% !important;min-width:0 !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;grid-auto-rows:auto}
 .dock button,.dock .portal-link{min-width:0 !important;min-height:48px}
 .dock .portal-link span:not(.sr-only){white-space:normal}
 .stage1-hud{left:3% !important;right:3% !important;width:auto !important;max-width:94vw !important;transform:none !important}
 .stage1-values{font-size:13px !important;gap:4px}
 .stage1-values>span{white-space:normal !important}
 .stage1-gains{left:42% !important;right:8px !important;gap:6px}
 .stage1-gains strong{font-size:clamp(16px,4.6vw,24px) !important}
}

.dealers-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px;padding:10px 16px;border:1px solid #1f8ab1;border-radius:4px;background:#14344c;color:#e7f6ff;text-decoration:none;font-size:14px}
.dealers-cta:hover{color:#fff;background:#13546c}
.language-label>.lang-flag{display:block;width:22px;height:15px;flex:0 0 22px;border-radius:2px;background:center/cover no-repeat;box-shadow:inset 0 0 0 1px #ffffff38}
html[lang=es] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='30' height='20' fill='%23aa151b'/><rect y='5' width='30' height='10' fill='%23f1bf00'/></svg>")}
html[lang=pt] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='12' height='20' fill='%23006600'/><rect x='12' width='18' height='20' fill='%23ff0000'/><circle cx='12' cy='10' r='3.4' fill='%23ffcc00'/></svg>")}
html[lang=fr] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='10' height='20' fill='%230055a4'/><rect x='10' width='10' height='20' fill='%23fff'/><rect x='20' width='10' height='20' fill='%23ef4135'/></svg>")}
html[lang=en] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><rect width='60' height='30' fill='%23012169'/><path d='M0 0l60 30M60 0L0 30' stroke='%23fff' stroke-width='8'/><path d='M0 0l60 30M60 0L0 30' stroke='%23c8102e' stroke-width='4'/><path d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='14'/><path d='M30 0v30M0 15h60' stroke='%23c8102e' stroke-width='8'/></svg>")}
html[lang=it] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='10' height='20' fill='%23009246'/><rect x='10' width='10' height='20' fill='%23fff'/><rect x='20' width='10' height='20' fill='%23ce2b37'/></svg>")}
html[lang=de] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='30' height='6.67' fill='%23000'/><rect y='6.67' width='30' height='6.66' fill='%23dd0000'/><rect y='13.33' width='30' height='6.67' fill='%23ffce00'/></svg>")}
html[lang=ru] .lang-flag{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='30' height='6.67' fill='%23fff'/><rect y='6.67' width='30' height='6.66' fill='%230039a6'/><rect y='13.33' width='30' height='6.67' fill='%23d52b1e'/></svg>")}
.ambient,.ambient-orbit{display:none}
#preview-details{display:inline-flex;align-items:center;gap:.35em}
#preview-details .ficha-arrow,.button .ficha-arrow,.text-button .ficha-arrow,.chart-expand .ficha-arrow{width:1em;height:1em;flex:none;display:inline-block;vertical-align:-.15em}
.process-cta,#consult-form .button,#copy{display:inline-flex;align-items:center;gap:.4em}
.preview-model{font-size:clamp(18px,1.86vw,27.6px)}
.stage1-hud button{font-size:13.2px}
.stage1-values{font-size:clamp(24px,2.64vw,34.8px)}
.stage1-reference{font-size:14.4px}
.stage1-reference>span:first-child{font-size:14.4px}
.stage1-note{font-size:9.6px}
@media(max-width:700px){
 .preview-model{font-size:21.6px!important}
 .stage1-hud button{font-size:12px!important}
 .stage1-values{font-size:15.6px!important}
 .stage1-reference,.stage1-reference>span:first-child{font-size:9.6px!important}
 .stage1-note{font-size:8.4px!important}
}
@media(max-width:700px) and (max-height:700px){
 .preview-model{font-size:18px!important}
 .stage1-hud button{font-size:10.8px!important}
 .stage1-values{font-size:15.6px!important}
 .stage1-reference,.stage1-reference>span:first-child{font-size:8.4px!important}
 .stage1-note{font-size:7.2px!important}
}
@media(min-width:701px) and (max-height:480px){
 .preview-model{font-size:18px!important}
 .stage1-hud button{font-size:10.8px!important}
 .stage1-values{font-size:20.4px!important}
 .stage1-reference,.stage1-reference>span:first-child{font-size:8.4px!important}
 .stage1-note{font-size:8.4px!important}
}
@media(min-width:701px) and (min-height:481px){.stage1-curves{left:40%;top:1%;width:26%;height:16%}.stage1-gains{top:5%}}
@media(min-width:701px){
 .stage1-gains{left:81.6%;right:8px;gap:8px}
 .stage1-gains strong{font-size:clamp(38.4px,4.2vw,67.2px)}
 .stage1-gains small{font-size:clamp(14.4px,1.5vw,20.4px)}
}
@media(min-width:701px) and (max-height:480px){
 .stage1-gains strong{font-size:31.2px}
}
@media(max-width:700px){
 .stage1-gains{left:50.4%!important;right:8px!important}
 .stage1-gains strong{font-size:clamp(19.2px,5.52vw,28.8px)!important}
 .stage1-gains small{font-size:13.2px!important}
}
@media(max-width:700px) and (max-height:700px){
 .stage1-gains small{font-size:12px!important}
}
.vehicle-selectors{grid-template-columns:repeat(3,minmax(0,1fr))}
.make-field{grid-column:1 / -1;min-width:0;position:relative}
.make-field>span{display:block;color:#78d9ee;font-size:11px;font-weight:600;letter-spacing:.12em}
.make-select{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
.make-logos{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:6px 0 2px;touch-action:pan-x;scrollbar-width:thin}
.make-logo{flex:0 0 76px;height:64px;padding:4px 4px 3px;border:1px solid transparent;border-radius:8px;background:transparent;color:#f4fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.make-logo svg,.make-logo img{width:58px;height:32px;display:block;object-fit:contain}
.make-logo span{max-width:100%;overflow:hidden;color:#c5d7e6;font-size:8px;line-height:1.1;letter-spacing:.02em;text-overflow:ellipsis;white-space:nowrap}
.make-logo[aria-pressed=true]{border-color:#79d9ee;background:#123246}
@media(hover:hover){.make-logo:hover{background:#102433}}
@media(max-width:700px){
 .vehicle-selectors{grid-template-columns:1fr 1fr}
 .make-field>span{font-size:8px}
 .make-logo{flex-basis:68px;height:58px}
 .make-logo svg,.make-logo img{width:52px;height:28px}
 label[for=vehicle-engine]{grid-column:1 / -1}
}

#screen-performance{display:flex;flex-direction:column;gap:6px;height:100%;min-height:0;padding:8px 10px;overflow:hidden;background:#080d15}
#screen-performance[hidden]{display:none!important}
#screen-performance .catalog-heading{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#screen-performance .catalog-empty{display:none!important}
#screen-performance #catalog-feedback{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;margin:0;background:#080d15cc}
#screen-performance #catalog-feedback[hidden]{display:none!important}
#screen-performance .pick-bar{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-height:30px;min-width:0}
#screen-performance .pick-back{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:4px 10px;border:1px solid #145a74;border-radius:8px;background:transparent;color:#d5e6f2;font-size:12px}
#screen-performance .pick-back svg{width:14px;height:14px;display:block}
#screen-performance #pick-title{min-width:0;margin:0;overflow:hidden;color:#78d9ee;font-size:12px;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap}
#screen-performance .vehicle-selectors{display:flex;flex:1 1 auto;flex-direction:column;grid-template-columns:none!important;min-width:0;min-height:0}
#screen-performance .make-field,#screen-performance .pick-field{display:flex;flex:1 1 auto;flex-direction:column;position:relative;min-width:0;min-height:0}
#screen-performance .make-field>span,#screen-performance .pick-field>span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#screen-performance .make-select{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}
#screen-performance .make-logos,#screen-performance .pick-grid{display:grid;flex:1 1 auto;gap:4px;min-width:0;min-height:0;align-content:stretch;overflow:hidden;touch-action:manipulation}
#screen-performance .make-logo,#screen-performance .pick-option{width:auto;height:auto;min-width:0;min-height:0;flex:none;margin:0;padding:4px 4px 3px;border:1px solid #1b3144;border-radius:8px;background:#0c1622;color:#e7f3fb;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
#screen-performance .make-logo{display:flex;align-items:center;justify-content:center;padding:7px}
#screen-performance .make-logo img,#screen-performance .make-logo svg{position:static;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
#screen-performance .make-logo span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#screen-performance .pick-option{padding:4px 6px;overflow:hidden;color:#d7e7f3;font-size:clamp(11px,1.4vw,16px);line-height:1.15;text-wrap:balance}
#screen-performance .make-logo[aria-pressed=true]{border-color:#79d9ee;background:#123246}
@media(hover:hover){#screen-performance .make-logo:hover,#screen-performance .pick-option:hover{background:#102433}}
#screen-performance .pick-field[hidden],#screen-performance .make-field[hidden],#screen-performance .pick-bar[hidden]{display:none!important}
#screen-performance[data-step="result"] .vehicle-selectors,#screen-performance[data-step="result"] .pick-bar{display:none!important}
#screen-performance[data-step="result"] .catalog-result{display:grid!important;flex:1 1 auto;grid-template-rows:auto minmax(0,1fr) auto;gap:6px;min-height:0;overflow:hidden}
#screen-performance:not([data-step="result"]) .catalog-result{display:none!important}
#screen-performance[data-step="result"] .metric-grid{height:100%;min-height:0!important}
#screen-performance[data-step="result"] .chart-card{min-height:0!important;overflow:hidden}
#screen-performance[data-step="result"] .compact-chart{max-height:none;height:100%;min-height:0}
#screen-performance .catalog-bottom{display:flex;align-items:center;gap:8px;min-width:0}
#screen-performance .catalog-note{flex:1 1 auto;min-width:0}
#screen-performance .catalog-actions{display:flex;flex:0 0 auto;gap:8px}
#screen-performance .catalog-actions .button{max-width:none;min-width:0}
#screen-performance .catalog-reset{border:1px solid #1c7b9d;background:transparent;color:#d5e6f2}
@media(max-width:700px){
 #screen-performance{padding:6px 8px!important}
 #screen-performance .catalog-bottom{align-items:stretch;flex-direction:column;gap:6px}
 #screen-performance .catalog-actions{width:100%}
 #screen-performance .catalog-actions .button{flex:1 1 auto;max-width:none!important;font-size:11px;padding:8px}
}
