/* The same authored SADA engine, composed as a full-width HMI study.
   These rules apply only to ?automotive=1; the original Motion Lab stays intact. */
html.automotive-variant { color-scheme:dark; background:#061119; }
.automotive-variant body { min-width:0; background:#061119; }
.automotive-variant .app {
  --gutter:clamp(24px,4.9vw,92px);
  --orbit-center:42%;
  width:100%;height:100svh;min-height:570px;
  background:#07151e;
}
.automotive-variant .traveler,.automotive-variant .brand-arabic,
.automotive-variant .left-note,.automotive-variant .right-note { display:none!important; }
.automotive-variant .sky {
  filter:brightness(.71) saturate(.60) contrast(1.13) hue-rotate(11deg);
}
.automotive-variant .ridge {
  filter:brightness(.46) contrast(1.21) saturate(.48);
  opacity:.85;
}
.automotive-variant .shade {
  background:linear-gradient(180deg,#021018a6,transparent 25%,transparent 55%,#04101676 83%,#030a10e8),
    radial-gradient(ellipse 71% 65% at 50% 42%,transparent 39%,#030d14a8 94%);
}
.automotive-variant .brand strong {letter-spacing:.21em;font-weight:500;font-size:clamp(17px,1.55vw,24px)}
.automotive-variant .brand-caption {letter-spacing:.19em;color:#c0d1d7;font-size:10px}
.automotive-variant .topbar {height:clamp(76px,8vw,113px)}
.automotive-variant .topright-status {color:#d0e9d9}
.automotive-variant .topright-status span {background:#b2e5bc;box-shadow:0 0 12px #a7eec0}
.automotive-variant .orbit-copy {gap:clamp(10px,1.5vw,21px)}
.automotive-variant .orbit-name {
  font-size:clamp(18px,2.1vw,34px);
  letter-spacing:.22em;
  padding-left:.22em;
  font-weight:350;
  color:#e5f2f0;
}
.automotive-variant .orbit-eyebrow,.automotive-variant .orbit-subtitle {color:#b2c6cc;letter-spacing:.16em;font-size:10px}
.automotive-variant .touch-hint {top:calc(var(--orbit-center) + clamp(72px,15vh,150px));}
.automotive-variant .portal-copy strong {color:#e8f9f1;letter-spacing:.16em}
.automotive-variant .control-rail {border-top-color:#cee6e64a}
.automotive-variant .rail-index {color:#b6c7c8;font-size:10px}
.automotive-variant .rail-title {font-size:clamp(17px,1.5vw,24px)}
/* The cabin is an instrument, not a scroll-overlaid sheet. At the 610–790px
   embedded heights, reserve space for both the topbar and the fixed control
   rail, then size the information hierarchy to the actual display height. */
.automotive-variant .cabin-panel {
  top:clamp(108px,15svh,158px);
  bottom:clamp(138px,19svh,190px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
}
.automotive-variant .cabin-panel::-webkit-scrollbar{display:none}
.automotive-variant .cabin-panel h1 {
  font-size:clamp(32px,3.05vw,47px);
  line-height:1.06;
  margin:clamp(10px,1.8svh,17px) 0 7px;
}
.automotive-variant .cabin-description {margin-bottom:clamp(10px,1.65svh,17px);font-size:14px}
.automotive-variant .cabin-meta > span,.automotive-variant .cabin-live,
.automotive-variant .metric-label,.automotive-variant .metric-subtitle,
.automotive-variant .cabin-foot,.automotive-variant .inline-note,
.automotive-variant .sub-control,.automotive-variant .climate-adjust > span {font-size:12px;letter-spacing:.045em}
.automotive-variant .cabin-tab {padding:10px 3px 13px;font-size:12px;letter-spacing:.055em;min-height:44px}
.automotive-variant .cabin-views {margin-top:clamp(9px,1.5svh,15px);min-height:122px}
.automotive-variant .cabin-readout {min-height:clamp(65px,9svh,88px)}
.automotive-variant .temp-value output {font-size:clamp(37px,3.65vw,56px)}
.automotive-variant .cabin-action-row {padding-top:clamp(8px,1.5svh,13px)}
.automotive-variant .cabin-foot {margin-top:auto;padding-top:9px;line-height:1.5}
.automotive-variant .orbit-functional-note {top:67.5%}
@media(max-height:680px) and (min-width:651px){
  .automotive-variant .cabin-panel {top:104px;bottom:126px}
  .automotive-variant .cabin-panel h1 {font-size:clamp(31px,2.8vw,41px);margin:9px 0 6px}
  .automotive-variant .cabin-description {font-size:12px;line-height:1.4;margin-bottom:9px}
  .automotive-variant .cabin-tab {padding:7px 2px 9px}
  .automotive-variant .cabin-views {margin-top:6px;min-height:105px}
  .automotive-variant .cabin-readout {min-height:59px}
  .automotive-variant .cabin-action-row {padding-top:7px}
  .automotive-variant .cabin-foot {padding-top:6px}
  .automotive-variant .orbit-functional-note {top:65%}
}
@media(max-width:900px){
  .automotive-variant .topright-label {display:none}
  .automotive-variant .brand-caption {display:inline}
}
@media(max-width:650px){
  .automotive-variant .app {--gutter:clamp(17px,4vw,28px);--orbit-center:37%;min-height:550px}
  .automotive-variant .topbar {height:75px}
  .automotive-variant .brand-caption {display:none}
  .automotive-variant .orbit-name {font-size:clamp(14px,3.1vw,19px);letter-spacing:.15em;padding-left:.15em}
  .automotive-variant .orbit-eyebrow,.automotive-variant .orbit-subtitle {font-size:8px;letter-spacing:.1em}
  .automotive-variant .touch-hint {top:calc(var(--orbit-center) + clamp(50px,12vw,76px))}
  .automotive-variant .control-rail {inset-block-end:17px}
  .automotive-variant .cabin-panel {top:43%;bottom:19%;overflow-y:auto;overscroll-behavior:contain}
  .automotive-variant .orbit-functional-note {top:39%}
  .automotive-variant .rail-index {font-size:8px}
  .automotive-variant .cabin-tab{font-size:10px;letter-spacing:0;padding:10px 1px;min-height:42px}
  .automotive-variant .cabin-meta > span,.automotive-variant .cabin-live,
  .automotive-variant .metric-label,.automotive-variant .metric-subtitle,
  .automotive-variant .cabin-foot,.automotive-variant .inline-note {font-size:10px}
  .automotive-variant .cabin-description{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .automotive-variant .sky,.automotive-variant .ridge{transform:none!important}
}
