
:root{--bg:#0c1b25;--panel:#10232d;--panel2:#132b35;--border:#29424b;--border-soft:#233942;--text:#f2e8d9;--muted:#8298a0;--sand:#e4a16f;--sand-light:#ffcb8b;--mint:#91e3d3;--mint-dim:#2d817e;--red:#eb816d}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Manrope,'DM Sans','Segoe UI',system-ui,Arial,sans-serif}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}.app{min-height:100vh;display:flex;flex-direction:column;max-width:2400px;margin:auto}.topbar{height:84px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#10232c;gap:22px}.identity{display:flex;align-items:center;gap:14px;white-space:nowrap}.brandmark{width:48px;height:48px;display:grid;place-items:center;background:#203d43;border:1px solid #39635f;color:var(--mint);border-radius:12px}.brandmark svg{width:35px;height:35px}.micro-label,.section-kicker{letter-spacing:2px;font-weight:800;font-size:10px;color:var(--mint)}.micro-label .muted{color:#587378}.brand-title{font-weight:800;font-size:24px;line-height:1.28;letter-spacing:1.8px}.brand-title span{color:var(--sand)}.header-center{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#a9bab7;display:flex;align-items:center;gap:13px;white-space:nowrap}.pulse-dot,.live-light{width:7px;height:7px;background:#9ce9c3;border-radius:50%;box-shadow:0 0 0 4px #91e3d321}.header-divider{width:4px;height:4px;border-radius:100%;background:#5a7c81}.header-actions{display:flex;gap:9px}.icon-button,.ghost-button{color:#dce8e4;background:#18303b;border:1px solid #35505a;border-radius:8px;height:37px}.icon-button{width:38px;font-size:18px}.ghost-button{display:flex;align-items:center;gap:8px;padding:0 14px;font-size:11px;font-weight:800;letter-spacing:.3px}.tiny-icon{width:15px;height:15px}.workspace{flex:1;display:grid;grid-template-columns:306px minmax(520px,1fr) 292px;min-height:900px}.control-panel,.insight-panel{background:#10252e;min-width:0}.control-panel{border-right:1px solid var(--border)}.insight-panel{border-left:1px solid var(--border)}.panel-inner{padding:31px 24px 32px}.section-kicker span{color:var(--sand)}h1,h2,h3,p{margin-top:0}h1{font-weight:800;line-height:1.13;font-size:32px;letter-spacing:-1.3px;margin:16px 0 12px}h1 em,.insight-inner h2 em{font-style:normal;color:var(--sand)}.subtitle{font-size:11px;line-height:1.9;color:#9cb0b4;margin:0}.divider,.insight-divider{height:1px;background:var(--border);margin:22px 0}.divider.tight{margin:20px 0}.control-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;letter-spacing:1.3px;color:#deebeb;font-weight:800;margin-bottom:13px}.info-pin{border:1px solid #4c6d71;border-radius:50%;width:15px;height:15px;font-size:10px;display:grid;place-items:center;color:var(--mint)}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.preset{border:1px solid #33505a;border-radius:9px;background:#162e38;color:#a6bec0;min-height:91px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:6px 1px}.preset.active{background:#25413e;border-color:#7bd6bd;color:#e4f9e9;box-shadow:inset 0 0 0 1px #579d8f50}.preset-glyph{font-size:20px;color:var(--mint);line-height:24px}.preset strong{font-size:10px}.preset small{font-size:9px;color:#90acae}.select-label{display:block;margin:24px 0 9px;font-size:9px;letter-spacing:1.3px;color:#b4c8c7;font-weight:800}.select-wrap select,.layer-group select,.transport-speed select{width:100%;border:1px solid #36505a;background:#1c3540;color:#e5eeea;padding:11px 9px;border-radius:7px;appearance:auto;font-size:11px;outline:none}.control-hint{font-size:9px;color:#759398;letter-spacing:0;font-weight:500}.range-group{margin:0 0 18px}.range-label{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:11px;color:#dce5e0;margin-bottom:8px}.range-label label{font-weight:700}.range-label output{font-weight:800;color:var(--sand-light);font-size:11px;font-variant-numeric:tabular-nums}.hint-term{color:var(--muted);font-size:9px}input[type=range]{appearance:none;width:100%;height:4px;display:block;background:linear-gradient(90deg,var(--mint) var(--fill,50%),#36535b var(--fill,50%));border-radius:3px;margin:13px 0 8px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:14px;height:14px;background:#cfefdd;border:3px solid #346f69;border-radius:50%;box-shadow:0 0 0 2px #86d3c733}input[type=range]::-moz-range-thumb{width:11px;height:11px;background:#cfefdd;border:3px solid #346f69;border-radius:50%}.range-ends{display:flex;justify-content:space-between;color:#6e8b93;font-size:9px}.challenge-card{background:linear-gradient(135deg,#173e3d,#17313a);border:1px solid #44736a;border-radius:11px;padding:16px 15px}.challenge-heading{display:flex;align-items:center;gap:7px;color:var(--mint);font-size:9px;letter-spacing:1.1px;font-weight:800;white-space:nowrap}.sparkle{font-size:19px;line-height:10px}.challenge-pip{margin-left:auto;background:#29564f;border-radius:3px;padding:5px 5px;font-size:7px;letter-spacing:.5px}.challenge-card>strong{display:block;font-size:14px;margin:14px 0 5px}.challenge-card p{font-size:10px;line-height:1.8;color:#b2c9c1;margin-bottom:16px}.challenge-bars>div:not(.progress-track){display:flex;justify-content:space-between;font-size:9px;margin:10px 0 6px;color:#a9c4c2}.challenge-bars b{color:#e8e7cd}.progress-track{height:4px;background:#274a4c;overflow:hidden;border-radius:5px}.progress-track>div{height:100%;width:0;background:var(--mint);transition:width .2s}.reference-note{display:flex;gap:9px;color:#8da5aa;font-size:10px;line-height:1.6;margin-top:18px}.amber-dot{display:inline-block;background:var(--sand);min-width:6px;width:6px;height:6px;border-radius:50%;margin-top:5px}.main-area{min-width:0;background:#0c1d27;display:flex;flex-direction:column}.top-stats{display:grid;grid-template-columns:repeat(4,1fr);min-height:93px;border-bottom:1px solid var(--border);background:#11252e}.metric{padding:19px 19px 14px;border-right:1px solid var(--border-soft)}.metric:last-child{border-right:0}.metric small{display:block;color:#7f9ba3;font-size:9px;letter-spacing:1.5px;font-weight:800;margin-bottom:6px}.metric strong{font-size:25px;font-weight:800;letter-spacing:-.7px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric strong span{font-size:12px;color:var(--sand);font-weight:700}.viewport-wrap{margin:17px 18px 0;border:1px solid #2d4d55;background:#132a35;box-shadow:0 20px 36px #050d1545;min-width:0}.viewport-scene{height:clamp(390px,43.5vw,560px);max-height:calc(100vh - 330px);min-height:390px;position:relative;overflow:hidden;touch-action:none;cursor:grab;background:linear-gradient(#263f50 0%,#475964 48%,#c38e71 83%,#8b513b 100%)}.viewport-scene:active{cursor:grabbing}.viewport-scene canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:block}.viewport-scene canvas[hidden]{display:none!important}.sky-layer{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 75% 18%,#d9997750 0%,transparent 34%),linear-gradient(180deg,#234151 0%,#66818a 45%,#c49577 85%,#9f5d43 100%)}.sun-disk{position:absolute;width:120px;height:120px;background:radial-gradient(circle,#ffdba488 0%,#ffca9450 25%,transparent 70%);top:17%;right:19%;border-radius:50%;z-index:1;pointer-events:none}.scene-top-left,.scene-bottom-left,.scene-bottom-right,.compass{position:absolute;z-index:3;pointer-events:none}.scene-top-left{top:20px;left:22px}.scene-live{font-size:10px;font-weight:800;letter-spacing:1.3px;color:#effbef;display:flex;align-items:center;gap:10px;text-shadow:0 1px 6px #132b3bbb}.scene-coordinate{font-size:9px;letter-spacing:1px;color:#c9d8d7;margin-top:9px;text-shadow:0 2px 7px #163241}.scene-coordinate span{color:var(--sand-light)}.compass{right:25px;top:22px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:9px;color:#f4ece2;letter-spacing:1px;text-shadow:0 2px 5px #16303c}.compass-circle{width:75px;height:75px;border-radius:50%;background:#12303a9f;border:1px solid #daeee290;position:relative;display:grid;place-items:center}.north-mark{position:absolute;top:3px;left:50%;transform:translateX(-50%);font-size:10px;font-weight:800}.compass-arrow{color:#ffcf94;font-size:31px;display:block;transform:rotate(-90deg);transform-origin:center;line-height:1}.compass b{color:#ffe2b2}.scene-bottom-left{bottom:19px;left:21px;display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1px;font-weight:800;color:#e9f4e8;text-shadow:0 2px 5px #132e37}.little-square{width:7px;height:7px;background:var(--mint)}.little-divider{color:#e4ad7d}.scene-bottom-right{bottom:20px;right:20px;color:#ebded0;font-size:9px;font-weight:800;letter-spacing:.8px;text-shadow:0 2px 5px #132e37}.scene-bottom-right span{color:#ffce9e}.scene-failure{position:absolute!important;z-index:4!important;inset:18% 18%;padding:26px;display:grid;place-items:center;color:white;text-align:center;background:#1b3445ee;border:1px solid #ee947b}.scene-failure[hidden]{display:none!important}.viewport-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 14px;background:#182d37;min-height:56px}.camera-group,.layer-group{display:flex;align-items:center;gap:6px}.tiny-title{font-size:9px;font-weight:800;letter-spacing:1.2px;color:#8eaaad;margin-right:5px;white-space:nowrap}.camera-button{padding:8px 11px;font-size:10px;background:transparent;color:#b1c2c2;border:1px solid #38505a;border-radius:5px}.camera-button.active{background:#31564f;border-color:#71b59c;color:#e6fff2}.layer-group select{width:auto;min-width:160px;padding:8px 8px}.transport-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:13px 18px 0;padding:13px 17px;background:#122834;border:1px solid var(--border)}.transport-left{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.play-btn{width:42px;height:42px;border:0;color:#122d30;background:var(--mint);border-radius:7px;font-size:18px}.action-btn{background:#1b3440;border:1px solid #3b5660;border-radius:6px;color:#e3eeed;font-size:10px;font-weight:800;padding:12px 10px}.reset-action{color:var(--sand-light)}.transport-speed{display:flex;align-items:center;gap:7px;margin-left:6px}.transport-speed label{font-size:9px;font-weight:800;color:#90a7aa}.transport-speed select{padding:10px 5px;width:65px}.timeline{min-width:140px;max-width:260px;flex:1}.timeline>div:first-child{display:flex;justify-content:space-between;color:var(--mint);font-size:9px;letter-spacing:1px;font-weight:800;margin-bottom:9px}.timeline>div:first-child strong{color:#e4f1e6}.timeline-track{background:#344b51;height:4px;border-radius:6px;overflow:hidden}.timeline-track div{background:var(--sand);width:0;height:100%;transition:width .2s}.analysis-row{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin:14px 18px 16px}.analysis-card{border:1px solid var(--border);background:#142a34;padding:17px 18px 8px;min-width:0;overflow:hidden}.analysis-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.analysis-card h2{font-size:15px;margin:7px 0 5px}.analysis-card h2 span{font-size:10px;color:#9caeb1;font-weight:500}.chart-legend{display:flex;align-items:center;gap:10px;color:#a9c4c1;font-size:9px;white-space:nowrap}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{height:2px;width:13px;display:block}.legend-a{background:#6b969d}.legend-b{background:var(--sand)}.mini-target{font-size:9px;color:#a3bdba;white-space:nowrap}.plot{width:100%;height:145px;display:block}.insight-inner{padding:31px 21px}.insight-inner h2{font-size:29px;line-height:1.16;letter-spacing:-.9px;margin:15px 0 12px}.insight-intro{font-size:11px;line-height:1.8;color:#a3b5b8;margin-bottom:18px}.instrument-card{padding:16px 15px;border:1px solid #39635c;background:linear-gradient(140deg,#1b4140,#17323b);border-radius:10px}.instrument-heading{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1px;font-weight:800;color:var(--mint)}.instrument-icon{font-size:21px;line-height:13px}.instrument-live{margin-left:auto;font-size:8px;color:#a0e0c4}.instrument-number{font-size:36px;font-weight:800;margin-top:14px;letter-spacing:-1.2px;font-variant-numeric:tabular-nums}.instrument-number small{font-size:11px;color:#a9bcb8;letter-spacing:0}.instrument-status{font-size:10px;color:#bdcfca;min-height:25px}.xy-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #355d5c;margin-top:11px;padding-top:13px;gap:8px}.xy-grid small{font-size:8px;color:#91aaab;display:block;letter-spacing:.5px}.xy-grid strong{font-size:13px;margin-top:7px;display:block;font-variant-numeric:tabular-nums}.instrument-tip{font-size:9px;color:#9bc1ba;line-height:1.6;border-top:1px solid #355d5c;padding-top:10px;margin-top:12px}.microstats{margin-top:18px}.microstats>div{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border-soft);gap:8px}.microstats span{font-size:9px;letter-spacing:.5px;color:#93a7ad;font-weight:700}.microstats strong{font-size:12px;white-space:nowrap;color:#f4e8da;font-variant-numeric:tabular-nums}.insight-divider{margin:21px 0}.fact-block{display:flex;gap:11px;margin-top:19px}.fact-index{font-size:11px;font-weight:800;color:var(--sand);padding-top:2px}.fact-block strong{font-size:12px}.fact-block p{font-size:10px;line-height:1.75;color:#9db1b7;margin:6px 0 0}.source-footer{color:#879fa3;font-size:9px;letter-spacing:.4px;line-height:2.4;margin-top:24px;padding-top:15px;border-top:1px solid var(--border-soft)}.source-footer a{color:var(--mint);text-decoration:none;float:right}.footbar{min-height:42px;border-top:1px solid var(--border);background:#0e202a;padding:10px 27px;display:flex;justify-content:space-between;gap:10px;align-items:center;color:#718b91;font-size:9px;font-weight:800;letter-spacing:1px}.footer-dot{color:var(--sand)}.footbar button{border:0;background:transparent;color:var(--mint);font-size:10px;font-weight:800}.modal-backdrop{position:fixed;inset:0;z-index:100;background:#041016dc;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal{position:relative;max-width:640px;max-height:92vh;overflow:auto;width:100%;background:#17303a;border:1px solid #578378;border-radius:14px;padding:33px;box-shadow:0 30px 100px #000b}.modal h2{font-size:27px;margin:12px 0}.modal h3{font-size:14px;color:var(--mint);margin:17px 0 6px}.modal p{font-size:12px;line-height:1.8;color:#c9d5d2}.modal-x{position:absolute;right:18px;top:12px;color:var(--text);background:none;border:0;font-size:25px}.modal-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:24px;font-size:11px;color:#8bafae}.solid-button{background:var(--mint);color:#153333;padding:11px 18px;border:0;border-radius:7px;font-size:11px;font-weight:800}
@media(max-width:1480px){.workspace{grid-template-columns:280px minmax(480px,1fr) 265px}.panel-inner{padding:26px 18px}.insight-inner{padding:26px 16px}.metric{padding:18px 10px}.metric strong{font-size:22px}.scene-bottom-right{display:none}.header-center{font-size:9px;letter-spacing:.8px}}
@media(max-width:1180px){.workspace{grid-template-columns:272px minmax(0,1fr)}.insight-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--border)}.insight-inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;padding:20px 28px}.insight-inner>.section-kicker,.insight-inner>h2,.insight-inner>.insight-intro{grid-column:1;align-self:start}.insight-inner>.instrument-card{grid-column:2;grid-row:1/5}.microstats{grid-column:3;grid-row:1/5;margin:0}.insight-divider,.insight-inner>.section-kicker:nth-of-type(2),.fact-block,.source-footer{display:none}.header-center{display:none}.viewport-scene{height:480px;max-height:none}}
@media(max-width:850px){.topbar{height:70px;padding:0 16px}.brand-title{font-size:19px}.brandmark{width:40px;height:40px}.workspace{display:flex;flex-direction:column}.main-area{order:1}.control-panel{order:2;border-right:0;border-top:1px solid var(--border)}.insight-panel{order:3}.panel-inner{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;padding:22px}.panel-inner>.section-kicker,.panel-inner>h1,.panel-inner>.subtitle{grid-column:1/-1}.panel-inner>h1{font-size:29px}.panel-inner>.divider{grid-column:1/-1}.preset-grid{grid-column:1/-1}.control-heading,.select-label,.select-wrap,.range-group{grid-column:auto}.select-label{grid-column:1/-1}.select-wrap{grid-column:1/-1}.panel-inner>.control-heading:first-of-type{grid-column:1/-1}.challenge-card,.reference-note{grid-column:1/-1}.reference-note{margin-bottom:0}.top-stats{min-height:85px}.viewport-scene{height:460px;min-height:345px}.insight-inner{display:block}.insight-inner>.instrument-card,.microstats{margin-top:20px}.insight-divider,.insight-inner>.section-kicker:nth-of-type(2),.fact-block,.source-footer{display:flex}.source-footer{display:block}.footbar{padding:12px 16px;flex-wrap:wrap}}
@media(max-width:560px){.topbar{gap:10px}.header-actions .ghost-button span{display:none}.header-actions .ghost-button{padding:0 10px}.metric{padding:13px 8px}.metric small{font-size:7px;letter-spacing:.6px}.metric strong{font-size:17px}.metric strong span{font-size:9px}.top-stats{min-height:73px}.viewport-wrap{margin:9px 8px 0}.viewport-scene{height:380px;min-height:340px}.scene-top-left{top:12px;left:12px}.scene-coordinate{font-size:7px}.scene-live{font-size:8px}.compass{right:10px;top:11px}.compass-circle{width:60px;height:60px}.scene-bottom-left{left:9px;bottom:9px;font-size:7px}.viewport-controls{gap:8px;padding:10px 9px;flex-wrap:wrap}.camera-button{font-size:9px;padding:7px}.camera-group{flex:1}.layer-group{flex:1;justify-content:flex-end}.layer-group select{min-width:130px}.transport-bar{margin:8px 8px 0;padding:10px;flex-wrap:wrap}.transport-left{gap:5px}.action-btn{font-size:9px;padding:9px 6px}.play-btn{width:36px;height:36px}.transport-speed{margin-left:0}.timeline{flex-basis:100%;max-width:none}.analysis-row{margin:9px 8px 12px;display:block}.analysis-card{margin-bottom:9px;padding:16px 13px 4px}.panel-inner{display:block;padding:22px}.panel-inner>.divider{margin:18px 0}.panel-inner>.control-heading{margin-top:12px}.range-group{margin-bottom:18px}.preset-grid{margin-bottom:10px}.footbar{font-size:8px}.modal{padding:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behaviour:auto!important;transition:none!important}}
