:root{color-scheme:dark;--bg:#07191d;--panel:#0d252a;--line:#254249;--line2:#294d52;--cream:#eaf3e8;--muted:#8fa8a9;--soft:#b9cdca;--aqua:#72dfce;--water:#4ecabc;--copper:#efb78d;--danger:#ef947b;--radius:13px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#07191d;color:var(--cream)}body{background:radial-gradient(ellipse at 45% -250px,#224248 0,transparent 65%),#07191d}button,input,select{font:inherit}button{cursor:pointer;transition:.18s ease}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,.scene-host:focus-visible{outline:2px solid var(--aqua);outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}.app{max-width:1940px;margin:auto;padding:0 25px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #254148;gap:24px}.brand{display:flex;align-items:center;gap:13px;min-width:250px}.brandmark{height:40px;width:40px;border-radius:11px;background:#b9e7d6;display:flex;flex-direction:column;justify-content:center;gap:4px;transform:rotate(-6deg);padding:10px}.brandmark span{display:block;height:3px;border-radius:4px;background:#13443e;transform:skewY(-12deg)}.brandmark span:nth-child(2){margin-left:5px}.brandmark span:nth-child(3){margin-left:10px}.brand strong{display:block;letter-spacing:.14em;font-size:17px;line-height:1.25}.brand small{font-size:8px;font-weight:700;letter-spacing:.205em;color:var(--muted)}.navcentre,.top-actions{display:flex;align-items:center;gap:14px}.navcentre{font-size:9px;letter-spacing:.17em;color:#c1d3d2;font-weight:800}.live-dot{height:6px;width:6px;border-radius:50%;background:#72dfce;display:inline-block;box-shadow:0 0 10px #72dfce77;flex-shrink:0}.separator{color:#607b80}.top-actions{justify-content:end}.iconbtn{height:34px;width:34px;border:1px solid #3a595d;border-radius:50%;background:transparent;color:#e0e8dc;font-weight:900}.top-link{background:#d6eadb;color:#14312d;border:0;border-radius:7px;padding:12px 15px;font-size:11px;font-weight:800;letter-spacing:.015em}.top-link:hover,.action-accent:hover{background:#e5fff4;transform:translateY(-1px)}.downloadglyph{font-size:18px;line-height:0;vertical-align:-1px;margin-right:5px}.headline{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:35px 3px 30px}.eyebrow{font-size:10px;letter-spacing:.18em;font-weight:800;color:#a4e0ce;display:flex;align-items:center;gap:10px}.eyebrow-line{display:inline-block;width:22px;height:1px;background:#a4e0ce}.headline h1{font-size:clamp(30px,3vw,49px);letter-spacing:-.055em;line-height:1.09;font-weight:630;margin:13px 0}.headline h1 em{font-style:normal;color:#91e2d0}.headline p{font-size:13px;color:var(--soft);margin:0}.coordinate{text-align:right;display:flex;flex-direction:column;gap:5px;padding:0 0 4px}.coordinate span{font:11px ui-monospace,monospace;color:#8cd1c4;letter-spacing:.08em}.coordinate strong{font-size:10px;letter-spacing:.15em}.coordinate small{font-size:10px;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(270px,300px) minmax(430px,1fr) minmax(275px,316px);gap:12px;align-items:stretch}.panel,.stage-panel{border:1px solid #29474a;border-radius:14px;background:linear-gradient(155deg,#102a2e,#092025 85%);min-width:0}.panel{padding:24px 21px}.panel-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.145em;color:#99c6bb;font-weight:800}.small-dot{width:5px;height:5px;background:#617d7b;border-radius:50%}.panel h2{font-size:23px;letter-spacing:-.045em;line-height:1.1;font-weight:640;margin:20px 0 10px}.muted{color:#a6baba}.copy{font-size:12px;line-height:1.7;margin:0 0 24px}.field-label{font-size:10px;letter-spacing:.11em;font-weight:850;color:#cce1db;margin:0 0 12px}.field-label.no-margin{margin:0}.segmented{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #36565b;border-radius:9px;background:#091b20}.segmented button{border:0;color:#8caaac;background:transparent;flex:1;padding:10px 0;font-size:11px;font-weight:750;border-radius:6px}.segmented button[aria-pressed="true"]{background:#bce8d8;color:#153b35;box-shadow:0 3px 12px #020f1150}.scenario-note{font-size:11px;color:#82aaad;line-height:1.6;min-height:49px;margin:13px 0 0}.section-divider{height:1px;background:#29464a;margin:22px 0}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.micro{font-size:10.5px;line-height:1.55;color:#87a4a5;margin:4px 0 0}.link-button{background:transparent;border:0;color:#9fe7d5;font-size:11px;font-weight:800;padding:0;white-space:nowrap}.link-button:hover{text-decoration:underline}.slider-block{margin:14px 0 20px}.slider-title,.slider-range{display:flex;justify-content:space-between;align-items:center}.slider-title{font-size:12px;font-weight:650;margin-bottom:12px}.slider-title output{color:#9fe3d1;font:12px ui-monospace,monospace}.slider-range{font-size:9px;color:#728e90;margin-top:6px}input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:4px;border-radius:20px;outline:none;background:#3c6464;accent-color:var(--aqua)}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border:3px solid #d7f9e7;background:#32665f;border-radius:50%;box-shadow:0 0 0 2px #39746d;cursor:pointer}input[type=range]::-moz-range-thumb{width:9px;height:9px;border:3px solid #d7f9e7;background:#32665f;border-radius:50%;cursor:pointer}.pill{display:inline-block;color:#9fe7d4;border:1px solid #366d6b;background:#102f32;padding:5px 8px;border-radius:6px;font:11px ui-monospace,monospace}.instruction{margin:-3px 0 12px}.sensor-list{display:flex;flex-direction:column;gap:7px;min-height:52px}.empty-sensors{border:1px dashed #426366;border-radius:6px;padding:15px 7px;text-align:center;color:#779b9e;font-size:11px}.sensor-row{display:flex;gap:9px;align-items:center;padding:8px 9px;border:1px solid #34595b;background:#0b2429;border-radius:7px}.sensor-index{background:#c4ede2;color:#15362f;border-radius:50%;width:23px;height:23px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;flex-shrink:0}.sensor-row-text{min-width:0;flex:1}.sensor-row-text strong,.sensor-row-text small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sensor-row-text strong{font-size:11px}.sensor-row-text small{font-size:9px;color:#93aba9;margin-top:3px}.sensor-remove{border:0;background:transparent;color:#e5aa95;font-size:18px;padding:3px}.button-pair{display:flex;gap:8px;margin-top:14px}.action{padding:11px 10px;border-radius:7px;font-weight:800;font-size:10.5px;flex:1}.ghost{border:1px solid #3a5c5d;color:#ccdcd5;background:#142e32}.ghost:hover{border-color:#93d6c8}.action-accent{border:1px solid #c7ecdb;background:#b9eadb;color:#173b36}.footer-tip{display:flex;align-items:flex-start;gap:12px;border:1px solid #3a625d;background:#143332;border-radius:8px;padding:13px;margin-top:25px}.tip-glyph{color:#c0edaa;font-size:20px}.footer-tip p{font-size:11px;line-height:1.55;color:#a8c6bd;margin:0}.footer-tip strong{display:block;color:#e5eadb;margin-bottom:4px}.stage-panel{overflow:hidden;background:#0a2127}.stage-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:15px 20px;gap:8px}.stage-kicker{font-size:9px;color:#97d7c8;letter-spacing:.13em;font-weight:850}.stage-header h2{margin:5px 0 0;font-size:19px;letter-spacing:-.03em}.renderer-pill{display:flex;align-items:center;gap:8px;border:1px solid #345a5e;background:#15343a;border-radius:15px;padding:8px 10px;color:#b9dad0;font-size:10px;white-space:nowrap}.scene-host{position:relative;min-height:530px;height:clamp(530px,54vw,680px);overflow:hidden;cursor:grab;touch-action:none;background:radial-gradient(ellipse at 50% 50%,#244444 0%,#0a272c 67%,#081b20 100%)}.scene-host.dragging{cursor:grabbing}.scene-host>canvas{display:block;width:100%;height:100%}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(5,19,22,.45),transparent 21%,transparent 73%,rgba(5,19,22,.7));z-index:2}.world-top{position:absolute;left:18px;right:18px;top:18px;display:flex;justify-content:space-between;z-index:3;pointer-events:none;gap:12px}.scene-chip{background:#061d22a8;border:1px solid #6caca46a;backdrop-filter:blur(9px);border-radius:8px;padding:9px 12px;min-width:132px}.scene-chip .chip-title{display:block;color:#96c2bf;letter-spacing:.12em;font-size:8px;font-weight:850;margin-bottom:6px}.scene-chip strong{font-size:15px;letter-spacing:.03em;font-weight:800}.scene-chip strong span{font-size:10px;color:#9fc6c1}.align-right{text-align:right}.northpoint{position:absolute;top:96px;right:23px;z-index:3;display:flex;flex-direction:column;align-items:center;color:#a9e2d3;gap:4px;font-size:10px;font-weight:800;pointer-events:none}.north-arrow{font-size:26px}.scene-bottom{position:absolute;bottom:16px;left:16px;right:16px;display:flex;align-items:end;justify-content:space-between;gap:10px;z-index:3;pointer-events:none}.scene-hint{font-size:10px;max-width:42%;line-height:1.65;color:#d1e4d8;text-shadow:0 1px 10px #021112}.camera-controls{border:1px solid #3c6767;background:#0b262bdc;border-radius:8px;display:flex;padding:4px;gap:3px;pointer-events:auto;backdrop-filter:blur(8px)}.camera-controls button{border:0;background:transparent;color:#aac5c3;font-size:10px;padding:10px 9px;border-radius:5px;white-space:nowrap;font-weight:750}.camera-controls button[aria-pressed="true"]{background:#cbe9da;color:#1b413d}.site-tooltip{position:absolute;top:100px;left:22px;z-index:5;max-width:250px;border:1px solid #79bcb0;background:#0a282cdd;backdrop-filter:blur(14px);border-radius:10px;padding:12px 15px;pointer-events:none;box-shadow:0 12px 30px #00181a66}.site-tooltip strong{display:block;font-size:13px}.site-tooltip small{color:#8acec1;font-size:10px;display:block;margin-top:4px}.site-tooltip p{color:#d4e2d8;font-size:11px;line-height:1.6;margin:7px 0 0}.hidden{display:none!important}.loading-cover{position:absolute;inset:0;z-index:6;background:radial-gradient(circle at center,#244246,#0a2127 72%);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center}.loading-cover strong{font-size:14px}.loading-cover small{color:#9cbdb9;font-size:11px}.loading-orbit{width:38px;height:38px;border:3px solid #254c4d;border-top-color:#a3e5d1;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:13px}@keyframes spin{to{transform:rotate(360deg)}}.transport{padding:17px 19px 22px;background:#0c242a;border-top:1px solid #2a5155}.transport-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.transport-title{display:flex;gap:10px;align-items:center}.transport-icon{height:34px;width:34px;display:flex;align-items:center;justify-content:center;background:#183f43;border:1px solid #3f6565;border-radius:8px;color:#9be7d5;font-size:23px}.transport-title strong,.transport-title small{display:block}.transport-title strong{font-size:12px}.transport-title small{color:#91b4b2;font-size:10px;margin-top:4px}.transport-right{display:flex;align-items:center;gap:8px}.subtle-btn{border:1px solid #3a595c;background:#132f35;color:#c8dad7;padding:9px;border-radius:6px;font-size:11px}.subtle-btn:hover{border-color:#78c7bb}.speed-label{font-size:8px;letter-spacing:.1em;color:#88b1ae;font-weight:800}#speedSelect{border:1px solid #3c6161;background:#102f35;color:#ecf8ef;font-size:11px;padding:8px 4px;border-radius:5px}.play-button{border:0;border-radius:6px;background:#b6e9d9;color:#173c36;padding:10px 12px;font-size:11px;font-weight:850;min-width:84px}.play-button:hover{background:#e3fff5}.time-seek{margin:25px 0 11px;height:5px!important;background:linear-gradient(to right,#a8e9d8 0%,#46766d 0%,#31575a 0%)!important}.time-seek::-webkit-slider-thumb{height:15px!important;width:15px!important;background:#e4fcf3!important}.time-labels{display:flex;justify-content:space-between;color:#86aaab;font:9px ui-monospace,monospace;letter-spacing:.06em}.right-panel h2{margin-bottom:22px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.metric{border:1px solid #305152;background:#132e32;border-radius:8px;padding:14px 11px;min-width:0}.metric>span{font-size:8px;color:#9ac7bd;letter-spacing:.095em;font-weight:850}.metric-value{display:flex;align-items:baseline;gap:4px;margin:9px 0 3px}.metric-value strong{font-size:29px;line-height:1;font-weight:680;letter-spacing:-.055em;color:#f4f5e9}.metric-value em{font-size:10px;font-style:normal;color:#9edbcf;white-space:nowrap}.metric small{color:#7d9a9d;font-size:9px;line-height:1.35;display:block}.chart-header{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.chart-key{display:flex;align-items:center;gap:9px;color:#8ea9a9;font-size:9px}.chart-key span{white-space:nowrap;display:flex;align-items:center;gap:3px}.chart-key i{height:6px;width:6px;border-radius:50%;display:inline-block}.key-coral{background:#eeb290}.key-cyan{background:#6bddca}.telemetry-chart{width:100%;height:148px;margin:17px 0 2px;display:block;background:linear-gradient(#153238aa,#0b272c99);border-bottom:1px solid #365a5b;border-radius:3px}.chart-axis{display:flex;justify-content:space-between;color:#759b9d;font:9px ui-monospace,monospace}.challenge-box{border:1px solid #3e6965;background:linear-gradient(140deg,#1b3d3c,#102d32);border-radius:9px;padding:15px 12px}.challenge-header{display:flex;align-items:center;gap:9px}.challenge-icon{height:34px;width:34px;display:flex;align-items:center;justify-content:center;border:1px solid #619789;border-radius:8px;color:#b6e6d2;font-size:25px}.challenge-header>div:nth-child(2){flex:1}.challenge-header strong,.challenge-header span{display:block}.challenge-header strong{font-size:9px;letter-spacing:.095em}.challenge-header div span{font-size:10px;color:#a8c1bb;margin-top:4px}.challenge-count{font:16px ui-monospace,monospace!important;color:#b7ecdb!important}.challenge-box p{color:#b0c6bc;font-size:11px;line-height:1.65;margin:12px 0 15px}.progress-track{height:5px;background:#345755;border-radius:10px;overflow:hidden}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,#78cdb8,#c7e8a5);transition:width .25s}.zone-status{display:flex;justify-content:space-between;gap:5px;color:#9fc6b8;font-size:9px;margin-top:11px}.event-log{max-height:203px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#375e5f transparent;display:flex;flex-direction:column;gap:8px}.event-item{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.55;color:#b5c9c2}.event-item time{font:9px ui-monospace,monospace;color:#70cbb9;flex-shrink:0;margin-top:1px}.source-note{background:#0b2227;border-left:2px solid #81bcb0;margin-top:24px;padding:4px 0 4px 12px}.source-note strong{font-size:11px}.source-note p{font-size:10px;line-height:1.55;color:#8ea6a5}.source-note button{margin-top:3px}.page-footer{display:flex;justify-content:space-between;gap:15px;padding:22px 2px 32px;color:#668d8e;font-size:10px;letter-spacing:.015em}.footer-status{display:inline-block;width:5px;height:5px;background:#84cabc;border-radius:50%;margin-right:7px}.dialog{background:#102b30;color:#e5efe9;border:1px solid #5d9288;border-radius:15px;padding:0;max-width:min(92vw,670px);box-shadow:0 20px 80px #020e10b3}.dialog::backdrop{background:#010b0dd0;backdrop-filter:blur(6px)}.dialog form{padding:28px 32px 30px}.dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog h2{font-size:30px;letter-spacing:-.04em;margin:9px 0 15px}.dialog p{font-size:13px;line-height:1.8;color:#b8d0c9}.dialog p strong{color:#eaf1e8}.dialog-close{font-size:27px;background:transparent;border:0;color:#dcf2e8}.dialog-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.dialog-links a{font-size:11px;color:#9de8d2;text-decoration:underline}.close-guide{margin-top:22px;width:100%;font-size:12px;padding:14px}
@media(min-width:1600px){.workspace{grid-template-columns:320px minmax(500px,1fr) 340px;gap:15px}.scene-host{height:680px}.panel{padding:27px 24px}}
@media(max-width:1280px){.app{padding:0 15px}.workspace{grid-template-columns:270px minmax(380px,1fr) 275px;gap:8px}.panel{padding:19px 15px}.transport-right{gap:5px}.subtle-btn{padding:8px 6px}.transport{padding:15px}.scene-hint{display:none}}
@media(max-width:1050px){.workspace{grid-template-columns:minmax(250px,.88fr) minmax(410px,1.55fr)}.right-panel{grid-column:1/-1;display:block}.metric-grid{grid-template-columns:repeat(4,1fr)}.right-panel>.section-divider{margin:18px 0}.event-log{max-height:130px}.scene-host{height:560px}.coordinate{display:none}.navcentre{display:none}}
@media(max-width:720px){.app{padding:0 10px}.topbar{height:66px;gap:8px}.brand{min-width:0;gap:10px}.brand strong{font-size:14px}.brand small{font-size:7px}.brandmark{height:34px;width:34px;padding:8px}.top-link{font-size:0;padding:8px 10px}.downloadglyph{font-size:19px;margin:0}.headline{padding:28px 4px 24px}.headline h1{font-size:34px}.headline p{font-size:12px;line-height:1.6}.workspace{display:flex;flex-direction:column;gap:10px}.stage-panel{order:1}.left-panel{order:2}.right-panel{order:3}.scene-host{height:clamp(440px,115vw,610px);min-height:420px}.stage-header{height:65px;padding:14px}.stage-header h2{font-size:16px}.renderer-pill{font-size:9px;padding:7px}.scene-bottom{left:8px;right:8px;bottom:9px}.camera-controls{width:100%;justify-content:space-between}.camera-controls button{font-size:10px;padding:11px 7px}.world-top{left:9px;right:9px;top:11px}.scene-chip{min-width:0;padding:7px 9px}.scene-chip strong{font-size:12px}.scene-chip strong span{font-size:8px}.scene-chip .chip-title{font-size:7px}.northpoint{right:15px;top:80px}.transport{padding:13px 11px 18px}.transport-top{flex-wrap:wrap}.transport-right{justify-content:space-between;width:100%;margin-top:12px}.transport-title{width:100%}.transport-title small{font-size:9px}.subtle-btn{font-size:10px;padding:10px 8px}.right-panel .metric-grid{grid-template-columns:repeat(2,1fr)}.panel{padding:23px 17px}.page-footer{flex-direction:column;font-size:9px}.dialog form{padding:23px 18px}.dialog h2{font-size:24px}}
@media(max-width:390px){.headline h1{font-size:28px}.brand small{display:none}.renderer-pill{max-width:150px;overflow:hidden}.camera-controls button{font-size:9px;padding:9px 5px}.play-button{min-width:62px}.speed-label{display:none}.subtle-btn{padding:9px 4px}.scene-host{height:425px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
