.sheet-page{background:var(--background);color:var(--foreground)}.sheet-page,.sheet-studio{min-height:calc(100dvh - 64px)}.sheet-studio{--sheet-cut:#e0169b;--sheet-error:#d93a3a;--sheet-warn:#d98a12;--sheet-ok:#1f9d63;display:grid;grid-template-columns:200px minmax(0,1fr)}.sheet-file,.sheet-studio button:not(.sticker-interaction),.sheet-studio select{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--background);color:inherit;font:inherit;font-size:13px;cursor:pointer}.sheet-studio button:not(.sticker-interaction):hover:not(:disabled){background:var(--muted)}.sheet-studio button:disabled{opacity:.45;cursor:default}.sheet-studio button:not(.sticker-interaction)[aria-pressed=true]{border-color:var(--foreground)}.sheet-studio button.sheet-primary{background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}.sheet-studio button.sheet-primary:hover:not(:disabled){background:color-mix(in oklch,var(--primary),var(--background) 15%)}.sheet-studio svg:not(.sheet-overlay){width:16px;height:16px}.sheet-hint{margin:0;color:var(--muted-foreground);font-size:12px}.sheet-library{border-right:1px solid var(--border);padding:16px 12px;overflow-y:auto;max-height:calc(100dvh - 64px)}.sheet-library h2{margin:0 0 4px;font-size:14px}.sheet-library ul{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.sheet-studio .sheet-library button{width:100%;height:auto;aspect-ratio:1;padding:6px;justify-content:center;touch-action:none;cursor:grab}.sheet-library img{-webkit-user-drag:none;user-select:none}.sheet-library .sticker-thumbnail{display:block;width:100%;height:100%;transition:transform .4s cubic-bezier(.2,1.5,.4,1)}.sheet-library button:hover .sticker-thumbnail{transform:rotate(-4deg) scale(1.06)}.sheet-library .sticker-thumbnail canvas{width:100%;height:100%}.sheet-library-tabs{border:0;padding:0;min-width:0;display:flex;gap:4px;margin-bottom:16px}.sheet-studio .sheet-library-tabs button{aspect-ratio:auto;height:32px;padding:0 8px;touch-action:manipulation;cursor:pointer;font-size:12px}.sheet-library-tabs button[aria-pressed=true]{font-weight:600;background:var(--muted)}.sheet-library-field{display:grid;gap:5px;margin-bottom:10px;font-size:11px;color:var(--muted-foreground)}.sheet-library-field input,.sheet-library-field select{width:100%;min-width:0;height:32px;padding:0 8px;border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:12px}.sheet-creator-link{display:inline-block;font-size:11px;text-decoration:underline;text-underline-offset:3px;margin-top:6px}.sheet-library ul.sheet-template-list{grid-template-columns:1fr;gap:16px}.sheet-studio .sheet-template-list button{display:flex;flex-direction:column;aspect-ratio:auto;padding:18px 8px 12px;gap:8px;touch-action:manipulation;cursor:pointer;background:var(--muted)}.sheet-template-list .sheet-template-preview{width:95px;margin-bottom:8px;flex-shrink:0}.sheet-template-list strong{font-size:13px}.sheet-template-list small{font-size:10px;color:var(--muted-foreground)}.sheet-carry{position:fixed;z-index:50;width:88px;height:88px;translate:-50% -50%;rotate:-6deg;pointer-events:none;filter:drop-shadow(0 14px 12px #0003)}.sheet-carry .sticker-thumbnail,.sheet-carry canvas{display:block;width:100%;height:100%}.sheet-workspace{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;min-width:0;position:relative}.sheet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid var(--border)}.sheet-name{height:32px;min-width:0;width:180px;padding:0 8px;border:1px solid transparent;border-radius:var(--radius);background:transparent;color:inherit;font:inherit;font-weight:600}.sheet-name:focus,.sheet-name:hover{border-color:var(--border)}.sheet-toolbar-spacer{flex:1}.sheet-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--sheet-error);color:#fff;font-size:11px;line-height:18px;text-align:center}.sheet-file input{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sheet-stage{position:relative;min-width:0;display:grid;place-items:center;min-height:420px;padding:12px;overflow:hidden;background-image:radial-gradient(color-mix(in srgb,var(--foreground) 9%,transparent) 1px,transparent 1px);background-size:18px 18px;touch-action:none}.sheet-paper{position:relative;border-radius:6px;background:#f4f3ef;box-shadow:inset 0 1px 0 #fff8,0 24px 40px -18px #0005,0 2px 6px #0002;transition:box-shadow .3s,outline-color .2s;outline:2px dashed transparent;outline-offset:6px}.sheet-paper[data-laminate=gloss]{background-image:linear-gradient(125deg,#fff0 30%,#fff9 45%,#fff0 60%)}.sheet-paper[data-stock=clear]{background:repeating-conic-gradient(#e6ecf0 0 25%,#f5f8fa 0 50%) 0 0 /14px 14px}.sheet-paper[data-stock=holographic]{background:linear-gradient(115deg,#d8d4f6,#cdeef1 30%,#f5d9ec 55%,#d7f0d8 80%,#d8d4f6);background-size:300% 300%;animation:sheet-holo 9s ease-in-out infinite alternate}@keyframes sheet-holo{to{background-position:100% 100%}}.sheet-paper[data-drop=ok]{outline-color:var(--sheet-ok)}.sheet-paper[data-drop=blocked]{outline-color:var(--sheet-error)}.sheet-margin{position:absolute;border:1px dashed #0000001f;border-radius:2px;pointer-events:none}.sheet-empty{position:absolute;inset:45% 0 auto;margin:0;text-align:center;color:#0007;font-size:14px}.sheet-item{position:absolute;left:0;top:0;cursor:grab;touch-action:none;outline:none}.sheet-item:active{cursor:grabbing}.sheet-item img{width:100%;height:100%;display:block;pointer-events:none;user-select:none;filter:drop-shadow(0 1.5px 1px #0002);transition:filter .2s}.sheet-item[data-selected=true] img{filter:drop-shadow(0 8px 10px #0003) drop-shadow(0 0 .5px var(--foreground))}.sheet-item[data-flag=warning] img{filter:drop-shadow(0 0 2px var(--sheet-warn)) drop-shadow(0 0 1px var(--sheet-warn))}.sheet-item[data-flag=error] img{filter:drop-shadow(0 0 2px var(--sheet-error)) drop-shadow(0 0 1px var(--sheet-error));animation:sheet-tremble .35s ease-in-out 2}@keyframes sheet-tremble{25%{translate:-1px 0}75%{translate:1px 0}}.sheet-item-loading{position:absolute;inset:20%;border-radius:50%;background:#0000000d;animation:sheet-pulse 1s ease-in-out infinite alternate}.sheet-item[data-hero=true]:after{content:"★";position:absolute;top:6%;right:6%;font-size:12px;color:var(--sheet-warn)}.sheet-handle{position:absolute;width:18px;height:18px;border-radius:50%;background:var(--background);border:1.5px solid var(--foreground);box-shadow:0 2px 6px #0003;display:grid;place-items:center;touch-action:none}.sheet-handle.is-rotate{left:50%;top:-22px;translate:-50% 0;cursor:grab}.sheet-handle.is-rotate:after{content:"";position:absolute;top:16px;left:50%;width:1px;height:10px;background:var(--foreground)}.sheet-handle.is-scale{right:-6px;bottom:-6px;cursor:nwse-resize}.sheet-studio .sheet-handle.is-scale svg{width:10px;height:10px}.sheet-size{left:50%;bottom:-28px;translate:-50% 0;padding:2px 6px;border-radius:4px;background:var(--foreground);color:var(--background);font-size:11px;white-space:nowrap}.sheet-overlay,.sheet-size{position:absolute;pointer-events:none}.sheet-overlay{inset:0;overflow:visible}.sheet-cut{fill:none;stroke:var(--sheet-cut);stroke-width:1.25}.sheet-ghost{fill:#1f9d6322;stroke:var(--sheet-ok);stroke-width:1.5;stroke-dasharray:4 3}.sheet-ghost[data-valid=false]{fill:#d93a3a22;stroke:var(--sheet-error)}.sheet-problem{fill:#d93a3a33;stroke:var(--sheet-error);stroke-width:2;transform-box:fill-box;transform-origin:center;animation:sheet-pulse .9s ease-in-out infinite alternate}@keyframes sheet-pulse{0%{opacity:.45;scale:.85}to{opacity:1;scale:1.15}}.sheet-problems{list-style:none;margin:0;padding:8px 12px;display:grid;gap:6px;max-height:180px;overflow-y:auto;border-top:1px solid var(--border);font-size:13px}.sheet-problems li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-left:10px;border-left:3px solid var(--sheet-warn)}.sheet-problems li.is-error{border-color:var(--sheet-error)}.sheet-problems li.is-ok{border-color:var(--sheet-ok)}.sheet-selection{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:8px 12px;border:0;border-top:1px solid var(--border);font-size:13px}.sheet-selection label{display:inline-flex;align-items:center;gap:8px}.sheet-selection output{min-width:48px;font-variant-numeric:tabular-nums}.sheet-warning{color:var(--sheet-warn);font-size:12px}.sheet-notice{position:absolute;left:50%;top:60px;translate:-50% 0;z-index:5;display:flex;gap:10px;align-items:center;margin:0;padding:8px 8px 8px 14px;border-radius:var(--radius);background:var(--foreground);color:var(--background);font-size:13px;max-width:calc(100% - 32px)}.sheet-studio .sheet-notice button{height:24px;border:0;background:transparent;color:inherit}.sheet-dock{display:flex;min-width:0;gap:8px;margin:0;padding:10px 12px 14px;border:0;border-top:1px solid var(--border);overflow-x:auto}.sheet-studio .sheet-dock button{flex:0 0 auto;height:auto;display:grid;justify-items:center;gap:2px;padding:8px 12px;min-width:96px}.sheet-dock small{color:var(--muted-foreground);font-size:11px}.sheet-dock-paper{width:30px;height:40px;border-radius:3px;background:#f4f3ef;box-shadow:0 4px 8px -4px #0006;margin-bottom:4px;transition:transform .4s cubic-bezier(.2,1.5,.4,1)}.sheet-dock-paper[data-cut=die-cut]{width:32px;height:32px;border-radius:50%;margin-top:4px}.sheet-dock-paper[data-stock=clear]{background:repeating-conic-gradient(#e6ecf0 0 25%,#f5f8fa 0 50%) 0 0 /8px 8px}.sheet-dock-paper[data-stock=holographic]{background:linear-gradient(115deg,#d8d4f6,#cdeef1,#f5d9ec,#d7f0d8)}.sheet-dock button:hover .sheet-dock-paper,.sheet-dock button[aria-pressed=true] .sheet-dock-paper{transform:translateY(-4px) rotate(-4deg)}.sheet-modal{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px;background:color-mix(in srgb,var(--background) 86%,transparent);backdrop-filter:blur(8px)}.sheet-preview{position:relative;width:min(92vw,820px);height:min(78dvh,820px);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.sheet-preview-stage{position:relative;min-height:0}.sheet-preview-stage>canvas:not(.sticker-webgl){width:100%;height:100%;object-fit:contain}.sheet-preview-peeled{position:absolute;right:0;bottom:0;width:min(42%,320px);aspect-ratio:1;animation:sheet-lift .8s cubic-bezier(.2,1.3,.4,1) both}.sheet-preview-peeled[data-reduced=true]{animation:none}@keyframes sheet-lift{0%{opacity:0;transform:translate(-40%,-30%) scale(.5) rotate(-8deg)}}.sheet-preview-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0;border:0}.sheet-studio .sheet-motion{position:fixed;top:16px;right:16px}.sheet-preflight{width:min(92vw,440px);display:grid;gap:14px;padding:20px;border:1px solid var(--border);border-radius:calc(var(--radius) * 1.8);background:var(--background);box-shadow:0 30px 60px -30px #0006}.sheet-preflight h2{margin:0;font-size:16px}.sheet-preflight ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:14px}.sheet-preflight li{display:flex;align-items:center;gap:10px}.sheet-preflight li:before{content:"";width:16px;height:16px;flex:none;border-radius:50%;border:1.5px solid var(--border);transition:background .2s,border-color .2s}.sheet-preflight li[data-state=ok]:before{background:var(--sheet-ok);border-color:var(--sheet-ok);box-shadow:inset 0 0 0 3px var(--background)}.sheet-preflight li[data-state=warn]:before{background:var(--sheet-warn);border-color:var(--sheet-warn);box-shadow:inset 0 0 0 3px var(--background)}.sheet-preflight li[data-state=fail]:before{background:var(--sheet-error);border-color:var(--sheet-error);box-shadow:inset 0 0 0 3px var(--background)}.sheet-downloads{display:flex;flex-wrap:wrap;gap:8px}@media (prefers-reduced-motion:reduce){.sheet-item-loading,.sheet-item[data-flag=error],.sheet-paper[data-stock=holographic],.sheet-problem{animation:none}}@media (max-width:720px){.sheet-studio{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.sheet-library{min-width:0;max-height:none;border-right:0;border-bottom:1px solid var(--border);padding:10px 16px}.sheet-library .sheet-hint,.sheet-library h2{display:none}.sheet-library ul{margin:0;display:flex;overflow-x:auto}.sheet-library li{flex:0 0 64px}.sheet-library .sheet-template-list li{flex-basis:150px}.sheet-library-tabs{max-width:220px;margin-bottom:10px}.sheet-library-field{display:inline-grid;width:calc(50% - 4px);margin-right:4px;vertical-align:bottom}.sheet-library .sheet-creator-link{margin:0 0 10px;display:block}.sheet-toolbar{padding:8px 16px}.sheet-name{width:100%}.sheet-toolbar-spacer{display:none}.sheet-stage{min-height:360px}.sheet-dock{padding:10px 16px 14px}}