:root{color-scheme:dark;--navy:#071a20;--panel:#0b252b;--panel2:#0e3035;--line:#244247;--text:#e9f3f1;--muted:#90a9a9;--dim:#5e8186;--teal:#82e1d0;--mint:#c4f7d7;--amber:#e9c489;--red:#f1a1a1;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#05151a;color:var(--text);font-family:var(--sans)}body{background:radial-gradient(ellipse at 70% 0%,#14313b 0%,transparent 46%),#071920}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.scene-station:focus-visible,.scene-surface:focus-visible{outline:2px solid var(--teal);outline-offset:3px}a{color:inherit} .app-shell{max-width:1880px;margin:0 auto;padding:0 22px}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #294248}.brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none}.brand-symbol{display:grid;place-items:center;width:46px;height:46px;color:#d6efe9;border:1px solid #376465;border-radius:12px;background:#12353b}.brand-symbol svg{width:34px}.brand-copy{display:flex;flex-direction:column;gap:5px}.brand-copy strong{font-size:15px;font-weight:800;letter-spacing:.18em;white-space:nowrap}.brand-accent{color:var(--teal)}.brand-copy small{font-weight:700;font-size:9px;letter-spacing:.2em;color:var(--dim)}.brand-copy small span{color:var(--amber);padding:0 7px}.top-meta{display:flex;align-items:center;gap:11px;color:#90b9b9;font-size:10px;font-weight:800;letter-spacing:.14em}.meta-light,.glow-dot{height:7px;width:7px;display:inline-block;border-radius:100%;background:#91dcca;box-shadow:0 0 11px #83dec9}.meta-separator{height:14px;border-left:1px solid #3b5258;margin:0 7px}.top-help{background:none;border:0;color:#c2d5d2;display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.16em;font-weight:800}.help-circle{display:grid;place-items:center;border:1px solid #4b686e;width:26px;height:26px;border-radius:50%;font-size:15px}.layout{display:grid;grid-template-columns:minmax(270px,310px) minmax(0,1fr) minmax(270px,300px);gap:17px;padding-top:19px;align-items:stretch}.panel,.viewport,.chart-card{border:1px solid #29484c;border-radius:12px;overflow:hidden}.panel{padding:26px 23px;background:linear-gradient(145deg,#0e2b30,#0a2228 70%)}.panel-kicker{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:800;letter-spacing:.19em;color:#7babad}.tiny-symbol{color:#ddbc89;font-size:12px}.panel h1,.insight h2{font-weight:700;font-size:31px;line-height:1.24;letter-spacing:-.05em;margin:22px 0 13px}.panel h1 em,.insight h2 em{font-family:var(--serif);font-size:1.2em;font-weight:400;color:var(--teal)}.panel-intro{font-size:11.5px;line-height:1.8;color:#a9c3c0;margin:0 0 19px}.panel-divider{border-top:1px solid #315056;margin:20px 0}.field-label,.field-subtitle,.range-edge,.range-label,.station-title,.goal-title{display:flex;align-items:center;justify-content:space-between}.field-label,.field-subtitle,.station-title,.goal-title{font-size:10px;color:#a4c7c4;letter-spacing:.12em;font-weight:800}.info-mark{font-size:13px;color:var(--muted)}.styled-select{margin:12px 0 21px;width:100%;padding:13px 30px 13px 12px;color:#dcebe7;border:1px solid #41605e;border-radius:6px;background:#10343a;outline:0;font-size:11px;appearance:auto}.styled-select option{background:#14333a}.range-block{margin:10px 0 23px}.range-label{margin-bottom:13px;gap:10px;font-size:11px;color:#e1eeeb;font-weight:650}.range-label output{color:var(--teal);font-variant-numeric:tabular-nums;white-space:nowrap}input[type=range]{display:block;width:100%;height:5px;margin:0;background:#37555a;border-radius:99px;accent-color:var(--teal);cursor:pointer}input[type=range]::-webkit-slider-thumb{width:16px;height:16px}.range-edge{margin-top:11px;font-size:8px;letter-spacing:.09em;color:#688e92}.field-subtitle{margin:29px 0 20px;color:var(--amber);gap:8px}.field-subtitle span+span{font-size:8px;color:#7b9d9a}.budget{padding:14px 12px 12px;border-radius:7px;background:#112f35;border:1px solid #315257;margin-bottom:17px}.budget>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.budget span{font-size:9px;color:#b7cfcd;font-weight:750;letter-spacing:.09em}.budget strong{font-size:19px;color:var(--mint);font-variant-numeric:tabular-nums}.budget strong span{color:#698b8c;font-size:11px}.budget-track{height:5px;background:#30484d;border-radius:4px;margin:13px 0 9px;overflow:hidden}.budget-track div{height:100%;width:0%;background:linear-gradient(90deg,#66c8b9,#e3c486);transition:width .2s}.budget p{color:#87aaa9;font-size:10px;line-height:1.4;margin:0}.main-actions{display:flex;gap:8px}.button-primary{height:48px;display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-width:0;border:0;border-radius:6px;background:#bff6d5;color:#102d31;font-size:11px;font-weight:850;letter-spacing:.1em}.button-primary:hover{background:#e2ffeb}.button-primary:disabled{opacity:.56;cursor:default}.button-primary #runIcon{font-size:15px}.button-secondary{width:49px;background:#214047;border:1px solid #44636a;color:#daf1e8;border-radius:6px;font-size:24px}.secondary-actions{display:flex;gap:10px;margin-top:10px}.secondary-actions button,.export-actions button{background:transparent;color:#a8c9c9;border:1px solid #39585e;border-radius:5px;padding:10px 12px;font-size:10px;font-weight:800;letter-spacing:.05em;flex:1}.secondary-actions button:hover,.export-actions button:hover{border-color:#8ad3c8;color:#eaffea}.workspace{display:flex;flex-direction:column;gap:17px;min-width:0}.viewport{background:#0b282e}.scene-head,.chart-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 21px}.scene-head h2,.chart-top h2{margin:5px 0 0;font-size:18px;letter-spacing:-.04em}.eyebrow{font-size:9px;letter-spacing:.18em;color:#93c4be;font-weight:850}.scene-mode{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:800;letter-spacing:.1em;color:#a5c1c3;white-space:nowrap}.scene-surface{position:relative;height:min(50vh,490px);min-height:355px;overflow:hidden;background:linear-gradient(#8daebc 0%,#a3b9c0 39%,#536e75 100%);touch-action:none;cursor:grab}.scene-surface:active{cursor:grabbing}.scene-surface canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.scene-vignette{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 22px 45px #09252e40,inset 0 -75px 85px #072228ae}.compass{position:absolute;top:19px;right:19px;color:#e7f2ed;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:9px;font-weight:800;letter-spacing:.12em;text-shadow:0 2px 8px #112a2b}.compass svg{width:38px;height:38px}.scene-station{position:absolute;top:40%;left:40%;display:flex;align-items:center;gap:7px;background:rgba(8,39,45,.84);border:1px solid #97d7c9ac;border-radius:5px;padding:6px 9px;font-size:9px;white-space:nowrap;color:#ecf8f1;font-weight:800;letter-spacing:.09em;user-select:none;cursor:pointer;box-shadow:0 4px 14px #08202660;transform:translate(-50%,-100%);transition:border .15s}.scene-station span{color:#a6ead9}.scene-station.active{border-color:#f1cf8a;background:#12383d}.scene-bottom{position:absolute;bottom:0;left:0;right:0;min-height:43px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 18px;background:linear-gradient(transparent,#08252b90);pointer-events:none}.scene-legend{display:flex;gap:12px}.scene-legend span,.scene-note{font-size:8px;letter-spacing:.1em;font-weight:800;color:#d4e8e4;white-space:nowrap}.scene-legend i,.chart-tags i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px;background:#6bd1d7}.legend-ice{background:#e2f2f1!important}.legend-wetland{background:#abc48f!important}.scene-note{opacity:.75}.render-notice{position:absolute;left:15px;top:15px;background:#173c41e0;border:1px solid #8eb6b2;color:white;border-radius:6px;padding:8px 12px;font-size:10px;max-width:65%}.camera-bar{min-height:54px;padding:10px 19px;display:flex;align-items:center;justify-content:space-between;gap:10px}.camera-presets{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.camera-label{color:#628d91;font-size:9px;letter-spacing:.12em;font-weight:800;margin-right:5px}.view-btn{background:#16363c;color:#a8c7c3;border:1px solid #31575d;padding:7px 9px;border-radius:4px;font-size:10px}.view-btn.active{background:#365e5d;color:#d8f7e7;border-color:#7fc6b6}.camera-hint{color:#648f91;font-size:8px;font-weight:800;white-space:nowrap}.camera-hint span{padding:0 4px}.chart-card{background:#0d2b32;min-height:245px}.chart-top{padding-bottom:4px}.chart-tags{display:flex;flex-wrap:wrap;gap:11px;color:#9bb8b6;font-size:9px}.chart-tags .rain-pip{background:#edc991}.chart-tags .flow-pip{background:#78e1d1}.chart-tags .peak-pip{background:transparent;border:1px dashed #e4aaaa}.chart-wrap{height:147px;padding:0 16px 0 5px}.chart-wrap canvas{width:100%;height:100%;display:block}.time-strip{border-top:1px solid #28474e;margin:6px 17px 0;padding:11px 2px;display:flex;justify-content:space-between;gap:12px;font-size:9px;font-weight:800;letter-spacing:.08em;color:#b8e6d6}.muted,#chartMessage{color:#668e91}.time-strip .muted{padding-left:6px}.insight h2{font-size:29px;margin-bottom:21px}.report-phase{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #37565c;padding-top:17px;font-size:9px;font-weight:850;letter-spacing:.09em;color:#a6c4c2}.report-phase span+span{border-radius:4px;border:1px solid #50756c;color:#a5ebc9;background:#1d413f;padding:5px 7px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.metric{min-height:110px;background:#11333a;border:1px solid #2c5156;border-radius:7px;padding:14px 11px}.metric span{display:block;font-size:9px;line-height:1.5;color:#99b6b4;font-weight:850;letter-spacing:.07em;min-height:28px}.metric strong{display:block;margin-top:4px;font-size:26px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:#e4fcf3}.metric small{display:block;margin-top:3px;color:#769c9f;font-size:9px}.station-title,.goal-title{color:#b9d5cf}.station-title span+span,.goal-title span+span{color:var(--amber)}.station-detail{display:flex;align-items:flex-start;gap:11px;margin-top:17px}.station-indicator{height:12px;width:12px;flex-shrink:0;border-radius:50%;background:#78dbc8;margin-top:4px;box-shadow:0 0 10px #5db7a8}.station-detail strong{font-size:13px}.station-detail p{font-size:10px;color:#93b3b5;line-height:1.7;margin:5px 0 0}.station-readings{border:1px solid #36545a;border-radius:6px;margin-top:18px}.station-readings div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 10px}.station-readings div+div{border-top:1px solid #325056}.station-readings span{font-size:9px;color:#88a9a7;font-weight:850;letter-spacing:.06em}.station-readings strong{font-size:12px;white-space:nowrap;color:#bfeee0;font-variant-numeric:tabular-nums}.goal-caption{color:#99b7b4;line-height:1.6;font-size:10px}.goal-list{display:flex;flex-direction:column;gap:9px}.goal{display:flex;align-items:flex-start;gap:9px;font-size:10px;line-height:1.4;color:#a6c5c2}.goal .goal-bullet{width:16px;height:16px;display:grid;place-items:center;border:1px solid #688986;border-radius:100%;flex-shrink:0;color:#83b3a8;font-size:10px}.goal.good .goal-bullet{border-color:#88e8b1;background:#21483e;color:#bffbd5}.goal.bad .goal-bullet{border-color:#d18f90;background:#422e35;color:#f6b7ae}.mission-note{margin-top:18px;border-radius:6px;padding:14px 13px;background:#193d3e;color:#a8d0c5;font-size:10px;line-height:1.65;border-left:2px solid #94dbbb}.mission-note.success{background:#214838;border-color:#c4facb}.mission-note.fail{background:#433133;border-color:#f0a3a3}.export-actions{display:flex;flex-direction:column;gap:9px;margin-top:17px}.footer{display:flex;justify-content:space-between;gap:20px;padding:18px 0 26px;color:#76979a;font-size:9px;line-height:1.8}.footer div{display:flex;gap:14px}.footer strong{color:#b7ceca;letter-spacing:.11em}.footer p{margin:0;max-width:62%;text-align:right}.footer button{border:none;background:none;color:#b1ddca;cursor:pointer;font-size:inherit;font-weight:800}.guide-dialog{width:min(610px,calc(100vw - 24px));max-height:85vh;overflow:auto;background:#112b30;color:#d8eeea;border:1px solid #608b87;border-radius:13px;box-shadow:0 25px 90px #0008;padding:30px}.guide-dialog::backdrop{background:#00161bd9}.guide-dialog form{position:sticky;top:0;display:flex;justify-content:flex-end;height:0;z-index:2}.guide-close{width:32px;height:32px;border-radius:50%;background:#2b494c;border:1px solid #547d77;color:white;font-size:23px;line-height:20px}.guide-body h2{font-family:var(--serif);font-weight:normal;font-size:35px;color:#d6f9df;margin:14px 0}.guide-body h3{font-size:12px;color:#91e4cb;letter-spacing:.08em;margin-top:24px}.guide-body p{font-size:12px;line-height:1.85;color:#b7d1ce}.guide-links{display:grid;gap:10px;margin:19px 0}.guide-links a{font-size:12px;color:#c3f2d4}.guide-body .small-print{border-top:1px solid #4a6969;padding-top:16px;color:#829e9f;font-size:10px}
@media (max-width:1380px){.layout{grid-template-columns:minmax(240px,265px) minmax(0,1fr) minmax(230px,255px);gap:11px}.panel{padding:20px 16px}.panel h1{font-size:27px}.scene-mode{font-size:8px}.scene-bottom .scene-note{display:none}.camera-hint{display:none}.app-shell{padding:0 12px}}
@media (max-width:1000px){.layout{grid-template-columns:minmax(250px,1fr) minmax(0,2fr);grid-template-areas:'stage stage' 'controls insight';align-items:start}.workspace{grid-area:stage}.controls{grid-area:controls}.insight{grid-area:insight}.scene-surface{height:52vh;min-height:360px}.top-meta{display:none}.footer p{max-width:70%}}
@media (max-width:630px){.topbar{height:72px}.brand-copy strong{font-size:11px}.brand-copy small{font-size:7px}.brand-symbol{width:37px;height:37px}.brand-symbol svg{width:27px}.help-text{display:none}.layout{display:flex;flex-direction:column;padding-top:10px;gap:12px}.workspace,.panel{width:100%}.controls{order:2}.insight{order:3}.workspace{order:1}.panel{padding:20px}.panel h1{font-size:28px}.scene-head,.chart-top{padding:15px 13px}.scene-head h2{font-size:16px}.scene-mode{max-width:125px;font-size:8px;white-space:normal}.scene-surface{height:58vh;min-height:340px;max-height:540px}.scene-station{font-size:7px;padding:5px 6px;max-width:122px;white-space:normal}.scene-station span{font-size:8px}.scene-bottom{padding:10px}.scene-legend{gap:8px}.scene-legend span{font-size:7px}.camera-bar{padding:10px}.camera-label{display:none}.view-btn{font-size:9px}.chart-tags{gap:6px;font-size:8px}.chart-wrap{height:160px}.footer{display:block}.footer div{flex-direction:column;gap:4px}.footer p{text-align:left;max-width:100%;margin-top:11px}.metric-grid{grid-template-columns:1fr 1fr}.metric{min-height:95px}.metric strong{font-size:25px}}
@media (prefers-reduced-motion:reduce){*{scroll-behaviour:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
