/* A palette handoff is timed to the space between the two vehicle arrivals. */
body.palette-light{--bg:#f3f4f1;--fg:#1c2225;--muted:#616b70;--line:#bdc3c4;--panel:#e5e8e6;color-scheme:light}
body.palette-dark{--bg:#090c0f;--fg:#eef0ed;--muted:#a0a9ae;--line:#303a40;--panel:#161d22;color-scheme:dark}
.palette-toggle{position:relative}.palette-toggle svg{width:23px;height:23px;transition:rotate .5s,opacity .3s}.palette-toggle:hover svg{rotate:-12deg}.palette-toggle:disabled{opacity:.7;cursor:progress}.palette-toggle:disabled svg{animation:flag-roll .65s ease-in-out infinite alternate}
@keyframes flag-roll{to{rotate:10deg}}
body.palette-light .wordmark{filter:invert(1)}body.palette-dark .wordmark{filter:none}
body.palette-light .site-header,body.palette-dark .site-header,body.palette-light.is-home .site-header,body.palette-dark.is-home .site-header{background:var(--bg);color:var(--fg)}
body.palette-light .site-header.scrolled,body.palette-dark .site-header.scrolled{background:color-mix(in srgb,var(--bg) 92%,transparent)}
body.palette-light .site-header a,body.palette-light .site-header button,body.palette-dark .site-header a,body.palette-dark .site-header button{color:inherit}
body.palette-light .site-header .menu-toggle span,body.palette-dark .site-header .menu-toggle span{background:currentColor}
body.palette-light .site-header .mobile-nav,body.palette-dark .site-header .mobile-nav,body.palette-light footer,body.palette-dark footer{background:var(--bg);color:var(--fg)}
body.palette-light .night-stage,body.palette-light .circuit-stage,body.palette-light .gallery-stage{background:#e8e9e5;color:#20272b}
body.palette-light .stage-shade,body.palette-light .circuit-veil{background:linear-gradient(180deg,transparent 65%,#e8e9e544 82%,#e8e9e5)}
body.palette-light .stage-caption p,body.palette-light .stage-coordinate,body.palette-light .stage-topline,body.palette-light .circuit-stage p,body.palette-light .drive-story p{color:#56636a}
body.palette-light .night-title{color:#273137;mix-blend-mode:normal}body.palette-light .night-title span{color:#77848a}
body.palette-light .concept-bar{background:#e1e5e3;color:#4f5c63;border-color:#bec6c7}body.palette-light .concept-bar a{color:#4f5c63}
body.palette-light .beam-icon{border-color:#829096;background:#cfd5d5}
body.palette-light .edge-text{color:#737e83}
body.palette-light .circuit-title .outline{-webkit-text-stroke:1px #7b878e}
body.palette-light .glass-tones button,body.palette-light .glass-purchase,body.palette-light .glass-purchase a{border-color:#27384140}
body.palette-light .glass-tones i{border-color:#596970}
body.palette-light .glass-story-panel>small{color:#58676e}
body.palette-light .at-glass .glass-story-panel:before{background:linear-gradient(90deg,#e8e9e500,#e8e9e5e8 22%)}
body.palette-light .drive-chapter>i{background:#27384130}
body.palette-light .material-chapter{background:#e1e3e3;color:#20272b}
body.palette-light .material-readout{background:linear-gradient(90deg,transparent,#e1e3e3cc 24%)}
body.palette-light .material-heading p,body.palette-light .material-readout>small{color:#647078}
body.palette-light .material-tabs button{border-color:#718087}
body.palette-light .material-readout>a{border-color:#718087;color:#20272b}
body.palette-light .collection-ledger{background:#f3f4f1;color:#20272b}
body.palette-light .collection-ledger nav a{border-color:#aab6bb}
body.palette-light .film-tile{background:#dfe4e3;color:#20272b}
body.palette-light .film-tile-copy p{color:#5b686e}
body.palette-light .film-render img{filter:none;mix-blend-mode:multiply;opacity:1}
body.palette-light .film-tile:after{background:linear-gradient(180deg,transparent 50%,#dfe4e3cc)}
body.palette-dark .gallery-stage{background:#050608;color:#edf0ed}
body.palette-dark .gallery-stage p,body.palette-dark .gallery-stage small{color:#9faab0}
body.palette-dark .gallery-grid{opacity:.2}
body.palette-dark .gallery-title em{color:#7e8c95}
body.palette-dark .gallery-stage .glass-tones button,body.palette-dark .gallery-stage .glass-purchase,body.palette-dark .gallery-stage .glass-purchase a{border-color:#f0f2ef44}
body.palette-dark .gallery-stage .drive-chapter>i{background:#fff3}
body.palette-dark .at-glass .glass-story-panel:before{background:linear-gradient(90deg,#05060800,#050608e8 22%)}
body.palette-dark .edition-cover,body.palette-dark .edition-spread{background:#11171b}
body.palette-dark .edition-cover-object{mix-blend-mode:normal;background:#e8eae6;border-radius:2px}
body.palette-dark .edition-cover-object img{mix-blend-mode:multiply}
body.palette-dark .edition-cover h1 em,body.palette-dark .edition-issue,body.palette-dark .edition-cover-foot p{color:#a6afb0}
body.palette-dark .edition-cover-copy>a,body.palette-dark .edition-mast,body.palette-dark .edition-view,body.palette-dark .edition-all,body.palette-dark .edition-interlude{border-color:#7e8b9255}
body.palette-dark .edition-cover-object>span{color:#293237;padding:12px}
body.palette-dark .edition-object-art{color:#222b30}
body.palette-dark .object-lab{background:linear-gradient(130deg,#151e25,#090d11);color:#e4e9e9}
body.palette-dark .lab-mast,body.palette-dark .lab-index button,body.palette-dark .lab-detail-lines,body.palette-dark .lab-detail-lines>span{border-color:#c4d0d22c}
body.palette-dark .lab-calibration{border-color:#c4d0d245}
body.palette-dark .lab-calibration:before{border-color:#c4d0d230}
body.palette-dark .lab-calibration:after{background:#b5c7d1}
body.palette-dark .lab-spec>button{background:#d9e0e0;color:#1d292e;border-color:#d9e0e0}
body.palette-dark .lab-spec>button:hover{background:#f0f3f1}
body.palette-dark .lab-system{background:#111a21;color:#e4e9e9}
body.palette-dark .lab-system>a{border-color:#c4d0d230}
body.palette-dark .material-chapter{background:#111314;color:#e9eef1}
body.palette-dark .material-readout{background:linear-gradient(90deg,transparent,#111314cc 24%)}
body.palette-dark .material-readout>a{color:#e9eef1;border-color:#7c8b93}
body.palette-dark .collection-ledger{background:#090c0f;color:#eef0ed}
body.palette-dark .collection-ledger nav a{border-color:#52616a}
@media(max-width:520px){body.palette-light .at-glass .glass-story-panel:before{background:linear-gradient(180deg,#e8e9e500,#e8e9e5 26%)}body.palette-dark .at-glass .glass-story-panel:before{background:linear-gradient(180deg,#05060800,#050608 26%)}}
@media(max-width:420px){.site-header .wordmark{width:110px;height:35px}.site-header .header-actions{gap:6px}.site-header .icon-button{width:27px}.site-header .bag-link{gap:5px}.site-header .menu-toggle{width:20px}.site-header{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.palette-toggle svg{animation:none!important;transition:none!important}}
