@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(./dm-sans-latin-wght-normal-Xz1IZZA0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(./space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(./space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(./space-grotesk-latin-wght-normal-BhU9QXUp.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--background);font-synthesis:none;--background:#141416;--panel:#1c1c20;--surface:#222226;--header:#19191c;--input:#17171a;--button:#242428;--hover:#303035;--hover-overlay:#ffffff09;--action-hover:#ffffff13;--line:#323238;--line-soft:#2d2d32;--control-line:#3a3940;--control-hover-line:#615d65;--floating-line:#45434a;--text:#f4f1ec;--secondary-text:#c8c5cb;--muted:#aaa8ae;--subtle:#96939b;--accent:#f0ad60;--accent-text:#ffd19b;--accent-line:#5b4534;--accent-surface:#3c2f25;--primary:#f0ad60;--primary-hover:#ffc481;--on-primary:#23180e;--error:#ffad99;--error-text:#ffc9b9;--error-line:#714840;--error-surface:#312421;--cut-tag:#ffad991a;--danger:#ffad99;--danger-hover:#ffc6b7;--on-danger:#351e18;--success:#b4d7ac;--success-surface:#8fc8881a;--reference:#a6ceff;--reference-surface:#72baff22;--switch-track:#35343b;--switch-line:#5b5860;--switch-thumb:#d0ccd2;--preview-center:#28272c;--preview-mid:#1d1d22;--preview-edge:#17171b;--panel-shadow:#09090a22;--floating-shadow:#0009;--axis-shadow:#000;--backdrop:#0b0b0cc2;font-family:DM Sans Variable,sans-serif}:root[data-color-scheme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f2ee;--panel:#fffdfa;--surface:#f4efe9;--header:#fffcf8;--input:#fffdfa;--button:#f3ede6;--hover:#ebe3d9;--hover-overlay:#49372009;--action-hover:#49372016;--line:#d9d0c6;--line-soft:#e6ded5;--control-line:#978878;--control-hover-line:#776758;--floating-line:#c6b7a8;--text:#28231e;--secondary-text:#51483f;--muted:#63594f;--subtle:#6f6459;--accent:#914707;--accent-text:#79400c;--accent-line:#cfad89;--accent-surface:#f7e8d5;--primary:#994509;--primary-hover:#7f3806;--on-primary:#fffdfa;--error:#a0312a;--error-text:#812820;--error-line:#d5a298;--error-surface:#fcebe6;--cut-tag:#ad37201a;--danger:#ac382c;--danger-hover:#8d281e;--on-danger:#fffdfa;--success:#2c6035;--success-surface:#4079431a;--reference:#24558a;--reference-surface:#3577ad1a;--switch-track:#e4dbd0;--switch-line:#867463;--switch-thumb:#736456;--preview-center:#fffcf6;--preview-mid:#f3eee6;--preview-edge:#eae2d7;--panel-shadow:#39271812;--floating-shadow:#36291b33;--axis-shadow:#fff9;--backdrop:#211a1466}*,:before,:after{box-sizing:border-box}[hidden]{display:none!important}body{min-width:290px;margin:0}button,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button,input,select,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}svg{flex:none;width:1.12rem;height:1.12rem;display:block}.shell{width:min(100% - 80px,1512px);margin:0 auto}.top-bar{border-bottom:1px solid var(--line-soft);background:var(--header)}.top-bar-inner{justify-content:space-between;align-items:center;gap:1rem;min-height:60px;display:flex}.brand{white-space:nowrap;letter-spacing:-.045em;align-items:center;gap:.68rem;font:700 1.22rem Space Grotesk Variable,sans-serif;display:flex}.brand-mark{border:1px solid var(--accent-line);background:var(--accent-surface);width:36px;height:36px;color:var(--accent);border-radius:9px;place-items:center;display:grid}.brand-mark svg{width:23px;height:23px;transform:translateY(-1px)}.button{border:1px solid var(--control-line);background:var(--button);min-height:38px;color:var(--text);white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:.52rem;padding:.5rem .78rem;font-size:.875rem;font-weight:650;transition:background-color .12s,border-color .12s;display:inline-flex}.button:enabled:hover{background:var(--hover);border-color:var(--control-hover-line)}.button-quiet{color:var(--secondary-text);background:0 0;border-color:#0000}.button-primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.button-primary:enabled:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.button-danger{background:var(--danger);border-color:var(--danger);color:var(--on-danger)}.button-danger:enabled:hover{background:var(--danger-hover);border-color:var(--danger-hover)}.button svg{width:1rem;height:1rem}.chevron svg{width:.92rem;height:.92rem}.export-control{position:relative}.export-options{border:1px solid var(--floating-line);background:var(--surface);width:min(250px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text);box-shadow:0 12px 32px var(--floating-shadow);border-radius:10px;margin:0;padding:.3rem;position:fixed;inset:auto 12px 12px auto}@supports (top:anchor(bottom)){#export-button{anchor-name:--export}#export-options{position-anchor:--export;inset:auto;top:calc(anchor(bottom) + 8px);right:clamp(12px, anchor(right), max(12px, calc(100% - 262px)));position-try-fallbacks:flip-block}}.export-options button{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:6px;gap:.15rem;padding:.65rem .72rem;display:grid}.export-options button:hover{background:var(--hover)}.export-options small{color:var(--muted);font-size:.79rem}#variables-toggle{flex:none}:is(.project-actions:has(.variables-panel:popover-open) #variables-toggle,.project-actions:has(#file-options:popover-open) #file-toggle){background:var(--accent-surface);border-color:var(--accent-line);color:var(--accent-text)}#variables-toggle.has-issue{color:var(--error);border-color:var(--error-line)}.variables-panel,.settings-panel{border:1px solid var(--floating-line);background:var(--surface);color:var(--text);box-shadow:0 12px 32px var(--floating-shadow);border-radius:10px;margin:0;padding:.8rem;position:fixed}.variables-panel{width:min(22rem,100% - 24px);max-height:min(24rem,55dvh);inset:auto auto 12px 12px}.variables-panel:popover-open{flex-direction:column;gap:.7rem;display:flex}@supports (top:anchor(bottom)){#variables-toggle{anchor-name:--variables}.variables-panel{position-anchor:--variables;inset:auto;top:calc(anchor(bottom) + 8px);left:max(12px, calc(anchor(right) - 22rem));position-try-fallbacks:flip-block}}.variables-header,.settings-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.variables-header h2,.settings-header h2{font:650 1.05rem Space Grotesk Variable,sans-serif}.variables-header button,.settings-header button{width:32px;min-height:32px}.variables-panel .field-hint{margin:0}#settings-toggle{flex:none;width:38px;min-height:38px}.app-settings:has(.settings-panel:popover-open) #settings-toggle{background:var(--accent-surface);border-color:var(--accent-line);color:var(--accent-text)}.settings-panel{width:min(16rem,100% - 24px);inset:60px 12px auto auto}@supports (top:anchor(bottom)){#settings-toggle{anchor-name:--settings}.settings-panel{position-anchor:--settings;inset:auto;top:calc(anchor(bottom) + 8px);right:anchor(right)}}.setting-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.75rem;margin-top:.65rem;padding-top:.65rem;font-size:.875rem;display:flex}#appearance-toggle{min-width:6rem}#variable-list{min-height:0;margin:-3px;padding:3px;overflow-y:auto}#variable-list:empty{display:none}.workspace{padding:2rem 0 2.25rem}.project-bar{flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-bottom:1.3rem;display:flex}.project-title{letter-spacing:-.057em;flex:18rem;min-width:0;font:700 clamp(2rem,3.2vw,2.65rem)/1.12 Space Grotesk Variable,sans-serif}.project-title label{align-items:center;gap:.65rem;display:flex}.project-title label>span{color:var(--subtle);cursor:text;flex:none}.project-title input{width:100%;min-width:0;color:inherit;letter-spacing:inherit;text-overflow:ellipsis;background:0 0;border:1px solid #0000;border-radius:5px;padding:0}.project-title input:hover,.project-title input:focus{background:var(--surface)}@supports (field-sizing:content){.project-title input{field-sizing:content;width:auto}}.project-actions{flex-wrap:wrap;align-items:center;gap:.55rem;min-width:0;display:flex}.save-status{border:1px solid var(--line);background:var(--panel);min-height:30px;color:var(--muted);border-radius:7px;align-items:center;gap:.42rem;padding:.28rem .62rem;font-size:.79rem;display:flex}.save-status[data-state=saved] svg{color:var(--success)}.save-status[data-state=error]{color:var(--error)}.save-status svg{width:.9rem;height:.9rem}.workbench{grid-template-columns:minmax(320px,380px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.panel{border:1px solid var(--line);background:var(--panel);min-width:0;box-shadow:0 3px 5px var(--panel-shadow);border-radius:12px}.panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:57px;padding:.63rem 1rem;display:flex}.panel-header h2{letter-spacing:-.018em;white-space:nowrap;align-items:center;gap:.56rem;font:650 1rem Space Grotesk Variable,sans-serif;display:flex}.panel-header h2 [data-icon]{color:var(--accent)}.button-small{min-height:32px;padding:.38rem .58rem;font-size:.81rem}.object-tree{padding:.55rem .72rem}.object-tree ul{margin:0;padding:0;list-style:none}.tree-row{min-width:0;padding-inline:calc(.85rem * var(--depth,0)) .25rem;color:var(--secondary-text);border:1px solid #0000;border-radius:6px;align-items:center;gap:.2rem;display:flex}.tree-row:hover{background:var(--hover-overlay)}.tree-row:has(>[aria-current]){border-color:var(--accent-line);background:var(--accent-surface);color:var(--accent-text)}.tree-object{min-width:0;min-height:36px;color:inherit;text-align:left;background:0 0;border:0;border-radius:6px;flex:1;align-items:center;gap:.55rem;padding:.35rem .42rem .35rem .58rem;font-size:.9rem;font-weight:620;display:flex}.tree-object svg{opacity:.85;width:1rem;height:1rem}.tree-object.has-issue{color:var(--error)}.tree-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-operation{background:var(--success-surface);color:var(--success);border-radius:4px;flex:none;padding:.12rem .35rem;font-size:.75rem;line-height:1.2}.tree-operation[data-operation=cut]{background:var(--cut-tag);color:var(--error)}.tree-operation[data-operation=reference]{background:var(--reference-surface);color:var(--reference)}.tree-row.is-hidden .tree-name{color:var(--subtle)}.tree-actions{opacity:0;pointer-events:none;flex:none;gap:.15rem;display:flex}.tree-row:is(:hover,:focus-within,:has([aria-current],[aria-expanded=true])) .tree-actions{opacity:1;pointer-events:auto}.tree-action.icon-button{width:32px;min-height:32px;color:inherit;background:0 0;border-color:#0000}.tree-action.icon-button:enabled:hover,.tree-action[aria-expanded=true]{background:var(--action-hover)}.tree-visibility.icon-button{width:28px;min-height:28px;color:var(--subtle)}.tree-visibility.icon-button:enabled:hover{color:var(--text)}.tree-popover{border:1px solid var(--floating-line);background:var(--surface);width:min(16rem,100% - 16px);max-height:calc(100dvh - 16px);color:var(--text);box-shadow:0 12px 32px var(--floating-shadow);border-radius:10px;margin:0;padding:.3rem;position:fixed;inset:8px auto auto 8px}.tree-popover p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:.45rem .62rem .3rem;font-size:.79rem;overflow:hidden}.tree-popover button{width:100%;min-height:36px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:.55rem;padding:.5rem .62rem;font-size:.875rem;font-weight:600;display:flex}.tree-popover button:hover,.tree-popover button:focus-visible{background:var(--hover)}.tree-popover button:focus-visible{outline-offset:-2px}.tree-popover svg{width:1rem;height:1rem;color:var(--accent)}.tree-popover [data-object-action=remove] svg{color:var(--error)}#file-options{width:min(10rem,100% - 24px);inset:auto 12px 12px auto}@supports (top:anchor(bottom)){#file-toggle{anchor-name:--project-file}#file-options{position-anchor:--project-file;inset:auto;top:calc(anchor(bottom) + 8px);left:clamp(12px, anchor(left), calc(100% - 10rem - 12px));position-try-fallbacks:flip-block}}.inspector-heading{border-bottom:1px solid var(--line-soft);background:var(--hover-overlay);padding:.92rem 1rem .82rem}.inspector-heading h3{letter-spacing:-.025em;font:650 1.1rem Space Grotesk Variable,sans-serif}.inspector-heading .field{margin-top:.65rem}.object-property{color:var(--subtle);margin-top:.18rem;font-size:.82rem}.reference-option{cursor:pointer;align-items:center;gap:.5rem;width:max-content;margin-bottom:.65rem;font-size:.86rem;display:flex}.reference-option input{accent-color:var(--accent);margin:0}.reference-option:has(:disabled){color:var(--subtle);cursor:default}.parameter-section{border-bottom:1px solid var(--line-soft)}.parameter-section>summary{min-height:51px;color:var(--text);cursor:pointer;align-items:center;gap:.55rem;padding:.5rem 1rem;font-size:.94rem;font-weight:690;list-style:none;display:flex}.parameter-section>summary::-webkit-details-marker{display:none}.parameter-section.has-issue>summary .section-title{color:var(--error)}.parameter-section>summary:hover{background:var(--hover-overlay)}.parameter-section>summary:focus-visible{outline-offset:-4px}.section-icon{color:var(--muted)}.section-icon svg{width:1rem;height:1rem}details[open] .section-icon{color:var(--accent)}.section-summary{color:var(--subtle);font-variant-numeric:tabular-nums;margin-left:auto;font-size:.81rem;font-weight:500}.parameter-section>summary .chevron{color:var(--subtle);margin-left:.15rem}.parameter-section[open]>summary .chevron{transform:rotate(180deg)}.section-content{padding:0 1rem 1rem}.fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.75rem .68rem;display:grid}.field{min-width:0;color:var(--secondary-text);gap:.3rem;font-size:.86rem;font-weight:550;line-height:1.25;display:grid}.number-input,.select-input,.text-input{align-items:center;min-width:0;display:flex;position:relative}.number-input input,.select-input select,.text-input input{border:1px solid var(--control-line);background:var(--input);width:100%;min-width:0;min-height:36px;color:var(--text);font-variant-numeric:tabular-nums;border-radius:6px;padding:.4rem 2.1rem .4rem .6rem;font-size:.875rem;font-weight:570}.number-input input{font-family:ui-monospace,monospace}:is(.number-input:not(:has(>span)) input,.text-input input){padding-right:.6rem}.number-input input:hover,.select-input select:hover,.text-input input:hover{border-color:var(--control-hover-line)}.number-input input:focus,.select-input select:focus,.text-input input:focus{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);outline:0}[aria-invalid=true]{border-color:var(--error)!important}.number-input>span,.select-input>span{pointer-events:none;color:var(--subtle);font:.7rem ui-monospace,monospace;position:absolute;right:.55rem}.select-input select{appearance:none;padding-right:1.5rem}.select-input svg{width:.82rem;height:.82rem}.field-hint{color:var(--subtle);margin-top:.7rem;font-size:.79rem;line-height:1.45}.resolved-value{color:var(--accent-text);font:.74rem ui-monospace,monospace}.field-hint code{color:var(--accent-text)}.leading-hint{margin:0 0 .72rem}.feature-card,.primitive-box{background:var(--surface);border:1px solid var(--control-line);border-radius:7px;margin-bottom:.65rem}.feature-card>summary{min-height:40px;padding:.45rem .68rem;font-size:.86rem}.feature-card .section-content{padding:0 .68rem .6rem}.feature-options{margin-bottom:.8rem}.feature-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.5rem;display:flex}.primitive-box{padding:.68rem}.primitive-box .fields{margin-top:.68rem}[data-repeat-settings]{margin-top:.75rem}[data-section$=\.placement] .section-content>.field{margin-bottom:.7rem}.add-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.48rem;display:grid}.add-row>.button{min-height:36px}.add-item{width:100%;color:var(--accent);background:0 0;border-style:dashed}.variable-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;align-items:start;gap:.5rem;margin-bottom:.64rem;display:grid}.variable-row>button{width:32px;margin-top:1.38rem}.variable-row:last-child{margin-bottom:0}.toggle-row{color:var(--secondary-text);cursor:pointer;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.8rem;font-size:.89rem;display:flex}.toggle-row input{appearance:none;border:1px solid var(--switch-line);background:var(--switch-track);cursor:pointer;border-radius:99px;flex:none;width:37px;height:21px;margin:0}.toggle-row input:before{content:"";background:var(--switch-thumb);border-radius:50%;width:13px;height:13px;margin:3px;transition:transform .12s;display:block}.toggle-row input:checked{border-color:var(--accent-line);background:var(--accent-surface)}.toggle-row input:checked:before{background:var(--accent);transform:translate(16px)}.parameter-footer{padding:.5rem .72rem}.parameter-footer button{min-height:33px;font-size:.82rem}.preview{position:sticky;top:1rem;overflow:hidden;container-type:inline-size}.preview-header{gap:.65rem}.view-controls{align-items:center;gap:.45rem;display:flex}.view-modes{border:1px solid var(--line);background:var(--input);border-radius:8px;align-items:center;gap:.15rem;padding:.19rem;display:flex}.view-modes button{white-space:nowrap;min-height:29px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:5px;padding:.24rem .63rem;font-size:.81rem;font-weight:630}.view-modes button:enabled:hover{background:var(--hover);color:var(--text)}.view-modes button[aria-pressed=true]{background:var(--accent-surface);border-color:var(--accent-line);color:var(--accent-text)}.viewport{isolation:isolate;background:radial-gradient(ellipse at 49% 41%, var(--preview-center) 0%, var(--preview-mid) 51%, var(--preview-edge) 89%);min-width:0;height:clamp(480px,100dvh - 312px,760px);position:relative;overflow:hidden}.scene{position:absolute;inset:0}.scene canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}.scene canvas:active{cursor:grabbing}.scene.is-aligned canvas{cursor:default;touch-action:pan-y pinch-zoom}.scene.is-panning canvas{cursor:grabbing}.scene canvas:focus-visible{outline-offset:-3px}.viewport-tools{z-index:1;gap:.42rem;display:grid;position:absolute;top:.9rem;right:.9rem}.icon-button{border:1px solid var(--control-line);background:var(--surface);width:36px;min-height:36px;color:var(--secondary-text);border-radius:7px;place-items:center;display:grid}.icon-button:enabled:hover{background:var(--hover);color:var(--text)}.icon-button[aria-pressed=true]{color:var(--accent)}.icon-button svg{width:1rem;height:1rem}.axes{pointer-events:none;width:72px;height:72px;filter:drop-shadow(0 1px 2px var(--axis-shadow));position:absolute;bottom:.8rem;left:.8rem}.viewport-label{border:1px solid var(--control-line);background:var(--surface);color:var(--secondary-text);pointer-events:none;border-radius:5px;padding:.3rem .45rem;font-size:.75rem;position:absolute}.grid-spacing{font-family:ui-monospace,monospace;bottom:.9rem;right:.9rem}.pan-hint{top:.9rem;left:.9rem}.preview-message{border:1px solid var(--floating-line);background:var(--surface);width:max-content;max-width:70%;color:var(--secondary-text);text-align:center;pointer-events:none;border-radius:7px;padding:.65rem .85rem;font-size:.9rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.viewport-notice{z-index:1;border:1px solid var(--error-line);background:var(--error-surface);width:max-content;max-width:min(38rem,100% - 1.8rem);color:var(--error-text);box-shadow:0 5px 24px var(--floating-shadow);overflow-wrap:anywhere;pointer-events:none;border-radius:8px;align-items:flex-start;gap:.55rem;padding:.65rem .85rem;font-size:.875rem;line-height:1.4;display:flex;position:absolute;bottom:4rem;left:50%;transform:translate(-50%)}.viewport-notice svg{margin-top:.1rem;display:block}.preview-footer{border-top:1px solid var(--line);min-height:48px;color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.7rem;padding:.7rem 1rem;font-size:.8rem;display:flex}.preview-footer>div{align-items:center;gap:.5rem;display:flex}.preview-footer svg{color:var(--subtle);width:.93rem;height:.93rem}.size-readout{color:var(--secondary-text);font:.79rem ui-monospace,monospace}.size-readout svg{color:var(--accent)}.preview-reference{cursor:pointer;align-items:center;gap:.42rem;display:inline-flex}.preview-reference input{width:.9rem;height:.9rem;accent-color:var(--accent);cursor:inherit;margin:0}.preview-reference:hover{color:var(--text)}.preview-reference:has(input:checked){color:var(--text)}.preview-reference:has(input:disabled){opacity:.5;cursor:default}dialog{border:1px solid var(--floating-line);background:var(--panel);width:min(440px,100vw - 32px);color:var(--text);border-radius:12px;padding:1.35rem}dialog::backdrop{background:var(--backdrop,#0b0b0cc2)}dialog h2{font:660 1.35rem Space Grotesk Variable,sans-serif}dialog p{color:var(--muted);margin:.56rem 0 1.2rem;line-height:1.5}.welcome-dialog{text-align:center;width:min(30rem,100vw - 32px);box-shadow:0 20px 56px var(--floating-shadow);padding:clamp(1.5rem,6vw,2.65rem)}.welcome-brand{justify-content:center;margin-bottom:1.1rem}.welcome-brand .brand-mark{border-radius:11px;width:42px;height:42px}.welcome-brand .brand-mark svg{width:26px;height:26px}.welcome-dialog h2{letter-spacing:-.055em;font:700 clamp(1.9rem,6vw,2.55rem)/1.12 Space Grotesk Variable,sans-serif}.welcome-dialog p{max-width:32ch;margin:.65rem auto 1.45rem}.dialog-warning{border:1px solid var(--error-line);background:var(--error-surface);overflow-wrap:anywhere;border-radius:7px;padding:.75rem .85rem}.dialog-warning strong{color:var(--error);margin-bottom:.2rem;display:block}.enclosure-type-field{margin-bottom:.85rem}.enclosure-lid-field{margin-bottom:1.1rem}.dialog-actions{justify-content:flex-end;gap:.6rem;display:flex}.toast{z-index:3;overflow-wrap:anywhere;border:1px solid var(--accent-line);background:var(--accent-surface);max-width:min(26rem,100% - 2rem);box-shadow:0 5px 24px var(--floating-shadow);border-radius:8px;align-items:center;gap:.6rem;padding:.72rem 1rem;font-size:.9rem;display:flex;position:fixed;bottom:1rem;right:1rem}.toast svg{color:var(--accent)}@media (width<=1100px){.shell{width:calc(100% - 48px)}.workbench{grid-template-columns:minmax(281px,354px) minmax(0,1fr)}}@container (width<=610px){.preview-header{flex-wrap:wrap}.view-controls{flex-wrap:wrap;flex:100%}}@container (width<=500px){.view-modes{width:100%}.view-modes button{flex:auto;padding-inline:.26rem}}@media (width<=920px){.workbench{grid-template-columns:minmax(270px,36%) minmax(0,1fr)}}@media (width<=800px){.shell{width:calc(100% - 32px)}.workspace{padding-top:1.45rem}}@media (width<=680px){.workbench{grid-template-columns:1fr}.preview{grid-row:1;position:static}.viewport{height:clamp(280px,57vw,395px)}.variables-panel{max-height:min(19rem,45dvh)}}@media (width<=470px){.shell{width:calc(100% - 24px)}.project-bar{gap:.55rem;margin-bottom:1rem}.project-title{flex-basis:100%}.preview-footer{gap:.52rem}.button{gap:.34rem;padding-inline:.55rem}.project-actions{gap:.3rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}}
