:root{color-scheme:dark;--ink:#081720;--panel:#0c2029;--mid:#112a34;--edge:#25404a;--edge2:#1c343e;--text:#e7f4ef;--muted:#97b1b4;--dimmer:#62858e;--mint:#9aebc9;--sun:#f8be78;--coral:#fa9674;--teal:#67c9c4;--accent:#9aebc9;font-family:Inter,"Aptos",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:var(--ink);color:var(--text);font-size:13px;line-height:1.5}button,select,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--sun);outline-offset:3px}a{color:var(--mint)}#app{min-height:100dvh;display:flex;flex-direction:column}.topbar{height:77px;min-height:77px;border-bottom:1px solid #23414b;display:flex;align-items:center;justify-content:space-between;padding:0 26px;gap:22px;background:#0a1b25}.brand{display:flex;align-items:center;gap:14px;min-width:235px}.brand strong{font-size:21px;letter-spacing:.08em;line-height:1;display:block;font-weight:900}.brand strong span{color:#a0e9c9}.brand small{display:block;color:var(--dimmer);font-size:8px;letter-spacing:.25em;margin-top:5px;font-weight:750}.brandSymbol{display:flex;flex-direction:column;justify-content:center;align-items:center;width:32px;height:32px;border:1px solid #65cabd;transform:rotate(-20deg);gap:3px}.brandSymbol span{width:18px;height:3px;background:#8fe7c8;transform:rotate(-22deg)}.brandSymbol span:nth-child(2){width:14px;background:#f5bc82}.brandSymbol span:nth-child(3){width:9px}.headerCentre{font-size:10px;letter-spacing:.13em;color:#9bb5b8;white-space:nowrap;font-weight:750}.signal,.pulse,.miniDot{display:inline-block;width:7px;height:7px;background:var(--mint);border-radius:50%;box-shadow:0 0 11px #6be5ac88;margin-right:9px;vertical-align:middle}.headerDiv{padding:0 13px;color:#496e78}.headerActions{display:flex;align-items:center;gap:16px}.regionPill{font-size:9px;letter-spacing:.13em;color:#acc6c2;background:#193039;border:1px solid #37535a;border-radius:3px;padding:10px 12px;white-space:nowrap}.helpBtn{background:transparent;border:0;font-size:16px;font-weight:700;display:flex;align-items:center;gap:10px}.helpBtn span{font-size:9px;letter-spacing:.13em;color:#c6d7d2}.workspace{flex:1;min-height:690px;display:grid;grid-template-columns:292px minmax(450px,1fr) 331px;max-width:2200px;width:100%;margin:auto}.panel{background:var(--panel);min-width:0}.left{border-right:1px solid var(--edge2);overflow-y:auto}.right{border-left:1px solid var(--edge2);overflow-y:auto}.panelIntro{padding:26px 23px 24px;border-bottom:1px solid var(--edge2);background:radial-gradient(ellipse at top left,#1e4346 0%,transparent 60%)}.eyebrow{margin:0;color:var(--mint);font-size:9px;font-weight:800;letter-spacing:.19em}.eyebrow .miniDot{width:5px;height:5px;box-shadow:none;margin-right:4px}.panelIntro h1{font-size:32px;line-height:1.05;letter-spacing:-.055em;margin:17px 0 12px;font-weight:850}.panelIntro h1 em{font-style:normal;color:var(--mint)}.panelIntro>p:last-child{color:#a2bab8;font-size:12px;line-height:1.65;margin:0}.group{padding:21px 22px 23px;border-bottom:1px solid var(--edge2)}.group.last{border-bottom:0}.sectionHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.sectionHead h2{margin:0;font-size:10px;letter-spacing:.14em;color:#ddf0e6;font-weight:800}.tinyInfo{color:#6b979d;font-size:9px;white-space:nowrap;letter-spacing:.1em;font-weight:800}.stations{display:grid;gap:7px}.station{display:flex;align-items:center;gap:12px;border:1px solid #2a434b;background:#122a34;padding:10px 12px;text-align:left;border-radius:4px;min-height:56px;transition:background .2s,border .2s}.station:hover{background:#1b3b43}.station.active{border-color:#83dabb;background:#1a3c42}.stationCode{background:#2a484d;color:#bee8d6;padding:7px 8px;font-size:11px;font-weight:850;letter-spacing:.06em}.station.active .stationCode{background:#8fe4c3;color:#0d302c}.stationText{display:flex;flex-direction:column;flex:1;min-width:0}.stationText b{font-weight:760;font-size:12px}.stationText small{color:#84a5a5;font-size:10px}.stationState{color:#52727a}.station.active .stationState{color:#9aeccc}.depthCard{background:#122e37;border:1px solid #33515a;padding:15px 14px;border-radius:5px}.depthTop{display:flex;align-items:start;justify-content:space-between}.depthTop>span{font-size:9px;letter-spacing:.15em;font-weight:800;color:#85a9aa}.depthTop strong{font-size:30px;color:#fff;line-height:1.05;font-weight:840;font-variant-numeric:tabular-nums}.depthTop strong small{font-size:13px;color:#9fb9b7}.range{appearance:none;-webkit-appearance:none;width:100%;height:4px;margin:18px 0 13px;background:linear-gradient(90deg,#8be4c3,#4ea9be);outline:none;border-radius:3px;cursor:pointer}.range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#d6fff0;border:3px solid #4faaa3;box-shadow:0 0 0 4px #8fe7c322}.range::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#d6fff0;border:3px solid #4faaa3}.rangeMarkers{display:flex;justify-content:space-between;gap:8px;color:#70939b;font-size:8px;letter-spacing:.035em;font-weight:750}.layerChip{font-size:10px;margin-top:17px;color:#f2cb9b;font-weight:650}.primaryBtn{display:flex;align-items:center;width:100%;padding:15px 15px;background:#a4edcb;border:0;border-radius:4px;font-size:11px;font-weight:900;letter-spacing:.1em;color:#092b2a;margin-top:11px;gap:10px;transition:filter .2s}.primaryBtn:hover{filter:brightness(1.08)}.primaryBtn:disabled{opacity:.45;cursor:not-allowed}.primaryBtn>span:first-child{font-size:18px;line-height:0}.btnArrow{margin-left:auto;font-size:18px}.finePrint{font-size:10px;color:#71959d;margin:11px 0 0}.finePrint strong{color:#d1ede2}.inputLabel{display:block;color:#7ca1a5;font-size:9px;letter-spacing:.08em;margin:0 0 7px;font-weight:800}.left select{width:100%;padding:11px 10px;color:#d4efe2;border:1px solid #34535c;background:#15333c;border-radius:3px;font-size:11px}.valueLabel{display:flex;align-items:center;justify-content:space-between;margin-top:17px;font-size:11px;color:#b8d0c9}.valueLabel span{color:#e1f6e9;font-weight:850;font-variant-numeric:tabular-nums}.rangeSlim{margin:12px 0 0;height:3px}.mainStage{min-width:0;background:#081b24;display:flex;flex-direction:column;padding:17px 19px 16px;gap:13px}.stageTop{display:flex;align-items:center;justify-content:space-between;min-height:55px}.micro{font-size:9px;color:#87a7a9;letter-spacing:.14em;font-weight:750}.smallSlash{padding:0 6px;color:#5a8389}.stageTop h2{font-size:21px;font-weight:850;letter-spacing:-.025em;margin:4px 0 0}.stageTop h2 span{font-size:14px;color:var(--mint);vertical-align:top}.renderLabel{font-size:9px;font-weight:800;letter-spacing:.12em;color:#9cc8bc;white-space:nowrap}.pulse{width:6px;height:6px}.stageFrame{min-height:470px;flex:1;max-height:calc(100dvh - 300px);position:relative;overflow:hidden;border:1px solid #35525a;border-radius:5px;background:radial-gradient(circle at 50% 25%,#35616f 0%,#143f4c 40%,#071d2a 100%);isolation:isolate}#webglMount,#fallbackCanvas{position:absolute;inset:0;width:100%;height:100%;display:block}#webglMount canvas{display:block;touch-action:none}#fallbackCanvas{touch-action:none}#fallbackCanvas[hidden]{display:none}.sceneTopFloating,.sceneBottomFloating{position:absolute;left:17px;right:17px;z-index:3;pointer-events:none;display:flex;align-items:center;justify-content:space-between;gap:10px}.sceneTopFloating{top:17px}.sceneIndex,.sceneNote{font-size:9px;letter-spacing:.09em;font-weight:850;color:#e6f6e9;background:#0a222bcc;padding:7px 9px;border:1px solid #5b8d8e66}.sceneNote{color:#add2c4}.sceneBottomFloating{bottom:16px}.cameraControls{pointer-events:auto;display:flex;gap:5px;flex-wrap:wrap;max-width:100%}.cam{font-size:10px;border:1px solid #6d9da45c;background:#0b2531d9;color:#bddad3;padding:9px 10px;border-radius:3px;white-space:nowrap}.cam:hover{background:#1d424b}.cam.active{background:#d0f1da;color:#173d38;border-color:#d0f1da;font-weight:850}.gestureTip{font-size:9px;color:#e7f6ef;background:#0a222bcc;padding:8px 10px;letter-spacing:.08em;white-space:nowrap}.waterScale{position:absolute;right:10px;top:17%;height:64%;display:flex;flex-direction:column;justify-content:space-between;font-size:9px;font-variant-numeric:tabular-nums;font-weight:800;color:#e2f5ee;opacity:.9;pointer-events:none;text-shadow:0 1px 8px #031b26}.waterScale span{border-right:2px solid #aad1c599;padding-right:9px}.waterLegend{position:absolute;left:17px;top:61px;background:#0b2531d9;border:1px solid #83baba66;padding:11px 12px;z-index:3;pointer-events:none;width:166px}.waterLegend>span{display:block;font-size:9px;letter-spacing:.13em;font-weight:850;color:#dff6eb;margin-bottom:9px}.gradientBar{height:6px;background:linear-gradient(90deg,#244f9a,#43c9d8,#eff59b,#f49a55);border-radius:1px}.gradientBar.oxygen{background:linear-gradient(90deg,#343260,#704ebc,#61c9ca,#9beaab)}.legendScale{display:flex;justify-content:space-between;font-size:9px;color:#c3dbdb;margin-top:7px}.sceneToast{position:absolute;top:112px;left:17px;z-index:5;max-width:min(380px,90%);pointer-events:none;font-size:11px;color:#e4fff0;background:#16413be8;padding:9px 13px;border:1px solid #8de7c188;border-radius:3px;opacity:0;transform:translateY(-7px);transition:opacity .2s,transform .2s}.sceneToast.visible{opacity:1;transform:translateY(0)}.stageToolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.toggleSegment{display:flex;gap:3px;background:#102b35;border:1px solid #284651;padding:3px;border-radius:4px}.toggleSegment button{background:transparent;border:0;border-radius:3px;padding:9px 11px;color:#9db9b8;font-weight:740;font-size:10px}.toggleSegment button.active{background:#244f52;color:#dbffee}.timeTools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.timeTools button,.timeTools select{border:1px solid #36545d;background:#122c36;color:#cde7df;border-radius:3px;font-size:10px;letter-spacing:.06em;font-weight:850;padding:10px 10px;white-space:nowrap}.timeTools button:hover{background:#21505a}.timeTools .playButton{background:#b8eecf;color:#0c332e;border-color:#b8eecf}.timeTools select{padding:9px 4px}.metricsStrip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #2e4851;background:linear-gradient(100deg,#132e38,#0d2832);min-height:82px}.metric{padding:13px 17px;border-right:1px solid #2d4851;min-width:0}.metric:last-child{border-right:0}.metric span{font-size:9px;letter-spacing:.09em;font-weight:750;color:#87a8ac;display:block}.metric strong{font-size:19px;letter-spacing:-.035em;font-weight:850;white-space:nowrap}.metric strong small{font-size:11px;color:#9db6b8}.metric:nth-child(4) strong{font-size:14px;color:#9aebc9;letter-spacing:.01em}.rightTop{padding:24px 21px 18px;border-bottom:1px solid var(--edge2)}.rightTop h2{font-size:24px;margin:8px 0 7px;letter-spacing:-.05em}.rightTop h2 span{font-size:14px;vertical-align:top;color:#8be8c2;margin-left:5px}.rightTop p{font-size:11px;color:#8eadae;margin:0;line-height:1.55}.chartSection,.missionSection,.diagnoseSection,.logSection{padding:18px 20px;border-bottom:1px solid var(--edge2)}.chartSection .sectionHead,.missionSection .sectionHead,.diagnoseSection .sectionHead,.logSection .sectionHead{margin-bottom:12px}.plotHolder{height:172px;position:relative;background:#0a1d28;border:1px solid #26424b}.plotHolder canvas{width:100%;height:100%;display:block}.plotLabels{display:flex;align-items:center;justify-content:space-between;color:#7899a0;letter-spacing:.045em;font-size:8px;font-weight:800;gap:5px;margin-top:9px}.plotLabels i{display:inline-block;width:7px;height:7px;vertical-align:middle;border-radius:50%;margin-right:4px}.keyTemp{background:#f5ad6d}.keyOxy{background:#91e5cc}.missionCount{font-size:11px;color:#a8edce;font-weight:900}.missionIntro{margin:0 0 13px;color:#91aeaa;font-size:11px}.missionItems{display:grid;gap:9px}.missionItem{display:flex;align-items:flex-start;gap:10px;color:#a9c1be;font-size:11px;line-height:1.4}.missionItem .check{font-size:18px;line-height:1;color:#698d91}.missionItem.done{color:#dcf8e8}.missionItem.done .check{color:#a4edca}.prediction{display:grid;gap:0}.prediction label{display:flex;justify-content:space-between;font-size:11px;color:#b0c8c5}.prediction label span{color:#dff9ec;font-weight:850}.prediction .range{margin:11px 0 19px}.secondaryBtn{border:1px solid #8edac5;border-radius:3px;background:#153d3e;color:#c5f5df;font-size:10px;letter-spacing:.09em;font-weight:850;padding:11px 10px;width:100%}.secondaryBtn:hover{background:#265d56}.diagnoseStatus{font-size:10px;color:#7eabb0;margin-top:10px;line-height:1.55}.diagnoseStatus.success{color:#a5edc8}.diagnoseStatus.failure{color:#f4ba9f}.plainLink{border:0;background:transparent;font-size:9px;font-weight:850;color:#8ce4c4;white-space:nowrap}.logEntries{margin:0;padding:0;list-style:none;display:grid;gap:8px;max-height:142px;overflow-y:auto}.logEntries li{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#a3bfba}.logEntries li time{color:#73b7ac;min-width:40px;font-variant-numeric:tabular-nums}.rightFoot{font-size:9px;line-height:1.55;color:#729397;padding:15px 20px;margin:0}.footbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:33px;border-top:1px solid #23414b;background:#081720;padding:7px 22px;font-size:8px;letter-spacing:.12em;font-weight:650;color:#6e9298}.footbar strong{color:#91b7b3}.footbar a{color:#a7d3c1;text-decoration:none}dialog{color:#e9f9ef;background:#0b222c;border:1px solid #6aa99e;max-width:720px;width:calc(100% - 32px);max-height:90vh;overflow:auto;border-radius:8px;box-shadow:0 30px 100px #000b}dialog::backdrop{background:#03121bd9}.modalHead{display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid #2a5055;padding:25px 28px 18px;background:#12363d}.modalHead h2{margin:8px 0 0;font-size:28px;letter-spacing:-.04em}.modalClose{background:#25434b;border:1px solid #456c70;border-radius:4px;font-size:25px;line-height:1;width:35px;height:35px}.modalBody{padding:18px 28px 25px;font-size:13px;color:#b6d1ca}.modalBody>p{line-height:1.7}.guideGrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.guideGrid>div{background:#14323b;padding:14px;border:1px solid #2f535a;border-radius:3px}.guideGrid strong{color:#a9eccd;font-size:11px;letter-spacing:.07em}.guideGrid p{margin:7px 0 0;font-size:11px;line-height:1.65}.modalBody h3{font-size:15px;margin:25px 0 8px;color:#ebf8ef}.modalBody ul{padding-left:18px;font-size:11px;line-height:1.8}.guideWarning{border-left:3px solid var(--sun);padding-left:12px;font-size:11px;color:#bdc9ba}
@media(max-width:1320px){.workspace{grid-template-columns:270px minmax(380px,1fr) 305px}.left .group{padding-left:16px;padding-right:16px}.panelIntro{padding-left:17px;padding-right:17px}.rightTop,.chartSection,.missionSection,.diagnoseSection,.logSection{padding-left:15px;padding-right:15px}.gestureTip{display:none}.mainStage{padding:15px 12px}.metric{padding:11px 9px}.metric strong{font-size:17px}.headerCentre{display:none}}
@media(max-width:1000px){.workspace{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(400px,1.7fr)}.right{grid-column:1/-1;border-left:0;border-top:1px solid var(--edge2);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.rightTop{grid-column:1/-1}.chartSection,.missionSection,.diagnoseSection,.logSection{border-right:1px solid #24434d}.rightFoot{grid-column:1/-1}.stageFrame{max-height:none;min-height:490px}.regionPill{display:none}}
@media(max-width:700px){.topbar{height:65px;min-height:65px;padding:0 14px}.brand{min-width:0}.brand strong{font-size:18px}.helpBtn span{display:none}.workspace{display:flex;flex-direction:column}.mainStage{order:0;padding:10px 10px 17px}.left{order:1;border-right:0;border-top:1px solid var(--edge2)}.right{order:2;display:block}.panelIntro{padding:21px}.panelIntro h1{font-size:28px}.left .group{padding:18px 21px}.stageTop{min-height:53px}.stageTop h2{font-size:17px}.renderLabel{font-size:8px}.stageFrame{height:460px;min-height:460px;max-height:none}.sceneTopFloating{left:10px;right:10px;top:9px}.sceneIndex,.sceneNote{font-size:8px;padding:5px}.sceneNote{display:none}.waterLegend{left:10px;top:45px;width:136px;padding:7px}.waterLegend>span{font-size:8px}.waterScale{right:6px}.sceneBottomFloating{left:9px;right:9px;bottom:8px}.cameraControls{gap:3px}.cam{padding:7px 8px;font-size:9px}.metricsStrip{grid-template-columns:repeat(2,1fr)}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid #2d4851}.stageToolbar{align-items:stretch}.toggleSegment{width:100%;justify-content:space-evenly}.toggleSegment button{flex:1}.timeTools{width:100%;justify-content:space-between}.timeTools button,.timeTools select{flex:1}.rightTop,.chartSection,.missionSection,.diagnoseSection,.logSection{padding:19px 21px}.footbar{padding:8px 11px;flex-wrap:wrap;justify-content:center;font-size:7px}.footbar>span:nth-child(2){display:none}}
@media(max-width:390px){.stageFrame{height:405px;min-height:405px}.cam{font-size:8px;padding:6px 5px}.sceneIndex{font-size:7px}.waterLegend{width:120px}.metric strong{font-size:16px}.topbar{padding:0 9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behaviour:auto!important}}
