
:root{--ink:#1e3032;--ink-soft:#4b5a58;--cream:#f3f0e9;--paper:#fffefa;--line:#e4e1d8;--green:#315f51;--lime:#cbe27f;--magenta:#a65b65;--gold:#e5ba72;--muted:#87918b;--shadow:0 10px 40px rgba(43,48,45,.055)}*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:14px/1.5 'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #b87773;outline-offset:3px}a{color:inherit}.app-shell{min-height:100vh}.site-header{height:65px;background:#1e3032;color:#f6f1e6;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1500px)/2));gap:12px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font:800 14px 'Manrope',sans-serif;letter-spacing:.045em}.brand-mark{width:32px;height:32px;border:1px solid #a4b7a8;border-radius:8px;display:grid;place-items:center;font-size:19px}.mark-dot{color:#d5e68f}.brand-regular{font-weight:500}.brand small{font-size:10px;color:#cbe27f}.header-centre,.header-code{font-size:9px;letter-spacing:.19em;font-weight:800;color:#d4d9cd}.header-centre{display:flex;align-items:center;gap:11px}.live-pip{width:7px;height:7px;background:#cbe27f;border-radius:50%;box-shadow:0 0 0 4px #cbe27f20}.small-separator{opacity:.45}.header-right{display:flex;align-items:center;gap:15px}.header-help{height:27px;width:27px;border:1px solid #677a77;background:transparent;color:#d6e3ca;border-radius:50%;font-weight:700}.page{max-width:1540px;padding:33px 24px 20px;margin:auto}.introduction{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:0 0 29px}.eyebrow,.overline{font-size:10px;font-weight:800;letter-spacing:.18em;color:#778a7d}.eyebrow{display:flex;align-items:center;gap:10px}.eyebrow-line{background:#9cb39d;width:24px;height:1px}.eyebrow .dot{font-size:8px;color:#b8b9a9}.introduction h1{font-family:'Manrope',sans-serif;font-size:clamp(35px,4.5vw,66px);letter-spacing:-.075em;line-height:1.14;font-weight:800;margin:8px 0 2px}.introduction h1 em{font-family:Georgia,serif;font-weight:400;color:var(--magenta);font-size:1.09em;letter-spacing:-.06em}.title-period{color:#d69b69}.intro-copy p{font-size:15px;letter-spacing:.014em;color:#63736c;margin:7px 0 0}.intro-aside{display:flex;gap:12px;align-items:center;max-width:300px;padding-bottom:9px}.passport-icon{height:50px;min-width:50px;border:1px solid #ced8ca;border-radius:50%;font:800 14px 'Manrope',sans-serif;color:#577966;display:flex;align-items:center;justify-content:center;flex-direction:column}.passport-icon span{font-size:8px;letter-spacing:.12em}.intro-aside b{display:block;font-size:10px;letter-spacing:.13em}.intro-aside div:last-child span{display:block;font-size:11px;color:#81918b;margin-top:4px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 338px;gap:18px;align-items:start}.main-column{min-width:0}.visual-card,.metric,.data-card,.notes-card,.learning-card,.control-panel{background:var(--paper);border:1px solid #e7e4dc;box-shadow:var(--shadow)}.visual-card{border-radius:15px;overflow:hidden}.visual-toolbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;gap:8px}.scene-label{font-size:10px;letter-spacing:.15em;font-weight:800;display:flex;align-items:center;gap:8px;white-space:nowrap}.scene-label-icon{font-size:17px;color:#ad736c}.scene-label small{font-size:9px;color:#a1ada3;margin-left:10px;letter-spacing:.1em;font-weight:600}.camera-buttons{display:flex;gap:2px}.camera{border:0;background:transparent;color:#85918c;padding:9px 8px;border-radius:5px;font-weight:700;font-size:10px;white-space:nowrap}.camera.active{background:#e5ecdf;color:#315d50}.viewport{position:relative;height:clamp(370px,38vw,535px);background:linear-gradient(180deg,#a6cbca,#d8d9c5 66%,#aeab83);overflow:hidden;touch-action:pan-y}.three-mount,#fallbackCanvas{position:absolute;inset:0;width:100%;height:100%;display:block}.three-mount canvas{display:block;width:100%;height:100%;touch-action:none}.three-mount{z-index:2;pointer-events:none;opacity:0;transition:opacity .25s}.three-mount.ready{opacity:1;pointer-events:auto}#fallbackCanvas{z-index:1;touch-action:none}.scene-gradient{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(180deg,rgba(25,48,48,.12),transparent 19%,transparent 80%,rgba(27,47,45,.26))}.viewport-top-left{position:absolute;left:20px;top:20px;pointer-events:none;z-index:4}.live-tag{font-size:9px;letter-spacing:.15em;color:#eaf5ed;background:#203c3dcb;padding:8px 11px;border-radius:3px;font-weight:800;display:inline-flex;gap:8px;align-items:center}.live-tag span{width:5px;height:5px;border-radius:50%;background:#cde88c}.view-subline{margin-top:8px;color:#fff;text-shadow:0 1px 6px #425858;font-size:12px;font-weight:600}.viewport-bottom{position:absolute;bottom:15px;left:19px;right:19px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#f3f9ec;text-shadow:0 1px 5px #345}.render-status,.orbit-hint{font-size:9px;letter-spacing:.09em;font-weight:800}.orbit-hint{opacity:.85}.hint-divider{margin:0 3px}.inspect-card{position:absolute;right:20px;top:62px;max-width:266px;background:#fffef1f2;box-shadow:0 10px 40px #19382b50;color:#203834;border:1px solid #e5e9dc;border-radius:8px;z-index:6;padding:16px 19px}.inspect-card[hidden]{display:none}.inspect-card button{position:absolute;right:11px;top:8px;border:0;background:none;font-size:19px;color:#54665d}.inspect-card>span{display:block;color:#8b9a88;font-size:9px;font-weight:800;letter-spacing:.17em}.inspect-card strong{display:block;font:800 17px 'Manrope',sans-serif;margin-top:7px}.inspect-card p{margin:8px 0 0;font-size:12px;color:#69766a;line-height:1.55}.visual-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px 13px}.weather-read{display:flex;align-items:center;gap:10px}.weather-read>span{font-size:23px;color:#cf986c}.weather-read b{display:block;font-size:12px}.weather-read div span{display:block;font-size:10px;color:#91a198}.visual-footer-right{display:flex;align-items:center;gap:12px}.mode-button{background:#edf2e9;border:1px solid #dbe5d7;color:#587464;border-radius:5px;padding:7px 8px;font-size:9px;font-weight:800;letter-spacing:.09em}.foot-separator{width:1px;height:18px;background:#dce5dc}.clock-label{font-size:10px;font-weight:800;letter-spacing:.08em}.clock-label i{font-weight:400;font-style:normal;color:#a2b3a5;margin:0 4px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}.metric{border-radius:11px;padding:16px 15px;min-width:0}.metric-heading{font-size:9px;letter-spacing:.07em;color:#8d9b92;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:4px}.metric-icon{font-size:15px;color:#8b9b8f}.metric-number{display:flex;align-items:baseline;gap:4px;margin-top:13px}.metric-number strong{font:800 clamp(25px,2.5vw,35px)/1 'Manrope',sans-serif;letter-spacing:-.06em}.metric-number span{font-size:13px;font-weight:700;color:#a3aca6}.metric-note{font-size:10px;color:#a2aea3;margin-top:8px;min-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-track{height:3px;background:#edf0e9;border-radius:5px;margin-top:14px;overflow:hidden}.metric-track span{display:block;height:100%;background:#6f9e82;transition:width .22s}.danger-track span{background:#c69a72}.score-metric{background:#294c43;color:#ecf4e8;border-color:#294c43}.score-metric .metric-heading,.score-metric .metric-note,.score-metric .metric-icon{color:#b5cdb9}.score-metric .metric-number span{color:#9cb9aa}.score-metric .metric-track{background:#446b5b}.score-metric .metric-track span{background:#d3e798}.data-card,.notes-card,.learning-card{border-radius:12px}.data-card{margin-top:14px;padding:20px 20px 14px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.section-heading h2,.learning-card h2{font:800 19px 'Manrope',sans-serif;letter-spacing:-.045em;line-height:1.3;margin:4px 0 0}.chart-legend{display:flex;gap:13px;flex-wrap:wrap;align-items:center;padding-top:5px}.chart-legend span{font-size:9px;color:#819187;white-space:nowrap}.chart-legend i{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:4px}.legend-temp{background:#c48166}.legend-moist{background:#6ca4a1}.legend-flavour{background:#849d66}.chart-wrap{height:175px;margin-top:15px}#historyCanvas{height:100%;width:100%;display:block}.chart-bottom{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.06em;color:#a7b0a9;font-weight:700;margin-top:6px}.chart-bottom span:last-child{color:#71897c}.bottom-duo{display:grid;grid-template-columns:1.12fr 1fr;gap:13px;margin-top:14px}.notes-card,.learning-card{padding:19px 20px;min-height:225px}.text-action{color:#547565;border:0;background:none;font-size:9px;font-weight:800;letter-spacing:.05em;padding:8px 0}.journal{display:flex;flex-direction:column;gap:10px;margin-top:18px;max-height:175px;overflow:auto;padding-right:5px}.journal-entry{display:flex;align-items:baseline;gap:12px;font-size:11px;color:#5c7065}.journal-entry time{font-size:9px;color:#acb8ae;font-weight:800;min-width:47px}.journal-entry p{margin:0;line-height:1.4}.learning-card{background:#e7eee5;border-color:#d7e1d6;position:relative;overflow:hidden}.learning-card:after{content:'✳';position:absolute;font-size:147px;color:#d5e3d0;right:-26px;bottom:-88px;pointer-events:none}.learning-card h2{max-width:250px;margin-top:12px;font-size:22px}.learning-card h2 span{color:#b08169}.learning-card p{font-size:11px;color:#6d8476;max-width:330px;line-height:1.65;position:relative;z-index:1}.read-more{position:relative;z-index:1;font-size:10px;color:#3d6650;font-weight:800;letter-spacing:.07em;border:0;background:transparent;padding:9px 0;display:flex;gap:15px}.control-panel{border-radius:14px;padding:21px 20px 16px;position:relative}.panel-heading .overline{font-size:10px}.panel-heading h2{font:800 24px 'Manrope',sans-serif;letter-spacing:-.055em;margin:4px 0 3px}.mini-sparkle{float:right;color:#b47a67;font-size:20px}.panel-heading p{color:#93a096;font-size:11px;margin:4px 0 0}.stage-overview{background:#eff3ed;border:1px solid #e1e9dd;padding:14px 13px;border-radius:8px;margin-top:21px}.stage-row,.stage-labels{display:flex;justify-content:space-between;gap:5px;align-items:center}.stage-pill{font-size:9px;font-weight:800;letter-spacing:.08em;color:#426e52}.stage-row strong{color:#81988c;font-size:10px}.stage-rail{position:relative;margin-top:13px;width:100%;height:5px;background:#d8e2d7;border-radius:6px;overflow:hidden}.stage-rail-fill{background:#73a17f;height:100%;width:0%;transition:width .2s}.stage-break{position:absolute;top:0;left:46%;height:100%;width:3px;background:#eef3e8}.stage-labels{margin-top:10px;font-size:8px;color:#9aaea1;font-weight:800;letter-spacing:.06em}.setting-block{margin-top:20px;padding-top:17px;border-top:1px solid #e9eae4}.setting-title{font-size:10px;letter-spacing:.09em;font-weight:800;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.setting-info,.stage-tiny{font-size:11px;color:#a5b2a7}.scenario-set{display:flex;gap:5px}.scenario{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #e7e8e1;border-radius:7px;padding:9px 3px 10px;background:#fafaf6;color:#899a8d;font-size:9px;font-weight:700;white-space:nowrap}.scenario span{font-size:18px}.scenario.active{color:#355f51;border-color:#87b69a;background:#edf6e9}.range-line{display:flex;align-items:center;justify-content:space-between;margin-top:13px;gap:5px;font-size:11px;font-weight:700}.range-line small{font-size:9px;color:#9aa59b;font-weight:500;display:block}.range-line output{font-size:11px;font-weight:800;color:#46785d;white-space:nowrap}.control-panel input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:5px;background:linear-gradient(90deg,#85ae89,#d8e2d3);border-radius:8px;display:block;margin:13px 0 0;cursor:pointer}.control-panel input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;background:#fff;border:4px solid #46785f;border-radius:50%;box-shadow:0 2px 4px #3454}.control-panel input[type=range]::-moz-range-thumb{width:9px;height:9px;background:#fff;border:4px solid #46785f;border-radius:50%}.range-ends{display:flex;justify-content:space-between;color:#b2bdb1;font-size:8px;font-weight:800;letter-spacing:.07em;margin-top:7px}.action-secondary{border:1px solid #e1e7de;background:#f5f7f2;border-radius:7px;display:flex;align-items:center;gap:11px;padding:12px 10px;margin-top:17px;width:100%;text-align:left;color:#517562}.action-secondary>span:first-child{font-size:22px;line-height:1;width:24px;text-align:center}.action-secondary>span:nth-child(2){flex:1}.action-secondary b,.toggle-row b{display:block;font-size:11px;color:#335e4d}.action-secondary small,.toggle-row small{display:block;font-size:9px;color:#9aa99a;margin-top:2px}.action-secondary strong{color:#85a293;font-size:10px}.action-secondary:hover,.toggle-row:hover{background:#eaf3e8}.action-footnote{font-size:9px;color:#9aa79d;margin-top:10px;line-height:1.45}.toggle-row{display:flex;align-items:center;justify-content:space-between;width:100%;background:#f9faf5;border:1px solid #e8eee7;border-radius:6px;padding:12px 10px;text-align:left}.toggle-switch{width:36px;height:20px;min-width:36px;border-radius:20px;background:#d3d8d2;padding:3px;transition:background .2s}.toggle-switch i{display:block;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}.toggle-switch.on{background:#639776}.toggle-switch.on i{transform:translateX(16px)}.transport{display:flex;gap:6px}.play-button{height:40px;background:#315d4b;color:#f8fcec;border:1px solid #315d4b;border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px;width:105px;font-size:11px;font-weight:800;letter-spacing:.07em}.play-button:hover{background:#234f3c}.play-button #playIcon{font-size:13px}.step-button{flex:1;border:1px solid #dce6d9;border-radius:6px;background:#f2f7ef;color:#486d58;font-size:10px;font-weight:800}.transport select{width:65px;min-width:65px;color:#526d57;border:1px solid #dfe9db;border-radius:6px;background:#fff;font-size:10px;font-weight:800;padding:0 3px}.timer-line{display:flex;justify-content:space-between;color:#82968a;font-size:9px;font-weight:800;margin:15px 0 9px}.transport-progress{height:3px;border-radius:4px;background:#eef1e9;overflow:hidden}.transport-progress span{display:block;background:#c9b482;height:100%;width:0%}.primary-action{display:flex;align-items:center;justify-content:space-between;width:100%;background:#c6d976;border:1px solid #b0c86c;border-radius:8px;color:#314d38;padding:15px 14px;text-align:left;box-shadow:0 6px 12px #80964d21}.primary-action>span:first-child{font-weight:800;font-size:12px;line-height:1.2}.primary-action small{display:block;font-size:9px;letter-spacing:.12em;color:#75884d;margin-bottom:6px}.primary-action>span:last-child{font-size:22px}.primary-action:hover:not(:disabled){background:#d6e78e}.next-hint{font-size:10px;color:#8e9f91;line-height:1.5;margin-top:10px}.panel-bottom{border-top:1px solid #e9eae4;display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:23px;padding-top:17px}.panel-bottom button{border:0;background:none;font-size:10px;font-weight:800;color:#668a71;letter-spacing:.04em;padding:0}.panel-bottom span{font-size:9px;letter-spacing:.02em;color:#b0bdb1}.site-footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:24px 1px 0;color:#9baba0;font-size:9px;font-weight:700;letter-spacing:.075em}.site-footer i{font-style:normal;color:#b8c2b8}.hidden{display:none!important}.guide-dialog{border:1px solid #d6e0d5;border-radius:16px;padding:0;background:#fffef9;color:var(--ink);max-width:790px;width:calc(100% - 32px);max-height:88vh;box-shadow:0 20px 90px #0a211d59}.guide-dialog::backdrop{background:#132724b8;backdrop-filter:blur(4px)}.guide-head{padding:24px 28px 18px;display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #e2e9dd}.guide-head h2{font:800 26px/1.25 'Manrope',sans-serif;letter-spacing:-.045em;margin:8px 0}.guide-head button{border:0;background:#eef2eb;font-size:24px;width:34px;height:34px;border-radius:50%;color:#547765}.guide-body{overflow-y:auto;max-height:55vh;padding:18px 28px 25px}.guide-body .lead{font-size:14px;line-height:1.65;color:#52695c}.guide-body h3{font:800 15px 'Manrope',sans-serif;margin:18px 0 7px}.guide-body p{font-size:12px;line-height:1.75;color:#667d6d}.guide-body a{color:#377b63;text-underline-offset:3px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-grid article{background:#f0f5ed;border:1px solid #e0e9da;padding:13px;border-radius:8px}.guide-grid article span{font-size:9px;font-weight:800;letter-spacing:.12em;color:#709079}.guide-grid article h3{margin-top:7px}.guide-grid article p{margin:0}.guide-foot{border-top:1px solid #e6ebdf;padding:13px 28px;display:flex;justify-content:flex-end}.guide-foot button{background:#305e4b;color:#fff;border:0;border-radius:6px;font-weight:800;letter-spacing:.07em;padding:12px 15px;font-size:10px}#toast{position:fixed;bottom:21px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#253d35;color:#f6ffed;box-shadow:0 10px 35px #121d1844;padding:12px 18px;border-radius:9px;z-index:1000;font-size:12px;font-weight:700;max-width:calc(100vw - 32px);transition:opacity .25s,transform .25s}#toast.visible{opacity:1;transform:translate(-50%,0)}@media(max-width:1160px){.workspace{grid-template-columns:minmax(0,1fr) 315px;gap:12px}.control-panel{padding:20px 14px}.scene-label small{display:none}.camera{padding:8px 6px}.metric{padding:12px 10px}.metric-heading{font-size:8px}}@media(max-width:900px){.workspace{grid-template-columns:1fr}.control-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.panel-heading,.stage-overview,.panel-bottom{grid-column:1/-1}.setting-block{margin-top:14px}.stage-actions{grid-column:1/-1}.viewport{height:500px}.metric-heading{font-size:9px}.bottom-duo{grid-template-columns:1fr 1fr}}@media(max-width:630px){.site-header{padding:0 14px;height:56px}.header-centre,.header-code{display:none}.page{padding:21px 12px}.introduction{margin-bottom:19px}.introduction h1{font-size:42px}.intro-aside{display:none}.intro-copy p{font-size:12px}.visual-toolbar{height:auto;padding:12px 10px;display:block}.scene-label{margin:0 0 9px 5px}.camera-buttons{justify-content:space-between}.camera{font-size:9px;padding:7px 5px}.viewport{height:clamp(330px,91vw,440px)}.viewport-top-left{top:12px;left:11px}.view-subline{font-size:10px;max-width:220px}.viewport-bottom{left:11px;right:11px;bottom:10px}.orbit-hint{display:none}.inspect-card{top:70px;right:8px;left:8px;max-width:none}.metric-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}.metric{padding:12px}.metric-number strong{font-size:31px}.data-card{padding:17px 12px}.section-heading{display:block}.chart-legend{margin-top:7px}.bottom-duo{grid-template-columns:1fr;gap:8px}.notes-card,.learning-card{min-height:200px}.control-panel{grid-template-columns:1fr;gap:0;padding:18px 16px}.panel-heading,.stage-overview,.panel-bottom,.stage-actions{grid-column:1}.visual-footer{padding:10px 12px}.guide-grid{grid-template-columns:1fr}.guide-head,.guide-body,.guide-foot{padding-left:17px;padding-right:17px}.guide-head h2{font-size:21px}.site-footer span{width:100%;font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behaviour:auto!important;transition:none!important}}
