:root{--bg:#071920;--panel:#0e2630;--panel-light:#14323c;--edge:#244450;--edge-soft:#1a3943;--text:#eff7f2;--muted:#8fb1b7;--quiet:#678b96;--mint:#5ee4c7;--a:#61e6d0;--b:#e0b176;--c:#8fa4ff;--warn:#f2bd83;--good:#72e6b3;--red:#ff9185;--shadow:0 14px 45px rgba(0,5,10,.28)}
*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}button:disabled{opacity:.45;cursor:default}button:hover{filter:brightness(1.1)}.app{max-width:2400px;margin:auto;min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:80px;padding:13px 27px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(95deg,#0a2630,#0a2029 50%,#081b23);border-bottom:1px solid var(--edge)}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand-mark{width:44px;height:44px;border:1px solid #4fbba9;transform:rotate(45deg);display:grid;place-items:center;background:linear-gradient(140deg,#23646d,#0e2a35);box-shadow:0 0 21px #30c2a219}.brand-mark span{font-size:32px;line-height:1;color:#8afadd;transform:rotate(-45deg)}.eyebrow{font-size:9px;letter-spacing:.18em;text-transform:uppercase;font-weight:750;color:#81bcba}.brand .eyebrow{font-size:9px}.brand-separator{color:#ecbf8a;padding:0 5px}.brand h1{font-size:20px;letter-spacing:.1em;margin:3px 0 0;font-weight:850;white-space:nowrap}.brand h1 em{font-style:normal;color:#d4a774;font-weight:300}.location{letter-spacing:.12em;font-size:10px;font-weight:750;color:#d5eae8;display:flex;align-items:center;gap:10px;white-space:nowrap}.location .slash{color:#6b9c9e}.location .lat{color:#759fa6;font-size:9px;letter-spacing:.06em}.pulse-dot{width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 4px #67dfbf17}.top-actions{display:flex;gap:9px;flex-shrink:0}.small{font-size:12px;padding:11px 14px;border-radius:6px;color:#d4f8ed;font-weight:650}.ghost{border:1px solid #395563;background:#15313a}.outline{border:1px solid #4d807e;background:transparent}.summary-bar{min-height:107px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#0c222b;border-bottom:1px solid var(--edge)}.metric{padding:17px 25px 15px;position:relative}.metric+.metric{border-left:1px solid #24434b}.metric-label{display:block;color:#87a8ac;font-size:9px;letter-spacing:.15em;font-weight:750;margin-bottom:7px}.metric strong{font-size:28px;display:block;letter-spacing:-.04em;line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums}.metric strong span{font-size:18px;color:#bfdad9;font-weight:550}.metric strong small{font-size:14px;color:#94b8bb;font-weight:600}.metric-sub{font-size:10px;color:#82a0a7;display:block;margin-top:6px}.meter{height:3px;width:100%;background:#26434a;margin-top:10px;border-radius:9px}.meter i{display:block;width:0%;height:100%;background:linear-gradient(90deg,#5be5bd,#e5bf78);border-radius:9px;transition:width .25s}.metric .status-text{font-size:14px;letter-spacing:.06em;color:#7cead3;margin-top:11px}.workspace{display:grid;grid-template-columns:minmax(265px,305px) minmax(480px,1fr) minmax(270px,300px);gap:10px;padding:10px;flex:1;align-items:stretch}.panel{background:var(--panel);border:1px solid var(--edge-soft);border-radius:9px;overflow:hidden}.left-panel,.right-panel{min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 19px 17px;border-bottom:1px solid var(--edge-soft)}h2,h3,p{margin-top:0}.panel-heading h2{font-size:18px;margin:5px 0 0;letter-spacing:-.025em}.number-badge{color:#83b4b4;border:1px solid #3a555d;border-radius:4px;font-size:9px;letter-spacing:.12em;padding:5px 7px}.control-section{padding:16px 19px 6px}.control-section.secondary{border-top:1px solid var(--edge-soft);padding-top:19px}.section-title{display:flex;justify-content:space-between;color:#d8eeea;text-transform:uppercase;letter-spacing:.12em;font-weight:750;font-size:10px;margin-bottom:18px}.help-icon{border:0;background:none;color:#78aaab;font-size:15px;padding:0}.control{display:block;margin-bottom:20px}.control-row{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px;color:#d5e5e4;font-size:11px;font-weight:650}.control-row span{display:flex;align-items:center;gap:7px}.control-row output{font-variant-numeric:tabular-nums;color:#e9c994;font-weight:750;white-space:nowrap}.swatch{display:inline-block;width:7px;height:7px;border-radius:2px;flex:0 0 auto}.swatch-a{background:var(--a)}.swatch-b{background:var(--b)}.swatch-c{background:var(--c)}input[type=range]{width:100%;height:5px;margin:0;appearance:none;-webkit-appearance:none;border-radius:10px;background:#35535c;outline:0;accent-color:#6ee3c1;cursor:ew-resize}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:#6ee5c9;border:3px solid #102c32;box-shadow:0 0 0 1px #86d9c8}input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#6ee5c9;border:3px solid #102c32}.scale{display:flex;justify-content:space-between;margin-top:8px;color:#688d98;font-size:9px;letter-spacing:.06em}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 22px;cursor:pointer}.switch-row strong{display:block;font-size:11px;color:#d5e8e5}.switch-row small{display:block;color:#769aa2;margin-top:4px;font-size:10px}.switch-row input{position:absolute;opacity:0;width:1px;height:1px}.switch-indicator{width:35px;height:20px;flex:0 0 35px;border-radius:20px;background:#3e5559;position:relative;transition:.2s}.switch-indicator:before{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#c4d3d0;transition:.2s}.switch-row input:checked+.switch-indicator{background:#277f79}.switch-row input:checked+.switch-indicator:before{transform:translateX(15px);background:#a8ffdf}.preset-header,.selector-label{display:block;color:#a1c2c2;font-size:10px;letter-spacing:.06em;margin-bottom:9px;font-weight:700}.preset-group{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:20px}.preset{border:1px solid #34535b;background:#183640;color:#9fc0c1;padding:8px 2px;border-radius:4px;font-size:10px;font-weight:750}.preset.active{background:#2d6f6b;color:#e0fff1;border-color:#5cc8a8}select{width:100%;border-radius:5px;background:#183641;color:#d3eae6;border:1px solid #375965;padding:11px 9px;outline:0}.harvest-card{margin:10px 14px 16px;padding:16px;border:1px solid #5a6257;border-radius:8px;background:radial-gradient(circle at 100% 0,#5b5b3d44,transparent 60%),linear-gradient(145deg,#213d42,#1a3539)}.harvest-top{font-size:9px;letter-spacing:.12em;color:#f0c99a;font-weight:800;display:flex;justify-content:space-between;align-items:center}.badge-outline{border:1px solid #6d6a53;padding:4px 6px;color:#b6ac8b;border-radius:3px}.harvest-card>strong{display:block;font-size:22px;font-variant-numeric:tabular-nums;margin-top:12px}.harvest-card p{margin:8px 0 16px;color:#a6c4c4;font-size:11px;line-height:1.55}.harvest-button{width:100%;border:0;background:linear-gradient(110deg,#eec187,#deb07a);color:#1d332e;font-size:12px;padding:13px 12px;border-radius:5px;font-weight:850;display:flex;align-items:center;justify-content:space-between;box-shadow:0 5px 18px #e9bd7720}.fineprint{color:#668891;font-size:10px;line-height:1.55;padding:0 19px 18px}.scene-column{min-width:0;display:flex;flex-direction:column;gap:10px}.scene-wrap{height:clamp(440px,54vw,650px);min-height:440px;position:relative;border:1px solid #31545e;border-radius:9px;overflow:hidden;background:linear-gradient(180deg,#7093a3 0%,#a8cad0 44%,#d9d1ba 75%,#7d928e 100%);box-shadow:var(--shadow);touch-action:none}#scene{width:100%;height:100%;display:block;cursor:grab}#scene.dragging{cursor:grabbing}.scene-topline{pointer-events:none;position:absolute;top:16px;left:17px;right:17px;display:flex;justify-content:space-between;gap:10px;font-weight:750;font-size:9px;letter-spacing:.12em;color:#143743}.live-label{background:#092b35e8;border:1px solid #366875;color:#cef7eb;padding:9px 10px;border-radius:4px;display:inline-flex;align-items:center;gap:8px}.live-label i{width:6px;height:6px;border-radius:50%;background:#6be9c4;box-shadow:0 0 7px #86ffe8}.scene-kicker{align-self:center;background:#e3e8d5cb;padding:7px;border-radius:3px;color:#314944;text-align:right}.north-indicator{position:absolute;right:18px;top:68px;width:42px;height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e8f0e2b3;border-radius:50%;color:#eaffee;background:#0b2a39a3;font-weight:800;font-size:12px;text-shadow:0 1px 5px #093}.north-indicator span{font-size:15px;line-height:1}.scene-caption{position:absolute;bottom:77px;left:18px;max-width:350px;padding:11px 14px;background:#0b2631db;border-left:3px solid #f1c38b;border-radius:3px;color:#f1f6ed;pointer-events:none;backdrop-filter:blur(6px)}.scene-caption span{display:block;font-size:11px;letter-spacing:.1em;font-weight:850}.scene-caption small{display:block;font-size:11px;color:#b8d1ca;line-height:1.4;margin-top:5px}.camera-toolbar{display:flex;align-items:center;gap:4px;position:absolute;bottom:17px;left:16px;max-width:calc(100% - 32px);background:#0b2a33de;padding:5px;border-radius:6px;border:1px solid #4f7678;backdrop-filter:blur(7px)}.cam-btn{font-size:11px;color:#94bfbd;background:transparent;border:1px solid transparent;padding:9px 11px;border-radius:3px;font-weight:800;white-space:nowrap}.cam-btn span{font-weight:500;color:#d3e1db}.cam-btn.active{background:#d9e7cf;color:#15333b}.cam-btn.active span{color:#163940}.navigation-hint{position:absolute;bottom:15px;right:15px;display:flex;flex-direction:column;text-align:right;gap:4px;color:#e8fffa;text-shadow:0 1px 6px #051c26;font-size:8px;font-weight:800;letter-spacing:.07em;pointer-events:none}.hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#0e303de8;color:#effef8;border:1px solid #8edbcc77;padding:5px 7px;border-radius:4px;white-space:nowrap;font-size:10px;font-weight:800;box-shadow:0 2px 11px #0d25255e}.hotspot:before{content:"";width:6px;height:6px;display:inline-block;background:#82f3dc;border-radius:50%;margin-right:7px}.hotspot:hover{border-color:#fff1ca}.scene-fallback{position:absolute;left:12px;right:12px;top:55px;padding:15px;background:#441e22;color:#fff3e8;border:1px solid #ffaf98;border-radius:5px}.transport{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 15px;background:#102c35;border:1px solid var(--edge);border-radius:8px}.transport-left,.transport-right{display:flex;align-items:center;gap:8px}.play-button{min-width:122px;display:flex;gap:9px;align-items:center;justify-content:center;border:0;border-radius:5px;color:#092b28;background:#65dfbd;padding:11px 14px;font-weight:850;font-size:12px}.play-button span:first-child{font-size:11px}.step-button,.icon-button{border:1px solid #365762;background:#1b3b43;color:#c8e3df;border-radius:5px;padding:10px 12px;font-weight:750;font-size:11px}.icon-button{padding:8px 11px;font-size:18px}.transport-right{color:#9cbdc0;font-size:9px;letter-spacing:.08em;font-weight:800;white-space:nowrap}.chart-panel{padding:17px 20px 12px;min-height:215px}.chart-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.chart-header h2{font-size:15px;margin:5px 0 0}.chart-legend{display:flex;gap:13px;flex-wrap:wrap;justify-content:flex-end;padding-top:3px;color:#a6c6c6;font-size:10px}.chart-legend span{white-space:nowrap}.chart-legend i{margin-right:5px}.chart-wrap{height:119px;width:100%;margin-top:11px}#chart{display:block;width:100%;height:100%}.chart-footer{display:flex;justify-content:space-between;gap:10px;margin:7px 0 0;font-size:9px;color:#618f99;letter-spacing:.04em;font-weight:750}.chart-footer b{color:#e8c189}.live-dot{color:#77e6bc;font-size:12px}.basin-card{margin:13px 14px;border:1px solid #2b4b53;border-radius:7px;background:#14323b;padding:12px 13px}.basin-name{display:flex;align-items:center;gap:9px}.basin-letter{width:30px;height:30px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-weight:850;color:#132d36}.basin-a{background:#6ce7cb}.basin-b{background:#e4b77c}.basin-c{background:#9baeff}.basin-name>span:nth-child(2){flex:1;min-width:0}.basin-name b{font-size:11px;display:block}.basin-name small{font-size:9px;color:#83a5a8;display:block;margin-top:3px}.inspect{background:none;border:1px solid #45616b;color:#a8caca;border-radius:4px;font-size:14px;width:26px;height:25px}.reading{display:flex;align-items:baseline;gap:5px;margin:14px 0 10px}.reading strong{font-size:28px;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}.reading span{color:#b4d7d3;font-size:12px}.reading small{margin-left:auto;color:#70959e;font-size:8px;max-width:90px;text-align:right;letter-spacing:.08em;line-height:1.3}.capacity{background:#234a52;height:5px;border-radius:10px;overflow:hidden}.capacity i{display:block;height:100%;width:65%;background:linear-gradient(90deg,#3198a4,#79e4be);transition:width .3s}.basin-row{display:flex;justify-content:space-between;gap:7px;color:#8baeb4;font-size:9px;margin-top:9px}.mission-card{margin:18px 14px;border:1px solid #5b695c;border-radius:8px;background:linear-gradient(150deg,#1f3940,#142c33 70%);overflow:hidden}.mission-header{display:flex;justify-content:space-between;color:#e2be82;background:#2b4144;border-bottom:1px solid #4e655a;letter-spacing:.1em;font-size:9px;font-weight:850;padding:13px 13px}.mission-card h3{font-size:14px;line-height:1.4;padding:15px 13px 6px;margin:0}.objective{display:flex;align-items:center;padding:11px 13px;gap:9px;border-top:1px solid #2a464a}.objective-mark{color:#8baaa6;font-size:16px}.objective.done .objective-mark{color:#78e2b5}.objective.failed .objective-mark{color:#ff9f8c}.objective>div{min-width:0;flex:1}.objective b{display:block;font-size:10px;color:#d3e7de}.objective small{display:block;color:#7fa7a9;font-size:9px;margin-top:3px}.objective>strong{font-variant-numeric:tabular-nums;font-size:9px;color:#cfdbcd;white-space:nowrap}.mission-outcome{font-size:10px;line-height:1.6;color:#add0c9;border-top:1px solid #3a5655;background:#203a3f;padding:13px}.field-note{margin:17px 16px 20px;padding:14px 2px}.field-note p{color:#8fb0b0;font-size:10px;line-height:1.7;margin:10px 0}.field-note button{border:0;background:none;color:#87f0cd;padding:4px 0;font-weight:800;font-size:10px}.footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--edge);padding:15px 22px;color:#678f96;font-size:9px;font-weight:750;letter-spacing:.09em}.footer i{font-style:normal;color:#d7bb83}.guide-dialog{background:#0b252e;color:#ebf7ef;width:min(780px,calc(100vw - 24px));max-height:calc(100vh - 28px);padding:0;border:1px solid #63958c;border-radius:12px;box-shadow:0 24px 110px #010d15e6;overflow:auto}.guide-dialog::backdrop{background:#020b10cc;backdrop-filter:blur(6px)}.guide-body{padding:26px}.guide-header{display:flex;justify-content:space-between;align-items:flex-start}.guide-header h2{font-size:26px;margin:7px 0 0}.dialog-close{border:1px solid #487279;background:#163b43;color:#eaf6ed;border-radius:5px;padding:8px 11px}.guide-intro{color:#b4d4d0;font-size:14px;line-height:1.7;margin:20px 0}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-grid section{background:#15353e;border:1px solid #29515b;padding:16px;border-radius:6px}.guide-grid h3,.source-note h3{color:#f0c995;font-size:12px}.guide-grid p,.source-note p{font-size:12px;color:#a8cac6;line-height:1.75;margin-bottom:0}.source-note{background:#0d3038;padding:19px;margin-top:16px;border-left:3px solid #6fe1c2}.source-note a{color:#89edd3}.guide-buttons{text-align:right;margin-top:18px}.guide-buttons button{border:0;background:#83e9c7;color:#0e2b30;padding:12px 18px;border-radius:5px;font-weight:850}.toast{position:fixed;z-index:100;right:22px;bottom:20px;max-width:min(380px,calc(100vw - 32px));color:#e7fcf4;background:#173e44;border:1px solid #76d3b7;box-shadow:0 8px 28px #0015;border-radius:7px;padding:13px 17px;line-height:1.5;font-size:12px;opacity:0;transform:translateY(20px);pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1320px){.workspace{grid-template-columns:260px minmax(410px,1fr) 265px}.metric{padding-left:16px;padding-right:16px}.location .lat{display:none}.chart-legend{gap:6px}.navigation-hint{display:none}.cam-btn{padding:8px 7px}}
@media(max-width:1120px){.workspace{grid-template-columns:270px minmax(450px,1fr)}.right-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0 4px}.right-panel>.panel-heading{grid-column:1/-1}.right-panel .basin-card{margin:12px}.mission-card{grid-column:1/3}.field-note{margin:15px}.scene-wrap{height:570px}.location{display:none}}
@media(max-width:780px){.topbar{padding:13px 14px;flex-wrap:wrap}.brand h1{font-size:17px}.top-actions{margin-left:auto}.top-actions button span:not(:first-child){display:none}.summary-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{padding:13px 12px;min-height:91px}.metric strong{font-size:23px}.metric:nth-child(4){border-left:0}.metric:nth-child(n+4){border-top:1px solid var(--edge)}.metric .status-text{font-size:12px}.workspace{display:flex;flex-direction:column;padding:7px;gap:8px}.scene-column{order:0}.left-panel{order:1}.right-panel{order:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.right-panel>.panel-heading{grid-column:1/-1}.right-panel .basin-card{margin:8px}.right-panel .basin-card:nth-of-type(4){grid-column:1/-1}.right-panel .mission-card{grid-column:1/-1}.right-panel .field-note{grid-column:1/-1}.scene-wrap{min-height:420px;height:clamp(420px,75vw,600px)}.camera-toolbar{bottom:12px}.scene-caption{bottom:65px}.transport{padding:9px}.chart-footer{font-size:8px}.footer{flex-wrap:wrap}.control-section{display:grid;grid-template-columns:repeat(2,1fr);column-gap:24px}.control-section .section-title,.control-section .preset-header,.control-section .preset-group,.control-section .selector-label,.control-section select{grid-column:1/-1}.control-section .preset-group{grid-template-columns:repeat(4,1fr)}.control-section .control{margin-bottom:18px}.control-section .switch-row{align-self:center}}
@media(max-width:530px){.topbar{gap:8px}.brand-mark{width:35px;height:35px}.brand-mark span{font-size:24px}.brand h1{font-size:14px;letter-spacing:.065em}.brand .eyebrow{font-size:8px}.small{font-size:10px;padding:8px}.summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.metric:nth-child(3){border-left:0;border-top:1px solid var(--edge)}.metric:nth-child(4){border-left:1px solid var(--edge)}.metric:nth-child(5){grid-column:1/-1;border-left:0;min-height:65px}.metric:nth-child(5) strong{margin-top:4px}.metric:nth-child(5) .metric-sub{display:inline}.scene-wrap{height:435px;min-height:435px}.scene-topline{top:9px;left:9px;right:9px}.scene-kicker{display:none}.scene-caption{max-width:270px;bottom:67px;left:10px;padding:8px}.camera-toolbar{left:8px;bottom:9px;right:8px;max-width:none;justify-content:space-between}.cam-btn{padding:9px 4px;font-size:9px}.cam-btn span{font-size:9px}.north-indicator{top:50px;right:9px}.transport-left,.transport-right{gap:4px}.play-button{min-width:91px;padding:10px 8px;font-size:10px}.step-button{padding:10px 7px;font-size:10px}.transport-right #weatherReadout{display:none}.icon-button{padding:8px;font-size:15px}.chart-panel{padding:15px 10px}.chart-header{display:block}.chart-legend{justify-content:flex-start;margin-top:9px}.chart-footer{display:block;line-height:1.8}.chart-footer span{display:block}.control-section{display:block}.right-panel{display:block}.right-panel .basin-card{margin:9px 14px}.right-panel .mission-card{margin:14px}.guide-body{padding:18px}.guide-grid{grid-template-columns:1fr}.guide-header h2{font-size:22px}.footer{font-size:8px;padding:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0.01ms!important;animation-duration:0.01ms!important}}

.scene-wrap>:not(canvas){z-index:2}.scene-wrap .hotspots{z-index:3}
