@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.00az9qtie3ho1.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.3j-a226dh71aj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.2gwoz23eiro2t.woff2)format("woff2");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:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0i3h3th1vs4m7.woff2)format("woff2");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:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0zr6hhvz-h9nw.woff2)format("woff2");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:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.27spqqad3wyeo.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.3f4zuumv8svu0.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.34r5yzckw0h2s.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.2jyz_zw3a8jit.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.30bdpjkrtcces.woff2)format("woff2");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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.1v5bejj26fx9h.woff2)format("woff2");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:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.isolate{isolation:isolate}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#17171a;--muted:#717178;--line:#e7e6e3;--soft:#f5f4f1;--paper:#fbfaf8;--accent:#ee5c37;--accent-dark:#d94825;--panel:#fff}*{box-sizing:border-box}html{color:var(--ink);background:#151619}body{min-width:320px;min-height:100vh;font-family:var(--font-geist-sans), Arial, Helvetica, sans-serif;background:var(--paper);margin:0}button,input{font:inherit}button,summary{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,summary:focus-visible,canvas:focus-visible,a:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #ee5c3759}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{background:var(--paper);min-height:100vh}.topbar{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fbfaf8f5;justify-content:space-between;align-items:center;gap:24px;height:72px;padding:0 22px 0 18px;display:flex;position:sticky;top:0}.brand{color:var(--ink);align-items:center;gap:11px;text-decoration:none;display:inline-flex}.brand-mark{color:#fff;background:var(--accent);letter-spacing:.08em;border-radius:6px 6px 9px 9px;place-items:center;width:36px;height:42px;font-size:10px;font-weight:850;display:grid;transform:rotate(-3deg);box-shadow:inset 0 0 0 2px #fff3,0 3px 10px #852f1b33}.brand>span:last-child{line-height:1.1;display:grid}.brand strong{letter-spacing:-.02em;font-size:15px}.brand small{color:#8a898e;letter-spacing:.04em;margin-top:4px;font-size:10px;font-weight:600}.topbar-actions{align-items:center;gap:10px;display:flex}.local-pill{color:#6e6e73;align-items:center;gap:7px;margin-right:8px;font-size:12px;font-weight:560;display:inline-flex}.local-pill i{background:#42aa6d;border-radius:999px;width:7px;height:7px;box-shadow:0 0 0 3px #42aa6d21}.ghost-button,.export-button{cursor:pointer;border:0;border-radius:9px;min-height:38px;padding:0 15px;font-size:12px;font-weight:700}.ghost-button{color:#67666b;background:0 0}.ghost-button:hover{color:var(--ink);background:#eeece8}.export-button{color:#fff;background:var(--accent);align-items:center;gap:8px;transition:transform .16s,background .16s,box-shadow .16s;display:inline-flex;box-shadow:0 5px 16px #cb3e1f38}.export-button:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px);box-shadow:0 7px 20px #cb3e1f47}.export-button:disabled{cursor:not-allowed;box-shadow:none;background:#c9c8c5}.export-button span{font-size:16px;line-height:1}.studio{grid-template-columns:354px minmax(0,1fr);min-height:calc(100vh - 72px);display:grid}.control-panel{background:var(--panel);border-right:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#d4d2ce transparent;min-width:0;max-height:calc(100vh - 72px);padding:27px 22px 34px;overflow-y:auto}.scan-upload{text-align:left;cursor:pointer;background:#fbfaf8;border:1px dashed #c8c5bf;border-radius:11px;grid-template-columns:37px 1fr auto;align-items:center;gap:11px;width:100%;padding:11px;transition:border-color .16s,background .16s;display:grid}.scan-upload:hover{border-color:var(--accent);background:#fff9f7}.scan-upload:disabled{color:inherit;cursor:default;opacity:.72}.scan-upload.has-file{border-style:solid;border-color:#dedbd6}.upload-icon{width:37px;height:37px;color:var(--accent);background:#feeae4;border-radius:8px;place-items:center;font-size:20px;font-weight:350;display:grid}.scan-upload>span:nth-child(2){gap:3px;min-width:0;display:grid}.scan-upload strong{font-size:12px;font-weight:720}.scan-upload small{color:#8c8a8f;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.slab-count{color:#fff;min-width:29px;height:20px;font-family:var(--font-geist-mono), monospace;background:#42aa6d;border-radius:999px;place-items:center;font-size:8px;font-weight:700;display:grid}.slab-tray{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.slab-chip{background:#f7f5f2;border:1px solid #e1ded9;border-radius:8px;gap:4px;min-width:0;padding:4px;display:grid;position:relative}.slab-thumbnail{aspect-ratio:1.25;background-color:#25272c;background-position:50%;background-size:cover;border-radius:5px;width:100%;display:block}.slab-chip-copy{gap:1px;min-width:0;padding:0 2px 1px;display:grid}.slab-chip-copy b,.slab-chip-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.slab-chip-copy b{color:#454348;font-size:8px}.slab-chip-copy small{color:#969399;font-size:7px}.slab-chip>button{color:#fff;cursor:pointer;background:#151619c2;border:1px solid #ffffff61;border-radius:50%;place-items:center;width:17px;height:17px;padding:0;font-size:13px;line-height:1;display:grid;position:absolute;top:7px;right:7px}.slab-chip>button:hover{background:#b83e2b}.error-message{color:#b33a25;margin:8px 2px 0;font-size:11px}.sections{border-top:1px solid var(--line);margin-top:22px}.control-section{border-bottom:1px solid var(--line)}.control-section summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:14px;min-height:50px;list-style:none;display:flex}.control-section summary::-webkit-details-marker{display:none}.control-section summary>span:first-child{color:#343438;align-items:center;gap:9px;font-size:12px;font-weight:710;display:flex}.control-section summary b{color:#aaa7a1;font-family:var(--font-geist-mono), monospace;font-size:9px;font-weight:650}.chevron{color:#9d9a95;font-size:17px;transition:transform .16s}.control-section[open] .chevron{transform:rotate(180deg)}.section-body{padding:1px 0 19px}.background-library{border-radius:10px;position:relative}.section-empty{color:#929096;background:#f7f6f4;border-radius:8px;margin:3px 0 1px;padding:11px 12px;font-size:11px;line-height:1.45}.preset-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.preset-card{color:#737177;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;gap:6px;min-width:0;padding:4px;font-size:9px;transition:color .15s,background .15s,border-color .15s,transform .15s;display:grid;overflow:hidden}.preset-card:hover{color:#39383c;background:#f6f4f1;transform:translateY(-1px)}.preset-swatch{aspect-ratio:1.25;background-color:#15181d;background-position:50%;background-size:cover;border:1px solid #00000014;border-radius:8px;place-items:center;width:100%;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.preset-card.is-selected{color:var(--ink);background:#fff5f1;border-color:#f0a38c;font-weight:700}.preset-card.is-selected .preset-swatch{border-color:var(--accent);box-shadow:inset 0 0 0 2px #fff}.preset-card.is-selected .preset-swatch:after{content:"✓";color:#fff;background:var(--accent);border-radius:50%;place-items:center;width:15px;height:15px;font-size:8px;line-height:1;display:grid;position:absolute;top:4px;right:4px;box-shadow:0 1px 3px #0003}.add-background-card .preset-swatch{color:#817f84;background-color:#f4f2ef;border:1px dashed #c5c2bd;font-size:19px}.add-background-card:hover .preset-swatch{color:var(--accent);border-color:var(--accent);background-color:#fff5f1}.texture-swatch{background-position:50%}.texture-glow{background-image:radial-gradient(circle at 28% 23%,#ffffffad,#0000 55%),radial-gradient(circle at 82% 78%,#0006,#0000 62%),linear-gradient(135deg,#ffffff24,#0000002e)}.texture-grid{background-image:linear-gradient(#fff3 1px,#0000 1px),linear-gradient(90deg,#fff3 1px,#0000 1px),linear-gradient(135deg,#ffffff1f,#0000002e);background-size:11px 11px,11px 11px,100% 100%}.texture-grain{background-image:radial-gradient(#ffffff5c .7px,#0000 .8px),radial-gradient(#0000004d .7px,#0000 .8px),linear-gradient(135deg,#ffffff24,#0000002e);background-position:0 0,2px 2px,50%;background-size:4px 4px,4px 4px,100% 100%}.texture-lines{background-image:repeating-linear-gradient(135deg,#fff3 0 1px,#0000 1px 9px),linear-gradient(135deg,#ffffff24,#0000002e)}.texture-color-control{color:#666469;text-align:left;cursor:pointer;background:#f7f5f2;border:1px solid #e4e1dc;border-radius:8px;grid-template-columns:1fr 20px auto auto;align-items:center;gap:8px;width:100%;min-height:34px;margin-top:10px;padding:6px 8px 6px 10px;display:grid}.texture-color-control:hover{color:var(--ink);background:#fff9f7;border-color:#efb3a2}.texture-color-control>span,.texture-color-control>b{font-size:9px;font-weight:700}.texture-color-control i{border:2px solid #fff;border-radius:50%;width:20px;height:20px;box-shadow:0 0 0 1px #0000002b,0 1px 3px #00000029}.texture-color-control code{color:#8b898e;font-family:var(--font-geist-mono), monospace;font-size:8px}.texture-color-control b{color:var(--accent-dark)}.texture-picker{z-index:60;width:259px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffffa;border:1px solid #dedbd5;border-radius:11px;padding:9px;position:fixed;box-shadow:0 16px 42px #1112153d,0 3px 10px #1112151f}.texture-picker-tabs{grid-template-columns:1fr 1fr 26px;gap:4px;margin-bottom:10px;display:grid}.texture-picker-tabs button{color:#77757a;cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:28px;padding:0 8px;font-size:9px;font-weight:720}.texture-picker-tabs button:hover{color:var(--ink);background:#f4f2ef}.texture-picker-tabs button.is-active{color:var(--accent-dark);background:#fff0eb}.texture-picker-tabs .texture-picker-close{color:#9c999d;padding:0;font-size:17px;font-weight:450}.texture-palette{grid-template-columns:repeat(8,22px);justify-content:space-between;gap:8px 0;padding:2px 3px 4px;display:grid}.texture-palette button{cursor:pointer;border:2px solid #fff;border-radius:50%;width:22px;height:22px;padding:0;transition:transform .12s,box-shadow .12s;box-shadow:0 0 0 1px #1414172e,0 2px 4px #14141721}.texture-palette button:hover{transform:scale(1.14);box-shadow:0 0 0 2px #ee5c376b,0 3px 7px #1414172e}.texture-palette button.is-selected{box-shadow:0 0 0 2px var(--accent), 0 3px 7px #14141733}.texture-custom-color{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.texture-custom-color label{color:#666469;background:#f6f4f1;border-radius:8px;grid-column:1/-1;grid-template-columns:1fr 42px;align-items:center;gap:10px;min-width:0;padding:8px 9px;font-size:9px;font-weight:700;display:grid}.texture-custom-color input[type=color]{cursor:pointer;background:#fff;border:1px solid #d6d2cc;border-radius:6px;width:42px;height:30px;padding:2px}.texture-custom-color code{color:#858388;font-family:var(--font-geist-mono), monospace;padding-left:3px;font-size:9px}.texture-custom-color>button{color:#fff;background:var(--accent);cursor:pointer;border:0;border-radius:7px;min-height:29px;padding:0 12px;font-size:9px;font-weight:720}.uploaded-preset{min-width:0;position:relative}.uploaded-preset>.preset-card{width:100%}.remove-background{z-index:2;color:#fff;opacity:0;cursor:pointer;background:#121316bd;border:1px solid #ffffff59;border-radius:50%;place-items:center;width:17px;height:17px;padding:0;font-size:13px;line-height:1;transition:opacity .14s,background .14s,transform .14s;display:grid;position:absolute;top:8px;left:8px;box-shadow:0 1px 4px #00000042}.uploaded-preset:hover .remove-background,.remove-background:focus-visible{opacity:1}.remove-background:hover{background:#b83e2b;transform:scale(1.06)}.background-library-hint{color:#aaa7a1;margin:9px 4px 0;font-size:9px;line-height:1.35}.background-drop-overlay{z-index:5;color:#fff;text-align:center;pointer-events:none;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#da4a2ae6;border:2px dashed #ffffffc7;border-radius:12px;place-content:center;gap:5px;display:grid;position:absolute;inset:-7px}.background-drop-overlay span{font-size:28px;font-weight:250}.background-drop-overlay strong{font-size:11px}.preset-card>span:last-child{text-overflow:ellipsis;white-space:nowrap;padding:0 2px;overflow:hidden}.compact-top{margin-top:17px}.control-stack{gap:11px;padding-top:13px;display:grid}.auto-layout-note{color:#55735f;background:#eef6f0;border:1px solid #d6e8da;border-radius:7px;margin:-2px 0 1px;padding:7px 9px;font-size:9px;line-height:1.35}.range-control{grid-template-columns:78px minmax(0,1fr) 38px;align-items:center;gap:8px;display:grid}.control-label{color:#5f5e63;font-size:10px;font-weight:600;line-height:1.15}.control-value{color:#908e93;font-family:var(--font-geist-mono), monospace;text-align:right;white-space:nowrap;font-size:9px;font-weight:540}input[type=range]{appearance:none;background:linear-gradient(to right, var(--accent) var(--range-progress), #dedcd8 var(--range-progress));cursor:pointer;border-radius:99px;width:100%;min-width:0;height:3px;margin:5px 0}input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--accent);background:#fff;border-radius:50%;width:15px;height:15px;box-shadow:0 1px 4px #0000002e}input[type=range]::-moz-range-thumb{border:2px solid var(--accent);background:#fff;border-radius:50%;width:12px;height:12px;box-shadow:0 1px 4px #0000002e}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:45px;display:flex}.toggle-row+.toggle-row,.control-stack+.toggle-row{border-top:1px solid #eeece8;margin-top:8px;padding-top:10px}.toggle-row>span:first-child{gap:3px;display:grid}.toggle-row strong{color:#4c4b50;font-size:10px;font-weight:680}.toggle-row small{color:#9a989d;font-size:9px}.switch{background:#cccac6;border-radius:999px;flex:none;width:32px;height:18px;padding:2px;transition:background .16s}.switch span{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .16s;display:block;box-shadow:0 1px 3px #0003}.switch.is-on{background:var(--accent)}.switch.is-on span{transform:translate(14px)}.format-grid{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.format-grid button{color:#69676c;cursor:pointer;background:#f7f5f2;border:1px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;padding:9px 10px;display:flex}.format-grid button.is-selected{color:var(--accent-dark);background:#fff5f1;border-color:#f1a18d}.format-grid strong{font-size:10px}.format-grid small{color:#99969a;font-size:9px}.panel-footer{text-align:center;padding:22px 0 5px}.panel-footer p{color:#aaa7ac;margin:0;font-size:9px;line-height:1.5}.panel-footer a{color:#757379;text-underline-offset:2px}.mobile-reset{display:none}.workspace{color:#e9e9ec;background:radial-gradient(circle at 55% 40%,#ffffff09,#0000 42%),#17181c;grid-template-rows:48px minmax(0,1fr) 38px;min-width:0;min-height:calc(100vh - 72px);display:grid;position:relative;overflow:hidden}.workspace:before{content:"";pointer-events:none;opacity:.16;background-image:radial-gradient(#fff3 .6px,#0000 .6px);background-size:7px 7px;position:absolute;inset:0}.workspace-toolbar{z-index:2;border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;gap:18px;min-width:0;padding:0 22px;display:flex;position:relative}.view-tabs{background:#ffffff0f;border-radius:7px;gap:4px;padding:3px;display:inline-flex}.view-tabs button{color:#8f9097;cursor:pointer;background:0 0;border:0;border-radius:5px;height:25px;padding:0 10px;font-size:9px;font-weight:680}.view-tabs button.is-active{color:#fff;background:#3a3b41;box-shadow:0 1px 3px #0003}.view-tabs button:disabled{opacity:.4;cursor:not-allowed}.canvas-meta{color:#8e8f95;font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:8px;font-size:8px;display:flex}.canvas-meta i{background:#66676d;border-radius:50%;width:2px;height:2px}.canvas-meta .auto-ready{color:#7bc596;align-items:center;gap:5px;display:inline-flex}.canvas-meta .auto-ready i{background:#4abb72;width:6px;height:6px;box-shadow:0 0 8px #4abb7280}.canvas-stage{z-index:1;place-items:center;min-height:0;padding:32px;display:grid;position:relative}.canvas-wrap{aspect-ratio:1;background:#0c111a;border-radius:3px;max-width:100%;height:min(72vh,100vh - 202px);position:relative;overflow:hidden;box-shadow:0 22px 60px #0000006b,0 0 0 1px #ffffff14}.format-portrait .canvas-wrap{aspect-ratio:4/5}.format-story .canvas-wrap{aspect-ratio:9/16}.format-landscape .canvas-wrap{aspect-ratio:4/3;width:auto;height:min(72vh,100vh - 202px)}.canvas-wrap>canvas{touch-action:none;width:100%;height:100%;display:block}.canvas-wrap>canvas.is-movable{cursor:grab}.canvas-wrap>canvas.is-moving{cursor:grabbing}.empty-state{text-align:center;background:radial-gradient(circle at 50% 44%,#070a0f0f,#070a0f3b 78%),#05070a14;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}.empty-slab{aspect-ratio:.59;opacity:.72;background:linear-gradient(145deg,#e7f0f440,#7f929d1a);border:2px solid #ebf6faad;border-radius:8%/5%;grid-template-rows:21% 4% 1fr;height:min(46%,320px);margin-bottom:18px;padding:3.6%;display:grid;overflow:hidden;transform:rotate(-2deg);box-shadow:inset 0 0 0 5px #dcecf21a,inset 0 0 24px #e5f3f821,0 20px 38px #00000047}.empty-label{background:#dce8ed38;border:1px solid #f0f9fc57;border-radius:4px;padding:5%;display:grid}.empty-label-frame{color:#22252a;background:#fafbf8d9;border:3px solid #eb2f2beb;border-radius:2px;justify-content:space-between;align-items:center;gap:8%;min-width:0;padding:5% 6%;display:flex}.empty-label-lines{flex:1;gap:18%;display:grid}.empty-label-lines i{background:#16191dc2;border-radius:1px;width:100%;height:2px;display:block}.empty-label-lines i:nth-child(2){width:72%}.empty-label-lines i:nth-child(3){width:48%}.empty-label-frame b{font-family:var(--font-geist-mono), monospace;font-size:clamp(8px,1.2vw,14px)}.empty-slab-divider{background:#e8f4f880;place-self:center;width:94%;height:2px;box-shadow:0 3px #2a363d4d}.empty-card-well{background:#05070975;border:1px solid #e7f2f640;border-radius:3px;place-items:center;padding:8% 7% 10%;display:grid}.empty-card{aspect-ratio:.715;background:linear-gradient(145deg,#e5c75dc7,#b78b30b8);border:2px solid #ffe47dcc;border-radius:7%/5%;grid-template-rows:7% 42% 5% 5%;align-content:start;gap:6%;width:88%;padding:8% 7%;display:grid;box-shadow:0 5px 12px #0000003d}.empty-card i{border-radius:2px;display:block}.empty-card-title{background:#362a1894;width:54%}.empty-card-art{background:radial-gradient(circle at 68% 35%,#fceebd9e,#0000 20%),linear-gradient(145deg,#4d7688bd,#253643d1);border:1px solid #2f2a2173}.empty-card-copy{background:#41301b75;width:100%}.empty-card-copy.short{width:72%}.empty-state h2{color:#fff;letter-spacing:-.035em;text-shadow:0 2px 12px #000000b3;margin:0;font-size:clamp(18px,2vw,24px)}.empty-state p{color:#eef0f4d1;text-shadow:0 1px 8px #000000b8;margin:7px 0 18px;font-size:11px}.empty-state button{color:#fff;cursor:pointer;background:#e64e2de6;border:1px solid #ffffff57;border-radius:8px;min-height:36px;padding:0 15px;font-size:10px;font-weight:700;box-shadow:0 8px 20px #290a0447}.empty-state button:hover{background:#f45936fa}.drop-overlay{color:#fff;text-align:center;pointer-events:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ee5c37d1;border:2px dashed #ffffffb8;border-radius:8px;place-content:center;gap:9px;display:grid;position:absolute;inset:12px}.drop-overlay span{font-size:34px;font-weight:200}.drop-overlay strong{font-size:12px}.workspace-hint{z-index:2;color:#77787f;border-top:1px solid #ffffff0d;justify-content:center;align-items:center;gap:7px;font-size:9px;display:flex;position:relative}.workspace-hint span{font-size:13px}@media (max-width:900px){.studio{grid-template-columns:320px minmax(0,1fr)}.control-panel{padding-inline:18px}.canvas-stage{padding:22px}.canvas-wrap{width:100%;height:auto;max-height:calc(100vh - 195px)}}@media (max-width:720px){.topbar{height:64px;padding:0 12px}.brand small,.local-pill,.desktop-only{display:none}.brand-mark{width:31px;height:36px}.export-button{min-height:36px;padding-inline:12px}.studio{flex-direction:column;display:flex}.workspace{order:1;grid-template-rows:45px minmax(0,1fr) 34px;min-height:570px}.control-panel{border:0;order:2;max-height:none;padding:24px 18px 38px;overflow:visible}.preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.canvas-stage{padding:20px}.canvas-wrap,.format-landscape .canvas-wrap{width:auto;max-width:100%;height:min(62vh,420px)}.format-landscape .canvas-wrap{width:min(92vw,520px);height:auto}.workspace-toolbar{padding:0 14px}.workspace-hint{text-align:center;padding:0 12px}.mobile-reset{margin-bottom:12px;display:inline-block}}@media (max-width:420px){.brand strong{font-size:14px}.export-button{font-size:11px}.canvas-meta span:first-child,.canvas-meta i{display:none}.preset-grid{gap:9px 7px}.canvas-wrap,.format-landscape .canvas-wrap{max-width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
