:root{color-scheme:dark;--bg:#171a18;--panel:#20231f;--panel-hover:#292d26;--canvas:#141814;--line:#33382e;--line-soft:#2b3027;--text:#eceee7;--muted:#959d8e;--subtle:#6c7665;--accent:#d4ef9d;--accent-dark:#2c3723;--mono:ui-monospace,SFMono-Regular,Consolas,monospace;--radius:7px;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-size:12px}
select{color-scheme:dark}select option,select optgroup{background:#20271c!important;color:#eceee7!important}select option:checked{background:#405330!important;color:#e8ffd0!important}
.control-type-actions{display:flex;gap:6px;margin-top:8px}.control-type-actions .secondary-button{flex:1;font-size:9px;padding:8px 4px}
.boolean-property{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:11px 0}.boolean-property .checkbox-row{margin:0;flex:1}
.control-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--text);padding:12px 0 2px}.control-switch input{width:34px;height:19px;appearance:none;background:#3c4934;border:1px solid #63754b;border-radius:12px;position:relative;cursor:pointer;padding:0}.control-switch input:before{content:'';position:absolute;left:3px;top:3px;width:11px;height:11px;background:#96a885;border-radius:50%;transition:transform .15s}.control-switch input:checked{background:var(--accent);border-color:var(--accent)}.control-switch input:checked:before{background:#2c3c1d;transform:translateX(15px)}
.control-action-button{width:100%;margin-top:12px;padding:10px}.cut-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.cut-presets button{padding:7px 4px;background:#293521;border:1px solid #4a5f35;border-radius:4px;color:#c3d8ac;font-size:9px}.cut-presets button:hover{background:#3c4e2d;border-color:var(--accent)}.cut-axis-field{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin:12px 0}.cut-axis-field select{width:86px}.control-action-description{font-size:9px;color:var(--muted);line-height:1.6;margin-top:9px}
.creation-actions{padding:10px 0 1px;flex-shrink:0}.creation-actions>.secondary-button{width:100%;justify-content:flex-start;color:var(--accent);background:#d4ef9d08;border-color:#53673d;font-size:11px}.creation-actions>div{display:flex;justify-content:space-between;gap:6px;margin-top:5px}.creation-actions .quiet-button{font-size:9px;gap:5px}.creation-actions .quiet-button svg{width:12px;height:12px}.custom-geometry-panel{padding:17px;border-bottom:1px solid var(--line);background:#d4ef9d04}.custom-geometry-panel>p{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0}.custom-geometry-panel>.secondary-button{width:100%;color:var(--accent);font-size:11px}.custom-geometry-summary{display:flex;justify-content:space-between;gap:7px;font:9px var(--mono);color:var(--muted);margin-bottom:12px}.custom-geometry-summary span:last-child{color:var(--accent)}.geometry-mirrors{display:flex;align-items:center;gap:14px;font-size:10px;color:var(--muted)}.geometry-mirrors button{padding:5px 10px;border:1px solid var(--line)}.custom-shape-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.custom-shape-library button{display:grid;grid-template-columns:32px 1fr;gap:6px 12px;text-align:left;padding:16px;background:#d4ef9d07;border:1px solid #4a5d38;border-radius:7px}.custom-shape-library button:hover{background:#d4ef9d12;border-color:var(--accent)}.custom-shape-library button>span{grid-row:1/3;align-self:center;color:var(--accent)}.custom-shape-library button svg{width:28px;height:28px}.custom-shape-library strong{font-size:12px;font-weight:550;color:var(--text)}.custom-shape-library small{font-size:10px;color:var(--muted)}.formula-icon{font:24px Georgia,serif}.library-label{font:9px var(--mono);letter-spacing:1px;color:var(--muted);margin:24px 0 14px}
@media(max-width:740px){.creation-actions>div{flex-wrap:wrap;justify-content:flex-start;gap:2px 10px}.creation-actions>.secondary-button{font-size:10px;padding:10px 8px}.custom-geometry-panel{padding:14px}.custom-geometry-summary{flex-wrap:wrap}.custom-shape-library button{grid-template-columns:1fr;padding:13px;gap:8px}.custom-shape-library button>span{grid-row:auto}.custom-shape-library small{font-size:9px}}
select{color-scheme:dark}select option,select optgroup{background-color:#20271c!important;color:#eceee7!important}select option:checked{background-color:#405330!important;color:#e8ffd0!important}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:2px solid var(--accent)}button{cursor:pointer}button:disabled{opacity:.3;cursor:default}button,a,input,select{transition:background .15s,border-color .15s,color .15s}button{color:inherit}a{color:inherit}button svg,span[data-icon]>svg{width:17px;height:17px;display:block;flex-shrink:0}input,select,textarea{min-width:0;background:#191d17;border:1px solid var(--line);color:var(--text);border-radius:5px;padding:8px 10px}input:hover,select:hover{border-color:#515c45}input:focus,select:focus{border-color:var(--accent)}input[type=number]{font:11px var(--mono);appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none}input[type=range]{appearance:none;-webkit-appearance:none;height:3px;padding:0;background:#404a36;border:0;border-radius:3px;accent-color:var(--accent);cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px #d4ef9d0c}input[type=range]::-moz-range-thumb{width:10px;height:10px;border:0;border-radius:50%;background:var(--accent)}input[type=color]{padding:0;border:0;width:26px;height:26px;background:none;cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}input[type=checkbox]{accent-color:var(--accent)}select{cursor:pointer;padding-right:22px;font-size:11px}h1,h2,h3,p{margin:0}h1{font-size:14px;font-weight:600}h2{font-size:14px;font-weight:550}h3{font-size:12px;font-weight:550}.topbar{height:72px;display:flex;align-items:center;gap:28px;padding:0 24px;border-bottom:1px solid var(--line);background:#1c201a}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:13px;font-weight:750;letter-spacing:2px;flex-shrink:0}.brand-sub{display:block;color:var(--muted);font-size:8px;font-weight:500;letter-spacing:2.5px;margin-top:5px}.brand-mark{display:grid;place-items:center;color:var(--accent);width:31px}.brand-mark svg{width:28px;height:31px}.project-heading{display:flex;align-items:center;gap:18px;min-width:0}.header-divider{height:28px;width:1px;background:var(--line);margin-right:3px}#project-name{background:transparent;border:1px solid transparent;font-size:13px;font-weight:500;width:154px;padding:8px 5px;text-overflow:ellipsis}#project-name:hover,#project-name:focus{border-color:var(--line)}.local-badge{font:8px var(--mono);color:var(--muted);letter-spacing:.9px;border:1px solid #414937;border-radius:4px;padding:5px 6px;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:22px;margin-left:auto;flex-shrink:0}.history-actions{display:flex;gap:3px;padding-right:21px;border-right:1px solid var(--line)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;padding:6px;border:0;border-radius:5px;background:transparent;color:var(--muted);flex-shrink:0}.icon-button:hover:not(:disabled){background:var(--panel-hover);color:var(--text)}.icon-button.active{color:var(--accent);background:#d4ef9d0b}.primary-button,.secondary-button,.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:6px;padding:10px 14px;font-size:11px;font-weight:550;white-space:nowrap;text-decoration:none}.primary-button{background:var(--accent);color:#253016}.primary-button:hover{background:#e1ffad}.primary-button svg{width:15px;height:15px}.secondary-button{background:transparent;border-color:#414a37}.secondary-button:hover{background:var(--panel-hover);border-color:#66794e}.quiet-button{background:transparent;color:var(--muted);padding:6px 0;font-size:11px}.quiet-button:hover{color:var(--text)}.quiet-button svg{width:15px;height:15px}.text-button{background:none;border:0;padding:0;color:var(--muted);font-size:10px;cursor:pointer}.text-button:hover{color:var(--accent)}.workspace{display:grid;grid-template-columns:244px minmax(260px,1fr) 286px;height:calc(100dvh - 101px);min-height:540px}.panel{background:var(--panel);min-width:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#414a38 transparent}.left-panel{border-right:1px solid var(--line);display:flex;flex-direction:column;padding:0 16px}.panel-heading{display:flex;align-items:center;gap:10px;height:66px;min-height:66px}.panel-heading>.icon-button{margin-left:auto}.count-badge{font:9px var(--mono);color:var(--muted);background:#2d3327;border-radius:4px;padding:4px 6px}.accent-icon{color:var(--accent)}.left-section-label{display:flex;justify-content:space-between;color:var(--subtle);font:8px var(--mono);letter-spacing:1.2px;margin:0 2px 13px}.left-section-label>span:last-child{letter-spacing:0;font:9px var(--mono)}.layers{display:flex;flex-direction:column;gap:5px;max-height:31vh;overflow-y:auto;min-height:46px;scrollbar-width:thin}.layer-row{position:relative;display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:6px;min-height:43px;background:transparent;padding:0 6px}.layer-row.selected{border-color:#566b3d;background:#d4ef9d0b}.layer-row:hover{background:#30362a}.layer-select{border:0;background:none;display:flex;align-items:center;gap:9px;text-align:left;flex:1;min-width:0;padding:10px 1px;font-size:11px}.layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-symbol{color:var(--layer-color,var(--accent));width:22px;flex-shrink:0}.layer-symbol svg{width:22px;height:22px}.layer-row .icon-button{width:25px;height:25px}.layer-row .icon-button svg{width:13px;height:13px}.layer-row.invisible .layer-select{opacity:.35}.layers-empty{color:var(--muted);padding:13px 5px;font-size:11px}.add-shape-button{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;padding:10px;border:1px dashed #4a5540;background:transparent;border-radius:5px;color:#c1cbb6;font-size:11px;margin-top:13px}.add-shape-button:hover{border-color:var(--accent);background:#d4ef9d07}.add-shape-button svg{width:13px;height:13px}.key-hint{margin-left:auto;font:9px var(--mono);padding:2px 4px;border:1px solid #46503b;border-radius:3px;color:var(--subtle)}.add-shape-button>span:first-child{margin-left:auto}.layer-actions{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:10px 0 17px}.layer-actions>div{display:flex}.layer-actions .icon-button{width:25px;height:27px}.layer-actions .icon-button svg{width:14px;height:14px}.layer-actions .quiet-button{font-size:10px;gap:5px}.section-label{display:flex;align-items:center;justify-content:space-between;color:var(--subtle)}.section-label h2{font:8px var(--mono);letter-spacing:1.3px}.section-label svg{width:13px;height:13px}.presets-section{padding:24px 0 23px;border-bottom:1px solid var(--line)}.presets-section>p{font-size:10px;color:var(--muted);margin-top:9px}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.preset-card{background:#191e16;border:1px solid var(--line);border-radius:6px;padding:0;overflow:hidden;text-align:left}.preset-card:hover{border-color:#718255;background:#242e1c}.preset-preview{height:61px;display:grid;place-items:center;background:radial-gradient(ellipse,#35452b44,transparent 75%)}.preset-preview svg{width:76px;height:50px}.preset-card>span:last-child{display:block;font-size:9px;color:#c3cbbd;padding:7px 8px;background:#252b20;border-top:1px solid var(--line-soft)}.preset-card:first-child{grid-column:1/-1;display:flex;align-items:center;height:65px}.preset-card:first-child .preset-preview{width:97px;flex-shrink:0}.preset-card:first-child>span:last-child{padding-left:6px;border:0;background:none;font-size:10px}.preset-card:first-child>span:last-child::after{content:'A little celestial wonder';display:block;font-size:8px;color:var(--subtle);margin-top:5px}.preview-settings{padding:22px 0 10px;margin-top:auto}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#b9c2af;margin-top:16px}.setting-row select{font:9px var(--mono);padding:7px 19px 7px 8px}.setting-row input[type=range]{width:102px}.micro-copy{font-size:9px;line-height:1.65;color:var(--subtle);margin-top:13px}.project-files{display:flex;align-items:center;justify-content:space-between;min-height:51px;border-top:1px solid var(--line);margin-top:8px}.project-files .quiet-button{font-size:10px;gap:6px}.project-files svg{width:14px;height:14px}.canvas-area{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 46%,#242c2080,#111710 90%)}#viewport{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}.canvas-top{position:absolute;top:27px;left:28px;right:23px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;pointer-events:none}.eyebrow{font:8px var(--mono);letter-spacing:1.7px;color:var(--subtle)}.scene-caption h2{font-size:22px;font-weight:430;letter-spacing:-.6px;margin:7px 0 9px;color:#e0e7d7}.scene-caption p{display:flex;align-items:center;gap:6px;color:var(--muted);font:9px var(--mono)}.live-dot,.status-dot{width:5px;height:5px;border-radius:50%;background:var(--accent);display:inline-block;box-shadow:0 0 6px #d4ef9d44}.caption-dot{padding:0 2px;color:var(--subtle)}.view-options{display:flex;align-items:center;gap:7px;pointer-events:auto}.view-options select{border-color:#3b4533;background:#20261dc9;padding:8px;font-size:10px;min-width:101px}.view-options .icon-button{border:1px solid #3b4533;width:31px;height:31px;background:#20261dc9}.canvas-tools{position:absolute;top:96px;right:24px;display:flex;flex-direction:column;gap:7px;border:1px solid #394130;padding:4px;background:#20261daa;border-radius:6px}.canvas-tools .icon-button{width:28px;height:28px}.canvas-tools svg{width:15px;height:15px}.canvas-bottom{position:absolute;bottom:20px;left:92px;right:24px;display:flex;justify-content:space-between;color:#66705f;font:8px var(--mono);pointer-events:none;gap:10px}.canvas-bottom>span:first-child>span{padding:0 6px}.playback-bar{position:absolute;bottom:58px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:11px;padding:9px 12px;background:#252c20e8;border:1px solid #4c583c;border-radius:9px;box-shadow:0 8px 25px #0003;backdrop-filter:blur(14px);max-width:90%;height:48px}.play-button{width:28px;height:28px;border-radius:5px;border:0;background:var(--accent);display:grid;place-items:center;color:#303e1d;flex-shrink:0}.play-button svg{width:14px;height:14px}.playback-bar>.icon-button{width:23px;height:25px;padding:4px}.playback-divider{height:18px;width:1px;background:#4d573e}.time-display{font:10px var(--mono);color:#d6dfca;min-width:51px}.timeline-track{height:3px;width:64px;background:#46513b;overflow:hidden;border-radius:2px}.timeline-track>span{height:100%;display:block;background:var(--accent);width:0}.playback-bar select{padding:4px;border:0;background:none;width:46px;font:10px var(--mono)}.live-label{font:7px var(--mono);color:#869474;letter-spacing:1px;padding-left:4px}.empty-scene{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#141a10b8;padding:25px}.empty-scene[hidden]{display:none}.empty-orbit svg{width:65px!important;height:65px!important;color:var(--accent);margin-bottom:24px;stroke-width:1px}.empty-scene h2{font-size:27px;font-weight:400;letter-spacing:-1px}.empty-scene p{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0 22px}.right-panel{border-left:1px solid var(--line);display:flex;flex-direction:column}.inspector-tabs{display:flex;min-height:55px;height:55px;border-bottom:1px solid var(--line);padding:0 16px;gap:20px}.inspector-tabs>button{background:none;border:0;border-bottom:2px solid transparent;font-size:11px;color:var(--muted);padding:0 4px}.inspector-tabs>button.active{color:var(--accent);border-bottom-color:var(--accent)}#control-count{font:8px var(--mono);background:#343c2c;border-radius:3px;padding:2px 4px;margin-left:5px}.selected-heading{display:flex;align-items:center;gap:11px;padding:19px 17px;border-bottom:1px solid var(--line)}.selected-heading .selected-icon{display:grid;place-items:center;background:#2d3526;border:1px solid #424f35;border-radius:7px;width:36px;height:36px;flex-shrink:0;color:var(--layer-color,var(--accent))}.selected-icon svg{width:23px;height:23px}.selected-heading>div{min-width:0}.selected-heading input{width:100%;padding:2px 3px;margin-left:-3px;background:transparent;border-color:transparent;font-size:12px;font-weight:550}.selected-heading input:hover{border-color:var(--line)}.selected-heading p{font:8px var(--mono);color:var(--subtle);margin-top:5px;text-transform:uppercase;letter-spacing:1px}.property-section{padding:18px 17px;border-bottom:1px solid var(--line)}.property-section h3{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin-bottom:16px}.property-section h3>span{color:var(--subtle)}.property-section h3 svg{width:13px;height:13px}.transform-label{font-size:9px;color:var(--muted);margin-bottom:8px;display:flex;justify-content:space-between}.transform-label:not(:first-of-type){margin-top:13px}.transform-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.axis-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;background:#191d17;overflow:hidden;height:29px;position:relative}.axis-field:focus-within{border-color:var(--accent)}.axis-field span{font:9px var(--mono);padding-left:7px}.axis-field:nth-child(1)>span{color:#d58f7c}.axis-field:nth-child(2)>span{color:#afc68a}.axis-field:nth-child(3)>span{color:#8facce}.axis-field input{width:100%;border:0;background:none;padding:6px 3px 6px 7px;font-size:10px;outline:0}.transform-expose{opacity:0;position:absolute;right:0;top:0;width:18px;height:27px;border:0;background:#303a26;color:var(--accent);font-size:12px}.axis-field:hover .transform-expose,.transform-expose:focus-visible{opacity:1}.property-row{display:grid;grid-template-columns:minmax(0,1fr) 51px 19px;gap:6px;align-items:center;margin-top:14px}.property-row>label{font-size:9px;color:#aeb8a3;display:flex;justify-content:space-between;align-items:center}.property-row label small{font:8px var(--mono);color:var(--subtle);margin-right:5px}.property-row input[type=number]{width:51px;padding:5px 3px;text-align:center;font-size:10px}.property-row>input[type=range]{grid-column:1/-1;margin:1px 0 3px;width:100%}.expose-button{width:19px;height:22px;padding:0;display:grid;place-items:center;background:none;border:0;border-radius:3px;color:var(--subtle)}.expose-button:hover{color:var(--accent);background:#353f2b}.expose-button svg{width:12px;height:12px}.section-note{font-size:9px;color:var(--subtle);line-height:1.6;margin-top:12px}.checkbox-row{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin-top:13px}.checkbox-row input{margin:0}.color-row{display:flex;align-items:center;gap:9px}.color-swatch{width:19px;height:19px;border-radius:50%;border:2px solid transparent;box-shadow:0 0 0 1px #0002;padding:0;background:var(--swatch)}.color-swatch.selected{border-color:var(--panel);box-shadow:0 0 0 1px var(--swatch)}.color-value{font:9px var(--mono);color:var(--muted);margin-left:auto}.inspector-footer{margin-top:auto;min-height:58px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--subtle);font-size:9px;padding:14px}.small-orbit svg{width:14px!important;height:14px!important}.no-selection{padding:45px 25px;text-align:center}.no-selection>svg{color:var(--subtle);width:36px;height:36px;margin-bottom:17px}.no-selection h3{font-size:13px}.no-selection p{color:var(--muted);font-size:11px;line-height:1.8;margin-top:10px}.controls-intro{padding:21px 17px 15px}.controls-intro h3{font-size:13px;letter-spacing:-.2px}.controls-intro p{font-size:10px;line-height:1.7;color:var(--muted);margin:9px 0 16px}.controls-intro .secondary-button{width:100%;border-style:dashed;color:var(--accent);font-size:10px}.control-card{margin:0 14px 12px;padding:13px;background:#191e16;border:1px solid #38442d;border-radius:6px}.control-card .control-context{font:7px var(--mono);letter-spacing:1px;text-transform:uppercase;color:var(--subtle);margin-bottom:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.control-card-heading{display:flex;align-items:center;gap:5px}.control-card-heading>label{flex:1;min-width:0;font-size:11px;color:#d7dfcf;overflow-wrap:anywhere}.control-card-heading .icon-button{width:23px;height:23px}.control-card-heading svg{width:12px;height:12px}.control-preview{display:flex;align-items:center;gap:15px;margin-top:13px}.control-preview input[type=range]{flex:1;width:100%;min-width:0}.control-preview input[type=number]{width:54px;padding:5px;text-align:center;font-size:10px}.control-limits{display:flex;justify-content:space-between;font:8px var(--mono);color:var(--subtle);margin:8px 70px 0 0}.reset-controls{margin:4px 17px 10px;font-size:10px}.controls-empty{padding:30px 22px;text-align:center;color:var(--subtle);font-size:10px;line-height:1.9}.controls-empty svg{width:32px;height:32px;color:#5c6a4c;margin-bottom:12px}.statusbar{display:flex;align-items:center;justify-content:space-between;gap:20px;height:29px;border-top:1px solid var(--line);padding:0 15px;background:#1c201a;font:8px var(--mono);color:var(--subtle)}.statusbar>span:first-child{display:flex;align-items:center;gap:7px}.status-dot{width:4px;height:4px;background:#91a775;box-shadow:none}.status-center{font-size:7px;letter-spacing:1.1px}.status-center>span{padding:0 11px}.statusbar .text-button{display:flex;align-items:center;gap:6px;font-size:8px}.statusbar svg{width:12px;height:12px}.modal{color:var(--text);background:#20271c;border:1px solid #536442;border-radius:13px;padding:27px;width:min(590px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 25px 150px #000a}.modal::backdrop{background:#080c09bb;backdrop-filter:blur(7px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.modal-heading h2{font-size:25px;font-weight:450;letter-spacing:-.8px;margin-top:8px;line-height:1.3}.modal-heading>.icon-button{margin:-10px -10px 0 0}.modal-intro{font-size:11px;line-height:1.8;color:var(--muted);margin:11px 0 23px}.shape-library{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.shape-option{display:flex;flex-direction:column;align-items:center;gap:14px;padding:21px 6px 13px;background:#191f15;border:1px solid #3d4931;border-radius:7px;font-size:10px;color:#b9c7a9}.shape-option:hover{background:#303e23;border-color:var(--accent);color:var(--accent)}.shape-option svg{width:35px;height:35px;stroke-width:1.1px}.form-label{display:flex;flex-direction:column;gap:9px;color:#b5c3a5;font-size:10px;margin:18px 0}.form-label input,.form-label select{width:100%;height:36px;font-size:11px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-columns .form-label{margin:0 0 18px}.form-columns.thirds{grid-template-columns:1fr 1fr 1fr}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:21px}.form-error{color:#f1ac8c;line-height:1.6;font-size:11px;min-height:16px}.export-summary{display:flex;align-items:center;gap:9px;font-size:11px;color:#c7d5b7;background:#2e3a23;padding:13px;border:1px solid #4a5a3a;border-radius:6px;margin:23px 0 14px}.export-summary>svg{width:16px;height:16px}.file-badge{font:8px var(--mono);background:#3d4d2e;color:var(--accent);padding:4px 5px;border-radius:3px;margin-left:auto}#export-code{display:block;width:100%;height:230px;resize:vertical;background:#141b10;border-color:#37462a;color:#a5bc8e;font:10px/1.7 var(--mono);white-space:pre;tab-size:2;padding:16px}.export-instructions{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:11px;margin-top:22px}.step-number{display:grid;place-items:center;width:21px;height:21px;border:1px solid #566e3c;background:#303f22;color:var(--accent);font:9px var(--mono);border-radius:5px}.export-instructions p{font-size:10px;line-height:1.7;color:var(--muted)}code{font:10px var(--mono);color:var(--accent)}.help-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:27px 0}.help-steps h3{font-size:12px;margin:12px 0 8px}.help-steps p{font-size:10px;line-height:1.8;color:var(--muted)}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;font-size:10px;color:#b6c4a4}.shortcut-grid> :nth-child(even){justify-self:end}kbd{font:9px var(--mono);border:1px solid #4d5b3e;border-bottom-width:2px;border-radius:3px;padding:2px 5px;color:#c3d4b0}.guide-link{display:inline-block;margin-top:16px;color:var(--accent);text-decoration:none}.toast{position:fixed;left:50%;bottom:48px;transform:translate(-50%,15px);max-width:calc(100vw - 30px);background:#344429;color:#e0eccc;border:1px solid #74865c;border-radius:7px;font-size:11px;padding:12px 19px;box-shadow:0 10px 45px #0005;z-index:20;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}.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}.skip{position:fixed;top:-100px;left:15px;background:var(--accent);color:#1c2813;padding:12px;z-index:99}.skip:focus{top:10px}.noscript{position:fixed;inset:0;background:var(--bg);display:grid;place-content:center;padding:30px;font-size:18px}.noscript a{color:var(--accent)}::selection{background:#566a3c;color:#f3ffe4}
@media(min-width:1600px){.workspace{grid-template-columns:270px minmax(260px,1fr) 310px}.left-panel{padding:0 21px}.property-section{padding:20px 21px}.selected-heading{padding:21px}.canvas-top{top:34px;left:34px}.scene-caption h2{font-size:26px}.layers{max-height:36vh}.preset-preview{height:75px}.preset-card:first-child{height:77px}}
@media(max-width:1150px){.topbar{gap:18px;padding:0 18px}.header-actions{gap:15px}.local-badge{display:none}.workspace{grid-template-columns:216px minmax(240px,1fr) 258px}.left-panel{padding:0 12px}.property-section{padding:17px 14px}.canvas-top{left:20px;right:15px}.scene-caption h2{font-size:19px}.view-options{gap:4px}.view-options select{min-width:90px;font-size:9px}.canvas-bottom{left:20px}.canvas-bottom>span:first-child{font-size:7px}.timeline-track,.live-label{display:none}.status-center{display:none}}
@media(max-width:920px){.topbar{height:62px;gap:12px}.brand{font-size:11px;gap:8px}.brand-sub{font-size:7px}.brand-mark{width:25px}.brand-mark svg{width:23px}.header-divider{display:none}.project-heading{gap:0}#project-name{width:120px;font-size:11px}.header-actions{gap:10px}.header-actions>.quiet-button{display:none}.history-actions{padding-right:8px}.header-actions .primary-button{padding:9px 11px;font-size:10px}.workspace{height:calc(100dvh - 91px);grid-template-columns:190px minmax(210px,1fr) 237px}.panel-heading{min-height:55px;height:55px;gap:6px}.count-badge{font-size:8px}.canvas-top{top:20px;left:16px;right:12px}.view-options select{width:80px;min-width:80px}.view-options .icon-button{display:none}.scene-caption .eyebrow{font-size:6px}.scene-caption h2{font-size:17px}.scene-caption p{font-size:7px;gap:4px}.canvas-tools{right:12px;top:87px}.canvas-bottom>span:first-child{display:none}.canvas-bottom{left:auto}.preset-card:first-child .preset-preview{width:77px}.preset-card:first-child>span:last-child{font-size:9px}.preset-card:first-child>span:last-child::after{font-size:7px}.layer-row{padding:0 3px;gap:4px}.layer-select{font-size:10px;gap:6px}.layer-actions .quiet-button{font-size:9px}.preview-settings .setting-row{font-size:9px}.setting-row select{font-size:8px}.setting-row input[type=range]{width:85px}.inspector-tabs{gap:12px}.color-row{gap:7px}.color-swatch{width:16px;height:16px}.color-value{font-size:8px}.property-row{grid-template-columns:minmax(0,1fr) 46px 16px}.property-row input[type=number]{width:46px}.playback-bar{gap:8px;padding:8px}.left-section-label{font-size:7px}}
@media(max-width:740px){.topbar{padding:0 14px}.project-heading{margin-right:auto}#project-name{width:112px}.brand-sub{display:none}.brand{letter-spacing:1px;font-size:10px}.brand-mark svg{height:26px}.header-actions{margin-left:0;gap:7px}.history-actions{border:0;padding:0}.history-actions .icon-button{width:26px}.hide-small{display:none}.workspace{height:auto;min-height:0;grid-template-columns:minmax(155px,35%) 1fr;grid-template-rows:minmax(390px,55dvh) auto}.canvas-area{grid-column:1/-1;grid-row:1;border-bottom:1px solid var(--line)}.left-panel{grid-column:1;grid-row:2;border-right:1px solid var(--line);padding:0 13px}.right-panel{grid-column:2;grid-row:2;border-left:0;overflow:visible}.panel{overflow:visible}.panel-heading{height:57px;min-height:57px}.layers{max-height:300px}.preset-grid{grid-template-columns:1fr}.preset-card:first-child{display:block;height:auto;grid-column:auto}.preset-card:first-child .preset-preview{width:auto}.preset-card:first-child>span:last-child{padding:7px 8px;background:#252b20;border-top:1px solid var(--line-soft)}.preset-card:first-child>span:last-child::after{display:none}.preset-preview{height:54px}.preset-card:first-child .preset-preview{height:54px}.section-label h2{font-size:7px;letter-spacing:.8px}.presets-section>p{font-size:9px;line-height:1.6}.presets-section{padding:20px 0}.setting-row{flex-wrap:wrap;gap:9px}.setting-row select{width:100%;font-size:10px}.setting-row input[type=range]{width:100%;margin:9px 0}.preview-settings{margin-top:0;padding:19px 0 10px}.layer-actions{flex-wrap:wrap;gap:6px;padding-bottom:13px}.project-files{flex-wrap:wrap;justify-content:flex-start;gap:13px;padding:9px 0}.canvas-top{left:21px;right:17px}.scene-caption .eyebrow{font-size:8px}.scene-caption h2{font-size:22px}.scene-caption p{font-size:9px}.view-options select{width:101px;font-size:10px}.view-options .icon-button{display:flex}.canvas-tools{right:19px;top:77px}.canvas-bottom{right:18px;bottom:17px}.playback-bar{bottom:25px;gap:12px;padding:9px 12px}.timeline-track{display:block;width:48px}.statusbar{height:33px;position:relative}.statusbar>span:first-child{font-size:7px}.inspector-footer{min-height:70px}.shape-library{grid-template-columns:repeat(3,1fr)}.modal{padding:23px}.modal-heading h2{font-size:22px}.help-steps{grid-template-columns:1fr;gap:16px}.help-steps>div{display:grid;grid-template-columns:23px 1fr;gap:0 12px}.help-steps h3{margin:2px 0 6px}.help-steps p{grid-column:2}.modal-actions{flex-wrap:wrap}.control-card-heading>label{font-size:10px}.form-columns{gap:10px}.shortcut-grid{font-size:9px}.control-limits{font-size:7px}.property-section{padding:18px 14px}.color-row{gap:8px;flex-wrap:wrap}.color-value{margin-left:0}.empty-scene h2{font-size:24px}.empty-scene p{font-size:11px}.selected-heading{padding:17px 14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.site-navigation{display:flex;align-items:center;gap:18px;font-size:10px}
.repeat-layer-button{width:100%;font-size:10px;margin:12px 0;padding:10px 5px;gap:7px;color:var(--accent)}
.site-navigation a{text-decoration:none;padding:6px 0;color:var(--muted)}
.site-navigation a:hover{color:var(--accent)}
@media(max-width:740px){.statusbar{height:auto;min-height:40px;flex-wrap:wrap;gap:4px 14px;padding-block:6px}.site-navigation{gap:14px;font-size:9px}}
@media(max-width:380px){.topbar{gap:7px;padding-inline:10px}#project-name{width:85px}.header-actions{gap:4px}.history-actions .icon-button{width:24px}}

/* Let the scene list own the sidebar height; utilities never squeeze its rows. */
.left-panel{overflow-y:auto;min-height:0}
.left-panel>*{flex-shrink:0}
.left-panel .layers{flex:1 0 200px;min-height:200px;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding-bottom:5px;scrollbar-gutter:stable}
.layer-row{flex-shrink:0;min-height:46px}
.layer-select{padding:12px 1px}
.layer-search{display:flex;align-items:center;gap:8px;margin:0 0 12px;color:var(--subtle);background:#191d17;border:1px solid var(--line);border-radius:5px;padding:0 9px}
.layer-search svg{width:13px;height:13px}
.layer-search input{border:0;background:transparent;padding:9px 0;width:100%;font-size:10px;outline-offset:0}
.layer-search:focus-within{border-color:#7d965c}
.layer-search input:focus-visible{outline:0}
.layer-actions{padding:9px 0 7px;border-bottom:0}
.layer-utilities{display:flex;justify-content:space-between;gap:5px;padding:0 0 12px;border-bottom:1px solid var(--line)}
.layer-utilities .quiet-button{font-size:9px;gap:5px}
.layer-utilities svg{width:13px;height:13px}
.layer-utilities [aria-pressed=true]{color:var(--accent)}
.layer-row.drag-over{border-color:var(--accent);box-shadow:0 -2px 0 var(--accent)}
.layer-row[draggable=true]{cursor:grab}
.sidebar-disclosure{margin:0;padding:0;border-bottom:1px solid var(--line)}
.sidebar-disclosure>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:42px;color:var(--muted);font:8px var(--mono);letter-spacing:1px}
.sidebar-disclosure>summary::-webkit-details-marker,.property-group>summary::-webkit-details-marker{display:none}
.sidebar-disclosure>summary svg{width:13px;height:13px}
.disclosure-arrow{margin-left:auto;display:flex;color:var(--subtle)}
.disclosure-arrow svg{width:12px;height:12px;transition:transform .15s}
details[open]>summary .disclosure-arrow svg{transform:rotate(180deg)}
.sidebar-disclosure[open]{padding-bottom:16px}
.sidebar-disclosure[open]>summary{color:#c4d5b1}
.sidebar-disclosure>.setting-row:first-of-type{margin-top:2px}
.preview-settings input[type=number]{width:100px;text-align:right}
.frame-controls{display:flex;justify-content:space-between;margin-top:10px}
.frame-controls .quiet-button{font-size:9px;color:#b8c9a4}
.project-files{margin-top:0;border-top:0}
.property-group{padding:0 17px}
.property-group>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:16px 0;font-size:10px;font-weight:550;color:#ced9c3}
.property-group>summary .section-symbol{color:var(--subtle);display:flex}
.property-group>summary .section-symbol svg{width:13px;height:13px}
.property-group[open]{padding-bottom:18px}
.property-group .property-row:first-of-type{margin-top:0}
.property-group .transform-label:first-of-type{margin-top:0}
.property-group .section-note{margin-bottom:2px}
.section-reset{font-size:9px;margin-top:13px;display:flex;align-items:center;gap:5px;color:var(--subtle)}
.section-reset svg{width:11px;height:11px}
.property-group .controls-counter{color:var(--subtle);font:8px var(--mono);font-weight:400}
.section-note.motion-note{margin:0 0 14px;font-size:9px}
.part-tracker{margin-bottom:10px;max-width:100%;white-space:normal}
.part-tracker[aria-pressed=true]{color:var(--accent);border-color:#7a9955}
.part-axis-phases{margin-top:15px;border-top:1px solid var(--line-soft)}
.part-axis-phases>summary{padding:12px 0;font-size:10px;color:var(--muted);cursor:pointer}
.motion-hint{position:absolute;left:18px;right:18px;bottom:118px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;padding:12px;background:#20281bf2;border:1px solid #536442;border-radius:7px;box-shadow:0 8px 24px #0003;color:#c8d6bb;font-size:10px;line-height:1.6}
.motion-hint>span{flex:1 1 190px;max-width:470px}
.motion-hint>button{font-size:10px;white-space:normal}
.motion-help{margin:0 0 22px;color:var(--muted);font-size:11px;line-height:1.8}
.scene-caption{min-width:0;flex:1}
.scene-caption h2{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:740px){.motion-hint{bottom:85px;left:14px;right:14px;gap:7px;padding:10px}.motion-hint>span{flex-basis:100%}.motion-hint>button{padding:7px 10px}.scene-caption p{flex-wrap:wrap;width:calc(100vw - 42px);max-width:none}.part-tracker{font-size:10px;padding:9px}}
.control-binding-status{color:#d4c298;font-size:9px;line-height:1.5;margin-top:8px}
.layer-type-select{margin-top:5px;width:100%;font-size:9px;padding:4px 6px}
.manipulation-tools{position:absolute;top:108px;left:28px;display:flex;align-items:center;gap:5px;padding:4px 6px;background:#20281bcc;border:1px solid #424e35;border-radius:6px;backdrop-filter:blur(8px)}
.tool-toggle{display:flex;align-items:center;gap:6px;border:0;border-radius:4px;padding:6px 7px;background:transparent;color:var(--muted);font-size:9px}
.tool-toggle.active{color:var(--accent);background:#d4ef9d0d}
.tool-toggle:hover{background:#394a27}
.tool-toggle svg{width:13px;height:13px}
.core-dot{width:7px;height:7px;border-radius:50%;background:#ff69b4;box-shadow:0 0 7px #ff69b455}
.manipulation-tools>label{font:8px var(--mono);margin-left:5px;color:var(--subtle)}
.manipulation-tools select{padding:5px 2px;background:transparent;border:0;font:9px var(--mono);width:64px}
.drag-readout{position:absolute;left:50%;bottom:119px;transform:translateX(-50%);padding:8px 12px;background:#26351eee;border:1px solid #7a9955;border-radius:5px;color:#d8eccc;font:10px var(--mono);white-space:nowrap;pointer-events:none}
@media(min-width:1600px){.manipulation-tools{top:120px;left:34px}}
@media(max-width:1150px){.manipulation-tools{left:20px;top:105px}}
@media(max-width:920px){.manipulation-tools{left:16px;top:91px;gap:2px;padding:4px}.tool-toggle{padding:5px;font-size:8px}.manipulation-tools select{width:51px;font-size:8px}}
@media(max-width:740px){.manipulation-tools{top:111px;left:21px;gap:5px}.tool-toggle{padding:6px;font-size:9px}.manipulation-tools select{width:64px;font-size:9px}.drag-readout{font-size:8px;bottom:84px;max-width:calc(100% - 20px);white-space:normal;text-align:center}}
@media(min-width:1600px){.property-group{padding-left:21px;padding-right:21px}}
@media(max-width:1150px){.property-group{padding-left:14px;padding-right:14px}}
@media(min-width:741px){.left-panel .layers{flex-basis:200px}.sidebar-disclosure[open]+.sidebar-disclosure[open]{padding-bottom:12px}}
@media(max-width:740px){.left-panel .layers{flex:0 0 auto;min-height:350px;height:52dvh;max-height:620px}.layer-row{min-height:46px}.layer-utilities{flex-wrap:wrap;justify-content:flex-start;gap:7px 13px}.sidebar-disclosure>summary{font-size:7px;letter-spacing:.5px}.sidebar-disclosure>summary>span:first-child{display:none}.preview-settings input[type=number]{width:100%}.property-group{padding-left:14px;padding-right:14px}.layer-search{padding:0 6px}.layer-search input{font-size:9px}.property-group .controls-counter{display:none}}
