:root{--bg:#323233;--bg-panel:#3c3c3e;--bg-elevated:#48484b;--bg-hover:#535356;--bg-active:#5e5e62;--bg-pop:#4a4a4d;--seam:#29292a;--stage:#555558;--text:#f4f4f5;--text-muted:#c3c3c7;--accent:#3d6df2;--accent-ink:#fff;--accent-text:color-mix(in srgb, var(--accent) 60%, white);--danger:#ff8a70;--swatch-edge:#ffffff24;--shadow:0 14px 40px #00000059;--pop-shadow:0 14px 40px #0006, 0 0 0 1px #00000040;--flyout-shadow:18px 0 44px #0000004d;--font-ui:"IBM Plex Sans", system-ui, sans-serif;--font-display:"Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;--radius:8px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=hell]{--bg:#e3e3e6;--bg-panel:#f5f5f6;--bg-elevated:#e7e7ea;--bg-hover:#dcdce0;--bg-active:#cfcfd4;--bg-pop:#fff;--seam:#d0d0d5;--stage:#d6d6da;--text:#1c1c1f;--text-muted:#5b5c63;--accent-text:color-mix(in srgb, var(--accent) 85%, black);--danger:#c93a1b;--swatch-edge:#00000024;--shadow:0 10px 30px #00000029;--pop-shadow:0 12px 34px #00000029, 0 0 0 1px #0000000f;--flyout-shadow:14px 0 36px #0000001a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dunkel]{--bg:#0f1012;--bg-panel:#17181b;--bg-elevated:#212226;--bg-hover:#2a2b30;--bg-active:#33353a;--bg-pop:#25262a;--seam:#0a0a0c;--stage:#0c0d0e;--text:#eeeff1;--text-muted:#9a9ca3;--accent-text:var(--accent);--danger:#ff8f75;--swatch-edge:#ffffff14;--shadow:0 18px 50px #0000008c;--pop-shadow:0 16px 44px #0009, 0 0 0 1px #0006;--flyout-shadow:24px 0 60px #00000073}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%;margin:0}body{font-family:var(--font-ui);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}@media (pointer:coarse){input,select,textarea{font-size:max(16px,1em)!important}}.app-shell{--rail-width:64px;--bar-height:44px;grid-template-columns:var(--rail-width) minmax(0, 1fr);height:100vh;display:grid;position:relative}.app-main{flex-direction:column;min-width:0;min-height:0;display:flex}.topbar{height:var(--bar-height);box-sizing:border-box;background:var(--bg);border-bottom:1px solid var(--seam);flex-shrink:0;align-items:stretch;gap:.75rem;padding-right:.6rem;display:flex}.topbar .doc-tabs{background:0 0;border-bottom:none;flex:1;min-width:0;min-height:0}.panel-toggles{height:var(--bar-height);align-items:center;gap:2px;display:none}.icon-btn.is-on{background:var(--bg-active)}.doc-switch{align-items:center;gap:2px;width:100%;display:none}.doc-switch select{flex:1;min-width:0;height:34px;margin-right:.3rem}.toolbar-actions{flex-shrink:0;align-items:center;gap:2px;display:flex}.toolbar-actions .export-anchor{margin-left:6px}.icon-btn.icon-btn-accent{background:var(--accent);color:var(--accent-ink)}.icon-btn.icon-btn-accent:hover:not(:disabled),.icon-btn-accent.is-open{background:var(--accent);filter:brightness(1.08)}[data-tip]{position:relative}[data-tip]:after{content:attr(data-tip);z-index:3000;background:var(--bg-pop);box-shadow:var(--pop-shadow);color:var(--text);font-family:var(--font-ui);white-space:nowrap;pointer-events:none;opacity:0;border-radius:6px;padding:.3rem .55rem;font-size:.72rem;font-weight:500;line-height:1.2;transition:opacity .12s .25s,transform .12s .25s;position:absolute;top:calc(100% + 6px);right:0;transform:translateY(-2px)}[data-tip]:hover:after,[data-tip]:focus-visible:after{opacity:1;transform:none}[data-tip][data-tip-side=right]:after{top:50%;left:calc(100% + 8px);right:auto;transform:translate(-2px,-50%)}[data-tip][data-tip-side=right]:hover:after,[data-tip][data-tip-side=right]:focus-visible:after{transform:translateY(-50%)}.rail-brand{height:var(--bar-height);color:var(--text);flex-shrink:0;justify-content:center;align-items:center;display:flex}.brand-symbol{background:currentColor;width:14px;height:28px;-webkit-mask:url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ytPhmGEI7Bb/KlTT/0JhE0sAofET0/9/MTPI1bXqn2CQN+nHBI/o0ny/5i25E8QfMUhcFj8qVWvPBMImxgEioifnvr5iU/+GJmrMhEoIn6ax6c8GYIRhkAx8XPH6cmf3/fzroFA0wSKiH/XIfnvgPi2PQLFxU9Pfe/77eWsojsCxcXP8yf5/be6GYTRLIFTxM/dJvnzK09++udvDQSaInCa+LlL8mcKRosEThV/atjn+7fbhMKmFQKni5+e+vl1J7/2tNKzOhC4nS5+Zkz+TMFoiUAV8XPDk/xeezIM43IC1cTPnSb588ec5M8wjEsJVBU/d0r+TMH4lkDdI9XFz+1N8vuFN8MwLiFwifi50yS/T3syCOMSApeJn7tdyJ9vgnzIQKAKgUvFzx1m+dPIrz3kz0CMKgQuF3/ucpLfJz4zENtTCTQjfu4yyf/Ux535XAOBIwSaEj83Qv5MwTibQHPi54az/Gm8pH2vPgmCr/IEmhR/bjPJ79VnhmFblEDT4udOyZ8pGKUJNC9+bjjLn4ZXnwzjueGsBwRCiD/3kOT36jPDsD1EIJT4udMsfxqe/hmGsZtAOPHnTpP8X9JwA8xAbDcRCCv+3GWS3+vPDMP2aQLhxc+dZvnT8PTPMIynCLzenjotxklJfq8/MaK6vMounvj3FN0A90R8f0+gS/HnJu9uAP/zhxmMbZ3/e5GrOU83wPxLsBvg6kAaWL/rJ/493/kGSNv5F2H/+OUe0iDfDyX+MtMkf/5FOP/Lrzy++1NgeZ39PggMK/4cX7oBfkoj3wT5p4CbYAbT+XZ48Zf5phtg7Sbw02AJqZN94n8S5OImuP9p4Eb4hFmkw8R/Mq37GyF9n1+N8k0wD78oP8myhdOIfyCFJH/+aTCPH9P3X7/SlPl3hTyWN0W+MZYjndbNV7hGfgYAAP//MyD9WgAAAAZJREFUAwBA0gn8xrLXcwAAAABJRU5ErkJggg==) 50%/contain no-repeat}.pack-icon{object-fit:contain;border-radius:5px;flex-shrink:0;width:22px;height:22px}.pack-icon-letter{background:var(--bg-active);color:var(--text);font-family:var(--font-display);justify-content:center;align-items:center;font-size:.75rem;font-weight:700;display:inline-flex}.rail-menu-wrap{position:relative}.rail-menu-btn{justify-content:center;height:44px}.rail-menu-btn .pack-icon{border-radius:7px;width:28px;height:28px}.rail-menu-btn.is-open{color:var(--text);background:var(--bg-elevated)}.rail-menu-btn .theme-dot{width:20px;height:20px}.rail-menu{z-index:2000;background:var(--bg-pop);min-width:240px;box-shadow:var(--pop-shadow);border-radius:10px;padding:5px;animation:.1s ease-out pop-in;position:absolute;bottom:0;left:calc(100% + 10px)}.pack-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:.6rem;width:100%;padding:.45rem .55rem;display:flex}.pack-item:hover{background:var(--bg-hover)}.pack-item .pack-icon{width:28px;height:28px}.pack-item>span{flex-direction:column;flex:1;min-width:0;display:flex}.pack-item strong{font-size:.82rem}.pack-item em{color:var(--text-muted);font-size:.72rem;font-style:normal}.pack-check{color:var(--accent-text)}.pack-hint{border-top:1px solid var(--seam);color:var(--text-muted);margin:.25rem 0 0;padding:.45rem .6rem .3rem;font-size:.7rem}.boot-screen,.login-screen{height:100vh;color:var(--text-muted);background:var(--bg);flex-direction:column;justify-content:center;align-items:center;gap:1rem;display:flex}.login-mark{width:22px;height:44px;color:var(--text);display:block}.boot-screen .login-mark{animation:1.2s ease-in-out infinite boot-pulse}@keyframes boot-pulse{50%{opacity:.35}}.boot-screen.is-error .login-mark{animation:none}.boot-screen.is-error p{color:var(--danger);margin:0;font-size:.9rem}.login-card{background:var(--bg-panel);width:min(340px,100vw - 2rem);box-shadow:var(--shadow);color:var(--text);border-radius:12px;flex-direction:column;gap:.85rem;padding:1.75rem 1.5rem 1.4rem;display:flex}.login-card h1{font-family:var(--font-display);letter-spacing:-.01em;margin:.4rem 0 0;font-size:1.35rem;font-weight:600}.login-card>p{color:var(--text-muted);margin:-.4rem 0 0;font-size:.8rem;line-height:1.45}.login-card .btn-secondary{margin:.2rem 0 0;padding:.6rem;font-size:.85rem}.login-card .btn-secondary:disabled{opacity:.5;cursor:default}.login-actions{gap:.5rem;display:flex}.login-actions .btn-secondary{flex:1}.login-error{color:var(--danger);margin:0;font-size:.8rem}.btn-export{appearance:none;background:var(--accent);color:var(--accent-ink);font-weight:600;font-family:var(--font-display);cursor:pointer;border:none;border-radius:6px;height:34px;padding:0 .9rem;font-size:.85rem;transition:transform .15s,filter .15s}.btn-export:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-1px)}.btn-export.is-open{filter:brightness(.94);transform:none}.icon-btn{appearance:none;width:34px;height:34px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:6px;place-items:center;display:grid}.icon-btn:hover:not(:disabled){background:var(--bg-elevated)}.icon-btn:disabled{opacity:.3;cursor:default}.theme-dot{width:16px;height:16px;box-shadow:inset 0 0 0 1px var(--swatch-edge);border-radius:50%;flex-shrink:0;display:block}.pack-item>.theme-dot{flex:0 0 22px;width:22px;height:22px}.theme-dot-hell{background:#f5f5f6}.theme-dot-grau{background:#5e5e62}.theme-dot-dunkel{background:#121315}.ctx-menu{z-index:2000;background:var(--bg-pop);min-width:230px;max-width:300px;box-shadow:var(--pop-shadow);border-radius:10px;outline:none;padding:5px;font-size:.8rem;animation:.1s ease-out pop-in;position:fixed}.ctx-title{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;padding:.4rem .6rem .35rem;font-size:.7rem;font-weight:600;overflow:hidden}.ctx-item{appearance:none;width:100%;height:30px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:space-between;align-items:center;gap:1.5rem;padding:0 .6rem;display:flex}.ctx-item.is-active{background:var(--accent);color:var(--accent-ink)}.ctx-item.is-danger{color:var(--danger)}.ctx-item.is-danger.is-active{color:#fff;background:#e5484d}.ctx-item:disabled{opacity:.38;cursor:default}.ctx-item kbd{font:inherit;letter-spacing:.04em;color:var(--text-muted);font-size:.72rem}.ctx-item.is-active kbd{color:inherit;opacity:.7}.ctx-sep{background:var(--seam);height:1px;margin:4px 6px}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.export-anchor{position:relative}.export-pop{z-index:1500;background:var(--bg-pop);width:340px;box-shadow:var(--pop-shadow);transform-origin:100% 0;border-radius:14px;flex-direction:column;gap:1rem;padding:1rem;animation:.14s ease-out pop-in;display:flex;position:absolute;top:calc(100% + 10px);right:0}.export-head{align-items:center;gap:.85rem;display:flex}.export-thumb{background:var(--stage);border-radius:8px;flex-shrink:0;width:88px;height:88px}.export-head-meta{flex-direction:column;gap:.15rem;min-width:0;display:flex}.export-head-meta strong{font-family:var(--font-display);letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:1.05rem;font-weight:600;overflow:hidden}.export-head-meta span{color:var(--text-muted);font-size:.74rem}.export-head-meta .export-px{color:var(--text);font-variant-numeric:tabular-nums;margin-top:.2rem;font-weight:600}.export-section{flex-direction:column;gap:.45rem;margin:0;display:flex}.export-label{color:var(--text-muted);font-size:.75rem;font-weight:600}.export-hint{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.4}.export-video{justify-content:center;align-items:center;gap:.4rem;margin:0;display:flex}.video-card{width:min(460px,100%);max-height:calc(100vh - 2.5rem);overflow-y:auto}.video-preview{background:var(--bg-elevated);border-radius:8px;justify-content:center;align-self:center;align-items:center;max-width:100%;display:flex;overflow:hidden}.video-wait{color:var(--text-muted);font-size:.78rem}.video-progress{background:var(--bg-elevated);border-radius:3px;height:6px;overflow:hidden}.video-progress span{background:var(--accent);height:100%;transition:width .2s linear;display:block}.video-card .modal-actions .btn-export{width:auto;margin:0}.seg{background:var(--bg-elevated);border-radius:9px;gap:4px;padding:4px;display:grid}.seg-2{grid-template-columns:1fr 1fr}.seg-4{grid-template-columns:repeat(4,1fr)}.seg button{appearance:none;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-direction:column;align-items:center;gap:1px;padding:.45rem .25rem;font-size:.8rem;font-weight:600;display:flex}.seg button:hover{color:var(--text);background:var(--bg-hover)}.seg button.is-active{background:var(--accent);color:var(--accent-ink)}.seg button:disabled{opacity:.35;cursor:not-allowed;color:var(--text-muted);background:0 0}.seg small{opacity:.75;font-variant-numeric:tabular-nums;font-size:.62rem;font-weight:500}.export-filename{background:var(--bg-elevated);border-radius:8px;align-items:center;height:36px;padding:0 .65rem;display:flex}.export-filename:focus-within{box-shadow:0 0 0 2px var(--accent)}.export-filename input{min-width:0;color:var(--text);background:0 0;border:none;outline:none;flex:1;font-size:.8rem}.export-filename span{color:var(--text-muted);font-size:.8rem}.export-pop .export-download{width:100%;height:42px;font-size:1rem}.btn-export:disabled{opacity:.6;cursor:wait}.workspace{flex:1;grid-template-columns:240px minmax(0,1fr) 300px;min-height:0;display:grid;position:relative}.tool-rail-wrap{background:var(--bg);border-right:1px solid var(--seam);flex-direction:column;min-height:0;display:flex}.tool-rail{flex-direction:column;align-items:center;gap:.35rem;padding:.6rem 0;display:flex}.tool-rail-btn{appearance:none;width:52px;color:var(--text-muted);font:inherit;letter-spacing:.02em;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:.25rem;padding:.55rem 0 .45rem;font-size:.62rem;display:flex;position:relative}.tool-rail-btn:hover{color:var(--text);background:var(--bg-elevated)}.tool-rail-btn.is-active{color:var(--accent-ink);background:var(--accent)}.rail-status{background:var(--accent);width:8px;height:8px;box-shadow:0 0 0 2px var(--bg-panel);border-radius:50%;position:absolute;top:6px;right:10px}.rail-status.is-busy{animation:1.2s ease-in-out infinite boot-pulse}.tool-rail-btn.is-active .rail-status{background:var(--accent-ink)}.flyout{top:0;bottom:0;left:var(--rail-width);z-index:40;width:320px;max-width:calc(100vw - var(--rail-width));overflow-wrap:break-word;box-sizing:border-box;background:var(--bg-panel);border-right:1px solid var(--seam);box-shadow:var(--flyout-shadow);padding:1.1rem 1.1rem 1.5rem;animation:.14s ease-out flyout-in;position:absolute;overflow:hidden auto;container-type:inline-size}.flyout-templates{width:min(820px, calc(100vw - var(--rail-width)))}.flyout-ai{width:420px}@keyframes flyout-in{0%{opacity:0;transform:translate(-8px)}}.flyout-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem;display:flex}.flyout-header h2{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-size:1.2rem;font-weight:600}.flyout-header p{color:var(--text-muted);margin:.3rem 0 0;font-size:.78rem;line-height:1.4}.flyout-files{width:360px}.file-section h3{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:1.1rem 0 .4rem;font-size:.72rem;font-weight:600}.file-section:first-of-type h3{margin-top:.4rem}.file-row{content-visibility:auto;contain-intrinsic-size:auto 56px;border-radius:8px;align-items:center;gap:.25rem;display:flex}.file-row:hover,.file-row.is-active{background:var(--bg-hover)}.file-row.is-active{box-shadow:inset 2px 0 0 var(--accent)}.file-open{appearance:none;min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:.7rem;padding:.4rem .5rem;display:flex}.file-thumb{background:var(--bg);border-radius:6px;flex-shrink:0;width:44px;height:44px}.file-text{flex-direction:column;gap:.1rem;min-width:0;display:flex}.file-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:600;overflow:hidden}.file-text span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.file-action{opacity:0;flex-shrink:0}.file-action:last-child{margin-right:.3rem}.file-row:hover .file-action,.file-action:focus-visible{opacity:1}.file-delete:hover{color:var(--danger)}.file-search{background:var(--bg-elevated);color:var(--text-muted);border-radius:6px;align-items:center;gap:.45rem;margin-bottom:.4rem;padding:0 .6rem;display:flex}.file-search input{min-width:0;color:var(--text);font:inherit;background:0 0;border:none;outline:none;flex:1;padding:.45rem 0;font-size:.8rem}.tpl-io{flex-shrink:0;gap:.4rem;display:flex}.tpl-io .btn-secondary{width:auto;margin:0;padding:.4rem .65rem;font-size:.72rem}.tpl-io .btn-secondary:disabled{opacity:.45;cursor:not-allowed}.tpl-section{color:var(--text);margin:1.25rem 0 .6rem;font-size:.8rem;font-weight:600}.tpl-grid{grid-template-columns:repeat(auto-fill,minmax(184px,1fr));gap:.75rem;display:grid}.tpl-card{appearance:none;background:var(--bg-elevated);width:100%;color:var(--text);text-align:left;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:10px;flex-direction:column;gap:.3rem;padding:.5rem .5rem .65rem;transition:background .12s;display:flex}.tpl-card:hover{background:var(--bg-hover)}.tpl-card:hover .tpl-thumb{box-shadow:inset 0 0 0 2px var(--accent)}.tpl-card strong{margin-top:.25rem;font-size:.82rem}.tpl-card>span:last-child{color:var(--text-muted);font-size:.68rem;line-height:1.35}.tpl-thumb{background:var(--stage);border-radius:6px;justify-content:center;align-items:center;height:168px;transition:box-shadow .12s;display:flex;overflow:hidden}.tpl-thumb>img{object-fit:contain;max-width:168px;max-height:168px}.tpl-thumb.is-round>img{border-radius:50%}.tpl-thumb.is-empty{background:var(--bg-panel);color:var(--text-muted);font-size:2.4rem;font-weight:300}.tpl-card-wrap{position:relative}.tpl-delete{appearance:none;color:#fff;cursor:pointer;opacity:0;background:#0009;border:none;border-radius:50%;width:26px;height:26px;font-size:1rem;line-height:1;transition:opacity .12s;position:absolute;top:.9rem;right:.9rem}.tpl-card-wrap:hover .tpl-delete,.tpl-delete:focus-visible{opacity:1}.tpl-delete:hover{background:#ff6b4a}.doc-tabs{background:var(--bg);border-bottom:1px solid var(--seam);align-items:stretch;gap:2px;min-height:38px;padding:0 .6rem;display:flex}.doc-tabs-list{scrollbar-width:none;align-items:flex-end;gap:2px;min-width:0;margin-bottom:-1px;padding-bottom:1px;display:flex;overflow:auto hidden}.doc-tab{appearance:none;max-width:220px;height:32px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:7px 7px 0 0;flex-shrink:0;align-items:center;gap:.45rem;padding:0 .4rem 0 .8rem;font-size:.78rem;display:flex}.doc-tab:hover{color:var(--text);background:var(--bg-panel)}.doc-tab.is-active{color:var(--text);background:var(--bg-elevated);height:33px;margin-bottom:-1px}.doc-tab-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.doc-tab-dirty{background:var(--accent);border-radius:50%;flex-shrink:0;width:6px;height:6px}.doc-tab-close{appearance:none;width:22px;height:22px;color:inherit;cursor:pointer;opacity:.7;background:0 0;border:none;border-radius:4px;flex-shrink:0;place-items:center;padding:0;font-size:.95rem;line-height:1;display:grid}.doc-tab-close:hover{opacity:1;background:var(--bg-hover)}.doc-tab-new{appearance:none;width:34px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:7px 7px 0 0;flex-shrink:0;align-self:flex-end;font-size:1.15rem;line-height:1}.doc-tab-new:hover{color:var(--text);background:var(--bg-panel)}.sidebar[hidden]{display:none}.workspace.is-start{grid-template-columns:minmax(0,1fr)}.sidebar{background:var(--bg-panel);flex-direction:column;gap:0;display:flex;overflow-y:auto}.sidebar.left{border-right:1px solid var(--seam)}.sidebar.right{border-left:1px solid var(--seam)}.panel{border-bottom:1px solid var(--seam);padding:1.1rem 1rem 1.25rem}.panel-header h2{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-size:1.05rem;font-weight:600}.panel-header p{color:var(--text-muted);margin:.35rem 0 0;font-size:.78rem;line-height:1.4}.layer-type-badge{text-transform:uppercase;letter-spacing:.06em;border:1px solid #0000;border-radius:4px;padding:.15rem .45rem;margin-top:.4rem!important;font-size:.7rem!important;display:inline-block!important}.btn-save-template{appearance:none;border:1px solid var(--accent);background:var(--bg-active);width:100%;color:var(--text);cursor:pointer;border-radius:6px;margin:.75rem 0 .5rem;padding:.55rem .75rem;font-size:.8rem;font-weight:600}.btn-save-template:hover{background:var(--bg-active)}.template-io-row{grid-template-columns:1fr 1fr;gap:.4rem;margin:.45rem 0 .15rem;display:grid}.template-io-row .btn-secondary{width:100%;margin:0;padding:.4rem .5rem;font-size:.72rem}.template-io-row .btn-secondary:disabled{opacity:.45;cursor:not-allowed}a[class^=btn],a[class*=\ btn]{text-decoration:none}.btn-secondary{appearance:none;background:var(--bg-elevated);width:100%;color:var(--text);cursor:pointer;border:1px solid #0000;border-radius:6px;margin-bottom:.5rem;padding:.45rem .65rem;font-size:.78rem;font-weight:600}.btn-secondary:hover{background:var(--bg-hover)}.btn-secondary kbd{font:inherit;opacity:.6;margin-left:.4rem;font-weight:500}.btn-secondary.is-accent{background:var(--accent);color:var(--accent-ink)}.btn-secondary.is-accent:hover{filter:brightness(1.06);background:var(--accent)}.btn-secondary.danger{color:var(--danger);border-color:#ff6b4a73}.btn-secondary.danger:hover{border-color:var(--danger);color:var(--danger);background:#ff6b4a14}.add-grid{grid-template-columns:1fr 1fr;gap:.4rem;margin-top:.75rem;display:grid}.add-btn{appearance:none;text-align:left;background:var(--bg-elevated);color:var(--text);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;flex-direction:column;gap:.2rem;padding:.7rem .65rem .65rem;display:flex}.add-btn svg{color:var(--accent-text);margin-bottom:.3rem}.add-btn:hover{background:var(--bg-hover)}.add-btn strong{font-size:.82rem}.add-btn span{color:var(--text-muted);font-size:.66rem;line-height:1.3}.add-section{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin:1.2rem 0 0;font-size:.72rem;font-weight:600}.add-note{color:var(--text-muted);margin:.5rem 0 0;font-size:.72rem;line-height:1.4}.template-card.saved{align-items:stretch;padding:0;display:flex;position:relative}.template-card-main{text-align:left;appearance:none;cursor:pointer;color:inherit;background:0 0;border:none;flex:1;align-items:stretch;gap:.7rem;min-width:0;padding:.55rem;display:flex}.template-delete{appearance:none;color:var(--text-muted);cursor:pointer;border:none;border-left:1px solid var(--seam);background:0 0;padding:0 .65rem;font-size:1.1rem}.template-delete:hover{color:var(--danger);background:#ff6b4a14}.layer-empty{color:var(--text-muted);padding:.5rem;font-size:.78rem;list-style:none}.layer-actions{flex-wrap:wrap;gap:.35rem;margin:.75rem 0 0;display:flex}.layer-actions button{appearance:none;background:var(--bg-elevated);cursor:pointer;color:var(--text-muted);border:1px solid #0000;border-radius:5px;padding:.3rem .5rem;font-size:.72rem}.layer-actions button:hover{background:var(--bg-hover);color:var(--text)}.layer-actions button.danger:hover{border-color:var(--danger);color:var(--danger)}.field-note{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.35}.field-em{color:var(--text-muted);text-transform:none;letter-spacing:0;font-style:normal;font-weight:500}.danger-note{color:var(--danger)}.modal-backdrop{z-index:1000;background:#0a0a0ab8;justify-content:center;align-items:center;padding:1.25rem;display:flex;position:fixed;inset:0}.modal-card{background:var(--bg-panel);width:min(420px,100%);box-shadow:var(--shadow);border-radius:10px;flex-direction:column;gap:.75rem;padding:1.15rem 1.2rem 1.25rem;display:flex}.modal-card h2{margin:0;font-size:1.05rem;font-weight:700}.modal-lead{color:var(--text-muted);margin:0;font-size:.8rem}.modal-actions{justify-content:flex-end;gap:.5rem;margin-top:.35rem;display:flex}.modal-actions .btn-secondary{width:auto;margin:0}.dialog-backdrop{z-index:5000;animation:.1s ease-out fade-in}.dialog-card{width:min(400px,100%);animation:.12s ease-out pop-in}.dialog-card .modal-lead{white-space:pre-line;font-size:.82rem;line-height:1.45}.dialog-card .modal-actions button[type=submit]{background:var(--accent);width:auto;color:var(--accent-ink);border:none;margin:0}.dialog-card .modal-actions button[type=submit]:hover:not(:disabled){filter:brightness(1.06)}.dialog-card .modal-actions button[type=submit].is-danger{background:var(--danger);color:#fff}.dialog-card .modal-actions button[type=submit]:disabled{opacity:.45;cursor:default}.dialog-card .field input[type=text]{box-sizing:border-box;width:100%}.modal-card input[type=text],.modal-card input[type=number]{background:var(--bg-elevated);color:var(--text);-webkit-text-fill-color:var(--text);caret-color:var(--text);border:1px solid #0000;border-radius:6px;padding:.5rem .65rem}.modal-card input[type=text]::placeholder{color:var(--text-muted);opacity:1}.modal-card input[type=number]{font-variant-numeric:tabular-nums}.template-grid{flex-direction:column;gap:.5rem;margin-top:.85rem;display:flex}.template-card{text-align:left;background:var(--bg-elevated);border-radius:var(--radius);cursor:pointer;border:1px solid #0000;align-items:stretch;gap:.7rem;padding:.55rem;transition:border-color .15s,background .15s;display:flex}.template-card:hover{background:var(--bg-hover)}.template-card.is-active{border-color:var(--accent);background:var(--bg-active)}.template-thumb{object-fit:cover;background:var(--bg);border-radius:6px;flex-shrink:0;width:48px;height:48px;display:block}.template-thumb-live{pointer-events:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.template-thumb-frame{border-radius:2px;display:block;position:relative;overflow:hidden}.template-thumb-scale{transform-origin:0 0;display:block;position:absolute;top:0;left:0}.template-thumb.is-empty{background:var(--bg-panel)}.template-meta{flex-direction:column;gap:.2rem;min-width:0;display:flex}.template-meta strong{font-size:.85rem;font-weight:600}.template-meta span{color:var(--text-muted);font-size:.72rem;line-height:1.35}.layer-list{flex-direction:column;gap:.35rem;margin:.75rem 0 0;padding:0;list-style:none;display:flex}.layer-list>li{border-radius:6px}.layer-list>li.is-dragging{opacity:.45}.layer-list>li.is-drop-target{box-shadow:inset 0 2px 0 var(--accent)}.layer-list>li.is-child{margin-left:1.1rem;position:relative}.layer-list>li.is-child:before{content:"";background:var(--seam);width:1px;position:absolute;top:-.2rem;bottom:-.2rem;left:-.55rem}.layer-group-row button{font-weight:600}.layer-chevron{width:16px;height:22px;color:var(--text-muted);border-radius:4px;justify-content:center;align-items:center;margin-right:-.2rem;display:inline-flex}.layer-chevron:hover{color:var(--text);background:var(--bg-hover)}.layer-kind.layer-kind-group{color:var(--accent-text)}.layer-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.layer-count{color:var(--text-muted);background:var(--bg-hover);border-radius:999px;padding:.05rem .45rem;font-size:.7rem;font-weight:600}.layer-list button{appearance:none;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:.45rem;width:100%;padding:.45rem .5rem;font-size:.85rem;display:flex}.layer-list button:hover{background:var(--bg-elevated)}.layer-list button.is-active{background:var(--bg-active);box-shadow:inset 2px 0 0 var(--accent);color:var(--text)}.layer-kind{letter-spacing:.02em;background:var(--bg-hover);width:28px;height:22px;color:var(--text-muted);border-radius:4px;justify-content:center;align-items:center;font-size:.65rem;font-weight:700;display:inline-flex}.check-row{cursor:pointer;align-items:flex-start;gap:.5rem;font-size:.82rem;line-height:1.35;display:flex}.check-row input{margin-top:.15rem}.check-row small{color:var(--text-muted);margin-top:.15rem;font-size:.72rem;display:block}.modal-card .check-row{margin-top:.25rem}.stage{background:var(--stage);flex-direction:column;justify-content:center;align-items:center;min-height:0;padding:1.5rem;display:flex;position:relative;overflow:auto}.canvas-scaler{box-shadow:var(--shadow);flex-shrink:0;position:relative}.canvas-zoom{position:absolute;top:0;left:0}.round-mask{pointer-events:none;background:radial-gradient(closest-side,#0000 calc(100% - .5px),#1616189e 100%);position:absolute;inset:0}.round-mask:after{content:"";border:1.5px dashed #ffffffd9;border-radius:50%;position:absolute;inset:0;box-shadow:0 0 0 1px #00000040}.design-canvas{isolation:isolate;background:#000;position:relative;overflow:hidden}.canvas-layer.is-editable.is-selected{outline:calc(2px * var(--ui-scale,1)) solid var(--accent);outline-offset:calc(-2px * var(--ui-scale,1))}.canvas-layer.is-editable.is-selected.in-group-frame{outline:calc(1px * var(--ui-scale,1)) solid color-mix(in srgb, var(--accent) 45%, transparent);outline-offset:calc(-1px * var(--ui-scale,1))}.group-frame{z-index:9990;box-sizing:border-box;outline:calc(2px * var(--ui-scale,1)) dashed var(--accent);outline-offset:0;pointer-events:none;position:absolute}.group-frame-label{padding:calc(2px * var(--ui-scale,1)) calc(7px * var(--ui-scale,1));border-radius:0 0 calc(5px * var(--ui-scale,1)) 0;background:var(--accent);color:var(--accent-ink);font:600 calc(11px * var(--ui-scale,1)) / 1.2 system-ui, sans-serif;white-space:nowrap;position:absolute;top:0;left:0}.group-frame .group-resize{pointer-events:auto}.canvas-layer.is-editable:hover:not(.is-selected){outline:calc(1px * var(--ui-scale,1)) dashed color-mix(in srgb, var(--accent) 55%, transparent);outline-offset:calc(-1px * var(--ui-scale,1))}.layer-content{position:absolute;inset:0;overflow:hidden}.layer-handle{--handle:calc(28px * var(--ui-scale,1));z-index:20;box-sizing:border-box;color:#111214;box-shadow:0 calc(1px * var(--ui-scale,1)) calc(5px * var(--ui-scale,1)) #0006;cursor:pointer;pointer-events:auto;background:#fff;border:none;padding:0;position:absolute}.layer-handle svg{width:calc(15px * var(--ui-scale,1));height:calc(15px * var(--ui-scale,1))}.layer-delete{width:var(--handle);height:var(--handle);border-radius:50%;justify-content:center;align-items:center;font-size:16px;font-weight:700;line-height:1;display:flex;top:0;right:0;transform:translate(50%,-50%)}.layer-delete:hover{background:var(--accent);color:var(--accent-ink)}.layer-duplicate{width:var(--handle);height:var(--handle);border-radius:50%;justify-content:center;align-items:center;display:flex;top:0;left:0;transform:translate(-50%,-50%)}.layer-duplicate:hover{background:var(--accent);color:var(--accent-ink)}.layer-resize{width:var(--handle);height:var(--handle);cursor:nwse-resize;border-radius:50%;justify-content:center;align-items:center;display:flex;bottom:0;right:0;transform:translate(50%,50%)}.layer-resize:hover{background:var(--accent);color:var(--accent-ink)}.canvas-layer.is-draggable{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.canvas-layer.is-draggable:active{cursor:grabbing}.snap-guide{z-index:9999;pointer-events:none;background:var(--accent);position:absolute}.snap-guide-v{width:1px;box-shadow:0 0 0 .5px color-mix(in srgb, var(--accent) 40%, transparent);top:0;bottom:0;transform:translate(-.5px)}.snap-guide-h{height:1px;box-shadow:0 0 0 .5px color-mix(in srgb, var(--accent) 40%, transparent);left:0;right:0;transform:translateY(-.5px)}.drag-hint{color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.35}.geo-readout{font-variant-numeric:tabular-nums;color:var(--text-muted);grid-template-columns:1fr 1fr;gap:.25rem .5rem;font-size:.75rem;display:grid}.geometry-fallback{margin-top:.25rem}.geometry-fallback summary{cursor:pointer;color:var(--text-muted);align-items:center;gap:.3rem;padding:.35rem 0;font-size:.72rem;list-style:none;display:flex}.geometry-fallback summary::-webkit-details-marker{display:none}.geometry-fallback summary svg{transition:transform .15s}.geometry-fallback[open] summary{margin-bottom:.5rem}.geometry-fallback[open] summary svg{transform:rotate(90deg)}.geometry-fallback .field-row{margin-bottom:.5rem}.stage-caption{color:var(--text-muted);letter-spacing:.02em;font-variant-numeric:tabular-nums;margin-top:1rem;font-size:.75rem}.canvas-scaler[hidden]{display:none}.stage-format-btn{appearance:none;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;background:0 0;border:none;border-radius:5px;padding:.15rem .4rem}.stage-format-btn:hover{background:var(--bg-elevated);color:var(--text)}.stage:has(.fmt-picker){justify-content:flex-start;align-items:stretch}.fmt-picker{flex-direction:column;gap:1.25rem;width:100%;max-width:1180px;margin:0 auto;display:flex}.fmt-head{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.fmt-head h2{font-family:var(--font-display);margin:0;font-size:1.35rem;font-weight:600}.fmt-head p{color:var(--text-muted);margin:.3rem 0 0;font-size:.82rem}.fmt-head-actions{gap:.5rem;display:flex}.fmt-head-actions .btn-secondary{width:auto;margin:0}.fmt-columns{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.fmt-platforms,.fmt-side{flex-direction:column;gap:1.1rem;display:flex}.fmt-group h3{letter-spacing:.04em;color:var(--text-muted);margin:0 0 .5rem;font-size:.72rem;font-weight:600}.fmt-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.4rem;display:grid}.fmt-card-wrap{display:flex;position:relative}.fmt-card{appearance:none;background:var(--bg-panel);min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;border:none;border-radius:9px;flex:1;align-items:center;gap:.7rem;padding:.5rem .65rem .5rem .5rem;display:flex}.fmt-card:hover{background:var(--bg-hover)}.fmt-card.is-active{box-shadow:inset 0 0 0 2px var(--accent)}.fmt-thumb{background:var(--bg-elevated);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.fmt-thumb>span{background:var(--text-muted);opacity:.75;border-radius:2px;display:block}.fmt-thumb>span.is-round{border-radius:50%}.fmt-card:hover .fmt-thumb>span,.fmt-card.is-active .fmt-thumb>span{background:var(--accent);opacity:1}.fmt-thumb.is-plus{color:var(--text-muted);font-size:1.4rem}.fmt-text{flex-direction:column;gap:.1rem;min-width:0;display:flex}.fmt-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:600;overflow:hidden}.fmt-text span{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.72rem}.fmt-text .fmt-hint{opacity:.8;white-space:nowrap;text-overflow:ellipsis;font-size:.68rem;line-height:1.3;overflow:hidden}.fmt-grid-standard{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.fmt-grid-standard .fmt-card{min-height:68px}.fmt-more{appearance:none;background:var(--bg-panel);width:100%;color:var(--text);font:inherit;cursor:pointer;border:none;border-radius:9px;align-items:center;gap:.45rem;padding:.65rem .8rem;font-size:.82rem;font-weight:600;display:flex}.fmt-more span{color:var(--text-muted);font-weight:400}.fmt-more:hover{background:var(--bg-hover)}.fmt-more svg{transition:transform .15s}.fmt-more.is-open svg{transform:rotate(180deg)}.fmt-delete{appearance:none;width:24px;height:24px;color:var(--text-muted);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:50%;font-size:1rem;line-height:1;position:absolute;top:50%;right:.4rem;transform:translateY(-50%)}.fmt-card-wrap:hover .fmt-delete,.fmt-delete:focus-visible{opacity:1}.fmt-delete:hover{color:var(--danger);background:var(--bg-elevated)}@media (width<=1100px){.fmt-columns{grid-template-columns:1fr}}.form-stack{flex-direction:column;gap:.85rem;margin-top:1rem;display:flex}.field{flex-direction:column;gap:.35rem;display:flex}.field>span{color:var(--text-muted);font-size:.75rem;font-weight:500}.field textarea,.field input[type=url],.field input[type=text],.field input[type=number],.field input[type=password],.field select,.doc-switch select{background:var(--bg-elevated);color:var(--text);resize:vertical;border:1px solid #0000;border-radius:6px;padding:.4rem .55rem;font-size:.85rem}.field select,.doc-switch select,.pe-section select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);cursor:pointer;background-position:calc(100% - .95rem),calc(100% - .65rem);background-repeat:no-repeat;background-size:.3rem .3rem;padding-right:1.7rem}.field textarea:focus,.field input[type=url]:focus,.field input[type=text]:focus,.field input[type=number]:focus,.field input[type=password]:focus,.field select:focus,.doc-switch select:focus{outline:1px solid var(--accent);border-color:var(--accent)}.field input[type=range]{width:100%;accent-color:var(--accent)}.field input[type=color]{background:var(--bg-elevated);cursor:pointer;border:1px solid #0000;border-radius:6px;width:100%;height:36px;padding:.2rem}.field input[type=file]{color:var(--text-muted);font-size:.78rem}.field-row{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.field-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.field-head>span{color:var(--text-muted);font-size:.75rem;font-weight:500}.seg.seg-mini{border-radius:7px;gap:2px;padding:2px}.seg.seg-mini button{padding:.2rem .55rem;font-size:.7rem}.field-compact{min-width:0}.field-compact>span{font-size:.7rem}.field-compact input[type=number],.field-compact input[type=color]{box-sizing:border-box;width:100%;min-width:0}.field-compact input[type=number]{font-variant-numeric:tabular-nums;padding:.35rem .5rem}.field-compact input[type=color]{height:31px}.field-reset{appearance:none;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;align-self:flex-start;align-items:center;gap:.3rem;padding:.15rem 0;font-size:.7rem;display:inline-flex}.field-reset:hover{color:var(--text)}.empty-hint{background:var(--bg-elevated);border-radius:var(--radius);color:var(--text-muted);margin-top:1rem;padding:.85rem;font-size:.8rem;line-height:1.45}.image-preview{aspect-ratio:16/10;background:#000;border:1px solid #0000;border-radius:6px;overflow:hidden}.image-preview img{object-fit:cover;width:100%;height:100%;display:block}.color-swatches{grid-template-columns:repeat(auto-fill,minmax(26px,1fr));gap:6px;display:grid}.color-swatches .swatch{appearance:none;aspect-ratio:1;width:100%;min-width:0;height:auto;box-shadow:inset 0 0 0 1px var(--swatch-edge);cursor:pointer;border:0;border-radius:5px;margin:0;padding:0;transition:transform 80ms ease-out;display:block;position:relative}.color-swatches .swatch:hover{transform:scale(1.08)}.color-swatches .swatch.is-active{box-shadow:inset 0 0 0 1px var(--swatch-edge), 0 0 0 2px var(--bg-panel), 0 0 0 3.5px var(--accent)}.color-swatches .swatch-custom{background:conic-gradient(from 90deg,#ff5e5e,#ffd23f,#4cd964,#34c3ff,#7a5cff,#ff5ec8,#ff5e5e);overflow:hidden}.color-swatches .swatch-custom.has-color{background:var(--swatch-color)}.color-swatches .swatch-custom input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.stock-grid{grid-template-columns:repeat(3,1fr);gap:.4rem;max-height:220px;padding:.15rem;display:grid;overflow-y:auto}.btn-secondary.upload-label{cursor:pointer;justify-content:center;align-items:center;display:flex}.stock-thumb-wrap{position:relative}.stock-thumb-remove{appearance:none;color:#fff;cursor:pointer;z-index:2;background:#141412d9;border:1px solid #00000059;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:0;font-size:11px;line-height:1;display:flex;position:absolute;top:2px;right:2px}.stock-thumb-remove:hover{border-color:var(--danger);background:#ff6b4a}.position-grid{grid-template-columns:repeat(3,1fr);gap:.3rem;margin-bottom:.55rem;display:grid}.position-btn{appearance:none;background:var(--bg-elevated);color:var(--text-muted);cursor:pointer;border:1px solid #0000;border-radius:5px;padding:.35rem;font-size:.85rem;line-height:1}.position-btn:hover{background:var(--bg-hover);color:var(--text)}.position-btn.is-active{background:var(--accent);color:var(--accent-ink)}.filter-block{flex-direction:column;gap:.45rem;display:flex}.stock-thumb{appearance:none;cursor:pointer;aspect-ratio:1;background:#000;border:2px solid #0000;border-radius:4px;padding:0;overflow:hidden}.stock-thumb:hover{background:var(--bg-hover)}.stock-thumb.is-active{border-color:var(--accent)}.stock-thumb img{object-fit:cover;filter:grayscale();width:100%;height:100%;display:block}.stock-thumb:hover img,.stock-thumb.is-active img{filter:grayscale(30%)}.overlay-block{border-bottom:1px solid var(--seam);padding-bottom:.75rem}.check-field{align-items:center;flex-direction:row!important;gap:.5rem!important}.check-field input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.check-field>span{text-transform:none;letter-spacing:0;color:var(--text);font-size:.85rem}.mode-toggle{grid-template-columns:1fr 1fr;gap:.35rem;display:grid}.mode-toggle button{appearance:none;background:var(--bg-elevated);cursor:pointer;color:var(--text-muted);border:1px solid #0000;border-radius:6px;padding:.4rem .5rem;font-size:.72rem}.mode-toggle button.is-active{background:var(--accent);color:var(--accent-ink);font-weight:600}.geometry-block{border-bottom:1px solid var(--seam);margin-top:.85rem;padding-bottom:.85rem}.num-input{background:var(--bg-elevated);width:100%;color:var(--text);font-variant-numeric:tabular-nums;border:1px solid #0000;border-radius:6px;padding:.35rem .5rem;font-size:.85rem}.num-input:focus{outline:1px solid var(--accent);border-color:var(--accent)}.layout-grid{grid-template-columns:repeat(2,1fr);gap:.45rem;display:grid}.layout-btn{appearance:none;background:var(--bg-elevated);cursor:pointer;text-align:left;border:1px solid #0000;border-radius:6px;flex-direction:column;align-items:stretch;gap:.35rem;padding:.45rem;display:flex}.layout-btn:hover:not(:disabled){background:var(--bg-hover)}.layout-btn:disabled{opacity:.4;cursor:not-allowed}.layout-btn-label{color:var(--text-muted);font-size:.68rem;line-height:1.2}.layout-preview{background:#333;border-radius:3px;height:36px;display:block;position:relative;overflow:hidden}.layout-preview .lp-color{background:var(--accent);position:absolute;inset:0}.layout-btn.is-active{border-color:var(--accent);background:var(--bg-active)}.split-rest{opacity:.75;font-style:normal;font-weight:400}.split-presets{flex-wrap:wrap;gap:.3rem;margin-top:.35rem;display:flex}.split-chip{appearance:none;background:var(--bg-elevated);font-variant-numeric:tabular-nums;cursor:pointer;color:var(--text-muted);border:1px solid #0000;border-radius:4px;padding:.2rem .4rem;font-size:.7rem}.split-chip:hover{background:var(--bg-hover);color:var(--text)}.split-chip.is-active{background:var(--accent);color:var(--accent-ink)}.inline-num{align-items:center;margin-top:.35rem;flex-direction:row!important;gap:.4rem!important}.inline-num .num-input{width:4.5rem}.layout-preview .lp-photo{background:#8a8a8a repeating-linear-gradient(-45deg,#0000,#0000 3px,#00000026 3px 6px);position:absolute}@media (width<=1100px){.workspace{grid-template-columns:200px minmax(0,1fr) 260px}}@media (width<=900px){.workspace{grid-template-columns:minmax(0,1fr)}.sidebar{z-index:20;display:none;position:absolute;inset:0;border:none!important}.workspace[data-panel=layers] .sidebar.left:not([hidden]),.workspace[data-panel=style] .sidebar.right:not([hidden]){display:flex}.topbar{flex-wrap:wrap;gap:0 .5rem;height:auto;padding:0 .6rem}.topbar .panel-toggles{display:flex}.toolbar-actions{height:var(--bar-height);margin-left:auto}.topbar .doc-tabs{flex:1 0 100%;order:1;min-height:0;padding:0 0 .5rem}.topbar .doc-tabs-list,.topbar .doc-tab-new{display:none}.doc-switch{display:flex}}.ai-panel{flex-direction:column;gap:.6rem;display:flex}.ai-prompt{box-sizing:border-box;background:var(--bg-elevated);width:100%;color:var(--text);font:inherit;resize:vertical;border:1px solid #0000;border-radius:6px;padding:.55rem .65rem;font-size:.8rem;line-height:1.4}.ai-prompt:focus{outline:1px solid var(--accent);border-color:var(--accent)}.ai-submit{width:100%}.ai-tidy{flex-direction:column;gap:.35rem;display:flex}.ai-tidy .btn-secondary{justify-content:center;align-items:center;gap:.4rem;width:100%;display:inline-flex}.ai-tidy small{color:var(--text-muted);font-size:.72rem;line-height:1.4}.ai-sources{flex-direction:column;gap:.3rem;font-size:.74rem;display:flex}.ai-sources>span{color:var(--text-muted);font-weight:600}.ai-sources ul{flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none;display:flex}.ai-sources a{color:var(--text);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:.35rem;text-decoration:none;display:flex;overflow:hidden}.ai-sources a:hover{color:var(--accent)}.ai-sources svg{color:var(--text-muted);flex:none}.ai-submit:disabled{cursor:not-allowed}.ai-run{flex-direction:column;gap:.5rem;display:flex}.ai-steps{flex-direction:column;gap:.45rem;margin:0;padding:0;font-size:.76rem;list-style:none;display:flex}.ai-step{color:var(--text-muted);gap:.55rem;display:flex}.ai-step-mark{background:var(--bg-elevated);border-radius:50%;flex:none;place-items:center;width:18px;height:18px;font-size:.64rem;font-weight:600;display:grid}.ai-step.is-done .ai-step-mark{background:var(--accent);color:var(--accent-ink)}.ai-step.is-active .ai-step-mark{color:var(--accent)}.ai-step.is-failed .ai-step-mark{background:var(--danger);color:#fff}.ai-step-body{flex-direction:column;flex:1;gap:.15rem;min-width:0;padding-top:.1rem;display:flex}.ai-step-head{justify-content:space-between;gap:.5rem;display:flex}.ai-step strong{font-weight:500}.ai-step.is-active,.ai-step.is-done,.ai-step.is-failed{color:var(--text)}.ai-step.is-active strong{font-weight:600}.ai-step-time{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none}.ai-step small{color:var(--text-muted);font-size:.7rem;line-height:1.4}.ai-step small.ai-step-detail{color:var(--text)}.ai-cancel{align-self:flex-start}.ai-variants{grid-template-columns:minmax(0,1fr);gap:.6rem;display:grid}.ai-variant{appearance:none;background:var(--bg-elevated);min-width:0;color:var(--text);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:8px;grid-template-rows:auto 1fr;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:.25rem .75rem;padding:.5rem;line-height:1.2;display:grid}.ai-variant:hover{background:var(--bg-hover)}.ai-variant strong{font-size:.85rem}.ai-variant>span:last-child{color:var(--text-muted);font-size:.78rem;line-height:1.35}.ai-variant-thumb{width:104px;height:104px}.ai-variant-frame{grid-row:span 2;display:block;position:relative}.ai-history-run .ai-variant{grid-template-columns:80px minmax(0,1fr)}@container (width<=280px){.ai-variant,.ai-history-run .ai-variant{grid-template-columns:minmax(0,1fr)}.ai-variant-frame{grid-row:auto}}.ai-history{flex-direction:column;gap:.6rem;margin-top:.9rem;display:flex}.ai-history h3{margin:0;font-size:.85rem;font-weight:600}.ai-history-run{background:var(--bg-elevated);border-radius:8px;flex-direction:column;gap:.4rem;padding:.6rem;display:flex}.ai-history-run .ai-variant,.ai-history-run .btn-secondary{background:var(--bg-panel)}.ai-history-run .ai-variant:hover,.ai-history-run .btn-secondary:hover{background:var(--bg-hover)}.ai-history-run .ai-variant-thumb{width:80px;height:80px}.ai-history-prompt{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.76rem;line-height:1.4;display:-webkit-box;overflow:hidden}.ai-history-meta{color:var(--text-muted);margin:0;font-size:.68rem}.ai-history-actions{gap:.4rem;display:flex}.check-badge{color:#fff;background:#1f9d55;border-radius:999px;justify-content:center;align-items:center;gap:.15rem;min-width:1.15rem;height:1.15rem;padding:0 .25rem;font-size:.62rem;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:.2rem;left:.2rem;box-shadow:0 1px 3px #0000004d}.check-badge.is-open{color:#1d1d1f;background:#f5b400}.tpl-delete,.doc-tab-close,.doc-tab-new,.stock-thumb-remove,.layer-handle,.position-btn,.fmt-delete,.pe-remove,.settings-close,.icon-btn{justify-content:center;align-items:center;display:inline-flex}.layer-actions button,.btn-secondary,.pe-add{justify-content:center;align-items:center;gap:.35rem;display:inline-flex}.pack-manage{color:var(--text-muted)}.tool-rail{flex:1}.tool-rail-bottom{flex-direction:column;align-items:center;gap:.35rem;margin-top:auto;display:flex}.tpl-promote{appearance:none;color:#fff;font:inherit;cursor:pointer;opacity:0;background:#0009;border:none;border-radius:999px;padding:.2rem .55rem;font-size:.66rem;font-weight:600;transition:opacity .12s;position:absolute;top:.9rem;left:.9rem}.tpl-card-wrap:hover .tpl-promote,.tpl-promote:focus-visible{opacity:1}.tpl-promote:hover{background:var(--accent);color:var(--accent-ink)}.settings-card{background:var(--bg-panel);width:min(760px,100%);height:min(620px,100vh - 2.5rem);box-shadow:var(--shadow);border-radius:12px;grid-template-columns:170px minmax(0,1fr);display:grid;position:relative;overflow:hidden}.settings-card.is-editing{width:min(980px,100%);height:calc(100vh - 2.5rem)}.settings-nav{background:var(--bg);flex-direction:column;gap:.2rem;padding:1.1rem .6rem;display:flex}.settings-nav h2{font-family:var(--font-display);margin:0 0 .75rem;padding:0 .6rem;font-size:1rem;font-weight:600}.settings-nav button{appearance:none;color:var(--text-muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;padding:.5rem .6rem;font-size:.85rem}.settings-nav button:hover{background:var(--bg-elevated);color:var(--text)}.settings-nav button.is-active{background:var(--bg-active);color:var(--text);font-weight:600}.settings-body{min-height:0;padding:1.25rem 1.4rem 1.4rem;position:relative;overflow-y:auto}.settings-close{z-index:2;font-size:1.2rem;position:absolute;top:.75rem;right:.75rem}.settings-section{flex-direction:column;gap:.85rem;max-width:520px;display:flex}.settings-section>header h3,.pe-head h3{font-family:var(--font-display);margin:0;font-size:1.05rem;font-weight:600}.settings-section>header p{color:var(--text-muted);margin:.3rem 0 0;font-size:.8rem;line-height:1.45}.settings-row{flex-wrap:wrap;gap:.5rem;display:flex}.settings-card .btn-secondary,.pm-card .btn-secondary{flex-shrink:0;justify-content:center;align-items:center;width:auto;margin:0;display:inline-flex}.settings-card .btn-secondary:disabled,.pm-card .btn-secondary:disabled{opacity:.45;cursor:default}.provider-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;display:grid}.provider-switch button{appearance:none;background:var(--bg-elevated);color:var(--text);font:inherit;text-align:left;cursor:pointer;border:none;border-radius:8px;flex-direction:column;align-items:flex-start;gap:.1rem;padding:.55rem .7rem;display:flex}.provider-switch button:hover:not(.is-active){background:var(--bg-hover)}.provider-switch button.is-active{box-shadow:inset 0 0 0 2px var(--accent)}.provider-switch strong{font-size:.82rem;font-weight:600}.provider-switch em{color:var(--text-muted);font-size:.72rem;font-style:normal}.settings-section .field-note{margin:-.45rem 0 0}.settings-section .field-note a{color:var(--accent-text)}.settings-facts{background:var(--bg-elevated);border-radius:8px;gap:.35rem;margin:0;padding:.7rem .8rem;font-size:.8rem;display:grid}.settings-facts div{grid-template-columns:8.5rem minmax(0,1fr);gap:.5rem;display:grid}.settings-facts dt{color:var(--text-muted)}.settings-facts dd{margin:0}.settings-inline-form{flex-direction:column;gap:.75rem;display:flex}.settings-ok,.settings-error{margin:0;font-size:.8rem}.settings-ok{color:#7fd49a}.settings-error{color:var(--danger)}.settings-divider{background:var(--seam);height:1px;margin:.4rem 0}.pack-list{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.pack-list li{background:var(--bg-elevated);border-radius:8px;align-items:center;gap:.5rem;padding:.55rem .6rem;display:flex}.pack-list li.is-current{box-shadow:inset 0 0 0 1px var(--accent)}.pack-list-name{flex-direction:column;flex:1;min-width:0;display:flex}.pack-list-name strong{font-size:.88rem;font-weight:600}.pack-list-name em{color:var(--text-muted);font-size:.72rem;font-style:normal}.pack-list a.btn-secondary{text-decoration:none}.pack-editor{flex-direction:column;gap:1rem;padding-bottom:.5rem;display:flex}.pe-head{align-items:center;gap:.75rem;padding-right:2.5rem;display:flex}.pe-id{color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem}.pe-section{background:var(--bg);border-radius:10px;flex-direction:column;gap:.7rem;padding:.95rem 1rem 1rem;display:flex}.pe-section>header h4{margin:0;font-size:.88rem;font-weight:600}.pe-section>header p{color:var(--text-muted);margin:.2rem 0 0;font-size:.75rem;line-height:1.4}.pe-grid{gap:.6rem .75rem;display:grid}.pe-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.pe-grid .field input+input{margin-top:.35rem}.pe-list{flex-direction:column;gap:.35rem;display:flex}.pe-section input[type=text],.pe-section input[type=number],.pe-section select,.pe-section textarea{background:var(--bg-elevated);min-width:0;color:var(--text);font:inherit;border:1px solid #0000;border-radius:6px;padding:.42rem .55rem;font-size:.8rem}.pe-section input:focus,.pe-section select:focus,.pe-section textarea:focus{border-color:var(--accent);outline:none}.pe-color-row,.pe-face-row,.pe-font-row{align-items:center;gap:.4rem;display:grid}.pe-color-row{grid-template-columns:30px 90px minmax(0,1fr) 96px 26px}.pe-face-row{grid-template-columns:minmax(0,1fr) 76px auto minmax(0,1fr) 26px}.pe-font-row{grid-template-columns:104px minmax(0,.8fr) minmax(0,1.4fr) 84px auto 26px}.pe-color-chip{width:30px;height:30px;box-shadow:inset 0 0 0 1px var(--swatch-edge);cursor:pointer;border-radius:7px;position:relative;overflow:hidden}.pe-color-chip input{opacity:0;cursor:pointer;position:absolute;inset:0}.pe-hex{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.pe-code{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;overflow:hidden}.pe-remove{appearance:none;width:26px;height:26px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;font-size:1rem;line-height:1}.pe-remove:hover:not(:disabled){background:var(--bg-hover);color:var(--danger)}.pe-remove:disabled{opacity:.3;cursor:default}.pe-check{color:var(--text-muted);white-space:nowrap;cursor:pointer;align-items:center;gap:.35rem;font-size:.78rem;display:inline-flex}.pe-add{align-self:flex-start}.pe-asset-row{align-items:center;gap:.6rem;display:flex}.pe-icon{object-fit:contain;background:var(--bg-elevated);border-radius:9px;width:40px;height:40px}.pe-icon.is-empty{display:inline-block}.pe-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem;display:grid}.pe-cards:empty{display:none}.pe-card{background:var(--bg-panel);border-radius:8px;flex-direction:column;gap:.35rem;padding:.45rem;display:flex}.pe-card-preview{border-radius:6px;justify-content:center;align-items:center;height:84px;padding:.5rem;display:flex}.pe-card-preview img{object-fit:contain;max-width:100%;max-height:100%}.is-checker{background-color:#8a8a8f;background-image:conic-gradient(#76767b 25%, transparent 0 50%, #76767b 0 75%, transparent 0);background-size:14px 14px}.pe-card-foot{justify-content:space-between;align-items:center;gap:.3rem;display:flex}.pe-details summary{cursor:pointer;color:var(--text-muted);margin-bottom:.6rem;font-size:.8rem}.pe-dot{width:10px;height:10px;box-shadow:inset 0 0 0 1px var(--swatch-edge);vertical-align:-1px;border-radius:50%;flex-shrink:0;display:inline-block}.pe-thumbs{flex-wrap:wrap;gap:.4rem;display:flex}.pe-thumbs img{object-fit:cover;border-radius:6px;width:64px;height:64px;display:block}.pe-thumbs+.field-note,.media-drop+.pe-thumbs{margin-top:.7rem}.media-drop{border:1.5px dashed var(--seam-strong,var(--seam));color:var(--text-muted);cursor:pointer;border-radius:10px;align-items:center;gap:.7rem;padding:1.1rem 1rem;transition:border-color .15s,background .15s;display:flex}.media-drop:hover,.media-drop.is-over{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 8%, transparent);color:inherit}.media-drop.is-busy{cursor:progress;border-style:solid}.media-drop svg{color:var(--accent-text);flex:none}.media-drop-text{flex-direction:column;gap:.15rem;min-width:0;display:flex}.media-drop-text strong{font-size:.82rem;font-weight:600}.media-drop-text em{opacity:.75;font-size:.72rem;font-style:normal}.media-drop.is-compact{gap:.5rem;padding:.6rem .75rem}.media-drop.is-compact strong{font-weight:500}.media-url-btn{justify-content:center;align-items:center;gap:.4rem;width:100%;margin-top:.45rem;display:inline-flex}.media-import{width:min(760px,100%);max-height:calc(100vh - 2.5rem)}.media-import .modal-actions .btn-save-template{width:auto;padding-inline:1rem}.media-import-url{gap:.5rem;display:flex}.media-import-url input{flex:1;min-width:0}.media-import-url .btn-secondary{align-items:center;gap:.35rem;width:auto;margin:0;display:inline-flex}.media-import-head{justify-content:space-between;align-items:baseline;gap:.75rem;font-size:.78rem;display:flex}.media-import-head em{color:var(--text-muted);font-style:normal}.media-import-head .link-button{appearance:none;color:var(--accent-text);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0;font-weight:600}.media-import-grid{flex:auto;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;min-height:0;padding:2px;display:grid;overflow-y:auto}.media-import-item{appearance:none;aspect-ratio:1;background:var(--bg-elevated);cursor:pointer;outline-offset:0;border:0;border-radius:6px;outline:2px solid #0000;padding:0;transition:outline-color .12s;position:relative;overflow:hidden}.media-import-item.is-graphic{background:repeating-conic-gradient(var(--bg-elevated) 0 25%, var(--seam) 0 50%) 0 0 / 16px 16px}.media-import-item img{object-fit:cover;width:100%;height:100%;display:block}.media-import-item.is-graphic img{object-fit:contain}.media-import-item:hover{outline-color:var(--seam-strong,var(--seam))}.media-import-item.is-picked{outline-color:var(--accent)}.media-import-check{color:#fff;background:#00000040;border:2px solid #ffffffe6;border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:6px;right:6px;box-shadow:0 1px 3px #00000059}.media-import-item.is-picked .media-import-check{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.media-import-meta{color:#fff;text-align:left;opacity:0;background:linear-gradient(#0000,#0009);padding:.9rem .4rem .3rem;font-size:.66rem;transition:opacity .12s;position:absolute;bottom:0;left:0;right:0}.media-import-item:hover .media-import-meta,.media-import-item.is-picked .media-import-meta{opacity:1}.media-grid{grid-template-columns:repeat(3,1fr);gap:.45rem;margin-top:.55rem;display:grid}.media-grid .stock-thumb{cursor:grab;width:100%}.media-grid .stock-thumb img{filter:none}.stage-drop{z-index:30;border:2px dashed var(--accent);background:color-mix(in srgb, var(--accent) 6%, transparent);color:var(--text);pointer-events:none;border-radius:14px;justify-content:center;align-items:flex-end;padding:1rem;font-size:.82rem;font-weight:500;display:flex;position:absolute;inset:.75rem}.pe-template-list{flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none;display:flex}.pe-template-list li{align-items:center;gap:.55rem;font-size:.82rem;display:flex}.pe-template-list li span:nth-child(2){flex:1}.pe-template-list li span.field-note{text-align:right}.pe-quote{align-items:center;gap:1rem;display:flex}.pe-quote-preview{background:var(--bg-elevated);border-radius:8px;width:56px;height:56px;padding:6px}.pe-quote-actions{align-items:center;gap:.4rem;display:flex}.pe-ai{resize:vertical;width:100%;line-height:1.5;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-size:.76rem!important}.pe-footer{background:var(--bg-panel);box-shadow:0 -1px 0 var(--seam);justify-content:flex-end;align-items:center;gap:.75rem;margin:0 -1.4rem -1.4rem;padding:.75rem 1.4rem;display:flex;position:sticky;bottom:-1.4rem}.settings-nav button{align-items:center;gap:.5rem;display:flex}.pm-card{background:var(--bg-panel);width:min(1180px,100%);height:calc(100vh - 2.5rem);box-shadow:var(--shadow);border-radius:12px;grid-template-columns:236px minmax(0,1fr);display:grid;position:relative;overflow:hidden}.pm-nav{background:var(--bg);flex-direction:column;gap:.6rem;min-height:0;padding:1.1rem .6rem .8rem;display:flex}.pm-nav h2{font-family:var(--font-display);margin:0 0 .25rem;padding:0 .6rem;font-size:1rem;font-weight:600}.pm-list{flex-direction:column;flex:auto;gap:.15rem;min-height:0;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.pm-list button,.pm-nav-actions button{appearance:none;width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:.55rem;padding:.45rem .55rem;font-size:.82rem;display:flex}.pm-nav-actions button{color:var(--text-muted)}.pm-list button:hover,.pm-nav-actions button:hover:not(:disabled){background:var(--bg-elevated);color:var(--text)}.pm-list button.is-active,.pm-nav-actions button.is-active{background:var(--bg-active);color:var(--text)}.pm-list-name{flex-direction:column;min-width:0;display:flex}.pm-list-name strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.pm-list-name em{color:var(--text-muted);font-size:.7rem;font-style:normal}.pm-nav-actions{box-shadow:0 -1px 0 var(--seam);flex-direction:column;gap:.1rem;padding-top:.6rem;display:flex}.pm-main{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}.pm-scroll{flex:1;min-height:0;padding:1.25rem 1.4rem 1.4rem;overflow-y:auto}.pm-error{margin:.9rem 3.4rem 0 1.4rem}.pm-start-options{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:.4rem 0 1rem;display:grid}.pm-start-option{appearance:none;border:1px solid var(--seam);background:var(--bg-elevated);color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:12px;flex-direction:column;align-items:flex-start;gap:.45rem;padding:1rem;display:flex}.pm-start-option:hover:not(:disabled){border-color:var(--accent)}.pm-start-option.is-primary{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.pm-start-option svg{color:var(--accent-text)}.pm-start-option span{opacity:.7;font-size:.8rem;line-height:1.4}.pm-start .bs-link svg{vertical-align:-1px}.pm-main>.pack-editor{flex:1;gap:0;min-height:0;padding:0}.pe-head{padding:1.1rem 3.4rem .85rem 1.4rem}.pe-head-icon{object-fit:contain;background:var(--bg-elevated);border-radius:9px;flex-shrink:0;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.pe-head-title{flex:1;min-width:0}.pe-head-title h3{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pe-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.pe-notes{background:var(--bg-elevated);border-radius:8px;margin:0 1.4rem .75rem;padding:.6rem .8rem;font-size:.78rem;line-height:1.45}.pe-notes p{margin:0}.pe-tabs{box-shadow:inset 0 -1px 0 var(--seam);flex-shrink:0;gap:.1rem;padding:0 1.4rem;display:flex;overflow-x:auto}.pe-tabs button{appearance:none;color:var(--text-muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:.6rem .7rem .55rem;font-size:.8rem}.pe-tabs button:hover{color:var(--text)}.pe-tabs button.is-active{border-bottom-color:var(--accent);color:var(--text);font-weight:600}.pe-body{flex-direction:column;flex:1;gap:1rem;min-height:0;padding:1.1rem 1.4rem 1.4rem;display:flex;overflow-y:auto}.pe-subhead{color:var(--text-muted);margin:.3rem 0 0;font-size:.78rem;font-weight:600}.pm-main>.pack-editor .pe-footer{flex-shrink:0;margin:0;position:static}.pe-footer .settings-ok,.pe-footer .settings-error,.pe-dirty{margin:0 auto 0 0}.pe-dirty{color:var(--text-muted);font-size:.78rem}.pe-loading{padding:1.4rem}.pe-card-preview.is-dark{background:#1d1d1f}.bs-start{max-width:620px}.bs-url{background:var(--bg-elevated);color:var(--text-muted);border-radius:10px;align-items:center;gap:.55rem;padding:.35rem .35rem .35rem .8rem;display:flex}.bs-url input{min-width:0;color:var(--text);font:inherit;background:0 0;border:none;outline:none;flex:1;padding:.45rem 0;font-size:.95rem}.bs-options{flex-wrap:wrap;gap:1.2rem;display:flex}.bs-steps{flex-direction:column;gap:.7rem;margin:0;padding:0;list-style:none;display:flex}.bs-steps li{color:var(--text-muted);align-items:flex-start;gap:.6rem;font-size:.82rem;display:flex}.bs-steps li svg{flex-shrink:0;margin-top:.1rem}.bs-steps li span{flex-direction:column;gap:.15rem;display:flex}.bs-steps li strong{font-weight:500}.bs-steps li em{color:var(--text-muted);font-size:.75rem;font-style:normal}.bs-steps li.is-running,.bs-steps li.is-done{color:var(--text)}.bs-steps li.is-done svg{color:var(--accent)}.bs-steps li.is-error svg{color:var(--danger)}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.bs-review,.bs-flow{flex-direction:column;gap:1rem;display:flex}.bs-stepper{color:var(--text-muted);align-items:center;gap:.4rem;margin:0;padding:0;font-size:.78rem;list-style:none;display:flex}.bs-stepper li{align-items:center;gap:.4rem;display:flex}.bs-stepper li+li:before{content:"";background:var(--seam);width:1.6rem;height:1px;margin-right:.1rem}.bs-stepper li>span{background:var(--bg-elevated);border-radius:50%;justify-content:center;align-items:center;width:1.3rem;height:1.3rem;font-size:.7rem;font-weight:600;display:inline-flex}.bs-stepper li.is-current{color:var(--text);font-weight:500}.bs-stepper li.is-current>span,.bs-stepper li.is-done>span{background:var(--accent);color:var(--accent-ink)}.bs-tpl{max-width:620px}.bs-tpl h3{align-items:center;gap:.45rem;display:flex}.bs-tpl textarea{resize:vertical}.bs-formats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;display:grid}.bs-tpl-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.75rem;display:grid}.bs-tpl-card{appearance:none;background:var(--bg-panel);color:var(--text);font:inherit;text-align:left;cursor:pointer;box-shadow:inset 0 0 0 1px var(--seam);border:none;border-radius:10px;flex-direction:column;align-items:flex-start;gap:.3rem;padding:.55rem;display:flex}.bs-tpl-card:hover{background:var(--bg-elevated)}.bs-tpl-card.is-kept{box-shadow:inset 0 0 0 2px var(--accent)}.bs-tpl-card strong{font-size:.82rem;font-weight:600}.bs-tpl-card>span:last-child{-webkit-line-clamp:2;color:var(--text-muted);-webkit-box-orient:vertical;font-size:.72rem;line-height:1.35;display:-webkit-box;overflow:hidden}.bs-tpl-thumb{justify-content:center;align-self:stretch;align-items:center;height:160px;display:flex;position:relative}.bs-tpl-check{background:var(--bg-elevated);color:#0000;width:1.35rem;height:1.35rem;box-shadow:inset 0 0 0 1px var(--seam);border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:.2rem;right:.2rem}.bs-tpl-card.is-kept .bs-tpl-check{background:var(--accent);color:var(--accent-ink);box-shadow:none}.bs-review-head{justify-content:space-between;align-items:flex-start;gap:1rem;padding-right:2.2rem;display:flex}.bs-review-head h3{font-family:var(--font-display);margin:0;font-size:1.05rem;font-weight:600}.bs-review-head a{text-decoration:none}.bs-columns{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:1.1rem;display:grid}.bs-evidence{flex-direction:column;gap:.75rem;display:flex;position:sticky;top:0}.bs-shot{max-height:440px;box-shadow:inset 0 0 0 1px var(--seam);border-radius:10px;overflow-y:auto}.bs-shot img{width:100%;display:block}.bs-shot img+img{border-top:6px solid var(--bg-elevated)}.bs-screen-bar{height:12px;box-shadow:inset 0 0 0 1px var(--swatch-edge);border-radius:6px;display:flex;overflow:hidden}.bs-insights{background:var(--bg);border-radius:10px;flex-direction:column;gap:.6rem;padding:.9rem 1rem;font-size:.8rem;line-height:1.45;display:flex}.bs-insights h4{align-items:center;gap:.35rem;margin:0;font-size:.85rem;display:flex}.bs-insights p{margin:0}.bs-chips{flex-wrap:wrap;gap:.3rem;display:flex}.bs-chips span{background:var(--bg-elevated);border-radius:99px;padding:.15rem .5rem;font-size:.72rem}.bs-insights dl{flex-direction:column;gap:.5rem;margin:0;display:flex}.bs-insights dt{color:var(--text-muted);font-size:.72rem;font-weight:600}.bs-insights dd{margin:.1rem 0 0}.bs-issues{color:var(--text-muted);flex-direction:column;gap:.4rem;margin:0;padding:0;font-size:.75rem;line-height:1.4;list-style:none;display:flex}.bs-issues li{align-items:flex-start;gap:.45rem;display:flex}.bs-issues li svg{flex-shrink:0;margin-top:.1rem}.bs-issues li.is-error svg{color:var(--danger)}.bs-form{flex-direction:column;gap:.9rem;display:flex}.bs-color-row{grid-template-columns:30px 90px minmax(0,1fr) minmax(0,.8fr) 26px}.bs-usage{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.bs-extra{flex-direction:column;gap:.35rem;display:flex}.bs-extra-list{flex-wrap:wrap;gap:.3rem;display:flex}.bs-extra-list button{appearance:none;width:24px;height:24px;box-shadow:inset 0 0 0 1px var(--swatch-edge);cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.bs-extra-list button svg{opacity:0}.bs-extra-list button:hover svg{opacity:1}.bs-upper{align-self:end;padding-bottom:.5rem}.bs-logos{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.6rem;display:grid}.bs-logo{background:var(--bg-panel);border-radius:8px;flex-direction:column;gap:.35rem;padding:.45rem;display:flex}.bs-logo .pe-card-preview{position:relative}.bs-logo-remove{appearance:none;color:#fff;cursor:pointer;opacity:0;background:#141414b8;border:none;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;transition:opacity .12s;display:grid;position:absolute;top:4px;right:4px}.bs-logo:hover .bs-logo-remove,.bs-image:hover .bs-logo-remove,.bs-logo-remove:focus-visible{opacity:1}.bs-logo:not(.is-used) .pe-card-preview img{opacity:.55}.bs-link{appearance:none;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:none;padding:0}.bs-link:hover{text-decoration:underline}.bs-logo-meta{color:var(--text-muted);font-size:.68rem}.bs-logo-roles{gap:.25rem;display:flex}.bs-logo-roles button{appearance:none;background:var(--bg-elevated);color:var(--text-muted);font:inherit;cursor:pointer;border:none;border-radius:5px;flex:1;padding:.28rem 0;font-size:.7rem}.bs-logo-roles button.is-active{background:var(--accent);color:var(--accent-ink)}.bs-logo-roles button:disabled{opacity:.4;cursor:default}.bs-images{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.6rem;display:grid}.bs-image{background:var(--bg-panel);border-radius:8px;flex-direction:column;gap:.35rem;padding:.45rem;display:flex}.bs-image.is-off .bs-image-preview img{opacity:.35;filter:grayscale(.7)}.bs-image-preview{aspect-ratio:4/3;background:var(--bg-elevated);border-radius:6px;position:relative;overflow:hidden}.bs-image-preview img{object-fit:cover;width:100%;height:100%}.bs-image-preview.is-checker img{object-fit:contain}.bs-image-kind{color:#fff;background:#000000b8;border-radius:4px;padding:.1rem .4rem;font-size:.65rem;position:absolute;top:.3rem;left:.3rem}.bs-image-name{padding:.3rem .45rem!important;font-size:.74rem!important}.bs-style{grid-template-columns:170px minmax(0,1fr);align-items:start;gap:1rem;display:grid}.bs-preview{aspect-ratio:1;box-shadow:inset 0 0 0 1px var(--swatch-edge);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;padding:1rem;display:flex}.bs-preview-box{flex-direction:column;gap:.2rem;width:100%;padding:.8rem .9rem;display:flex}.bs-preview-plain{flex-direction:column;gap:.2rem;width:100%;padding:.8rem 0;display:flex}.bs-preview-box strong,.bs-preview-plain strong{font-size:.95rem}.bs-preview-box span,.bs-preview-plain span{opacity:.75;font-size:.7rem}.bs-preview-button{padding:.45rem .9rem;font-size:.72rem;font-weight:700;line-height:1.1}@media (width<=900px){.bs-columns{grid-template-columns:1fr}.bs-evidence{position:static}.pm-card{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.pm-list{flex-direction:row;overflow-x:auto}}@media (width<=720px){.settings-card{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.settings-nav{flex-direction:row;align-items:center}.settings-nav h2{margin:0 .5rem 0 0}.pe-grid.three,.pe-font-row{grid-template-columns:1fr}}.icon-grid{grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:.55rem;display:grid}.icon-grid.is-compact{grid-template-columns:repeat(5,1fr);margin-top:.3rem}.icon-pick{appearance:none;color:#1c1c1f;font:inherit;cursor:pointer;background:#c9c9c4;border:1px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:.35rem;min-width:0;padding:.55rem .35rem .45rem;display:flex}.icon-pick:hover{border-color:var(--accent)}.icon-pick.is-active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.icon-pick img{aspect-ratio:1;object-fit:contain;width:100%;max-width:56px;display:block}.icon-grid.is-compact .icon-pick{padding:.35rem}.icon-pick span{text-align:center;text-overflow:ellipsis;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;-webkit-box-orient:vertical;font-size:.68rem;line-height:1.2;display:-webkit-box;overflow:hidden}.bs-images.is-icons{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))}.bs-icon-toggle{appearance:none;aspect-ratio:1;cursor:pointer;background:#c9c9c4;border:0;justify-content:center;align-items:center;padding:1.1rem;display:flex}.bs-icon-toggle img{object-fit:contain;width:100%;height:100%}.bs-scope{flex-direction:column;gap:.45rem;max-width:420px;display:flex}.bs-scope .field-note{margin:0}.design-canvas-frame{position:relative}.canvas-controls{z-index:1;pointer-events:none;position:absolute;inset:0}.layer-controls{pointer-events:none}.safe-zone{border-bottom:calc(2px * var(--ui-scale,1)) dashed #ff4040d9;background:repeating-linear-gradient(135deg, #ff404024 0 calc(10px * var(--ui-scale,1)), transparent 0 calc(20px * var(--ui-scale,1)));pointer-events:none;justify-content:center;align-items:flex-end;display:flex;position:absolute;left:0;right:0}.safe-zone.is-bottom{border-top:calc(2px * var(--ui-scale,1)) dashed #ff4040d9;border-bottom:none;align-items:flex-start}.safe-zone span{margin:calc(6px * var(--ui-scale,1));padding:calc(2px * var(--ui-scale,1)) calc(8px * var(--ui-scale,1));border-radius:calc(4px * var(--ui-scale,1));color:#fff;font:600 calc(11px * var(--ui-scale,1)) / 1.3 system-ui, sans-serif;background:#ff4040d9}.stage-format-btn.is-on{color:var(--text)}*{margin:0}#root{min-height:100%}
