:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202e2e;background:#f4f6f4;font-size:16px;--ink:#202e2e;--sub:#526461;--line:#d6ded8;--teal:#13796b;--mono:"SFMono-Regular",Consolas,monospace}*{box-sizing:border-box}body{margin:0}button,input{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #e59e32;outline-offset:3px}header{height:62px;padding:0 max(4vw,24px);display:flex;align-items:center;gap:19px;background:#173734;color:#f7fffc}.brand{display:flex;align-items:center;gap:12px;font-size:20px;letter-spacing:-.7px;font-weight:650}.mark{display:flex;gap:3px;transform:skew(-22deg);align-items:center;height:23px}.mark i{display:block;background:#b0eee0;width:5px;height:15px}.mark i:nth-child(2){height:23px}.divider{width:1px;height:20px;background:#516864}.appname{font-size:14px;color:#c2d3cf}.source,.reset,#tree{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:1px solid var(--line);border-radius:6px;font-size:14px;padding:8px 11px}.source{margin-left:auto;color:#e9f4f0;border-color:#58736d}.source:hover{background:#284c47}svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}main{max-width:1580px;margin:auto;padding:28px max(4vw,24px) 32px}.titlebar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.eyebrow,.step-num,.view-title,.viewport-footer,.feature-name code,.numberbox input,.unit,.spacing strong,.rail-label,.details td:last-child{font-family:var(--mono)}.eyebrow{font-size:12px;color:var(--teal);font-weight:650;letter-spacing:.11em}.eyebrow span{color:#8eaaa1;margin:0 5px}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.8px;font-size:clamp(30px,3.1vw,45px);font-weight:600;margin-top:5px;line-height:1.08}h2{font-size:18px;letter-spacing:-.45px;font-weight:610}.tool-tag{font-size:14px;display:flex;align-items:center;gap:8px;background:#e7eeea;padding:8px 12px;border-radius:5px}.tool-tag svg{color:var(--teal)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(265px,24vw,340px);gap:16px}.viewport,aside,.history{border:1px solid #ccd6d0;border-radius:10px;overflow:hidden}.viewport{isolation:isolate;position:relative;min-height:390px;background-color:#e4ece6;background-image:radial-gradient(ellipse at 45% 44%,#f6f8f2aa 1%,transparent 75%),linear-gradient(#819d8a1c 1px,transparent 1px),linear-gradient(90deg,#819d8a1c 1px,transparent 1px);background-size:auto,28px 28px,28px 28px}#scene{position:absolute;inset:0}#scene canvas{display:block;width:100%;height:100%;touch-action:none}.view-title,.view-set,.viewport-footer{position:absolute;z-index:1}.view-title{top:17px;left:18px;display:flex;align-items:center;gap:8px;text-transform:uppercase;font-size:12px;letter-spacing:.06em;color:#35554e}.live,.dot{background:#23816d;width:7px;height:7px;border-radius:50%;display:inline-block}.view-set{right:15px;top:14px;display:flex;gap:3px;padding:3px;background:#f8fbf7e6;border:1px solid #c5d2ca;border-radius:7px}.view-set button,.transport button{display:grid;place-items:center;width:32px;height:30px;background:transparent;border:0;border-radius:4px}.view-set button:hover,.view-set .chosen{background:#d4e5db;color:#0b6455}.viewport-footer{bottom:13px;left:16px;right:16px;display:flex;justify-content:space-between;gap:10px;align-items:center;pointer-events:none;font-size:12px;color:#425a51}.viewport-footer>span{background:#eaf1e9e8;border-radius:4px;padding:4px 6px}.orbit{display:flex;align-items:center;gap:6px;font-family:Inter,-apple-system,sans-serif}.orbit svg{width:15px}.viewport #problem{position:absolute;inset:35% 12% auto;padding:15px;background:white;border:1px solid #afa;border-radius:7px}aside,.history{background:#fcfdfb}aside{padding:20px 21px;display:flex;flex-direction:column}.aside-top,.history-head{display:flex;align-items:center;gap:10px}.section-icon,.title-icon{color:var(--teal)}.tabs{display:flex;background:#ebefeb;padding:3px;border-radius:6px;margin:20px 0 12px}.tabs button{flex:1;font-size:14px;border:1px solid transparent;border-radius:4px;background:transparent;padding:7px 0;color:#465a51}.tabs button[aria-pressed=true]{background:#fff;border-color:#d5dfd7;box-shadow:0 1px 3px #20382d12;color:#165e50;font-weight:600}.feature-name{display:flex;align-items:center;gap:7px;font-size:13px}.feature-name code{font-size:13px}.feature-name span:last-child{margin-left:auto;color:var(--sub)}.dot{width:6px;height:6px}.fieldlabel{font-weight:520;font-size:14px;margin:18px 0 7px}.numberbox{display:flex;align-items:center;border:1px solid #c5d2cb;border-radius:5px;padding:4px;background:#fff;min-height:40px}.numberbox input{border:0;background:transparent;width:1px;flex:1;font-size:16px;padding:3px 7px;appearance:textfield}.numberbox input::-webkit-inner-spin-button{appearance:none}.numberbox button{width:30px;height:28px;background:#f1f4f0;border:0;border-radius:3px;margin-left:3px}.unit{font-size:12px;color:#687c71;margin-right:6px}.spacing{display:flex;justify-content:space-between;align-items:center;color:var(--sub);font-size:14px;padding:13px 0}.spacing strong{font-size:14px;color:var(--teal)}.reset{align-self:flex-start;padding:4px 0;color:#386659;border:0;font-size:13px}.reset:hover,#tree:hover{color:var(--teal);text-decoration:underline}.reset svg{width:14px}.seed{margin-top:16px;border-top:1px solid var(--line);padding-top:14px;display:flex;align-items:center;gap:11px;color:var(--sub);font-size:13px;line-height:1.5}.seed strong{font-size:14px;color:var(--ink)}.seed-icon{background:#e7efea;border-radius:5px;padding:9px;color:var(--teal)}.history{margin-top:16px;padding:17px 22px 14px}.history-head #tree{margin-left:auto;padding:5px 9px;font-size:13px}.current{display:flex;align-items:center;gap:16px;margin:16px 0 10px}.step-num{padding:6px 9px;background:#e3eee8;border-radius:5px;color:#1c6e5d;font-size:13px;white-space:nowrap}.current-copy h3{font-size:16px;font-weight:600}.current-copy p{font-size:14px;color:var(--sub);line-height:1.4;margin-top:3px}.transport{display:flex;align-items:center;gap:3px;margin-left:auto}.transport button{width:30px}.transport #play{border-radius:50%;background:#155e51;width:38px;height:38px;color:white}.transport button:disabled{opacity:.3;cursor:default}.rail{position:relative;display:flex;align-items:center;height:22px}.rail input{width:100%;margin:0;appearance:none;cursor:pointer;background:linear-gradient(90deg,#218572 var(--prog,100%),#cfdad2 var(--prog,100%));height:5px;border-radius:5px}.rail input::-webkit-slider-thumb{appearance:none;width:15px;height:15px;background:#167362;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #167362}.rail input::-moz-range-thumb{background:#167362;border:2px solid white;border-radius:50%;width:12px;height:12px}.rail-label{display:flex;justify-content:space-between;font-size:12px;color:#64766a}dialog{max-width:min(560px,92vw);width:560px;border:1px solid #b6c9bb;border-radius:10px;padding:0;color:var(--ink)}dialog::backdrop{background:#0c251f66}.modal-head{position:sticky;top:0;background:white;display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}#close{font-size:24px;background:none;border:0}#modalbody{padding:14px 20px;max-height:65vh;overflow:auto;font-size:14px;line-height:1.5}.feature-link{display:flex;gap:13px;align-items:center;width:100%;padding:8px;background:white;text-align:left;border:0;border-bottom:1px solid #edf1eb}.feature-link:hover,.feature-link.active{background:#e5efe7}.feature-link small{color:var(--sub);margin-left:auto;font-family:var(--mono)}.feature-link span{font:12px var(--mono);color:var(--teal)}.details{border-collapse:collapse;margin:12px 0;width:100%}.details td,.details th{padding:6px;border-bottom:1px solid var(--line);text-align:left}.details th{color:var(--sub);font-weight:500}#modalbody p+p{margin-top:9px}
@media(min-width:1400px) {.viewport{min-height:48vh}}@media(max-width:780px){main{padding:19px 14px}.workspace{grid-template-columns:1fr}.viewport{min-height:340px;height:48vh}.tool-tag{font-size:12px}.history{padding:14px}.current{gap:10px}.orbit{display:none}.appname,.divider{display:none}aside{padding:16px 18px}.titlebar{gap:10px}.fieldlabel{margin-top:12px}.tabs{margin-top:12px}.current-copy p{font-size:13px}.transport{gap:0}.current{flex-wrap:wrap}.current-copy{flex:1;min-width:140px}.transport button{width:26px}.seed{margin-top:10px}.history{order:1}.workspace{display:contents}main{display:flex;flex-direction:column}.viewport{order:0}aside{order:2;margin-top:14px}.titlebar{order:-1}}@media(max-width:450px){header{padding:0 15px}.titlebar{align-items:start}.tool-tag{font-size:0;padding:8px}.tool-tag svg{width:20px}.step-num{font-size:11px;padding:6px}.transport #play{width:31px;height:31px}}

header{gap:13px}#help{margin-left:auto;background:transparent;color:#e5f3eb;border:1px solid #78988b;border-radius:50%;width:26px;height:26px}.source{margin-left:0}.export-button,.save-step,#tourNext{background:#b5e8d4;color:#123f33;border:1px solid #b5e8d4;border-radius:5px;padding:8px 13px;font-weight:600;font-size:14px}.tool-tag select{color:#205c4b;border:0;background:transparent;font:500 14px Inter,-apple-system,sans-serif;cursor:pointer}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.pair label{display:block;font-size:14px;margin-bottom:6px}.pair .unit{margin-right:3px}.pair .numberbox input{padding-left:4px}#passes{margin-left:auto;border:1px solid #b4cec1;background:#ebf4ed;color:#19634e;border-radius:5px;padding:5px 10px;font-size:13px}.history-head #tree{margin-left:0}#passhud{position:absolute;left:17px;top:43px;background:#fff5d9;border:1px solid #e1c884;font:12px var(--mono);color:#704500;padding:5px 8px;border-radius:4px}.save-step{display:inline-block;text-decoration:none;background:#195f4e;color:white;margin:9px 0}.export-progress{color:#226951;margin:12px 0}#modalbody .error{color:#8b341c}#tour{position:fixed;width:min(306px,calc(100vw - 24px));z-index:20;padding:15px 16px;border-radius:8px;color:white;background:#173e35;box-shadow:0 4px 22px #113c343e}#tour:before{content:"";position:absolute;left:var(--tip,30px);top:-6px;background:#173e35;width:12px;height:12px;transform:rotate(45deg)}#tour.above:before{top:auto;bottom:-6px}#tourstep{font:12px var(--mono);color:#9edac1}#tour h3{font-size:16px;margin:5px 0}#tour p{font-size:14px;line-height:1.43;color:#e0eee6}#tour>div{display:flex;align-items:center;justify-content:space-between;margin-top:12px}#skip{background:transparent;border:0;color:#e3ede6;padding:4px 0;font-size:13px}#tourNext{padding:5px 14px}.tour-target{outline:2px solid #339b74;outline-offset:4px}
@media(max-width:600px){header{padding:0 12px;gap:8px}.brand{font-size:16px;gap:7px}.source{font-size:0;gap:0}.source svg{width:16px}.tool-tag select{font-size:12px}.tool-tag{gap:3px}.titlebar{flex-wrap:wrap}.history-head{gap:6px}.history-head h2{font-size:16px}.history-head #tree,#passes{font-size:12px}.export-button{padding:7px 8px}}

.model-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.reset-original{display:inline-flex;align-items:center;gap:7px;background:#fcfdfb;border:1px solid var(--line);border-radius:5px;padding:8px 11px;font-size:14px;color:#245747}.reset-original:hover{background:#e3eee7}

[hidden]{display:none!important}.model-actions{justify-content:flex-end}#presetlabel{border:1px solid #c4d6c9;background:#f7faf6}
