@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(./ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(./ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(./ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(./ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.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:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(./ibm-plex-sans-latin-ext-wght-normal-CIII54If.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:IBM Plex Sans Variable;font-style:normal;font-display:swap;font-weight:100 700;src:url(./ibm-plex-sans-latin-wght-normal-IvpUvPa2.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:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2)format("woff2"),url(./ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2)format("woff2"),url(./ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2)format("woff2"),url(./ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff)format("woff");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:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2)format("woff2"),url(./ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff)format("woff");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:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2)format("woff2"),url(./ibm-plex-mono-latin-400-normal-CvHOgSBP.woff)format("woff");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:initial;--lightningcss-dark: ;color-scheme:light;--paper:#fbfbfa;--surface:#f0f0ed;--line:#d9d9d4;--line-strong:#c3c3bd;--ink:#1d1d1f;--graphite:#5e5e58;--faint:#8b8b85;--magenta:#c8006a;--magenta-soft:#fbe5ef;--danger:#b42318;--success:#1f7a3a;--mat:#e4e7e1;--mat-line:#1e281e12;--mat-line-major:#1e281e21;--checker-a:#fff;--checker-b:#e9e9e6;--font:"IBM Plex Sans Variable", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;--font-mono:"IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--text-xs:12px;--text-sm:13px;--text-md:14px;--text-lg:16px;--text-xl:22px;--text-2xl:30px;--radius-sm:4px;--radius-md:6px;--radius-lg:10px;--shadow-pop:0 10px 30px #00000024, 0 0 0 1px #0000000f;--focus:0 0 0 2px var(--paper), 0 0 0 4px var(--magenta)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#232326;--surface:#1b1b1d;--line:#36363a;--line-strong:#47474c;--ink:#ececea;--graphite:#a3a39e;--faint:#7c7c78;--magenta:#ff4fa0;--magenta-soft:#ff4fa024;--danger:#ff6b5e;--success:#4cc27a;--mat:#161718;--mat-line:#ffffff0b;--mat-line-major:#ffffff17;--checker-a:#2a2a2d;--checker-b:#232326;--shadow-pop:0 10px 30px #00000080, 0 0 0 1px #ffffff14}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--surface);width:100%;height:100%;color:var(--ink);font-family:var(--font);font-size:var(--text-md);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;accent-color:var(--magenta);line-height:1.45;overflow:hidden}#root{flex-direction:column;width:100%;height:100%;display:flex}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{box-shadow:var(--focus);outline:none}.mat{background-color:var(--mat);background-image:linear-gradient(var(--mat-line-major) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line-major) 1px, transparent 1px), linear-gradient(var(--mat-line) 1px, transparent 1px), linear-gradient(90deg, var(--mat-line) 1px, transparent 1px);background-size:40px 40px,40px 40px,8px 8px,8px 8px}.btn{border-radius:var(--radius-md);border:1px solid var(--line-strong);background:var(--paper);height:32px;font-size:var(--text-md);white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-weight:500;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface)}.btn:disabled{color:var(--faint);cursor:default}.btn-primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}.btn-primary:hover:not(:disabled){background:var(--ink);opacity:.88}.btn-primary:disabled{background:var(--line);border-color:var(--line);color:var(--faint)}.btn-quiet{background:0 0;border-color:#0000}.btn-small{height:28px;font-size:var(--text-sm);padding:0 10px}.btn-block{width:100%}.icon-btn{border-radius:var(--radius-md);width:32px;height:32px;color:var(--ink);cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--surface);border-color:var(--line)}.icon-btn:disabled{color:var(--faint);cursor:default}.segmented{border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--line);gap:2px;padding:2px;display:inline-flex}.segmented button{border-radius:var(--radius-sm);height:26px;color:var(--graphite);font-size:var(--text-sm);white-space:nowrap;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:0 10px;font-weight:500;display:inline-flex}.segmented button:hover{color:var(--ink)}.segmented button[aria-pressed=true]{background:var(--paper);color:var(--ink);box-shadow:0 0 0 1px var(--line-strong)}.segmented.is-full{display:flex}.segmented.is-full button{flex:1;justify-content:center}.field,.select{border-radius:var(--radius-md);border:1px solid var(--line-strong);background:var(--paper);min-width:0;height:32px;padding:0 10px}.select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%235e5e58' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:28px}input[type=range]{cursor:pointer;width:100%}input[type=checkbox],input[type=radio]{cursor:pointer;flex-shrink:0;width:16px;height:16px}kbd{font-family:var(--font-mono);font-size:var(--text-xs);border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--paper);white-space:nowrap;padding:1px 5px}*{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.app-root{flex-direction:column;width:100%;height:100%;display:flex;position:relative}.hidden-file-input{display:none}.checker{background:repeating-conic-gradient(var(--checker-a) 0% 25%, var(--checker-b) 0% 50%) 0 0 / 16px 16px}a{color:var(--ink);text-underline-offset:2px}.start{flex:1;min-height:0;padding:40px 16px;display:flex;overflow:auto}.start-sheet{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);width:min(840px,100%);margin:auto;padding:28px 36px 24px}.start-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:36px;display:flex}.start-header-actions{align-items:center;gap:6px;display:flex}.start-brand{font-size:var(--text-lg);align-items:center;gap:10px;font-weight:600;display:flex}.start-title{font-size:var(--text-2xl);letter-spacing:-.015em;max-width:24ch;font-weight:600;line-height:1.15}.start-lead{font-size:var(--text-lg);color:var(--graphite);max-width:62ch;margin:12px 0 28px}.dropzone{border:1.5px dashed var(--line-strong);border-radius:var(--radius-lg);text-align:center;flex-direction:column;align-items:center;gap:14px;padding:40px 24px;display:flex}.dropzone.is-dragging{border-color:var(--magenta);background-color:var(--magenta-soft)}.dropzone-title{font-size:18px;font-weight:600}.dropzone-hint{font-size:var(--text-sm);color:var(--graphite)}.start-subtitle{margin:32px 0 12px;font-size:15px;font-weight:600}.samples{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.sample{text-align:left;cursor:pointer;border-radius:var(--radius-md);background:0 0;border:none;flex-direction:column;gap:2px;padding:0;display:flex}.sample-thumb{aspect-ratio:1;border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;margin-bottom:6px;padding:10px;display:block;overflow:hidden}.sample-thumb img{object-fit:contain;width:100%;height:100%;display:block}.sample:hover .sample-thumb{border-color:var(--ink)}.sample-title{font-weight:500;line-height:1.3}.sample-category{font-size:var(--text-sm);color:var(--graphite)}.start-footer-links{gap:16px;display:flex}.start-footer{border-top:1px solid var(--line);font-size:var(--text-sm);color:var(--graphite);flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin-top:32px;padding-top:16px;display:flex}.studio{flex-direction:column;flex:1;min-height:0;display:flex}.topbar{background:var(--paper);border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:12px;height:52px;padding:0 12px;display:flex}.brand{border-radius:var(--radius-md);cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:4px 8px;font-size:15px;font-weight:600;display:flex}.brand:hover{background:var(--surface)}.topbar-file{border-left:1px solid var(--line);align-items:baseline;gap:8px;min-width:0;padding-left:12px;display:flex}.topbar-file-name{text-overflow:ellipsis;white-space:nowrap;max-width:280px;font-weight:500;overflow:hidden}.topbar-file-dims{font-size:var(--text-sm);color:var(--graphite);font-variant-numeric:tabular-nums;white-space:nowrap}.topbar-history{gap:2px;display:flex}.topbar-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.workspace{flex:1;min-height:0;display:flex}.canvas-area{flex:1;min-width:0;position:relative}.canvas-toolbar{z-index:10;pointer-events:none;flex-wrap:wrap;gap:8px;display:flex;position:absolute;top:12px;left:12px;right:12px}.canvas-toolbar>*{pointer-events:auto}.canvas-toolbar .segmented,.zoom-control,.node-toolbar{background:var(--paper);border:1px solid var(--line);box-shadow:0 1px 2px #0000000f}.zoom-control{z-index:10;border-radius:var(--radius-md);align-items:center;gap:2px;padding:2px;display:flex;position:absolute;bottom:12px;right:12px}.zoom-value{border-radius:var(--radius-sm);width:56px;height:32px;font-size:var(--text-sm);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:none}.zoom-value:hover{background:var(--surface)}.studio-viewport{-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}.studio-viewport.is-space-pressed{cursor:grab}.studio-viewport.is-panning{cursor:grabbing}.studio-viewport-empty{color:var(--graphite);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.viewport-backdrop{display:none}.artboard-stage{will-change:transform;background:repeating-conic-gradient(var(--checker-a) 0% 25%, var(--checker-b) 0% 50%) 0 0 / 16px 16px;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #00000014,0 2px 8px #0000001f}.side-by-side-stage{box-shadow:none;background:0 0;align-items:flex-start;gap:32px;display:flex}.artboard-layer{width:100%;height:100%;position:absolute;inset:0}.raster-layer{z-index:1}.vector-layer{z-index:2;pointer-events:none}.raster-img{object-fit:fill;width:100%;height:100%;display:block}.raster-img.pixelated{image-rendering:pixelated}.pixel-lattice-overlay{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.svg-render-container,.svg-render-container svg{width:100%;height:100%;display:block}.vector-layer.mode-wireframe svg :is(path,rect,circle,ellipse,polygon,polyline,line){vector-effect:non-scaling-stroke;fill:none!important;stroke:var(--magenta)!important;stroke-width:1px!important}.vector-layer.mode-nodes svg path{stroke-opacity:.6;vector-effect:non-scaling-stroke;stroke:var(--magenta)!important;stroke-width:1px!important}.node-editor-overlay{z-index:5;pointer-events:auto;overflow:visible}.interactive-anchor-handle,.interactive-cp-handle{cursor:crosshair}.split-slider-line{background:var(--magenta);cursor:ew-resize;z-index:6;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.split-handle{background:var(--paper);border:2px solid var(--magenta);width:30px;height:30px;color:var(--magenta);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sbs-pane{background:var(--paper);border-radius:var(--radius-md);flex-direction:column;flex-shrink:0;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 1px #00000014,0 2px 8px #0000001f}.sbs-pane-badge{height:28px;font-size:var(--text-sm);border-bottom:1px solid var(--line);white-space:nowrap;flex-shrink:0;align-items:center;padding:0 10px;font-weight:500;display:flex;overflow:hidden}.sbs-pane-content{background:repeating-conic-gradient(var(--checker-a) 0% 25%, var(--checker-b) 0% 50%) 0 0 / 16px 16px;flex:1;position:relative;overflow:hidden}.node-toolbar{z-index:10;border-radius:var(--radius-md);flex-wrap:wrap;align-items:center;gap:2px;max-width:calc(100% - 24px);padding:3px;display:flex;position:absolute;top:56px;left:12px}.node-toolbar-coords,.node-toolbar-hint{font-size:var(--text-sm);padding:0 8px}.node-toolbar-hint{color:var(--graphite)}.numeric{font-variant-numeric:tabular-nums;color:var(--graphite)}.node-toolbar-divider{background:var(--line);width:1px;height:20px;margin:0 4px}.processing{z-index:20;background:var(--paper);border-radius:var(--radius-lg);width:min(340px,100% - 32px);box-shadow:var(--shadow-pop);flex-direction:column;gap:4px;padding:16px 18px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.processing-title{font-weight:600}.processing-stage{font-size:var(--text-sm);color:var(--graphite)}.processing-track{background:var(--line);border-radius:2px;height:4px;margin-top:8px;display:block;overflow:hidden}.processing-fill{background:var(--magenta);height:100%;transition:width .2s ease-out;display:block}.settings{background:var(--paper);border-left:1px solid var(--line);flex-direction:column;flex-shrink:0;width:320px;min-height:0;display:flex}.settings-scroll{flex:1;min-height:0;padding:18px 18px 8px;overflow-y:auto}.settings-section{margin-bottom:24px}.settings-section h3{font-size:var(--text-sm);margin-bottom:8px;font-weight:600}.section-note{font-size:var(--text-sm);color:var(--graphite);margin-top:8px}.preset-list{flex-direction:column;gap:2px;display:flex}.preset{border-radius:var(--radius-md);cursor:pointer;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.preset:hover{background:var(--surface)}.preset.is-selected{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.preset input{margin-top:2px}.preset-name{font-weight:500;display:block}.preset-desc{font-size:var(--text-sm);color:var(--graphite);display:block}.control{margin-bottom:16px}.control-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.control-row output{font-size:var(--text-sm);color:var(--graphite);font-variant-numeric:tabular-nums;white-space:nowrap}.control-label{margin-bottom:6px;display:block}.control .check-row{padding-top:2px}.control-hint{font-size:var(--text-sm);color:var(--graphite);margin-top:4px}.check-row{cursor:pointer;align-items:flex-start;gap:10px;padding:6px 0;display:flex}.check-row input{margin-top:2px}.check-title{display:block}.check-desc{font-size:var(--text-sm);color:var(--graphite);display:block}.palette{grid-template-columns:repeat(auto-fill,minmax(26px,1fr));gap:6px;margin-top:4px;display:grid}.swatch{aspect-ratio:1;border-radius:var(--radius-sm);cursor:pointer;border:1px solid #00000029;width:100%}.swatch:hover{outline:2px solid var(--ink);outline-offset:1px}.color-input{appearance:none;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);cursor:pointer;width:44px;height:32px;padding:3px}.color-input::-webkit-color-swatch-wrapper{padding:0}.color-input::-webkit-color-swatch{border:none;border-radius:3px}.color-input::-moz-color-swatch{border:none;border-radius:3px}.advanced{border-top:1px solid var(--line);padding-top:14px}.advanced summary{font-size:var(--text-sm);cursor:pointer;border-radius:var(--radius-sm);align-items:center;gap:6px;font-weight:600;list-style:none;display:flex}.advanced summary::-webkit-details-marker{display:none}.advanced[open] summary{margin-bottom:14px}.advanced-chevron{transition:transform .15s}.advanced[open] .advanced-chevron{transform:rotate(90deg)}.simplify{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.simplify .btn{margin-top:8px}.settings-footer{border-top:1px solid var(--line);padding:12px 18px}.statusbar{background:var(--paper);border-top:1px solid var(--line);height:32px;font-size:var(--text-sm);white-space:nowrap;flex-shrink:0;align-items:center;gap:16px;padding:0 8px 0 14px;display:flex}.status-message{color:var(--graphite);text-overflow:ellipsis;min-width:0;overflow:hidden}.status-message.is-busy{color:var(--magenta)}.status-metrics{gap:18px;margin-left:auto;display:flex;overflow:hidden}.status-metrics div{gap:6px;display:flex}.status-metrics dt{color:var(--graphite)}.status-metrics dd{font-variant-numeric:tabular-nums;font-weight:500}.toasts{z-index:200;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;bottom:48px;left:50%;transform:translate(-50%)}.toast{pointer-events:auto;border-radius:var(--radius-md);background:var(--ink);max-width:min(460px,100vw - 32px);color:var(--paper);font-size:var(--text-sm);text-align:left;box-shadow:var(--shadow-pop);cursor:pointer;border:none;align-items:center;gap:8px;padding:9px 14px;display:flex}.toast-warning svg{color:#ff9d8f}.toast-success svg{color:#86e0a5}.update-notice{z-index:150;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--paper);max-width:calc(100vw - 32px);color:var(--ink);font-size:var(--text-sm);box-shadow:var(--shadow-pop);align-items:center;gap:10px;padding:8px 8px 8px 14px;display:flex;position:fixed;bottom:48px;right:16px}.update-notice .btn,a.btn{text-decoration:none}.drag-out{cursor:grab;-webkit-user-select:none;user-select:none}.drag-out:active{cursor:grabbing}.about-dialog,.preferences-dialog{width:min(460px,100vw - 32px)}.about-identity{align-items:center;gap:16px;display:flex}.about-name{font-size:var(--text-xl);margin:0}.about-version,.about-fineprint a,.about-author a{color:inherit}.about-tagline{color:var(--graphite);margin:16px 0}.about-author{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);gap:6px;padding:14px 16px;display:grid}.about-author a{align-items:center;gap:6px;display:inline-flex}.about-label{font-size:var(--text-sm);color:var(--graphite)}.about-fineprint{font-size:var(--text-sm);color:var(--graphite);margin:16px 0 0}.preferences-dialog .dialog-body{gap:18px;display:grid}.preferences-reset{border-top:1px solid var(--line);justify-items:start;gap:8px;padding-top:14px;display:grid}.dialog-backdrop{z-index:100;background:#14141459;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:var(--paper);border-radius:var(--radius-lg);width:min(560px,100%);max-height:calc(100vh - 32px);box-shadow:var(--shadow-pop);flex-direction:column;display:flex}.dialog-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 12px 12px 20px;display:flex}.dialog-header h2{font-size:var(--text-lg);font-weight:600}.dialog-body{min-height:0;padding:20px;overflow-y:auto}.dialog-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:12px 16px;display:flex}.dialog-footnote{font-size:var(--text-sm);color:var(--graphite);margin-right:auto}.dialog-intro{color:var(--graphite);margin-bottom:14px}.footer-spacer{flex:1}.export-dialog{width:min(880px,100%)}.tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:16px;display:flex;overflow-x:auto}.tab{color:var(--graphite);white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:8px 10px}.tab:hover{color:var(--ink)}.tab[aria-selected=true]{color:var(--ink);border-bottom-color:var(--magenta);font-weight:500}.export-options{flex-direction:column;gap:10px;margin-bottom:14px;display:flex}.export-options:empty{display:none}.option-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.option-label{min-width:90px;color:var(--graphite)}.option-hint{font-size:var(--text-sm);color:var(--graphite);font-variant-numeric:tabular-nums}.export-preview{border:1px solid var(--line);border-radius:var(--radius-md);justify-content:center;align-items:center;height:320px;padding:16px;display:flex;position:relative}.export-preview-svg,.export-preview-svg svg{width:100%;height:100%;display:block}.export-pdf{text-align:center;color:var(--ink);flex-direction:column;gap:8px}.export-pdf svg{color:var(--graphite)}.export-pdf h3{font-size:var(--text-lg);font-weight:600}.export-pdf p{max-width:52ch;color:var(--graphite)}.export-pdf dl{text-align:left;font-size:var(--text-sm);grid-template-columns:auto auto;gap:4px 16px;margin-top:6px;display:grid}.export-pdf dt{color:var(--graphite)}.code-block{position:relative}.code-copy{position:absolute;top:8px;right:8px}.code-viewer{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);height:320px;font-family:var(--font-mono);white-space:pre;margin:0;padding:12px;font-size:12.5px;line-height:1.55;overflow:auto}.color-dialog{width:min(460px,100%)}.color-detail{align-items:center;gap:16px;margin-bottom:20px;display:flex}.color-preview{border-radius:var(--radius-md);border:1px solid #00000029;flex-shrink:0;width:64px;height:64px}.color-hex{font-family:var(--font-mono);align-items:center;gap:4px;font-size:18px;font-weight:600;display:flex}.color-meta{font-size:var(--text-sm);color:var(--graphite)}.color-replace{margin-bottom:6px;font-weight:500;display:block}.color-replace-row{gap:8px;display:flex}.color-hex-input{width:140px;font-family:var(--font-mono)}.shortcuts-dialog{width:min(560px,100%)}.shortcuts-table{border-collapse:collapse;width:100%}.shortcuts-table td{border-bottom:1px solid var(--line);padding:7px 0}.shortcuts-table tr:last-child td{border-bottom:none}.shortcuts-table td:last-child{text-align:right;padding-left:16px}@media (width<=1100px){.topbar-file-dims{display:none}.settings{width:288px}}@media (width<=860px){.topbar-file{display:none}.workspace{flex-direction:column}.canvas-area{min-height:360px}.settings{border-left:none;border-top:1px solid var(--line);width:100%;max-height:45vh}.status-metrics div:nth-child(n+3){display:none}}@media (width<=640px){.start-sheet{padding:20px 18px}.samples{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-history,.topbar-actions .btn:not(.btn-primary){display:none}}
