/* V3: the engineering platform is the primary experience. */
#welcome .welcome-format{margin:0;color:#a5b9c6;font-size:9px;letter-spacing:1.6px}.welcome-footer .text-button{margin-left:auto}.welcome-copy .camera-note{max-width:340px}.welcome-actions .primary{min-height:56px}.welcome-shade{background:linear-gradient(90deg,#070b10f2 0%,#080c10d5 27%,#080c1005 78%),linear-gradient(0deg,#060a10 0%,#060a1022 28%,#060a1010 60%,#060a107a 100%)}
#experience{background:radial-gradient(ellipse at 50% 44%,#253947 0%,#12232e 33%,#080f17 72%)}
#stage{cursor:grab}#stage.dragging{cursor:grabbing}#viewport{position:absolute;left:4vw;right:4vw;top:calc(130px + var(--safe-top));bottom:calc(185px + var(--safe-bottom));pointer-events:none}#scene{inset:0;opacity:1}#reference{inset:0;background:#18222e;border:1px solid #bcdce322;border-radius:8px;overflow:hidden}#reference img{width:100%;height:100%;object-fit:contain}#grid{background-size:80px 80px;opacity:.45!important;mask-image:radial-gradient(ellipse,#0008,transparent 70%)}.stage-vignette{background:linear-gradient(0deg,#050b11,transparent 30%,transparent 70%,#050b1180)}
.experience-header{padding-top:calc(22px + var(--safe-top));padding-inline:32px}.experience-brand .hedin-logo{width:152px}.experience-brand span{font-size:10px;letter-spacing:.2px}.explorer-heading{position:absolute;top:calc(105px + var(--safe-top));left:5vw;right:5vw;display:flex;gap:16px;align-items:center;pointer-events:none}.explorer-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.explorer-heading>span:last-child{font-size:12px;color:#adbecb;padding-left:16px;border-left:1px solid #badce330}
#scene-status{position:absolute;left:0;right:0;top:48%;text-align:center;font-size:12px;color:var(--accent);pointer-events:none}#zoom-tools{position:absolute;right:25px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;border:1px solid var(--line);background:#0b1b24c9;backdrop-filter:blur(12px);border-radius:8px;overflow:hidden;z-index:2}#zoom-tools button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:23px;color:#c6dbe7}#zoom-tools button+button{border-top:1px solid #a4eef21c}#zoom-tools svg{width:16px;height:16px}#zoom-tools button:hover{background:#a4eef215;color:#fff}
.hotspot-dot{font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:.4px;width:36px;height:36px;border-color:#a5eff7bb;background:#0b2b3ae8;box-shadow:0 0 0 5px #7eecf80c,0 0 20px #81eafc22}.hotspot[data-hotspot=braking]::after{display:none}.hotspot-label{font-size:11px;top:48px}.hotspot:hover{z-index:1}.hotspot:focus-visible{outline-offset:3px;border-radius:50%}
#explorer-footer{position:absolute;left:0;right:0;bottom:0;padding:0 24px calc(12px + var(--safe-bottom));display:flex;flex-direction:column;align-items:center;gap:13px;pointer-events:none;background:linear-gradient(transparent,#080f17ce 42%)}#explorer-footer>*{pointer-events:auto}#explorer-footer .interaction-hint{position:static;font-size:10px;color:#8fa5b5;letter-spacing:.25px;margin:0 0 0;pointer-events:none}#topic-nav{display:flex;justify-content:center;gap:8px;max-width:100%}#topic-nav button{display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 17px;border:1px solid #bedde224;border-radius:5px;background:#132632a6;font-size:12px;white-space:nowrap}#topic-nav button>span{font-size:9px;color:#8edbe5;letter-spacing:.6px}#topic-nav button:hover,#topic-nav button:focus-visible{background:#243d4b;border-color:#a4eef270}.compact-toolbar{position:static;transform:none;border:0;background:none;box-shadow:none;backdrop-filter:none;padding:0;gap:7px;width:auto}.compact-toolbar button{min-height:42px;color:#b3c6d3;font-size:11px;padding:9px 16px}.compact-toolbar svg{width:16px;height:16px}#explorer-footer .mode-note{position:static;margin:0;font-size:8px;color:#8299a9;pointer-events:none}
.controls-dock{bottom:calc(121px + var(--safe-bottom));width:min(460px,calc(100% - 28px));background:#10212dfb;max-height:calc(100dvh - 230px);z-index:5}.control-heading{padding:9px 18px 0;font-size:9px}.control-heading .icon-button{width:35px;height:35px;border:0}.view-switch{margin-top:5px}.reference-switch{margin:0 18px}.hotspot-toggle{display:flex;gap:10px;align-items:center;padding:14px 18px;font-size:11px;color:var(--muted)}.hotspot-toggle input{width:18px;height:18px}.energy-controls{padding:8px 18px}.info-open #viewport{right:420px}.info-open #explorer-heading{display:none}.info-open .experience-header{visibility:hidden}.info-open .mode-note{visibility:hidden}.info-open:not(.detail-open):not(.aero-open) #viewport{top:90px;bottom:40px}.detail-open #viewport{right:4vw}.detail-open #stage{filter:none}.detail-open #grid{opacity:.12!important}#info-panel{top:24px;bottom:24px;right:24px;width:365px;max-height:none}#info-panel.with-model{top:calc(24px + var(--safe-top));bottom:calc(24px + var(--safe-bottom));left:3vw;right:3vw}.inspector-head h2{font-size:30px}#detail-scene,#detail-labels{bottom:105px}#info-panel[data-component=battery] #detail-scene,#info-panel[data-component=battery] #detail-labels{top:55px}.info-copy>p{font-size:14px}.info-scroll{scrollbar-gutter:stable}#detail-legend{line-height:1.5}.detail-caption{font-size:9px}#battery-steps button{min-width:78px}#info-panel[hidden]{display:none!important}
#aero-view{position:absolute;left:3vw;right:410px;top:80px;bottom:40px;display:flex;align-items:center;pointer-events:none}#aero-view img{width:100%;display:block;border-radius:8px}#aero-view svg{position:absolute;left:0;top:50%;width:100%;aspect-ratio:1000/570;transform:translateY(-50%);stroke:#b8f3fc;stroke-width:1.6;opacity:.8;filter:drop-shadow(0 0 5px #79dfff)}#aero-view path{stroke-dasharray:100 60 10 1000;animation:airflow 4s linear infinite}#aero-view path:nth-child(2){animation-delay:-1.3s;opacity:.55}#aero-view path:nth-child(3){animation-delay:-2.6s;opacity:.4}#aero-view>span{position:absolute;bottom:14px;left:0;right:0;text-align:center;color:#8fa5b5;font-size:9px}@keyframes airflow{from{stroke-dashoffset:0}to{stroke-dashoffset:1170}}.reduced-motion #aero-view path{stroke-dasharray:none;opacity:.4}
#exterior-dialog{width:min(1000px,calc(100vw - 28px))}.gallery-body{padding:0}.gallery-body figure{margin:0}.gallery-body img{display:block;width:100%;height:min(53vh,500px);object-fit:contain;background:#080e14}.gallery-body figcaption{font-size:11px;color:#c5d4dc;padding:15px 24px}.gallery-tabs{display:flex;gap:6px;padding:0 24px 15px;flex-wrap:wrap}.gallery-tabs button{min-height:44px;font-size:12px;border:1px solid var(--line);padding:9px 16px;border-radius:4px}.gallery-tabs button.active{background:#a4eef218;color:var(--accent)}.gallery-body>.field-note{padding:0 24px 20px;margin:0}.reference-mode #stage{cursor:default}.reference-mode #viewport{left:5vw;right:5vw;top:145px;bottom:200px}.outdoor #experience{background:radial-gradient(ellipse,#304858,#0a1521)}
@media(max-width:700px){
#welcome{min-height:690px}.welcome-image{height:56%;object-position:60% 48%}.welcome-copy{bottom:calc(92px + var(--safe-bottom))}.welcome-copy h1{font-size:54px;line-height:1.02}.welcome-copy>p{font-size:13px}.welcome-actions{margin-top:20px}.welcome-actions .primary{font-size:13px}.welcome-actions .secondary{font-size:12px}.welcome-copy .camera-note{font-size:9px;max-width:none}.welcome-footer .welcome-format{display:block!important;font-size:7px;margin:0}.welcome-footer .text-button{font-size:10px}.experience-header{padding:calc(18px + var(--safe-top)) 17px 12px;gap:10px}.experience-brand .hedin-logo{width:120px}.experience-brand span{font-size:8px}.experience-header>.badge{font-size:7px}.explorer-heading{top:calc(103px + var(--safe-top));left:22px;right:22px;gap:12px}.explorer-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.explorer-heading>span:last-child{font-size:10px;padding-left:12px}#viewport{left:7px;right:7px;top:calc(138px + var(--safe-top));bottom:calc(201px + var(--safe-bottom))}#zoom-tools{right:12px;top:calc(143px + var(--safe-top));transform:none;flex-direction:row}#zoom-tools button{width:38px;height:40px;font-size:20px}#zoom-tools button+button{border-top:0;border-left:1px solid #a4eef21c}#zoom-tools svg{width:14px}#explorer-footer{padding:0 14px calc(14px + var(--safe-bottom));gap:12px}#explorer-footer .interaction-hint{font-size:9px;margin-bottom:1px}#topic-nav{width:100%;gap:4px}#topic-nav button{flex:1;flex-direction:column;justify-content:center;gap:7px;font-size:9px;padding:8px 3px;min-height:56px;background:#142632c9;border-radius:4px;white-space:normal;line-height:1.25}#topic-nav button>span{font-size:9px}.compact-toolbar{width:100%;gap:0;justify-content:space-between}.compact-toolbar button{flex:1;gap:6px;padding:8px 4px;font-size:10px;min-height:42px}.compact-toolbar svg{width:15px;height:15px}#explorer-footer .mode-note{font-size:7px}.controls-dock{bottom:calc(116px + var(--safe-bottom));max-height:calc(100dvh - 205px);width:calc(100% - 28px)}.controls-dock .control-heading{padding:8px 14px 0}.control-heading .icon-button{height:34px}.controls-dock .view-switch{margin:3px 14px 0}.controls-dock .reference-switch{margin:0 14px}.controls-dock .energy-controls{padding:6px 14px}.controls-dock .energy-modes button{font-size:10px}.hotspot-toggle{padding:13px 14px;font-size:11px}.hotspot-dot{width:32px;height:32px;font-size:10px}.hotspot-label{font-size:10px}.hotspot{min-width:44px;min-height:44px}#info-panel{top:auto;bottom:calc(10px + var(--safe-bottom));left:10px;right:10px;width:auto;max-height:44dvh}#info-panel.with-model{left:10px;right:10px;top:calc(12px + var(--safe-top));bottom:calc(10px + var(--safe-bottom));grid-template-rows:auto minmax(230px,44%) minmax(100px,1fr);grid-template-columns:1fr;max-height:none}.with-model .inspector-head{grid-column:1}.inspector-head{padding:17px 18px 13px}.inspector-head h2{font-size:26px}.info-copy{padding:18px 20px 0}.info-copy>p{font-size:13px}.info-open:not(.detail-open):not(.aero-open) #viewport{top:15px;bottom:46dvh;left:8px;right:8px}.detail-open #viewport{left:7px;right:7px}#detail-scene,#detail-labels{bottom:94px}#info-panel[data-component=battery] #detail-scene,#info-panel[data-component=battery] #detail-labels{top:53px}#detail-legend{left:12px;right:12px;bottom:26px;font-size:8px;gap:6px 10px;min-height:52px}.detail-caption{font-size:7px;bottom:8px}#battery-steps{top:7px}#battery-steps button{min-width:68px}#aero-view{left:8px;right:8px;top:10px;bottom:46dvh}#aero-view>span{bottom:9px}.gallery-tabs{padding:0 15px 15px;gap:5px}.gallery-tabs button{font-size:10px;padding:8px 10px;flex:1}.gallery-body img{height:38vh}.gallery-body figcaption{padding:14px 18px}.gallery-body>.field-note{padding:0 18px 20px}.reference-mode #viewport{left:10px;right:10px;top:135px;bottom:205px}
}
@media(max-width:380px){.welcome-copy h1{font-size:48px}.experience-header{gap:8px;padding-inline:12px}.experience-brand .hedin-logo{width:108px}.experience-header>.badge{font-size:6px}#topic-nav button{font-size:8px}.compact-toolbar button{font-size:9px}#detail-legend{font-size:7px;gap:5px 8px}}
@media(max-height:740px) and (max-width:700px){#welcome{min-height:650px}.welcome-copy{bottom:80px}.welcome-copy h1{font-size:46px;margin:16px 0}.welcome-actions{margin-top:15px}#viewport{top:125px;bottom:185px}.explorer-heading{top:96px}#zoom-tools{top:132px}#explorer-footer{gap:9px}#info-panel.with-model{grid-template-rows:auto minmax(205px,43%) minmax(90px,1fr)}.inspector-head{padding:12px 16px}.inspector-head h2{font-size:24px}#detail-legend{font-size:7px}.reference-mode #viewport{top:125px;bottom:190px}}
@media(orientation:landscape) and (max-height:600px){
#welcome{min-height:440px}.welcome-copy{left:6vw;top:49%;bottom:auto;transform:translateY(-35%)}.welcome-copy h1{font-size:48px}.welcome-copy>p,.camera-note{display:none}.welcome-image{top:0;height:100%;object-position:62% 58%}.brand-header{padding:20px 5vw;background:none;min-height:0}.welcome-actions{margin-top:14px}.welcome-actions .secondary{display:none}.welcome-footer{padding:10px 5vw}.experience-header{padding:10px 18px;gap:10px}.experience-brand{flex-direction:row;gap:15px;align-items:center}.experience-brand .hedin-logo{width:118px}.experience-brand span{font-size:9px}.explorer-heading{top:66px;left:25px}.explorer-heading .eyebrow{font-size:7px}.explorer-heading>span:last-child{font-size:9px}#viewport{top:83px;bottom:91px;left:40px;right:40px}#explorer-footer{gap:4px;padding-bottom:6px}.compact-toolbar{position:absolute;right:15px;bottom:30px;flex-direction:column;width:95px;gap:0}.compact-toolbar button{min-height:34px;padding:4px 5px;font-size:9px;justify-content:flex-start;width:100%}#topic-nav{width:auto;gap:5px;max-width:calc(100% - 240px)}#topic-nav button{flex-direction:row;font-size:9px;min-height:38px;padding:6px 10px;white-space:nowrap}#explorer-footer .interaction-hint{font-size:8px}#explorer-footer .mode-note{font-size:6px}#zoom-tools{left:18px;right:auto;top:45%;transform:translateY(-25%);flex-direction:column}#zoom-tools button{width:34px;height:34px;font-size:18px}#zoom-tools button+button{border-left:0;border-top:1px solid #a4eef21c}.controls-dock{bottom:24px;left:auto;right:118px;transform:none;width:390px;max-height:calc(100dvh - 85px)}#info-panel{top:10px;bottom:10px;left:auto;right:10px;width:330px;max-height:none}#info-panel.with-model{left:10px;right:10px;top:10px;bottom:10px;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);grid-template-rows:65px minmax(0,1fr)}.with-model .inspector-head{grid-column:1/-1}.inspector-head{padding:11px 17px}.inspector-head h2{font-size:24px}.info-open:not(.detail-open):not(.aero-open) #viewport{left:10px;right:350px;top:20px;bottom:20px}#detail-scene,#detail-labels{bottom:85px}#detail-legend{bottom:22px;font-size:7px;min-height:46px;gap:4px 8px}.detail-caption{font-size:6px}#info-panel[data-component=battery] #detail-scene,#info-panel[data-component=battery] #detail-labels{top:48px}#battery-steps{top:4px}#battery-steps button{min-height:36px;font-size:10px}#aero-view{left:10px;right:350px;top:20px;bottom:20px}.reference-mode #viewport{left:55px;right:125px;top:85px;bottom:92px}
}
.animation-paused #aero-view path{animation-play-state:paused}
@media(max-width:700px) and (orientation:portrait){.welcome-image{height:43%;object-fit:cover;object-position:58% 50%}.welcome-shade{background:linear-gradient(0deg,#080c10 23%,#080c10f2 39%,#080c1066 58%,transparent 80%)}.welcome-copy .eyebrow{max-width:330px}}
@media(orientation:landscape) and (max-height:600px){.compact-toolbar{left:auto}}
