:root{--ink:#071a1c;--deep:#0b2224;--panel:#0d2426;--panel2:#112c2d;--line:#244343;--muted:#8ca6a1;--text:#e5f1e8;--green:#c5e49c;--teal:#78dbc1;--amber:#deae6a;--red:#e9897f;--dim:#6c8c85;--hdr:72px}
*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text)}body{overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--teal);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--teal)}#app{height:100%;min-height:570px;display:flex;flex-direction:column;overflow:hidden}.masthead{height:var(--hdr);flex:0 0 var(--hdr);display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #254243;background:#081b1d;position:relative;z-index:8}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-symbol{position:relative;width:34px;height:34px;border:1px solid #688c69;border-radius:50%;display:block;transform:rotate(-18deg)}.brand-symbol span{position:absolute;border-top:2px solid #c4e5a0;width:24px;left:4px;transform:rotate(-35deg)}.brand-symbol span:first-child{top:10px}.brand-symbol span:nth-child(2){top:16px;width:19px;left:5px}.brand-symbol span:last-child{top:22px;width:12px;left:6px}.brand-type strong{display:block;font-size:20px;letter-spacing:.15em;font-weight:760;line-height:1}.brand-type small{display:block;letter-spacing:.16em;font-size:8px;margin-top:6px;color:#76978d;font-weight:700}.mast-centre{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;letter-spacing:.12em;font-size:9px;color:#75948c}.mast-centre strong{font-weight:700;color:var(--teal)}.pulse{height:7px;width:7px;background:#a4ddaa;border-radius:50%;box-shadow:0 0 13px #79c899}.mast-right{display:flex;align-items:center;gap:18px}.top-region{font-size:10px;letter-spacing:.12em;font-weight:680;color:#9db4a8}.top-region em{font-style:normal;color:#446861;margin:0 6px}.quiet-btn,.export-btn{border:1px solid #365351;background:transparent;color:#e5eee8;padding:10px 13px;border-radius:5px;font-size:10px;letter-spacing:.1em;font-weight:800}.quiet-btn:hover,.export-btn:hover{border-color:var(--teal)}.export-btn{background:#c7e5ae;color:#102626;border-color:#c7e5ae}.export-btn:hover{background:#e2f2d0}.main-grid{display:grid;grid-template-columns:310px minmax(0,1fr) 294px;min-height:0;flex:1}.left-panel,.right-panel{background:#0b2223;position:relative;z-index:5}.left-panel{border-right:1px solid #2a4847;padding:25px 21px 30px}.right-panel{border-left:1px solid #2a4847;padding:24px 18px 35px}.scroll-panel{overflow-y:auto;scrollbar-color:#355653 #0a2324;scrollbar-width:thin}.eyebrow{color:var(--teal);font-size:10px;letter-spacing:.19em;font-weight:760}.eyebrow i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--teal);vertical-align:2px;margin-right:5px}.left-panel h1{font-size:29px;line-height:1.13;letter-spacing:-.055em;font-weight:740;margin:17px 0 10px}.left-panel h1 em{font-family:Georgia,serif;font-size:28px;font-weight:400;color:var(--green);letter-spacing:-.05em}.lead{font-size:11px;line-height:1.65;color:#9cb3ac;max-width:260px;margin:12px 0 0}.divider-line{height:1px;background:#274541;margin:23px 0 19px}.sec-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.sec-head span{font-size:10px;font-family:ui-monospace,monospace;color:var(--green);border:1px solid #47695c;padding:4px 5px;border-radius:3px}.sec-head h2{font-size:12px;letter-spacing:.01em;margin:0;font-weight:730}.weather-choices{display:grid;gap:6px}.weather-choice{width:100%;display:flex;gap:10px;align-items:center;background:#102c2c;border:1px solid #294946;color:#d9e8df;border-radius:7px;padding:9px 10px;text-align:left;transition:.15s}.weather-choice:hover{border-color:#84b6a6}.weather-choice.active{background:#1b3835;border-color:var(--green);box-shadow:inset 3px 0 var(--green)}.weather-choice>span:nth-child(2){flex:1}.weather-icon{width:30px;height:30px;border-radius:5px;background:#234740;color:var(--green);display:grid;place-items:center;font-size:23px;font-family:serif}.weather-choice strong{font-size:11px;display:block;font-weight:700}.weather-choice small{display:block;color:#93b0a5;font-size:9px;margin-top:2px}.weather-choice b{font-size:9px;color:#83a398;font-weight:500}.input-group{margin-top:19px}.input-group.slim{margin-top:15px}.input-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:11px}.input-label label{color:#b9cfc6}.input-label output{font-weight:750;color:var(--green)}input[type=range]{width:100%;accent-color:#bddd9c;height:4px;cursor:pointer}.input-extremes{font-size:8px;letter-spacing:.13em;display:flex;justify-content:space-between;color:#6f968a;margin-top:6px;font-weight:750}.microcopy{font-size:10px;line-height:1.5;color:#86a59b}.microcopy strong{color:#d7e9de}.brush-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}.brush{min-height:42px;border-radius:6px;border:1px solid #2b504b;background:#122d2d;color:#d0e0d6;text-align:left;display:flex;align-items:center;gap:7px;padding:6px;font-size:9px;font-weight:700}.brush:first-child{grid-column:span 2}.brush:hover{border-color:#97c3ac}.brush.active{border-color:var(--green);background:#2c4940;color:#e6f2d9}.swatch{height:25px;width:27px;display:grid;place-items:center;border-radius:3px;font-size:17px;color:#0f2928;flex:0 0 auto}.swatch.inspect{background:#b1ccc0}.swatch.forest{background:#74a46b}.swatch.agro{background:#b7c887}.swatch.terrace{background:#cbaa74}.swatch.crop{background:#d5bf84}.text-action{background:none;color:#9ed9c5;border:0;font-size:10px;padding:11px 0 0}.text-action:hover{text-decoration:underline}.weir-card{display:flex;gap:10px;border-radius:6px;background:#173432;border:1px solid #2b4b47;padding:10px}.weir-icon{font-size:29px;color:#98cabc}.weir-card strong{display:block;font-size:11px}.weir-card span{display:block;font-size:9px;color:#9bb7a9;line-height:1.5;margin-top:4px}.view-switches{display:flex;gap:3px}.layer{flex:1;border:1px solid #2c504c;background:#132e2e;color:#93b0a8;border-radius:4px;font-size:8px;font-weight:800;padding:9px 4px;white-space:nowrap}.layer.active{background:#b7d6a2;color:#19342b;border-color:#b7d6a2}.check-row{display:flex;gap:10px;align-items:center;color:#a3bdb2;font-size:11px;margin-top:15px}.check-row input{accent-color:#bfe1a1}.disclaimer{border-left:2px solid #7c9580;padding:9px 12px;margin:21px 0 4px;background:#142f2e;font-size:9px;line-height:1.55;color:#9ab3a6}.disclaimer strong{color:#dfe8db}.stage{position:relative;overflow:hidden;min-width:0;background:radial-gradient(ellipse at 53% 47%,#436765 0%,#193b3e 62%,#092329 100%);isolation:isolate}#nativeCanvas,#threeCanvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab}#threeCanvas[hidden]{display:none}canvas.paint-mode{cursor:crosshair!important}canvas.dragging{cursor:grabbing}.stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#051c1c70,transparent 35%),linear-gradient(180deg,#061b1b5c,transparent 19%);z-index:1}.stage-top,.stage-bottom,.timeline,.camera-controls,.compass,.map-marker,.toast{position:absolute;z-index:3}.stage-top{top:26px;left:30px;right:26px;display:flex;align-items:start;justify-content:space-between;gap:12px;pointer-events:none}.kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:#cae9da;text-shadow:0 1px 6px #071a1c}.kicker span{color:var(--green);margin:0 6px}.stage-title{font-size:21px;font-weight:830;letter-spacing:-.03em;margin-top:7px;color:#f0f6ec;text-shadow:0 1px 6px #071a1c}.stage-title span{font-size:11px;font-weight:650;letter-spacing:.1em;color:#b0c5bf}.view-indicator{display:flex;gap:7px;align-items:center;border:1px solid #a6d7bd55;border-radius:30px;background:#0b2b2d99;padding:9px 10px;white-space:nowrap;font-size:9px;letter-spacing:.09em;font-weight:800;color:#d2ebdc}.live-dot{width:7px;height:7px;background:#badea1;box-shadow:0 0 9px #91df90;border-radius:50%}.map-marker{display:none;pointer-events:none;font-size:10px;font-weight:800;letter-spacing:.03em;text-shadow:0 1px 5px #081d1f;gap:7px;align-items:center;transform:translate(-50%,-100%);white-space:nowrap}.map-marker i{height:13px;width:13px;border:2px solid #e7f3c1;border-radius:50%;box-shadow:0 0 0 5px #d0ecb422}.map-marker small{display:block;font-size:8px;letter-spacing:.14em;font-weight:650;color:#bfd3c4;margin-top:3px}.compass{right:22px;top:98px;width:57px;height:57px;background:#0b2c2e9c;border:1px solid #ffffff48;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#d6e4de}.compass>span{position:absolute;top:4px;font-size:10px;color:#e1f5d6;font-weight:800}.compass i{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:22px solid #d9ecb6;position:relative;transform:rotate(0deg)}.compass small{position:absolute;bottom:5px;font-size:8px;color:#8bb1a4}.camera-controls{right:22px;top:169px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px 6px;border:1px solid #d7e6d133;background:#08292bc9;border-radius:7px}.camera-controls span{color:#a0bbb0;font-size:8px;letter-spacing:.1em;margin-bottom:4px}.camera-controls button{color:#c4d9ce;background:transparent;border:1px solid #4a746b;border-radius:4px;width:32px;height:31px;font-size:17px}.camera-controls button.active,.camera-controls button:hover{color:#1c3832;background:#d8eabb}.stage-bottom{left:30px;right:27px;bottom:179px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;pointer-events:none}.stage-bottom button{pointer-events:auto}.time-card{background:#0a282bc7;border:1px solid #b6d2c144;padding:13px 15px;border-radius:7px;min-width:152px}.time-label,.duration{color:#a6bfb4;font-size:9px;font-weight:750;letter-spacing:.13em}.clock-readout{font-variant-numeric:tabular-nums;font-size:27px;letter-spacing:-.05em;font-weight:800;margin:4px 0 2px}.clock-readout span{font-size:12px;font-weight:550;margin:0 5px 0 1px;color:#a8c6b7}.transport{display:flex;gap:5px;align-items:center;pointer-events:auto}.transport button{background:#123337e7;color:#d4e8da;border:1px solid #4c7569;border-radius:5px;padding:12px 13px;font-weight:750}.transport button.play{background:#c8e4a9;color:#1a3a2f;border-color:#c8e4a9;min-width:139px;font-size:11px;letter-spacing:.04em}.transport button:hover{filter:brightness(1.14)}.transport button.play span{margin-left:5px}.speed-controls{background:#0a282bc7;border:1px solid #b6d2c144;padding:10px;border-radius:7px;pointer-events:auto;display:flex;align-items:center;gap:4px}.speed-controls span{font-size:8px;color:#a6c0b2;font-weight:760;letter-spacing:.05em;margin-right:5px}.speed-controls button{font-size:10px;padding:7px;border-radius:4px;background:#204541;border:1px solid #4a7566;color:#b7d5c6}.speed-controls button.active{background:#cce1ad;color:#18352e}.timeline{left:25px;bottom:22px;right:25px;height:142px;padding:12px 17px 9px;background:#082124e8;border:1px solid #72978a65;border-radius:8px;box-shadow:0 6px 30px #031a1d60}.timeline-head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#d0e8d9;font-size:10px;font-weight:770;letter-spacing:.1em}.legend{display:flex;align-items:center;gap:6px;color:#91b1a4;font-size:8px;letter-spacing:.09em}.legend i{width:17px;height:2px;display:inline-block}.legend .actual{background:#9cdec4}.legend .baseline{background:var(--amber);border-top:1px dashed #102426}.timeline canvas{width:100%;height:84px;display:block}.timeline-foot{display:flex;justify-content:space-between;color:#73978d;font-weight:690;font-size:8px;letter-spacing:.06em}.toast{left:50%;top:112px;transform:translateX(-50%);border-radius:5px;background:#d4e7bc;color:#1b3a33;padding:9px 14px;font-size:11px;font-weight:750;opacity:0;pointer-events:none;transition:opacity .2s;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}.toast.show{opacity:1}.side-head{display:flex;justify-content:space-between;align-items:center;color:#87ac9e;font-size:9px;letter-spacing:.14em;font-weight:800;margin-bottom:18px}.node-symbol{color:#c9e4a8}.challenge-card{padding:18px 15px;background:linear-gradient(140deg,#234941,#153532);border:1px solid #547b65;border-radius:8px}.challenge-overline{font-size:9px;color:var(--green);font-weight:830;letter-spacing:.14em}.challenge-card h2{font-size:22px;line-height:1.12;letter-spacing:-.04em;margin:12px 0}.challenge-card h2 em{font-family:Georgia,serif;color:#d5e9a6;font-weight:400}.challenge-card p{font-size:10px;color:#abc7b8;line-height:1.5;margin:0 0 17px}.goal-row{border-top:1px solid #547360;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px 0;color:#d8e9db;font-size:9px;font-weight:750}.goal-status{font-size:8px;letter-spacing:.02em;color:#c9b58e}.goal-status.met{color:#c4ecab}.goal-status.fail{color:#f0a39d}.challenge-footer{color:#c7e3c6;font-size:9px;line-height:1.5;border-top:1px solid #547360;padding-top:12px}.kpi-section{margin-top:24px}.section-mini{display:flex;justify-content:space-between;color:#c4ddcf;font-size:10px;letter-spacing:.12em;font-weight:800;margin-bottom:13px}.section-mini span{color:#729e8f}.kpi{background:#102c2d;border:1px solid #294946;border-radius:6px;padding:14px 13px}.kpi span{display:block;color:#9ebcaf;font-size:10px}.kpi strong{display:block;font-size:25px;line-height:1.25;margin-top:7px;letter-spacing:-.05em;color:#edf6e9;font-variant-numeric:tabular-nums}.kpi small{display:block;color:#7d9f93;font-size:9px;margin-top:4px}.kpi.large{display:flex;justify-content:space-between;align-items:end}.kpi.large strong{font-size:37px;color:#cff0b5}.kpi-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}.kpi-pair .kpi{padding:13px 10px}.kpi-pair .kpi strong{font-size:22px}.sparkbars{display:flex;align-items:end;gap:3px;height:50px;width:55px}.sparkbars i{flex:1;background:#9dcfae88;min-height:2px;border-radius:2px 2px 0 0}.water-budget{margin:18px 0}.budget-head{font-size:10px;color:#a7c7b5;display:flex;justify-content:space-between;margin:13px 0 7px}.budget-head strong{color:#e4eee0}.bar-track{height:6px;background:#244945;border-radius:5px;overflow:hidden}.bar-track>div{height:100%;width:0;background:#9ed7c3;border-radius:5px;transition:width .3s}.bar-track.amber>div{background:#c9af75}.inspection{margin-top:29px;padding-top:17px;border-top:1px solid #34544d}.inspect-title{font-size:13px;font-weight:780;margin:13px 0;color:#e1ebdf}.inspect-grid{display:grid;grid-template-columns:1fr auto;gap:12px 5px;font-size:10px;border:1px solid #294b45;background:#122d2c;border-radius:7px;padding:14px 11px}.inspect-grid span{color:#89aa9f}.inspect-grid strong{text-align:right;color:#d4ebce;font-weight:700}.notes{display:block;position:relative;border-top:1px solid #36554d;padding:20px 2px;margin-top:25px}.notes-icon{border:1px solid #7eac99;border-radius:50%;color:#b9dfbb;height:22px;width:22px;display:grid;place-items:center;font-family:Georgia,serif;font-size:14px}.notes p{font-size:10px;line-height:1.65;color:#96b5a8}.notes button{color:var(--green);font-size:9px;letter-spacing:.08em;background:none;border:0;padding:8px 0;text-align:left;font-weight:750}.notes button:hover{text-decoration:underline}.modal-backdrop{position:fixed;inset:0;background:#021215dc;z-index:20;display:grid;place-items:center;padding:16px}.modal-backdrop[hidden]{display:none}.modal{position:relative;max-width:560px;max-height:min(800px,90vh);width:100%;overflow:auto;background:#102d2d;border:1px solid #739e85;border-radius:12px;box-shadow:0 20px 90px #010a0b;padding:32px}.modal h2{font-family:Georgia,serif;font-weight:400;color:#d5e7b6;font-size:37px;margin:10px 0 22px}.modal-body{font-size:12px;color:#b5cec0;line-height:1.7}.modal-body h3{color:#e6f2dc;font-size:13px;margin-top:18px}.modal-body a{overflow-wrap:anywhere}.close-modal{position:absolute;right:18px;top:15px;border:1px solid #4d7168;background:none;color:#d9e9dc;border-radius:4px;padding:7px 10px}.modal-action{margin-top:20px;border:0;border-radius:5px;background:#cbe8ab;color:#1e3630;font-size:10px;letter-spacing:.1em;font-weight:800;padding:12px 18px}
@media(min-width:1650px){.main-grid{grid-template-columns:344px minmax(0,1fr) 316px}.left-panel{padding:28px 26px}.right-panel{padding:27px 23px}.left-panel h1{font-size:31px}}
@media(max-width:1250px){.main-grid{grid-template-columns:260px minmax(0,1fr) 244px}.left-panel{padding:20px 13px}.right-panel{padding:20px 12px}.left-panel h1,.left-panel h1 em{font-size:24px}.challenge-card{padding:13px 10px}.challenge-card h2{font-size:19px}.stage-bottom{bottom:174px;left:15px;right:15px}.timeline{left:12px;right:12px}.time-card{min-width:120px;padding:10px}.clock-readout{font-size:22px}.transport button{padding:10px}.transport button.play{min-width:100px}.speed-controls span{display:none}.top-region{display:none}.stage-title span{display:none}}
@media(max-width:950px){body{overflow:auto}#app{height:auto;min-height:100vh;overflow:visible}.masthead{position:sticky;top:0}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-template-areas:'stage stage' 'left right'}.stage{grid-area:stage;height:620px;min-height:480px}.left-panel{grid-area:left;border-top:1px solid #325550}.right-panel{grid-area:right;border-top:1px solid #325550}.scroll-panel{overflow:visible}.left-panel h1{font-size:30px}.left-panel h1 em{font-size:29px}.mast-centre{position:static;transform:none}.stage-title span{display:inline}}
@media(max-width:630px){:root{--hdr:60px}.masthead{padding:0 10px}.brand-type strong{font-size:16px}.brand-type small{font-size:6px}.mast-centre{display:none}.mast-right{gap:6px}.quiet-btn{padding:9px}.quiet-btn span,.export-btn span{display:none}.export-btn{padding:9px 12px}.main-grid{display:flex;flex-direction:column}.stage{height:520px;min-height:520px;order:0}.left-panel{order:1;padding:24px}.right-panel{order:2;padding:24px}.stage-top{left:17px;top:18px;right:16px}.stage-title{font-size:16px}.stage-title span{display:none}.kicker{font-size:8px}.view-indicator{font-size:8px}.compass{right:12px;top:82px;width:45px;height:45px}.camera-controls{right:12px;top:137px;padding:5px 4px}.camera-controls button{height:27px;width:27px;font-size:13px}.stage-bottom{bottom:140px;left:10px;right:10px;align-items:center}.time-card{min-width:98px;padding:8px}.time-label,.duration{font-size:7px}.clock-readout{font-size:19px}.clock-readout span{font-size:9px;margin-right:3px}.transport button{font-size:11px;padding:10px 8px}.transport button.play{min-width:100px;font-size:9px}.speed-controls{flex-direction:column;padding:5px}.speed-controls button{font-size:8px;padding:3px 5px}.timeline{bottom:10px;left:10px;right:10px;height:118px;padding:9px}.timeline-head{font-size:8px}.timeline canvas{height:67px}.map-marker{display:none!important}.modal{padding:24px}.modal h2{font-size:29px}.right-panel,.left-panel{border-left:0;border-right:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behaviour:auto!important;transition:none!important}}
