:root{color-scheme:dark;--paper:#e9e4d5;--muted:#a8b5ae;--ink:#142120;--line:#3d4b45;--accent:#d6b979;--panel:#1c2a28;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--ink);color:var(--paper)}button,input,select{font:inherit}button,a,input,select{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--accent)}button{cursor:pointer}a{color:inherit}.topbar{height:79px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);position:relative;z-index:2;background:#172421}.back{font-size:13px;text-decoration:none;display:flex;align-items:center;gap:10px;color:#cad4c8}.brand{font-size:10px;font-weight:650;letter-spacing:2px;line-height:1.7;text-align:center}.brand>span{display:block;color:var(--accent);font-size:13px;letter-spacing:2.8px}.brand b{font-size:8px;border:1px solid #6c684d;padding:3px 5px;vertical-align:2px;letter-spacing:1px;margin-left:8px}.edition{font-size:9px;letter-spacing:1.7px;color:var(--muted)}main{display:grid;grid-template-columns:minmax(0,1fr) 330px;height:calc(100dvh - 79px);min-height:420px}.stage{position:relative;min-height:0;overflow:hidden;background:#b7c8c2}.stage-heading{position:absolute;top:36px;left:36px;z-index:1;color:#22372e;pointer-events:none;text-shadow:0 1px 8px #dae2d34d}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:650}.stage-heading h1{font:normal clamp(28px,3.3vw,52px)/1.01 Georgia,serif;letter-spacing:-1.2px;margin:13px 0 12px}.stage-heading p{font-size:11px;margin:0;color:#3d5146}.stage>canvas{width:100%;height:100%;position:absolute;inset:0;display:block;touch-action:none;cursor:grab}.stage>canvas:active{cursor:grabbing}.capability{position:absolute;top:20px;right:22px;z-index:2;display:flex;gap:8px;align-items:flex-start;padding:9px 12px;background:#142522dc;border:1px solid #687b6b5c;border-radius:3px;max-width:290px;box-shadow:0 2px 12px #0b161522}.status-dot{width:6px;height:6px;border-radius:50%;background:#d4b66a;margin-top:5px;flex:none}.capability strong{font-size:10px;font-weight:600}.capability p{font-size:9px;line-height:1.55;color:#c4cdbf;margin:3px 0 0}.capability.ready p{display:none}.capability.ready .status-dot{background:#a5cba3}.capability.error{top:43%;left:50%;right:auto;transform:translate(-50%,-50%);width:min(390px,calc(100% - 40px));max-width:none;padding:23px;box-shadow:0 10px 60px #18372d44}.capability.error strong{font:22px/1.2 Georgia,serif}.capability.error p{font-size:12px;margin-top:12px;line-height:1.7}.capability.error .status-dot{margin-top:9px}.camera-bar{display:flex;gap:4px;position:absolute;bottom:92px;left:50%;transform:translateX(-50%);border:1px solid #dce1d66b;background:#243c32d9;padding:5px;border-radius:4px;white-space:nowrap}.camera-bar button{font-size:10px;padding:9px 12px;color:#e5e6d8;background:transparent;border:0;border-radius:2px}.camera-bar button[aria-pressed=true]{color:#24362c;background:#e4dec8}.camera-bar button:disabled{cursor:default;opacity:.45}.camera-help{position:absolute;bottom:65px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1.2px;color:#2a4035;text-shadow:0 1px 8px #f1ecd8}.camera-help span{padding:0 8px}.stage-note{position:absolute;bottom:0;left:0;right:0;padding:14px 25px;background:#173029da;display:flex;align-items:center;justify-content:space-between;gap:15px}.stage-note>span{font-size:8px;letter-spacing:1.3px;color:#d4c196;white-space:nowrap}.stage-note p{font-size:9px;color:#c3cdc1;margin:0;text-align:right;line-height:1.5}.field-panel{overflow-y:auto;padding:31px 25px 25px;background:var(--panel);border-left:1px solid var(--line)}.panel-intro .eyebrow{color:var(--accent)}.panel-intro h2{font:normal 28px/1.08 Georgia,serif;margin:12px 0 12px;letter-spacing:-.4px}.panel-intro p{font-size:11px;line-height:1.65;color:var(--muted);margin:0 0 25px;max-width:245px}label{font-size:10px;color:#d6ddcf;display:block}.seed-row{display:flex;gap:7px;margin:8px 0 22px}input:not([type=range]),select{color:var(--paper);border:1px solid #4b5a50;background:#142321;border-radius:2px;padding:10px 11px;font-size:11px;min-width:0;width:100%}.seed-row input{font-family:ui-monospace,monospace;letter-spacing:1px}.seed-row button{border:1px solid #4b5a50;background:#263a30;color:var(--accent);font-size:23px;line-height:1;width:39px;flex:none}.range-heading{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.range-heading output{font-size:10px;color:#c0b98f}input[type=range]{width:100%;margin:11px 0 9px;accent-color:#ceb376;cursor:pointer;height:17px}select{margin:9px 0 15px;height:38px}.generate{display:flex;justify-content:space-between;width:100%;background:#d8be83;color:#243126;border:1px solid #e6d2a2;border-radius:2px;padding:12px;font-size:11px;font-weight:600;transition:background .15s}.generate:hover{background:#e7d4a8}.generate:disabled{opacity:.6;cursor:wait}.plan-section{margin-top:26px;padding-top:17px;border-top:1px solid var(--line)}.plan-heading{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.2px;color:#b4bda9;margin-bottom:10px}.plan-heading span+span{color:#9ea996;letter-spacing:.4px}.plan-section canvas{width:100%;height:auto;display:block;background:#3c5142;border:1px solid #546250}.plan-key{display:flex;gap:15px;color:#aebba7;font-size:8px;margin-top:9px}.plan-key span:before{content:"";display:inline-block;width:11px;height:3px;margin-right:5px;vertical-align:2px;background:#c7b58c}.plan-key .key-water:before{background:#6fadae}.plan-key .key-house:before{background:#e2cba1;height:5px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:23px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;color:#e1dfca}.metrics span{display:block;font-size:8px;color:#9ba995;margin-top:4px;line-height:1.5}.lab-footnote{font-size:9px;line-height:1.6;color:#94a590;margin:20px 0 0}@media(min-width:1600px){main{grid-template-columns:minmax(0,1fr) 365px}.field-panel{padding:36px}.stage-heading{top:50px;left:50px}}@media(max-width:950px){.topbar{padding:0 18px;gap:12px}.edition{display:none}.brand{text-align:right}.stage-heading{left:24px;top:28px}.capability{top:auto;bottom:146px;max-width:240px}.capability.error{top:48%;bottom:auto}.stage-note{display:block;text-align:center;padding:11px}.stage-note p{text-align:center;margin-top:5px}.camera-bar{bottom:105px}.camera-help{bottom:77px;font-size:7px}.camera-help span{padding:0 3px}.camera-bar button{padding:9px 7px;font-size:9px}}@media(max-width:700px){main{display:flex;flex-direction:column;height:auto;min-height:0}.field-panel{overflow-y:visible}.topbar{height:71px}.back{font-size:11px}.brand{font-size:8px;letter-spacing:1px}.brand>span{font-size:10px;letter-spacing:1px}.brand b{font-size:7px;margin-left:3px}.stage{min-height:530px;height:66vh;max-height:700px}.stage-heading h1{font-size:35px}.stage-heading p{font-size:10px}.stage-heading .eyebrow{font-size:8px}.field-panel{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 26px;padding:27px 23px}.panel-intro{grid-column:1/-1}.panel-intro h2 br{display:none}.panel-intro p{max-width:480px}.plan-section{margin-top:0;padding-top:0;border-top:0}.metrics{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.lab-footnote{grid-column:1/-1}.capability{right:16px;bottom:155px}.camera-help{font-size:7px;letter-spacing:.6px}}@media(max-width:430px){.topbar{padding:0 13px}.back span{max-width:70px;line-height:1.5}.brand b{display:block;border:0;padding:0;line-height:1.2}.stage{min-height:520px}.stage-heading{left:21px;top:26px}.stage-heading h1{font-size:33px}.field-panel{display:block}.plan-section{margin-top:25px;padding-top:19px;border-top:1px solid var(--line)}.metrics{display:grid;grid-template-columns:1fr 1fr}.camera-bar{width:calc(100% - 28px);justify-content:center}.camera-bar button{flex:1}.camera-help{letter-spacing:.4px}.stage-note>span{font-size:7px}.stage-note p{font-size:8px}.capability.ready{max-width:240px;right:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.back{min-height:44px}.camera-bar button,.seed-row button,.generate,select,input:not([type=range]){min-height:44px}.seed-row button{width:44px}input[type=range]{height:28px;min-height:44px;margin:2px 0 4px}

.fallback-label{position:absolute;z-index:1;top:136px;left:36px;font-size:9px;letter-spacing:1.4px;color:#294434;font-weight:650}.fallback-label span{font-weight:400;letter-spacing:.2px;margin-left:13px;color:#425844}.stage.plan-mode .capability.error{transform:none;left:auto;top:20px;right:22px;bottom:auto;width:290px;max-width:calc(100% - 32px);padding:10px 12px;box-shadow:0 2px 12px #17352c22}.stage.plan-mode .capability.error strong{font:600 10px/1.4 system-ui}.stage.plan-mode .capability.error p{font-size:9px;line-height:1.5;margin-top:3px}.stage.plan-mode .capability.error .status-dot{margin-top:5px}.stage.plan-mode>canvas.fallback-plan{cursor:default;touch-action:auto}.stage.plan-mode .stage-heading h1{font-size:36px}.stage.plan-mode .stage-heading p{font-size:11px}
@media(max-width:950px){.stage.plan-mode .capability.error{top:auto;bottom:60px;right:16px;width:calc(100% - 32px)}.fallback-label{left:24px;top:133px}.stage.plan-mode .stage-heading h1{font-size:31px}}
@media(max-width:700px){.fallback-label{top:123px;left:21px;font-size:8px}.fallback-label span{font-size:8px;margin-left:8px}.stage.plan-mode .capability.error{bottom:62px}.stage.plan-mode .stage-heading h1{font-size:29px}.stage.plan-mode .stage-heading p{font-size:10px}}

.stage.plan-mode .stage-heading{right:28px}.stage.plan-mode .stage-heading h1{font-size:36px;letter-spacing:-.8px}.stage.plan-mode .fallback-label{top:109px}.stage.plan-mode .stage-note{display:none}.stage.plan-mode .capability.error{top:auto;bottom:0;left:0;right:0;max-width:none;width:100%;border-radius:0;padding:12px 22px;min-height:65px}.stage.plan-mode .capability.error p{max-width:760px}.stage.plan-mode .capability.error strong{font-size:10px}
@media(max-width:950px){.stage.plan-mode .stage-heading h1{font-size:29px}.stage.plan-mode .fallback-label{top:108px}.stage.plan-mode .capability.error{bottom:0}}
@media(max-width:700px){.stage.plan-mode .stage-heading h1{font-size:27px;letter-spacing:-.8px}.stage.plan-mode .fallback-label{top:105px}.stage.plan-mode .capability.error{padding:11px 17px;min-height:72px}}

.stage.plan-mode .stage-heading .fallback-label{position:static;top:auto;left:auto;margin:12px 0 0;font-size:9px;line-height:1.6;letter-spacing:1.4px}.stage.plan-mode .stage-heading .fallback-label span{display:inline-block;font-size:9px;line-height:1.6;letter-spacing:.2px;margin-left:13px}
@media(max-width:700px){.stage.plan-mode .stage-heading .fallback-label,.stage.plan-mode .stage-heading .fallback-label span{font-size:8px}.stage.plan-mode .stage-heading .fallback-label span{margin-left:8px}}
