
:root{--deep:#102c31;--deep2:#14383d;--cream:#f6f4ea;--paper:#fbfaf4;--ink:#1e3c3d;--muted:#718080;--line:#d9ded6;--aqua:#54a89e;--aqua-soft:#dcefe7;--orange:#be774c;--chart:#4c998b;--danger:#ab583f}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:Manrope,'Segoe UI',sans-serif;background:var(--cream);color:var(--ink);font-size:13px}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid #c98043;outline-offset:3px}button:disabled{opacity:.46;cursor:not-allowed}.shell{height:100dvh;min-height:660px;display:flex;flex-direction:column;overflow:hidden}.topbar{height:70px;flex:none;display:flex;align-items:center;justify-content:space-between;background:var(--deep);color:#eef3e6;padding:0 26px;gap:16px;border-bottom:1px solid #365258}.brand{display:flex;align-items:center;gap:11px;min-width:250px}.brand strong{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:.12em;white-space:nowrap}.brand strong span{font-weight:500;color:#8fbeb2}.brand small{display:block;font-size:8px;letter-spacing:.26em;color:#93aaa6;margin-top:3px}.brand-mark{width:34px;height:34px;border:1px solid #62837f;border-radius:3px;display:flex;flex-direction:column;gap:4px;justify-content:center;padding:7px;transform:rotate(-4deg)}.brand-mark span{height:3px;background:#81b4a8;transform:skew(-28deg)}.brand-mark span:nth-child(2){width:75%}.brand-mark span:nth-child(3){width:52%}.top-centre{font-size:9px;letter-spacing:.2em;color:#b2c5ba;white-space:nowrap}.loc-dot,.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9fd0b0;margin-right:8px;box-shadow:0 0 0 4px #8abda51d}.bullet{opacity:.36;padding:0 9px}.top-actions{display:flex;align-items:center;gap:11px}.engine-pill{font-size:8px;letter-spacing:.11em;border:1px solid #547671;color:#c9ded4;padding:7px 9px;border-radius:3px;white-space:nowrap}.icon-button{height:29px;width:29px;background:#23454a;border:1px solid #5d807c;color:#eef6eb;border-radius:50%;font-weight:800}.workspace{display:grid;grid-template-columns:304px minmax(250px,1fr) 292px;min-height:0;flex:1}.panel{padding:24px 20px;overflow-y:auto;background:var(--paper);scrollbar-color:#b9c5c0 transparent;scrollbar-width:thin}.left-panel{border-right:1px solid var(--line)}.right-panel{border-left:1px solid var(--line);padding:22px 18px}.eyebrow{font-size:8.5px;letter-spacing:.18em;font-weight:800;color:#687c79;display:flex;align-items:center;gap:8px;white-space:nowrap}.thin-rule{height:1px;flex:1;background:#d5ded5}.left-panel h1{font-family:Georgia,'Times New Roman',serif;color:#133c40;font-size:39px;font-weight:normal;line-height:1.05;margin:22px 0 13px;letter-spacing:-.045em}.left-panel h1 em{color:#b4754e;font-weight:normal}.intro{color:#687775;line-height:1.7;font-size:11.5px;margin:0;max-width:272px}.subtle-divider{height:1px;background:var(--line);margin:22px 0 18px}.section-head{font-size:9px;font-weight:800;letter-spacing:.13em;color:#254b4b;margin-bottom:13px;display:flex;align-items:center;gap:10px}.section-head span{color:#b57856;font-weight:800}.scenario-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.scenario{border:1px solid #d5ded9;background:#fff;color:#304e4e;border-radius:4px;padding:11px 5px 9px;text-align:center;min-width:0}.scenario strong{display:block;font-size:10px;white-space:nowrap}.scenario small{display:block;font-size:8px;color:#738680;margin-top:5px}.scenario.active{background:#dceee5;border-color:#73afa1;box-shadow:inset 0 0 0 1px #73afa1}.hint{font-size:9px;color:#83908a;line-height:1.55;margin:9px 0 0}.field-selector{display:flex;gap:6px}.field-selector button{flex:1;background:#fff;border:1px solid var(--line);border-radius:3px;height:34px;font-size:11px;font-weight:800;color:#40625d}.field-selector button.active{background:var(--deep2);color:#e8f2e7;border-color:var(--deep2)}.selected-summary{display:flex;align-items:center;justify-content:space-between;margin-top:13px;gap:6px}.selected-summary strong{display:block;font-size:11px;letter-spacing:.06em}.selected-summary small{display:block;font-size:8px;color:#85928b;letter-spacing:.09em;margin-top:3px}.status-tag{font-size:8px;color:#7e8274;background:#ecefe5;padding:7px 7px;border-radius:3px;font-weight:800;white-space:nowrap}.status-tag.warning{background:#f8e3d7;color:#a45739}.status-tag.good{background:#d9f1e7;color:#287768}.metric-duo{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.metric-duo>div{background:#eff2eb;border:1px solid #e1e6dc;padding:11px 10px;border-radius:3px}.metric-duo small,.weather-strip small{font-size:8px;letter-spacing:.08em;font-weight:700;color:#82918b}.metric-duo strong{display:block;color:#244d4f;margin-top:6px;font-size:22px;line-height:1}.metric-duo strong span{font-size:9px;color:#7c9088}.control-label{font-size:9px;letter-spacing:.07em;font-weight:800;color:#2a4c4c;display:flex;justify-content:space-between;margin:18px 0 8px}.control-label span{color:#ad734f}.gate-control{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.gate-control button{padding:9px 3px;border:1px solid #d5ddd7;background:#fff;color:#5c736f;font-size:9px;border-radius:3px;font-weight:700}.gate-control button.active{background:#1c5758;color:#fff;border-color:#1c5758}.gate-note{background:#edf3ee;border-left:2px solid #79a89b;padding:9px 10px;margin-top:9px;font-size:9.5px;color:#69807a;line-height:1.6;min-height:48px}.slider-group{margin:17px 0}.slider-caption{display:flex;justify-content:space-between;font-size:10px;font-weight:700;color:#41605b}.slider-caption b{color:#b7744e}.slider-group input{width:100%;margin:13px 0 0;accent-color:#327f74;cursor:pointer}.range-labels{display:flex;justify-content:space-between;color:#9aa49b;font-size:8px}.primary-action{width:100%;display:flex;align-items:center;justify-content:space-between;background:#c17d55;border:1px solid #ad704e;color:#fff;font-size:9.5px;letter-spacing:.065em;font-weight:800;border-radius:3px;padding:13px 12px;margin-top:11px}.primary-action:hover{background:#ad6945}.primary-action>span:first-child{font-size:16px}.secondary-action{width:100%;margin-top:11px;padding:12px 10px;display:flex;justify-content:space-between;border:1px solid #99bcb1;background:#eaf4ec;color:#316d60;font-size:9px;font-weight:800;text-align:left;border-radius:3px}.secondary-action span{font-size:8px;font-weight:600;color:#6a988b}.steward-row{display:flex;align-items:center;justify-content:space-between}.steward-row strong{font-size:10px}.steward-row small{display:block;font-size:9px;color:#8a948e;margin-top:4px}.steward-row>strong{color:#31816e;font-size:15px}.budget-row{display:flex;justify-content:space-between;color:#75827b;font-size:9px;letter-spacing:.1em;margin-top:15px}.budget-row b{color:#2b5656;font-size:13px}.scene-panel{position:relative;min-width:0;overflow:hidden;background:#bad4c9}.scene-panel:after{content:"";pointer-events:none;position:absolute;inset:0;border:9px solid #f7f7eb00}#renderHost,#sceneCanvas{position:absolute;inset:0;width:100%;height:100%}#sceneCanvas{display:block;touch-action:none;cursor:grab}#sceneCanvas:active{cursor:grabbing}.label-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.scene-top{position:absolute;top:23px;left:23px;right:23px;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.view-title,.view-meta{font-size:9px;letter-spacing:.14em;font-weight:800;background:#f7f7ecdf;color:#335553;padding:10px 12px;border:1px solid #c6d2c9b5;border-radius:2px;backdrop-filter:blur(7px)}.view-title b{color:#c17d55}.view-meta{color:#34665a}.live-dot{background:#5b9b81}.scene-bottom-left{position:absolute;bottom:68px;left:24px;display:flex;align-items:flex-end;gap:12px;pointer-events:none}.compass{height:71px;width:43px;border-radius:30px;background:#f5f5eaca;border:1px solid #b1c5b8;display:flex;align-items:center;flex-direction:column;padding:6px;color:#2a504e;font-size:8px;font-weight:900;gap:4px}.compass .needle{height:26px;width:3px;background:#be734e;transform-origin:50% 50%;transform:rotate(0);position:relative}.compass .needle:before{content:"";position:absolute;top:-6px;left:-4px;border:5px solid transparent;border-bottom:8px solid #be734e}.compass small{font-size:8px}.scene-help{font-size:8px;line-height:1.8;letter-spacing:.1em;color:#395b58;font-weight:700;text-shadow:0 1px 7px #eff8ee}.scene-help span{color:#af7351}.scene-help b{font-size:7px;letter-spacing:.07em}.view-menu{position:absolute;bottom:19px;left:21px;right:21px;display:flex;gap:5px}.view-menu button{font-size:9px;letter-spacing:.08em;color:#526f6b;background:#f8f8edeb;border:1px solid #b7ccc3;padding:10px 11px;flex:1;font-weight:800;white-space:nowrap;border-radius:3px}.view-menu button span{margin-left:5px}.view-menu button.active{background:#19484a;color:#e4f2e6;border-color:#19484a}.scene-credit{position:absolute;bottom:122px;right:22px;font-size:7px;color:#e6f0e4;letter-spacing:.13em;text-shadow:0 1px 4px #1b4e50}.scene-label{position:absolute;transform:translate(-50%,-100%);padding:5px 8px;border:1px solid #cddfd5;background:#fafcf0ed;font-weight:900;white-space:nowrap;letter-spacing:.04em;font-size:9px;color:#25534f;border-radius:3px;box-shadow:0 4px 14px #063e391b}.scene-label.active{background:#e3ad79;border-color:#d59a67;color:#243f3b}.scene-label:after{content:"";position:absolute;left:50%;bottom:-6px;border:5px solid transparent;border-top:6px solid #fafcf0}.scene-label.active:after{border-top-color:#e3ad79}.toast{position:absolute;top:78px;left:50%;transform:translate(-50%,-10px);pointer-events:none;opacity:0;transition:opacity .18s,transform .18s;background:#183c40eb;color:#fff;border-radius:3px;font-size:10px;padding:10px 14px;max-width:84%;text-align:center;z-index:4}.toast.show{opacity:1;transform:translate(-50%,0)}.day-card{background:#eff2e8;padding:13px 13px 12px;border:1px solid #e2e8db;margin-top:16px}.day-overline,.day-card>small{font-size:8px;letter-spacing:.14em;font-weight:800;color:#748980}.day-row{display:flex;align-items:baseline;gap:10px;margin-top:1px}.day-row strong{font-family:Georgia,serif;font-size:46px;color:#1d4b4b;font-weight:400;letter-spacing:-.06em}.day-row span{color:#84928b;font-size:14px}.progress-track,.timeline-bar{height:5px;background:#d9e1d6;overflow:hidden;margin:5px 0 12px;border-radius:5px}.progress-track div,.timeline-bar div{height:100%;width:0;background:#ba7852;transition:width .2s}.weather-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 24px}.weather-strip>div{padding:8px 1px}.weather-strip b{display:block;font-size:17px;color:#285456;margin-top:5px}.weather-strip b span{font-size:9px;color:#78918b}.objective-copy{font-size:10.5px;color:#72827b;line-height:1.7;margin-top:-1px}.objective-copy strong{color:#345d56}.objectives{margin-top:12px;border:1px solid #e0e6dc;border-radius:3px;background:#fff}.objectives>div{display:flex;align-items:center;gap:8px;padding:10px;font-size:10px;color:#52706a;border-bottom:1px solid #e8ece5}.objectives>div:last-child{border-bottom:0}.objective-icon{color:#94a8a0;font-size:15px}.objectives>div.complete .objective-icon{color:#2a9879}.objectives>div b{margin-left:auto;font-size:9px;color:#385e59}.result-banner{margin-top:12px;padding:12px;background:#e3f1e6;color:#2e6b50;border-left:3px solid #52a079;font-size:10px;line-height:1.5;font-weight:800}.result-banner.failure{background:#f7e9dd;color:#985c3a;border-color:#d08d57}.chart-title{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px;gap:4px}.chart-title strong{color:#3d635b;font-size:9px}.chart-title span{display:flex;align-items:center;gap:3px;white-space:nowrap;color:#82938d;font-size:7px}.chart-title i{display:inline-block;width:7px;height:7px;margin-left:4px;border-radius:2px}.salt-key{background:#bf7b53}.water-key{background:#428e85}.chart-wrap{height:134px;position:relative}#chartCanvas{width:100%;height:100%;display:block}.chart-foot{font-size:7px;letter-spacing:.06em;color:#8b9891;display:flex;gap:7px;margin:7px 0}.event-log{min-height:70px}.log-entry{display:flex;gap:8px;padding:7px 0;border-bottom:1px solid #e9eee7;font-size:9px;line-height:1.45;color:#778881}.log-entry time{color:#b67753;font-weight:900;white-space:nowrap}.log-entry:last-child{border-bottom:0}.download-actions{display:flex;gap:7px}.download-actions button{background:#f1f5ed;border:1px solid #d7e3d6;color:#4c7068;font-size:9px;font-weight:800;padding:10px 7px;border-radius:3px;flex:1}.transport{height:68px;flex:none;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 23px;background:var(--deep);color:#c7d8d0;border-top:1px solid #3b5757}.transport-left,.transport-right{display:flex;gap:8px;align-items:center;white-space:nowrap}.transport button{height:33px;border:1px solid #5a7772;background:#244b4d;border-radius:3px;color:#dfede3;padding:0 12px;font-size:9px;letter-spacing:.07em;font-weight:800}.transport button:hover{background:#376568}.transport button.play{background:#be7e57;border-color:#cf926c;width:35px;padding:0;font-size:14px}.transport #playState{margin-left:5px;font-size:8px;color:#90afa6;letter-spacing:.15em}.timeline{flex:1;display:flex;align-items:center;gap:11px;max-width:460px}.timeline span{font-size:8px;letter-spacing:.08em;color:#8ea8a0}.timeline-bar{flex:1;margin:0;background:#456064}.timeline-bar div{background:#e2ad7b}.foot-signature{font-size:9px;letter-spacing:.1em;color:#dfebdf;margin-left:10px}.foot-signature b{font-size:8px;color:#8aa99d;font-weight:500}.about-dialog{border:1px solid #afc7bc;width:min(520px,calc(100vw - 30px));max-height:88dvh;overflow-y:auto;background:#fbfaf3;color:#284c4a;padding:25px 27px;box-shadow:0 30px 100px #06292c65}.about-dialog::backdrop{background:#092b2bba}.modal-header{display:flex;justify-content:space-between;align-items:center;color:#b27853;font-size:10px;letter-spacing:.17em;font-weight:900}.modal-header button{background:transparent;border:0;font-size:25px;color:#54736a}.about-dialog h2{font-size:31px;line-height:1.08;font-weight:400;font-family:Georgia,serif;max-width:350px}.about-dialog h3{font-size:12px;letter-spacing:.1em}.about-dialog p{font-size:12px;line-height:1.65;color:#667970}.about-dialog a{color:#266f67}.about-dialog .primary-action{margin-top:17px}body.dialog-open{overflow:hidden}
@media (max-width:1280px){.workspace{grid-template-columns:274px minmax(250px,1fr) 270px}.panel{padding:20px 14px}.left-panel h1{font-size:35px}.view-menu button{padding:9px 5px}.view-menu button span{margin-left:2px}.foot-signature b{display:none}}@media (max-width:1020px){.workspace{grid-template-columns:257px minmax(250px,1fr)}.right-panel{display:none}.top-centre{display:none}.foot-signature{display:none}}@media (max-width:730px){html,body{height:auto;min-height:100dvh}.shell{height:auto;min-height:100dvh;overflow:visible}.topbar{height:63px;padding:0 14px}.brand{min-width:0}.brand strong{font-size:15px}.brand small{font-size:7px}.engine-pill{font-size:7px;padding:7px 6px}.workspace{display:flex;flex-direction:column;overflow:visible;min-height:0}.scene-panel{order:0;height:min(65svh,530px);min-height:380px}.left-panel{order:1;overflow:visible;padding:23px 20px;border-right:0}.right-panel{order:2;display:block;overflow:visible;padding:23px 20px;border-left:0;border-top:1px solid var(--line)}.left-panel h1{font-size:37px}.intro{max-width:600px}.transport{order:1;height:auto;flex-wrap:wrap;gap:10px;padding:12px 14px;position:sticky;bottom:0;z-index:5;box-shadow:0 -3px 22px #12383c23}.transport-left,.transport-right{flex:1;justify-content:center}.timeline{order:3;flex-basis:100%;max-width:none}.transport button{padding:0 11px}.scene-help{display:none}.scene-bottom-left{bottom:59px;left:15px}.scene-top{top:14px;left:12px;right:12px}.view-title,.view-meta{font-size:8px;padding:8px}.scene-credit{bottom:108px;right:10px;font-size:6px}.view-menu{bottom:12px;left:9px;right:9px}.view-menu button{font-size:8px}.view-menu button span{font-size:7px}.chart-wrap{height:180px}.metric-duo strong{font-size:25px}}@media (max-width:390px){.view-menu button{font-size:7px}.view-menu button span{display:block;margin:3px 0 0}.brand strong{font-size:13px}.brand small{font-size:6px}.engine-pill{display:none}.view-meta{font-size:7px}}
