
:root{color-scheme:dark;--bg:#0b0e12;--panel:#11161b;--line:#ffffff14;--ink:#eef0f3;--muted:#8b949f;--accent:#a5e7bf;--accent-ink:#16271d;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.5}button,input,select{font:inherit}button,select{color:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:1px solid var(--line);background:#ffffff06;border-radius:9px;transition:background .15s,border-color .15s,transform .15s}button:hover{background:#ffffff0d;border-color:#ffffff2e}button:active{transform:translateY(1px)}a{color:inherit}header{height:78px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:27px}.brand{font-size:12px;font-weight:750;letter-spacing:2.7px;white-space:nowrap}.brand span{color:var(--accent)}.divider{height:23px;width:1px;background:var(--line)}.tool-id{font-size:11px;letter-spacing:1.8px;color:var(--muted);white-space:nowrap}.header-actions{display:flex;align-items:center;gap:8px}.header-actions button{min-height:36px;padding:7px 13px;font-size:12px}.reset-icon{font-size:17px;line-height:1;vertical-align:-1px;margin-right:5px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 298px;min-height:calc(100svh - 78px)}.stage-wrap{padding:25px 25px 21px;min-width:0;display:flex;flex-direction:column;gap:15px}.stage-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:3px 3px 0;gap:16px}.eyebrow{margin:0 0 5px;color:var(--accent);font-size:10px;font-weight:650;letter-spacing:2px;text-transform:uppercase}h1{margin:0;font-size:clamp(24px,2.8vw,35px);font-weight:530;line-height:1.2;letter-spacing:-1.1px}.status{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.4px;color:#b9c6bd;text-transform:uppercase;white-space:nowrap;margin-top:10px}.status-dot{height:6px;width:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 9px #a5e7bf28}.status.is-paused .status-dot{background:#8b949f;box-shadow:none}.surface{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line);border-radius:15px;flex:1;min-height:400px;height:calc(100svh - 230px);max-height:1000px;touch-action:none;background:#151b20;cursor:grab;user-select:none;-webkit-user-select:none}.surface.pressing{cursor:crosshair}.surface.dragging{cursor:grabbing}.surface canvas{position:absolute;width:100%;height:100%;inset:0;display:block;pointer-events:none}.scene-tag{position:absolute;z-index:2;top:19px;left:20px;pointer-events:none;font-size:9px;font-weight:550;letter-spacing:2px;color:#a4b3ad99;text-transform:uppercase}.scene-tag span{display:block;margin-top:5px;font-size:10px;letter-spacing:.2px;color:#8b9b95b0;text-transform:none;font-weight:400}.surface-caption{position:absolute;z-index:2;bottom:23px;left:20px;right:20px;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none;color:#b3c2b8b3;font-size:11px;letter-spacing:.15px}.surface-caption b{color:#d7e4dbb8;font-size:12px;font-weight:450}.touch-marker{position:absolute;width:20px;height:20px;margin:-10px 0 0 -10px;border:1px solid #efffffc0;border-radius:50%;box-shadow:0 0 0 5px #ffffff09;pointer-events:none;z-index:3;opacity:0;transition:opacity .15s}.touch-marker.visible{opacity:.8}.stage-footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;gap:16px;padding:0 3px}.stage-footer .keyboard{font-size:9px;letter-spacing:.3px}kbd{font:inherit;color:#bec7d0;border:1px solid #ffffff18;border-radius:4px;padding:2px 5px;background:#ffffff04;margin:0 2px}.controls{background:#10151a;border-left:1px solid var(--line);padding:29px 25px 23px;display:flex;flex-direction:column;gap:26px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.section-label{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#a1aab3;font-weight:600}.section-number{font-size:9px;font-variant-numeric:tabular-nums;color:#59636c}h2{margin:0;font-size:13px;font-weight:550;letter-spacing:0}.subcopy{color:#86919b;font-size:11px;line-height:1.65;margin:10px 0 0}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#080c10;border:1px solid var(--line);border-radius:10px;padding:4px}.segmented button{border:none;background:transparent;padding:9px 7px;font-size:12px;border-radius:6px;color:#929da7}.segmented button[aria-pressed="true"]{background:#24362c;color:#d4f3df;box-shadow:0 1px 3px #0003}.material-select{width:100%;border:1px solid #ffffff1a;border-radius:9px;background:#181e24;padding:11px 12px;font-size:12px;cursor:pointer}.colors{display:flex;align-items:center;gap:11px;margin-top:15px}.swatch{width:28px;height:28px;border-radius:50%;padding:0;border:4px solid #10151a;outline:1px solid transparent;position:relative}.swatch:hover{border-color:#10151a;background:var(--swatch)}.swatch[aria-pressed="true"]{outline-color:var(--swatch)}.swatch::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--swatch);box-shadow:inset 0 1px 3px #ffffff40}.control{margin-top:18px}.range-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:10px;font-size:12px;color:#d1d8de}.range-title output{font-size:10px;font-variant-numeric:tabular-nums;color:var(--accent)}input[type="range"]{width:100%;height:18px;cursor:pointer;accent-color:var(--accent);margin:0;background:transparent}input[type="range"]::-webkit-slider-runnable-track{height:3px;border-radius:5px;background:linear-gradient(to right,var(--accent) 0%,var(--accent) var(--value,50%),#303a40 var(--value,50%),#303a40 100%)}input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:13px;height:13px;border-radius:50%;margin-top:-5px;background:#d5f2e0;border:2px solid #13251c;box-shadow:0 0 0 1px #a5e7bf80}input[type="range"]{-webkit-appearance:none}input[type="range"]::-moz-range-track{height:3px;border-radius:5px;background:#303a40}input[type="range"]::-moz-range-progress{height:3px;border-radius:5px;background:var(--accent)}input[type="range"]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#d5f2e0;border:2px solid #13251c}.range-ends{display:flex;justify-content:space-between;color:#66737e;font-size:9px;margin-top:4px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#d1d8de;margin-top:18px;cursor:pointer}.toggle-row input{width:15px;height:15px;accent-color:var(--accent);cursor:pointer}.primary{width:100%;padding:12px;background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:650}.primary:hover{background:#baf1cf;border-color:#baf1cf}.secondary{width:100%;padding:10px;font-size:12px;margin-top:9px}.how-to{margin-top:auto;padding-top:21px;border-top:1px solid var(--line)}.how-to p{font-size:11px;color:#86939d;line-height:1.75;margin:9px 0 0}.how-to strong{font-weight:500;color:#c5cfd6}.renderer-note{color:#5b6870;font-size:9px;line-height:1.6;margin-top:15px}.toast{position:absolute;left:50%;bottom:82px;transform:translate(-50%,8px);padding:9px 15px;border:1px solid #ffffff18;border-radius:8px;background:#111b1ee8;font-size:11px;color:#dcece3;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;z-index:4;max-width:90%;text-align:center;backdrop-filter:blur(8px)}.toast.visible{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.workspace:fullscreen{background:var(--bg);width:100%;height:100%;overflow:auto}.workspace:fullscreen .surface{height:calc(100svh - 155px)}
@media(min-width:1500px){.controls{padding:32px}.workspace{grid-template-columns:minmax(0,1fr) 328px}.stage-wrap{padding:29px 32px 24px}.stage-heading{padding-top:3px}}
@media(max-width:950px){header{padding:0 20px}.identity{gap:15px}.workspace{grid-template-columns:minmax(0,1fr) 265px}.controls{padding:25px 21px;gap:23px}.stage-wrap{padding:22px 18px 18px}.tool-id{font-size:10px;letter-spacing:1.1px}.header-actions button{padding:7px 10px}.stage-footer .keyboard{display:none}}
@media(max-width:700px){header{height:65px;padding:0 16px;gap:12px}.brand{font-size:10px;letter-spacing:2px}.divider,.tool-id{display:none}.header-actions{gap:5px}.header-actions button{font-size:10px;min-height:34px;padding:6px 9px}.workspace{display:flex;flex-direction:column;min-height:calc(100svh - 65px)}.stage-wrap{padding:21px 13px 15px;gap:16px}.stage-heading{padding:0 3px}.eyebrow{font-size:9px}h1{font-size:27px}.status{font-size:8px;letter-spacing:1px;margin-top:8px}.surface{flex:auto;min-height:420px;height:61svh;max-height:680px;border-radius:12px}.scene-tag{left:16px;top:17px;font-size:8px}.scene-tag span{font-size:9px}.surface-caption{bottom:19px;font-size:10px}.surface-caption b{font-size:11px}.stage-footer{font-size:9px;gap:8px}.controls{border-left:0;border-top:1px solid var(--line);padding:23px 21px;display:grid;grid-template-columns:1fr 1fr;gap:25px 24px}.controls section{min-width:0}.controls .material-section{grid-row:1;grid-column:2}.controls .feel-section{grid-row:2;grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.feel-section .section-head{grid-column:1 / -1;margin-bottom:0}.feel-section .control{margin-top:15px}.feel-section .thickness-control{grid-column:1}.feel-section .toggle-row{grid-column:2;align-self:center;margin-top:20px}.actions-section{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.actions-section .secondary{margin-top:0}.how-to{grid-column:1 / -1;padding-top:18px}.how-to p{max-width:490px}.renderer-note{margin-top:10px}.workspace:fullscreen .surface{height:69svh}.workspace:fullscreen .controls{display:none}.workspace:fullscreen .stage-wrap{height:100svh}.workspace:fullscreen .surface{flex:1;max-height:none}}
@media(max-width:370px){header{padding:0 12px}.brand{font-size:9px}.header-actions button{padding:6px 7px}.controls{gap:24px 17px;padding:21px 17px}.colors{gap:8px}.swatch{width:25px;height:25px}.stage-footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){button,.toast,.touch-marker{transition:none}}
