:root{--bg:#0b1515;--panel:#142423;--panel2:#182b29;--line:#29403b;--line2:#3c544c;--text:#edf4ed;--muted:#879b90;--accent:#c5f07b;--teal:#7ddec9;--sand:#cfa87c;--warn:#f0ba77;--sans:'Manrope','DM Sans',system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:13px;-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--accent)}.app-shell{max-width:1880px;margin:auto;min-height:100vh;background:radial-gradient(ellipse 70% 30% at 20% 0%,#1c3027 0%,transparent 70%),var(--bg)}.topbar{height:67px;border-bottom:1px solid #26392f;display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:39px;height:39px;border:1px solid #668d54;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#263f2d,#18271f)}.brand-icon svg{width:28px;height:28px;fill:none;stroke:var(--accent);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.brand-type{display:flex;flex-direction:column;letter-spacing:2px}.brand-type strong{font-size:13px;font-weight:800}.brand-type strong span{color:var(--accent)}.brand-type small{font-size:8px;color:var(--muted);letter-spacing:1.6px;margin-top:4px}.top-centre{color:#94aa9b;font-size:9px;font-weight:700;letter-spacing:1.6px;display:flex;align-items:center;gap:13px}.live-indicator,.readout-dot{width:7px;height:7px;background:#b7e97a;border-radius:100%;box-shadow:0 0 12px #c3eb69}.top-divider{height:15px;width:1px;background:var(--line2)}.top-actions{display:flex;align-items:center;gap:12px}.engine-pill{border:1px solid #416557;border-radius:4px;color:var(--teal);padding:8px 10px;font-size:9px;font-weight:700;letter-spacing:1px}.small-icon-btn{border:1px solid var(--line2);border-radius:50%;width:28px;height:28px;color:var(--text);background:transparent;font-weight:700}.intro{padding:26px 35px 25px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.eyebrow{font-size:9px;letter-spacing:2.6px;font-weight:800;color:var(--accent);display:flex;gap:10px;align-items:center;margin-bottom:13px}.eyebrow-line{width:26px;height:1px;background:var(--accent)}h1,h2,p{margin:0}h1{font-size:clamp(27px,3.1vw,46px);font-weight:800;letter-spacing:-2px;line-height:1.1}h1 em{font-style:normal;color:var(--accent);font-weight:500;margin:0 4px}.intro p{font-size:12px;color:var(--muted);margin-top:9px;letter-spacing:.3px}.header-meta{display:flex;gap:35px;margin-bottom:2px}.header-meta>div{display:flex;flex-direction:column;gap:8px}.header-meta span{font-size:9px;color:#789388;letter-spacing:1.6px;font-weight:700}.header-meta strong{font-size:11px;white-space:nowrap}.header-meta small{font-weight:400;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(260px,290px) minmax(0,1fr) minmax(265px,320px);gap:13px;margin:0 21px}.panel{background:linear-gradient(130deg,#152723,#12201f 70%);border:1px solid var(--line);border-radius:10px;min-width:0;overflow:hidden}.panel-head{padding:23px 22px 18px;border-bottom:1px solid var(--line)}.panel-kicker{font-size:9px;letter-spacing:2px;font-weight:800;color:var(--accent);margin-bottom:9px}.panel-head h2{font-size:19px;font-weight:800;letter-spacing:-.6px;margin-bottom:7px}.panel-head p{color:#9aafa1;font-size:11px;line-height:1.7}.panel-section{padding:21px 19px 19px;border-bottom:1px solid var(--line)}.control-label{font-size:9px;letter-spacing:1.2px;color:#c9d8cb;font-weight:800}.question-icon{display:inline-grid;place-items:center;color:#97b1a1;border:1px solid #718c7d;border-radius:50%;width:13px;height:13px;font-size:9px;margin-left:5px}.panel select{width:100%;padding:11px 12px;background:#213630;border:1px solid #36554b;color:#f0f8f0;border-radius:6px;margin-top:12px;font-size:11px;font-weight:700;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#bad49e 50%),linear-gradient(135deg,#bad49e 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.scenario-detail{color:#8eaa99;font-size:10px;line-height:1.8;margin-top:10px;min-height:49px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.mini-tag{font-size:8px;letter-spacing:1px;color:#718f7c;border:1px solid #375144;padding:4px 6px;border-radius:4px;white-space:nowrap}.tool-list{display:flex;flex-direction:column;gap:7px;margin-top:13px}.tool{display:flex;width:100%;align-items:center;gap:11px;text-align:left;color:var(--text);background:#1a302b;border:1px solid #2c4840;border-radius:7px;min-height:56px;padding:9px}.tool:hover{border-color:#7aa58d;background:#254039}.tool.selected{border-color:#b7df79;background:linear-gradient(90deg,#2b4733,#21372e);box-shadow:inset 3px 0 #b9ef84}.tool-glyph{border:1px solid #628473;border-radius:5px;display:grid;place-items:center;flex:0 0 34px;height:34px;font-size:20px;color:#d0eaa0;background:#2c4637}.tool-glyph.grass{color:#abe59d}.tool-glyph.mulch{color:#dfb382}.tool-glyph.bund{color:#cfa77e}.tool-glyph.dam{color:#b3bcb4}.tool-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.tool-copy strong{font-size:11px;font-weight:700}.tool-copy small{font-size:9px;color:#9aafa1;white-space:nowrap}.tool-price{color:var(--accent);font-size:9px;font-weight:800;white-space:nowrap}.budget-panel{background:rgba(65,102,72,.13)}.budget-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.budget-row>span{font-size:9px;letter-spacing:1.1px;font-weight:800}.budget-row strong{font-size:22px;color:var(--accent)}.budget-row small{font-size:9px;color:#879789}.progress-track{height:5px;background:#293d32;border-radius:20px;overflow:hidden;margin:12px 0}.progress-bar{height:100%;background:linear-gradient(90deg,#6bcb99,#d8fa87);transition:width .25s}.budget-panel p{color:#8eaa99;font-size:9px;line-height:1.75}.text-action{border:0;padding:11px 0 0;color:var(--accent);background:none;font-size:10px;font-weight:700}.toggle-line{display:flex;align-items:center;gap:10px;margin-top:17px;font-size:10px;color:#acbfb2;cursor:pointer}.toggle-line input{position:absolute;opacity:0}.switch{position:relative;width:28px;height:16px;border-radius:20px;background:#3b4b43;flex-shrink:0}.switch:after{content:"";position:absolute;left:3px;top:3px;width:10px;height:10px;background:white;border-radius:50%;transition:transform .2s}.toggle-line input:checked+.switch{background:#659d64}.toggle-line input:checked+.switch:after{transform:translateX(12px)}.panel-footer{color:#7b9387;font-size:8px;letter-spacing:1.2px;padding:20px 18px}.central-area{min-width:0;display:flex;flex-direction:column;gap:11px}.viewport-frame{border:1px solid #35544a;background:#101f20;border-radius:11px;overflow:hidden}.scene-top{height:43px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:#1c302c;border-bottom:1px solid #39574a}.viewport-tag{font-size:9px;letter-spacing:1.2px;font-weight:800}.tiny-eye{color:var(--accent);margin-right:6px;font-size:12px}.viewport-mode{color:#78988d;font-weight:500}.scene-status{font-size:9px;letter-spacing:1.2px;color:#b6dea0;font-weight:800}.viewport{height:clamp(420px,50vw,570px);position:relative;background:radial-gradient(ellipse at 42% 25%,#41655e 0,#273c3e 35%,#122a2c 75%,#0d2022 100%);overflow:hidden;touch-action:none;cursor:grab}.viewport:active{cursor:grabbing}#scene,#fx{width:100%;height:100%;position:absolute;top:0;left:0;display:block}#fx{pointer-events:none}.scene-fog{pointer-events:none;position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 65%,rgba(5,23,23,.36) 100%)}.scene-corner-bl{position:absolute;left:19px;bottom:18px;color:#d5eddf;font-weight:700;font-size:8px;letter-spacing:1.1px;text-shadow:0 1px 8px #142b29}.scene-corner-bl span{color:#9ec28f;margin:0 4px}.compass{position:absolute;right:16px;top:20px;border-radius:50%;width:52px;height:52px;border:1px solid #9ab6a477;background:#0b272c72;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#cde4d3}.compass span{font-size:9px;font-weight:800;color:var(--accent)}.compass-arrow{font-size:21px;transition:transform .15s;line-height:21px}.camera-presets{position:absolute;bottom:20px;right:13px;display:flex;gap:4px;background:#102726bf;border:1px solid #6e8d7b66;border-radius:6px;padding:4px}.camera-presets button{background:transparent;border:0;color:#adbfba;border-radius:4px;padding:8px;font-size:9px;white-space:nowrap}.camera-presets button span{margin-left:4px}.camera-presets button.active{background:#b9e88a;color:#15241d;font-weight:800}.scene-bottom{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;background:#142725;gap:10px}.scene-help{font-size:9px;color:#92a99c}.scene-help span{color:var(--accent);margin:0 4px}.scene-bottom button{font-size:9px;border:1px solid #4d6b5d;color:#cee9d7;background:transparent;padding:8px 9px;border-radius:4px;white-space:nowrap}.scene-toast{position:absolute;top:18px;left:50%;transform:translateX(-50%) translateY(-10px);pointer-events:none;padding:10px 17px;border:1px solid #bde79299;border-radius:5px;background:#112924ed;box-shadow:0 10px 30px #071914aa;color:#e2f8cb;font-size:11px;max-width:75%;text-align:center;opacity:0;transition:opacity .2s,transform .2s}.scene-toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.selection-card{position:absolute;top:80px;left:20px;width:236px;max-width:calc(100% - 100px);background:#152a27f5;border:1px solid #779979;border-radius:8px;box-shadow:0 12px 35px #061c1a99;padding:13px;z-index:2}.selection-card[hidden],.scene-error[hidden]{display:none}.selection-title{font-size:9px;font-weight:800;letter-spacing:1.7px;color:var(--accent);display:flex;align-items:center;justify-content:space-between}.selection-title button{color:#d0e3d7;font-size:19px;border:0;background:none}.selection-card #selection-data{margin:11px 0}.probe-row{display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #3b564d;padding:8px 0;color:#8eaa98}.probe-row strong{color:white}.selection-card #record-sample{width:100%;background:var(--accent);border:0;color:#193026;font-weight:800;font-size:10px;padding:10px;border-radius:5px}.scene-error{position:absolute;inset:15%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#10211ff2;border:1px solid #668f80;border-radius:10px;z-index:4;padding:20px}.scene-error p{max-width:280px;margin-top:10px;color:#a9c6b5}.transport{display:flex;align-items:center;gap:15px;padding:13px 17px;background:#142522;border:1px solid var(--line);border-radius:9px;min-height:72px}.transport-group{display:flex;gap:6px;align-items:center}.play-btn{background:#c5ee84;border:1px solid #c5ee84;color:#1a2c1f;font-weight:800;border-radius:6px;padding:13px 14px;white-space:nowrap;font-size:11px}.secondary-btn,.ghost-btn{background:#263d33;border:1px solid #476550;color:#d3e2d4;border-radius:6px;padding:12px 9px;font-size:10px;white-space:nowrap}.ghost-btn{background:transparent;border-color:#395145;color:#a0b3a6}.timegroup{flex:1;min-width:90px}.time-head{display:flex;justify-content:space-between;margin-bottom:8px;align-items:baseline}.time-head>span,.speedgroup>span{font-size:8px;letter-spacing:1px;font-weight:800;color:#8fa99c}.time-head strong{font-size:12px}.time-head small{font-size:9px;font-weight:400;color:#879b90}.timeline{height:5px;background:#2b4238;border-radius:12px;overflow:hidden}.timeline>div{height:100%;width:0;background:#b9ec7d;transition:width .15s}.speedgroup{display:flex;align-items:center;gap:8px}.speed-buttons{display:flex;border:1px solid #41584c;border-radius:6px;padding:3px;gap:2px}.speed-buttons button{border:0;background:transparent;color:#c1d0c4;font-size:10px;padding:5px 6px;border-radius:4px}.speed-buttons button.active{background:#435d48;color:#e7f6de;font-weight:800}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.metric{border-radius:8px;border:1px solid #2c453d;background:linear-gradient(140deg,#1a2d28,#152522);padding:16px 13px}.metric-label{font-size:9px;letter-spacing:1.1px;color:#9ab1a1;font-weight:800;white-space:nowrap;display:flex;justify-content:space-between;align-items:center}.metric-dot{width:7px;height:7px;background:#7cbdfe;border-radius:50%;display:inline-block;flex-shrink:0}.metric-dot.mint{background:#9aeca6}.metric-dot.water{background:#62d0c9}.metric-dot.copper{background:#e0aa76}.metric>div{display:flex;align-items:baseline;gap:5px;margin:11px 0 6px}.metric strong{font-size:clamp(19px,2vw,27px);letter-spacing:-1px;font-weight:800}.metric div span{color:#a5b8a9;font-size:11px}.metric small{font-size:9px;color:#7c968a;line-height:1.5}.right-panel .panel-section{padding:19px 17px}.chart-section{padding-bottom:15px!important}#chart{height:168px;width:100%;margin:12px 0 0;display:block}.chart-legend{display:flex;gap:13px;font-size:9px;color:#9bb3a4}.leg{width:14px;height:3px;display:inline-block;vertical-align:middle;margin-right:4px;background:#bfe48f}.leg.outflow{background:#6cc9dc}.mission-tag{color:#e8c999;border:1px solid #7b7050;background:#443e2d80;font-size:8px;white-space:nowrap;border-radius:3px;padding:4px 6px;letter-spacing:.3px;font-weight:700}.mission-tag.complete{color:#b8f092;border-color:#5e975c;background:#244c30}.mission-description{font-size:10px;color:#9eafa3;line-height:1.7;margin:12px 0}.goal-list{display:grid;gap:8px}.goal{display:flex;gap:11px;align-items:flex-start;background:#1c322a;border:1px solid #31483b;border-radius:6px;padding:10px}.goal-tick{font-size:17px;color:#97a397;line-height:1}.goal.complete{border-color:#547f54}.goal.complete .goal-tick{color:var(--accent)}.goal strong{display:block;font-size:10px}.goal small{display:block;color:#829e8a;font-size:9px;line-height:1.5;margin-top:5px}.mission-score{margin-top:13px;border:1px solid #425943;border-radius:7px;padding:11px;display:flex;justify-content:space-between;align-items:center;background:#253b2b}.mission-score span{color:#c4d9bf;font-size:9px;font-weight:800;letter-spacing:1.2px}.mission-score strong{color:var(--accent);font-size:24px}.mission-score small{font-size:10px;color:#aebfa7}.journal{max-height:180px;overflow:auto;display:grid;gap:7px;margin-top:12px;scrollbar-color:#3e574a transparent;scrollbar-width:thin}.journal-placeholder{color:#829c8a;font-size:10px;line-height:1.8;padding:8px}.journal-entry{border-left:2px solid #82b57d;background:#1d352d;padding:8px 9px;display:flex;gap:7px;font-size:9px;color:#c2d5c7;line-height:1.5}.journal-entry time{color:#c4e8a4;font-weight:800;white-space:nowrap}.export-actions{display:flex;gap:7px;margin-top:14px}.export-actions button{flex:1;background:#253c32;border:1px solid #4b6553;color:#d2e4d3;padding:9px 4px;font-size:9px;border-radius:4px}.right-footer{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:17px;font-size:8px;letter-spacing:.7px;color:#91aa96}.right-footer strong{color:#b4cfb6;margin-left:auto;font-size:8px}.readout-dot{width:6px;height:6px}.bottom-context{display:flex;gap:23px;align-items:center;margin:17px 21px 0;border:1px solid #2f4940;border-radius:9px;background:#182923;padding:19px 22px}.context-mark{white-space:nowrap;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:1.3px}.bottom-context p{color:#9db2a3;font-size:10px;line-height:1.8;flex:1}.bottom-context strong{color:#d6e8d5}.bottom-context button{border:0;background:transparent;color:var(--accent);white-space:nowrap;font-size:10px;font-weight:800}.site-footer{display:flex;justify-content:space-between;margin:0 21px;padding:26px 0 27px;color:#607d6b;font-size:8px;letter-spacing:1.5px}.site-footer i{font-style:normal;color:var(--accent)}dialog{max-width:570px;width:calc(100vw - 30px);border:1px solid #527966;background:#162723;color:#edf3e9;border-radius:14px;box-shadow:0 24px 100px #000b;padding:23px;max-height:85vh}dialog::backdrop{background:#05120fdc;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;gap:20px}.dialog-top h2{font-size:23px}.dialog-close{font-size:24px;color:#dce5db;background:none;border:0}.dialog-body{overflow:auto;max-height:60vh;padding:17px 0}.dialog-body p{color:#afc4b8;font-size:12px;line-height:1.9;margin-bottom:12px}.dialog-body strong{color:white}.dialog-body h3{font-size:12px;color:var(--accent);margin:16px 0 6px}.dialog-links{display:flex;gap:15px}.dialog-done{border:0;border-radius:7px;background:var(--accent);padding:12px 18px;color:#1c3525;font-weight:800;width:100%}@media(max-width:1450px){.workspace{grid-template-columns:255px minmax(0,1fr) 270px;margin:0 12px;gap:8px}.panel-section{padding:16px 12px}.panel-head{padding:20px 13px}.right-panel .panel-section{padding:16px 12px}.tool{gap:7px;padding:7px}.tool-glyph{flex-basis:30px;height:30px}.transport{gap:9px;padding:10px}.ghost-btn{display:none}.header-meta{gap:17px}.viewport{height:500px}.camera-presets button span{display:none}}@media(max-width:1140px){.workspace{grid-template-columns:255px minmax(0,1fr)}.right-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1.1fr}.right-panel .panel-head{grid-column:1/-1;padding:14px 20px}.right-panel .panel-section{border-right:1px solid var(--line);border-bottom:0}.right-footer{grid-column:1/-1;border-top:1px solid var(--line)}.top-centre{display:none}.intro{padding:21px 18px}.bottom-context{margin:13px 12px}.site-footer{margin:0 12px}}@media(max-width:790px){.topbar{padding:0 14px;height:60px}.brand-type small{letter-spacing:1px}.intro{display:block}.header-meta{margin-top:19px;gap:25px}.workspace{display:flex;flex-direction:column;margin:0 9px}.central-area{order:0}.left-panel{order:1}.right-panel{order:2;display:block}.right-panel .panel-section{border-right:0;border-bottom:1px solid var(--line)}.left-panel .tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tool{min-height:62px}.viewport{height:clamp(380px,73vw,580px)}.transport{flex-wrap:wrap}.timegroup{order:3;flex:1 1 100%;padding-top:6px}.metric-grid{grid-template-columns:repeat(2,1fr)}.bottom-context{display:block}.bottom-context p{margin:12px 0}.site-footer{gap:20px}.scene-help{font-size:8px}.scene-bottom{flex-wrap:wrap}.scene-corner-bl{font-size:7px;bottom:62px}.camera-presets{bottom:11px}.compass{width:42px;height:42px;top:16px}.selection-card{left:10px;top:58px}}@media(max-width:430px){.header-meta{gap:11px;flex-wrap:wrap}.header-meta strong{font-size:9px}.intro h1{font-size:30px}.metric{padding:11px 10px}.metric-label{font-size:8px}.scene-status{font-size:8px}.viewport-tag{font-size:8px}.viewport-mode{display:none}.scene-bottom button{width:100%}.scene-help{line-height:1.6}.scene-corner-bl{left:10px}.scene-corner-bl span{margin:0 1px}.transport-group{flex-wrap:wrap}.speedgroup{margin-left:auto}.play-btn{padding:11px}.camera-presets button{padding:7px}.header-meta>div:last-child{display:none}}
