@font-face{font-family:Geist;src:url(../fonts/Geist-Regular.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Geist;src:url(../fonts/Geist-Medium.woff2)format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Geist Serif;src:url(../fonts/GeistSerif-Regular.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Geist Mono;src:url(../fonts/GeistMono-Regular.woff2)format("woff2");font-weight:400;font-display:swap}:root{--paper:#fbfaf7;--sheet:#fff;--ink:#111511;--body:#444944;--muted:#535753;--quiet:#676b67;--faint:#8d918e;--forest:#1d3a2a;--forest-hover:#2b4f3b;--forest-pressed:#142a1e;--line:#11151117;--line-strong:#1115112e;--tile:#1115110a;--tile-2:#11151117;--radius:7px;--danger:#8a2b1d;--sans:"Geist", ui-sans-serif, system-ui, sans-serif;--serif:"Geist Serif", "Times New Roman", serif;--mono:"Geist Mono", ui-monospace, monospace;--ease:cubic-bezier(.2, 0, 0, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--paper);color:var(--ink);font:400 13px/1.4 var(--sans);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;font-synthesis:none;margin:0}h1,h2,h3,p,ul,dl,dd{margin:0;padding:0}ul{list-style:none}button,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--forest);outline-offset:2px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.app{background:var(--paper);grid-template:"bar bar bar""rail work side"minmax(0,1fr)/48px minmax(0,1fr) 312px;height:100dvh;min-height:0;display:grid}.bar{border-bottom:1px solid var(--line);grid-area:bar;align-items:center;gap:12px;min-height:48px;padding:6px 12px 6px 14px;display:flex}.brand{font:400 20px/1 var(--serif);letter-spacing:-.01em}.brand a{color:inherit;border-radius:4px;text-decoration:none}.scene-name input{width:min(240px,28vw);color:var(--body);text-overflow:ellipsis;background:0 0;border:0;border-radius:6px;padding:5px 7px}.scene-name input:hover{background:var(--tile)}@supports (field-sizing:content){.scene-name input{field-sizing:content;width:auto;min-width:6ch;max-width:min(240px,28vw)}}.bar-saved{color:var(--quiet);font-size:12px}.bar-actions{gap:6px;margin-left:auto;display:flex}.rail{border-right:1px solid var(--line);flex-direction:column;grid-area:rail;align-items:center;gap:2px;padding:8px 0;display:flex}.rail-rule{background:var(--line);width:20px;height:1px;margin:6px 0}.rail-spacer{flex:1}.work{grid-area:work;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.side{border-left:1px solid var(--line);scrollbar-width:thin;flex-direction:column;grid-area:side;min-height:0;display:flex;overflow-y:auto}.pill{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--sheet);height:30px;color:var(--ink);letter-spacing:-.003em;white-space:nowrap;transition:background-color .12s var(--ease), border-color .12s var(--ease), color .12s var(--ease);justify-content:center;align-items:center;padding:0 11px;display:inline-flex}.pill:hover:not(:disabled){background:var(--paper);border-color:#11151147}.pill:active:not(:disabled){background:var(--tile-2)}.pill:disabled{color:var(--faint);border-color:var(--line);background:0 0}.pill.small{border-radius:6px;height:26px;padding:0 9px;font-size:12px}.pill.primary{background:var(--ink);border-color:var(--ink);color:#fff;padding:0 14px;font-weight:500}.pill.primary:hover:not(:disabled){background:#2a2d2a;border-color:#2a2d2a}.pill.primary:active:not(:disabled){background:#000;border-color:#000}.pill.primary:disabled{background:var(--tile-2);color:var(--muted);border-color:#0000;font-weight:400}.pill.wide{width:100%;height:36px}.pill[aria-pressed=true]:not(.primary){background:var(--forest);border-color:var(--forest);color:#fff;font-weight:500}.pill[aria-pressed=true]:not(.primary):hover{background:var(--forest-hover);border-color:var(--forest-hover)}.pill[aria-pressed=true]:not(.primary):active{background:var(--forest-pressed);border-color:var(--forest-pressed)}.pill.primary[aria-pressed=true]{background:var(--forest);border-color:var(--forest)}.pill.primary[aria-pressed=true]:hover{background:var(--forest-hover);border-color:var(--forest-hover)}.pill.primary[aria-pressed=true]:active{background:var(--forest-pressed);border-color:var(--forest-pressed)}.icon-button{border-radius:var(--radius);width:34px;height:34px;color:var(--body);transition:background-color .12s var(--ease), color .12s var(--ease);background:0 0;border:0;place-items:center;display:inline-grid}.icon-button:hover:not(:disabled){background:var(--tile);color:var(--ink)}.icon-button:active:not(:disabled){background:var(--tile-2);color:var(--ink)}.icon-button:disabled{color:#11151140}.icon-button[aria-pressed=true]{background:var(--forest);color:#fff}.icon-button[aria-pressed=true]:hover{background:var(--forest-hover);color:#fff}.icon-button[aria-pressed=true]:active{background:var(--forest-pressed);color:#fff}.icon-button.quiet{width:28px;height:28px;color:var(--quiet)}.icon-button.quiet[aria-pressed=true],.icon-button.quiet[aria-pressed=true]:hover,.icon-button.quiet[aria-pressed=true]:active{color:var(--danger);background:0 0}.icon{width:18px;height:18px;display:block}.stage{touch-action:none;-webkit-user-select:none;user-select:none;background:#f1efe9;min-height:0;position:relative;overflow:hidden}.stage[data-tool=peak],.stage[data-tool=ridge]{cursor:crosshair}.stage[data-tool=pan]{cursor:grab}.stage-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.handle,.reach-handle{touch-action:none;will-change:transform;background:0 0;border:0;border-radius:50%;width:28px;height:28px;margin:-14px 0 0 -14px;padding:0;position:absolute;top:0;left:0}.stage[data-tool=select] .handle{cursor:grab}.stage[data-tool=select] .handle:active{cursor:grabbing}.stage:not([data-tool=select]) .handle{pointer-events:none}.handle:after{content:"";background:var(--sheet);border:1.25px solid var(--forest);transition:transform .1s var(--ease);border-radius:50%;position:absolute;inset:8px}.handle[data-kind=ridge]:after{inset:10px}.handle[data-related]:after{background:#dfe8e2}.handle[data-selected]:after{background:var(--forest);transform:scale(1.15)}.handle[data-disabled]:after{opacity:.4;border-style:dashed}.handle:hover:after{transform:scale(1.2)}.handle:focus-visible{outline-offset:-4px}.stage[data-handles=off] .handle,.stage[data-handles=off] .reach-handle{display:none}.lamp-handle{cursor:grab;touch-action:none;will-change:transform;background:0 0;border:0;border-radius:50%;place-items:center;width:36px;height:36px;margin:-18px 0 0 -18px;padding:0;display:grid;position:absolute;top:0;left:0}.lamp-handle svg{transition:transform .14s var(--ease);display:block}.lamp-handle:hover svg{transform:scale(1.14)rotate(22.5deg)}.lamp-handle:active{cursor:grabbing}.lamp-handle:active svg{transform:scale(.9)rotate(22.5deg)}.lamp-handle:focus-visible{outline-offset:-3px}.stage:not([data-tool=select]) .lamp-handle{pointer-events:none}.reach-handle{cursor:ew-resize}.reach-handle:after{content:"";background:var(--sheet);border:1.25px solid var(--forest);position:absolute;inset:10px;transform:rotate(45deg)}.stage-empty{text-align:center;pointer-events:none;place-content:center;justify-items:center;gap:8px;padding:16px;display:grid;position:absolute;inset:0}.stage-empty h2{font:400 26px/1.15 var(--serif)}.stage-empty p{color:var(--muted);font-size:14px}.stage-empty-actions{pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px;display:flex}.stage-hint{border:1px solid var(--line-strong);background:var(--sheet);max-width:calc(100% - 32px);color:var(--body);pointer-events:none;border-radius:999px;padding:5px 12px;font-size:12px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.status{border-top:1px solid var(--line);min-height:30px;color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:12px;padding:0 10px 0 12px;font-size:12px;display:flex}.status-state{color:var(--ink);white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.status-dot{background:var(--forest);width:7px;height:7px;transition:background-color .16s var(--ease);border-radius:50%}.status-state[data-state=draft] .status-dot{box-shadow:inset 0 0 0 1.25px var(--forest);background:0 0}.status-state[data-state=refining] .status-dot{background:#a7b5ac}.status-state[data-state=stopped] .status-dot{background:var(--danger)}.status-spacer{flex:1}.coordinates{text-align:right;min-width:76px}.status-item{white-space:nowrap}.status-toggle{color:var(--muted);background:0 0;border:0;border-radius:6px;padding:3px 7px}.status-toggle:hover{background:var(--tile-2)}.status-toggle[aria-pressed=true]{color:var(--ink);background:var(--tile-2)}.panel{border-bottom:1px solid var(--line);padding:12px 14px}.panel-head{justify-content:space-between;align-items:center;min-height:28px;margin-bottom:6px;display:flex}.panel-head h2,.dialog-head h2{font:400 16px/1.2 var(--serif)}.panel-actions{gap:2px;display:flex}.count{color:var(--quiet);font-variant-numeric:tabular-nums;font-size:12px}.panel-empty{color:var(--muted)}.source-list{scrollbar-width:thin;max-height:196px;margin:0 -6px;overflow-y:auto}.source-list li{border-radius:7px;align-items:center;gap:2px;min-width:0;display:flex}.source-list li:hover{background:var(--tile)}.source-list li[data-selected]{background:var(--tile-2)}.source-row{text-align:left;background:0 0;border:0;border-radius:7px;flex:1;align-items:center;gap:9px;min-width:0;height:28px;padding:0 6px;display:flex}.source-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.source-name[data-off]{color:var(--quiet);text-decoration:line-through;text-decoration-thickness:1px}.source-mark{border:1.25px solid var(--forest);border-radius:50%;flex:none;width:10px;height:10px}.source-mark[data-kind=ridge]{border-width:1.25px 0 0;border-radius:0;width:12px;height:0}.field{min-width:0;padding:5px 0}.field-row{justify-content:space-between;align-items:center;gap:10px;min-height:26px;display:flex}.field label{color:var(--body);white-space:nowrap}.field-value{align-items:center;gap:5px;min-width:0;display:inline-flex}.field-value code{font:400 12px var(--sans);color:var(--muted)}.field input[type=number],.text-input{background:var(--tile);font-variant-numeric:tabular-nums;border:1px solid #0000;border-radius:6px;min-width:0;height:26px;padding:0 6px}.field input[type=number]{text-align:right;appearance:textfield;width:84px}.field input[type=number]:focus-visible,.text-input:focus-visible{outline-offset:0;background:var(--sheet)}.field input[type=number]::-webkit-inner-spin-button{display:none}.field input:hover{border-color:var(--line-strong)}.text-input{flex:1;width:100%}.field[data-invalid] input{border-color:var(--danger)}.field-unit{color:var(--quiet);font-size:11px}.field-hint{color:var(--muted);margin-top:2px;font-size:12px}.field-error{color:var(--danger);margin-top:2px;font-size:12px}.field-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field-pair input[type=number]{width:100%;min-width:0}.field-pair .field-row{gap:6px}input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:18px;margin:1px 0 0;display:block}input[type=range]::-webkit-slider-runnable-track{background:var(--line-strong);border-radius:1px;height:2px}input[type=range]::-moz-range-track{background:var(--line-strong);border-radius:1px;height:2px}input[type=range]::-moz-range-progress{background:var(--forest);height:2px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--forest);width:13px;height:13px;box-shadow:0 0 0 2px var(--paper);transition:transform .12s var(--ease);border:0;border-radius:50%;margin-top:-5.5px}input[type=range]::-moz-range-thumb{background:var(--forest);width:13px;height:13px;box-shadow:0 0 0 2px var(--paper);border:0;border-radius:50%}input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.15)}input[type=range]:active::-webkit-slider-thumb{transform:scale(.88)}input[type=range]:focus-visible{outline:none}input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--forest);outline-offset:2px}input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--forest);outline-offset:2px}input[type=color]{border:1px solid var(--line-strong);background:0 0;border-radius:5px;width:26px;height:22px;padding:0}input[type=color]::-webkit-color-swatch-wrapper{padding:2px}input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.check{color:var(--body);align-items:center;gap:8px;padding:6px 0;display:flex}.check input{accent-color:var(--forest);width:14px;height:14px;margin:0}.choice{border:0;min-width:0;margin:0;padding:6px 0}.choice legend{color:var(--body);margin-bottom:5px;padding:0}.choice-options{background:var(--tile);border-radius:8px;gap:2px;padding:2px;display:flex}.choice-options label{text-align:center;min-width:0;color:var(--muted);cursor:pointer;border-radius:6px;flex:1;padding:4px 6px;font-size:12px;position:relative}.choice-options label:hover{color:var(--ink)}.choice-options label[data-checked]{background:var(--sheet);color:var(--ink);box-shadow:0 0 0 1px var(--line-strong);font-weight:500}.choice-options input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.choice-options label:has(input:focus-visible){outline:2px solid var(--forest);outline-offset:1px}.advanced{border-top:1px solid var(--line);margin-top:8px;padding-top:6px}.advanced summary{color:var(--body);cursor:pointer;padding:5px 0}.advanced-body{padding-bottom:4px}.row{flex-wrap:wrap;gap:6px;display:flex}.ridge-points{gap:6px;padding-top:4px;display:grid}.seed-row{align-items:flex-end;gap:8px;display:flex}.seed-row .field{flex:1}.seed-row .pill{margin-bottom:5px}.presets{flex-wrap:wrap;gap:4px;padding:2px 0 8px;display:flex}.tabs{border-bottom:1px solid var(--line);background:var(--paper);z-index:2;gap:16px;padding:0 14px;display:flex;position:sticky;top:0}.tabs [role=tab]{font:400 16px/1.2 var(--serif);color:var(--quiet);background:0 0;border:0;padding:10px 0 9px;box-shadow:inset 0 0 #0000}.tabs [role=tab]:hover{color:var(--ink)}.tabs [role=tab][aria-selected=true]{color:var(--ink);box-shadow:inset 0 -1.5px 0 var(--forest)}.tab-body{padding:8px 14px 18px}.tab-body h3{border-top:1px solid var(--line);font:400 14px/1.2 var(--serif);margin:16px 0 4px;padding-top:12px}.report{margin:2px 0 8px;padding:4px 0 8px}.report table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.report th,.report td{text-align:right;border-bottom:1px solid var(--line);padding:4px 0;font-weight:400}.report th[scope=row],.report thead th:first-child{text-align:left;color:var(--body)}.report thead th{color:var(--quiet);font-size:12px}.report td:last-child{color:var(--ink)}.report td:nth-child(2){color:var(--muted)}.report dl{margin-top:6px}.report dl div{justify-content:space-between;gap:10px;padding:3px 0;display:flex}.report dt{color:var(--body)}.report dd{white-space:nowrap;font-variant-numeric:tabular-nums}.report-note{color:var(--muted);margin-top:6px;font-size:12px}.report-wait{color:var(--muted);min-height:40px;padding:8px 0 12px}.export-actions{z-index:1;background:var(--paper);border-top:1px solid var(--line);gap:8px;margin:14px -14px -18px;padding:10px 14px 12px;display:grid;position:sticky;bottom:0}.export-actions .row .pill{flex:1}.export-feedback{color:var(--muted);font-size:12px}.export-feedback:empty{display:none}.inks{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px 0 6px;display:grid}.ink{border-radius:var(--radius);min-width:0;color:var(--muted);transition:background-color .12s var(--ease), color .12s var(--ease);background:0 0;border:1px solid #0000;justify-items:center;gap:5px;padding:7px 0 5px;font-size:11px;line-height:14px;display:grid;overflow:hidden}.ink-chip{border:0 solid;border-radius:50%;width:26px;height:26px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #1115112e}.ink-chip:before{content:"";opacity:.16;background:linear-gradient(135deg,#0000 50%,currentColor 50%);position:absolute;inset:0}.ink-chip:after{content:"";background:currentColor;border-radius:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;position:absolute;top:50%;left:50%}.ink:hover{background:var(--tile);color:var(--ink)}.ink:active{background:var(--tile-2);color:var(--ink)}.ink[aria-pressed=true]{color:var(--ink);font-weight:500}.ink[aria-pressed=true] .ink-chip{box-shadow:0 0 0 2px var(--paper), 0 0 0 3.5px var(--forest)}.ink[aria-pressed=true]:hover .ink-chip{box-shadow:0 0 0 2px var(--paper), 0 0 0 3.5px var(--forest-hover)}.sizes{border-top:1px solid var(--line);gap:1px;margin-top:14px;padding-top:12px;display:grid}.sizes-title{font:400 14px/1.2 var(--serif);margin-bottom:4px}.size{border-radius:var(--radius);text-align:left;min-height:32px;transition:background-color .12s var(--ease);background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;margin:0 -8px;padding:0 8px;display:flex}.size:hover:not(:disabled){background:var(--tile)}.size:active:not(:disabled){background:var(--tile-2)}.size:disabled{color:var(--faint)}.size[aria-busy=true]{background:var(--tile);color:var(--ink);cursor:progress}.size-px{color:var(--muted);white-space:nowrap;font-size:12px}.size:disabled .size-px{color:var(--faint)}.size[aria-busy=true] .size-px{color:var(--forest);font-weight:500}.mobile-tabs{display:none}.side-tabs{flex:1}.notice{z-index:20;background:var(--sheet);border:1px solid var(--line-strong);border-radius:10px;gap:6px;width:min(460px,100vw - 32px);padding:10px 14px;display:grid;position:fixed;bottom:44px;left:50%;transform:translate(-50%);box-shadow:0 1px 2px #11151112,0 6px 16px #1115110d}.notice[data-kind=error]{border-color:var(--danger)}.notice ul{color:var(--body);overflow-wrap:anywhere;padding-left:16px;font-size:12px;list-style:outside}.notice .pill{justify-self:start}.drop{z-index:30;border:1px dashed var(--forest);font:400 22px var(--serif);pointer-events:none;background:#fbfaf7e6;border-radius:12px;place-items:center;display:grid;position:fixed;inset:12px}.dialog{border:1px solid var(--line-strong);background:var(--paper);width:min(860px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--ink);border-radius:12px;padding:18px;box-shadow:0 2px 6px #11151112,0 24px 60px -24px #11151140}.dialog::backdrop{background:#11151133}.dialog-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.dialog-head h2{font-size:22px}.starter-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.starter{border:1px solid var(--line);background:var(--sheet);text-align:left;width:100%;height:100%;transition:border-color .12s var(--ease), background-color .12s var(--ease);border-radius:10px;grid-template-columns:minmax(0,1fr);align-content:start;gap:2px;padding:8px;display:grid}.starter:hover{border-color:#11151147}.starter:active{background:var(--paper)}.starter-numeral{min-width:1.5em;color:var(--quiet);font:400 12px var(--sans);display:inline-block}.starter-numeral:empty{display:none}.starter img,.starter-blank{aspect-ratio:16/10;object-fit:cover;background:var(--paper);width:100%;box-shadow:0 0 0 1px var(--line);border-radius:5px;margin-bottom:6px;display:block}.starter-list li:last-child{grid-column:1/-1}.starter-empty{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px}.starter-empty .starter-blank{width:64px;margin:0}.starter-empty .starter-title,.starter-empty .starter-summary{display:block}.starter-title{font:400 15px/1.2 var(--serif)}.starter-summary{color:var(--muted);font-size:12px}.shortcut-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0 24px;display:grid}.shortcut-list div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0;display:flex}.shortcut-list dd{color:var(--body);text-align:right}kbd{font:400 11px var(--mono);white-space:nowrap}@media (max-width:860px){.app{grid-template:"bar""rail""work"minmax(200px,38dvh)"side"minmax(0,1fr)/minmax(0,1fr)}.bar{flex-wrap:wrap;row-gap:4px;padding:6px 12px}.scene-name{flex:1;min-width:0}.scene-name input{field-sizing:fixed;width:100%;max-width:none}.bar-actions{width:100%;margin-left:0}.bar-actions .pill{flex:1;padding:0 6px}.rail{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;justify-content:flex-start;padding:2px 8px;overflow-x:auto}.rail-rule{width:1px;height:20px;margin:0 4px}.side{border-left:0;border-top:1px solid var(--line)}.tabs{display:none}.mobile-tabs{background:var(--paper);z-index:2;border-bottom:1px solid var(--line);gap:6px;padding:8px 14px;display:flex;position:sticky;top:0}.app[data-mobile-tab=tools] .side-sources,.app[data-mobile-tab=sources] .side-tabs,.hide-narrow{display:none}.starter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.pill,.icon-button{min-height:32px}.status{gap:4px}}@media (max-width:420px){.status{flex-wrap:wrap;row-gap:0;padding:2px 8px 2px 12px}.status-state{flex-basis:100%}.starter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.starter img,.starter-blank{aspect-ratio:4/3}.field input[type=number]{width:72px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.relief-note{margin:0 0 10px}
