[data-momo-workbench]{--ui-control-radius:5px;--ui-module-radius:7px;--ui-card-radius:6px;--ui-pane-radius:4px;--ui-window-radius:10px;--ui-control-pad-y:6px;--ui-control-pad-x:8px;--ui-field-gap:10px;--ui-module-padding:9px;--ui-module-gap:9px;--ui-heading-padding:8px 10px;--ui-pane-padding:10px;--ui-tab-height:32px;--ui-node-padding:5px;--ui-card-padding:10px;--ui-card-gap:8px;--ui-bg:#101010;--ui-inset:#181818;--ui-panel:#222222;--ui-surface:#2c2c2c;--ui-hover:#393939;--ui-line:#454545;--ui-line-strong:#858585;--ui-text:#ededeb;--ui-muted:#bcbcb8;--ui-subtle:#a6a6a1;--ui-accent:#c5a36a;--ui-on-accent:#000000;--ui-accent-text:#c5a36a;--ui-selected:#433e33;--ui-accent-hover:#cbac79;--ui-info:#9bc9e7;--ui-info-bg:#253542;--ui-success:#a4d7be;--ui-success-bg:#263e34;--ui-danger:#ffb1b8;--ui-danger-bg:#442a31;--ui-motion:var(--ui-success);--ui-motion-bg:var(--ui-success-bg);--ui-artwork-motion:#a6efc1;--ui-artwork-icon:#eef4f1;--ui-artwork-favorite:#f5cf7b;--ui-time:#b4d9ff;--ui-time-bg:#243e59;--ui-time-line:#6595c7;--ui-time-handle:#477ba9;--ui-key:#f5c66f;--ui-key-selected:#ffe5a3;--ui-playhead:#f4f7fb;--ui-warning:#edc489;--ui-warning-bg:#403526;--ui-purple:#d0b9ed;--ui-purple-bg:#392f49;--ui-overlay:#0009;--ui-shadow:#0005}[data-momo-workbench][data-interface-style=minimal]{--ui-control-radius:2px;--ui-module-radius:0px;--ui-card-radius:2px;--ui-pane-radius:0px;--ui-window-radius:4px}[data-momo-workbench][data-interface-style=soft]{--ui-control-radius:8px;--ui-module-radius:12px;--ui-card-radius:10px;--ui-pane-radius:8px;--ui-window-radius:14px}[data-momo-workbench][data-density=comfortable]{--ui-control-pad-y:9px;--ui-control-pad-x:10px;--ui-field-gap:14px;--ui-module-padding:14px;--ui-module-gap:14px;--ui-heading-padding:11px 12px;--ui-pane-padding:14px;--ui-tab-height:38px;--ui-node-padding:8px;--ui-card-padding:14px;--ui-card-gap:12px}[data-momo-workbench][data-theme=light]{--ui-bg:#e9edf1;--ui-inset:#f0f3f6;--ui-panel:#ffffff;--ui-surface:#f4f6f8;--ui-hover:#e3e9f0;--ui-line:#cdd5de;--ui-line-strong:#7f8c9e;--ui-text:#242b35;--ui-muted:#526174;--ui-subtle:#607087;--ui-info:#245a80;--ui-info-bg:#e6f0f8;--ui-success:#256245;--ui-success-bg:#e6f3ec;--ui-danger:#a43046;--ui-danger-bg:#fbe9ed;--ui-time:#245a80;--ui-time-bg:#dcebf9;--ui-time-line:#477ca8;--ui-time-handle:#79a8d1;--ui-key:#8c580d;--ui-key-selected:#6f4000;--ui-playhead:#253247;--ui-warning:#795018;--ui-warning-bg:#faf0df;--ui-purple:#6a4792;--ui-purple-bg:#efe9f7;--ui-overlay:#17233566;--ui-shadow:#1c2b3d22}[data-momo-workbench]:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy]){--ui-control-radius:6px;--ui-module-radius:10px;--ui-card-radius:8px;--ui-pane-radius:8px;--ui-window-radius:14px;--ui-line-soft:color-mix(in srgb,var(--ui-line) 62%,var(--ui-panel));--ui-edge-highlight:#ffffff07;--ui-control-shadow:inset 0 1px 0 var(--ui-edge-highlight),0 1px 2px #00000012;--ui-pane-shadow:0 2px 7px #00000018;--ui-module-shadow:0 1px 2px #0000000b;--ui-floating-shadow:0 20px 60px #0000004d,0 4px 14px #00000033,inset 0 1px 0 var(--ui-edge-highlight);--ui-selection-surface:color-mix(in srgb,var(--ui-accent) 12%,var(--ui-panel));--ui-selection-line:color-mix(in srgb,var(--ui-accent) 38%,var(--ui-line));--ui-module-bg:color-mix(in srgb,var(--ui-surface) 12%,var(--ui-panel));--ui-module-heading:color-mix(in srgb,var(--ui-surface) 42%,var(--ui-panel));--ui-field-bg:color-mix(in srgb,var(--ui-inset) 48%,var(--ui-panel))}[data-momo-workbench][data-theme=light]:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy]){--ui-edge-highlight:#ffffffb3;--ui-control-shadow:inset 0 1px 0 var(--ui-edge-highlight),0 1px 2px #1c2b3d08;--ui-pane-shadow:0 2px 7px #1c2b3d0a;--ui-module-shadow:0 1px 2px #1c2b3d05;--ui-floating-shadow:0 20px 60px #1c2b3d24,0 4px 14px #1c2b3d14,inset 0 1px 0 var(--ui-edge-highlight)}:root[data-interface-style=minimal] .tree-editor .inspector-module{border:0;border-top:1px solid var(--ui-line);background:transparent;border-radius:0}:root[data-interface-style=minimal] .tree-editor .inspector-module>summary{background:transparent}:root[data-interface-style=minimal] .tree-editor .inspector-module>summary:hover{background:var(--ui-hover)}:root[data-interface-style=minimal] .inspector-module-heading:before{display:none}:root[data-interface-style=minimal] .tree-editor .inspector-module .inspector-module{border-color:var(--ui-line);background:transparent}:root[data-interface-style=minimal] #shape-library .tree-pattern-card,:root[data-interface-style=minimal] .graphics-dialog .graphics-card{border-color:transparent;border-bottom-color:var(--ui-line);border-radius:0;background:transparent}:root[data-interface-style=minimal] #shape-library .tree-pattern-card.picked{border-color:var(--ui-accent-text);background:var(--ui-selected)}.tree-editor .appearance-trigger{display:flex;align-items:center;gap:6px}.tree-editor button.primary:hover{background:var(--ui-accent-hover);color:var(--ui-on-accent)}.appearance-trigger:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--ui-accent);border:1px solid var(--ui-accent-text)}.tree-editor .appearance-dialog{width:min(780px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;padding:0;overflow:auto;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);box-shadow:0 18px 65px var(--ui-shadow)}.appearance-dialog::backdrop{background:var(--ui-overlay)}.appearance-dialog>header{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--ui-line)}.appearance-dialog h2{font-size:18px;margin:0;font-weight:600}.appearance-dialog .appearance-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.appearance-settings,.appearance-preview{padding:22px;min-width:0}.appearance-settings{border-right:1px solid var(--ui-line)}.appearance-settings>label{display:block;margin-bottom:8px;font-weight:500}.appearance-settings>select{width:100%;margin-bottom:22px}.appearance-settings .appearance-theme-description{margin:-12px 0 20px;color:var(--ui-muted);font-size:12px;line-height:1.6}.appearance-layout-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.appearance-layout-options label{display:block;margin-bottom:8px;font-weight:500}.appearance-layout-options select{width:100%;min-width:0}.appearance-settings .appearance-style-description{margin:10px 0 20px;min-height:38px;color:var(--ui-muted);font-size:12px}.appearance-settings .appearance-accent-row{display:flex;align-items:center;gap:10px;margin-bottom:12px}.appearance-settings input[type=color]{flex:none;width:45px;height:36px;padding:3px}.appearance-accent-row input[type=text]{min-width:0;width:110px;font:13px ui-monospace,monospace}.appearance-swatches{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.tree-editor .appearance-swatches button{width:30px;height:30px;padding:0;background:var(--swatch);border:3px solid var(--ui-panel);border-radius:50%;outline:1px solid var(--ui-line-strong);box-shadow:none}.tree-editor .appearance-swatches button[aria-pressed=true]{outline:2px solid var(--ui-text)}.appearance-preview{background:var(--ui-inset)}.appearance-preview>p{margin:0 0 18px;color:var(--ui-muted);font-size:12px}.appearance-preview .appearance-preview-node{padding:var(--ui-node-padding) 11px;border-left:3px solid var(--ui-accent-text);background:var(--ui-selected);border-radius:var(--ui-control-radius);margin-bottom:20px}.appearance-preview-tabs{display:flex;gap:16px;margin-bottom:20px;border-bottom:1px solid var(--ui-line);color:var(--ui-muted)}.appearance-preview-tabs span{padding-bottom:8px}.appearance-preview-tabs span:first-child{border-bottom:2px solid var(--ui-accent-text);color:var(--ui-text)}.appearance-preview strong{display:block;font-size:13px;margin-bottom:14px}.appearance-preview-module{border:1px solid var(--ui-line);border-radius:var(--ui-module-radius);overflow:hidden;background:var(--ui-panel);margin-bottom:20px}.appearance-preview-module>strong{margin:0;padding:var(--ui-heading-padding);background:var(--ui-surface)}.appearance-preview-module-body{padding:var(--ui-module-padding)}:root[data-interface-style=minimal] .appearance-preview-module{border:0;border-top:1px solid var(--ui-line);background:transparent}:root[data-interface-style=minimal] .appearance-preview-module>strong{background:transparent}.appearance-preview label{display:block;color:var(--ui-muted);font-size:12px}.appearance-preview .appearance-preview-value{display:flex;align-items:center;gap:12px;margin:7px 0 18px}.appearance-preview-value progress{accent-color:var(--ui-accent-text);width:100%;height:9px}.appearance-preview-value output{padding:var(--ui-control-pad-y) 12px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:var(--ui-surface)}.appearance-preview-actions{display:flex;gap:6px;flex-wrap:wrap}.appearance-dialog>footer{position:sticky;bottom:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 22px;border-top:1px solid var(--ui-line);background:var(--ui-panel)}.appearance-dialog footer>p{margin:0;flex:1 1 220px;font-size:12px;color:var(--ui-muted)}.appearance-dialog footer>div{display:flex;gap:8px;flex:none}.appearance-dialog .appearance-storage-status{padding:0 22px;color:var(--ui-danger);font-size:12px}.appearance-storage-status:empty{display:none}.tree-editor .graphics-dialog .graphics-card .graphics-insert{background:var(--ui-surface);border-color:var(--ui-line-strong);color:var(--ui-text);font-weight:500}.tree-editor .graphics-dialog .graphics-card .graphics-insert:hover{background:var(--ui-selected);border-color:var(--ui-accent-text);color:var(--ui-accent-text)}@media(max-width:550px){.appearance-dialog .appearance-body{grid-template-columns:1fr}.appearance-settings{border-right:0;border-bottom:1px solid var(--ui-line)}.appearance-settings,.appearance-preview{padding:16px}.appearance-dialog>header,.appearance-dialog>footer{padding:14px 16px}}@media(max-width:380px){.appearance-layout-options{grid-template-columns:1fr}}:root{color-scheme:light dark;--bg: var(--ui-bg);--panel: var(--ui-panel);--surface: var(--ui-surface);--line: var(--ui-line);--text: var(--ui-text);--muted: var(--ui-muted);--accent: var(--ui-accent);--teal: var(--ui-info);font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;font-size:12px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,select,input:not([type=checkbox]):not([type=range]):not([type=color]){border:1px solid var(--line);border-radius:var(--ui-control-radius);color:var(--text);background:var(--surface);padding:var(--ui-control-pad-y) var(--ui-control-pad-x)}button{cursor:pointer}button:hover{border-color:var(--muted);background:var(--ui-hover)}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.primary{background:var(--accent);color:var(--ui-on-accent);border-color:var(--ui-accent-text);font-weight:700}button.primary{background:var(--accent);color:var(--ui-on-accent)}input[type=range]{accent-color:var(--ui-accent-text);width:100%;margin:7px 0 2px;height:14px}input[type=checkbox]{accent-color:var(--ui-accent-text)}input[type=number]{width:82px;text-align:right}input[type=color]{width:42px;height:26px;padding:0;background:none;border:0}select{max-width:100%}h1,h2,h3,p{margin:0}header{min-height:64px;display:flex;align-items:center;gap:18px;padding:10px 18px;background:var(--panel);border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;white-space:nowrap}.brand-icon{font-size:22px;font-weight:800;color:var(--accent);border:1px solid var(--accent);padding:4px 8px;border-radius:var(--ui-control-radius)}.brand strong{font-size:14px;letter-spacing:2px}.brand strong span{font-size:11px;font-weight:500;letter-spacing:1px;color:var(--muted)}.brand small{display:block;color:var(--muted);margin-top:5px}.local-badge{color:var(--teal);font-size:11px;white-space:nowrap}header nav{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}main{display:grid;grid-template-columns:236px minmax(280px,1fr) 314px;height:calc(100dvh - 65px)}aside{background:var(--panel);overflow:auto}.library{display:flex;flex-direction:column;border-right:1px solid var(--line)}.library-top{padding:16px 12px 12px;border-bottom:1px solid var(--line)}.search-label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.library-top input{width:100%;background:var(--bg)}.library-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);margin:9px 0;font-size:10px}.library-top select{width:100%}#type-list{flex:1;overflow:auto;padding:0 8px 16px}details.category{margin-top:10px}details.category>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;padding:8px 5px;color:var(--teal);font-size:11px;letter-spacing:1px}details.category>summary:before{content:"▸";margin-right:6px}details.category[open]>summary:before{content:"▾"}.category-count{margin-left:auto;color:var(--muted)}.type-item{width:100%;display:flex;align-items:center;text-align:left;gap:9px;margin:2px 0;padding:5px 7px;border-color:transparent;background:transparent;border-left:2px solid transparent}.type-item.active{background:var(--surface);border-left-color:var(--accent)}.type-item canvas{width:34px;height:34px;flex:none;background:var(--ui-bg);border-radius:var(--ui-control-radius)}.type-item strong{display:block;font-weight:500;font-size:11px}.type-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}footer{font-size:10px;color:var(--muted);padding:15px;line-height:1.9;border-top:1px solid var(--line)}.workspace{min-width:0;overflow:auto;display:flex;flex-direction:column;align-items:center;padding:23px 24px 12px;gap:18px}.workspace-heading{width:100%;max-width:820px;display:flex;align-items:end;justify-content:space-between;gap:16px}.eyebrow{font-size:9px;color:var(--teal);letter-spacing:2px}h1{font-size:20px;margin-top:6px;font-weight:600}h1 span{color:var(--muted);font-size:11px;font-weight:400;margin-left:8px}.preview-info{display:flex;flex-direction:column;gap:5px;font-size:10px;text-align:right;color:var(--muted)}#canvas-stage{position:relative;background-color:var(--ui-bg);background-image:conic-gradient(var(--ui-panel) 25%,var(--ui-inset) 0 50%,var(--ui-panel) 0 75%,var(--ui-inset) 0);background-size:20px 20px;padding:8px;border:1px solid var(--line);border-radius:var(--ui-control-radius);width:100%;max-width:700px;line-height:0;display:flex;align-items:center;justify-content:center}#preview{display:block;max-width:100%;height:auto;max-height:min(65vh,700px);object-fit:contain;border-radius:var(--ui-control-radius)}#stage-badge{position:absolute;bottom:17px;right:17px;background:var(--ui-panel);padding:7px;color:var(--muted);font-size:9px;border-radius:var(--ui-control-radius)}#render-error{position:absolute;inset:10px;background:var(--ui-danger-bg);color:var(--ui-danger);white-space:pre-wrap;line-height:1.5;padding:16px;overflow:auto;font-family:monospace;font-size:11px}.preview-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center}label{color:var(--muted);line-height:1.5}.preview-toolbar label{display:flex;gap:7px;align-items:center}.preview-toolbar button[aria-pressed=true]{border-color:var(--ui-accent-text);color:var(--accent)}.timeline{width:100%;max-width:700px;border-top:1px solid var(--line);padding-top:14px}.timeline-label{display:flex;align-items:center;gap:13px}.timeline-label label:last-child{margin-left:auto}.timeline-label select{padding:4px}.timeline-label output{color:var(--accent);font-variant-numeric:tabular-nums}.keyframe-row{display:flex;align-items:center;gap:12px;margin-top:10px}.keyframe-row button{margin-left:auto}.keyframe-row select{padding:4px}#key-track{min-height:25px;position:relative;margin:10px 8px 4px;background:var(--surface);border-radius:var(--ui-control-radius)}.key-dot{position:absolute;top:6px;transform:translate(-50%);border:0;background:var(--accent);color:var(--ui-subtle);padding:0;width:13px;height:13px;border-radius:var(--ui-control-radius);font-size:9px}#key-summary{color:var(--muted);font-size:10px;line-height:1.7;overflow-wrap:anywhere}.workspace-bottom{display:flex;gap:10px;width:100%;justify-content:space-between;font-size:9px;color:var(--muted);line-height:1.6}.inspector{border-left:1px solid var(--line);padding:0 16px}.inspector section{padding:17px 0;border-bottom:1px solid var(--line)}.section-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}.section-heading h2{font-size:12px;font-weight:600;letter-spacing:.5px}.section-heading>span{color:var(--muted);font-size:9px;letter-spacing:1.5px}.text-btn{padding:2px 0;background:none;border:0;color:var(--muted);font-size:10px}.text-btn:hover{background:none;color:var(--accent)}#palette-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.palette{height:39px;font-size:9px;text-shadow:0 1px 2px var(--ui-shadow);padding:0;border:1px solid var(--line);background-color:var(--ui-inset)}.palette.active{border-color:var(--ui-accent-text);outline:1px solid var(--accent)}#custom-gradient{margin-top:10px;color:var(--muted)}#custom-gradient summary{cursor:pointer;font-size:10px;margin-bottom:8px}.color-stop{display:flex;gap:5px;align-items:center;margin:7px 0}.color-stop input[type=number]{width:64px}.color-stop button{margin-left:auto;padding:3px 6px}#layer-tabs{display:flex;gap:4px;margin-bottom:12px}.layer-tab{flex:1;padding:7px 3px;color:var(--muted)}.layer-tab.active{color:var(--accent);border-color:var(--ui-accent-text)}#layer-config>label{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:8px 0}#layer-config select{max-width:165px}.param-row{margin:12px 0}.param-head{display:flex;gap:7px;align-items:center;justify-content:space-between}.param-head label{flex:1;font-size:11px}.param-head input[type=number]{font-size:10px;padding:3px 5px;width:69px}.key-btn{width:23px;padding:2px;border-color:transparent;background:none;color:var(--muted)}.key-btn.keyed{color:var(--accent)}.note{font-size:10px;line-height:1.8;color:var(--muted);margin-top:10px}.check{display:flex;align-items:center;gap:6px;margin-top:10px}.inline{display:flex;gap:5px;align-items:center;margin:8px 0}.inline input{min-width:0;flex:1}.inline button{white-space:nowrap}.order-row{display:flex;gap:6px;align-items:center;padding:7px 8px;background:var(--surface);margin:4px 0;border-radius:var(--ui-control-radius)}.order-row span{flex:1;font-size:10px}.order-row button{padding:2px 6px}#mask-panel>label{display:flex;justify-content:space-between;gap:8px;margin-top:10px}#mask-panel select{max-width:185px}#mask-panel details{margin-top:10px}#output-panel>label,#animation-panel>label{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:10px 0}#output-panel select{max-width:182px}#output-panel input[type=number],#animation-panel input[type=number]{width:82px}#copy-image,#frames-zip{width:100%;margin-top:8px}#preset-list{margin:10px 0;max-height:220px;overflow:auto}.preset-row{display:flex;gap:4px;align-items:center;margin:5px 0}.preset-row .preset-load{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.preset-row select{max-width:72px;padding:3px;font-size:9px}.preset-row button:not(.preset-load){padding:4px;font-size:9px}#flipbook-preview{width:100%;text-align:center}#flipbook-preview h2{font-size:13px;margin-bottom:12px}#atlas-preview{max-width:100%;height:auto}dialog{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:var(--ui-window-radius);max-width:min(740px,92vw);max-height:85vh;padding:20px}dialog::backdrop{background:var(--ui-overlay)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:15px}.dialog-head h2{font-size:17px}.support-dialog{width:min(380px,calc(100vw - 64px))}.support-dialog p{line-height:1.7;color:var(--muted)}.support-dialog figure{margin:16px 0 0;text-align:center}.support-dialog img{display:block;width:min(280px,100%);height:auto;margin:0 auto}.support-dialog figcaption{margin-top:12px;font-weight:600}.help-content{overflow:auto}.help-content h3{color:var(--accent);font-size:12px;margin-top:22px;margin-bottom:9px}.help-content p{color:var(--muted);line-height:1.9;font-size:12px}.help-content pre{white-space:pre-wrap;color:var(--teal);font-size:11px;line-height:1.7}#export-dialog{min-width:300px}#export-dialog h2{font-size:15px;margin-bottom:14px}#export-dialog p{color:var(--muted);margin:12px 0}progress{width:100%;accent-color:var(--ui-accent-text);margin-bottom:16px}#toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:var(--surface);border:1px solid var(--teal);padding:11px 20px;border-radius:var(--ui-window-radius);z-index:20;max-width:90vw;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(min-width:1500px){main{grid-template-columns:252px minmax(400px,1fr) 342px}.inspector{padding:0 21px}.workspace{padding:25px 35px}}@media(max-width:1050px){header{gap:10px;padding:10px}.local-badge,.brand strong span{display:none}main{grid-template-columns:180px minmax(220px,1fr) 275px}.inspector{padding:0 12px}.workspace{padding:16px 12px}.workspace-bottom span{display:none}}@media(max-width:720px){header{flex-wrap:wrap}.brand{flex:1}header nav{margin-left:0;width:100%;justify-content:flex-start}main{height:auto;grid-template-columns:145px minmax(0,1fr)}.library{height:80dvh;position:sticky;top:0}.workspace{padding:14px 10px;min-height:70dvh}.inspector{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;border-left:0;border-top:1px solid var(--line)}.inspector footer{grid-column:1/-1}.workspace-heading{display:block}.preview-info{display:none}.preview-toolbar{gap:4px}.preview-toolbar button{font-size:10px;padding:6px}.timeline-label{flex-wrap:wrap}.type-item canvas{width:24px;height:24px}.type-item strong{font-size:9px}.library-top{padding:12px 7px}.library-meta{display:block}#type-select{font-size:10px}h1{font-size:15px}h1 span{display:block;margin:4px 0}.keyframe-row{gap:5px;font-size:10px}.workspace-bottom{display:none}}.curve-editor{width:100%;aspect-ratio:1;background:var(--ui-inset);border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);touch-action:none}.curve-guide{stroke:var(--ui-line-strong);stroke-width:1.5;stroke-dasharray:5 4}.curve-path{stroke:var(--ui-accent);stroke-width:3}.curve-handle{fill:var(--ui-selected);stroke:var(--ui-line);stroke-width:2;cursor:grab}.curve-handle:focus{outline:none;fill:var(--ui-accent);stroke:var(--ui-accent-text)}:root{font-size:13px}.project-toolbar{display:flex;align-items:center;gap:10px;padding:7px 18px;height:46px;background:var(--ui-inset);border-bottom:1px solid var(--line)}#project-name{width:170px;padding:5px 8px}#draft-status{color:var(--teal);font-size:11px;flex:1}.autosave-check{display:flex;align-items:center;gap:5px;font-size:11px}main{height:calc(100dvh - 111px)}.inspector{display:flex;flex-direction:column;overflow:hidden;padding:0}.inspector-context{flex:none;background:var(--panel);padding:14px 14px 0;border-bottom:1px solid var(--line)}.context-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}#editing-context{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-controls>label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0}#context-visible{padding:4px 7px;font-size:11px}#context-tabs-slot .layer-tab{padding:8px 4px}.inspector-tabs{display:flex;gap:3px}.inspector-tabs button{flex:1;border:0;border-radius:var(--ui-control-radius) 4px 0 0;padding:10px 3px;color:var(--muted);background:transparent}.inspector-tabs button.active{color:var(--accent);background:var(--surface);border-bottom:2px solid var(--accent)}.inspector-pane{flex:1;min-height:0;overflow:auto;padding:0 15px 22px}.inspector>footer{display:none}.inspector .section-heading h2{font-size:13px}.param-head label{font-size:12px}.param-head input[type=number]{font-size:12px;padding:5px 6px}.note{font-size:11px}.key-btn{min-width:30px;height:30px;padding:3px;border-color:var(--line);background:var(--surface);font-size:14px}.key-dot{min-width:24px;height:24px;top:4px;font-size:12px}#key-track{min-height:33px}.advanced-section,.arrangement-advanced{margin-top:16px}.advanced-section>summary,.arrangement-advanced>summary{padding:10px 0;cursor:pointer;color:var(--teal);font-size:12px}.layout-shortcuts{display:flex;gap:8px;margin:12px 0}.layout-shortcuts button{flex:1}.library-filters{display:flex;gap:4px;margin:10px 0}.library-filters button{flex:1;padding:6px 3px}.library-filters button.active{color:var(--accent);border-color:var(--accent)}.library-view-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px}.library-view-label select{width:auto;max-width:130px;padding:5px}.type-card{display:flex;align-items:center;position:relative}.type-card .type-item{min-width:0;flex:1}.type-item span{min-width:0}.type-item strong,.type-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.type-item strong{font-size:12px}.favorite-type{padding:3px;width:28px;height:30px;font-size:17px;background:transparent;border-color:transparent;color:var(--muted)}.favorite-type[aria-pressed=true]{color:var(--accent)}.library-grid .category-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.library-grid .type-card{border:1px solid var(--line);border-radius:var(--ui-control-radius)}.library-grid .type-item{flex-direction:column;gap:6px;padding:10px 4px;text-align:center}.library-grid .type-item canvas{width:60px;height:60px}.library-grid .type-item span{max-width:100%}.library-grid .favorite-type{position:absolute;right:0;top:0;background:var(--ui-panel)}.view-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}.view-toolbar label{display:flex;align-items:center;gap:5px;font-size:11px}.view-toolbar button,.view-toolbar select{padding:6px}.view-toolbar button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}#canvas-stage{height:clamp(230px,52vh,650px);overflow:hidden;padding:0;touch-action:none}#canvas-stage[data-background=black]{background:#000}#canvas-stage[data-background=white]{background:#fff}#preview-surface{flex:none;transform-origin:center;line-height:0}#preview{max-width:none;max-height:none;width:100%;height:100%;border-radius:0}.workspace{gap:12px}.animation-toggle{width:100%;max-width:700px;padding:9px;color:var(--teal)}.export-overview{padding:16px 0;border-bottom:1px solid var(--line)}.export-overview label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}#export-summary{font-size:12px;line-height:1.8;padding:12px;background:var(--surface);border-radius:var(--ui-control-radius);margin:12px 0;overflow-wrap:anywhere}#export-current{width:100%}.workspace-bottom{max-width:700px}@media(max-width:1050px){.project-toolbar{padding:7px 10px;gap:6px}#project-name{width:130px}.autosave-check{font-size:10px}.inspector-pane{padding:0 12px 16px}.library-grid .type-item canvas{width:46px;height:46px}}@media(max-width:720px){.project-toolbar{height:auto;flex-wrap:wrap}#draft-status{min-width:120px}main{height:auto}.inspector{display:flex;grid-column:1/-1;height:65dvh}.inspector-context{padding-top:10px}.workspace{min-height:0}#canvas-stage{height:40vh;min-height:180px}.library-grid .category-items{grid-template-columns:1fr}.view-toolbar{font-size:10px}}.arrangement-choice{display:flex;align-items:center;gap:8px;margin:10px 0}.arrangement-choice select{flex:1;min-width:0}[data-momo-motion]{--ui-motion-fast:.1s;--ui-motion-normal:.16s;--ui-motion-fade:.12s;--ui-motion-thumbnail:.14s;--ui-motion-ease:cubic-bezier(.2,.75,.25,1)}[data-momo-motion] :is(button,select,summary,input:not([type=range]):not([type=color]),.segmented-choice-option){transition:background-color var(--ui-motion-fast) ease,border-color var(--ui-motion-fast) ease,color var(--ui-motion-fast) ease,box-shadow var(--ui-motion-fast) ease}[data-momo-motion] .momo-disclosure-arrow{transition:transform var(--ui-motion-normal) var(--ui-motion-ease)}[data-momo-motion] .momo-disclosure:not([open])>.momo-disclosure-body,[data-momo-motion] .momo-disclosure-body[inert]{pointer-events:none}@supports (interpolate-size:allow-keywords){[data-momo-motion] .momo-disclosure{interpolate-size:allow-keywords}[data-momo-motion] .momo-disclosure::details-content{block-size:0;overflow:clip;transition:block-size var(--ui-motion-normal) var(--ui-motion-ease),content-visibility var(--ui-motion-normal) allow-discrete}[data-momo-motion] .momo-disclosure[open]::details-content{block-size:auto}}[data-momo-motion] :is(.header-dropdown[open]>.header-dropdown-panel,.momo-menu[open]>.momo-menu-panel,.component-more-panel:popover-open,[popover]:popover-open,dialog[open]){animation:editor-fade-in var(--ui-motion-fade) ease-out}[data-momo-motion] dialog[open]::backdrop{animation:editor-fade-in var(--ui-motion-fade) ease-out}[data-momo-motion] .momo-reorder-placeholder{transition:top var(--ui-motion-normal) var(--ui-motion-ease)}[data-momo-motion] .dock-drop-preview{transition:left var(--ui-motion-fade) var(--ui-motion-ease),top var(--ui-motion-fade) var(--ui-motion-ease),width var(--ui-motion-fade) var(--ui-motion-ease),height var(--ui-motion-fade) var(--ui-motion-ease);animation:editor-fade-in var(--ui-motion-fast) ease-out}[data-momo-motion] .dock-motion :is(.dock-split,.dock-branch){overflow:visible}@keyframes editor-fade-in{0%{opacity:0}to{opacity:1}}@keyframes editor-thumbnail-in{0%{opacity:.4}to{opacity:1}}@media(prefers-reduced-motion:reduce){[data-momo-motion]{--ui-motion-fast:0ms;--ui-motion-normal:0ms;--ui-motion-fade:0ms;--ui-motion-thumbnail:0ms}[data-momo-motion] :is(button,select,summary,input,.segmented-choice-option,.momo-disclosure-arrow,.header-dropdown-panel,.momo-menu-panel,[popover],dialog,.dock-drop-preview,.momo-reorder-placeholder){animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important;transition-delay:0s!important}[data-momo-motion] .momo-disclosure::details-content{transition-duration:0s!important;transition-delay:0s!important}[data-momo-motion] dialog::backdrop{animation-duration:0s!important;animation-delay:0s!important}}.tree-editor{margin:0;background:var(--ui-bg);color:var(--ui-text);font:13px system-ui;overflow:hidden}.tree-editor *{box-sizing:border-box}.tree-header{height:64px;display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid var(--ui-line)}.tree-header strong{color:var(--ui-accent-text);white-space:nowrap}.tree-header strong span{color:var(--ui-text)}.tree-header>span{color:var(--ui-muted);margin-right:auto}.tree-header input{width:150px}.tree-editor button,.tree-editor input,.tree-editor select{background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);color:var(--ui-text);padding:var(--ui-control-pad-y) var(--ui-control-pad-x);font:inherit}.tree-editor button{cursor:pointer}.tree-editor button:hover{border-color:var(--ui-line-strong)}.tree-editor button.primary{background:var(--ui-accent);color:var(--ui-on-accent)}.tree-editor button:disabled{opacity:.4}.tree-workspace{display:grid;grid-template-columns:270px minmax(380px,1fr) 340px;height:calc(100vh - 64px)}.tree-left,.tree-inspector{padding:14px;background:var(--ui-panel);overflow:auto}.tree-left{border-right:1px solid var(--ui-line)}.tree-inspector{border-left:1px solid var(--ui-line)}.pane-title{display:flex;justify-content:space-between;font-weight:600;margin:0 0 12px}.pane-title small{color:var(--ui-muted)}.tree-actions{display:flex;gap:4px;flex-wrap:wrap;margin:10px 0}.tree-actions button{font-size:12px}.tree-node{display:flex;gap:3px;margin:3px 0;border-radius:var(--ui-control-radius)}.tree-node.selected{background:var(--ui-selected);outline:1px solid var(--ui-accent-text)}.tree-node button{background:none;border:0;text-align:left;padding:var(--ui-node-padding) 4px}.tree-node button:first-child{color:var(--ui-accent-text)}.tree-node .tree-node-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.tree-left>label{display:flex;align-items:center;gap:8px}.tree-left>label select{min-width:0;flex:1}.tree-left hr{border:0;border-top:1px solid var(--ui-line);margin:18px 0}.tree-preset{display:flex;gap:4px;margin:6px 0}.tree-preset button:first-child{flex:1;text-align:left}#shape-search{width:100%;margin-bottom:12px}#shape-library summary{cursor:pointer;color:var(--ui-text);padding:9px 0}#shape-library details button{display:inline-block;font-size:11px;margin:3px}#selected-heading{font-size:15px;font-weight:600;padding-bottom:14px}:is(#inspector-tabs,.appearance-inspector-tabs){display:flex;gap:3px;flex-wrap:wrap;border-bottom:1px solid var(--ui-line);padding-bottom:12px}:is(#inspector-tabs,.appearance-inspector-tabs) button{font-size:12px}:is(#inspector-tabs,.appearance-inspector-tabs) .active{border-color:var(--ui-accent-text);color:var(--ui-accent-text)}.tree-field{display:flex;align-items:center;gap:7px;margin:var(--ui-field-gap) 0}.tree-field>label,.tree-field>input,.tree-field>select{min-width:0}.tree-field>label{flex:1;color:var(--ui-muted)}.tree-field input[type=number]{width:100px}.tree-field select{flex:1}.tree-field input:not([type=number]){flex:1}.tree-field button{color:var(--ui-accent-text)}.tree-check{display:flex;gap:8px;align-items:center;margin:var(--ui-field-gap) 0}.tree-note{font-size:12px;line-height:1.8;color:var(--ui-muted)}.tree-inspector h3{font-size:13px;color:var(--ui-muted);margin-top:20px}.tree-inspector>div>button{margin:5px}.tree-key-row{display:flex;gap:5px;margin:6px 0}.tree-key-row input{width:40%;min-width:0}.tree-preview{padding:18px 24px;display:flex;flex-direction:column;min-height:0;min-width:0}#breadcrumbs{display:flex;gap:5px;margin-bottom:14px;flex-wrap:wrap}#breadcrumbs button{background:transparent;border:0;color:var(--ui-text)}#breadcrumbs button+button:before{content:"› ";color:var(--ui-subtle)}.preview-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}.preview-heading span{flex:1;color:var(--ui-muted);font-size:12px}.preview-heading strong{font-size:18px}#canvas-stage{flex:1;min-height:120px;overflow:auto;display:grid;place-items:center;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius)}#canvas-stage.checker{background-color:#21252d;background-image:conic-gradient(#2c323c 25%,transparent 0 50%,#2c323c 0 75%,transparent 0);background-size:20px 20px}#canvas-stage.black{background:#000}#canvas-stage.white{background:#fff}#tree-canvas{max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}.tree-toolbar{display:flex;justify-content:center;align-items:center;gap:10px;padding:12px 0;flex-wrap:wrap}.tree-toolbar label{display:flex;align-items:center;gap:5px;font-size:11px}.tree-timeline{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius)}.tree-timeline input{flex:1;min-width:100px}.tree-timeline span{color:var(--ui-muted);font-size:12px}.tree-hint{font-size:12px;color:var(--ui-muted);line-height:1.6}#tree-toast{position:fixed;bottom:16px;left:50%;transform:translate(-50%);background:var(--ui-hover);padding:10px 18px;border-radius:var(--ui-window-radius);z-index:20}#tree-toast:empty{display:none}@media(max-width:1150px){.tree-workspace{grid-template-columns:220px minmax(300px,1fr) 300px}.tree-header>span{display:none}.tree-header{gap:6px}.tree-header input{width:110px}.tree-preview{padding:12px}}@media(max-width:850px){.tree-editor{overflow:auto}.tree-workspace{grid-template-columns:200px minmax(280px,1fr);height:auto}.tree-inspector{grid-column:1/-1;max-height:600px}.tree-preview{height:650px}.tree-header{height:auto;flex-wrap:wrap}.tree-left{max-height:650px}}.curve-editor{width:100%;aspect-ratio:1;background:var(--ui-inset);touch-action:none}.curve-grid{stroke:var(--ui-line);stroke-width:1}.curve-guide{stroke:var(--ui-line-strong);stroke-dasharray:4}.curve-path{stroke:var(--ui-accent-text);stroke-width:3}.curve-handle{fill:var(--ui-selected);stroke:var(--ui-line-strong);cursor:grab}.tree-editor #canvas-stage{width:100%;max-width:none;height:auto;aspect-ratio:auto;padding:0}.tree-node .tree-disclosure{flex:0 0 16px;width:16px;text-align:center;padding-left:0;padding-right:0}.tree-node .tree-disclosure:hover{background:var(--ui-hover)}.tree-number-field{display:grid;grid-template-columns:minmax(60px,1fr) 76px auto;gap:6px 8px}.tree-number-field>label{grid-column:1/-1}.tree-number-field input[type=range]{width:100%;min-width:0;margin:0;padding:0;accent-color:var(--ui-accent-text);cursor:pointer}.tree-number-field input[type=number]{width:76px}.tree-library-view{margin-bottom:10px;font-size:12px}#shape-library .tree-pattern-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(88px,100%),1fr));gap:6px;align-items:start}#shape-library .tree-pattern-card{display:flex;flex-direction:column;align-items:center;gap:7px;margin:0;padding:9px 4px;min-width:0;width:100%;border:1px solid var(--ui-line);background:var(--ui-panel)}.tree-pattern-card img{width:64px;height:64px;object-fit:contain;background:#000;border-radius:4px;color:#85919e;font-size:11px}.tree-pattern-text{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%;font-size:12px}.tree-pattern-text small{color:var(--ui-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#shape-library.tree-library-list .tree-pattern-cards{grid-template-columns:minmax(0,1fr)}#shape-library.tree-library-list .tree-pattern-card{flex-direction:row;text-align:left;padding:6px}#shape-library.tree-library-list img{width:40px;height:40px;flex:none}.tree-editor #canvas-stage{display:flex;contain:size}#tree-preview-surface{flex:none;margin:auto;line-height:0}#tree-preview-surface #tree-canvas{display:block;width:100%;height:100%;max-width:none;max-height:none}#tree-preview-surface.tiled #tree-canvas{pointer-events:none}[hidden]{display:none!important}#shape-library .tree-pattern-card{border-radius:var(--ui-card-radius);overflow:hidden;gap:5px;padding:6px}#shape-library .component-inspect{display:flex;flex-direction:column;align-items:center;width:100%;gap:6px;border:0;background:transparent;margin:0;padding:4px}#shape-library .component-actions{display:flex;justify-content:center;gap:4px;width:100%}#shape-library .component-actions button{margin:0;white-space:nowrap;padding:5px}#shape-library .component-actions button[aria-pressed=true]{color:var(--ui-accent-text)}#shape-library .tree-pattern-card.picked{border-color:var(--ui-line-strong)}#shape-library .component-more{width:100%;font-size:11px}#shape-library .component-more summary{padding:3px;color:var(--ui-muted)}#shape-library.tree-library-list .tree-pattern-card{display:grid;grid-template-columns:1fr auto}#shape-library.tree-library-list .component-inspect{flex-direction:row;text-align:left}#shape-library.tree-library-list .component-actions{flex-direction:column}#shape-library.tree-library-list .component-more{grid-column:1/-1}#shape-library.tree-library-grid .tree-pattern-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:0;padding:0}#shape-library.tree-library-grid .component-inspect{grid-column:1/-1;gap:0;padding:0;border-radius:0;overflow:hidden}#shape-library.tree-library-grid .tree-thumbnail-preview{width:100%;height:auto;aspect-ratio:1;border-radius:0}#shape-library.tree-library-grid .tree-thumbnail-preview img{width:100%;height:100%;border-radius:0}#shape-library.tree-library-grid .tree-pattern-text{display:block;width:100%;padding:3px 5px;background:var(--ui-surface);font-size:11px;line-height:18px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#shape-library.tree-library-grid .component-add,#shape-library.tree-library-grid .component-more>summary{margin:0;padding:3px;border:0;border-radius:0;background:transparent;font-size:12px;line-height:18px;white-space:nowrap}#shape-library.tree-library-grid .component-more{width:100%;min-width:0}#shape-library .component-more-panel{position:fixed;inset:auto;margin:0;width:190px;max-width:calc(100vw - 16px);padding:10px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-module-radius);background:var(--ui-panel);color:var(--ui-text);box-shadow:0 8px 24px var(--ui-shadow);overflow-wrap:anywhere}#shape-library .component-more-meta{display:flex;flex-wrap:wrap;gap:2px 12px;margin-bottom:8px}#shape-library .component-more-meta .tree-note{margin:0;font-size:11px;line-height:18px;color:var(--ui-muted)}#shape-library .component-more-actions{display:flex;gap:6px}#shape-library .component-more-actions button{display:grid;place-items:center;flex:1;min-width:0;height:32px;margin:0;padding:6px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:var(--ui-surface);color:var(--ui-text)}#shape-library .component-more-actions button:hover{border-color:var(--ui-accent-text);background:var(--ui-hover);color:var(--ui-accent-text)}#shape-library .component-more-actions .component-remove:hover{border-color:var(--ui-danger);background:var(--ui-danger-bg);color:var(--ui-danger)}#shape-library .component-more-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}#shape-library.tree-library-grid .component-add:hover,#shape-library.tree-library-grid .component-more>summary:hover{background:var(--ui-hover);color:var(--ui-accent-text)}#shape-library.tree-library-grid .component-inspect:focus-visible{outline-offset:-2px}.tree-number-field{grid-template-columns:minmax(45px,1fr) 72px auto auto}.tree-number-field button{padding:6px;min-width:28px}.animated-field>label{color:var(--ui-motion)!important;font-size:12px}#selected-heading{padding-bottom:4px;overflow-wrap:anywhere}#selected-path{margin-bottom:12px;overflow-wrap:anywhere}.tree-node.drop-before{border-top:3px solid var(--ui-accent-text)}.tree-node.drop-after{border-bottom:3px solid var(--ui-accent-text)}.tree-node.drop-inside{outline:2px solid var(--ui-line-strong);background:var(--ui-selected)}.tree-node[draggable=true]{cursor:grab}#tree-preview-surface{position:relative}#selection-guide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}#selection-guide .region-box{fill:none;stroke:#78c9f2;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-dasharray:6 4}#selection-guide .region-center{fill:none;stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}#selection-guide .region-pivot{fill:#f2bd6e;stroke:#101820;stroke-width:1;vector-effect:non-scaling-stroke}#guide-note:empty{display:none}#guide-note{margin:5px 0;text-align:center;font-size:11px}#preview-error{display:flex;align-items:center;gap:12px;background:var(--ui-danger-bg);color:var(--ui-danger);padding:10px;line-height:1.6;border-radius:var(--ui-control-radius);margin-top:8px}#preview-error span{flex:1}#animation-panel>summary{cursor:pointer;padding:8px;color:var(--ui-muted)}.tree-preview>.tree-timeline{margin-top:6px;flex:none}#solo.active{background:var(--ui-selected);border-color:var(--ui-accent-text);color:var(--ui-accent-text)}.tree-modal{position:fixed;inset:0;background:var(--ui-overlay);z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.tree-modal>section{display:flex;flex-direction:column;box-sizing:border-box;width:500px;max-width:100%;max-height:min(90dvh,calc(100dvh - 32px));overflow:hidden;padding:20px;background:var(--ui-panel);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);box-shadow:0 12px 50px var(--ui-shadow)}.tree-modal>section>header{flex:none;gap:12px}.tree-modal>section>header button{flex:none}#global-controls{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px;scroll-padding-block:12px}#global-actions{flex:none;border-top:1px solid var(--ui-line);padding-top:10px;max-height:40dvh;overflow:auto}#global-actions[hidden]{display:none}@media(max-height:500px){.tree-modal{padding:8px}.tree-modal>section{max-height:calc(100dvh - 16px);padding:12px}#global-actions #export-progress{margin:4px 0}#global-actions #export-progress .tree-note{display:none}}.tree-modal header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ui-line);padding-bottom:12px}.tree-modal h2{font-size:18px;margin:0}.tree-modal h3{font-size:14px;color:var(--ui-text)}.tree-modal #confirm-export{width:100%;padding:12px;margin-top:8px}.tree-header{gap:7px}.tree-header>span{font-size:11px}.node-drag-handle{align-self:center;display:grid;place-items:center;flex:none;width:12px;margin-inline-start:6px;cursor:grab;color:var(--ui-muted);user-select:none}.node-drag-handle:hover{color:var(--ui-accent-text)}.arrangement-advanced{border-top:1px solid var(--ui-line);margin:12px 0;padding-top:10px}.arrangement-advanced>summary{cursor:pointer;color:var(--ui-text);padding:6px 0}.tree-number-field>select{grid-column:1/3;min-width:0;width:100%}.tree-header{flex-wrap:wrap;height:auto;min-height:58px}.tree-header input{max-width:160px}#tree-canvas{touch-action:none}.tree-editor input[type=color]{height:36px;min-height:36px;padding:3px;cursor:pointer}.tree-editor input[type=color]::-webkit-color-swatch-wrapper{padding:0}.tree-editor input[type=color]::-webkit-color-swatch{border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius)}.tree-editor input[type=color]::-moz-color-swatch{border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius)}.tree-editor button[aria-pressed=true],.tree-editor .preview-heading button.active{background:var(--ui-accent);border-color:var(--ui-accent-text);color:var(--ui-on-accent);box-shadow:none;font-weight:600}#canvas-stage{overscroll-behavior:contain}#tree-preview-surface:after{content:"";position:absolute;inset:0;border:1px dashed #f2bd6e;pointer-events:none;box-sizing:border-box}#selection-guide .pivot-outline,#selection-guide .pivot-marker{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}#selection-guide .pivot-outline{stroke:#101820;stroke-width:4}#selection-guide .pivot-marker{stroke:#f2bd6e;stroke-width:2}#animation-panel[open]{flex:none;max-height:45vh;overflow:auto}.animation-dopesheet{border:1px solid var(--ui-line);background:var(--ui-panel);padding:8px;margin-top:8px;min-width:0}.animation-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:5px 0}.animation-tools input{width:95px;min-width:0}.animation-tools span{color:var(--ui-muted);font-size:12px}.animation-tracks{max-height:240px;overflow:auto;padding:0 12px 0 0}.animation-track{display:grid;grid-template-columns:150px minmax(120px,1fr);min-height:34px;border-bottom:1px solid var(--ui-line)}.animation-track-name{padding:5px;overflow-wrap:anywhere;font-size:12px;display:flex;justify-content:space-between;gap:5px}.animation-track-name button{padding:0 5px}.animation-lane{position:relative;min-height:34px;background:repeating-linear-gradient(to right,var(--ui-hover) 0 1px,transparent 1px 10%);touch-action:none}.animation-key{position:absolute;top:9px;transform:translate(-50%);padding:0!important;background:transparent!important;border:0!important;color:var(--ui-accent-text);line-height:18px;min-width:16px;cursor:ew-resize;z-index:2;touch-action:none}.animation-key[aria-pressed=true]{color:var(--ui-text);filter:drop-shadow(0 0 3px var(--ui-text))}.animation-playhead{position:absolute;top:0;bottom:0;width:2px;background:var(--ui-playhead);color:var(--ui-playhead);box-shadow:0 0 0 1px var(--ui-inset);pointer-events:none;z-index:1}.animation-playhead:before{content:"";position:absolute;top:0;left:-3px;border:4px solid transparent;border-top-color:var(--ui-playhead)}.animation-tick{position:absolute;top:0;font-size:11px;color:var(--ui-muted);transform:translate(-50%);pointer-events:none}.animation-interval{position:absolute;top:6px;height:22px;background:var(--ui-time-bg);color:var(--ui-time);border:1px solid var(--ui-time-line);border-radius:var(--ui-control-radius);cursor:grab;text-align:center;font-size:11px;min-width:4px;touch-action:none;box-sizing:border-box}.animation-handle{position:absolute;top:0;bottom:0;width:7px;background:var(--ui-time-handle);cursor:ew-resize}.animation-handle.start{left:0}.animation-handle.end{right:0}.animation-key.mapped{cursor:pointer}.animation-track-name{min-width:0}.animation-track{grid-template-columns:minmax(190px,25%) minmax(120px,1fr)}.animation-summary-key{position:absolute;top:24px;font-size:8px;line-height:8px;color:var(--ui-key);transform:translate(-50%);pointer-events:none}.tree-root-drop{padding:12px 8px;margin:5px 0;border:1px dashed var(--ui-line);color:var(--ui-muted);font-size:11px;text-align:center}.tree-root-drop.active{background:var(--ui-selected);border-color:var(--ui-line-strong);color:var(--ui-text)}.animation-workspace{border:1px solid var(--ui-line);border-radius:var(--ui-module-radius);padding:8px;background:var(--ui-inset);min-width:0;outline:none}.animation-workspace .animation-tracks{max-height:330px;overflow:auto;padding:0 10px}.animation-workspace .animation-track{grid-template-columns:minmax(220px,28%) minmax(150px,1fr)}.animation-workspace .animation-lane{overflow:hidden;min-height:34px}.animation-workspace .animation-track.selected>.animation-track-name{background:var(--ui-selected)}.animation-track.muted{opacity:.45}.animation-key.mapped{color:var(--ui-muted)!important;cursor:help!important}.animation-workspace .animation-ruler{position:sticky;top:0;background:var(--ui-surface);z-index:4;min-height:26px}.animation-workspace .animation-ruler .animation-lane{cursor:crosshair}.animation-tools button.active,.inspector-animation-mode button.active{border-color:var(--ui-accent-text);background:var(--ui-selected)}.animation-tools button.recording{background:var(--ui-danger-bg);color:var(--ui-danger);border-color:var(--ui-danger)}.animation-curve{display:block;width:100%;min-height:160px;max-height:280px;background:var(--ui-inset);border:1px solid var(--ui-line);touch-action:none}.animation-curve circle,.animation-curve rect{cursor:grab;touch-action:none}.animation-curve .curve-grid{stroke:var(--ui-line);stroke-width:1;vector-effect:non-scaling-stroke;pointer-events:none}.animation-key-properties{background:var(--ui-surface);padding:9px;border-radius:var(--ui-control-radius)}.animation-key-properties input[type=color]{height:28px;width:65px}.animation-selection-box{position:fixed;border:1px solid var(--ui-line-strong);background:var(--ui-hover);pointer-events:none;z-index:100}.animation-workspace button,.animation-workspace select{font-size:11px}.animation-workspace .animation-track-name{align-items:center;justify-content:flex-start}.animation-track-name>button:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.key-at-cursor{background:var(--ui-hover)!important}.tree-field input:disabled,.tree-field select:disabled{opacity:.7}#animation-panel[open]{max-height:60vh;resize:vertical;min-height:210px}.animation-extra{padding:3px 0}.animation-extra>summary{cursor:pointer;color:var(--ui-muted);font-size:12px}.animation-workspace .animation-tools{gap:5px}.animation-workspace .animation-tools input{width:76px}@media(min-width:851px){.tree-editor{height:100dvh;display:flex;flex-direction:column}.tree-header{flex:none}.tree-workspace{height:auto;flex:1;min-height:0}.tree-preview{overflow:hidden}#animation-panel[open]{flex:0 1 60%;min-height:180px}.tree-hint{flex:none;margin:4px 0}}.tree-timeline .play-duration{display:flex;align-items:center;gap:5px;white-space:nowrap}.tree-timeline #play-duration{flex:none;width:76px;min-width:0}.animation-interval.readonly{background:repeating-linear-gradient(135deg,var(--ui-surface) 0 5px,var(--ui-hover) 5px 10px);border:1px dashed var(--ui-line-strong);color:var(--ui-text);cursor:pointer}.animation-interval.context{background:var(--ui-time-bg);border-color:var(--ui-time-line);border-style:dashed;color:var(--ui-time);cursor:pointer}.animation-interval-hint{position:relative;z-index:2;font-size:11px!important;padding:4px!important;margin:3px;color:var(--ui-muted)!important}#canvas-controls{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;touch-action:none}#tree-preview-surface{touch-action:none}.tree-editor #canvas-stage{padding:28px;box-sizing:border-box}.canvas-region{fill:none;stroke:#78bddb;stroke-width:1;stroke-dasharray:4 3;vector-effect:non-scaling-stroke;opacity:.45}.canvas-region.active{stroke:#9fe4ff;stroke-width:1.5;opacity:1}.canvas-handle{pointer-events:all;fill:#182b39;stroke:#b8edff;stroke-width:1.5;vector-effect:non-scaling-stroke;cursor:crosshair}.canvas-handle:hover{fill:#e2ae64;stroke:#fff}.pivot-handle{fill:#e2ae64;fill-opacity:.4;stroke:#ffc96c;cursor:move}.canvas-rotation-line{stroke:#9fe4ff;stroke-width:1;vector-effect:non-scaling-stroke}.canvas-snap-line{stroke:#e7a5ed;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.canvas-marquee{fill:#83c9ee;fill-opacity:.15;stroke:#9fe4ff;stroke-width:1;vector-effect:non-scaling-stroke}.canvas-pick-menu{position:fixed;z-index:1000;background:var(--ui-surface);border:1px solid var(--ui-line-strong);padding:5px;display:flex;flex-direction:column;max-height:300px;overflow:auto}.tree-node.selected{background:var(--ui-selected);outline:1px solid var(--ui-line-strong)}.tree-node.primary-selected{outline:1px solid var(--ui-accent-text);outline-offset:-1px}.selection-tools{margin-top:6px}.preview-heading{flex-wrap:wrap}.preview-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin-left:auto;max-width:100%}.preview-actions button{white-space:nowrap}.tree-left>label.tree-library-filter{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:center;margin:0 0 8px;font-size:12px;color:var(--ui-muted)}.tree-left>label.tree-library-filter select{width:100%;min-width:0;height:32px;padding:5px 8px;font-size:12px}.tree-left>label.tree-library-filter>span{white-space:nowrap}#export-progress{display:grid;gap:8px;margin:12px 0;padding:12px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius)}#export-progress progress{width:100%;accent-color:var(--ui-accent-text)}.tree-editor{display:flex;flex-direction:column;height:100vh}.tree-header{height:auto;min-height:64px;flex:none;flex-wrap:wrap}.tree-workspace{flex:1;min-height:0;height:auto}@media(max-width:850px){.tree-editor{height:auto;min-height:100vh}.tree-workspace{flex:none}}.user-help-dialog{width:min(1080px,94vw);height:min(820px,92vh);max-height:92vh;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);padding:18px;overflow:hidden}.user-help-dialog[open]{display:flex;flex-direction:column;gap:12px}.user-help-dialog::backdrop{background:var(--ui-overlay)}.user-help-dialog>header{display:flex;gap:10px;align-items:center;flex:none}.user-help-dialog h2{font-size:18px;margin:0}.user-help-dialog>header h2{margin-right:auto}.user-help-dialog>input{width:100%;flex:none}.user-help-dialog>p{margin:0;color:var(--ui-text)}.user-help-dialog>p[hidden]{display:none}.user-help-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;flex:1;min-height:0}.user-help-layout nav{display:flex;flex-direction:column;gap:6px;overflow:auto}.user-help-layout nav button{text-align:left}.user-help-layout nav button[aria-pressed=true]{border-color:var(--ui-accent-text);background:var(--ui-selected);color:var(--ui-accent-text)}.user-help-layout article{overflow:auto;min-width:0;padding:2px 12px 12px 0;line-height:1.8}.user-help-layout h3{font-size:15px;color:var(--ui-text);margin:22px 0 8px}.user-help-layout p{margin:10px 0}.user-help-layout li{margin:8px 0}.user-help-layout ul,.user-help-layout ol{padding-left:22px}.help-table{overflow:auto}.help-table table{width:100%;border-collapse:collapse;font-size:13px}.help-table th,.help-table td{padding:9px;text-align:left;border:1px solid var(--ui-line);vertical-align:top}.help-table th{background:var(--ui-surface)}@media(max-width:650px){.user-help-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:10px}.user-help-layout nav{flex-direction:row;flex-wrap:wrap;max-height:110px}.user-help-dialog>header{flex-wrap:wrap}}.tree-header{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(210px,1fr);gap:24px;padding:12px 18px;overflow:visible;position:relative;z-index:20}.tree-brand{display:flex;align-items:center;gap:16px;min-width:0}.tree-brand strong{white-space:nowrap;font-size:13px}.tree-header #project-name{width:160px;min-width:70px;max-width:100%;background:transparent;border-color:transparent;text-overflow:ellipsis}.tree-header #project-name:hover,.tree-header #project-name:focus{background:var(--ui-hover);border-color:var(--ui-accent-text)}.tree-canvas-actions,.tree-tool-actions{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:nowrap}.tree-canvas-actions{justify-content:center}.tree-tool-actions{justify-content:flex-end}.tree-header button,.tree-header summary{white-space:nowrap}.tree-header button:not(.primary),.tree-header summary{background:transparent;border:1px solid transparent;border-radius:var(--ui-control-radius)}.tree-header button:not(.primary):hover,.tree-header summary:hover,.header-dropdown[open]>summary{background:var(--ui-hover);border-color:var(--ui-line)}.header-dropdown{position:relative}.header-dropdown>summary{cursor:pointer;padding:7px 10px;list-style:none;font-size:12px;color:var(--ui-text)}.header-dropdown>summary::-webkit-details-marker{display:none}.header-dropdown>summary:after{content:" ▾";color:var(--ui-muted)}.header-dropdown>summary:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px}.header-dropdown-panel{position:absolute;top:calc(100% + 8px);left:0;min-width:170px;padding:6px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-window-radius);box-shadow:0 8px 24px var(--ui-shadow);display:flex;flex-direction:column;gap:3px;z-index:50}.header-help .header-dropdown-panel{left:auto;right:0}.header-dropdown-panel button{text-align:left;padding:9px 12px}.header-dropdown-panel a{display:block;text-align:left;padding:9px 12px;color:var(--ui-text);text-decoration:none;border:1px solid transparent;border-radius:var(--ui-window-radius)}.header-dropdown-panel a:hover{background:var(--ui-hover);border-color:var(--ui-line)}.header-dropdown-panel a:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px}.header-dropdown-panel hr{width:100%;border:0;border-top:1px solid var(--ui-line);margin:4px 0}@media(max-width:1250px){.tree-brand strong span{display:none}.tree-header{gap:14px}.tree-brand{gap:10px}}@media(max-width:950px){.tree-brand strong{display:none}.tree-header{gap:8px;grid-template-columns:minmax(80px,1fr) auto auto;padding:10px}.tree-header #project-name{width:120px}.tree-canvas-actions,.tree-tool-actions{gap:2px}}@media(max-width:650px){.tree-header{grid-template-columns:minmax(0,1fr) auto;gap:8px}.tree-canvas-actions{grid-column:1/-1;grid-row:2;justify-content:flex-start}.tree-tool-actions{grid-column:2;grid-row:1}.tree-brand{grid-column:1;grid-row:1}.tree-header #project-name{width:160px}}.preview-mode-label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:var(--ui-muted)}.tree-editor #canvas-stage.material-mode{padding:0;overflow:hidden;background:var(--ui-panel)}#material-preview{width:100%;height:100%;min-width:0;min-height:0;display:flex}.material-preview-canvas{display:block;width:100%;height:100%;min-width:0;min-height:0;touch-action:none;cursor:grab}.material-preview-canvas:active{cursor:grabbing}.material-controls{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:0 0 10px}.material-controls label{display:flex;align-items:center;gap:6px;white-space:nowrap;color:var(--ui-muted);font-size:12px}.material-controls input{width:95px;min-width:60px;padding:0}.material-controls .material-control-value{min-width:4ch;text-align:right;font-variant-numeric:tabular-nums;color:var(--ui-text)}.material-controls button,.material-controls select{padding:5px}.preview-heading{gap:8px 12px}.preview-heading strong{flex:none;white-space:nowrap}.preview-heading #render-status{flex:1 1 170px;min-width:170px;line-height:1.5}.preview-actions{flex:0 1 auto;min-width:0}.normal-preview-settings{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:8px 10px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:var(--ui-panel)}.normal-preview-settings .tree-field{margin:0;display:flex;align-items:center;gap:6px}.normal-preview-settings .tree-number-field{grid-template-columns:none}.normal-preview-settings input[type=range]{width:90px}.normal-preview-settings input[type=number]{width:62px}.normal-preview-settings .tree-check{margin:0}.normal-preview-settings .tree-note{flex-basis:100%;margin:0}.tree-field:has(>.parameter-state:not([hidden])),.tree-check:has(>.parameter-state:not([hidden])){flex-wrap:wrap}.parameter-state{grid-column:1/-1;flex:1 0 100%;display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;font-size:11px;line-height:1.7;color:var(--ui-muted)}.parameter-state[hidden]{display:none!important}.parameter-state-badge{border:1px solid var(--ui-warning);border-radius:var(--ui-control-radius);padding:0 5px;color:var(--ui-warning);background:var(--ui-warning-bg)}.tree-editor .parameter-state button{background:transparent;border:0;padding:0;font-size:11px;color:var(--ui-text);text-decoration:underline;text-underline-offset:3px}.parameter-dependency{color:var(--ui-warning)}.tree-field input:disabled,.tree-field select:disabled{opacity:.55;cursor:not-allowed}.tree-editor #canvas-stage.effect-mode{padding:0;overflow:hidden;background:var(--ui-panel)}#effect-preview{width:100%;height:100%;min-width:0;min-height:0;display:flex;padding:10px;box-sizing:border-box}#effect-preview[hidden],#effect-preview-controls[hidden]{display:none!important}.effect-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:10px;flex:1;min-width:0;min-height:0}.effect-preview-grid[data-columns="1"]{grid-template-columns:minmax(0,1fr)}.effect-preview-grid[data-rows="2"]{grid-template-rows:repeat(2,minmax(0,1fr))}.effect-preview-card{min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--ui-line);border-radius:var(--ui-card-radius);background:var(--ui-surface)}.effect-preview-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;flex:none;padding:7px 10px;background:var(--ui-surface);font-size:12px;color:var(--ui-text)}.effect-preview-heading strong{font-weight:500}.effect-preview-heading span{font-size:11px;color:var(--ui-muted)}.effect-preview-canvas{display:block;width:100%;height:100%;flex:1;min-height:0;min-width:0;object-fit:contain}.effect-preview-settings{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);padding:9px 11px;margin:0 0 8px;font-size:12px}.effect-preview-settings label{display:flex;align-items:center;gap:7px;color:var(--ui-text)}.effect-preview-settings input[type=range]{width:90px;padding:0;accent-color:var(--ui-accent-text)}.effect-preview-settings input[type=color]{width:38px;height:28px;padding:2px}.effect-preview-settings output{min-width:38px;color:var(--ui-accent-text);font-size:11px}.effect-preview-note{flex-basis:100%;margin:0;color:var(--ui-muted);font-size:11px;line-height:1.6}.effect-custom-color[hidden]{display:none!important}.selection-field{display:grid;grid-template-columns:minmax(78px,1fr) minmax(50px,1fr) 68px 28px;gap:8px;align-items:center;margin:10px 0}.selection-field input{min-width:0;width:100%;box-sizing:border-box}.selection-field select{grid-column:2/-1;min-width:0}.selection-field input[type=checkbox]{width:16px;grid-column:2/-1;justify-self:start}.selection-field input[type=text]{grid-column:3/-1}.selection-field [data-reset]{padding:5px;grid-column:4;grid-row:1}.selection-field-state{grid-column:1/-1;color:var(--ui-accent-text)}.selection-field-state:empty{display:none}.selection-field [data-mixed=true][type=range]{opacity:.45}.selection-align-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.selection-align-actions button{padding:7px 3px}.selection-field[hidden]{display:none}.parameter-aliases{padding:8px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);min-width:0}.parameter-aliases>summary{cursor:pointer;color:var(--ui-text)}.parameter-alias-row{display:grid;grid-template-columns:minmax(85px,1fr) minmax(100px,2fr) auto;gap:6px;margin:8px 0}.parameter-alias-row input,.parameter-alias-row select{width:100%;min-width:0}.parameter-aliases small{display:block;line-height:1.5;margin:8px 0;color:var(--ui-muted)}.graphics-param-row>.parameter-aliases{grid-column:1/-1}.generator-parameter-metadata{display:flex;align-items:flex-start;gap:12px;margin-top:18px}.generator-parameter-metadata>code{padding:8px;color:var(--ui-accent-text);overflow-wrap:anywhere}.generator-parameter-metadata>.parameter-aliases{flex:1}.tree-header{display:flex;flex-wrap:nowrap;gap:18px;padding:12px 18px}.tree-brand{flex:1 1 180px;gap:12px}.tree-header #project-name{flex:0 1 160px}.tree-canvas-actions,.tree-resource-actions,.tree-tool-actions{display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;gap:4px;min-width:0;justify-content:flex-start}.tree-resource-actions,.tree-tool-actions{border-left:1px solid var(--ui-line);padding-left:16px}.tree-tool-actions{margin-left:auto}.tree-header button,.tree-header summary,.tree-header #language-settings{min-height:var(--ui-tab-height);font-size:12px;line-height:16px}.tree-header .header-dropdown>summary{display:flex;align-items:center;justify-content:center;gap:4px}.tree-header button:focus-visible,.tree-header select:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px}.header-history{display:flex;align-items:center;gap:0}.tree-header .header-icon-button{display:grid;place-items:center;width:30px;padding:6px}.tree-header svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.tree-header #export-now{margin-left:6px;padding:7px 12px;font-weight:600;border-color:var(--ui-accent-text)}.tree-tool-actions #language-settings{width:auto;min-width:88px;max-width:115px;flex:none;border-color:transparent;background-color:transparent;font-size:12px;padding:7px 4px;cursor:pointer}.tree-tool-actions #language-settings:hover{background-color:var(--ui-hover);border-color:var(--ui-line)}.tree-tool-actions #language-settings option{background:var(--ui-surface);color:var(--ui-text)}.tree-header #support-project{display:flex;align-items:center;gap:6px;color:var(--ui-accent-text)}.tree-header .header-support-icon{width:14px;height:14px;stroke:var(--ui-accent)}#header-resource-menu>summary{padding:7px 5px;min-width:24px;text-align:center}#header-resource-menu>summary:after{content:"▾"}#header-resource-menu>.header-dropdown-panel{left:auto;right:0}@media(max-width:1400px){.tree-brand strong span{display:none}.tree-header{gap:12px}.tree-resource-actions,.tree-tool-actions{padding-left:12px}.tree-brand{flex-basis:120px}}@media(max-width:1100px){.tree-header{gap:10px}.tree-header #project-name{flex-basis:110px}.tree-resource-actions{gap:0}.tree-resource-actions,.tree-tool-actions{padding-left:10px}}@media(max-width:1200px){.tree-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:8px 12px}.tree-brand{grid-column:1;grid-row:1}.tree-brand strong{display:block}.tree-header #project-name{width:160px;flex-basis:160px}.tree-tool-actions{grid-column:2;grid-row:1;border-left:0;padding-left:0}.tree-canvas-actions{grid-column:1;grid-row:2}.tree-resource-actions{grid-column:2;grid-row:2;justify-content:flex-end;border-left:0;padding-left:0}}@media(max-width:550px){.tree-header{display:flex;flex-wrap:wrap;gap:6px 12px}.tree-header #workspace-layout-menu>.header-dropdown-panel{left:0;right:auto}.tree-brand{flex:1 1 100%}.tree-tool-actions{order:3;flex:1 1 100%;margin-left:0;justify-content:space-between;border-top:1px solid var(--ui-line);padding-top:6px}.tree-canvas-actions{flex:1 1 auto}.tree-resource-actions{flex:0 0 auto}}.channel-curves-editor{border-top:1px solid var(--ui-line);margin-top:16px;padding-top:8px}.channel-curve-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0}.channel-curve-controls select{max-width:100%;flex:1;min-width:100px}.channel-curve-controls label{display:flex;gap:6px;align-items:center}.channel-curve-controls input{width:70px}.channel-curve-graph{display:block;width:100%;max-width:420px;background:var(--ui-inset);border:1px solid var(--ui-line);border-radius:var(--ui-control-radius)}.channel-curve-graph .curve-path{stroke:var(--ui-accent);stroke-width:2}.channel-curve-graph .curve-grid{stroke:var(--ui-line);stroke-width:1}.channel-curve-graph .curve-guide{stroke:var(--ui-line-strong);stroke-dasharray:4 4}.channel-curve-graph .curve-handle{fill:var(--ui-accent);stroke:var(--ui-line);stroke-width:1;cursor:grab}.channel-curve-graph .curve-handle:focus{stroke:var(--ui-accent-text);stroke-width:2}#normal-preview-settings .tree-field select{min-width:0;max-width:100%}.channel-curves-editor>.channel-curves-toggle{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:0 0 10px}.channel-curves-toggle>input[type=checkbox]{flex:none;width:14px;height:14px;margin:0}.channel-curve-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.channel-curve-toolbar select{width:100%;min-width:0}.channel-curve-toolbar button{min-width:0;white-space:normal}.channel-pack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:8px;width:100%}.channel-pack-card{padding:8px;border:1px solid var(--ui-line);border-radius:var(--ui-module-radius);display:grid;gap:6px}.channel-pack-card .tree-field{display:grid!important;grid-template-columns:90px minmax(0,1fr);gap:6px!important;margin:0}.channel-pack-card select{width:100%;min-width:0}.normal-preview-settings>h3{font-size:14px;margin:0}.tree-thumbnail-preview{position:relative;display:inline-grid;place-items:center;flex:none;width:64px;height:64px;background:#15181e;border-radius:4px;overflow:hidden}.tree-thumbnail-preview img{display:block;opacity:0}.tree-thumbnail-preview[data-state=ready] img{opacity:1}.tree-thumbnail-indicator{position:absolute;width:18px;height:18px;border:2px solid var(--ui-line);border-top-color:var(--ui-accent);border-radius:50%;animation:tree-thumbnail-spin .85s linear infinite}.tree-thumbnail-preview[data-state=ready] .tree-thumbnail-indicator{display:none}.tree-thumbnail-preview[data-state=error] .tree-thumbnail-indicator{animation:none;border:1px solid var(--ui-danger);color:var(--ui-danger);font-size:12px;line-height:16px;text-align:center}.tree-thumbnail-preview[data-state=error] .tree-thumbnail-indicator:after{content:"!"}.tree-library-list .tree-thumbnail-preview{width:40px;height:40px}@keyframes tree-thumbnail-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tree-thumbnail-indicator{animation:none}}.tree-editor #tree-toast{position:fixed;inset:76px 18px auto auto;transform:none;z-index:2147483000;display:flex;flex-direction:column;gap:10px;width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 100px);overflow:auto;padding:0;background:transparent;box-shadow:none;pointer-events:none}.tree-editor #tree-toast:empty{display:none}.editor-notice{position:relative;flex:none;padding:16px 42px 16px 18px;background:var(--ui-info-bg);border:1px solid var(--ui-info);border-left-width:5px;border-radius:var(--ui-window-radius);box-shadow:0 8px 30px var(--ui-shadow);color:var(--ui-info);pointer-events:auto;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.editor-notice[data-kind=error]{background:var(--ui-danger-bg);border-color:var(--ui-danger)}.editor-notice[data-kind=warning]{background:var(--ui-warning-bg);border-color:var(--ui-warning)}.editor-notice strong{display:block;margin-bottom:4px;color:var(--ui-info)}.editor-notice[data-kind=error] strong{color:var(--ui-danger)}.editor-notice[data-kind=warning] strong{color:var(--ui-warning)}.editor-notice .editor-notice-close{position:absolute;right:8px;top:8px;width:28px;height:28px;padding:0;border:0;background:transparent;font-size:22px;line-height:1}.editor-notice details{margin-top:8px}.editor-notice summary{cursor:pointer}.editor-notice pre{white-space:pre-wrap;font:12px/1.6 system-ui;max-height:180px;overflow:auto}.editor-notice>button:not(.editor-notice-close){margin-top:10px;max-width:100%}.tree-library-filters{margin:0 0 10px;min-width:0}.tree-library-filter-title{font-size:11px;color:var(--ui-muted);margin:8px 0 5px}.library-filter-chips{display:flex;flex-wrap:wrap;gap:5px;min-width:0}.tree-editor .library-filter-chips button{min-width:0;padding:4px 11px;border-radius:999px;font-size:11px;line-height:1.5;background:var(--ui-surface);color:var(--ui-text)}.tree-editor .library-filter-chips button[aria-pressed=true]{border-color:var(--ui-accent-text);background:var(--ui-selected);color:var(--ui-accent-text)}.library-category-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(78px,100%),1fr))}.library-category-chips button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-editor .library-filter-chips button:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px}.tree-library-search{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 8px;min-width:0}.tree-library-search #shape-search{flex:1 1 120px;min-width:min(120px,100%);max-width:100%;width:auto;margin:0}.tree-library-search #collapse-library{flex:none;max-width:100%;white-space:nowrap;font-size:12px;padding:6px 8px}.library-browse-modes{margin-bottom:8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.tree-editor .library-browse-modes button{min-width:0;padding:6px 2px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--ui-surface);color:var(--ui-text)}.tree-editor .library-browse-modes button[aria-pressed=true]{color:var(--ui-accent-text);border-color:var(--ui-accent-text);background:var(--ui-selected)}.tree-editor .library-browse-modes button:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:-2px}#shape-library .tree-pattern-card{position:relative}#shape-library .graphic-favorite{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;padding:0;margin:0;border:0;background:transparent;color:var(--ui-muted);line-height:1}#shape-library .graphic-favorite svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;pointer-events:none}#shape-library .graphic-favorite[aria-pressed=true]{color:var(--ui-accent-text)}#shape-library .graphic-favorite[aria-pressed=true] svg{fill:currentColor}#shape-library .graphic-favorite:hover{background:var(--ui-hover)}#shape-library .graphic-favorite:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:-2px}#shape-library .graphic-card-toolbar{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;min-height:28px;box-sizing:border-box;padding:1px 3px;background:transparent;pointer-events:none}#shape-library .graphic-card-toolbar>*{pointer-events:auto}#shape-library .graphic-card-toolbar .graphic-favorite{margin-left:auto;flex:none}#shape-library .graphic-badges{display:flex;align-items:center;gap:2px}#shape-library .graphic-badges:empty{display:none}:is(#shape-library,.appearance-preview,.graphics-card) .graphic-animated{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:0;border-radius:var(--ui-control-radius);background:transparent;color:var(--ui-motion)}:is(#shape-library,.appearance-preview,.graphics-card) .graphic-animated svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}:is(#shape-library,.appearance-preview,.graphics-card) .graphic-animated svg path{fill:currentColor;stroke:none}#shape-library.tree-library-list .tree-pattern-card{padding-right:34px}#shape-library.tree-library-list .graphic-card-toolbar{display:contents}#shape-library.tree-library-list .graphic-favorite{position:absolute;right:3px;top:3px}#shape-library.tree-library-list .graphic-badges{position:absolute;bottom:5px;right:5px}#shape-library.tree-library-list .tree-pattern-card:has(.graphic-animated):has(.graphic-shader){padding-right:58px}.tree-editor .tree-node .tree-visibility{background:transparent;border:0;box-shadow:none;font-weight:400;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;padding:4px;line-height:1;color:var(--ui-text)}.tree-visibility svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.tree-editor .tree-node .tree-visibility[data-visible=false]{color:var(--ui-subtle)}.tree-editor .tree-node .tree-visibility:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:1px}.tree-editor .inspector-module{position:relative;min-width:0;margin:var(--ui-module-gap) 0;border:1px solid var(--ui-line);border-radius:var(--ui-module-radius);background:var(--ui-panel);overflow:clip}.tree-editor .inspector-module>summary{display:block;min-width:0;min-height:36px;padding:0;list-style:none;cursor:pointer;color:var(--ui-text);background:var(--ui-surface);font-size:12px;font-weight:600;user-select:none}.inspector-module>summary::-webkit-details-marker{display:none}.inspector-module-heading{display:flex;align-items:center;gap:8px;min-width:0;min-height:36px;padding:var(--ui-heading-padding)}.inspector-module-heading:before{content:"";width:3px;height:13px;background:var(--ui-selected);border-radius:var(--ui-module-radius);flex:none}.inspector-module-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-module>summary:hover{background:var(--ui-hover)}.inspector-module>summary:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:-2px}.tree-editor .inspector-module>summary .inspector-module-help{flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:1px solid var(--ui-line-strong);border-radius:50%;background:transparent;color:var(--ui-text);font-size:11px;line-height:1;font-weight:500}.inspector-module-help:hover{color:var(--ui-text)!important;border-color:var(--ui-line-strong)!important}.inspector-module-arrow{flex:none;margin-left:auto;margin-right:2px;width:6px;height:6px;border-right:1.5px solid var(--ui-accent-text);border-bottom:1.5px solid var(--ui-accent-text);transform:rotate(-45deg)}.inspector-module[open]>summary .inspector-module-arrow{transform:rotate(45deg)}.inspector-module-body{min-width:0;padding:var(--ui-module-padding)}.inspector-module-body>.tree-field:first-child,.inspector-module-body>.tree-check:first-child,.inspector-module-body>.selection-field:first-child{margin-top:0}.inspector-module-body>.tree-field:last-child,.inspector-module-body>.tree-check:last-child,.inspector-module-body>.selection-field:last-child{margin-bottom:0}.inspector-module-body>button{margin:3px 4px 5px 0;font-size:12px;padding:6px 8px}.inspector-module-body>.tree-note:first-child{margin-top:0}.inspector-module-body .inspector-module{margin:8px 0;background:var(--ui-inset)}.inspector-module-body>.inspector-module:last-child{margin-bottom:0}.inspector-module-description{display:block;font-weight:400;cursor:default;user-select:text;white-space:pre-line;margin:0!important;padding:9px 10px;background:var(--ui-info-bg);border-bottom:1px solid var(--ui-info);color:var(--ui-info);line-height:1.7;overflow-wrap:anywhere}.inspector-module-description>p{margin:0}.inspector-module-body>.channel-curves-editor{margin:0;border:0;padding:0}.inspector-module-body .tree-note{overflow-wrap:anywhere}.bezier-editor-toolbar,.bezier-editor-actions,.bezier-editor-coordinates{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0}.bezier-editor-toolbar button,.bezier-editor-actions button{padding:6px 8px;font-size:12px}.bezier-editor-status{margin-left:auto;color:var(--ui-muted);font-size:11px}.bezier-editor-coordinates label{display:flex;align-items:center;gap:6px}.bezier-editor-coordinates input{width:84px;min-width:0}.bezier-editor-panel .curve-editor{display:block;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);overflow:hidden;cursor:grab}.curve-domain{fill:none;stroke:var(--ui-accent);stroke-dasharray:5 5;stroke-width:1;vector-effect:non-scaling-stroke;pointer-events:none}.bezier-editor-panel .curve-grid,.bezier-editor-panel .curve-guide,.bezier-editor-panel .curve-path,.bezier-editor-panel .curve-handle{vector-effect:non-scaling-stroke}.bezier-editor-panel .curve-anchor{fill:var(--ui-selected);stroke:var(--ui-line-strong);stroke-width:1.5}.bezier-editor-panel .curve-selected{stroke:var(--ui-line-strong);stroke-width:3}.bezier-editor-panel .tree-note{margin:7px 0}.tree-editor .bezier-editor-dialog{width:min(1000px,94vw);max-width:min(1000px,94vw);max-height:94vh;padding:16px;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);overflow:auto}.bezier-editor-dialog::backdrop{background:var(--ui-overlay)}.bezier-editor-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--ui-line)}.bezier-editor-dialog .curve-editor{width:100%;height:min(62vh,760px);aspect-ratio:auto}.bezier-editor-dialog button,.bezier-editor-dialog input{background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:var(--ui-window-radius);padding:6px 8px;font:inherit}.bezier-editor-dialog button:disabled{opacity:.4}.bezier-editor-dialog button{cursor:pointer}.inspector-module-description[hidden]{display:none}.inspector-module:not([open])>summary>.inspector-module-description{border-bottom:0}.inspector-help-tooltip{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:max-content;max-width:min(340px,calc(100vw - 16px));max-height:calc(100vh - 16px);overflow:auto;padding:10px 12px;border:1px solid var(--ui-line-strong);border-radius:8px;background:var(--ui-panel);color:var(--ui-text);font:12px/1.7 var(--ui-font,system-ui,sans-serif);white-space:pre-line;overflow-wrap:anywhere;user-select:text;cursor:text;box-shadow:0 6px 20px #0003}.gradient-editor{min-width:0;margin:10px 0}.gradient-editor-heading{display:flex;align-items:center;gap:6px;margin-bottom:8px;color:var(--ui-text);font-size:12px}.gradient-stop-count{margin-left:auto;font-size:11px;color:var(--ui-accent-text)}.tree-editor .gradient-editor-heading button{padding:3px 7px;min-width:25px;font-size:14px;line-height:1.3}.gradient-ramp{position:relative;height:40px;touch-action:none;cursor:crosshair;outline:none}.gradient-ramp:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px;border-radius:var(--ui-control-radius)}.gradient-track{position:absolute;top:0;left:8px;right:8px;height:25px;border:1px solid #536071;border-radius:var(--ui-control-radius);background:repeating-conic-gradient(#303742 0 25%,#20262f 0 50%) 0/12px 12px}.gradient-handles{position:absolute;inset:0 8px;pointer-events:none}.tree-editor .gradient-handle{position:absolute;top:17px;transform:translate(-50%);width:14px;height:20px;padding:0;border:2px solid var(--ui-line-strong);border-radius:3px;background:var(--stop-color);box-shadow:0 1px 4px var(--ui-shadow);cursor:ew-resize;touch-action:none;pointer-events:auto}.tree-editor .gradient-handle.selected{border-color:var(--ui-accent-text);box-shadow:0 0 0 2px var(--ui-line),0 0 0 3px var(--ui-accent-text)}.tree-editor .gradient-handle:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:4px}.tree-editor .gradient-handle-mixed{border-style:dashed}.gradient-mixed{display:block;font-size:11px;line-height:1.6;color:var(--ui-accent-text);margin:2px 0 7px}.gradient-mixed[hidden]{display:none}.gradient-selected{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;margin:4px 0 10px}.gradient-selected-color.tree-field{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;margin:0;min-width:0}.gradient-selected-color input[type=color]{flex:0 0 34px;width:34px;height:30px;padding:2px}.gradient-selected-color input[type=text]{flex:1;min-width:65px;width:100px}.gradient-keyframe{flex:none}.gradient-keyframe:empty{display:none}.gradient-keyframe button{padding:5px 7px}.gradient-position{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;color:var(--ui-text)}.gradient-position input[type=number]{min-width:0;width:65px;padding:5px}.gradient-selected>button,.gradient-editor-actions>button{padding:5px 7px;font-size:12px}.gradient-preset{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;font-size:12px;color:var(--ui-text);margin:8px 0}.gradient-preset select{width:100%;min-width:0}.gradient-editor-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.gradient-editor .tree-note{margin:8px 0 0}.color-choice-field.tree-field,.color-choice-field.selection-field{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}.color-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ui-muted)}.color-choice-heading button{padding:3px 7px}.segmented-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);overflow:hidden;background:var(--ui-inset);min-width:0}.segmented-choice-option{position:relative;display:flex;min-width:0;cursor:pointer}.segmented-choice-option input[type=radio]{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.segmented-choice-option span{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;width:100%;padding:7px 6px;font-size:12px;line-height:1.4;overflow-wrap:anywhere;border:1px solid transparent;color:var(--ui-text)}.segmented-choice-option:has(input:checked) span{background:var(--ui-selected);color:var(--ui-accent-text);border-color:var(--ui-accent-text)}.segmented-choice-option:has(input:focus-visible) span{outline:2px solid var(--ui-accent-text);outline-offset:-3px}.segmented-choice-option:has(input:not(:disabled)):hover span{background:var(--ui-hover)}.segmented-choice-option:has(input:checked):hover span{background:var(--ui-selected)}.segmented-choice-option:has(input:disabled){opacity:.45;cursor:default}.segmented-choice-option input:disabled{cursor:default}.color-choice-field>.selection-field-state,.color-choice-field>.parameter-state{align-self:stretch}.inspector-module-heading .module-drag-handle{flex:none;cursor:grab;padding:0 2px;border:0;background:transparent;color:var(--ui-muted);font-size:15px;line-height:20px}.inspector-module-heading .module-drag-handle:active{cursor:grabbing}.module-order-actions{display:flex;flex:none;gap:2px;margin-left:auto}.inspector-module-heading .module-order-actions button{padding:0 4px;font-size:12px;line-height:20px;background:transparent;border:0;color:var(--ui-muted)}.inspector-module-heading .module-order-actions button:disabled{opacity:.2}.inspector-module-heading .inspector-module-arrow{margin-left:5px}.inspector-module.module-drop-before{box-shadow:0 -3px 0 var(--ui-accent-text)}.inspector-module.module-drop-after{box-shadow:0 3px 0 var(--ui-accent-text)}.inspector-module.module-dragging{opacity:.5}.bezier-editor-panel .curve-point{cursor:move}.bezier-editor-panel .curve-hit{fill:transparent;stroke:none;pointer-events:all}.bezier-editor-panel .curve-point .curve-handle{pointer-events:none;cursor:inherit}.bezier-editor-panel .curve-point:hover .curve-handle,.bezier-editor-panel .curve-point:focus-visible .curve-handle{stroke:var(--ui-accent-text);stroke-width:3;filter:drop-shadow(0 0 3px var(--ui-text))}.bezier-editor-panel .curve-point[aria-disabled=true]{cursor:not-allowed}.bezier-editor-panel .curve-point[aria-disabled=true]:hover .curve-handle{filter:none}.bezier-editor-panel .curve-editor[data-drag=pan],.bezier-editor-panel .curve-editor[data-drag=pan] *{cursor:grabbing}.bezier-editor-panel .curve-editor[data-drag=point],.bezier-editor-panel .curve-editor[data-drag=point] *{cursor:move}.tree-node .tree-node-name{min-width:0;flex:1;text-align:left}.tree-node .tree-node-delete{flex:none;width:25px;display:grid;place-items:center;padding:3px;color:var(--ui-muted)}.tree-node .tree-node-delete:hover{color:var(--ui-danger);background:var(--ui-danger-bg)}.tree-node-delete svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.tree-node input.tree-node-rename{flex:1;min-width:0;width:40px;padding:3px 5px;margin:2px 0;border-color:var(--ui-accent-text)}.tree-node.drop-group-prompt{outline:1px dashed var(--ui-accent-text);background:var(--ui-selected)}.node-group-preview{position:fixed;z-index:1800;pointer-events:none;border:1px dashed var(--ui-accent-text);border-radius:var(--ui-control-radius);background:var(--ui-surface);box-shadow:0 4px 15px var(--ui-shadow);color:var(--ui-text);font:12px system-ui;max-height:65vh;overflow:hidden}.node-group-preview[hidden]{display:none}.node-group-preview-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:7px 9px;background:var(--ui-selected);color:var(--ui-accent-text)}.node-group-preview-heading strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-group-preview-heading span{font-size:11px;border:1px solid var(--ui-accent-text);border-radius:var(--ui-control-radius);padding:1px 4px;flex:none}.node-group-preview-child{margin-left:17px;padding:5px 9px;border-left:1px solid var(--ui-accent-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-group-preview p{margin:4px 8px 7px;color:var(--ui-accent-text);font-size:11px;line-height:1.5}.tree-editor .module-pin,.tree-editor .tree-node .node-shortcut-marker{display:inline-flex;align-items:center;justify-content:center;flex:none;width:22px;height:22px;padding:3px;border:0;background:transparent;box-shadow:none;color:var(--ui-subtle);font-weight:400}.module-pin svg,.node-shortcut-marker svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.tree-editor .module-pin[aria-pressed=true],.tree-editor .tree-node .node-shortcut-marker{background:transparent;color:var(--ui-accent-text);box-shadow:none}.tree-editor .module-pin:hover,.tree-editor .tree-node .node-shortcut-marker:hover{color:var(--ui-accent-text);background:var(--ui-hover)}.module-pin:focus-visible,.node-shortcut-marker:focus-visible{outline:2px solid var(--ui-info);outline-offset:1px}.inspector-module-heading .module-order-actions .module-pin{padding:3px}.node-shortcuts{min-width:0;margin:0 0 9px;padding:3px 8px 4px 11px;border-left:1px solid var(--ui-accent-text);background:var(--ui-inset);border-radius:0 0 var(--ui-module-radius) var(--ui-module-radius)}.node-shortcut{min-width:0;padding:6px 0}.node-shortcut+.node-shortcut{border-top:1px solid var(--ui-line)}.node-shortcut-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--ui-text);font-size:11px;font-weight:600}.node-shortcut-body{min-width:0}.node-shortcut-body .tree-field{margin:6px 0;gap:5px;font-size:11px}.node-shortcut-body .tree-field select{width:100%;min-width:0}.node-shortcut-body .tree-number-field{grid-template-columns:minmax(30px,1fr) 53px auto auto;gap:4px}.node-shortcut-body .tree-number-field>label{display:none}.node-shortcut-body .tree-number-field input[type=number]{width:53px;padding:4px}.node-shortcut-body .tree-number-field button{padding:4px;min-width:22px}.node-shortcut-body button,.node-shortcut-body select{font-size:11px;padding:5px}.node-shortcut-body>button{margin:4px 3px 4px 0}.node-shortcut-body .tree-note,.node-shortcut-body .gradient-preset,.node-shortcut-body .gradient-editor-actions{display:none}.node-shortcut-body .tree-check{margin:5px 0;font-size:11px}.node-shortcut-body .tree-check input{flex:none;width:14px;height:14px;margin:0}.node-shortcut-body .color-control-row{margin:7px 0}.node-shortcut-body .color-control-inputs{gap:5px}.node-shortcut-body .color-control-inputs input[type=color]{width:38px;min-width:38px;height:29px;min-height:29px;padding:2px}.node-shortcut-body .color-control-inputs input[type=text]{font-size:12px;padding:4px}.node-shortcut-body .gradient-editor{margin:7px 0}.node-shortcut-body .gradient-editor-heading{font-size:11px;gap:4px}.node-shortcut-body .gradient-stop-count{font-size:11px}.node-shortcut-body .gradient-selected{gap:5px;margin-bottom:0}.node-shortcut-body .gradient-selected-color input[type=text]{width:70px}.node-shortcut-body .gradient-position{font-size:11px}.node-shortcut-body .gradient-position input{width:48px}.tree-editor .node-shortcut-curve{display:block;width:100%;padding:0;margin:5px 0 0;border:1px solid var(--ui-line);background:var(--ui-inset);color:var(--ui-muted);overflow:hidden;text-align:right}.node-shortcut-curve svg{display:block;width:100%;height:62px}.node-shortcut-curve .curve-grid{stroke:var(--ui-line);stroke-width:1}.node-shortcut-curve .curve-path{stroke:var(--ui-accent-text);stroke-width:2}.node-shortcut-curve span{display:block;padding:3px 6px;font-size:11px}.tree-editor .node-curves-dialog{width:min(620px,94vw);max-height:92vh;overflow:auto;margin:auto;padding:14px;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius)}.node-curves-dialog::backdrop{background:var(--ui-overlay)}.node-curves-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--ui-line)}.node-curves-dialog .channel-curves-editor{border:0;margin:12px 0 0;padding:0}.node-curves-dialog .channel-curve-graph{max-width:none}.shortcut-pin-controls{display:inline-flex;align-items:center;flex:none;gap:0}.tree-editor .shortcut-pin-controls .shortcut-scope{width:12px;height:22px;min-width:0;padding:1px;border:0;background:transparent;color:var(--ui-subtle);font-size:10px;line-height:1}.tree-editor .shortcut-scope[data-global=true]{color:var(--ui-accent-text)}.tree-editor .shortcut-scope:hover{background:var(--ui-hover);color:var(--ui-accent-text)}.shortcut-scope:focus-visible{outline:2px solid var(--ui-info);outline-offset:1px}.tree-editor .shortcut-scope-menu{position:fixed;inset:auto;margin:0;width:min(265px,calc(100vw - 16px));padding:10px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-module-radius);background:var(--ui-panel);color:var(--ui-text);box-shadow:0 5px 18px var(--ui-shadow);font:12px system-ui}.shortcut-scope-menu>strong{display:block;padding:0 4px 7px;color:var(--ui-accent-text)}.shortcut-scope-menu>label{display:flex;align-items:center;gap:8px;padding:8px 5px;border-radius:var(--ui-control-radius);cursor:pointer}.shortcut-scope-menu>label:hover{background:var(--ui-hover)}.shortcut-scope-menu input[type=checkbox]{flex:none;width:14px;height:14px;margin:0;accent-color:var(--ui-accent)}.shortcut-scope-menu>p{margin:7px 4px 0;padding-top:8px;border-top:1px solid var(--ui-line);color:var(--ui-muted);font-size:11px;line-height:1.6}.movable-dialog{box-sizing:border-box}.movable-dialog>header{cursor:grab;user-select:none;touch-action:none}.movable-dialog.dialog-moving>header{cursor:grabbing}.movable-dialog>header:focus-visible{outline:2px solid var(--ui-info);outline-offset:2px}.inspector-module-heading>.shortcut-pin-controls{margin-left:auto}.inspector-module-heading>.shortcut-pin-controls+.inspector-module-arrow{margin-left:5px}.node-shortcut-body .tree-number-field>label{display:block}.node-shortcut[data-shortcut="editor.opacity"] .tree-number-field>label{display:none}.node-shortcut-body .tree-field{min-width:0;flex-wrap:wrap}.node-shortcut-body .tree-number-field{display:grid}.node-shortcut-body .tree-field>select{flex:1 1 110px;min-width:0}.node-shortcut-body .tree-field>button{flex:none}.node-shortcut-heading>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-shortcut-body .inspector-module-heading{padding:5px 7px;min-height:28px}.node-shortcut-body .inspector-module-body{padding:7px}.node-shortcut-body h3{font-size:11px;color:var(--ui-muted)}.node-shortcut-body .bezier-editor-toolbar,.node-shortcut-body .bezier-editor-actions,.node-shortcut-body .bezier-editor-coordinates{gap:4px}.node-shortcut-body .bezier-editor-coordinates input{width:65px}.node-shortcut-body .bezier-editor-status{font-size:11px}.tree-editor .tree-node .tree-visibility:hover{color:var(--ui-accent-text)}.tree-editor button:active:not(:disabled){filter:brightness(.92)}.tree-node{position:relative;transition:background-color var(--ui-motion-fast) ease,outline-color var(--ui-motion-fast) ease,padding-top var(--ui-motion-normal) var(--ui-motion-ease),padding-bottom var(--ui-motion-normal) var(--ui-motion-ease)}.tree-node.node-dragging{opacity:.3}.node-sort-active .tree-node>*{pointer-events:none}.node-sort-active{user-select:none}.tree-drag-ghost{position:fixed;z-index:10000;pointer-events:none;margin:0;padding:2px 4px;background:var(--ui-surface);border:1px solid var(--ui-accent-text);box-shadow:0 8px 24px var(--ui-shadow)}.node-drag-handle{touch-action:none}.tree-node.tree-sort-preview.drop-before{border-top:0;padding-top:var(--tree-drop-gap)}.tree-node.tree-sort-preview.drop-after{border-bottom:0;padding-bottom:var(--tree-drop-gap)}.tree-node.tree-sort-preview:before{content:"";position:absolute;left:5px;right:5px;height:calc(var(--tree-drop-gap) - 6px);border:1px dashed var(--ui-accent-text);border-radius:var(--ui-control-radius);background:var(--ui-selected);pointer-events:none}.tree-node.tree-sort-preview.drop-before:before{top:3px}.tree-node.tree-sort-preview.drop-after:before{bottom:3px}#inspector{position:relative}.inspector-module.module-dragging{opacity:0}.module-sort-placeholder{position:absolute;z-index:2;overflow:hidden;pointer-events:none;border:1px dashed var(--ui-accent-text);border-radius:var(--ui-module-radius);background:var(--ui-selected);color:var(--ui-muted);transition:top var(--ui-motion-normal) var(--ui-motion-ease)}.module-drag-ghost{position:fixed;z-index:10000;pointer-events:none;border:1px solid var(--ui-accent-text);border-radius:var(--ui-module-radius);background:var(--ui-surface);color:var(--ui-text);box-shadow:0 8px 24px var(--ui-shadow)}.inspector-module-heading .module-drag-handle{touch-action:none}#global-panel:not([hidden]),.node-group-preview:not([hidden]){animation:editor-fade-in var(--ui-motion-fade) ease-out}.tree-thumbnail-preview[data-state=ready] img{animation:editor-thumbnail-in var(--ui-motion-thumbnail) ease-out}.dock-drop-preview{border-color:var(--ui-accent-text);border-radius:var(--ui-pane-radius)}.tree-editor #canvas-stage{position:relative}.tree-editor #canvas-stage:not(.material-mode):not(.effect-mode){overflow:clip;touch-action:none}#tree-preview-surface{position:absolute;left:50%;top:50%;margin:0;transform:translate(-50%,-50%) translate(var(--canvas-pan-x,0px),var(--canvas-pan-y,0px))}#canvas-stage:not(.material-mode):not(.effect-mode)[data-pan=ready],#canvas-stage:not(.material-mode):not(.effect-mode)[data-pan=ready] *{cursor:grab!important}#canvas-stage:not(.material-mode):not(.effect-mode)[data-pan=dragging],#canvas-stage:not(.material-mode):not(.effect-mode)[data-pan=dragging] *{cursor:grabbing!important}.canvas-zoom-controls{display:flex;align-items:center;gap:4px;min-width:0}.tree-preview{container-type:inline-size;container-name:canvas-pane}.tree-toolbar.canvas-toolbar{justify-content:space-between;gap:8px;padding:8px 0}.canvas-tools,.canvas-views,.canvas-tiles{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap}.canvas-tools{padding-right:8px;border-right:1px solid var(--ui-line)}.canvas-views{margin-left:auto}.tree-editor .canvas-tool{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;min-height:var(--ui-tab-height);padding:calc(var(--ui-control-pad-y) - 1px) var(--ui-control-pad-x);font-size:12px;box-sizing:border-box}.canvas-tool svg,.graphic-search-clear svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.canvas-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.canvas-zoom{margin:0}.canvas-zoom select{max-width:125px}.canvas-dropdown{position:relative;margin:0}.canvas-dropdown>summary{list-style:none;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:var(--ui-surface);cursor:pointer;color:var(--ui-text)}.canvas-dropdown>summary::-webkit-details-marker{display:none}.canvas-dropdown>summary:hover,.canvas-dropdown[open]>summary{background:var(--ui-hover);border-color:var(--ui-line-strong)}.canvas-dropdown>summary:focus-visible{outline:2px solid var(--ui-info);outline-offset:2px}.canvas-dropdown-panel{position:absolute;z-index:35;bottom:calc(100% + 6px);right:0;width:230px;max-width:min(calc(100vw - 24px),calc(100cqw - 20px));transform:translate(var(--canvas-popup-shift,0px));padding:12px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-module-radius);background:var(--ui-panel);box-shadow:0 8px 25px var(--ui-shadow);box-sizing:border-box}.canvas-dropdown-panel>label{display:flex;align-items:center;gap:8px;margin:0 0 10px;justify-content:space-between}.canvas-dropdown-panel>label:has(input){justify-content:flex-start}.canvas-dropdown-panel select{min-width:0;max-width:145px}.canvas-dropdown-panel #guide-note{text-align:left;margin:0;padding-top:8px;border-top:1px solid var(--ui-line);white-space:normal}.canvas-tiles{gap:0;flex-wrap:nowrap}.canvas-tiles>#tile-preview{border-top-right-radius:0;border-bottom-right-radius:0}.canvas-tiles .canvas-menu-arrow{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0;padding:calc(var(--ui-control-pad-y) - 1px) 5px;min-width:24px}.canvas-aspect{position:relative;min-width:0}.canvas-aspect>label{display:flex;align-items:center;justify-content:space-between;gap:8px}.canvas-aspect.compact{display:flex;align-items:center;gap:4px}.canvas-aspect.compact>label{white-space:nowrap;font-size:12px;gap:6px}.canvas-aspect.compact select{max-width:135px;min-width:92px}.tree-editor .canvas-aspect-edit{display:inline-flex;align-items:center;justify-content:center;padding:5px;min-height:var(--ui-tab-height)}.canvas-aspect-edit svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.canvas-aspect-edit[hidden]{display:none}.canvas-aspect-custom{margin-top:8px;padding:10px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:var(--ui-inset)}.canvas-aspect.compact .canvas-aspect-custom{position:absolute;z-index:40;top:100%;left:0;width:260px;max-width:min(calc(100vw - 24px),calc(100cqw - 20px));transform:translate(var(--canvas-popup-shift,0px));box-sizing:border-box;box-shadow:0 8px 25px var(--ui-shadow);background:var(--ui-panel)}.canvas-aspect-custom>label{display:inline-flex;align-items:center;gap:6px;width:50%;box-sizing:border-box;padding-right:8px;margin:0 0 8px}.canvas-aspect-custom input{min-width:0;width:100%;box-sizing:border-box}.canvas-aspect-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:8px}.canvas-aspect-error{color:var(--ui-accent-text);font-size:12px;line-height:1.5;margin:6px 0}.tree-library-search .graphic-search-field{position:relative;flex:1 1 120px;min-width:min(120px,100%);max-width:100%}.tree-library-search .graphic-search-field #shape-search{box-sizing:border-box;width:100%;padding-right:32px;min-width:0}.tree-editor .graphic-search-clear{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;padding:4px;border:0;background:transparent;color:var(--ui-muted)}.tree-editor .graphic-search-clear:hover{background:var(--ui-hover);color:var(--ui-text)}.tree-editor .graphic-search-clear[hidden],.canvas-aspect-custom[hidden],.canvas-aspect-error[hidden]{display:none}@container canvas-pane (max-width:650px){.canvas-tools .canvas-tool-label{display:none}.canvas-tools .canvas-tool{padding:6px;min-width:30px}.canvas-views{margin-left:0}.canvas-toolbar .canvas-tools{padding-right:5px}.canvas-toolbar.canvas-toolbar{gap:6px}.canvas-aspect.compact>label>span{display:none}}.tree-editor button.animation-key{color:var(--ui-key);font-weight:500}.tree-editor button.animation-key[aria-pressed=true]{color:var(--ui-key-selected);outline:1px solid var(--ui-text);outline-offset:-1px;border-radius:3px;filter:none;box-shadow:none}.tree-editor .animation-tools button.recording[aria-pressed=true]{background:var(--ui-danger-bg);border-color:var(--ui-danger);color:var(--ui-danger);box-shadow:none}.tree-editor #shape-library .graphic-favorite[aria-pressed=true]{background:transparent;color:var(--ui-key)}.appearance-preview-signals{display:flex;flex-direction:column;gap:10px}.appearance-preview-signals .animation-tools{justify-content:space-between;margin:0;padding:0}.appearance-preview-signals .appearance-motion-sample{display:flex;align-items:center;gap:6px}.appearance-preview-signals .graphic-animated{position:static;flex:none}.appearance-preview-signals .animation-lane{height:36px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background-color:var(--ui-inset)}.appearance-preview-signals .animation-interval{left:10%;width:75%}.appearance-preview-signals .animation-key{left:42%}.appearance-preview-signals .animation-playhead{left:62%}.appearance-preview-signals>small{display:block;margin:0;color:var(--ui-muted);line-height:1.6}.post-effects-editor{min-width:0}.post-effects-toolbar{display:flex;gap:6px;margin-bottom:8px}.post-effects-list{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0}.post-effect{border:1px solid var(--ui-line);border-radius:5px;background:var(--ui-panel);min-width:0}:is(.post-effect>details,.post-effect-placeholder,.post-effect-drag-ghost)>summary{display:flex;align-items:center;gap:5px;cursor:pointer;padding:6px;list-style:none;min-width:0}:is(.post-effect>details,.post-effect-placeholder,.post-effect-drag-ghost)>summary::-webkit-details-marker{display:none}:is(.post-effect>details,.post-effect-placeholder,.post-effect-drag-ghost)>summary:after{content:"›";margin-left:3px;color:var(--ui-muted)}.post-effect>details[open]>summary:after{transform:rotate(90deg)}.post-effect-title{flex:1;min-width:0;overflow-wrap:anywhere}.post-effect-name-row{display:flex;align-items:center;gap:5px;min-width:0}.post-effect-name-row .post-effect-title{flex:0 1 auto}.post-effect-name-row .post-effect-shader{flex:none}:is(.post-effect>details,.post-effect-placeholder,.post-effect-drag-ghost)>summary button{padding:1px 4px;min-width:21px;border:0;background:transparent;box-shadow:none;color:var(--ui-muted)}:is(.post-effect>details,.post-effect-placeholder,.post-effect-drag-ghost)>summary button:hover{color:var(--ui-text);background:var(--ui-hover)}.post-effect-grip{cursor:grab}:is(.post-effect>details,.post-effect-placeholder,.post-effect-drag-ghost)>summary input{margin:0;flex:none}.post-effect-body{padding:0 8px 8px;min-width:0}.post-effect-help{padding:0 8px;margin:0 0 8px}.post-effect.module-dragging{opacity:0}.post-effect-advanced{border-top:1px solid var(--ui-line);margin-top:8px;padding-top:4px}.post-effect-advanced>summary{cursor:pointer;padding:5px 0;color:var(--ui-muted);font-size:12px}.post-effect-advanced>div{padding-top:5px}.post-effects-editor{container-type:inline-size;container-name:effect-stack}.post-effects-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px}.post-effects-count{font-size:12px;color:var(--ui-muted);min-width:0;overflow-wrap:anywhere}.post-effects-add{color:var(--ui-accent-text);min-width:0;max-width:100%;overflow-wrap:anywhere}.post-effects-reset{padding:4px;min-width:22px}.post-effect>details>summary{display:grid;grid-template-columns:21px 16px minmax(0,1fr) 22px 10px;gap:4px}.post-effect-heading{min-width:0}.post-effect-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-effect-current{display:block;color:var(--ui-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post-effect[data-effect-state=bypassed] .post-effect-title{color:var(--ui-muted)}.post-effects-empty{padding:8px 0;margin:0}.post-effect-actions-menu{min-width:165px;max-width:calc(100vw - 16px);padding:5px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-module-radius);background:var(--ui-panel);color:var(--ui-text);z-index:220}.post-effect-actions-menu>button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:7px 9px;box-shadow:none}.post-effect-actions-menu>button:hover{background:var(--ui-hover)}@container effect-stack (max-width:220px){.post-effects-toolbar{grid-template-columns:minmax(0,1fr) 22px}.post-effects-count{grid-column:1/-1}.post-effects-add{white-space:normal;padding:4px}.post-effect-heading{grid-column:1/-1;grid-row:2}.post-effect-more{grid-column:4;grid-row:1}.post-effect>details>summary:after{grid-column:5;grid-row:1}}.tree-editor .post-effect-picker{box-sizing:border-box;display:flex;flex-direction:column;width:min(640px,calc(100vw - 16px));max-width:calc(100vw - 16px);height:min(680px,calc(100vh - 32px));max-height:calc(100vh - 16px);padding:14px;margin:auto;border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);background:var(--ui-panel);color:var(--ui-text);z-index:210;overflow:hidden}.tree-editor .post-effect-picker:not([open]){display:none}.post-effect-picker>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--ui-line);flex:none}.post-effect-picker>header strong{font-weight:600}.post-effect-picker>header button{flex:none}.post-effect-picker-search{display:flex;gap:5px;margin-top:10px;flex:none}.post-effect-picker-search input{min-width:0;flex:1}.post-effect-picker-search input::-webkit-search-cancel-button{display:none}.post-effect-picker-filters{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;flex:none}.post-effect-picker-filters select{min-width:0;max-width:65%}.post-effect-picker>.tree-note{margin:0 0 8px;flex:none}.post-effect-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:auto;min-height:80px;flex:1;align-content:start;padding:1px 4px 5px 1px}.post-effect-choice{display:flex;flex-direction:column;gap:6px;border:1px solid var(--ui-line);border-radius:var(--ui-module-radius);padding:8px;min-width:0;background:var(--ui-surface)}.post-effect-choice-image{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;border-radius:3px;background-color:var(--ui-bg);background-image:conic-gradient(var(--ui-inset) 25%,transparent 0 50%,var(--ui-inset) 0 75%,transparent 0);background-size:12px 12px}.post-effect-choice canvas{display:block;width:100%;height:100%;object-fit:contain}.post-effect-preview-state{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:5px;text-align:center;background:var(--ui-bg)}.post-effect-preview-state[hidden]{display:none}.post-effect-choice strong{font-size:12px;overflow-wrap:anywhere}.post-effect-choice p{margin:0;flex:1;font-size:11px;line-height:1.5}.post-effect-picker-empty{grid-column:1/-1}.post-effect-picker-status{min-height:18px;margin:8px 0 0!important}@media(max-width:500px){.post-effect-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.post-effect-choice-image{aspect-ratio:8/5;border-radius:6px;background:#122333;background-image:none;isolation:isolate;touch-action:pan-y}.post-effect-choice-image[data-transparency=true]{background:conic-gradient(#273d4b 25%,#1c303f 0 50%,#273d4b 0 75%,#1c303f 0) 0/16px 16px}.post-effect-compare-label{position:absolute;top:6px;z-index:1;padding:2px 5px;border-radius:3px;font-size:11px;line-height:1.4;color:#e8f1f0;background:#102230d9;pointer-events:none}.post-effect-compare-before{left:6px}.post-effect-compare-after{right:6px}.post-effect-compare-divider{position:absolute;inset:0 auto 0 var(--compare-position,50%);width:1px;background:#f4f1e2b3;pointer-events:none}.post-effect-compare-divider:after{content:"↔";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:20px;height:20px;border:1px solid #d8e9e6aa;border-radius:50%;background:#17313de6;color:#f3f6ed;font-size:12px}.tree-editor .post-effect-comparison{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;pointer-events:none}.post-effect-choice-image:has(.post-effect-comparison:enabled){cursor:ew-resize}.post-effect-choice-image:focus-within{outline:2px solid var(--ui-accent-text);outline-offset:2px}.post-effect-motion-hint{position:absolute;right:6px;bottom:5px;font-size:11px;padding:2px 4px;border-radius:3px;color:#d9ece9;background:#102230d9;pointer-events:none}.post-effect-motion-hint[hidden]{display:none}.post-effect-choice-image[data-animating=true] .post-effect-motion-hint{opacity:.35}.tree-export-preview{display:grid;gap:8px;margin:14px 0;padding:12px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius)}.tree-export-preview input[type=range]{width:100%}.tree-export-preview[data-stale=true] [role=status]{color:var(--ui-accent-text)}.tree-editor .editor-icon{display:block;flex:none;width:16px;height:16px;pointer-events:none}.tree-editor :is(.module-drag-handle,.post-effect-grip,.node-drag-handle,.inspector-module-help,.shortcut-scope){display:inline-flex;align-items:center;justify-content:center}.tree-editor .inspector-module-heading .module-drag-handle{width:20px;min-height:22px;padding:2px}.tree-editor .inspector-module>summary .inspector-module-help{border:0;padding:0;box-shadow:none}.tree-editor .node-drag-handle .editor-icon{width:14px;height:14px}.tree-editor .tree-node .tree-node-name{display:flex;align-items:center;gap:5px;min-width:0}.tree-node-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.tree-node-name>.editor-icon{width:14px;height:14px;color:var(--ui-muted)}.tree-node-blend{flex:none;color:var(--ui-muted);font-size:11px}.tree-editor .tree-node .tree-disclosure{display:inline-flex;align-items:center;justify-content:center}.tree-disclosure>.editor-icon{width:12px;height:12px;transition:transform var(--ui-motion-fast) ease}.tree-disclosure[aria-expanded=true]>.editor-icon{transform:rotate(90deg)}.tree-editor :is(.tree-header,.canvas-tool,.module-pin,.tree-visibility,.tree-node-delete) svg{stroke-width:1.7}.tree-editor .shortcut-scope .editor-icon{width:12px;height:12px}.tree-editor button[data-key-path]{color:var(--ui-muted)}.tree-editor button[data-key-path]:is([data-key-state=animated],[data-key-state=current]){color:var(--ui-key)}.tree-editor [data-key-path] .keyframe-dot{display:none;fill:currentColor;stroke:none}.tree-editor [data-key-state=animated] .keyframe-dot{display:block}.tree-editor [data-key-state=current] .editor-icon>path{fill:currentColor}.tree-editor :is([data-key-path],[data-reset-parameter],.selection-number-field>[data-reset]){display:inline-flex;align-items:center;justify-content:center;line-height:1}#inspector .tree-number-field{grid-template-columns:minmax(0,1fr) 80px 28px 28px;min-width:0;column-gap:8px;row-gap:7px}#inspector .tree-number-field:not(:has(>input[type=range])):not(:has(>[data-key-path])){grid-template-columns:minmax(0,1fr) 80px 28px}#inspector .tree-number-field:not(:has(>input[type=range])):not(:has(>[data-reset-parameter])):not(:has(>[data-key-path])){grid-template-columns:minmax(0,1fr) 80px}#inspector .tree-number-field>label{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere;line-height:1.5}#inspector .tree-number-field>input[type=number]{width:100%;min-width:0;text-align:right;font-variant-numeric:tabular-nums;padding-inline:8px}#inspector .tree-number-field>input[type=range]{width:100%;min-width:0;border:0;box-shadow:none;background:transparent}#inspector .tree-number-field>button{width:28px;min-width:28px;min-height:30px;padding:5px}#inspector .tree-number-field>select{grid-column:1/3;width:100%;min-width:0}#inspector .selection-number-field{grid-template-columns:minmax(0,1fr) 80px 28px;column-gap:8px;row-gap:7px}#inspector .selection-number-field>span:first-child{grid-column:1/-1;white-space:normal;overflow-wrap:anywhere;line-height:1.5}#inspector .selection-number-field>input[type=number]{width:100%;grid-column:2;text-align:right;font-variant-numeric:tabular-nums;padding-inline:8px}#inspector .selection-number-field>input[type=range]{grid-column:1;border:0;box-shadow:none;background:transparent}#inspector .selection-number-field>[data-reset]{grid-column:3;grid-row:2;width:28px;min-width:28px;min-height:30px;padding:5px}#inspector .selection-number-field>.selection-field-state{grid-column:1/-1}:root[data-density=comfortable] #inspector :is(.tree-number-field,.selection-number-field)>button{min-height:36px}.appearance-preview-module>strong{display:flex;align-items:center;gap:7px}.appearance-preview-module>strong>span{flex:1}.appearance-preview-value{display:grid!important;grid-template-columns:minmax(0,1fr) 60px 24px 24px;gap:6px!important;align-items:center}.appearance-preview-value output{min-width:0;padding-inline:6px!important;text-align:right;font-variant-numeric:tabular-nums}.appearance-preview-icon{display:grid;place-items:center;min-height:30px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:var(--ui-surface)}.appearance-preview-icon .keyframe-dot{display:none}#inspector .tree-number-field>input[type=range]{grid-column:1;grid-row:2}#inspector .tree-number-field>input[type=number]{grid-column:2;grid-row:2}#inspector .tree-number-field>[data-reset-parameter]{grid-column:3;grid-row:2}#inspector .tree-number-field>[data-key-path]{grid-column:4;grid-row:2}#inspector .selection-number-field>input:is([type=range],[type=number]){grid-row:2}#inspector .parameter-unit{grid-column:2;grid-row:2;justify-self:end;padding-right:8px;pointer-events:none;z-index:1;color:var(--ui-muted);font-size:11px;font-variant-numeric:tabular-nums}#inspector .parameter-with-unit>input[type=number]{padding-right:26px}.parameter-axis{display:inline-block;min-width:16px;margin-right:5px;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}[data-parameter-axis=x] .parameter-axis{color:var(--ui-info)}[data-parameter-axis=y] .parameter-axis{color:var(--ui-motion)}#inspector .color-control-inputs{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center}#inspector .color-control-inputs input[type=color]{width:56px;min-width:0;height:36px;min-height:36px;padding:3px}#inspector .color-control-inputs input[type=text]{width:100%;min-width:0;min-height:36px;font-variant-numeric:tabular-nums}#inspector .selection-field:has(>input[type=color]){grid-template-columns:56px minmax(0,1fr);align-items:center}#inspector .selection-field:has(>input[type=color])>span:first-child{grid-column:1/-1}#inspector .selection-field>input[type=color]{grid-column:1;width:56px;min-width:0;height:36px;padding:3px}#inspector .selection-field:has(>input[type=color])>input[type=text]{grid-column:2;width:100%;min-width:0;min-height:36px;font-variant-numeric:tabular-nums}#inspector .parameter-with-unit>input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.tree-editor .editor-ai-dialog{width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;overflow:auto;padding:18px;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:var(--ui-window-radius)}.editor-ai-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.editor-ai-dialog h2{font-size:16px;margin:0}.editor-ai-dialog p,.editor-ai-dialog li{line-height:1.6}.editor-ai-dialog label{display:block;margin-bottom:8px}.editor-ai-dialog textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:140px;font:12px/1.5 monospace;white-space:pre-wrap;overflow-wrap:anywhere}.editor-ai-page{overflow-wrap:anywhere}.editor-ai-state{font-weight:600;margin:12px 0 4px}.editor-ai-error{color:var(--ui-danger);margin:4px 0}.editor-ai-error:empty{display:none}.editor-ai-last{margin:4px 0 12px}.editor-ai-dialog details{margin-top:20px;padding-top:12px;border-top:1px solid var(--ui-line)}.editor-ai-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;background:var(--ui-inset);font-size:12px}.editor-ai-dialog li{margin:8px 0}.editor-ai-dialog ol{padding-left:22px}#connect-ai[data-connected=true]{color:var(--ui-success)}.tree-editor .ai-tools-dialog{width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;overflow:auto;padding:18px;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:var(--ui-window-radius)}.ai-tools-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ai-tools-dialog h2{margin:0;font-size:16px}.ai-tools-target>label{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:12px}.ai-tools-target select{width:100%}.ai-tools-dialog p,.ai-tools-dialog small{line-height:1.6}.ai-tools-dialog h3{font-size:14px;margin:20px 0 8px}.ai-tools-skill-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--ui-line)}.ai-tools-skill-row>label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;cursor:pointer}.ai-tools-skill-row>button{flex:none;white-space:nowrap}.ai-tools-skills span{min-width:0;flex:1}.ai-tools-skills strong,.ai-tools-skills small{display:block}.ai-tools-skills small{color:var(--ui-muted);margin-top:4px}.ai-tools-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ai-tools-dialog [data-progress],.ai-tools-dialog [data-error]{overflow-wrap:anywhere}.ai-tools-dialog [data-error]{color:var(--ui-danger)}.ai-tools-dialog [data-error]:empty{display:none}.ai-tools-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;background:var(--ui-inset);font-size:12px}@media(max-width:520px){.ai-tools-target>label{grid-template-columns:1fr;gap:6px}.ai-tools-skill-row>label{align-items:flex-start}}#canvas-background{display:flex;flex-direction:column;gap:9px;min-width:0}#canvas-background>label{display:flex;align-items:center;justify-content:space-between;gap:12px}#canvas-background select{min-width:0;max-width:190px}.canvas-background-colors{display:flex;align-items:center;gap:6px}.canvas-background-colors>label{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0}.tree-editor #canvas-background-color{width:38px;min-width:38px;height:28px;flex:none;padding:3px}.tree-editor #canvas-background .canvas-background-preset{width:26px;height:26px;padding:0;background:var(--background-swatch);border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius)}.tree-editor #canvas-background .canvas-background-preset[aria-pressed=true]{outline:2px solid var(--ui-accent-text);outline-offset:1px;box-shadow:none}#canvas-background .canvas-background-hint{margin:0;max-width:240px;line-height:1.5}#canvas-background [hidden]{display:none}.tree-editor #canvas-stage.solid:not(.material-mode):not(.effect-mode){background:var(--canvas-background-color)}.ai-tools-flow{margin:0 0 18px}.ai-tools-step+.ai-tools-step{margin-top:20px;padding-top:4px;border-top:1px solid var(--ui-line)}.ai-tools-step>label{display:block;margin:12px 0 8px}.ai-tools-step textarea{box-sizing:border-box;width:100%;min-height:120px;resize:vertical;font:inherit;line-height:1.6;overflow-wrap:anywhere}.ai-tools-extra{margin-top:24px;padding-top:12px;border-top:1px solid var(--ui-line)}.ai-tools-dialog [data-start-feedback]:empty{display:none}.tree-editor dialog.scrollable-dialog[open],.tree-editor :is(.bezier-editor-dialog,.node-curves-dialog)[open]{display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;max-height:calc(100dvh - 32px)}.scrollable-dialog>header,.scrollable-dialog>footer,.bezier-editor-dialog>header,.node-curves-dialog>header{flex:none}.scrollable-dialog>header{gap:12px}.scrollable-dialog>header>:first-child{min-width:0;overflow-wrap:anywhere}.scrollable-dialog>header>button{flex:none}.dialog-scroll-body,.bezier-editor-dialog>.bezier-editor-panel,.node-curves-dialog>div{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:12px}.scrollable-dialog>footer{position:static}.tree-editor select option{background:var(--ui-panel);color:var(--ui-text)}@supports (appearance:base-select){.tree-editor select:not([multiple]):not([size]),.tree-editor select:not([multiple]):not([size])::picker(select){appearance:base-select}.tree-editor select:not([multiple]):not([size]){align-items:center;gap:8px;cursor:pointer}.tree-editor select::picker(select){font:13px system-ui;color:var(--ui-text);background:var(--ui-panel);border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius);padding:4px;box-shadow:0 8px 24px var(--ui-shadow);max-block-size:min(360px,60dvh);max-inline-size:calc(100vw - 24px);overflow:auto;overscroll-behavior:contain}.tree-editor select option{min-block-size:30px;padding:6px 10px;gap:8px;border-radius:var(--ui-control-radius);white-space:normal;overflow-wrap:anywhere;cursor:pointer}.tree-editor select option:checked{background:var(--ui-selected);color:var(--ui-accent-text);font-weight:600}.tree-editor select option:not(:disabled):is(:hover,:focus-visible){background:var(--ui-hover);color:var(--ui-text);outline:1px solid var(--ui-line-strong);outline-offset:-1px}.tree-editor select option:disabled{color:var(--ui-muted);cursor:default}.tree-editor select option::checkmark{color:var(--ui-accent-text)}.tree-editor select::picker-icon{color:var(--ui-muted)}}@media(max-height:500px){.tree-editor dialog.scrollable-dialog[open],.tree-editor :is(.bezier-editor-dialog,.node-curves-dialog)[open]{max-height:calc(100dvh - 16px)}.scrollable-dialog>header{margin-bottom:8px}.appearance-dialog>header,.appearance-dialog>footer{padding-block:8px}.appearance-dialog>footer>p{flex-basis:auto}}:is(#shape-library,.post-effect-picker,.graphics-card,.post-effects-editor) .shader-badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:24px;height:24px;min-width:24px;min-height:24px;padding:3px;margin:0;border:0;border-radius:var(--ui-control-radius);background:transparent;color:var(--ui-accent-text)}:is(#shape-library,.post-effect-picker,.graphics-card,.post-effects-editor) .shader-badge svg{width:16px;height:16px;pointer-events:none}:is(#shape-library,.post-effect-picker,.graphics-card,.post-effects-editor) .shader-badge:hover{background:var(--ui-hover)}:is(#shape-library,.post-effect-picker,.graphics-card,.post-effects-editor) .shader-badge:focus-visible{outline:2px solid var(--ui-focus-ring);outline-offset:1px}.post-effect-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.post-effect-choice-heading strong{min-width:0}.post-effect-choice-heading .shader-badge{flex:none}.post-effect-choice-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:6px}.post-effect-choice-actions button{min-width:0;max-width:100%;margin:0;font-size:12px;white-space:normal}.post-effect-choice-actions [data-download-effect-shader]{border-color:transparent;background:transparent;color:var(--ui-accent-text)}.post-effect-shader-scope{font-size:11px;line-height:1.5;color:var(--ui-muted)}#shape-library .component-download-shader{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:8px 0 0;padding:6px;border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);background:transparent;color:var(--ui-text)}#shape-library .component-download-shader[hidden]{display:none}#shape-library .component-download-shader svg{width:16px;height:16px;flex:none}#shape-library .component-download-shader:hover{background:var(--ui-hover)}.graphics-dialog{background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);width:min(1120px,94vw);max-height:92vh;padding:18px}.graphics-dialog::backdrop{background:var(--ui-overlay)}.graphics-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.graphics-dialog input,.graphics-dialog select,.graphics-dialog textarea,.graphics-dialog button{background:var(--ui-surface);color:inherit;border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);padding:7px}.graphics-body{overflow:auto;max-height:80vh}.graphics-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.graphics-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:var(--ui-card-gap)}.graphics-card{display:flex;flex-direction:column;gap:var(--ui-card-gap);padding:var(--ui-card-padding);border:1px solid var(--ui-line);border-radius:var(--ui-card-radius)}.graphics-card img,.graphics-placeholder{height:100px;object-fit:contain;background:#15181e}.graphics-placeholder{display:grid;place-items:center;font-size:42px;color:var(--ui-text)}.graphics-card small{color:var(--ui-muted)}.graphic-editor{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.graphics-body label{display:flex;flex-direction:column;gap:6px;margin:10px 0}.graphics-code{width:100%;min-height:200px;box-sizing:border-box;font:13px monospace}.graphics-param-row{display:grid;grid-template-columns:45px 1fr repeat(4,65px) 50px;gap:4px;margin:5px 0}.graphics-param-row input{min-width:0;width:100%;box-sizing:border-box}.graphics-error{white-space:pre-wrap;word-break:break-word;color:var(--ui-danger);max-height:180px;overflow:auto}.graphics-body canvas{max-width:100%}@media(max-width:800px){.graphic-editor{grid-template-columns:1fr}.graphics-param-row{grid-template-columns:40px 1fr repeat(4,48px) 45px}}.tree-editor dialog.graphics-dialog{width:min(1120px,94vw);max-width:94vw}.graphics-card strong{overflow-wrap:anywhere}.graphics-body>.graphics-actions{position:sticky;bottom:0;background:var(--ui-panel);padding:8px 0}.graphics-param-row{grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) repeat(4,minmax(52px,.6fr)) auto;align-items:end}.graphics-param-row label{margin:0;font-size:11px;color:var(--ui-muted)}.graphics-param-warning{grid-column:1/-1;color:var(--ui-warning)}.graphics-param-warning:empty{display:none}.graphics-parameters{overflow-x:auto;padding-bottom:6px}.graphics-param-row{min-width:620px}.graphics-body label.graphics-card-title{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0;cursor:pointer}.graphics-card-title input[type=checkbox]{flex:none;width:14px;height:14px;margin:0;padding:0;accent-color:var(--ui-accent-text)}.graphics-card-title strong{min-width:0}.graphics-library-dialog[open]{display:flex;flex-direction:column;height:92vh;overflow:hidden;box-sizing:border-box}.graphics-library-dialog>header{flex:none}.graphics-library-dialog>.graphics-body{display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;overflow:hidden}.graphics-library-dialog .graphics-body>.graphics-actions{position:static;flex:none;margin-top:0}.graphics-library-dialog .graphics-body>p{flex:none;margin:0 0 10px}.graphics-library-dialog .graphics-body>p:empty{display:none}.graphics-library-dialog .graphics-grid{flex:1;min-height:0;overflow-y:auto;align-content:start;scrollbar-gutter:stable;padding-right:8px}.graphics-body .image-connected{flex-direction:row;align-items:center;gap:8px}.graphics-body .image-connected input{width:auto;margin:0}.graphics-body input[type=color]{width:80px;height:36px;padding:3px}.graphic-editor canvas.checker{background-color:#242831;background-image:conic-gradient(#343943 25%,transparent 0 50%,#343943 0 75%,transparent 0);background-size:20px 20px}.graphics-body>.resource-create-tabs{position:sticky;top:0;bottom:auto;z-index:2;background:var(--ui-panel);padding:8px 0;margin-top:0;border-bottom:1px solid var(--ui-line)}.resource-create-tabs [role=tab]{min-width:96px}.resource-create-tabs [aria-selected=true]{border-color:var(--ui-accent-text);color:var(--ui-accent-text);background:var(--ui-selected)}.graphics-body [role=tabpanel][hidden]{display:none}.graphics-body fieldset{border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius);margin:14px 0;padding:12px}.graphics-body fieldset legend{color:var(--ui-text)}.resource-create-dialog[open]{display:flex;flex-direction:column;height:92vh;overflow:hidden;box-sizing:border-box}.resource-create-dialog>header{flex:none}.resource-create-dialog>.graphics-body{flex:1;min-height:0;max-height:none;overflow:auto}.graphics-dialog input.svg-setting-slider{width:100%;box-sizing:border-box;padding:0}.graphic-editor-dialog[open]{display:flex;flex-direction:column;height:92vh;overflow:hidden;box-sizing:border-box}.graphic-editor-dialog>header{flex:none}.graphic-editor-dialog>.graphics-body{flex:1;min-height:0;max-height:none;overflow:auto}.graphic-preview-panel{display:flex;flex-direction:column;min-width:0;min-height:0;max-height:calc(92vh - 130px);overflow:hidden;background:var(--ui-panel)}.graphic-preview-panel canvas{display:block;flex:none;width:auto;height:auto;max-height:clamp(120px,calc(92vh - 370px),320px);margin:0 auto}.graphic-preview-controls{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding-right:6px}.graphic-preview-panel .graphics-error{flex:none;max-height:min(180px,16vh);margin:8px 0}@media(min-width:801px){.graphic-preview-panel{position:sticky;top:8px;align-self:start}.resource-create-dialog .graphic-preview-panel{top:58px;max-height:calc(92vh - 220px)}}.remote-library-dialog .remote-source{border:1px solid var(--ui-line);border-radius:var(--ui-window-radius);margin-top:16px;padding:12px}.remote-library-dialog input:not([type=checkbox]){box-sizing:border-box;width:100%}.remote-library-dialog label:has(input[type=checkbox]){flex-direction:row;align-items:center;justify-content:flex-start;gap:10px}.remote-library-dialog label:has(input[type=checkbox]) input{order:-1;flex:none}.remote-source button{margin:4px 8px 4px 0}.remote-library-dialog [role=status],.remote-source p{overflow-wrap:anywhere}.graphics-card-origin{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:24px}.graphics-origin-label,.graphics-download-state{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid;border-radius:var(--ui-control-radius);font-size:12px;line-height:1.3}.graphics-origin-builtin{color:var(--ui-info);background:var(--ui-info-bg);border-color:var(--ui-info)}.graphics-origin-local{color:var(--ui-warning);background:var(--ui-warning-bg);border-color:var(--ui-warning)}.graphics-origin-remote{color:var(--ui-purple);background:var(--ui-purple-bg);border-color:var(--ui-purple)}.graphics-download-state{color:var(--ui-muted);background:var(--ui-surface);border-color:var(--ui-line)}.graphics-download-state.is-downloaded{color:var(--ui-success);background:var(--ui-success-bg);border-color:var(--ui-success)}.graphics-card small.graphics-card-source{color:var(--ui-purple);overflow-wrap:anywhere}.graphics-card .graphics-identity-state{color:var(--ui-success)}.graphics-card .graphics-identity-state.is-conflict{color:var(--ui-danger)}.graphics-identity-details{font-size:12px;overflow-wrap:anywhere}.graphics-identity-details summary{cursor:pointer;color:var(--ui-purple)}.graphics-identity-details small{display:block;margin-top:6px}.graphics-card select{width:100%;min-width:0}.graphics-card:has(.graphics-identity-details) label:has(select){font-size:12px;display:grid;gap:5px}.graphics-dialog .graphics-card .graphics-insert{background:var(--ui-selected);color:var(--ui-subtle);border-color:var(--ui-accent-text);font-weight:600}.graphics-dialog .graphics-card .graphics-insert:hover{background:var(--ui-selected);border-color:var(--ui-accent-text)}.graphics-batch-progress{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px;margin:0 0 10px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius);background:var(--ui-surface)}.graphics-batch-progress[hidden]{display:none}.graphics-batch-progress progress{grid-column:1;width:100%;height:12px;accent-color:var(--ui-accent-text)}.graphics-batch-name{grid-column:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-muted)}.graphics-batch-progress button{grid-column:2;grid-row:1 / 4;align-self:center}.tree-editor dialog.graphics-dialog[open]{display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;max-height:calc(100dvh - 32px)}.graphics-dialog>header{flex:none;gap:12px}.graphics-dialog>header>strong{min-width:0;overflow-wrap:anywhere}.graphics-dialog>header>button{flex:none}.graphics-dialog>.graphics-body{min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scroll-padding-block:12px}.graphics-library-dialog>.graphics-body{overflow:hidden}.graphics-card-preview{position:relative;height:100px;min-width:0;background:#15181e}.graphics-card-preview>img{display:block;width:100%;height:100%;object-fit:contain}.graphics-card-preview>.graphics-placeholder{width:100%;height:100%}.graphics-card-badges{position:absolute;inset:0 0 auto;display:flex;align-items:center;gap:2px;min-height:28px;padding:2px 4px;background:linear-gradient(to bottom,#000000b8 0%,#0008 70%,transparent 100%)}.graphics-card-badges .graphic-animated{color:var(--ui-artwork-motion)}.graphics-card-badges .graphic-animated svg{filter:drop-shadow(0 1px 1px #0009)}.dock-workspace{display:block;position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--ui-bg,#141515);padding:3px}.dock-split{display:flex;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}.dock-split-x{flex-direction:row}.dock-split-y{flex-direction:column}.dock-branch{min-width:0;min-height:0;overflow:hidden}.dock-splitter{flex:0 0 6px;background:var(--ui-inset);position:relative;touch-action:none;outline:none}.dock-split-x>.dock-splitter{cursor:col-resize}.dock-split-y>.dock-splitter{cursor:row-resize}.dock-splitter:hover,.dock-splitter:focus-visible{background:var(--ui-hover)}.dock-stack{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;border:1px solid var(--ui-line);border-radius:var(--ui-pane-radius,3px);background:var(--ui-panel);overflow:hidden}.dock-stack-header{flex:none;display:flex;align-items:stretch;min-width:0;height:var(--ui-tab-height,30px);background:var(--ui-inset);border-bottom:1px solid var(--ui-line);gap:2px}.dock-tabs{display:flex;min-width:0;flex:1;overflow:auto;scrollbar-width:thin;align-items:stretch}.dock-stack-actions{display:flex;flex:none;align-items:center;padding-right:2px;gap:1px}.dock-panel-body{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.dock-panel-body[hidden]{display:none!important}.dock-floating{position:absolute;display:flex;flex-direction:column;min-width:0;min-height:0;box-shadow:0 14px 40px var(--ui-shadow);border:1px solid var(--ui-line-strong);border-radius:var(--ui-window-radius);overflow:hidden;background:var(--ui-panel)}.dock-floating>:is(.dock-stack,.dock-split){flex:1;min-height:0;height:auto}.dock-floating>.dock-stack{border:0;border-radius:0}.dock-window-footer{display:flex;justify-content:flex-end;flex:0 0 24px;min-height:24px;border-top:1px solid var(--ui-line);background:var(--ui-inset)}.dock-is-dragging,.dock-is-dragging *{user-select:none!important}.dock-drag-ghost{position:fixed;z-index:10000;pointer-events:none;padding:7px 14px;background:var(--ui-hover);border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius);color:var(--ui-text);font-size:13px;box-shadow:0 4px 15px var(--ui-shadow)}.dock-drop-preview{position:absolute;z-index:1000;pointer-events:none;border:2px solid var(--ui-line-strong);background:var(--ui-selected);color:var(--ui-text);display:grid;place-items:center;font-size:14px;font-weight:600;box-sizing:border-box}.dock-empty{height:100%;display:grid;place-items:center;text-align:center;color:var(--ui-muted);padding:30px}.dock-layout-menu>.header-dropdown-panel{left:auto;right:0;width:280px;max-width:calc(100vw - 12px);max-height:calc(100dvh - 90px);overflow:auto}.dock-menu-tip{margin:6px 4px;color:var(--ui-muted);font-size:11px;line-height:1.7;white-space:normal}.dock-panel-toggles{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:8px 4px}.dock-panel-toggles label{display:flex;align-items:center;gap:7px;color:var(--ui-text);font-size:12px}.dock-save-form{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.dock-layout-menu select{width:100%;min-width:0;margin:4px 0}.dock-saved-actions{display:flex;gap:4px}@media(max-width:850px){.dock-tab{max-width:140px;overflow:hidden;text-overflow:ellipsis}}.dock-tab{flex-shrink:0;border:0;border-radius:0;padding:5px 11px;background:transparent;color:var(--ui-muted);font-size:12px;cursor:grab;white-space:nowrap;touch-action:none}.dock-tab[aria-selected=true]{background:var(--ui-panel);color:var(--ui-text)}.dock-layout-menu{position:relative}.dock-layout-menu>summary{cursor:pointer;list-style:none}.dock-layout-menu>.header-dropdown-panel{position:absolute;z-index:1100;background:var(--ui-panel);border:1px solid var(--ui-line);padding:10px;color:var(--ui-text)}.dock-layout-menu:not([open])>.header-dropdown-panel{display:none}.dock-layout-menu button{font:inherit;cursor:pointer}.dock-layout-menu input,.dock-layout-menu select{font:inherit;box-sizing:border-box}.dock-panel-toggles input{width:auto;max-width:none;flex:none}.dock-save-form input{width:100%;max-width:none;min-width:0;flex:1 1 100%}.tree-editor .tree-workspace.dock-workspace{display:block;position:relative;flex:1;min-width:0;min-height:0;height:auto;overflow:hidden;background:var(--ui-bg);padding:3px}.tree-editor .dock-tab{flex-shrink:0;border:0;border-radius:0;padding:5px 11px;background:transparent;color:var(--ui-muted);font-size:12px;cursor:grab;white-space:nowrap;touch-action:none}.tree-editor .dock-tab[aria-selected=true]{color:var(--ui-accent-text);background:var(--ui-selected);box-shadow:inset 0 2px var(--ui-accent-text)}.tree-editor .dock-tab:focus-visible{outline:1px solid var(--ui-accent-text);outline-offset:-3px}.tree-editor .dock-stack-actions button{padding:2px 6px;border:0;background:transparent;color:var(--ui-muted);font-size:15px;line-height:23px;min-width:24px}.tree-editor .dock-stack-actions button:hover{background:var(--ui-hover);color:var(--ui-text)}.dock-panel-body>.tree-left,.dock-panel-body>.tree-inspector{height:100%;max-height:none;overflow:auto;padding:var(--ui-pane-padding);border:0}.tree-node-count{margin-left:auto;align-self:center;color:var(--ui-muted);font-size:11px;white-space:nowrap}.dock-panel-body>.tree-preview{height:100%;min-height:0;max-height:none;overflow:hidden;padding:10px}.dock-workspace .preview-heading{flex-wrap:wrap;gap:7px;margin-bottom:8px}.dock-workspace .preview-heading strong{font-size:15px}.dock-workspace #breadcrumbs{margin-bottom:6px}.dock-workspace .preview-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0}.dock-workspace .preview-actions button{padding:5px;font-size:11px}.dock-workspace #canvas-stage{min-height:70px}.dock-workspace .tree-toolbar{gap:6px;padding:7px 0}.dock-workspace .tree-toolbar button,.dock-workspace .tree-toolbar select{padding:5px}.dock-workspace .tree-timeline{gap:7px;padding:7px}.dock-workspace .tree-timeline input[type=range]{min-width:50px}.tree-editor .dock-open-timeline{align-self:flex-start;padding:6px 10px;margin-top:5px;color:var(--ui-text);font-size:12px}.dock-workspace #animation-panel{height:100%;min-height:0;max-height:none;resize:none;overflow:auto;margin:0}.dock-workspace #animation-panel>summary[hidden]{display:none}.dock-animation-content{height:100%;min-height:0}.dock-workspace #node-animation-editor .animation-workspace{min-height:190px}.tree-editor .dock-window-move{position:static;flex:0 0 24px;align-self:center;width:24px;height:28px;padding:0;border:0;background:transparent;color:var(--ui-muted);cursor:move;touch-action:none;font-size:17px;line-height:28px;box-shadow:none}.tree-editor .dock-window-resize{position:static;width:28px;height:24px;min-height:24px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ui-muted);cursor:nwse-resize;touch-action:none;font-size:13px;line-height:24px;box-shadow:none}.tree-editor :is(.dock-window-move,.dock-window-resize):hover{background:var(--ui-hover);color:var(--ui-text)}.tree-header .dock-panel-toggles input{width:auto;max-width:none;flex:none}.tree-header .dock-save-form input{width:100%;max-width:none;min-width:0;flex:1 1 100%}@media(max-width:850px){.tree-editor:has(.dock-workspace){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.tree-workspace.dock-workspace{min-height:300px}.dock-workspace .tree-preview{padding:var(--ui-pane-padding)}.dock-workspace .preview-actions{max-height:65px;overflow:auto}.dock-workspace .tree-hint{display:none}.dock-panel-body>.tree-left,.dock-panel-body>.tree-inspector{padding:var(--ui-pane-padding)}}.inspector-color-quick{position:sticky;top:-12px;z-index:5;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:var(--ui-control-radius);padding:9px;margin:0 0 11px;box-shadow:0 3px 12px var(--ui-shadow)}.color-quick-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;font-size:12px;color:var(--ui-text)}.inspector-color-quick.is-expanded .color-quick-heading{margin-bottom:7px}.color-quick-body[hidden]{display:none!important}.tree-editor .color-quick-toggle{display:flex;align-items:center;gap:7px;flex:1 1 140px;min-width:140px;background:transparent;border:0;padding:0;text-align:left;color:var(--ui-text);font-size:12px}.color-quick-mini{width:36px;height:17px;border:1px solid var(--ui-line-strong);border-radius:3px;flex:none}.color-quick-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:var(--ui-muted);white-space:nowrap}.tree-editor .color-settings-link{margin-left:auto;border:0;background:transparent;color:var(--ui-accent-text);padding:0 2px;font-size:11px;white-space:nowrap}.color-quick-row{display:flex;align-items:stretch;gap:7px}.tree-editor .color-quick-swatch{height:35px;min-width:0;flex:1;border:1px solid var(--ui-line-strong);border-radius:5px;box-shadow:inset 0 0 0 1px var(--ui-shadow)}.tree-editor input.color-quick-picker{height:35px;min-height:35px;min-width:0;width:100%;flex:1;padding:2px}.color-quick-source{color:var(--ui-muted);font-size:11px;line-height:1.6;margin:6px 0 0;overflow-wrap:anywhere}.color-quick-source:empty{display:none}.color-quick-opacity{display:flex;align-items:center;gap:6px;margin-top:7px;color:var(--ui-text);font-size:11px}.color-quick-opacity>span:first-child{flex:none}.tree-editor .color-quick-opacity input[type=number]{flex:none;min-width:0;width:55px;padding:4px 5px;font-size:12px}.tree-editor .color-quick-opacity input[type=range]{flex:1;min-width:25px;width:50px;padding:0}.color-quick-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.tree-editor .color-quick-actions button{padding:4px 6px;font-size:11px;color:var(--ui-accent-text)}.color-original{background:repeating-conic-gradient(#4b5667 0 25%,#303946 0 50%) 0/12px 12px;color:#f1e4ce!important;text-shadow:0 1px 3px #000}.color-notice{padding:8px 10px;background:var(--ui-info-bg);border-left:2px solid var(--ui-info);border-radius:var(--ui-control-radius);color:var(--ui-info);font-size:12px;line-height:1.7;margin:10px 0}.color-notice button{font-size:11px;padding:4px 6px;margin-top:5px;display:block}.color-control-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;align-items:center;margin:12px 0}.color-control-row>label{color:var(--ui-text);font-size:12px}.color-control-inputs{grid-column:1/-1;display:flex;gap:8px;min-width:0}.tree-editor .color-control-inputs input[type=color]{width:65px;min-width:65px;height:35px;min-height:35px;flex:none}.tree-editor .color-control-inputs input[type=text]{flex:1;min-width:0;width:80px;font-family:Consolas,monospace;font-size:13px}.color-gradient-preview{height:35px;border:1px solid var(--ui-line-strong);border-radius:var(--ui-control-radius);margin:10px 0}.color-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:8px 0 14px}.tree-editor .color-preset{display:flex;flex-direction:column;gap:5px;padding:5px;min-width:0;text-align:center;font-size:11px}.color-preset-strip{display:block;width:100%;height:16px;border-radius:3px;border:1px solid #ffffff26}.color-stop-card{padding:1px 9px 8px;border:1px solid var(--ui-line);border-radius:var(--ui-module-radius);margin:8px 0;background:var(--ui-panel)}.color-stop-card .tree-field{margin:5px 0}.color-stop-card .tree-field input{width:90px}.color-stop-card .color-control-row{margin:8px 0}.color-stops-actions{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0}.color-stops-actions button{font-size:11px;padding:6px}@media(max-width:850px){.inspector-color-quick{top:-6px;padding:7px}}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor{font-family:Inter,Segoe UI,Microsoft YaHei,system-ui,sans-serif;-webkit-font-smoothing:antialiased;scrollbar-color:var(--ui-line-strong) transparent;scrollbar-width:thin}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header{background:var(--ui-panel);border-bottom-color:var(--ui-line-soft);box-shadow:0 1px 0 var(--ui-edge-highlight)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header .tree-brand strong{font-weight:650;letter-spacing:-.2px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header #project-name{color:var(--ui-muted)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-workspace.dock-workspace{padding:6px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter{background:transparent}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter:after{content:"";position:absolute;inset:2px;border-radius:3px;background:transparent;transition:background-color var(--ui-motion-fast) ease}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter:hover,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter:focus-visible{background:transparent}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter:hover:after,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter:focus-visible:after{background:var(--ui-selection-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-stack{border-color:var(--ui-line-soft);box-shadow:var(--ui-pane-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-stack-header{background:linear-gradient(var(--ui-module-heading),var(--ui-panel));border-bottom-color:var(--ui-line-soft)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .dock-tab{font-weight:500;color:var(--ui-muted)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .dock-tab:hover{background:var(--ui-hover);color:var(--ui-text)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .dock-tab[aria-selected=true]{color:var(--ui-text);background:transparent;box-shadow:inset 0 -2px var(--ui-selection-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .dock-stack-actions button{color:var(--ui-subtle);border-radius:4px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-stack-actions button:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:-2px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button{border-color:var(--ui-line-soft);box-shadow:var(--ui-control-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button:hover:not(:disabled){background-color:var(--ui-hover)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button:disabled{cursor:default}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(input[type=text],input[type=number],input[type=search],input:not([type]),textarea,select){background-color:var(--ui-field-bg);border-color:var(--ui-line-soft);box-shadow:inset 0 1px 2px #0000000a}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(input[type=text],input[type=number],input[type=search],input:not([type]),textarea,select):hover:not(:disabled){border-color:var(--ui-line-strong)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(input[type=text],input[type=number],input[type=search],input:not([type]),textarea,select):focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:1px;border-color:var(--ui-accent-text)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor input[type=number]{font-variant-numeric:tabular-nums}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(button,select,input):disabled{opacity:.4}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button.primary,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button.primary:hover{border-color:transparent;box-shadow:inset 0 1px #ffffff26,0 2px 4px #00000020}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button.primary:hover{background-color:var(--ui-accent-hover)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button[aria-pressed=true]:where(:not(.primary)),:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .preview-heading button.active{background:var(--ui-selection-surface);border-color:var(--ui-selection-line);color:var(--ui-accent-text);box-shadow:none;font-weight:500}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor button:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:2px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header button:not(.primary),:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-node button,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .dock-stack-actions button,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .dock-tab,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .module-drag-handle,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .module-order-actions button,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .module-pin,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .shortcut-scope{box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header button:not(.primary):hover,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header summary:hover{background:var(--ui-hover)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header #project-name{background:transparent;border-color:transparent;box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header #project-name:is(:hover,:focus){background:var(--ui-field-bg);border-color:var(--ui-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header #language-settings{background:transparent;border-color:transparent;box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-header #language-settings:hover{background:var(--ui-hover);border-color:var(--ui-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-node:hover{background:color-mix(in srgb,var(--ui-hover) 55%,transparent)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-node.selected{background:var(--ui-selection-surface);outline:0;box-shadow:inset 2px 0 var(--ui-accent-text),inset 0 0 0 1px var(--ui-selection-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-node button:hover{background:color-mix(in srgb,var(--ui-hover) 70%,transparent)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-node .tree-visibility,:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-node .node-shortcut-marker{box-shadow:none;background:transparent}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-root-drop{border-radius:var(--ui-control-radius);border-color:var(--ui-line-soft);color:var(--ui-subtle)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-root-drop:hover{border-color:var(--ui-line-strong);color:var(--ui-muted)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){gap:3px;padding:3px;margin:6px 0 14px;background:var(--ui-inset);border:1px solid var(--ui-line-soft);border-radius:calc(var(--ui-control-radius) + 3px)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button{flex:1 1 auto;border-color:transparent;background:transparent;color:var(--ui-muted);box-shadow:none;padding:6px;font-weight:500}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button.active{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-text);box-shadow:var(--ui-control-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor #selected-heading{font-size:14px;font-weight:600;letter-spacing:-.15px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor #selected-path{color:var(--ui-subtle);font-size:11px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-animation-mode button:not(.recording){background:transparent;border-color:var(--ui-line-soft);color:var(--ui-muted)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-animation-mode button.active{background:var(--ui-selection-surface);color:var(--ui-accent-text);border-color:var(--ui-selection-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module{border-color:var(--ui-line-soft);background:var(--ui-module-bg);box-shadow:var(--ui-module-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module>summary{background:var(--ui-module-heading)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module[open]>summary{border-bottom:1px solid var(--ui-line-soft)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module>summary:hover{background:var(--ui-hover)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .inspector-module-heading:before{display:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .inspector-module-title{font-weight:550}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module>summary .inspector-module-help{width:16px;height:16px;flex-basis:16px;border-color:var(--ui-line);color:var(--ui-muted);font-size:10px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .inspector-module-heading .module-drag-handle{color:var(--ui-subtle)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-arrow{border-color:var(--ui-muted)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-body .inspector-module{background:transparent;border-inline:0;border-bottom:0;border-radius:0;box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-body .inspector-module>summary{background:transparent}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-body .inspector-module>summary:hover{background:var(--ui-hover)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-body .inspector-module[open]>summary{border-bottom:0}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-body .inspector-module-heading{padding-inline:3px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-module-body .inspector-module-body{padding-inline:3px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .segmented-choice{padding:3px;gap:3px;border-color:var(--ui-line-soft);border-radius:calc(var(--ui-control-radius) + 2px)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .segmented-choice-option span{border-radius:var(--ui-control-radius);border-color:transparent}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .segmented-choice-option:has(input:checked) span{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-line);box-shadow:var(--ui-control-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .segmented-choice-option:has(input:checked):hover span{background:var(--ui-hover)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .node-shortcuts{background:var(--ui-inset);border-left-color:var(--ui-selection-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .inspector-color-quick{background:var(--ui-module-heading);border-color:var(--ui-line-soft);box-shadow:var(--ui-pane-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) #shape-library .tree-pattern-card{border-color:var(--ui-line-soft);background:var(--ui-module-bg);box-shadow:var(--ui-module-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) #shape-library .tree-pattern-card:hover{border-color:var(--ui-line-strong)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) #shape-library .tree-pattern-card.picked{border-color:var(--ui-selection-line);box-shadow:0 0 0 1px var(--ui-selection-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) #shape-library.tree-library-grid .tree-pattern-text{background:var(--ui-module-heading);font-weight:500}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) #shape-library.tree-library-grid :is(.component-add,.component-more>summary){color:var(--ui-muted);box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .library-filter-chips button{border-color:var(--ui-line-soft);box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .library-filter-chips button[aria-pressed=true]{background:var(--ui-selection-surface);border-color:var(--ui-selection-line);color:var(--ui-accent-text)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor #canvas-stage{border-color:var(--ui-line-soft);border-radius:var(--ui-pane-radius)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .tree-timeline{background:var(--ui-module-bg);border-color:var(--ui-line-soft);border-radius:var(--ui-module-radius)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor :is(.header-dropdown-panel,.graphics-dialog,.appearance-dialog,.node-curves-dialog,.shortcut-scope-menu,.node-group-preview,.dock-floating,.tree-modal>section),:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) #shape-library .component-more-panel{background:var(--ui-panel);border-color:var(--ui-line-strong);box-shadow:var(--ui-floating-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .header-dropdown-panel{padding:6px;gap:2px}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .header-dropdown-panel :is(button,a){border-radius:var(--ui-control-radius);box-shadow:none}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .graphics-dialog :is(input,select,textarea,button){border-radius:var(--ui-control-radius);border-color:var(--ui-line)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .graphics-dialog .graphics-card{background:var(--ui-module-bg);border-color:var(--ui-line-soft)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview{background:var(--ui-inset)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-module{background:var(--ui-module-bg);border-color:var(--ui-line-soft);box-shadow:var(--ui-module-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-module>strong{background:var(--ui-module-heading);border-bottom:1px solid var(--ui-line-soft)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-node{background:var(--ui-selection-surface)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-value output{background:var(--ui-field-bg);border-color:var(--ui-line-soft)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-tabs{gap:4px;padding:3px;border:1px solid var(--ui-line-soft);border-radius:calc(var(--ui-control-radius) + 3px);background:var(--ui-inset)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-tabs span{flex:1;text-align:center;padding:6px 3px;font-size:11px;border:1px solid transparent;border-radius:var(--ui-control-radius)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-tabs span:first-child{background:var(--ui-surface);border-color:var(--ui-line);box-shadow:var(--ui-control-shadow)}:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .tree-editor .appearance-preview-value{margin-bottom:0}@media(prefers-reduced-motion:reduce){:where(:root:is([data-interface-style=refined],[data-interface-style=airy],[data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=cinema],[data-interface-style=candy])) .dock-splitter:after{transition:none}}.appearance-style-picker{padding:18px 22px 0}.appearance-style-picker>label{display:block;margin-bottom:8px;font-weight:500}.appearance-style-picker .appearance-style-description{margin:10px 0 0;min-height:36px;color:var(--ui-muted);font-size:12px}.appearance-styles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.tree-editor .appearance-styles .appearance-style-card{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0;padding:7px;text-align:left;white-space:normal;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-panel);color:var(--ui-text);box-shadow:none}.tree-editor .appearance-styles .appearance-style-card:hover{border-color:var(--ui-line-strong);background:var(--ui-surface)}.tree-editor .appearance-styles .appearance-style-card[aria-pressed=true]{border-color:var(--ui-accent-text);background:var(--ui-selected);color:var(--ui-text);box-shadow:inset 0 0 0 1px var(--ui-accent-text)}.appearance-style-label{font-size:12px;font-weight:600}.appearance-style-art{position:relative;display:block;width:100%;height:48px;overflow:hidden;border-radius:6px;background:var(--preset-bg);--preset-round:7px}.appearance-style-card[data-style=refined]{--preset-bg:#1e2229;--preset-accent:#dfae72;--preset-surface:#343941}.appearance-style-card[data-style=standard]{--preset-bg:#1e2229;--preset-accent:#dfae72;--preset-surface:#30353d}.appearance-style-card[data-style=minimal]{--preset-bg:#202329;--preset-accent:#bac2ce;--preset-surface:#2c3037}.appearance-style-card[data-style=soft]{--preset-bg:#232931;--preset-accent:#a7bce0;--preset-surface:#3c4654}.appearance-style-card[data-style=standard] .appearance-style-art{--preset-round:2px}.appearance-style-card[data-style=minimal] .appearance-style-art{--preset-round:0px}.appearance-style-card[data-style=minimal] .preset-mini-sidebar{background:transparent;border-right:1px solid var(--preset-surface)}.appearance-style-card[data-style=soft] .appearance-style-art{--preset-round:12px}@media(max-width:550px){.appearance-styles{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-style-picker{padding:16px 16px 0}}.appearance-style-card[data-style=aurora]{--preset-bg:#111528;--preset-accent:#b5a0ff;--preset-surface:#28304c}.appearance-style-card[data-style=pulse]{--preset-bg:#111712;--preset-accent:#77e5a0;--preset-surface:#2a3a30}.appearance-style-card[data-style=cinema]{--preset-bg:#101114;--preset-accent:#eeeef2;--preset-surface:#26272e}.appearance-style-card[data-style=candy]{--preset-bg:#faedf6;--preset-accent:#ad3d79;--preset-surface:#ebcfe0}.appearance-style-art i{display:block;position:absolute}.preset-mini-sidebar{left:5px;top:5px;bottom:5px;width:22%;background:var(--preset-surface);border-radius:var(--preset-round)}.preset-mini-tab{left:32%;top:7px;width:35%;height:8px;border-radius:var(--preset-round);background:var(--preset-accent)}.preset-mini-orbit{left:44%;top:20px;width:24px;height:24px;border:4px solid var(--preset-accent);border-radius:50%;box-shadow:0 0 17px color-mix(in srgb,var(--preset-accent) 30%,transparent)}.preset-mini-field{right:6px;top:22px;width:16%;bottom:5px;border-radius:var(--preset-round);background:var(--preset-surface)}.appearance-style-card[data-style=aurora] .appearance-style-art{background:radial-gradient(ellipse at 75% 75%,#30265e,transparent 70%),var(--preset-bg)}.appearance-style-card[data-style=pulse] .appearance-style-art{--preset-round:999px}.appearance-style-card[data-style=cinema] .appearance-style-art{--preset-round:2px}.appearance-style-card[data-style=cinema] .preset-mini-tab{height:2px;top:13px}.appearance-style-card[data-style=candy] .appearance-style-art{background:linear-gradient(135deg,#ede7fb,#fae1e9)}.appearance-preview{align-self:start;position:sticky;top:0}@media(max-width:550px){.appearance-preview{position:static;align-self:stretch}}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .dock-stack-header{height:calc(var(--ui-tab-height) + 8px);padding:4px 5px;align-items:center;background:transparent;border-bottom:0}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .dock-tabs{align-items:center;gap:4px}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .dock-tab{height:var(--ui-tab-height);padding:4px 12px;border-radius:999px;box-shadow:none}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .dock-tab[aria-selected=true]{background:var(--ui-selection-surface);color:var(--ui-accent-text);box-shadow:none}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){padding:4px;gap:4px;border:0;border-radius:999px;background:var(--ui-inset)}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button{border:0;border-radius:999px;padding:7px 8px}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button.active{background:var(--ui-selection-surface);color:var(--ui-accent-text);box-shadow:none}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .inspector-module>summary{background:transparent}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .inspector-module[open]>summary{border-bottom:0}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .inspector-module>summary:hover{background:var(--ui-hover)}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .tree-header #export-now{border-radius:999px;padding-inline:15px}:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .tree-resource-actions,:where(:root:is([data-interface-style=aurora],[data-interface-style=pulse],[data-interface-style=candy])) .tree-editor .tree-tool-actions{border-left-color:var(--ui-line-soft)}:root[data-interface-style=aurora]{--ui-control-radius:9px;--ui-module-radius:12px;--ui-card-radius:10px;--ui-pane-radius:12px;--ui-window-radius:18px;--ui-module-heading:transparent;--ui-module-bg:color-mix(in srgb,var(--ui-surface) 18%,var(--ui-panel))}:where(:root[data-interface-style=aurora]) .tree-editor .tree-header{background:linear-gradient(100deg,var(--ui-panel),color-mix(in srgb,var(--ui-accent) 7%,var(--ui-panel)));border-bottom-color:var(--ui-selection-line)}:where(:root[data-interface-style=aurora]) .dock-stack{border-color:color-mix(in srgb,var(--ui-accent) 17%,var(--ui-line));box-shadow:0 3px 16px #0000001f}:where(:root[data-interface-style=aurora]) .tree-editor .dock-tab[aria-selected=true]{box-shadow:inset 0 0 0 1px var(--ui-selection-line),0 0 14px color-mix(in srgb,var(--ui-accent) 7%,transparent)}:where(:root[data-interface-style=aurora]) .tree-node.selected{box-shadow:inset 2px 0 var(--ui-accent-text),0 0 12px color-mix(in srgb,var(--ui-accent) 9%,transparent)}:where(:root[data-interface-style=aurora]) .tree-editor .inspector-module{border-color:color-mix(in srgb,var(--ui-accent) 9%,var(--ui-line-soft))}:where(:root[data-interface-style=aurora]) .tree-editor .tree-header strong{letter-spacing:.2px}:where(:root[data-interface-style=aurora]) .tree-editor .tree-header button.primary{box-shadow:0 3px 14px color-mix(in srgb,var(--ui-accent) 22%,transparent)}:root[data-interface-style=pulse]{--ui-control-radius:10px;--ui-module-radius:14px;--ui-card-radius:12px;--ui-pane-radius:14px;--ui-window-radius:20px;--ui-module-shadow:none;--ui-pane-shadow:none;--ui-module-bg:var(--ui-panel);--ui-control-shadow:none}:root[data-theme=light]:is([data-interface-style=pulse],[data-interface-style=cinema]){--ui-control-shadow:none;--ui-module-shadow:none;--ui-pane-shadow:none}:where(:root[data-interface-style=pulse]) .dock-stack{border-color:transparent}:where(:root[data-interface-style=pulse]) .tree-editor .dock-tab[aria-selected=true],:where(:root[data-interface-style=pulse]) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button.active{background:var(--ui-accent);color:var(--ui-on-accent);font-weight:650}:where(:root[data-interface-style=pulse]) .tree-editor .inspector-module{border-color:var(--ui-line-soft)}:where(:root[data-interface-style=pulse]) .tree-editor .inspector-module-title{font-weight:650}:where(:root[data-interface-style=pulse]) .tree-editor button.primary{border-radius:999px;box-shadow:none}:where(:root[data-interface-style=pulse]) .tree-node.selected{border-radius:999px;box-shadow:none;background:var(--ui-selection-surface)}:where(:root[data-interface-style=pulse]) .tree-editor input[type=search],:where(:root[data-interface-style=pulse]) .tree-editor #shape-search{border-radius:999px;background:var(--ui-surface);border-color:transparent}:where(:root[data-interface-style=pulse]) #shape-library .tree-pattern-card{border-color:transparent;background:var(--ui-surface)}:where(:root[data-interface-style=pulse]) #shape-library.tree-library-grid .tree-pattern-text{background:transparent}:where(:root[data-interface-style=pulse]) .tree-editor .tree-timeline{background:var(--ui-inset);border-color:transparent;border-radius:999px}:root[data-interface-style=cinema]{--ui-control-radius:6px;--ui-module-radius:0px;--ui-card-radius:6px;--ui-pane-radius:6px;--ui-window-radius:12px;--ui-pane-shadow:none;--ui-module-shadow:none;--ui-module-bg:transparent;--ui-module-heading:transparent;--ui-control-shadow:none}:where(:root[data-interface-style=cinema]) .dock-stack{border-color:var(--ui-line-soft)}:where(:root[data-interface-style=cinema]) .dock-stack-header{background:transparent;border-bottom:0}:where(:root[data-interface-style=cinema]) .tree-editor .dock-tab{letter-spacing:.5px;font-size:11px}:where(:root[data-interface-style=cinema]) .tree-editor .dock-tab[aria-selected=true]{background:transparent;box-shadow:inset 0 -1px var(--ui-text);color:var(--ui-text)}:where(:root[data-interface-style=cinema]) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){background:transparent;border:0;border-radius:0;padding:0;gap:8px}:where(:root[data-interface-style=cinema]) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button{padding:8px 2px;border-radius:0;border:0;background:transparent;font-size:11px}:where(:root[data-interface-style=cinema]) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button.active{background:transparent;box-shadow:inset 0 -2px var(--ui-text);color:var(--ui-text)}:where(:root[data-interface-style=cinema]) .tree-editor .inspector-module{border:0;border-top:1px solid var(--ui-line-soft);background:transparent;box-shadow:none}:where(:root[data-interface-style=cinema]) .tree-editor .inspector-module>summary{background:transparent;border-bottom:0}:where(:root[data-interface-style=cinema]) .tree-editor .inspector-module>summary:hover{background:var(--ui-hover)}:where(:root[data-interface-style=cinema]) #shape-library .tree-pattern-card{border-color:transparent;box-shadow:none}:where(:root[data-interface-style=cinema]) #shape-library.tree-library-grid .tree-pattern-text{background:transparent}:where(:root[data-interface-style=cinema]) .tree-node.selected{background:var(--ui-surface);box-shadow:inset 2px 0 var(--ui-text)}:where(:root[data-interface-style=cinema]) .tree-editor .tree-timeline{background:transparent;border-inline:0;border-bottom:0;border-radius:0}:where(:root[data-interface-style=cinema]) .tree-editor .appearance-preview-module{border:0;border-top:1px solid var(--ui-line-soft);background:transparent;box-shadow:none}:root[data-interface-style=candy]{--ui-control-radius:10px;--ui-module-radius:15px;--ui-card-radius:12px;--ui-pane-radius:16px;--ui-window-radius:22px;--ui-module-bg:var(--ui-panel);--ui-module-shadow:0 3px 12px color-mix(in srgb,var(--ui-accent) 5%,transparent)}:where(:root[data-interface-style=candy]) .tree-editor .tree-header{background:linear-gradient(110deg,var(--ui-panel),color-mix(in srgb,var(--ui-accent) 8%,var(--ui-panel)));border-bottom-color:transparent}:where(:root[data-interface-style=candy]) .dock-stack{border-color:color-mix(in srgb,var(--ui-accent) 12%,var(--ui-line));box-shadow:none}:where(:root[data-interface-style=candy]) .dock-panel-body>.tree-left,:where(:root[data-interface-style=candy]) .dock-panel-body>.tree-inspector{background:var(--ui-inset)}:where(:root[data-interface-style=candy]) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){background:transparent;padding:0;gap:5px}:where(:root[data-interface-style=candy]) .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs) button.active{background:var(--ui-panel);color:var(--ui-accent-text);box-shadow:0 2px 8px color-mix(in srgb,var(--ui-accent) 9%,transparent)}:where(:root[data-interface-style=candy]) .tree-editor .inspector-module{border-color:color-mix(in srgb,var(--ui-line) 55%,transparent)}:where(:root[data-interface-style=candy]) .tree-node.selected{border-radius:10px;box-shadow:none;background:var(--ui-selection-surface)}:where(:root[data-interface-style=candy]) .tree-editor .tree-timeline{background:var(--ui-inset);border-color:transparent}:where(:root[data-interface-style=candy]) #shape-library .tree-pattern-card{background:var(--ui-panel);box-shadow:0 2px 8px color-mix(in srgb,var(--ui-accent) 5%,transparent)}:where(:root[data-interface-style=candy]) #shape-library.tree-library-grid .tree-pattern-text{background:var(--ui-panel)}.appearance-style-card[data-style=airy]{--preset-bg:#1e2229;--preset-accent:#dfae72;--preset-surface:#343941}.appearance-style-card[data-style=airy] .appearance-style-art{--preset-round:6px}.appearance-style-card[data-style=airy] .preset-mini-sidebar{background:transparent;border-top:1px solid var(--preset-surface);border-bottom:1px solid var(--preset-surface)}:root[data-interface-style=airy]{--ui-module-bg:transparent;--ui-module-heading:transparent;--ui-module-shadow:none;--ui-pane-shadow:0 2px 7px #00000018}:root[data-interface-style=airy] .tree-editor .inspector-module{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}:root[data-interface-style=airy] .tree-editor .inspector-module+.inspector-module{border-top-color:var(--ui-line-soft)}:root[data-interface-style=airy] .tree-editor .inspector-module>summary{background:transparent;border-bottom-color:transparent}:root[data-interface-style=airy] .tree-editor .inspector-module>summary:hover{background:var(--ui-hover)}:root[data-interface-style=airy] .tree-editor :is(#inspector,.node-shortcuts) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]),select){border-color:transparent;background:var(--ui-field-bg);box-shadow:none}:root[data-interface-style=airy] .tree-editor :is(#inspector,.node-shortcuts) :is(input,select):hover:not(:disabled){border-color:var(--ui-line-strong)}:root[data-interface-style=airy] .tree-editor :is(#inspector,.node-shortcuts) :is(input,select):focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:1px}:root[data-interface-style=airy] .tree-editor :is(.inspector-module-body>button,.tree-number-field>button,.selection-number-field>button):not(.primary):not(.recording):not([aria-pressed=true]):not(.key-at-cursor){border-color:transparent;background:transparent;box-shadow:none}:root[data-interface-style=airy] .tree-editor :is(.inspector-module-body>button,.tree-number-field>button,.selection-number-field>button):hover:not(:disabled){background:var(--ui-hover)}:root[data-interface-style=airy] .appearance-preview-module{border-color:transparent;border-top-color:var(--ui-line-soft);border-radius:0;background:transparent;box-shadow:none}:root[data-interface-style=airy] .appearance-preview-module>strong{background:transparent;border-bottom-color:transparent}:root[data-interface-style=airy] .appearance-preview-value :is(output,.appearance-preview-icon){border-color:transparent;box-shadow:none}:root[data-interface-style=airy] .appearance-preview-icon{background:transparent}:root[data-interface-style=airy] .tree-editor .post-effect{border-color:transparent;border-top-color:var(--ui-line-soft);border-radius:0;background:transparent}:root[data-interface-style=airy] .tree-editor .post-effect>details>summary{background:transparent}.appearance-layout-options{margin-bottom:20px}.appearance-tabs-option small{display:block;font-size:11px;line-height:1.6;color:var(--ui-muted);margin-top:6px}.appearance-preview .appearance-preview-dock{height:auto;min-height:0;margin-bottom:16px;flex:none}.appearance-preview-content{display:flex;flex-direction:column;gap:16px;padding:12px}.appearance-preview-content>:is(.appearance-preview-node,.appearance-preview-tabs){margin-bottom:0}.appearance-preview .appearance-preview-module{margin-bottom:0}.appearance-preview .appearance-preview-tabs{margin-top:0}:root[data-tab-override=true] .dock-stack-header{height:calc(var(--ui-tab-height) + 8px);padding:4px 5px;align-items:center;background:transparent;border-bottom:0}:root[data-tab-override=true] .dock-tabs{align-items:center;gap:4px}:root[data-tab-override=true] .tree-editor .dock-tab{height:var(--ui-tab-height);padding:4px 12px;border:1px solid transparent;box-shadow:none;background:transparent;color:var(--ui-muted);font-size:12px;letter-spacing:0;font-weight:500}:root[data-tab-override=true] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 14px;padding:4px;border:0;background:var(--ui-inset);box-shadow:none}:root[data-tab-override=true] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button{flex:1 1 auto;padding:7px 8px;border:1px solid transparent;background:transparent;color:var(--ui-muted);box-shadow:none;font-size:12px;font-weight:500}:root[data-tab-override=true] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button:focus-visible{outline:2px solid var(--ui-accent-text);outline-offset:1px}:root[data-tab-override=true][data-tab-style=classic] .dock-stack-header{height:var(--ui-tab-height);padding:0;align-items:stretch;background:var(--ui-inset);border-bottom:1px solid var(--ui-line)}:root[data-tab-override=true][data-tab-style=classic] .dock-tabs{align-items:stretch;gap:2px}:root[data-tab-override=true][data-tab-style=classic] .tree-editor .dock-tab{height:auto;border:0;border-radius:0}:root[data-tab-override=true][data-tab-style=classic] .tree-editor .dock-tab[aria-selected=true]{background:var(--ui-selected);color:var(--ui-accent-text);box-shadow:inset 0 2px var(--ui-accent-text)}:root[data-tab-override=true][data-tab-style=classic] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){gap:3px;padding:0 0 12px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent}:root[data-tab-override=true][data-tab-style=classic] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button{flex:0 1 auto;padding:6px 8px;border:1px solid var(--ui-line);border-radius:4px;background:var(--ui-surface);color:var(--ui-text)}:root[data-tab-override=true][data-tab-style=classic] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button.active{background:var(--ui-surface);border-color:var(--ui-accent-text);color:var(--ui-accent-text);box-shadow:none}:root[data-tab-override=true][data-tab-style=segmented] .dock-tabs{padding:2px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-inset)}:root[data-tab-override=true][data-tab-style=segmented] .tree-editor .dock-tab{border-radius:6px}:root[data-tab-override=true][data-tab-style=segmented] .tree-editor .dock-tab[aria-selected=true]{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-text);box-shadow:var(--ui-control-shadow,none)}:root[data-tab-override=true][data-tab-style=segmented] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){border:1px solid var(--ui-line);border-radius:9px}:root[data-tab-override=true][data-tab-style=segmented] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button{border-radius:6px}:root[data-tab-override=true][data-tab-style=segmented] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button.active{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-text);box-shadow:var(--ui-control-shadow,none)}:root[data-tab-override=true][data-tab-style=pill] .tree-editor .dock-tab{border-radius:999px}:root[data-tab-override=true][data-tab-style=pill] .tree-editor .dock-tab[aria-selected=true]{background:var(--ui-accent);border-color:transparent;color:var(--ui-on-accent);box-shadow:none;font-weight:600}:root[data-tab-override=true][data-tab-style=pill] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){border-radius:999px}:root[data-tab-override=true][data-tab-style=pill] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button{border-radius:999px}:root[data-tab-override=true][data-tab-style=pill] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button.active{background:var(--ui-accent);border-color:transparent;color:var(--ui-on-accent);box-shadow:none;font-weight:600}:root[data-tab-override=true][data-tab-style=underline] .dock-stack-header{height:calc(var(--ui-tab-height) + 4px);padding:2px 6px;border-bottom:1px solid var(--ui-line)}:root[data-tab-override=true][data-tab-style=underline] .tree-editor .dock-tab{border:0;border-radius:0;padding:5px 8px}:root[data-tab-override=true][data-tab-style=underline] .tree-editor .dock-tab[aria-selected=true]{background:transparent;color:var(--ui-accent-text);box-shadow:inset 0 -2px var(--ui-accent-text)}:root[data-tab-override=true][data-tab-style=underline] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs){padding:0;gap:8px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent}:root[data-tab-override=true][data-tab-style=underline] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button{padding:8px 2px;border:0;border-radius:0;background:transparent}:root[data-tab-override=true][data-tab-style=underline] .tree-editor :is(#inspector-tabs,.appearance-inspector-tabs)>button.active{background:transparent;color:var(--ui-accent-text);box-shadow:inset 0 -2px var(--ui-accent-text)}:root[data-palette-roles=true] .tree-editor .tree-header{background:var(--ui-bg);border-bottom-color:var(--ui-line)}:root[data-palette-roles=true] .tree-header .tree-brand strong{color:var(--ui-selection)}:root[data-palette-roles=true]{--ui-panel-header-bg:var(--ui-header);--ui-section-header-bg:var(--ui-section);--ui-module-bg:var(--ui-panel);--ui-module-heading:var(--ui-section-header-bg);--ui-field-bg:var(--ui-surface);--ui-tab-active-bg:var(--ui-navigation-bg);--ui-tab-active-fg:var(--ui-navigation);--ui-focus-ring:var(--ui-navigation)}:root[data-tab-override=true][data-palette-roles=true] .dock-stack-header{background:var(--ui-panel-header-bg);border-bottom:1px solid var(--ui-line);--ui-text:var(--ui-header-text);--ui-muted:var(--ui-header-muted);--ui-tab-active-fg:var(--ui-header-navigation);--ui-tab-active-bg:var(--ui-header-navigation-bg)}:root[data-palette-roles=true] .dock-panel-body{background:var(--ui-bg)}:root[data-palette-roles=true] .dock-panel-body>:is(.tree-left,.tree-inspector){background:transparent}:root[data-palette-roles=true] .tree-editor :is(.tree-pattern-card,.graphics-card){background:var(--ui-panel)}:root[data-palette-roles=true] #node-tree{background:transparent}:root[data-tab-override=true][data-palette-roles=true] .dock-tabs{background:transparent;border-color:transparent}:root[data-palette-roles=true] .tree-editor .dock-stack-header :is(.dock-stack-actions button,.dock-window-move){color:var(--ui-muted)}:root[data-palette-roles=true] .tree-editor .dock-tab[aria-selected=false]{color:var(--ui-muted)}:root[data-palette-roles=true] .tree-editor :is(.dock-tab[aria-selected=true],#inspector-tabs>button.active,.appearance-inspector-tabs>button.active){--ui-accent:var(--ui-tab-active-fg);--ui-accent-text:var(--ui-tab-active-fg);--ui-on-accent:var(--ui-on-navigation);--ui-text:var(--ui-tab-active-fg);--ui-surface:var(--ui-tab-active-bg);--ui-selected:var(--ui-tab-active-bg);--ui-selection-surface:var(--ui-tab-active-bg);--ui-selection-line:var(--ui-tab-active-fg)}:root[data-palette-roles=true] :is(.tree-node.selected,.appearance-preview-node){--ui-accent-text:var(--ui-selection)}:root[data-palette-roles=true] #selected-heading{color:var(--ui-text)}:root[data-palette-roles=true] .tree-editor :is(.tree-node.selected,.appearance-preview-node){background:var(--ui-selection-surface);box-shadow:inset 3px 0 var(--ui-selection)}:root[data-palette-roles=true] .tree-editor :is(.inspector-module,.appearance-preview-module){background:var(--ui-module-bg);border-color:transparent;box-shadow:none}:root[data-palette-roles=true] .tree-editor :is(.inspector-module>summary,.appearance-preview-module>strong){background:var(--ui-section-header-bg);color:var(--ui-text)}:root[data-palette-roles=true] .tree-editor .inspector-module[open]>summary{border-bottom:1px solid var(--ui-line-soft,var(--ui-line))}:root[data-palette-roles=true] .tree-editor .inspector-module>summary :is(.inspector-module-help,.module-drag-handle,.module-pin,.shortcut-scope,.inspector-module-arrow){color:var(--ui-muted)}:root[data-palette-roles=true] .tree-editor .inspector-module>summary .module-pin[aria-pressed=true]{color:var(--ui-selection);background:var(--ui-selection-surface)}:root[data-palette-roles=true] .tree-editor .inspector-module-body .inspector-module{background:transparent}:root[data-palette-roles=true] .tree-editor .tree-timeline{background:var(--ui-panel);border:1px solid var(--ui-line-soft,var(--ui-line));padding:6px 8px}:root[data-palette-roles=true] .tree-timeline #play{background:var(--ui-surface);color:var(--ui-text)}:root[data-palette-roles=true] .tree-timeline #play[aria-pressed=true]{background:var(--ui-time-bg);color:var(--ui-time);border-color:var(--ui-time-line)}:root[data-palette-roles=true] .tree-timeline #tree-time{accent-color:var(--ui-control)}:root[data-palette-roles=true] .tree-editor :is(button,input,select,summary):focus-visible{outline:2px solid var(--ui-focus-ring);outline-offset:2px}:root[data-palette-roles=true] .tree-editor :is(.library-filter-chips,.tree-toolbar){--ui-accent-text:var(--ui-navigation);--ui-selected:var(--ui-navigation-bg);--ui-selection-surface:var(--ui-navigation-bg);--ui-selection-line:var(--ui-navigation)}:root[data-palette-roles=true] .tree-editor :is(.tree-number-field,.selection-number-field,.appearance-preview-value){--ui-accent-text:var(--ui-control)}:root[data-palette-roles=true] .tree-editor :is(input[type=range],input[type=checkbox],input[type=radio],.appearance-preview-value progress){accent-color:var(--ui-control)}:root[data-palette-roles=true] .tree-editor .dock-panel-body>.tree-preview{background:var(--ui-bg)}:root[data-palette-roles=true] .tree-editor .appearance-style-card[aria-pressed=true]{border-color:var(--ui-selection);box-shadow:inset 0 0 0 1px var(--ui-selection)}:root[data-palette-roles=true][data-theme=light]{--ui-line-soft:var(--ui-line);--ui-edge-highlight:transparent;--ui-control-shadow:none}:root[data-palette-roles=true][data-theme=light] .dock-stack{border-color:var(--ui-line);box-shadow:none}:root[data-palette-roles=true][data-theme=light] .tree-editor :is(.inspector-module,.appearance-preview-module){border-color:var(--ui-line)}:root[data-palette-roles=true][data-theme=light] .tree-editor :is(input[type=text],input[type=number],input[type=search],input:not([type]),textarea,select,.appearance-preview-value output){border-color:var(--ui-line-strong);box-shadow:none}.tree-editor .appearance-dialog{width:min(940px,calc(100vw - 32px))}.appearance-settings .appearance-style-picker{padding:0;margin-bottom:20px}.appearance-settings .appearance-styles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.appearance-settings .appearance-style-description{min-height:0;margin-bottom:0}.appearance-style-card[data-style]{--preset-bg:#20252c;--preset-accent:#bac4d1;--preset-surface:#39424e}.appearance-style-card[data-style] .appearance-style-art{background:var(--preset-bg)}.appearance-custom-colors{border-top:1px solid var(--ui-line);padding-top:14px;margin-top:4px}.appearance-custom-colors>summary{cursor:pointer;color:var(--ui-text);font-weight:500;padding:4px 0}.appearance-custom-colors>p{font-size:12px;line-height:1.6;color:var(--ui-muted);margin:10px 0 14px}.appearance-color-fields{display:grid;gap:12px;margin-bottom:16px}.appearance-color-field{display:grid;grid-template-columns:minmax(0,1fr) 40px 110px;gap:8px;align-items:center}.appearance-color-field>label{font-size:12px;min-width:0;color:var(--ui-text)}.appearance-color-field>input[type=color]{width:40px;height:34px;margin:0;padding:3px}.appearance-color-field>input[type=text]{min-width:0;width:100%;font:12px ui-monospace,monospace}.appearance-palette-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-bottom:16px}.appearance-palette-strip[hidden]{display:none}.appearance-palette-color{min-width:0;display:flex;flex-direction:column;gap:6px;text-align:center;color:var(--ui-muted);font-size:11px;line-height:1.5}.appearance-palette-color>i{display:block;height:28px;border:1px solid color-mix(in srgb,var(--ui-text) 18%,transparent);border-radius:5px;background:var(--palette-color)}.appearance-palette-color>span{overflow-wrap:anywhere}.appearance-preview-toolbar{display:flex;align-items:center;gap:6px;padding:8px;background:var(--ui-bg);border-bottom:1px solid var(--ui-line)}.appearance-preview-toolbar>span{flex:1;min-width:0;font-size:11px;color:var(--ui-text)}.tree-editor .appearance-preview-toolbar button{font-size:11px;padding:5px 8px;flex:none}.appearance-preview-stage{position:relative;display:grid;place-items:center;min-height:64px;border-bottom:1px solid var(--ui-line);background:var(--ui-stage)}.appearance-preview-stage svg{display:block;width:140px;height:60px;fill:none;stroke:#edf0f2;stroke-width:2}.appearance-preview-stage>span{position:absolute;left:10px;bottom:7px;color:#b8c1ca;font-size:11px}.appearance-preview-content{gap:10px;padding:10px;background:var(--ui-bg)}:root[data-palette-roles=true] .appearance-preview-value .appearance-preview-icon:last-child{color:var(--ui-muted)}@media(max-width:550px){.appearance-palette-color{font-size:11px}.appearance-settings .appearance-styles{grid-template-columns:repeat(2,minmax(0,1fr))}}.tree-editor button.ui-action-primary{background:var(--ui-accent);color:var(--ui-on-accent);border-color:transparent;box-shadow:none;font-weight:600;min-height:32px}.tree-editor button.ui-action-primary:hover:not(:disabled){background:var(--ui-accent-hover)}.tree-editor button.ui-action-secondary{background:transparent;color:var(--ui-text);border-color:var(--ui-line-strong);box-shadow:none;min-height:32px}.tree-editor button.ui-action-quiet{background:transparent;color:var(--ui-muted);border-color:transparent;box-shadow:none}.tree-editor button.ui-action-quiet:hover:not(:disabled),.tree-editor button.ui-action-secondary:hover:not(:disabled){background:var(--ui-hover);color:var(--ui-text)}.tree-editor button.ui-action-destructive:hover:not(:disabled){color:var(--ui-danger);background:var(--ui-danger-bg)}.tree-editor button.ui-action-quiet[aria-pressed=true]{background:var(--ui-navigation-bg);color:var(--ui-navigation);border-color:transparent}.ui-mode-group{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:3px;background:var(--ui-inset);border-radius:var(--ui-control-radius);max-width:100%}.tree-editor button.ui-mode-button{background:transparent;color:var(--ui-muted);border-color:transparent;box-shadow:none;min-height:30px}.tree-editor button.ui-mode-button:hover:not(:disabled):not(.recording){background:var(--ui-hover);color:var(--ui-text)}.tree-editor button.ui-mode-button[aria-pressed=true]:not(.recording){background:var(--ui-navigation-bg);color:var(--ui-navigation);border-color:transparent;box-shadow:inset 0 -2px var(--ui-navigation)}.node-action-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:7px}.node-create-actions,.node-organize-actions,.node-edit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.node-create-actions>button{flex:1;white-space:nowrap}.node-organize-actions>button{white-space:normal;text-align:left}.node-edit-actions{border-top:1px solid var(--ui-line-soft,var(--ui-line));padding-top:6px}.node-edit-actions .tree-node-count{margin-left:auto}.node-action-toolbar button,.tree-editor .selection-tools>button{min-height:28px}.tree-editor .selection-tools{align-items:center;gap:8px}.tree-editor .selection-tools>button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;max-width:100%;padding:4px 10px;line-height:1.5}.tree-editor .selection-tools>.tree-note{flex:0 0 100%;min-width:0;margin:0;line-height:1.6;overflow-wrap:anywhere}.tree-editor .canvas-tools{border-right:0;padding-right:0;gap:7px}.tree-editor .canvas-views .canvas-dropdown>summary{background:transparent;border-color:transparent;color:var(--ui-muted)}.tree-editor .canvas-views .canvas-dropdown[open]>summary,.tree-editor .canvas-views .canvas-dropdown>summary:hover{background:var(--ui-hover);color:var(--ui-text)}.tree-editor .tree-timeline #play{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:72px;min-height:32px;border-color:var(--ui-line-strong);font-weight:600}.tree-editor #play>.editor-icon{width:14px;height:14px;flex:none}.animation-view-modes{margin-left:auto}.animation-key-actions{border-top:1px solid var(--ui-line-soft,var(--ui-line));margin-top:4px;padding-top:7px}.animation-workspace .ui-action-quiet,.animation-workspace .ui-mode-button{font-size:12px;min-height:28px}.tree-editor .workspace-menu>summary{border-color:transparent}#dock-content-library{container:graphic-browser / size}#dock-content-inspector{container:parameter-panel / inline-size}.dock-panel-body>.dock-library-content{display:flex;flex-direction:column;overflow:hidden;gap:10px}.library-browse-header{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;flex:none;min-width:0}.dock-library-content #shape-library{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable}.dock-library-content .tree-library-search{display:flex;align-items:center;gap:6px;margin:0}.dock-library-content .tree-library-search .search-clear-wrap{flex:1;min-width:0}.dock-library-content #shape-search{margin:0;min-width:0;width:100%}.dock-library-content .tree-library-filters{display:contents}.tree-editor .library-browse-modes{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin:0;padding:3px;background:var(--ui-inset);border-radius:var(--ui-control-radius)}.tree-editor .library-browse-modes button{font-size:12px;padding:5px 6px;white-space:nowrap;border-color:transparent;background:transparent;box-shadow:none;color:var(--ui-muted)}.tree-editor .library-browse-modes button[aria-pressed=true]{border-color:var(--ui-line);background:var(--ui-navigation-bg);color:var(--ui-navigation)}.library-category-disclosure{grid-column:1/-1;min-width:0}.library-category-disclosure>summary{padding:3px 0;cursor:pointer;font-size:12px;color:var(--ui-muted);overflow-wrap:anywhere;line-height:1.5}.library-category-disclosure>summary span{display:inline-block;vertical-align:top;max-width:calc(100% - 18px);max-height:3em;overflow:hidden}.library-category-disclosure #library-categories{max-height:min(220px,32cqh);overflow:auto;padding:6px 0 2px;scrollbar-width:thin}.tree-editor .library-category-chips{display:flex;flex-wrap:wrap;gap:5px;align-content:start}.tree-editor .library-category-chips button{flex:0 1 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.5;padding:4px 9px;border:1px solid transparent;border-radius:999px;background:transparent;box-shadow:none;color:var(--ui-muted)}.tree-editor .library-category-chips button:hover{background:var(--ui-hover);color:var(--ui-text)}.tree-editor .library-category-chips button[aria-pressed=true]{border-color:var(--ui-selection-line);background:var(--ui-selection-surface);color:var(--ui-navigation)}.tree-editor input::placeholder,.tree-editor textarea::placeholder{color:var(--ui-muted);opacity:1}:root[data-palette-roles=true] .tree-editor .library-browse-modes{--ui-accent-text:var(--ui-navigation);--ui-selected:var(--ui-navigation-bg)}.tree-editor .tree-header #support-project{color:var(--ui-muted)}.tree-editor .tree-header #support-project:is(:hover,:focus-visible){color:var(--ui-accent-text)}.workspace-menu{position:relative;min-width:0;flex:none;font-size:12px}.workspace-menu>summary{cursor:pointer;list-style:none;padding:6px 9px;border:1px solid var(--ui-line-soft,var(--ui-line));border-radius:var(--ui-control-radius);color:var(--ui-muted);line-height:1.5}.workspace-menu>summary::-webkit-details-marker{display:none}.workspace-menu>summary:after{content:" ▾"}.workspace-menu>summary:is(:hover,:focus-visible),.workspace-menu[open]>summary{background:var(--ui-hover);color:var(--ui-text)}.workspace-menu>summary:focus-visible{outline:2px solid var(--ui-navigation);outline-offset:1px}.workspace-menu-panel{position:fixed;inset:auto;margin:0;width:300px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:12px;background:var(--ui-panel);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:var(--ui-module-radius);box-shadow:0 12px 32px var(--ui-shadow);font:13px/1.5 system-ui}.workspace-menu-panel:popover-open{display:flex;flex-direction:column;gap:8px}.workspace-menu-panel button{text-align:left;white-space:normal;padding:8px 10px;min-height:32px}.workspace-menu-panel label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.workspace-menu-panel select{max-width:100%}.workspace-action-group{display:flex;flex-direction:column;gap:5px;border-top:1px solid var(--ui-line-soft,var(--ui-line));padding-top:9px}.workspace-action-group[hidden]{display:none}.workspace-action-group>strong{font-size:12px;color:var(--ui-subtle);padding:0 4px 3px}.workspace-scope-note{margin:0;color:var(--ui-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.resource-editing-note{margin:0 0 8px;padding:7px 10px;border-left:2px solid var(--ui-selection);background:var(--ui-selection-surface);color:var(--ui-text);font-size:12px;line-height:1.5}.tree-editor .is-resource-editing #preview-title{color:var(--ui-selection)}.dock-workspace .preview-actions{gap:6px;align-items:center}.dock-workspace .preview-actions button{font-size:12px;padding:6px 9px}#inspector-layout-menu{margin:0 0 10px;width:fit-content;max-width:100%}#inspector-layout-menu>summary{padding:3px 6px;border-color:transparent;font-size:11px}:root[data-tab-override=true] .tree-editor #inspector-tabs{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;scrollbar-width:thin}.tree-editor #inspector-tabs>button{flex:1 0 auto;white-space:nowrap;min-width:64px;min-height:30px;font-size:12px;padding:5px 9px}.tree-editor .inspector-module{margin-block:0 12px;border-color:var(--ui-line-soft,var(--ui-line))}.tree-editor .inspector-module>summary{padding:0}.tree-editor .inspector-module-heading{display:grid;grid-template-columns:24px minmax(0,1fr) 24px auto 24px;gap:4px;padding:7px;min-height:40px}.tree-editor .inspector-module-heading:not(:has(>.module-drag-handle)){grid-template-columns:minmax(0,1fr) 24px auto 24px}.tree-editor .inspector-module-heading:before{display:none}.tree-editor .inspector-module-heading .inspector-module-help,.tree-editor .inspector-module-heading .module-drag-handle,.tree-editor .inspector-module-heading .module-pin,.tree-editor .inspector-module-heading .shortcut-scope{min-width:24px;width:24px;min-height:24px;height:24px;padding:4px}.tree-editor .inspector-module-title{line-height:1.5;overflow-wrap:anywhere;white-space:normal}.tree-editor .inspector-module-heading .inspector-module-arrow{grid-column:-2/-1;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border:0;transform:none}.tree-editor .inspector-module-heading .inspector-module-arrow>.editor-icon{width:12px;height:12px;transition:transform var(--ui-motion-normal) var(--ui-motion-ease)}.tree-editor .inspector-module[open]>summary .inspector-module-arrow{transform:none}.tree-editor .inspector-module[open]>summary .inspector-module-arrow>.editor-icon{transform:rotate(90deg)}.tree-editor .inspector-module-heading :is(.module-order-actions,.shortcut-pin-controls){align-items:center}.tree-editor .inspector-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:8px;border-top:1px solid var(--ui-line-soft,var(--ui-line))}.tree-editor .inspector-secondary-actions>button{background:transparent;border-color:transparent;box-shadow:none;color:var(--ui-muted);font-size:12px;padding:5px 7px}.tree-editor .inspector-secondary-actions>button:hover{background:var(--ui-hover);color:var(--ui-text)}.tree-editor .graphics-card-origin{min-height:18px;gap:6px}.tree-editor .graphics-origin-label{background:transparent;border:0;padding:0;color:var(--ui-muted);font-size:11px}.graphics-added-state{margin-left:auto;font-size:11px;color:var(--ui-muted)}.tree-editor .graphics-list-action.is-added{display:none}.tree-editor .tree-pattern-card .component-add,.tree-editor .tree-pattern-card .component-more>summary{font-size:12px;min-height:28px}#shape-library.tree-library-grid :is(.component-add,.component-more>summary){display:flex;align-items:center;justify-content:center;gap:3px;min-height:28px;line-height:18px}#shape-library.tree-library-grid .component-more>summary{list-style:none}#shape-library.tree-library-grid .component-more>summary::-webkit-details-marker{display:none}#shape-library.tree-library-grid .component-more>summary:before{content:"";flex:none;width:6px;height:8px;background:currentColor;clip-path:polygon(15% 0,100% 50%,15% 100%)}#shape-library.tree-library-grid .component-more[open]>summary:before{transform:rotate(90deg)}#shape-library.tree-library-grid .graphic-animated{left:3px;top:3px;width:24px;height:24px;color:var(--ui-artwork-motion)}#shape-library.tree-library-grid .graphic-animated svg{width:20px;height:20px;stroke-width:1.8;filter:drop-shadow(0 0 1px #000) drop-shadow(0 1px 1px #0009)}#shape-library .graphic-favorite,#shape-library .graphic-favorite:hover,.tree-editor #shape-library .graphic-favorite[aria-pressed=true]{background:transparent}#shape-library.tree-library-grid .graphic-favorite{width:24px;height:24px;color:var(--ui-artwork-icon)}#shape-library.tree-library-grid .graphic-favorite svg{width:20px;height:20px;stroke-width:1.8;filter:drop-shadow(0 0 1px #000) drop-shadow(0 1px 1px #0009)}.tree-editor #shape-library.tree-library-grid .graphic-favorite[aria-pressed=true]{color:var(--ui-artwork-favorite)}#shape-library.tree-library-grid .graphic-favorite:focus-visible{outline-color:var(--ui-artwork-icon)}#shape-library.tree-library-grid .tree-thumbnail-preview:after{content:"";position:absolute;inset:0 0 auto;height:36px;max-height:100%;background:linear-gradient(to bottom,#000000b8 0%,#0008 70%,transparent 100%);pointer-events:none}#shape-library.tree-library-grid :is(.graphic-animated,.graphic-favorite){z-index:1}.tree-editor .tree-pattern-text{font-size:12px;line-height:1.5}.dock-workspace .tree-timeline{border-color:transparent;padding:4px 0;flex-wrap:nowrap}.dock-workspace .tree-timeline>#tree-time{flex:1;min-width:45px}.workspace-menu-panel #local-time{font-size:12px;color:var(--ui-muted)}.graphics-body>.graphics-browser-toolbar{position:static;align-items:center}.graphics-browse-controls{display:flex;flex-wrap:wrap;gap:8px;flex:1 0 100%;min-width:0}.graphics-browse-controls>input{flex:2 1 230px;min-width:0}.graphics-browse-controls>select{flex:1 1 150px;min-width:0}.graphics-management{flex:1 0 100%}.graphics-management>summary,.graphics-card-details>summary{cursor:pointer;font-size:12px;color:var(--ui-muted);padding:6px 0}.graphics-management-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px}.graphics-card-details{margin-top:auto;border-top:1px solid var(--ui-line-soft,var(--ui-line));padding-top:3px}.graphics-card-details[open]{display:flex;flex-direction:column;gap:7px}.graphics-card-details>button{width:100%;margin-top:6px;text-align:left}.graphics-card-details>small{display:block;line-height:1.6}.graphics-grid{align-items:start}#canvas-stage.checker{background-color:#23262c;background-image:conic-gradient(#2a2e35 25%,transparent 0 50%,#2a2e35 0 75%,transparent 0)}@container graphic-browser (min-width:340px){.tree-editor .library-browse-modes{grid-template-columns:repeat(4,minmax(0,1fr))}}@container graphic-browser (min-width:680px){.library-browse-header{grid-template-columns:minmax(240px,1fr) minmax(320px,1fr);align-items:center;column-gap:12px}}@container graphic-browser (max-height:350px){.dock-panel-body>.dock-library-content{gap:4px}.library-category-disclosure #library-categories{max-height:65px}.tree-editor .dock-library-content .tree-pattern-card img{height:68px}}@container parameter-panel (min-width:560px){#inspector .tree-number-field:has(>input[type=range]){grid-template-columns:minmax(100px,1fr) minmax(0,3fr) 80px 28px 28px;align-items:center}#inspector .tree-number-field:has(>input[type=range])>label{grid-column:1;grid-row:1}#inspector .tree-number-field:has(>input[type=range])>input[type=range]{grid-column:2;grid-row:1}#inspector .tree-number-field:has(>input[type=range])>input[type=number],#inspector .tree-number-field:has(>input[type=range])>.parameter-unit{grid-column:3;grid-row:1}#inspector .tree-number-field:has(>input[type=range])>[data-reset-parameter]{grid-column:4;grid-row:1}#inspector .tree-number-field:has(>input[type=range])>[data-key-path]{grid-column:5;grid-row:1}#inspector .selection-number-field:has(>input[type=range]){grid-template-columns:minmax(100px,1fr) minmax(0,3fr) 80px 28px;align-items:center}#inspector .selection-number-field:has(>input[type=range])>span:first-child{grid-column:1;grid-row:1}#inspector .selection-number-field:has(>input[type=range])>input[type=range]{grid-column:2;grid-row:1}#inspector .selection-number-field:has(>input[type=range])>input[type=number]{grid-column:3;grid-row:1}#inspector .selection-number-field:has(>input[type=range])>[data-reset]{grid-column:4;grid-row:1}}@container parameter-panel (max-width:300px){#inspector .tree-number-field,#inspector .tree-number-field:not(:has(>[data-key-path])),#inspector .tree-number-field:not(:has(>[data-reset-parameter])):not(:has(>[data-key-path])){grid-template-columns:minmax(0,1fr) 28px 28px}#inspector .tree-number-field>input[type=range]{grid-column:1/-1;grid-row:2;min-height:22px}#inspector .tree-number-field>input[type=number]{grid-column:1;grid-row:3}#inspector .tree-number-field>[data-reset-parameter]{grid-column:2;grid-row:3}#inspector .tree-number-field>[data-key-path]{grid-column:3;grid-row:3}#inspector .parameter-unit{grid-column:1;grid-row:3}#inspector .selection-number-field{grid-template-columns:minmax(0,1fr) 28px}#inspector .selection-number-field>input[type=range]{grid-column:1/-1;grid-row:2}#inspector .selection-number-field>input[type=number]{grid-column:1;grid-row:3}#inspector .selection-number-field>[data-reset]{grid-column:2;grid-row:3}#inspector .tree-field:not(.tree-number-field){flex-wrap:wrap}#inspector .tree-field>select{flex-basis:100%;width:100%}.tree-editor .inspector-module-heading{flex-wrap:wrap}}.tree-editor #node-tree{display:flow-root;padding-block:4px}.tree-editor #node-tree .tree-node{min-height:32px;margin-block:4px}.tree-editor #node-tree .tree-node .node-shortcut-marker{height:auto;align-self:stretch}.tree-editor #node-tree .tree-node-animation{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:none;width:18px;height:18px;background:transparent;color:var(--ui-motion)}.tree-editor #node-tree .tree-node-animation svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;pointer-events:none}.tree-editor #node-tree .tree-node-animation svg path{fill:currentColor;stroke:none}.tree-editor #node-tree .tree-root-drop{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:36px;margin:12px 0 0;padding:8px;border:1px dashed transparent;border-radius:var(--ui-control-radius);background:transparent;color:var(--ui-subtle)}.tree-editor #node-tree.node-sort-active .tree-root-drop{border-color:var(--ui-line-strong);color:var(--ui-muted)}.tree-editor #node-tree .tree-root-drop.active{border-color:var(--ui-selection);background:var(--ui-selection-surface);color:var(--ui-text)}.tree-editor #node-tree+.selection-tools{margin-top:12px;gap:8px}:root:is([data-interface-style=airy],[data-interface-style=cinema],[data-interface-style=minimal]) .tree-editor :is(#inspector .inspector-module,.appearance-preview-module){border:0;border-top:1px solid var(--ui-line-soft,var(--ui-line));border-radius:0;background:transparent;box-shadow:none}:root:is([data-interface-style=airy],[data-interface-style=cinema],[data-interface-style=minimal]) .tree-editor :is(#inspector .inspector-module>summary,.appearance-preview-module>strong){background:transparent;border-bottom:0}:root:is([data-interface-style=airy],[data-interface-style=cinema],[data-interface-style=minimal]) .tree-editor #inspector .inspector-module>summary:hover{background:var(--ui-hover)}.tree-editor #inspector .inspector-module-body .inspector-module{border-inline:0;border-bottom:0;border-radius:0;background:transparent;box-shadow:none;margin-block:14px 0}.tree-editor #inspector .inspector-module-body .inspector-module>summary{background:transparent;border-bottom:0}.tree-editor #inspector .inspector-module-body .inspector-module>summary:hover{background:var(--ui-hover)}.tree-editor #inspector .inspector-module-body .inspector-module-heading,.tree-editor #inspector .inspector-module-body .inspector-module-body{padding-inline:0}.tree-editor #inspector .post-effects-list>.post-effect{border:0;border-top:1px solid var(--ui-line-soft,var(--ui-line));border-radius:0;background:transparent;box-shadow:none}.tree-editor #inspector .post-effect>details>summary{padding:10px 0;min-height:42px}.tree-editor #inspector .post-effect>details>summary:hover{background:var(--ui-hover)}.tree-editor #inspector .post-effect-body{padding:0 0 10px}.tree-editor #inspector .post-effect-title{font-size:12px;font-weight:600;line-height:1.6}.tree-editor #inspector :is(.tree-number-field,.selection-number-field)>button:not([data-key-state=current]):not(.key-at-cursor){border-color:transparent;background:transparent;box-shadow:none}.tree-editor #inspector :is(.tree-number-field,.selection-number-field)>button:hover:not(:disabled){background:var(--ui-hover);border-color:var(--ui-line-strong)}.tree-editor #inspector :is(.tree-number-field,.selection-number-field):focus-within>:is(label,span:first-child){color:var(--ui-control,var(--ui-accent-text))}@container parameter-panel (min-width:301px){#inspector .tree-number-field:has(>input[type=range]),#inspector .selection-number-field:has(>input[type=range]){grid-template-columns:minmax(0,1fr) 80px 28px 28px}}@container parameter-panel (min-width:560px){#inspector .tree-number-field:has(>input[type=range]),#inspector .selection-number-field:has(>input[type=range]){grid-template-columns:minmax(100px,1fr) minmax(0,3fr) 80px 28px 28px}}.tree-editor .post-effect-picker{width:min(760px,calc(100vw - 16px));height:min(760px,calc(100dvh - 32px));padding:16px}.post-effect-picker-grid{gap:14px;grid-auto-rows:max-content;padding:2px 6px 6px 2px;scrollbar-gutter:stable}.tree-editor .post-effect-choice{padding:0;gap:8px;overflow:hidden;background:transparent;border-color:var(--ui-line-soft,var(--ui-line));border-radius:var(--ui-card-radius);box-shadow:none}.tree-editor .post-effect-choice:is(:hover,:focus-within){border-color:var(--ui-line-strong)}.tree-editor .post-effect-choice-image{width:100%;border-radius:0;flex:none}.tree-editor .post-effect-choice>strong{margin:2px 10px 0;line-height:1.5;font-size:13px}.tree-editor .post-effect-choice>p{margin:0 10px;min-height:3em;color:var(--ui-muted);font-size:12px}.tree-editor .post-effect-choice>button{align-self:flex-end;margin:0 10px 10px;min-height:28px;padding:4px 9px;background:transparent;border-color:var(--ui-line-soft,var(--ui-line));box-shadow:none}.tree-editor .post-effect-choice>button:hover:not(:disabled){background:var(--ui-navigation-bg,var(--ui-hover));color:var(--ui-navigation,var(--ui-text));border-color:var(--ui-navigation,var(--ui-line-strong))}@media(max-width:500px){.tree-editor .post-effect-picker{padding:10px}.post-effect-picker-grid{gap:9px}.tree-editor .post-effect-choice>strong{font-size:12px}.tree-editor .post-effect-choice>p{font-size:11px}}
