/* Product routes keep the geometric observatory alive beside the instrument desk. */
:root{--desk:#0b0d11;--rule:#ffffff24;--muted:#888c95;--paper:#d9d6ce;--accent:#d2b8e8;--desk-width:clamp(300px,29vw,390px)}
.route-desk[hidden]{display:none!important}
.route-desk{position:fixed;left:0;top:50px;bottom:0;width:var(--desk-width);z-index:8;padding:23px 22px 18px;background:linear-gradient(145deg,#15161cf7,#090b10fc 74%);border-right:1px solid var(--rule);overflow:auto;scrollbar-width:thin;scrollbar-color:#55505b #0a0c10}
.route-desk::before{content:'';position:fixed;top:50px;left:var(--desk-width);width:1px;height:calc(100vh - 50px);background:linear-gradient(transparent,#ddbbff60,transparent);pointer-events:none}
body.product-route .stage{inset:50px 0 0 var(--desk-width);transition:none}
body.product-route .chapters,body.product-route .side,body.product-route .callouts,body.product-route .scene-title,body.product-route footer,body.product-route .phase-label,body.product-route .fidelity{display:none}
body.product-route .stage .tools{left:15px;bottom:45px}
body.product-route .gesture-hint{bottom:20px;font-size:8px}
body.product-route .stage::after{background:linear-gradient(90deg,#080a0d22,transparent 35%);box-shadow:inset 0 0 65px #04050b66}
.route-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--rule);padding-bottom:14px;margin-bottom:22px;font:10px/1.3 monospace;letter-spacing:1.2px;color:var(--muted)}
.route-return{color:#e4d9ec;letter-spacing:0;font-size:11px}
.route-eyebrow{font:10px/1.5 monospace;letter-spacing:2px;color:#af94c4;margin:0 0 13px}
.route-desk h1{font:400 clamp(30px,2.55vw,42px)/.97 'Space Grotesk','Space Grotesk',sans-serif;letter-spacing:-1.4px;margin:0 0 15px;color:#eee9df}
.route-intro{font:14px/1.5 'Barlow Condensed',sans-serif;color:#acaeb6;max-width:38ch;margin:0 0 19px}
.route-section-title{font:10px monospace;letter-spacing:1.2px;color:#9c96a4;margin:25px 0 12px;display:flex;justify-content:space-between}
.route-row{border-top:1px solid var(--rule);padding:10px 0;display:flex;justify-content:space-between;gap:15px;font:10px/1.45 monospace}
.route-row dt{color:#91929d}.route-row dd{margin:0;text-align:right;color:#e2d9e8;font-variant-numeric:tabular-nums}
.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.route-desk button,.route-desk .route-action{min-height:38px;border:1px solid #97909d5c;background:#13151b;padding:9px 12px;font:11px/1.35 monospace;text-align:left;color:#cbc6d1;border-radius:0}
.route-desk button:hover,.route-desk .route-action:hover{border-color:#d3b9e9;background:#27212e;color:#fff}
.route-desk button[aria-pressed="true"]{background:#2d2436;color:#ead8f9;border-color:#b99bc9}
.route-desk button:disabled{opacity:.4;cursor:wait}
.route-desk .route-primary{background:#d2c5d8;color:#151019;border-color:#d2c5d8}
.route-desk .route-primary:hover{background:#ebe0f0;color:#151019}
.route-wide{width:100%}
.route-caption{font:11px/1.6 monospace;color:#888591;margin:10px 0 0}
.ring-list{list-style:none;padding:0;margin:0}
.ring-list button{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;width:100%;border-width:1px 0 0;padding:14px 0;background:transparent;font:14px 'Barlow Condensed',sans-serif}
.ring-list button small{font:9px monospace;color:#8b8195}.ring-list button[aria-pressed="true"]{background:transparent;color:#e7c8fa;border-width:1px 0 0;border-color:#b99bc9}
.ring-note{border-left:1px solid #a78bb7;padding-left:15px;margin:19px 0;font:14px/1.5 'Barlow Condensed',sans-serif;color:#b8b2bf}
.route-axis{width:100%;height:92px;display:block;background:linear-gradient(90deg,#ffffff03 1px,transparent 1px),linear-gradient(#ffffff03 1px,transparent 1px);background-size:20px 20px;border-bottom:1px solid var(--rule)}
.route-axis text{font:9px monospace;fill:#aaa0b5}.route-axis line{stroke-width:1}.route-axis circle{fill:#ded3e5}
.route-field{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;margin:20px 0;font:11px monospace;color:#aaa3b4}
.route-field input[type="range"]{grid-column:1/-1;width:100%;accent-color:#c9a6dd;cursor:ew-resize;margin:7px 0}
.route-field output{color:#e1d7e8;font-variant-numeric:tabular-nums}
.route-desk input[type="text"]{width:100%;height:40px;background:#090b10;border:1px solid #77707d;color:#ded6e4;padding:10px;font:12px monospace;border-radius:0}
.route-wave{width:100%;height:55px;display:block;background:linear-gradient(transparent 49%,#ffffff15 50%,transparent 51%);border-block:1px solid var(--rule)}
.route-chapters{display:grid;grid-template-columns:repeat(4,1fr);margin:20px 0;gap:5px}
.route-chapters button{padding:10px 3px;text-align:center;font-size:10px}
.route-model{margin:20px 0;padding:16px 0;border-block:1px solid var(--rule)}
.route-model h2{margin:0 0 8px;font:18px 'Barlow Condensed',sans-serif;color:#ded5e6}
.route-model p{margin:0;color:#8e909b;font:12px/1.55 monospace}
.route-formula{display:block;margin:12px 0 0;color:#c0accf;font:11px/1.6 monospace;overflow-wrap:anywhere}
.route-notice{font:11px/1.5 monospace;color:#d5bedf;min-height:18px;margin:12px 0;overflow-wrap:anywhere}
.archive-entry{border-top:1px solid var(--rule);padding:15px 0}
.archive-entry h2{font:17px 'Barlow Condensed',sans-serif;color:#dfd8e4;font-weight:400;margin:0 0 6px;overflow-wrap:anywhere}
.archive-entry p{font:10px/1.7 monospace;color:#98929e;margin:0 0 12px}
.archive-entry .route-grid{grid-template-columns:1fr auto}
.archive-empty{padding:25px 0;border-block:1px solid var(--rule);font:13px/1.65 monospace;color:#9f98a6}
.route-mini-link{border:0!important;background:transparent!important;min-height:25px!important;padding:0!important;text-decoration:underline;text-underline-offset:4px}
.route-ready{display:flex;gap:7px;align-items:center;font:9px monospace;letter-spacing:1px;color:#a6b9ac}
.route-ready::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
@media(max-width:1100px){.route-desk{padding:22px}.route-desk h1{font-size:34px}.route-intro{font-size:14px}.route-row{font-size:10px}.route-topline{font-size:8px}.route-desk button{font-size:10px}.route-desk .route-primary{font-size:11px}}
@media(max-width:760px){body.product-route header{height:91px;align-items:flex-start}body.product-route .menu{height:49px}body.product-route .brand{height:49px}body.product-route .audio-toggle{top:14px}body.product-route .nav{position:absolute;top:49px;left:0;width:100%;height:42px;justify-content:space-around;padding:0 10px;border-top:1px solid var(--rule);gap:5px}body.product-route .nav a:nth-child(n){display:flex;font-size:10px;height:32px}body.product-route .stage{inset:91px 0 auto 0;height:36vh;min-height:210px}body.product-route .stage .tools{bottom:12px}body.product-route .gesture-hint{bottom:8px;font-size:6px}body.product-route .route-desk{top:calc(91px + max(36vh,210px));width:100%;padding:22px 22px 40px;border-top:1px solid var(--rule);border-right:0}body.product-route .route-desk::before{display:none}.route-desk h1{font-size:40px}.route-intro{max-width:44ch}.route-topline{margin-bottom:22px}.route-desk .route-row{font-size:11px}.route-grid button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.route-desk *{scroll-behavior:auto}}

body.product-route[data-route=simulation] .audio-toggle{display:none}.route-details{border-top:1px solid var(--rule);margin-top:18px;padding-top:14px}.route-details summary{cursor:pointer;font:10px monospace;letter-spacing:1px;color:#c1accc}.route-details p{font:11px/1.6 monospace;color:#88838f}
body.product-route[data-route=simulation] #resetCamera{display:none}
.spatial-study{border-block:1px solid var(--rule);padding:0 0 15px;margin:17px 0}
.spatial-study .route-section-title{margin:14px 0 10px;font-size:9px}
.spatial-study h2{font:400 23px/1.12 'Barlow Condensed',sans-serif;letter-spacing:.1px;margin:0 0 8px;color:#dfd6e6}
.spatial-study p{font:13px/1.45 'Barlow Condensed',sans-serif;color:#98939e;margin:0 0 14px;max-width:32ch}
.study-outputs{margin-top:15px}.route-details .route-caption{margin-bottom:4px}

.view-settings{position:absolute;right:52px;top:14px;min-height:24px;padding:4px 7px;border:1px solid #777783;background:#101116;color:#c5c2cb;font:9px/1.2 monospace;cursor:pointer}
.view-settings:hover{border-color:#dec9ea;color:#fff}.view-settings:focus-visible{outline:2px solid #d9bae9;outline-offset:3px}
@media(min-width:761px) and (max-width:900px){header .brand{width:245px;font-size:23px}header .nav{padding:0 12px;gap:15px;font-size:12px}}
@media(max-width:760px){.view-settings{right:37px;top:15px;font-size:8px;min-height:23px;padding:4px}.nav{padding-right:119px}body.product-route .nav{padding-right:10px}body:not(.product-route) .nav{display:none}}

.capture-result{display:flex;align-items:flex-start;gap:20px;margin:10px 0 16px;padding:11px 0;border-bottom:1px solid var(--rule);font:10px/1.4 monospace;color:#bfb1c9}
.capture-save{display:inline-block;padding:5px 0;color:#e2d0ed;text-decoration:underline;text-underline-offset:4px}.capture-save:focus-visible{outline:2px solid #d9bae9;outline-offset:3px}
.capture-result summary{padding:5px 0;cursor:pointer}.capture-result img{display:block;width:150px;max-width:100%;height:auto;max-height:105px;object-fit:contain;object-position:left top;margin-top:8px;border:1px solid #74677d}
