:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142a40;background:#f5f8fc;font-size:16px;line-height:1.55;--ink:#0f3154;--accent:#096e74;--line:#b9cbdc}*{box-sizing:border-box}body{margin:0}header,nav,main,footer{max-width:1120px;margin:auto;padding:1rem 1.5rem}header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:1.4rem}.brand{font-size:1.15rem;font-weight:750;text-decoration:none;color:var(--ink)}.tag,.eyebrow{font-size:.875rem;font-weight:700}.tag{border:1px solid var(--line);border-radius:4px;padding:.35rem .55rem}nav{display:flex;gap:.4rem 1rem;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-top:.25rem}nav a{padding:.5rem 0}a{color:#075777;text-underline-offset:.2em}h1{font-size:clamp(2rem,4.7vw,3.2rem);line-height:1.13;letter-spacing:-.025em;margin:.4rem 0 1rem;max-width:24ch}h2{font-size:1.35rem;line-height:1.3;margin-top:0}p{max-width:75ch}.lead{font-size:1.2rem;max-width:65ch}.eyebrow{color:#275274;letter-spacing:.045em;text-transform:uppercase}.grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin:1.5rem 0}.panel{background:white;border:1px solid var(--line);border-radius:8px;padding:1.5rem;margin:1.2rem 0}.grid .panel{margin:0;min-width:0}.accent{background:#eaf5f5;border-color:#8ab8bb}.actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin:1.3rem 0}button,.button{display:inline-block;min-height:48px;padding:.75rem 1rem;border:2px solid var(--ink);border-radius:5px;background:var(--ink);color:white;font:inherit;font-weight:650;line-height:1.3;cursor:pointer;text-decoration:none;text-align:center}button:disabled{cursor:default;background:#e5ecf3;color:#455b70;border-color:#95a8b8}.secondary{background:white;color:var(--ink)}input{font:inherit;border:2px solid #687e92;border-radius:5px;padding:.7rem;min-width:0;max-width:100%}label{display:block;margin-bottom:.45rem;font-weight:650}.inline{display:flex;gap:.5rem}.inline input{width:10rem}form{margin-top:1.5rem}.note{border-left:4px solid #a85c19;padding:.75rem 1rem;background:#fff3df}.small{font-size:.875rem}img{max-width:100%;height:auto}li{margin:.55rem 0}details{margin:1rem 0}summary{cursor:pointer;font-weight:650;padding:.5rem 0}hr{border:0;border-top:1px solid var(--line);margin:1.5rem 0}.questions{font-size:1.15rem}.questions li{margin:1.3rem 0}footer{border-top:1px solid var(--line);margin-top:2rem;display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;font-size:.875rem}footer p{flex-basis:100%;margin-top:0}.skip{position:absolute;top:-100px;left:10px;background:white;padding:1rem;z-index:10}.skip:focus{top:5px}:focus-visible{outline:3px solid #b14d0d;outline-offset:4px}[hidden]{display:none!important}.writing-space{height:8rem;border:1px dashed #63798e;margin-top:1rem}.short{height:4rem}.qr-slot{font-size:.875rem;border:1px dashed #63798e;padding:.65rem}.paper-model{max-width:400px}
@media(max-width:700px){header{align-items:flex-start;flex-direction:column;gap:.4rem}.grid{grid-template-columns:1fr}header,nav,main,footer{padding-left:1rem;padding-right:1rem}.panel{padding:1.15rem}.inline{flex-wrap:wrap}.actions .button{width:100%}}
@media print{body{background:white;font-size:11pt;color:#000}header,nav,footer,.skip,.no-print{display:none}main{max-width:none;padding:0}h1{font-size:23pt}.panel{break-inside:avoid;padding:.6rem;border-color:#555;margin:.6rem 0}.print-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.paper-model{max-width:270px}.writing-space{height:5rem}.short{height:2.8rem}a{color:#000}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


.scene-host{position:relative;width:100%;height:480px;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#e6f0f7}.scene-host a-scene{height:100%;width:100%}.check-row{display:flex;align-items:flex-start;gap:.8rem;margin:1rem 0;font-weight:500}.check-row input{width:1.25rem;height:1.25rem;flex:none;margin-top:.2rem}@media(max-width:600px){.scene-host{height:360px}}
.station-safety{padding-bottom:1.1rem;border-bottom:1px solid var(--line)}.station-safety button{min-width:8rem;min-height:60px;font-size:1.1rem}.exit-control:not(:disabled){background:#752736;border-color:#752736}#screen-diagram{scroll-margin-top:1rem}#help-content h3{margin-top:0;font-size:1.1rem}@media(max-width:600px){.station-safety button{flex:1}.station-safety a{flex-basis:100%}}
.fixed-preview{margin:1rem 0;background:#e6f0f7;border:1px solid var(--line);border-radius:6px;overflow:hidden}.fixed-preview svg{display:block;width:100%;max-height:340px}.fixed-preview figcaption{padding:.7rem 1rem;border-top:1px solid var(--line);font-size:.875rem}#retry-preview{margin:0 .8rem 1rem 0}
.station-supervision{border-left:4px solid var(--accent);padding:.65rem 1rem;background:#eaf5f5}

.pilot-entry{background:#eaf5f5;border:1px solid #8ab8bb;border-radius:6px;padding:1rem;margin:1rem 0}.pilot-entry code{overflow-wrap:anywhere}#enter-vr{min-width:12rem;min-height:60px;font-size:1.2rem}

.station-controls{gap:.65rem;margin-top:0}.station-controls button{min-height:56px}.readiness{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;gap:.7rem}.readiness li{margin:0;padding:.75rem;background:white;border:1px solid var(--line);border-radius:5px}.readiness strong,.readiness span{display:block}.readiness span{font-size:.875rem;margin-top:.4rem}#enter-hint{font-weight:650}.pilot-entry details{border-top:1px solid var(--line);padding-top:.5rem}.pilot-entry .actions{margin-bottom:.5rem}code,pre{overflow-wrap:anywhere}pre{white-space:pre-wrap;background:#e6eef5;padding:1rem;border-radius:5px}.milestone{border-left:4px solid var(--accent);padding:.6rem 1rem;background:#eaf5f5}@media(max-width:700px){.readiness{grid-template-columns:1fr}.station-controls button{flex:1;min-width:0!important}.station-controls #enter-vr{flex-basis:100%}}

#setup-recovery select,#recovery-note{font:inherit;width:100%;max-width:100%;padding:.7rem;border:2px solid #687e92;border-radius:5px}#setup-recovery select{margin-bottom:1rem}#recovery-note{font-size:.875rem;white-space:pre-wrap}#recovery-result{margin-top:1rem}#recovery-result h3{margin-top:0}#setup-recovery{scroll-margin-top:1rem;overflow-wrap:anywhere}
#connection-route{display:block;font:inherit;width:100%;min-width:0;max-width:100%;padding:.7rem;margin:.5rem 0 1rem;border:2px solid #687e92;border-radius:5px}#connection-check{overflow-wrap:anywhere}

#switch-direction,#switch-url{display:block;font:inherit;width:100%;min-width:0;max-width:100%;padding:.7rem;margin:.5rem 0 1rem;border:2px solid #687e92;border-radius:5px}#switch-routes{overflow-wrap:anywhere;scroll-margin-top:1rem}
