body{color:var(--ink);background:radial-gradient(circle at 10% -8%,#ffb59e57,#0000 34%),radial-gradient(circle at 92% 4%,#ddf3e1e6,#0000 28%),linear-gradient(#fffdf8 0%,#fff7ed 44%,#fff1df 100%)}.lasagna-logo{gap:12px}.lasagna-logo-icon{background:radial-gradient(circle at 28% 18%,#ffffffd9,#0000 35%),linear-gradient(#fffdf8 0%,#fff0dd 100%);border-color:#ef5a3538;border-radius:17px;width:48px;height:48px;box-shadow:inset 0 0 0 1px #fffc,0 10px 22px #62371e24}.lasagna-logo-icon svg{width:37px;height:37px}.lasagna-logo-icon path:not(.lasagna-logo-shadow),.lasagna-logo-icon circle{stroke:#3a261d1f;stroke-width:1.15px;stroke-linejoin:round}.lasagna-logo-icon .lasagna-logo-basil,.lasagna-logo-icon circle{stroke:#43865059}.lasagna-logo-shadow{fill:#62371e1f}.lasagna-logo-sauce{fill:#ef5a35}.lasagna-logo-pasta{fill:#ffe4a8}.lasagna-logo-tomato{fill:#ff744f}.lasagna-logo-cream{fill:#fffdf8}.lasagna-logo-basil,.lasagna-logo-icon circle{fill:#5fa66b}.lasagna-logo-text strong{color:var(--ink);text-shadow:none;font-size:20px}.lasagna-logo-text small{color:var(--basil)}.dashboard,.auth-page,.editor-loading,.missing-project{color:var(--ink)}.hero{color:var(--ink);background:radial-gradient(circle at 86% 16%,#ffb59e80,#0000 30%),radial-gradient(circle at 12% 12%,#ddf3e1e0,#0000 28%),linear-gradient(135deg,#fffdf8 0%,#fff7ed 58%,#ffe4a8 100%);border-color:#ef5a352e;box-shadow:0 24px 60px #62371e21}.hero:before,.hero:after{border-color:#ef5a3529}.eyebrow,.hero .eyebrow{color:var(--tomato)}.hero-copy,.auth-brand>p:not(.eyebrow),.checkout-heading p:not(.eyebrow),.checkout-note,.project-card p,.project-card time,.missing-project p{color:var(--muted)}.panel,.auth-card,.project-card,.empty-state,.cleanup-dialog,.checkout-panel{color:var(--ink);border-color:var(--line);background:radial-gradient(circle at 100% 0,#ffe4a847,#0000 38%),linear-gradient(#fffdf8fa,#fff9f0fa);box-shadow:0 18px 38px #62371e1a,inset 0 1px #ffffffd9}label{color:var(--ink)}input,select,textarea,.text-sticker-editor textarea,.text-sticker-editor select,.image-style-editor input[type=number]{color:var(--ink);border-color:var(--line);background:linear-gradient(#fffdf8,#fff9f0);box-shadow:inset 0 1px #ffffffe6,0 1px #62371e08}input::placeholder,textarea::placeholder{color:#7b665bad}input:focus,select:focus,textarea:focus{box-shadow:var(--focus-ring), inset 0 1px 0 #fffffff2;border-color:#ef5a358c}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=button]:focus-visible{box-shadow:var(--focus-ring);outline:none}.button,.editor-account-button{--button-surface:var(--glass-warm);--button-surface-hover:var(--glass-warm-strong);--button-border:var(--glass-border);--button-border-hover:var(--glass-border-strong);--button-text:var(--ink);--button-icon-surface:#ffffff5c;--button-icon-border:#db846a3d;min-height:42px;color:var(--button-text);border:1px solid var(--button-border);border-radius:var(--radius-control);background-color:var(--button-surface);box-shadow:var(--button-depth), inset 0 1px 0 var(--glass-highlight), inset 0 -3px 6px var(--glass-lowlight);isolation:isolate;background-image:linear-gradient(#ffffffeb 0%,#ffffff75 34%,#d8cabb47 100%);justify-content:center;align-items:center;gap:8px;display:inline-flex;position:relative;overflow:hidden}.button:before,.editor-account-button:before{z-index:0;pointer-events:none;content:"";border-radius:inherit;opacity:.88;background:linear-gradient(110deg,#fffffff0,#ffffff57 58%,#0000 72%);height:48%;position:absolute;inset:1px 9px auto;transform:translate(-5%)}.button:after,.editor-account-button:after{z-index:0;pointer-events:none;content:"";border-radius:inherit;opacity:.86;background:linear-gradient(#0000,#97452c1a);height:38%;position:absolute;inset:auto 0 0}.button>*,.editor-account-button>*{z-index:2;position:relative}.button>.button-label{color:inherit;line-height:1.12}.selection-tools button,.page-target-picker button,.spread-order button,.paid-export-list button{min-height:34px;color:var(--ink);background:linear-gradient(#ffffffc7,#fff4eb80),#fffdf8ad;border:1px solid #d8bca8b8;border-radius:10px;justify-content:center;align-items:center;gap:6px;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 4px 10px #62371e12,inset 0 1px #ffffffd1}.button-icon{width:22px;height:22px;color:var(--tomato);border:1px solid var(--button-icon-border);background:radial-gradient(circle at 30% 20%, #ffffffd1, transparent 45%), var(--button-icon-surface);border-radius:999px;flex:none;place-items:center;font-size:12px;font-weight:900;line-height:1;display:inline-grid}.button:hover:not(:disabled),.editor-account-button:hover{color:var(--button-text);border-color:var(--button-border-hover);background-color:var(--button-surface-hover);box-shadow:var(--button-depth-hover), inset 0 1px 0 #fffffff5, inset 0 -2px 5px #ac4d341f;background-image:linear-gradient(#fffffff5 0%,#ffffff85 38%,#decfc057 100%);transform:translateY(-1px)}.button:hover:not(:disabled):before,.editor-account-button:hover:before{opacity:.95;transform:translate(6%)}.selection-tools button:hover:not(:disabled),.page-target-picker button:hover:not(:disabled),.spread-order button:hover,.paid-export-list button:hover{color:var(--ink);background:radial-gradient(circle at 28% 15%,#ffffffd1,#0000 36%),#ffdccf9e;border-color:#db846a57}.button:active:not(:disabled),.editor-account-button:active{box-shadow:var(--button-depth-pressed);transform:translateY(1px)scale(1.018,.965)}.button:active:not(:disabled):before,.editor-account-button:active:before{opacity:.92;transform:translate(18%)scaleX(1.08)}.button:disabled,.selection-tools button:disabled,.page-target-picker button:disabled{color:#7b665b75;box-shadow:none;opacity:1;background:linear-gradient(#fffdf899,#fff9f08a);border-color:#e8d8c8c7}.button:disabled .button-icon{color:#7b665b66;background:#e8d8c842;border-color:#e8d8c8b3}.button.primary{--button-surface:linear-gradient(180deg, #ff9b78 0%, #ef5a35 100%);--button-surface-hover:linear-gradient(180deg, #ffab8c 0%, #f16443 100%);--button-border:#cd492a8f;--button-border-hover:#b23d22ad;--button-text:#fffdf8;--button-icon-surface:#ffffff2e;--button-icon-border:#ffffff5c;color:var(--button-text);border-color:var(--button-border);background-color:#ef5a35;background-image:linear-gradient(#ffffff57 0%,#ffffff29 38%,#a5361a2e 100%);box-shadow:0 10px 22px #ef5a353d,inset 0 1px #ffffff75,inset 0 -2px 5px #8f2c1429}.button.primary .button-icon{color:#fffdf8;background:#ffffff29;border-color:#ffffff57}.button.primary:hover:not(:disabled){border-color:var(--button-border-hover);background-color:#f16443;background-image:linear-gradient(#ffffff6b 0%,#ffffff2e 38%,#a5361a33 100%);box-shadow:0 14px 28px #ef5a3547,inset 0 1px #ffffff85,inset 0 -2px 5px #8f2c142e}.button.secondary{--button-surface:var(--glass-secondary);--button-surface-hover:var(--glass-warm);--button-border:var(--border-control);--button-border-hover:#ef5a3557;--button-text:var(--ink);color:var(--button-text);border-color:var(--button-border);background-color:var(--button-surface);background-image:linear-gradient(#ffffffeb 0%,#ffffff75 34%,#d8cabb3d 100%)}.button.secondary .button-icon{color:var(--tomato);background:#ffb59e33;border-color:#ef5a352e}.button.ghost{--button-surface:#fffdf894;--button-surface-hover:#ffe8dc9e;--button-border:#dcbeaa9e;--button-border-hover:#db846a57;--button-text:var(--ink);color:var(--button-text);border-color:var(--button-border);background-color:var(--button-surface);background-image:linear-gradient(#ffffffe6 0%,#ffffff6b 36%,#ffc6b033 100%)}.button.success{--button-surface:#e0f5e3d1;--button-surface-hover:#cfefd4e6;--button-border:#55915f52;--button-border-hover:#48805275;--button-text:#244b2c;color:var(--button-text);border-color:var(--button-border);background-color:var(--button-surface);background-image:linear-gradient(#ffffffe6 0%,#ffffff6b 36%,#74b07c29 100%)}.button.warning{--button-surface:#fff1c7c7;--button-surface-hover:#ffe5aae0;--button-border:#c48f2c52;--button-border-hover:#a6741c75;--button-text:#6b4700;color:var(--button-text);border-color:var(--button-border);background-color:var(--button-surface);background-image:linear-gradient(#ffffffe6 0%,#ffffff6b 36%,#f0bf572e 100%)}.button.danger{--button-surface:var(--glass-danger);--button-surface-hover:#ffb8a6b8;--button-border:#cd492a4d;--button-border-hover:#b93a1f75;--button-text:#8f220f;color:var(--button-text);border-color:var(--button-border);background-color:var(--button-surface);background-image:linear-gradient(#ffffffe6 0%,#ffffff6b 36%,#d842222e 100%)}.text-button{color:var(--tomato)}.text-button:hover{color:var(--tomato-active)}.count-badge{color:#fffdf8;background:linear-gradient(#ff744f,#ef5a35)}.project-card{background:radial-gradient(circle at 100% 0,#ddf3e18c,#0000 36%),linear-gradient(#fffdf8,#fff9f0)}.project-card:hover{background:linear-gradient(#fffefa,#fff1e5);border-color:#ef5a3547}.project-card-main a{color:inherit;text-decoration:none;display:block}.project-card-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.project-card-actions .button{border-radius:999px;min-height:34px;padding:0 12px;font-size:11px}.project-card-actions .button.danger{color:#8f220f;background:linear-gradient(#fff5ec,#ffe1d1);border-color:#ef5a353d}.project-card-actions .button.danger:hover:not(:disabled){color:#fffdf8;background:linear-gradient(#ff744f,#d84222);border-color:#d8422273}.project-action-backdrop{z-index:45;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#3a261d57;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.project-action-dialog{gap:16px;width:min(440px,94vw);padding:24px;display:grid}.project-action-dialog label{color:var(--ink);gap:8px;font-size:12px;font-weight:800;display:grid}.project-delete-options{border:0;gap:8px;padding:0;display:grid}.project-delete-options legend{color:var(--ink);margin-bottom:2px;font-size:12px;font-weight:800}.project-action-dialog .project-delete-options label{color:var(--muted);align-items:center;gap:8px;font-weight:700;display:flex}.project-action-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.book-mark,.editor-account-button span{background:linear-gradient(#ff744f,#ef5a35)}.auth-page{color:var(--editor-text);background:radial-gradient(circle at 12% 8%, #ff6f6124, transparent 34%), radial-gradient(circle at 92% 10%, color-mix(in srgb, var(--editor-teal) 12%, transparent), transparent 30%), transparent}.auth-brand h1,.auth-page .lasagna-logo-text strong{color:#fffdf8}.auth-page .lasagna-logo-text small{color:#7ee0d6}.auth-brand>p:not(.eyebrow),.auth-card .section-heading .muted{color:var(--editor-text-muted)}.auth-card{color:var(--editor-text);background:radial-gradient(circle at 12% 0, #ff6f6124, transparent 34%), radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--editor-teal) 12%, transparent), transparent 32%), linear-gradient(180deg, #1f2c3ce6, #101822e0);-webkit-backdrop-filter:blur(24px)saturate(1.32);backdrop-filter:blur(24px)saturate(1.32);border-color:#ffffff2e;box-shadow:0 24px 58px #00000057,inset 0 1px #ffffff2e}.auth-page label,.auth-page .legal-checkbox{color:var(--editor-text)}.auth-page input,.auth-page select,.auth-page textarea{color:var(--ink);background:linear-gradient(#fffffff0,#f6f2ecdb),#ffffffd6;border-color:#fff3;box-shadow:inset 0 1px #ffffffe6,0 8px 18px #00000029}.auth-page input:focus,.auth-page select:focus,.auth-page textarea:focus{border-color:#ff8a3d9e;box-shadow:0 0 0 3px #ff6f612e,inset 0 1px #fffffff0}.auth-page .text-button{color:#ffab8c}.editor-shell{background:radial-gradient(circle at 18% -12%, #ff6f6133, transparent 30%), radial-gradient(circle at 88% 2%, color-mix(in srgb, var(--editor-teal) 16%, transparent), transparent 28%), radial-gradient(circle at 54% 34%, #ff8a3d24, transparent 36%), linear-gradient(180deg, var(--editor-night) 0%, var(--editor-night-2) 58%, #0c131c 100%)}.editor-topbar{color:var(--editor-text);background:radial-gradient(circle at 12% 0, #ff6f612e, transparent 32%), radial-gradient(circle at 94% 0, color-mix(in srgb, var(--editor-teal) 12%, transparent), transparent 28%), linear-gradient(180deg, #1c2735f2 0%, #101822eb 100%);box-shadow:var(--editor-shadow-soft), inset 0 1px 0 #ffffff29, inset 0 -1px 0 #00000052;-webkit-backdrop-filter:blur(22px)saturate(145%);backdrop-filter:blur(22px)saturate(145%);border-bottom-color:#ffffff29;grid-template-columns:minmax(180px,250px) minmax(0,1fr);align-items:center}.topbar-actions{flex-wrap:nowrap;align-items:center;overflow-x:auto}.topbar-actions>.button,.topbar-history-controls>.button,.topbar-menu>.button,.editor-account-button{--button-surface:#ffffff1c;--button-surface-hover:#ffffff2e;--button-border:#ffffff2e;--button-border-hover:#ff8a3d8c;--button-text:var(--editor-text);height:38px;color:var(--button-text);border-color:var(--button-border);background:linear-gradient(180deg, #ffffff61 0%, #ffffff1c 42%, #ff6f6114 100%), var(--button-surface);align-self:center;line-height:1;box-shadow:0 8px 18px #00000038,inset 0 1px #ffffff52,inset 0 -2px 4px #0000002e}.topbar-actions>.button,.topbar-history-controls>.button,.topbar-menu>.button{min-height:38px}.topbar-actions>.button:hover:not(:disabled),.topbar-history-controls>.button:hover:not(:disabled),.topbar-menu>.button:hover:not(:disabled),.editor-account-button:hover{--button-text:#fffaf4;color:var(--button-text);border-color:var(--button-border-hover);background:linear-gradient(180deg, #ffffff80 0%, #ffffff29 42%, #ff8a3d2e 100%), var(--button-surface-hover);box-shadow:0 10px 22px #00000042,0 0 0 1px #ff8a3d1a,0 0 18px #ff6f6129,inset 0 1px #ffffff61,inset 0 -2px 4px #0003}.topbar-actions>.button.primary,.topbar-history-controls>.button.primary,.topbar-menu>.button.primary{--button-text:#fff;color:var(--button-text);background:radial-gradient(circle at 24% 8%, #ffffff8c, transparent 34%), linear-gradient(135deg, var(--editor-orange), var(--editor-coral) 58%, var(--editor-pink));border-color:#ff9f61b8;box-shadow:0 12px 28px #ff6f6152,0 0 24px #ff5ea829,inset 0 1px #ffffff70,inset 0 -3px 6px #69151f3d}.topbar-actions>.button.primary:hover:not(:disabled),.topbar-history-controls>.button.primary:hover:not(:disabled),.topbar-menu>.button.primary:hover:not(:disabled){--button-text:#fffdf8;color:var(--button-text);background:radial-gradient(circle at 24% 8%,#ffffff9e,#0000 34%),linear-gradient(135deg,#ff9d45,#ff6f61 58%,#ff5ea8);border-color:#cd492a6b}.brand-lockup>a{background:0 0}.brand-lockup .lasagna-logo-icon{width:46px;height:46px}.brand-lockup strong,.workspace-toolbar strong,.rail-heading,.checkout-options strong,.checkout-line strong,.sticker-drawer-header h2,.book-preview-header h2,.book-preview-nav strong,.book-preview-sheet-title strong,.section-heading h2{color:var(--ink)}.brand-lockup span,.workspace-toolbar span,.rail-heading small,.paid-export-list small,.checkout-options span,.book-preview-header span,.book-preview-nav small,.book-preview-sheet-title span,.book-preview-page-labels span{color:var(--muted)}.editor-body{background:radial-gradient(circle at 52% 18%, #fff6e238, transparent 35%), radial-gradient(circle at 14% 64%, #ff5ea81a, transparent 28%), radial-gradient(circle at 92% 28%, color-mix(in srgb, var(--editor-teal) 12%, transparent), transparent 26%), linear-gradient(180deg, var(--editor-night-2), #0f1823)}.left-rail,.right-rail{color:var(--editor-text);-webkit-backdrop-filter:blur(22px)saturate(145%);backdrop-filter:blur(22px)saturate(145%);background:radial-gradient(circle at 50% 0,#ffffff1a,#0000 30%),linear-gradient(#1e2b3ad1 0%,#111924c7 100%);box-shadow:inset 0 1px #ffffff29,0 14px 34px #00000047}.left-rail{border-right-color:var(--editor-panel-border)}.right-rail{border-left-color:var(--editor-panel-border)}.rail-section,.collapsible-panel,.left-rail .rail-section,.license-module,.preflight-card,.missing-assets{-webkit-backdrop-filter:blur(14px)saturate(1.12);backdrop-filter:blur(14px)saturate(1.12);background:radial-gradient(circle at 18% 0,#ffffffd1,#0000 30%),linear-gradient(#fffdf8f0,#f2ede5e0);border-color:#ffffff29;box-shadow:0 10px 24px #0003,inset 0 1px #fffffff0}.creative-tools-panel{color:var(--editor-text);background:radial-gradient(circle at 18% 0, #ff8a3d21, transparent 30%), radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--editor-teal) 10%, transparent), transparent 28%), linear-gradient(180deg, #1e2b3adb 0%, #101822cc 100%);box-shadow:var(--editor-shadow-soft), inset 0 1px 0 #ffffff29;-webkit-backdrop-filter:blur(24px)saturate(1.35);backdrop-filter:blur(24px)saturate(1.35);border-color:#ffffff2e}.left-rail .rail-section,.left-rail .collapsible-panel,.right-rail .collapsible-panel{border-color:#ffffff2e}.collapsible-heading{color:var(--ink);background:radial-gradient(circle at 14% 0,#fffc,#0000 32%),linear-gradient(#fffefaf5,#efebe4d1);border-bottom:1px solid #212a341f}.collapsible-heading:after{content:"";background:#ef5a355c;border-radius:999px;width:6px;height:6px;margin-left:auto;display:inline-block;box-shadow:0 0 0 4px #ef5a3514}.collapsible-heading:hover{background:linear-gradient(#fffefaf5,#faf6f0db)}.collapsible-heading i{color:var(--tomato)}.left-rail .collapsible-heading{background:radial-gradient(circle at 16% 0,#ff8a3d29,#0000 34%),linear-gradient(#fffbf5f7,#eee5dae6);border-bottom-color:#5e4b3929}.right-rail .collapsible-heading{background:radial-gradient(circle at 16% 0, color-mix(in srgb, var(--editor-teal) 16%, transparent), transparent 34%), linear-gradient(180deg, #fafffbf7, #e1ece4e6);border-bottom-color:#3e5b4b29}.left-rail .collapsible-heading i{color:#b76843}.right-rail .collapsible-heading i{color:var(--hierarchy-secondary)}.left-rail .collapsible-heading:hover,.right-rail .collapsible-heading:hover{background:linear-gradient(#fffefaf5,#faf6f0db)}.workspace-toolbar{-webkit-backdrop-filter:blur(18px)saturate(1.22);backdrop-filter:blur(18px)saturate(1.22);background:#121b27c7;border-bottom-color:#38434733;box-shadow:0 9px 20px #00000038}.selection-tools button{color:#4b5558;min-height:34px;box-shadow:none;background:0 0}.selection-tools button:hover:not(:disabled){color:#243033;background:#5f8f7829}.book-preview-workspace{background-color:#f7eadc;background-image:radial-gradient(circle at 50% 16%,#ffe4a857,#0000 42%),linear-gradient(#fffdf857,#f2dfc861)}.canvas-loading,.photo-empty{color:var(--muted);border-color:var(--line);background:#fffdf8bf}.spread-list>button{color:var(--muted)}.spread-list>button:hover{color:var(--ink);background:#ffb59e29}.spread-list>button.active{color:var(--ink);background:linear-gradient(#ffb59e42,#ddf3e16b);border-color:#ef5a3561}.spread-mini,.book-sheet-mini{background:#fffdf8;border-color:#62371e2e;box-shadow:0 3px 8px #62371e17}.spread-mini i,.book-sheet-mini i{border-color:#62371e24}.spread-mini i.content,.book-sheet-mini i{background:linear-gradient(135deg,#fffdf8 0%,#ffe4a8 100%)}.spread-mini i.blank,.book-sheet-mini i.blank{background:#fffdf8}.photo-actions .button,.stacked-actions .button{--button-surface:#141e2ad6;--button-surface-hover:#1b2938f0;--button-border:color-mix(in srgb, var(--editor-teal) 22%, transparent);--button-border-hover:color-mix(in srgb, var(--editor-teal) 46%, transparent);--button-text:#fff7ed;min-height:40px;color:var(--button-text);white-space:normal;box-shadow:0 8px 18px #0000002e, 0 0 16px color-mix(in srgb, var(--editor-teal) 8%, transparent), inset 0 1px 0 #ffffff38, inset 0 -2px 4px #0000002e;justify-content:center;padding:6px 7px;font-size:9.5px;line-height:1.08}.background-grid .background-card-main,.sticker-library button:not(.sticker-favorite-button),.sticker-variants button,.text-sticker-button,.image-background-button{color:var(--ink);border-color:var(--border-card);background:linear-gradient(180deg, var(--surface-card), var(--surface-card-muted));box-shadow:inset 0 1px #ffffffd9,0 6px 14px #62371e14}.background-grid .background-card-main:hover,.background-card.selected .background-card-main,.sticker-library button:not(.sticker-favorite-button):hover,.sticker-library button:not(.sticker-favorite-button).selected,.sticker-variants button:hover,.text-sticker-button:hover,.image-background-button:hover{background:linear-gradient(#fff,#edf5f0);border-color:#5f8f787a}.background-thumbnail{border-color:#62371e1f;box-shadow:inset 0 0 0 1px #ffffff7a,0 4px 12px #62371e1a}.sticker-preview{background:#ffe4a838}.license-module.licensed{color:#244b2c;background:linear-gradient(#effaf1,#ddf3e1);border-color:#5fa66b47}.license-module.modified,.managed-copy-banner,.image-assistant-card.needs-attention{color:#6b4700;background:linear-gradient(#fff8df,#fff1c7);border-color:#f0bf5757}.image-assistant-card{color:var(--ink);border-color:var(--line);background:linear-gradient(#fffdf8,#fff9f0)}.image-assistant-card p,.image-assistant-summary span,.rail-hint{color:var(--muted)}.image-assistant-card strong{color:var(--ink)}.image-assistant-heading span,.paid-export-list em{color:#fffdf8;background:linear-gradient(#ff744f,#ef5a35)}.image-assistant-summary span,.cleanup-list li{border-color:var(--line);background:#fffdf8c2}.image-assistant-missing summary,.image-assistant-missing p,.missing-assets{color:#8b5c00}.image-assistant-missing li{color:#714700;background:#fff1c7b8;border-color:#f0bf5757}.virtual-gallery{border-radius:14px}.gallery-item{color:var(--muted);background:#fffdf8;border-color:#e8d8c8e6;box-shadow:0 8px 18px #62371e1a}.gallery-item.selected{border-color:var(--tomato)}.gallery-item.missing{border-color:#f0bf57b8}.gallery-item span,.gallery-item small,.gallery-item em{color:var(--muted)}.gallery-item .missing-thumbnail{color:#8b5c00;background:repeating-linear-gradient(-45deg,#ffe4a885,#ffe4a885 8px,#ffb59e52 8px 16px),#fff9f0}.gallery-unload{color:var(--red);background:#fffdf8f2;border-color:#d8422240}.gallery-unload:hover{color:#fffdf8;border-color:var(--red);background:var(--red)}.checkout-summary{border:1px solid var(--line);background:#fffdf8c7}.cleanup-backdrop,.checkout-backdrop,.sticker-drawer-backdrop,.book-preview-backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#3a261d47}.sticker-drawer,.book-preview-modal{color:var(--ink);border-color:var(--line);background:radial-gradient(circle at 92% 0,#ffb59e3d,#0000 32%),linear-gradient(#fffdf8 0%,#fff7ed 100%);box-shadow:0 30px 90px #62371e2e,inset 0 1px #ffffffe0}.book-preview-header,.book-preview-sheet-title,.book-preview-page-labels{border-color:var(--line);background:linear-gradient(#fffdf8,#fff9f0)}.book-preview-nav{border-right-color:var(--line);background:#fff7ed}.book-preview-nav button{align-items:center;justify-content:initial;color:var(--ink);text-align:left;border-color:var(--line);background:#fffdf8;grid-template-columns:58px minmax(0,1fr);display:grid;box-shadow:0 6px 14px #62371e14}.checkout-options button{align-items:start;justify-content:initial;color:var(--ink);text-align:left;border-color:var(--line);background:#fffdf8;display:grid;box-shadow:0 6px 14px #62371e14}.book-preview-nav button:hover,.checkout-options button:hover{color:var(--ink);background:#fff8ee;border-color:#ef5a3547;box-shadow:0 8px 18px #62371e1a}.checkout-line,.checkout-total{border-top-color:var(--line)}.checkout-line>span,.checkout-total strong{color:var(--tomato)}@media (max-width:1200px){.editor-topbar{grid-template-columns:minmax(160px,220px) minmax(0,1fr);padding-inline:12px}.topbar-actions{gap:6px}.topbar-actions>.button,.topbar-history-controls>.button,.topbar-menu>.button{padding-inline:8px;font-size:9.5px}.topbar-actions>.button .button-icon,.topbar-history-controls>.button .button-icon,.topbar-menu>.button .button-icon{width:20px;height:20px}}@media (max-width:900px){.editor-topbar{grid-template-columns:minmax(145px,32vw) minmax(0,1fr);padding:8px 10px}.topbar-actions{justify-content:flex-start;width:auto;overflow-x:auto}.brand-lockup{flex:0 auto}.brand-lockup>a,.brand-lockup .lasagna-logo-icon{width:40px;height:40px}}@media (max-width:640px){.editor-topbar{grid-template-columns:minmax(120px,36vw) minmax(0,1fr);gap:8px}.brand-lockup{flex-basis:auto}.brand-lockup strong{font-size:12px}.brand-lockup span{font-size:9px}.topbar-actions>.button,.topbar-history-controls>.button,.topbar-menu>.button,.editor-account-button{flex:none;height:36px;min-height:36px}}@media (hover:none){.button,.editor-account-button{min-height:48px}.photo-actions .button{min-height:42px}.topbar-actions>.button,.topbar-history-controls>.button,.topbar-menu>.button,.editor-account-button{height:40px;min-height:40px}}
body:has(.editor-shell){overscroll-behavior:none;background:#070b12;overflow:hidden}:is(body:has(.editor-shell) .legal-footer,body:has(.editor-shell) .app-version-badge){display:none}.editor-shell{--editor-topbar-height:62px;--editor-left-rail-width:220px;--editor-right-rail-width:250px;--editor-top-panel-height:238px;--editor-bottom-panel-height:46px;--editor-very-bottom-height:86px;--editor-gap:0px;--editor-pad:8px;--editor-control-height:30px;--editor-radius:8px;--editor-bg:#090f18;--editor-bg-2:#101722;--editor-surface:#121c28;--editor-surface-2:#172231;--editor-surface-3:#202c3b;--editor-raised:#243141;--editor-border:#bccbdc2e;--editor-border-strong:#d9e2ec52;--editor-text:#f7f3ea;--editor-text-soft:#d4deea;--editor-text-muted:#93a3b5;--editor-danger:#ff6b73;--editor-success:#4fd18b;--editor-control-bg:#fff1;--editor-control-bg-hover:color-mix(in srgb, var(--editor-teal) 10.5%, transparent);--editor-active-fg:#061115;--editor-active-bg:var(--editor-teal);--editor-focus:0 0 0 2px color-mix(in srgb, var(--editor-teal) 45%, transparent);--editor-shadow:0 16px 34px #0000004d;--editor-shadow-soft:0 10px 22px #00000038;grid-template-rows:var(--editor-topbar-height) minmax(0, 1fr);min-width:0;min-height:0;color:var(--editor-text);background:radial-gradient(circle at 14% 0, color-mix(in srgb, var(--editor-teal) 14%, transparent), transparent 30%), radial-gradient(circle at 86% 8%, color-mix(in srgb, var(--editor-teal) 15%, transparent), transparent 28%), linear-gradient(180deg, #0b111b 0%, #0e1622 52%, #070b12 100%);font-size:12px;display:grid;overflow:visible}.editor-shell *,.editor-shell :before,.editor-shell :after{box-sizing:border-box;letter-spacing:0}.editor-shell a{color:inherit}.editor-shell button,.editor-shell input,.editor-shell select,.editor-shell textarea{font:inherit}.editor-shell button{touch-action:manipulation}.editor-shell :is(button,a,input,select,textarea,summary):focus-visible{box-shadow:var(--editor-focus);outline:none}.editor-shell input:not([type=file]),.editor-shell select,.editor-shell textarea{height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text);border:1px solid var(--editor-border);background:linear-gradient(180deg, #ffffff14, #ffffff08), var(--editor-surface);border-radius:7px;box-shadow:inset 0 1px #ffffff14}.editor-shell input:not([type=file]):disabled,.editor-shell select:disabled,.editor-shell textarea:disabled{color:#f7f3ea73;background:#ffffff0a;border-color:#bccbdc1a}.editor-shell select{appearance:none;line-height:calc(var(--editor-control-height) - 2px);background:url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%2393a3b5' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E") right 9px center / 12px 12px no-repeat, linear-gradient(180deg, #ffffff14, #ffffff08), var(--editor-surface);padding:0 27px 0 9px}.editor-shell textarea{resize:none;line-height:1.2}.editor-shell input[type=color]{width:34px;min-width:34px;height:var(--editor-control-height);padding:2px}.editor-shell input[type=range]{height:28px;min-height:28px;box-shadow:none;accent-color:var(--editor-teal);cursor:pointer;touch-action:pan-y;appearance:none;background:0 0;border:0;padding:0 2px}.editor-shell input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg, color-mix(in srgb, var(--editor-teal) 72%, transparent), color-mix(in srgb, var(--editor-teal) 82%, transparent)), #ffffff1f;border-radius:999px;height:5px;box-shadow:inset 0 1px 1px #00000047}.editor-shell input[type=range]::-webkit-slider-thumb{background:linear-gradient(180deg, #fff, color-mix(in srgb, var(--editor-teal) 14%, #fff)), var(--editor-teal);width:18px;height:18px;box-shadow:0 4px 10px #00000047, 0 0 0 1px color-mix(in srgb, var(--editor-teal) 50%, transparent);appearance:none;border:2px solid #ffffffeb;border-radius:999px;margin-top:-6.5px}.editor-shell input[type=range]::-moz-range-track{background:#ffffff1f;border-radius:999px;height:5px;box-shadow:inset 0 1px 1px #00000047}.editor-shell input[type=range]::-moz-range-progress{background:linear-gradient(90deg, color-mix(in srgb, var(--editor-teal) 72%, transparent), color-mix(in srgb, var(--editor-teal) 82%, transparent));border-radius:999px;height:5px}.editor-shell input[type=range]::-moz-range-thumb{background:linear-gradient(180deg, #fff, color-mix(in srgb, var(--editor-teal) 14%, #fff)), var(--editor-teal);width:16px;height:16px;box-shadow:0 4px 10px #00000047, 0 0 0 1px color-mix(in srgb, var(--editor-teal) 50%, transparent);border:2px solid #ffffffeb;border-radius:999px}.editor-shell input[type=range]:hover:not(:disabled)::-webkit-slider-thumb{box-shadow:0 5px 12px #00000052, 0 0 0 3px color-mix(in srgb, var(--editor-teal) 22%, transparent)}.editor-shell input[type=range]:active:not(:disabled)::-webkit-slider-thumb{transform:scale(1.08)}.editor-shell input[type=range]:disabled{cursor:not-allowed;opacity:.42}.editor-shell input[type=checkbox]{width:15px;height:15px;accent-color:var(--editor-teal)}.editor-shell .button,.editor-account-button,.link-button{--button-bg:#ffffff14;--button-border:var(--editor-border);--button-color:var(--editor-text);min-width:0;height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--button-color);border:1px solid var(--button-border);border-radius:var(--editor-radius);background:linear-gradient(180deg, #ffffff1f, #ffffff0a), var(--button-bg);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:10px;font-weight:780;line-height:1.1;text-decoration:none;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 6px 14px #00000038,inset 0 1px #ffffff1f}.editor-shell .button:before,.editor-shell .button:after,.editor-account-button:before,.editor-account-button:after,.link-button:before,.link-button:after{display:none}.editor-shell .button:hover:not(:disabled),.editor-account-button:hover,.link-button:hover{--button-border:color-mix(in srgb, var(--editor-teal) 40%, transparent);color:#fff;background:linear-gradient(180deg, #ffffff2b, #ffffff0f), color-mix(in srgb, var(--editor-teal) 10%, transparent)}.editor-shell .button:disabled,.editor-shell button:disabled{cursor:not-allowed;opacity:.46;transform:none}.editor-shell .button.primary,.editor-shell .button.secondary{--button-border:var(--editor-border);--button-bg:var(--editor-control-bg)}.editor-shell .button.primary{--button-border:color-mix(in srgb, var(--editor-teal) 50%, transparent);--button-bg:color-mix(in srgb, var(--editor-teal) 18%, transparent);color:color-mix(in srgb, var(--editor-teal) 10%, #fff);background:linear-gradient(180deg, color-mix(in srgb, var(--editor-teal) 32%, transparent), color-mix(in srgb, var(--editor-teal) 12%, transparent)), var(--button-bg);box-shadow:0 10px 22px color-mix(in srgb, var(--editor-teal) 14%, transparent), inset 0 1px 0 #fff3}.editor-shell .button.ghost{--button-bg:#ffffff0e}.editor-shell .button.danger,.editor-shell .danger-action{--button-border:#ff6b736b;--button-bg:#ff6b731f;color:#ffd6da}.button.grow{width:100%}.button-icon{color:currentColor;background:#ffffff14;border:1px solid #ffffff1f;border-radius:6px;flex:0 0 18px;place-items:center;width:18px;height:18px;font-size:10px;font-weight:850;line-height:1;display:inline-grid}.text-button,.danger-text{color:var(--editor-teal);cursor:pointer;background:0 0;border:0;font-size:10px;font-weight:800}.danger-text{color:var(--editor-danger)}.editor-topbar{z-index:250;border-bottom:1px solid var(--editor-border);background:linear-gradient(180deg, #182230fa, #0c121bfa), var(--editor-bg);min-height:0;box-shadow:var(--editor-shadow-soft), inset 0 1px 0 #ffffff14;grid-row:1;padding:8px 12px;display:block;position:relative;overflow:visible}.brand-lockup,.topbar-actions,.topbar-left,.topbar-center,.topbar-right,.topbar-menu-group,.topbar-history-controls{align-items:center;min-width:0;display:flex}.topbar-actions{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;width:100%;height:100%;display:grid;overflow:visible}.topbar-left{justify-content:flex-start;gap:8px;overflow:hidden}.topbar-center{justify-content:center;gap:7px}.topbar-right{justify-content:flex-end;gap:8px;overflow:visible}.brand-lockup{flex:0 250px;gap:8px;max-width:250px}.brand-lockup>a{border-radius:var(--editor-radius);background:#ffffff0a;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.brand-lockup .lasagna-logo-icon{width:34px;height:34px}.brand-lockup>div{gap:2px;min-width:0;display:grid}.brand-lockup strong{color:var(--editor-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850;overflow:hidden}.brand-lockup span{color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.25;overflow:hidden}.brand-lockup>a.project-return-logo-link{width:auto;min-width:112px;height:44px;color:var(--editor-text);background:radial-gradient(circle at 30% 12%,#fff3,#0000 36%),#ffffff12;border:1px solid #ffffff29;border-radius:16px;flex:none;justify-content:flex-start;align-items:center;gap:7px;padding:5px 10px 5px 5px;text-decoration:none;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:inset 0 1px #ffffff2e,0 10px 22px #00000024}.brand-lockup>a.project-return-logo-link:hover{border-color:color-mix(in srgb, var(--editor-teal) 36%, transparent);box-shadow:inset 0 1px 0 #ffffff38, 0 0 22px color-mix(in srgb, var(--editor-teal) 12%, transparent), 0 12px 26px #0000002e;background:radial-gradient(circle at 30% 12%,#ffffff42,#0000 36%),#ffffff1a;transform:translateY(-1px)}.brand-lockup>a.project-return-logo-link .lasagna-logo{flex:none;gap:0}.brand-lockup>a.project-return-logo-link .lasagna-logo-icon{width:38px;height:38px}.brand-lockup>a.project-return-logo-link .lasagna-logo-icon svg{width:29px;height:29px}.brand-lockup>a.project-return-logo-link>span{min-height:22px;color:var(--editor-text-muted);white-space:nowrap;align-items:center;padding:0 3px 0 0;font-size:10px;font-weight:900;line-height:1;display:inline-flex}.brand-lockup>a.project-return-logo-link:hover>span{color:#fffdf8}.topbar-menu-group{position:relative}.topbar-history-controls{gap:5px}.topbar-browser-storage-menu{flex:none;position:relative}.topbar-browser-storage-trigger{text-align:left;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;gap:2px;width:132px;min-width:132px;padding-inline:10px;display:grid}.topbar-browser-storage-trigger span,.topbar-browser-storage-trigger strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1;overflow:hidden}.topbar-browser-storage-trigger span{color:var(--editor-text-muted);font-size:8.8px;font-weight:850}.topbar-browser-storage-trigger strong{color:var(--editor-text);font-size:9.2px;font-weight:920}.topbar-icon-command{width:36px;min-width:36px;padding:0}.topbar-command-icon{width:16px;height:16px;color:var(--topbar-icon-accent,currentColor);flex:0 0 16px}.topbar-history-controls-inline .topbar-icon-command{background:linear-gradient(#ffffff24,#ffffff0b),#111b28db;border-color:#dee8f04d;width:48px;min-width:48px}.topbar-history-controls-inline .topbar-command-icon{flex-basis:20px;width:20px;height:20px}.topbar-menu{flex:none;position:relative}.topbar-menu-button{width:auto;min-width:74px}.editor-topbar .topbar-center>.button,.editor-topbar .topbar-right>.button,.editor-topbar .topbar-history-controls>.button,.editor-topbar .topbar-menu>.button,.editor-topbar .editor-account-button{border-radius:999px;flex:none;height:36px;min-height:36px;padding:0 10px;font-size:9.5px;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s,color .16s}.editor-topbar .topbar-center>.button:not(.quick-build-trigger),.editor-topbar .topbar-right>.button:not(.pdf-purchase-control),.editor-topbar .topbar-history-controls>.button,.editor-topbar .topbar-menu>.button:not(.quick-build-trigger),.editor-topbar .editor-account-button{color:#f7f3eae6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#ffffff1c,#ffffff09),#0c131ebd;border-color:#d9e2ec3d;box-shadow:0 10px 20px #00000038,inset 0 1px #ffffff21}.editor-topbar .topbar-center>.button:not(.quick-build-trigger):hover:not(:disabled),.editor-topbar .topbar-right>.button:not(.pdf-purchase-control):hover:not(:disabled),.editor-topbar .topbar-history-controls>.button:hover:not(:disabled),.editor-topbar .topbar-menu>.button:not(.quick-build-trigger):hover:not(:disabled),.editor-topbar .editor-account-button:hover:not(:disabled){color:#fff;box-shadow:0 12px 24px #00000047, 0 0 0 1px color-mix(in srgb, var(--editor-teal) 6%, transparent), inset 0 1px 0 #ffffff2e;background:linear-gradient(#ffffff29,#ffffff0e),#141f2de0;border-color:#ffffff61;transform:translateY(-1px)}.editor-topbar .topbar-center>.button:not(.quick-build-trigger):active:not(:disabled),.editor-topbar .topbar-right>.button:not(.pdf-purchase-control):active:not(:disabled),.editor-topbar .topbar-history-controls>.button:active:not(:disabled),.editor-topbar .topbar-menu>.button:not(.quick-build-trigger):active:not(:disabled),.editor-topbar .editor-account-button:active:not(:disabled){transform:translateY(1px)scale(.985);box-shadow:0 6px 14px #00000038,inset 0 1px #ffffff1a}.quick-build-trigger{min-width:174px}@keyframes topbar-premium-sheen{0%,34%{opacity:0;transform:translate(-120%)rotate(11deg)}45%{opacity:.58}62%,to{opacity:0;transform:translate(118%)rotate(11deg)}}@keyframes topbar-premium-glint{0%,to{opacity:.58;transform:translateY(0)scale(.96)}50%{opacity:.9;transform:translateY(-1px)scale(1.04)}}.editor-topbar .topbar-menu>.quick-build-trigger,.editor-topbar .topbar-right>.pdf-purchase-control{color:#fffdf8;text-shadow:0 1px 1px #450e2357;isolation:isolate;background:radial-gradient(circle at 18% 12%,#ffffff9e,#0000 31%),linear-gradient(115deg,#ff4fb2 0%,#ff6679 47%,#ff9b38 100%);border-color:#ffffffd1;border-radius:999px;box-shadow:0 16px 32px #ff59914d,0 0 24px #ff933838,0 0 0 1px #ffffff1c,inset 0 1px #ffffff8a,inset 0 -4px 8px #7614373d}.editor-topbar .topbar-menu>.quick-build-trigger{justify-content:flex-start;gap:9px;height:44px;min-height:44px;padding:0 18px 0 14px}.editor-topbar .topbar-right>.pdf-purchase-control{flex-basis:236px;width:236px;height:42px;min-height:42px;padding:0 14px}.editor-topbar .topbar-menu>.quick-build-trigger:before,.editor-topbar .topbar-right>.pdf-purchase-control:before{content:"";z-index:0;pointer-events:none;mix-blend-mode:screen;background:linear-gradient(105deg,#0000 38%,#ffffff8a 50%,#0000 62%);animation:5.2s ease-in-out infinite topbar-premium-sheen;display:block;position:absolute;inset:-65% -38%}.editor-topbar .topbar-menu>.quick-build-trigger:after{content:"";z-index:1;pointer-events:none;filter:drop-shadow(0 0 5px #ffffff8c);background:radial-gradient(circle,#fffffff2 0 1.3px,#0000 1.8px) 1px 2px/7px 7px no-repeat,radial-gradient(circle,#fff6d0f5 0 1.1px,#0000 1.7px) 9px 9px/7px 7px no-repeat;width:16px;height:16px;animation:2.8s ease-in-out infinite topbar-premium-glint;display:block;position:absolute;top:7px;right:10px}.editor-topbar .topbar-menu>.quick-build-trigger>*,.editor-topbar .topbar-right>.pdf-purchase-control>*{z-index:2;position:relative}.editor-topbar .topbar-menu>.quick-build-trigger:hover:not(:disabled),.editor-topbar .topbar-right>.pdf-purchase-control:hover:not(:disabled){color:#fff;background:radial-gradient(circle at 18% 12%,#ffffffb8,#0000 31%),linear-gradient(115deg,#ff5bbc 0%,#ff725f 48%,#ffad42 100%);border-color:#fffffff0;transform:translateY(-1px)scale(1.012);box-shadow:0 18px 38px #ff599161,0 0 30px #ff993d4d,0 0 0 1px #ffffff29,inset 0 1px #ffffff9e,inset 0 -4px 8px #76143738}.editor-topbar .topbar-menu>.quick-build-trigger:active:not(:disabled),.editor-topbar .topbar-right>.pdf-purchase-control:active:not(:disabled){transform:translateY(1px)scale(.985);box-shadow:0 10px 22px #ff599142,0 0 18px #ff993d33,inset 0 2px 5px #5c112c47}.editor-topbar .topbar-menu>.quick-build-trigger:disabled,.editor-topbar .topbar-right>.pdf-purchase-control:disabled{transform:none}.topbar-cta-copy{gap:1px;min-width:0;display:grid}.topbar-cta-title{color:#fff;letter-spacing:0;font-size:11px;font-weight:950;line-height:1}.topbar-cta-subtitle{color:#ffffffd1;white-space:nowrap;font-size:7.5px;font-weight:820;line-height:1.05}.editor-topbar .quick-build-trigger .topbar-command-icon{color:#fff;filter:drop-shadow(0 1px 3px #580d2d47);flex-basis:18px;width:18px;height:18px}.edit-trigger{min-width:62px}.preview-book-trigger{min-width:104px}.pdf-export-control{min-width:122px}.pdf-purchase-control{text-align:left;justify-content:center;align-items:center;gap:6px;width:236px;padding:0 14px;display:inline-flex}.editor-topbar .topbar-right>.pdf-purchase-control{flex-basis:236px;width:236px;height:42px;min-height:42px}.pdf-purchase-main{white-space:nowrap;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:9.5px;line-height:1;display:inline-flex}.pdf-purchase-main .topbar-command-icon,.pdf-export-control .topbar-command-icon{color:currentColor}.pdf-purchase-main span{color:#f7fffd;font-weight:920}.pdf-purchase-main s,.pdf-purchase-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pdf-purchase-main s{color:#ffffffb8;font-size:8.5px;font-weight:850;text-decoration-color:#ffffffe6;text-decoration-thickness:1px}.pdf-purchase-main strong{color:#fff;font-size:11px;font-weight:950}.pdf-purchase-sub{color:#fffaf4d1;padding-left:23px;font-size:7px;font-weight:850;display:none}.pdf-purchase-sub em{color:#fff3bf;font-style:normal}.editor-account-menu{flex:none;position:relative}.editor-account-button{justify-content:space-between;width:48px;padding:0 6px}.editor-account-button span{color:#071017;background:linear-gradient(135deg, var(--editor-teal), color-mix(in srgb, var(--editor-teal) 12%, #fff));border-radius:999px;place-items:center;width:24px;height:24px;font-weight:900;display:grid}.editor-account-button .topbar-command-icon{width:12px;height:12px;color:var(--editor-text-muted);flex-basis:12px}.editor-account-dropdown,.topbar-dropdown{z-index:500;min-width:210px;color:var(--editor-text);border:1px solid var(--editor-border-strong);border-radius:var(--editor-radius);background:linear-gradient(180deg, #1c2736fa, #0d141efa), var(--editor-surface);box-shadow:var(--editor-shadow);gap:4px;padding:8px;display:grid;position:absolute;top:calc(100% + 8px)}.topbar-dropdown{left:0}.browser-photo-storage-dropdown{width:min(560px,100vw - 24px);max-height:calc(100dvh - var(--editor-topbar-height) - 20px);gap:8px;top:calc(100% + 8px);left:12px;overflow:auto}.editor-account-dropdown{right:0}.topbar-dropdown a,.topbar-dropdown button,.editor-account-dropdown a,.editor-account-dropdown button{width:100%;height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-soft);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;padding:0 8px;font-size:10px;font-weight:760;text-decoration:none;display:flex}.topbar-dropdown a:hover,.topbar-dropdown button:hover:not(:disabled),.editor-account-dropdown a:hover,.editor-account-dropdown button:hover:not(:disabled){color:#fff;background:color-mix(in srgb, var(--editor-teal) 12%, transparent)}.topbar-dropdown hr{border:0;border-top:1px solid var(--editor-border);width:100%;margin:5px 0}.browser-photo-storage-heading,.browser-photo-storage-model,.browser-photo-storage-project,.browser-photo-storage-package,.browser-photo-storage-empty,.browser-photo-storage-footnote{border:1px solid var(--editor-border);background:#ffffff0b;border-radius:7px;padding:8px}.browser-photo-storage-heading,.browser-photo-storage-model,.browser-photo-storage-project-main,.browser-photo-storage-package{gap:4px;display:grid}.browser-photo-storage-heading strong,.browser-photo-storage-model strong,.browser-photo-storage-section-title,.browser-photo-storage-project-main strong,.browser-photo-storage-package strong{color:var(--editor-text);font-size:11px;line-height:1.15}.browser-photo-storage-section-title{padding-inline:2px;display:block}.browser-photo-storage-heading span,.browser-photo-storage-heading p,.browser-photo-storage-model p,.browser-photo-storage-project-main span,.browser-photo-storage-project-main small,.browser-photo-storage-package span,.browser-photo-storage-empty,.browser-photo-storage-footnote{color:var(--editor-text-muted);margin:0;font-size:9.5px;line-height:1.35}.browser-photo-storage-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.browser-photo-storage-stats span{background:#ffffff0a;border:1px solid #b4c2d129;border-radius:6px;gap:3px;min-width:0;padding:7px;display:grid}.browser-photo-storage-stats small{color:var(--editor-text-muted);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:8px;font-weight:820;line-height:1.1;overflow:hidden}.browser-photo-storage-stats strong{text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;line-height:1.15;overflow:hidden}.browser-photo-storage-projects{gap:6px;display:grid}.browser-photo-storage-project{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.browser-photo-storage-project-main{min-width:0}.browser-photo-storage-details{gap:4px;margin:1px 0 0;display:grid}.browser-photo-storage-details div{grid-template-columns:102px minmax(0,1fr);align-items:start;gap:8px;display:grid}.browser-photo-storage-details dt,.browser-photo-storage-details dd{margin:0;font-size:9px;line-height:1.3}.browser-photo-storage-details dt{color:var(--editor-text-muted);font-weight:850}.browser-photo-storage-details dd{min-width:0;color:var(--editor-text-soft)}.browser-photo-storage-project-main code,.browser-photo-storage-package code{overflow-wrap:anywhere;max-width:100%;color:var(--editor-text-soft);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;line-height:1.3;display:block}.browser-photo-storage-packages{gap:6px;display:grid}.browser-photo-storage-package{background:#ffffff09}.browser-photo-storage-dropdown .danger-text{color:#ffd5da;background:#ff6b7314;border:1px solid #ff6b7347;border-radius:6px;justify-content:center;align-self:start;width:auto;min-width:104px;height:28px;min-height:28px;padding:0 8px;font-size:8.5px}.browser-photo-storage-dropdown .danger-text:hover:not(:disabled){color:#fff;background:#ff6b7329}.topbar-book-spec-summary{gap:2px;display:grid}.topbar-book-spec-summary small,.editor-account-summary small{color:var(--editor-text-muted);font-size:9px}.topbar-book-spec-summary strong,.editor-account-summary strong{color:var(--editor-text);font-size:10px}.editor-account-summary{border-bottom:1px solid var(--editor-border);gap:2px;padding:7px 8px 8px;display:grid}.editor-account-dropdown .interface-accent-control{width:100%;height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-soft);border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;font-size:10px;font-weight:760;display:flex}.editor-account-dropdown .interface-accent-control input[type=color]{border:1px solid var(--editor-border-strong);cursor:pointer;background:0 0;border-radius:6px;width:26px;min-width:26px;height:20px;padding:0}.edit-snap-controls,.edit-snap-field{gap:6px;display:grid}.edit-snap-title,.edit-snap-field span{color:var(--editor-text-muted);font-size:9px;font-weight:850}.edit-snap-field{grid-template-columns:62px minmax(0,1fr) auto;align-items:center;padding:6px 8px}.edit-snap-field select{grid-column:2/-1}.quick-build-dropdown,.cleanup-dropdown{top:calc(var(--editor-topbar-height) + 8px);scrollbar-width:thin;scrollbar-color:#94a3b875 #0f172a80;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(#1c2736cc,#0d141ecc),#121c28cc;position:fixed;left:50%;overflow:auto;transform:translate(-50%)}.quick-build-dropdown-stack{top:calc(var(--editor-topbar-height) + 8px);z-index:500;gap:6px;width:min(900px,100vw - 28px);display:grid;position:fixed;left:50%;transform:translate(-50%)}.quick-build-dropdown-stack>.topbar-dropdown{position:static;top:auto;left:auto;transform:none}.quick-build-dropdown{gap:0;width:100%;max-height:none;padding:12px;overflow:visible}.cleanup-dropdown{width:min(760px,100vw - 28px);max-height:min(650px,100dvh - 88px)}.quick-build-panel-layout{grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start;gap:12px;min-width:0;display:grid}.quick-build-main-controls,.cleanup-dropdown section{gap:6px;display:grid}.quick-build-main-controls{border-radius:var(--editor-radius);background:linear-gradient(#ffffff0d,#ffffff05),#ffffff06;border:1px solid #bccbdc24;padding:8px}.quick-build-control-grid{grid-template-columns:repeat(2,minmax(150px,1fr));align-items:end;gap:6px;min-width:0;display:grid}.quick-build-heading{gap:3px;display:grid}.quick-build-heading.compact{align-self:center}.quick-build-heading span,.quick-build-heading small{color:var(--editor-text-muted)}.quick-build-heading span{text-transform:uppercase;font-size:9px;font-weight:850}.quick-build-heading small{font-size:10px;line-height:1.25}.quick-build-dropdown label,.quick-build-field,.cleanup-dropdown label{color:var(--editor-text-soft);gap:5px;font-size:10px;font-weight:760;display:grid}.quick-build-scope-control{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0a;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.quick-build-mode-control{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-build-scope-control button{height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);cursor:pointer;background:0 0;border:0;border-radius:0;font-size:10px;font-weight:820}.quick-build-compact-options{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0d;grid-column:1/-1;grid-template-columns:minmax(150px,1.15fr) minmax(132px,.85fr) auto;align-items:end;gap:6px;padding:6px;display:grid}.quick-build-compact-options label{gap:3px}.quick-build-compact-options .quick-build-duplicates-toggle{min-height:var(--editor-control-height);border:1px solid var(--editor-border);background:#ffffff09;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:0 8px;display:flex}.quick-build-duplicates-toggle input{flex:0 0 16px;width:16px;height:16px}.quick-build-mode-note{min-height:0;color:var(--editor-text-soft);border:1px solid color-mix(in srgb, var(--editor-teal) 16%, transparent);border-radius:var(--editor-radius);background:color-mix(in srgb, var(--editor-teal) 5.5%, transparent);margin:0;padding:6px 8px;font-size:10px;font-weight:730;line-height:1.2}.quick-build-dropdown .quick-build-photo-pool-trigger{width:100%;height:30px;min-height:30px;color:var(--editor-text-soft);text-align:left;border-radius:var(--editor-radius);cursor:pointer;background:#ffffff09;border:1px solid #bccbdc24;justify-content:space-between;align-items:center;gap:10px;padding:0 9px;font-size:10px;font-weight:820;display:flex}.quick-build-dropdown button.quick-build-photo-pool-trigger:hover,.quick-build-dropdown button.quick-build-photo-pool-trigger[aria-expanded=true]{color:#fff;border-color:color-mix(in srgb, var(--editor-teal) 24%, transparent);background:color-mix(in srgb, var(--editor-teal) 7%, transparent)}.quick-build-dropdown .quick-build-photo-pool-trigger span{color:var(--editor-text-muted);text-transform:uppercase;font-size:9px;font-weight:850}.quick-build-dropdown .quick-build-photo-pool-trigger small{color:var(--editor-text-muted);font-size:9px;font-weight:720}.quick-build-photo-pool-dock{gap:8px;width:100%;max-height:220px;padding:9px;overflow:hidden}.quick-build-photo-pool-dock-heading,.quick-build-photo-pool-groups{min-width:0}.quick-build-photo-pool-dock-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.quick-build-photo-pool-dock .quick-build-photo-pool-close{width:auto;height:28px;min-height:28px;color:var(--editor-text-muted);border:1px solid var(--editor-border);background:#ffffff0a;border-radius:999px;justify-content:center;padding:0 9px;font-size:9px;font-weight:820}.quick-build-photo-pool-dock button.quick-build-photo-pool-close:hover:not(:disabled){color:#fff;background:color-mix(in srgb, var(--editor-teal) 10%, transparent)}.quick-build-photo-pool-groups{scrollbar-width:thin;scrollbar-color:#94a3b875 #0f172a80;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:164px;padding:0;display:grid;overflow:auto}.quick-build-photo-pool-group{background:#ffffff09;border:1px solid #bccbdc1f;border-radius:6px;gap:6px;padding:7px;display:grid}.quick-build-photo-pool-group-heading{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.quick-build-photo-pool-group-heading div{gap:2px;min-width:0;display:grid}.quick-build-photo-pool-group-heading strong{min-width:0;color:var(--editor-text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:840;overflow:hidden}.quick-build-photo-pool-group-heading small{min-width:0;color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:720;overflow:hidden}.quick-build-photo-pool-group-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.quick-build-photo-pool-group-actions button{height:28px;min-height:28px;color:var(--editor-text-soft);text-align:center;border:1px solid var(--editor-border);background:#ffffff0a;border-radius:6px;justify-content:center;padding:0 8px;font-size:9px;font-weight:820}.quick-build-photo-pool-group-actions button:hover:not(:disabled){color:#fff;border-color:color-mix(in srgb, var(--editor-teal) 24%, transparent);background:color-mix(in srgb, var(--editor-teal) 8%, transparent)}.quick-build-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.quick-build-actions .button{width:100%;height:var(--editor-control-height);min-height:var(--editor-control-height);white-space:normal;padding-inline:6px}.quick-build-actions.cleanup{border-top:1px solid var(--editor-border);padding-top:8px}.quick-build-keywords-panel{min-width:0;max-height:260px;color:var(--editor-text);border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:linear-gradient(#1d2938cc,#0b121ccc),#121c28cc;grid-template-rows:auto minmax(0,1fr);gap:8px;padding:10px;display:grid;overflow:hidden}.quick-build-keywords-heading{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.quick-build-keywords-panel .quick-build-keyword-all-toggle{height:24px;min-height:24px;color:var(--editor-text-soft);border:1px solid var(--editor-border);background:#ffffff0d;border-radius:6px;align-items:center;gap:5px;padding:0 7px;font-size:9px;font-weight:850;display:inline-flex}.quick-build-keywords-panel .quick-build-keyword-all-toggle input{width:13px;height:13px;accent-color:var(--editor-teal);flex:0 0 13px}.quick-build-keywords-panel .quick-build-keyword-children{scrollbar-width:thin;scrollbar-color:#94a3b875 #0f172a80;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;min-height:0;padding-left:0;display:grid;overflow:auto}.quick-build-keywords-panel .quick-build-keyword-children label{min-width:0;color:var(--editor-text-soft);align-items:center;gap:6px;font-size:10px;font-weight:780;display:flex}.quick-build-keywords-panel .quick-build-keyword-children input{width:14px;height:14px;accent-color:var(--editor-teal);flex:0 0 14px}.quick-build-keywords-panel .quick-build-keyword-children span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-body{grid-row:2;grid-template-columns:var(--editor-left-rail-width) minmax(0, 1fr) var(--editor-right-rail-width);background:radial-gradient(circle at 52% 36%,#ffd16614,#0000 34%),linear-gradient(#0b121c 0%,#0d1520 100%);border-top:1px solid #ffffff0a;grid-template-rows:minmax(0,1fr);grid-template-areas:"left workspace right";min-width:0;min-height:0;display:grid;overflow:hidden}.left-rail,.right-rail,.workspace,.canvas-region,.canvas-scroll{min-width:0;min-height:0}.left-rail,.right-rail{z-index:0;height:100%;padding:var(--editor-pad);background:linear-gradient(180deg, #16202df5, #0c131df5), var(--editor-surface);display:grid;position:relative;overflow:hidden}.left-rail{border-right:1px solid var(--editor-border);grid-area:left}.right-rail{border-left:1px solid var(--editor-border);grid-area:right}.workspace{z-index:1;grid-area:workspace;grid-template-rows:var(--editor-top-panel-height) minmax(0, 1fr) var(--editor-bottom-panel-height) var(--editor-very-bottom-height);background:linear-gradient(180deg, #0f1824f5, #080d14f5), var(--editor-bg);isolation:isolate;display:grid;position:relative;overflow:hidden}.workspace.canvas-expanded{grid-template-rows:var(--editor-top-panel-height) minmax(0, 1fr) var(--editor-bottom-panel-height) var(--editor-very-bottom-height);z-index:300;overflow:visible}.editor-body:has(.workspace.canvas-expanded){overflow:visible}:is(.editor-body:has(.workspace.canvas-expanded) .left-rail,.editor-body:has(.workspace.canvas-expanded) .right-rail){z-index:0}.editor-body:has(.workspace.canvas-expanded) .workspace{z-index:300}.creative-tools-panel{height:100%;min-height:0;color:var(--editor-text);border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:linear-gradient(180deg, #1a2635f0, #0d151feb), var(--editor-surface);grid-template-rows:auto minmax(0,1fr);gap:8px;padding:8px;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffff12,0 8px 18px #0000002e}.creative-tools-tabs{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0a;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;display:grid}.creative-tools-tabs button{min-width:0;height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 6px;font-size:9px;font-weight:850;overflow:hidden}.creative-tools-tabs button:hover{color:var(--editor-active-fg);background:var(--editor-active-bg)}.creative-tools-content,.creative-tools-tab-panel,.creative-tools-actions{gap:8px;min-width:0;min-height:0;display:grid}.creative-tools-content{overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px;overflow:auto}.creative-tools-tab-panel{align-content:start}.rail-hint,.library-count{color:var(--editor-text-muted);margin:0;font-size:10px;line-height:1.35}.library-controls{gap:6px;display:grid}.sticker-browser,.background-library{gap:8px;min-height:0;display:grid}.sticker-quick-filters,.background-quick-filters{flex-wrap:wrap;gap:5px;display:flex}.sticker-quick-filters button,.background-quick-filters button{height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);border:1px solid var(--editor-border);cursor:pointer;background:#ffffff0b;border-radius:7px;padding:0 8px;font-size:9px;font-weight:800}.sticker-quick-filters button:hover,.background-quick-filters button:hover{color:var(--editor-text);border-color:color-mix(in srgb, var(--editor-teal) 42%, transparent);background:var(--editor-control-bg-hover)}.sticker-library,.background-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-height:0;display:grid;overflow:visible}.sticker-card,.background-card,.saved-background-item{min-width:0;position:relative}.sticker-card-main,.background-card-main{width:100%;min-width:0;min-height:64px;color:var(--editor-text-muted);border:1px solid var(--editor-border);border-radius:var(--editor-radius);cursor:pointer;background:linear-gradient(#ffffff14,#ffffff09),#ffffff0a;place-items:center;padding:5px;transition:border-color .12s,background .12s,transform .12s;display:grid}.sticker-card-main:hover,.sticker-card.selected .sticker-card-main,.background-card-main:hover,.background-card-main.active,.saved-background-item.selected .background-card-main{color:var(--editor-text);border-color:color-mix(in srgb, var(--editor-teal) 45%, transparent);background:color-mix(in srgb, var(--editor-teal) 10%, transparent);transform:translateY(-1px)}.sticker-card-main:disabled{cursor:not-allowed;opacity:.42}.sticker-preview-image,.sticker-library img,.sticker-library svg{object-fit:contain;pointer-events:none;background-position:50%;background-repeat:no-repeat;background-size:contain;width:42px;height:42px;display:block}.background-favorite-button{z-index:2;color:#f7f3ea8c;cursor:pointer;background:#050a1094;border:1px solid #ffffff1f;border-radius:999px;place-items:center;width:22px;height:22px;min-height:22px;padding:0;font-size:0;display:grid;position:absolute;bottom:4px;right:4px}.background-favorite-button:before{content:"☆";font-size:13px}.background-favorite-button.active:before{content:"★"}.background-favorite-button.active{color:var(--editor-teal)}.sticker-favorite-button{z-index:2;color:#f7f3ea94;width:18px;height:18px;min-height:18px;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:0;font-size:0;line-height:1;display:grid;position:absolute;bottom:7px;right:8px}.sticker-favorite-button:before{content:"☆";text-shadow:0 1px 3px #00000073;font-size:16px;line-height:1}.sticker-favorite-button.active{color:#f4c95d}.sticker-favorite-button.active:before{content:"★"}.sticker-favorite-button:hover{color:#f7f3eac7;background:0 0}.sticker-favorite-button.active:hover{color:#f4c95d}.background-thumbnail{border:1px solid #ffffff24;border-radius:6px;width:100%;height:52px;display:block;box-shadow:inset 0 0 0 1px #ffffff29}.library-empty{min-height:68px;color:var(--editor-text-muted);text-align:center;border:1px dashed var(--editor-border-strong);border-radius:var(--editor-radius);background:#ffffff09;grid-column:1/-1;place-items:center;padding:10px;font-size:10px;line-height:1.35;display:grid}.saved-background-delete-button,.text-sticker-button{width:100%}.selection-properties-panel{border-bottom:1px solid var(--editor-border);background:linear-gradient(180deg, #172230f5, #0d141ef0), var(--editor-surface);grid-row:1;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:132px minmax(0,1fr);gap:5px 8px;min-height:0;padding:7px 8px;display:grid;overflow:hidden;box-shadow:inset 0 -1px #0003}.selection-properties-selector{border:1px solid var(--editor-border);border-radius:var(--editor-radius);min-width:0;box-shadow:inset 3px 0 0 color-mix(in srgb, var(--editor-teal) 62%, transparent);background:linear-gradient(#ffffff12,#ffffff06),#ffffff09;grid-row:1/-1;grid-template-rows:repeat(4,minmax(0,1fr));gap:5px;padding:5px;display:grid}.selection-properties-selector button{min-width:0;min-height:0;color:var(--editor-text-muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;padding:0 7px;font-size:10px;font-weight:840;line-height:1.12;display:flex}.selection-properties-selector button:hover:not(:disabled){color:var(--editor-text);background:#ffffff17}.selection-properties-controls,.selection-properties-actions{min-width:0;min-height:0;overflow-x:hidden}.selection-properties-controls{grid-template-rows:84px minmax(0,1fr);gap:4px;display:grid;overflow:visible}.background-properties-panel .selection-properties-controls{grid-template-rows:64px minmax(0,1fr)}.property-page-layout{grid-template-rows:26px minmax(0,1fr);gap:3px;min-width:0;height:100%;min-height:0;display:grid;overflow:visible}.property-page-layout-single-category{grid-template-rows:minmax(0,1fr)}.property-page-layout-single-category .property-category-content{grid-row:1}.property-secondary-selector{background:#ffffff07;border:1px solid #bccbdc1a;border-radius:7px;grid-row:1;grid-auto-columns:minmax(58px,max-content);grid-auto-flow:column;justify-content:start;align-items:center;gap:3px;min-width:0;min-height:0;padding:2px;display:grid}.property-secondary-selector button{min-width:0;height:22px;color:var(--editor-teal);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:0 8px;font-size:9px;font-weight:840;line-height:1;overflow:hidden}.property-secondary-selector button:hover:not(:disabled){color:var(--editor-text);background:#ffffff14}.property-secondary-selector button.active{color:var(--editor-active-fg);background:var(--editor-teal);box-shadow:0 0 0 1px var(--editor-teal)}.property-category-content{grid-row:2;min-width:0;min-height:0;display:grid;overflow:visible}.property-category-content>.toolbar-control-group,.property-category-content>.toolbar-subgroup{height:100%;min-height:0}.property-category-content>.toolbar-subgroup{align-content:end}.property-page-layout-background>.property-secondary-selector,.property-page-layout-background>.property-category-content,.property-page-layout-photo>.property-secondary-selector,.property-page-layout-photo>.property-category-content,.property-page-layout-sticker>.property-secondary-selector,.property-page-layout-sticker>.property-category-content,.property-page-layout-text>.property-secondary-selector,.property-page-layout-text>.property-category-content{grid-column:1}.shared-attributes-section{background:linear-gradient(#ffffff0d,#ffffff05),#ffffff06;border:1px solid #bccbdc1f;border-radius:7px;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(190px,.82fr) minmax(0,2fr);gap:5px;min-width:0;min-height:0;padding:4px;display:grid}.shared-attributes-section-background{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);align-items:center}.shared-attributes-section-background .shared-attributes-heading{grid-template-rows:14px minmax(0,1fr)}.shared-attributes-section-background .shared-selection-info{grid-template-columns:minmax(110px,.9fr) minmax(92px,auto) minmax(0,1fr)}.shared-attributes-section-background .shared-attributes-empty{align-self:center}.shared-attributes-heading{grid-template-rows:14px minmax(0,1fr);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 5px;min-width:0;min-height:0;display:grid}.shared-attributes-title{color:color-mix(in srgb, var(--editor-teal) 30%, #fff 70%);text-transform:uppercase;white-space:nowrap;font-size:8px;font-weight:900;line-height:1}.shared-selection-info{grid-column:1/-1;grid-template-columns:minmax(82px,.85fr) minmax(86px,auto) minmax(0,1fr);align-items:center;gap:3px;min-width:0;display:grid}.shared-attributes-empty{color:#93a3b5db;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.shared-attribute-scope{background:#ffffff09;border:1px solid #bccbdc1a;border-radius:6px;grid-area:1/2;grid-template-columns:repeat(2,minmax(36px,1fr));justify-self:end;gap:2px;width:84px;min-width:0;padding:2px;display:grid}.shared-attribute-scope button{min-width:0;height:20px;color:var(--editor-text-muted);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:4px;padding:0 5px;font-size:8px;font-weight:850;line-height:1;overflow:hidden}.shared-attribute-scope button:hover:not(:disabled){color:var(--editor-text);background:#ffffff14}.shared-attributes-toolbar{align-items:stretch;gap:3px;min-width:0;min-height:0;display:flex;overflow:visible}.shared-attributes-toolbar>.toolbar-subgroup{min-height:0;padding:10px 3px 2px}.shared-attributes-toolbar .toolbar-field,.shared-attributes-toolbar .toolbar-range-field{--toolbar-field-width:100%;--toolbar-field-min-width:0px;width:100%}.shared-attributes-toolbar .toolbar-color-field{--toolbar-field-width:34px;--toolbar-field-min-width:30px;width:var(--toolbar-field-width)}.shared-attributes-toolbar .toolbar-range-field{--toolbar-field-width:30px;--toolbar-field-min-width:28px;grid-template-rows:9px minmax(34px,1fr) 9px;height:52px}.shared-attributes-toolbar .toolbar-range-field input[type=range]{width:20px;height:36px}.shared-attributes-toolbar .toolbar-toggle{text-overflow:ellipsis;width:100%;min-width:0;padding-inline:4px;overflow:hidden}.shared-attributes-toolbar .toolbar-subgroup-border{flex:0 0 108px;grid-template-columns:minmax(0,44px) 30px minmax(0,30px);align-items:end;display:grid}.shared-attributes-toolbar .shared-opacity-controls{flex:0 0 34px;grid-template-columns:minmax(0,30px);align-items:end;display:grid}.shared-attributes-toolbar .toolbar-subgroup-frame{flex:0 0 166px;grid-template-columns:minmax(0,68px) 30px repeat(2,minmax(0,30px));align-items:end;display:grid}.shared-attributes-toolbar .toolbar-subgroup-shadow{flex:214px;grid-template-columns:minmax(0,42px) minmax(0,48px) repeat(3,minmax(0,30px)) 40px;align-items:end;display:grid}.toolbar-control-group{align-content:stretch;align-items:stretch;gap:4px;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:visible}.toolbar-field,.toolbar-toggle{color:var(--editor-text-soft);font-size:9px;font-weight:760}.toolbar-field{grid-template-rows:9px var(--editor-control-height);flex:0 1 var(--toolbar-field-width,78px);width:var(--toolbar-field-width,82px);min-width:var(--toolbar-field-min-width,42px);gap:1px;display:grid;position:relative}.toolbar-field>span{color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.toolbar-field select,.toolbar-field textarea,.toolbar-field input:not([type=checkbox]){width:100%;min-width:0}.toolbar-number-field{--toolbar-field-width:56px;--toolbar-field-min-width:52px}.toolbar-range-field{--toolbar-field-width:42px;--toolbar-field-min-width:36px;width:var(--toolbar-field-width);min-width:var(--toolbar-field-min-width);grid-template-rows:9px minmax(40px,1fr) 9px;justify-items:center;height:58px;display:grid}.toolbar-range-field input[type=range]{appearance:none;cursor:pointer;width:22px;height:42px;accent-color:var(--editor-teal);writing-mode:vertical-lr;direction:rtl;background:0 0}.toolbar-range-field input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(0deg, color-mix(in srgb, var(--editor-teal) 72%, transparent), color-mix(in srgb, var(--editor-teal) 42%, transparent)), #ffffff14;border:1px solid #bccbdc29;border-radius:999px;width:5px;height:100%}.toolbar-range-field input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--editor-teal);border:2px solid #061115e6;border-radius:999px;width:15px;height:15px;margin-left:-6px;box-shadow:0 1px 5px #00000052}.toolbar-range-field input[type=range]::-moz-range-track{background:#ffffff14;border:1px solid #bccbdc29;border-radius:999px;width:5px;height:100%}.toolbar-range-field input[type=range]::-moz-range-progress{background:color-mix(in srgb, var(--editor-teal) 72%, transparent);border-radius:999px;width:5px}.toolbar-range-field input[type=range]::-moz-range-thumb{background:var(--editor-teal);border:2px solid #061115e6;border-radius:999px;width:13px;height:13px;box-shadow:0 1px 5px #00000052}.toolbar-range-field input[type=range]:hover:not(:disabled)::-webkit-slider-thumb{box-shadow:var(--editor-focus);background:#fff}.toolbar-range-field input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:var(--editor-focus);background:#fff}.toolbar-range-field input[type=range]:disabled{cursor:not-allowed}:is(.toolbar-field:has(:disabled),.toolbar-toggle:has(:disabled)){opacity:.72}:is(.toolbar-field:has(:disabled):hover,.toolbar-toggle:has(:disabled):hover){opacity:.88}.toolbar-field input:disabled,.toolbar-field select:disabled,.toolbar-field textarea:disabled,.toolbar-toggle input:disabled{cursor:not-allowed}.toolbar-range-value{color:#d4deeac7;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:8px;font-weight:820;line-height:10px;position:static;overflow:hidden}.shadow-direction-field{--toolbar-field-width:42px;--toolbar-field-min-width:38px;grid-template-rows:9px minmax(36px,1fr) 9px;justify-items:center;height:58px;display:grid}.shadow-direction-control{cursor:crosshair;background:radial-gradient(circle,#ffffff14 0 24%,#0000 25%),linear-gradient(#ffffff13,#ffffff06),#ffffff0a;border:1px solid #bccbdc33;border-radius:999px;width:40px;height:40px;padding:0;display:block;position:relative;overflow:hidden}.shadow-direction-control:before,.shadow-direction-control:after{content:"";background:#bccbdc2e;height:1px;position:absolute;inset:50% 8px auto}.shadow-direction-control:after{transform:rotate(90deg)}.shadow-direction-control:disabled{cursor:not-allowed}.shadow-direction-track{border:1px solid color-mix(in srgb, var(--editor-teal) 24%, transparent);border-radius:999px;position:absolute;inset:7px}.shadow-direction-line{background:color-mix(in srgb, var(--editor-teal) 78%, transparent);width:33%;height:2px;transform:translateY(-50%) rotate(var(--shadow-direction-angle));transform-origin:0;border-radius:999px;position:absolute;top:50%;left:50%}.shadow-direction-marker{top:var(--shadow-direction-y);left:var(--shadow-direction-x);background:var(--editor-teal);border:2px solid #061115e6;border-radius:999px;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 5px #00000052}.shadow-direction-control:hover:not(:disabled) .shadow-direction-marker,.shadow-direction-control:focus-visible .shadow-direction-marker{background:#fff}.toolbar-color-field{--toolbar-field-width:38px;--toolbar-field-min-width:34px}.toolbar-compact-field{--toolbar-field-width:74px;--toolbar-field-min-width:64px}.toolbar-font-field,.toolbar-variant-field{--toolbar-field-width:124px;--toolbar-field-min-width:104px}.text-toolbar-input{--toolbar-field-width:178px;--toolbar-field-min-width:138px;flex-grow:1}.text-toolbar-input textarea{height:var(--editor-control-height);padding:6px 8px 5px;line-height:1.2}.background-type-field{--toolbar-field-width:112px;--toolbar-field-min-width:98px}.image-pattern-source-field{--toolbar-field-width:86px;--toolbar-field-min-width:76px}.image-pattern-asset-field,.image-pattern-sticker-category-field,.image-pattern-sticker-field{--toolbar-field-width:118px;--toolbar-field-min-width:96px}.toolbar-toggle{height:var(--editor-control-height);min-height:var(--editor-control-height);border:1px solid var(--editor-border);white-space:nowrap;background:#ffffff0a;border-radius:7px;flex:none;align-items:center;gap:5px;padding:0 7px;display:inline-flex}.randomize-shared-style-toggle{white-space:normal;flex:none;max-width:128px}.randomize-shared-style-toggle span{text-overflow:ellipsis;min-width:0;line-height:1.1;overflow:hidden}.toolbar-subgroup{background:linear-gradient(#ffffff0b,#ffffff04),#ffffff05;border:1px solid #bccbdc1a;border-radius:7px;flex-wrap:nowrap;flex:0 auto;align-items:flex-end;gap:3px;min-width:0;min-height:40px;padding:11px 4px 3px;display:flex;position:relative}.toolbar-subgroup-label{color:#93a3b5eb;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;max-width:calc(100% - 12px);font-size:8px;font-weight:880;line-height:10px;position:absolute;top:2px;left:6px;overflow:hidden}.property-scope-label{z-index:1;height:13px;color:color-mix(in srgb, var(--editor-teal) 28%, #fff 72%);background:color-mix(in srgb, var(--editor-teal) 10%, transparent);text-transform:uppercase;border-radius:999px;align-items:center;padding:0 6px;font-size:8px;font-weight:880;line-height:1;display:inline-flex;position:absolute;top:0;left:1px}.property-scope-label-object{color:#d1deece6;background:#d1deec14}.property-scope-label-group{color:#ffe297f2;background:#f4c95d21}.property-helper-text{color:#93a3b5db;min-width:0;font-size:8px;font-weight:720;line-height:1.1}.selection-helper-text{text-overflow:ellipsis;white-space:nowrap;flex:180px;display:block;overflow:hidden}.creation-helper-text{text-align:right;text-overflow:ellipsis;white-space:nowrap;max-width:64%;position:absolute;top:2px;right:7px;overflow:hidden}.toolbar-subgroup-content{flex:160px}.toolbar-subgroup-type,.toolbar-subgroup-source,.toolbar-subgroup-geometry,.toolbar-subgroup-border{flex:0 auto}.toolbar-subgroup-color,.toolbar-subgroup-fill,.toolbar-subgroup-align,.toolbar-subgroup-finish,.toolbar-subgroup-frame,.toolbar-subgroup-photo-create,.toolbar-subgroup-shadow,.toolbar-subgroup-variant{flex:none}.toolbar-subgroup-photo-create{width:100%}.photo-treatment-buttons{grid-template-columns:minmax(0,.82fr) minmax(0,.72fr) minmax(0,.78fr) minmax(0,.86fr) minmax(0,1.58fr) minmax(0,.95fr);gap:3px;width:100%;min-width:0;display:grid}.photo-treatment-buttons button{min-width:0;min-height:var(--editor-control-height);color:var(--editor-text-muted);border:1px solid var(--editor-border);cursor:pointer;white-space:nowrap;background:#ffffff0a;border-radius:6px;padding:0 4px;font-size:8.5px;font-weight:820;line-height:1.08}.photo-treatment-buttons button:hover:not(:disabled){color:var(--editor-text);background:#ffffff17}.photo-treatment-buttons button:disabled{cursor:not-allowed;opacity:.45}.photo-strip-create-control{grid-column:auto;grid-template-columns:minmax(0,1fr) 38px;gap:3px;min-width:0;display:grid}.photo-treatment-tape-frame{grid-column:auto}.edit-group-mode-bar{background:linear-gradient(#f7fafffa,#e5effffa),#eef5ff;border-color:#2563eb5c}.photo-strip-create-control select{min-width:0;height:var(--editor-control-height);color:var(--editor-text);border:1px solid var(--editor-border);background:#ffffff0d;border-radius:6px;padding-left:5px;padding-right:18px;font-size:8px;font-weight:780}.toolbar-frame-field{--toolbar-field-width:96px;--toolbar-field-min-width:82px}.background-toolbar-controls,.image-toolbar-controls,.sticker-toolbar-controls,.text-toolbar-controls{padding-top:14px}.background-toolbar-controls>.toolbar-subgroup,.image-toolbar-controls>.toolbar-subgroup,.sticker-toolbar-controls>.toolbar-subgroup,.text-toolbar-controls>.toolbar-subgroup{align-content:end;min-height:0}.background-category-source{grid-template-columns:minmax(0,.54fr) minmax(0,.72fr) minmax(0,2.42fr) minmax(0,.78fr)}.background-category-layout,.background-category-stickers{grid-template-columns:minmax(0,1fr)}.background-category-source>.toolbar-subgroup-color,.background-category-source>.toolbar-subgroup-source,.background-category-source>.toolbar-subgroup-finish,.background-category-layout>.toolbar-subgroup-geometry,.background-category-stickers>.toolbar-subgroup-background-stickers{align-items:end;display:grid}.background-category-source>.toolbar-subgroup-color{grid-template-columns:repeat(3,42px)}.background-category-source>.toolbar-subgroup-source{grid-template-columns:minmax(0,.62fr) minmax(0,.72fr) repeat(3,minmax(0,.92fr)) minmax(0,.78fr) minmax(0,1.12fr)}.background-category-source>.toolbar-subgroup-finish{grid-template-columns:46px minmax(0,.9fr) minmax(0,.86fr)}.background-category-layout>.toolbar-subgroup-geometry{grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}.background-category-stickers>.toolbar-subgroup-background-stickers{grid-column:1/-1;grid-template-columns:minmax(0,.7fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)}.background-category-stickers .background-sticker-edit-button{align-self:end}.background-toolbar-controls .toolbar-field,.background-toolbar-controls .toolbar-range-field,.image-toolbar-controls .toolbar-subgroup-frame .toolbar-field{--toolbar-field-width:100%;--toolbar-field-min-width:0px;width:100%}.background-toolbar-controls .toolbar-color-field{--toolbar-field-width:42px;--toolbar-field-min-width:36px;width:var(--toolbar-field-width)}.background-toolbar-controls .toolbar-range-field{--toolbar-field-width:46px;--toolbar-field-min-width:40px;width:var(--toolbar-field-width)}.background-toolbar-controls .toolbar-layout-select-field{--toolbar-field-width:100%;--toolbar-field-min-width:0px;width:100%}.image-pattern-edge-field{--toolbar-field-width:100%;--toolbar-field-min-width:0px}.background-harmony-toggle-field{--toolbar-field-width:100%;--toolbar-field-min-width:0px;width:100%}.background-harmony-toggle-field .toolbar-toggle{justify-content:center;width:100%;min-width:0}.image-category-photo{grid-template-columns:minmax(0,1fr)}.image-category-photo>.toolbar-subgroup-frame{grid-template-columns:minmax(0,140px) 42px repeat(2,minmax(42px,54px));align-items:end;max-width:370px;display:grid}.image-toolbar-controls .toolbar-subgroup-frame .toolbar-toggle{text-overflow:ellipsis;width:100%;min-width:0;padding-inline:5px;overflow:hidden}.sticker-category-look{grid-template-columns:minmax(0,1fr)}.text-category-content{grid-template-columns:minmax(0,1.2fr) minmax(0,1.55fr) minmax(0,.45fr) minmax(0,.6fr)}.toolbar-segmented{border:1px solid var(--editor-border);background:#ffffff0a;border-radius:7px;grid-template-columns:repeat(3,30px);gap:3px;padding:3px;display:grid}.toolbar-segmented button{min-height:24px;color:var(--editor-text-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;font-size:9px;font-weight:850}.toolbar-hint,.background-harmony-status,.selection-summary-pill{height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);border:1px solid var(--editor-border);background:#ffffff0a;border-radius:7px;align-items:center;padding:0 8px;font-size:9px;font-weight:780;display:inline-flex}.selection-summary-pill{min-width:128px;color:var(--editor-text-soft);border-color:color-mix(in srgb, var(--editor-teal) 22%, transparent);background:color-mix(in srgb, var(--editor-teal) 7%, transparent)}.background-harmony-status.good,.background-harmony-status.strong{color:#bffbf3}.selection-properties-actions{align-items:center;display:flex;overflow:visible}.background-action-strip,.selected-object-action-strip{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0a;flex-wrap:wrap;align-items:center;gap:5px;width:100%;min-width:0;padding:1px;display:flex;overflow:visible}.selected-object-action-strip{grid-template-columns:repeat(auto-fit,minmax(52px,1fr));grid-auto-rows:minmax(var(--editor-control-height), auto);display:grid}.background-action-strip .tool-button,.selected-object-action-strip button,.canvas-view-mode-controls button,.book-structure-actions button,.canvas-guides-toggle,.canvas-expand-toggle,.canvas-page-select-toggle,.canvas-multi-select-toggle,.canvas-page-lock-toggle{height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;flex:none;padding:0 7px;font-size:9px;font-weight:820;line-height:1.1}.selected-object-action-strip button{white-space:normal;min-width:0}.background-action-strip .tool-button:hover:not(:disabled),.selected-object-action-strip button:hover:not(:disabled),.canvas-view-mode-controls button:hover:not(:disabled),.book-structure-actions button:hover:not(:disabled),.canvas-guides-toggle:hover:not(:disabled),.canvas-expand-toggle:hover:not(:disabled),.canvas-page-select-toggle:hover:not(:disabled),.canvas-multi-select-toggle:hover:not(:disabled),.canvas-page-lock-toggle:hover:not(:disabled){color:var(--editor-text);background:#ffffff17}.toolbar-subgroup-background-stickers .background-sticker-edit-button{color:#10212b;background:linear-gradient(#fffffff5,#d5fdf6e6),#e7fffb;border:1px solid #14b8a66b;box-shadow:inset 0 1px #ffffffb8}.toolbar-subgroup-background-stickers .background-sticker-edit-button:hover:not(:disabled){color:#07151c;background:linear-gradient(#fff,#bffbf3f5),#d9fffa;border-color:#14b8a6ad}.background-action-strip .cover-background-target{border:0;border-right:1px solid var(--editor-border);background:0 0;border-radius:0;flex:none;align-items:center;gap:5px;margin:0;padding:0 6px 0 0;display:flex}.background-action-strip .cover-background-target>span{max-width:72px;color:var(--editor-text-muted);font-size:9px;font-weight:800}.background-action-strip .cover-background-target>div{gap:4px;display:flex}.background-action-strip .cover-background-target button{height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 7px;font-size:9px;font-weight:820}.selected-object-action-strip .danger-text{color:#ffd5da}.canvas-region{background:radial-gradient(circle at 50% 48%,#fff1c929,#0000 31%),linear-gradient(#0b121cfa,#060a10fa);grid-row:2;grid-template-rows:minmax(0,1fr) auto;display:grid;position:relative;overflow:hidden}.canvas-scroll{-webkit-overflow-scrolling:touch;background:0 0;grid-row:1;place-items:center;width:100%;max-width:100%;height:100%;max-height:100%;display:grid;position:relative;overflow:hidden}.spread-stage{touch-action:pan-x pan-y;background:0 0}.canvas-loading{width:min(760px,86%);height:420px;color:var(--editor-text-muted);border:1px dashed var(--editor-border-strong);border-radius:var(--editor-radius);background:#ffffff09;place-items:center;font-size:11px;display:grid}.workspace.canvas-expanded .canvas-region{top:0;right:0;bottom:calc(var(--editor-bottom-panel-height) + var(--editor-very-bottom-height));z-index:520;position:fixed;left:0;overflow:hidden}.workspace.canvas-expanded .canvas-scroll{width:100%;height:100%;overflow:hidden}.workspace.canvas-expanded .selection-properties-panel{z-index:20;position:relative}.workspace.canvas-expanded .spread-stage{transform-origin:50%;filter:drop-shadow(0 18px 28px #0000004d);transform:scale(1.2)}.canvas-bottom-shell{z-index:25;border-top:1px solid var(--editor-border);background:linear-gradient(180deg, #16202dfa, #0c121cfa), var(--editor-surface);grid-row:3;grid-template-columns:repeat(2,auto) minmax(0,1fr) repeat(4,auto);place-items:center;gap:6px;min-height:0;padding:5px 8px;display:grid;position:relative;overflow:hidden}.canvas-view-mode-controls{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0a;grid-template-columns:repeat(3,minmax(0,1fr));justify-self:center;gap:3px;width:min(100%,540px);padding:3px;display:grid}.canvas-view-mode-controls.has-spine{grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,640px)}.canvas-view-mode-controls button{text-overflow:ellipsis;min-width:0;overflow:hidden}.canvas-page-lock-toggle,.canvas-guides-toggle,.canvas-expand-toggle,.canvas-page-select-toggle,.canvas-multi-select-toggle,.canvas-fit-ui-toggle{border:1px solid var(--editor-border);background:#ffffff0a;justify-content:center;align-items:center;display:inline-flex}.canvas-page-lock-toggle{gap:5px;min-width:68px}.canvas-guides-toggle{min-width:82px}.canvas-fit-ui-toggle{min-width:62px}.canvas-page-select-toggle{min-width:82px}.canvas-multi-select-toggle{pointer-events:auto;justify-self:start;min-width:92px}.canvas-mode-confirm-strip{background:linear-gradient(180deg, #111b28f5, #080e16fa), var(--editor-bg);border-top:1px solid #bccbdc2e;grid-row:2;justify-content:center;align-items:center;gap:10px;min-height:58px;padding:7px 12px;display:flex;box-shadow:0 -10px 24px #0000002e}.canvas-mode-confirm-button{min-width:190px;min-height:42px;color:var(--editor-active-fg);cursor:pointer;background:linear-gradient(135deg,#21c376f5,#14b8a6f0);border:1px solid #ffffff47;border-radius:999px;justify-content:center;align-items:center;padding:0 22px;font-size:12px;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 12px 28px #14b8a63d,inset 0 1px #ffffff4d}.canvas-mode-confirm-button:hover{filter:brightness(1.08)}.canvas-mode-status{min-width:min(620px,100%);color:color-mix(in srgb, var(--editor-teal) 12%, #fff 88%);border:1px solid color-mix(in srgb, var(--editor-teal) 26%, transparent);background:color-mix(in srgb, var(--editor-teal) 8%, transparent);border-radius:999px;grid-template-columns:auto auto auto;align-items:center;gap:10px;padding:5px 6px 5px 14px;display:inline-grid}.canvas-mode-status strong{color:color-mix(in srgb, var(--editor-teal) 30%, #fff 70%);font-size:12px;font-weight:900}.canvas-mode-status span{min-width:0;color:var(--editor-text-soft);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:760;overflow:hidden}.edit-group-done-button{min-width:118px}.background-editing-mode-bar{right:50%;bottom:calc(var(--editor-bottom-panel-height) + var(--editor-very-bottom-height) + 10px);z-index:35;color:#172033;background:linear-gradient(#fffcf6fa,#fff1dafa),#fff8ed;border:1px solid #994c1c5c;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;width:min(720px,100% - 32px);min-height:54px;padding:9px 10px 9px 14px;display:flex;position:absolute;transform:translate(50%);box-shadow:0 14px 36px #0000003d}.background-editing-mode-bar strong{color:#172033;font-size:12px;display:block}.background-editing-mode-bar span{color:#4f382f;margin-top:2px;font-size:11px;display:block}.background-editing-mode-actions{flex-shrink:0;gap:8px;display:flex}.background-editing-mode-actions .button{color:#10212b;background:linear-gradient(#fffffffa,#defcf7f0),#f1fffd;border-color:#0f766e6b;box-shadow:0 8px 18px #4c2b141f,inset 0 1px #ffffffb8}.background-editing-mode-actions .button.secondary{color:#fff;background:linear-gradient(#14b8a6f0,#0e7490eb),#0f766e;border-color:#0e749080}.background-editing-mode-actions .button:hover:not(:disabled){color:#07151c;background:linear-gradient(#fff,#bffbf3fa),#d9fffa;border-color:#0f766ea8}.background-editing-mode-actions .button.secondary:hover:not(:disabled){color:#fff;background:linear-gradient(#2dd4bffa,#0e7490f5),#0f766e;border-color:#0e7490b8}.canvas-expand-toggle{width:var(--editor-control-height);min-width:var(--editor-control-height);padding-inline:0}.book-structure-strip{border-top:1px solid var(--editor-border);background:linear-gradient(180deg, #141e2afa, #0a1019fa), var(--editor-bg);grid-row:4;align-items:center;min-height:0;padding:7px 8px;display:grid;overflow:hidden}.book-structure-main{grid-template-columns:minmax(138px,194px) minmax(0,680px) minmax(138px,194px);justify-self:center;align-items:center;gap:12px;width:min(100%,1088px);min-width:0;display:grid}.book-structure-nav{grid-template-columns:62px minmax(0,1fr) 62px;align-items:stretch;gap:10px;min-width:0;display:grid}.page-turn{width:62px;height:62px;color:var(--editor-text-soft);border:1px solid var(--editor-border);border-radius:var(--editor-radius);cursor:pointer;background:#ffffff0b;place-items:center;font-size:46px;font-weight:900;line-height:1;display:grid}.page-turn:hover:not(:disabled){color:var(--editor-active-fg);background:var(--editor-active-bg)}.book-structure-current{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0b;grid-template-rows:1fr 3px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:8px;min-width:0;min-height:62px;padding:8px 14px;display:grid}.page-strip-mini{border:1px solid var(--editor-border-strong);background:#ffffff14;border-radius:4px;width:66px;height:40px;display:flex;overflow:hidden}.page-strip-mini.cover{width:74px}.page-strip-mini span{background:#ffffff1a;border-right:1px solid #ffffff1f;flex:1}.page-strip-mini span:last-child{border-right:0}.page-strip-mini span.active{background:var(--editor-active-bg)}.book-structure-current-copy{gap:1px;min-width:0;display:grid}.canvas-page-label{color:var(--editor-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.book-structure-current-copy span,.book-structure-count{color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.book-structure-progress{background:#ffffff14;border-radius:999px;grid-column:1/-1;height:5px;display:block;overflow:hidden}.book-structure-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--editor-teal), #f4c95d);height:100%;display:block}.book-structure-actions{justify-content:stretch;align-items:center;min-width:0;display:flex}.book-structure-actions button{border:1px solid var(--editor-border);text-overflow:ellipsis;background:#ffffff0a;width:100%;min-width:0;height:38px;min-height:38px;padding-inline:10px;overflow:hidden}.right-tools-panel{grid-template-rows:auto minmax(0,1fr)}.right-tools-content{overscroll-behavior:contain;scrollbar-width:thin;align-content:start;gap:8px;min-height:0;padding-right:2px;display:grid;overflow:auto}.right-tools-panel .collapsible-heading{display:none}.rail-section,.collapsible-panel,.right-tools-section,.photo-transfer-card,.image-assistant-card,.managed-copy-banner,.preflight-summary,.issue-group,.license-module,.missing-assets,.photo-empty,.gallery-item,.saved-background-confirm-dialog{color:var(--editor-text-soft);border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff0b}.collapsible-region{grid-template-rows:1fr;transition:grid-template-rows .16s,opacity .16s;display:grid;overflow:hidden}.collapsible-panel.closed .collapsible-region{opacity:0;grid-template-rows:0fr}.collapsible-content{gap:8px;min-height:0;padding:8px;display:grid}.collapsible-panel.closed .collapsible-content{pointer-events:none;visibility:hidden}.right-tools-panel .collapsible-content{padding:8px}.photo-actions,.stacked-actions,.photo-transfer-actions,.saved-background-confirm-actions{gap:6px;display:grid}.photo-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.right-tools-content.right-tools-photos{grid-template-rows:minmax(0,1fr) auto;align-content:stretch}.photos-panel,.photos-panel .collapsible-region{min-height:0;overflow:hidden}.photos-panel .collapsible-content{flex-direction:column;min-height:0;display:flex}.photo-actions .button,.stacked-actions .button{white-space:normal;justify-content:center;align-items:center;height:auto;min-height:42px;padding:6px 8px;line-height:1.15}.page-target-picker{gap:5px;margin:2px 0;display:grid}.page-target-picker>span{color:var(--editor-text-muted);font-size:9px;font-weight:850}.page-target-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.page-target-picker.target-count-1>div{grid-template-columns:1fr}.page-target-picker.target-count-3>div{grid-template-columns:repeat(3,minmax(0,1fr))}.page-target-picker button{min-width:0;height:var(--editor-control-height);min-height:var(--editor-control-height);color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--editor-border);cursor:pointer;background:#ffffff0b;border-radius:6px;font-size:8px;font-weight:820;overflow:hidden}.photo-empty{color:var(--editor-text-muted);text-align:center;place-items:center;min-height:140px;margin:0;padding:14px;font-size:9px;line-height:1.35;display:grid}.photo-empty span{color:var(--editor-teal);font-size:28px;display:block}.photo-storage-summary{flex-wrap:wrap;gap:5px;margin:0 0 4px;display:flex}.photo-storage-summary span{min-width:0;color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;background:#fffdf8c7;border:1px solid #e8d8c8d1;border-radius:999px;padding:4px 6px;font-size:8px;font-weight:800;overflow:hidden}.virtual-gallery{border-radius:var(--editor-radius);scrollbar-width:thin;flex:1 1 0;height:auto;min-height:0;position:relative;overflow:hidden auto}.virtual-gallery-inner{min-width:0;position:relative}.gallery-source-heading,.gallery-image-row{position:absolute;left:0;right:0}.gallery-source-heading{background:#fffdf8eb;border:1px solid #e8d8c8e6;border-left-width:4px;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;display:grid;overflow:hidden}.gallery-source-tone-0{border-left-color:#ef5a35}.gallery-source-tone-1{border-left-color:#2f9d7e}.gallery-source-tone-2{border-left-color:#d4a21f}.gallery-source-tone-3{border-left-color:#4f7fbf}.gallery-source-tone-4{border-left-color:#9a6fcb}.gallery-source-heading>div:first-child{gap:2px;min-width:0;display:grid}.gallery-source-heading strong,.gallery-source-heading span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.gallery-source-heading strong{color:var(--editor-text-soft);font-size:10px;font-weight:850}.gallery-source-heading span{color:var(--editor-text-muted);font-size:8px;font-weight:750}.gallery-source-actions{gap:4px;display:flex}.gallery-source-actions button{min-width:0;min-height:25px;color:var(--editor-text-soft);cursor:pointer;white-space:nowrap;background:#ffffffa8;border:1px solid #e8d8c8d9;border-radius:6px;padding:0 7px;font-size:7.5px;font-weight:850}.gallery-source-actions button:disabled{cursor:default;opacity:.44}.gallery-item{gap:5px;min-width:0;height:128px;padding:5px;display:grid;position:absolute}.gallery-item.excluded{opacity:.62}.gallery-item.selected{border-color:color-mix(in srgb, var(--editor-teal) 62%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--editor-teal) 18%, transparent)}.gallery-item.missing{border-color:#ffd16673}.gallery-pick{width:100%;min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:4px;display:grid;position:relative}.gallery-pick img,.missing-thumbnail{aspect-ratio:1/.72;object-fit:cover;background:#ffffff14;border-radius:6px;place-items:center;width:100%;height:auto;display:grid;overflow:hidden}.gallery-quick-build-menu{z-index:3;position:absolute;top:7px;left:7px}.gallery-quick-build-menu-trigger{color:#fffdf8;cursor:pointer;background:#080d15ad;border:1px solid #ffffff7a;border-radius:999px;place-items:center;width:24px;height:24px;padding:0;font-size:17px;font-weight:900;line-height:1;display:grid;box-shadow:0 6px 16px #00000047}.gallery-quick-build-menu-trigger:hover,.gallery-quick-build-menu-trigger[aria-expanded=true]{color:#fff;background:#0e1826e0;border-color:#ffffffb8}.gallery-quick-build-menu-popover{z-index:4;border:1px solid var(--editor-border-strong);background:linear-gradient(180deg, #1c2736fa, #0d141efa), var(--editor-surface);width:max-content;max-width:188px;box-shadow:var(--editor-shadow);border-radius:7px;padding:5px;position:absolute;top:28px;left:0}.gallery-quick-build-menu-popover button{width:100%;min-height:28px;color:var(--editor-text-soft);text-align:left;cursor:pointer;white-space:normal;background:0 0;border:0;border-radius:5px;justify-content:flex-start;align-items:center;padding:0 8px;font-size:9px;font-weight:780;line-height:1.15;display:flex}.gallery-quick-build-menu-popover button:hover{color:#fff;background:color-mix(in srgb, var(--editor-teal) 12%, transparent)}.missing-thumbnail{color:#ffe9a8;min-width:0;font-size:10px;font-weight:850;position:relative}.gallery-item span,.gallery-item small,.gallery-item em{min-width:0;color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gallery-item span{color:var(--editor-text-soft);font-size:9px;font-weight:800}.gallery-item small,.gallery-item em{font-size:8px;font-style:normal}.gallery-item .missing-thumbnail{color:#ffe9a8;padding:0;overflow:hidden}.gallery-item .missing-thumbnail>span:first-child{height:100%;color:inherit;text-align:center;place-items:center;padding:0 4px;display:grid}.gallery-item .origin-device-badge{z-index:1;color:#fff8d6;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;background:#090f18c7;border:1px solid #ffe9a861;border-radius:999px;padding:3px 5px;font-size:7.5px;font-weight:850;line-height:1.1;position:absolute;bottom:5px;left:5px;right:5px;overflow:hidden;box-shadow:0 5px 12px #00000038}.gallery-item .gallery-used-indicator{z-index:2;background:linear-gradient(#7dffb2,#29d77c);border:1px solid #caffe2b8;border-radius:999px;place-items:center;width:18px;height:18px;padding:0;display:grid;position:absolute;top:6px;right:6px;overflow:hidden;box-shadow:0 5px 14px #0a9b5657}.gallery-item .gallery-used-indicator:before{content:"";border-bottom:2px solid #062b1d;border-left:2px solid #062b1d;width:8px;height:4px;transform:translateY(-1px)rotate(-45deg)}.gallery-unload{height:var(--editor-control-height);min-height:var(--editor-control-height);color:#ffd5da;cursor:pointer;background:#ff6b7314;border:1px solid #ff6b7347;border-radius:6px;font-size:8px;font-weight:800}.preflight-recovery-section,.issue-list,.issue-group,.image-assistant-card,.photo-transfer-card,.license-module,.missing-assets{gap:8px;display:grid}.preflight-summary{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:8px;display:grid}.score-ring{width:42px;height:42px;color:var(--editor-active-fg);background:var(--editor-active-bg);border-radius:999px;place-items:center;font-size:15px;font-weight:900;display:grid}.preflight-summary strong,.license-module strong,.image-assistant-card strong,.issue-group strong,.missing-assets strong{color:var(--editor-text);font-size:11px}.preflight-summary p,.image-assistant-card p,.transfer-note,.photo-transfer-card p,.missing-assets p{color:var(--editor-text-muted);margin:0;font-size:10px;line-height:1.35}.issue-group{padding:8px}.issue-group button{width:100%;color:var(--editor-text-soft);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:8px minmax(0,1fr);gap:7px;padding:6px 0;font-size:10px;display:grid}.issue-group i{background:#f4c95d;border-radius:999px;width:8px;height:8px;margin-top:4px}.issue-group i.error{background:var(--editor-danger)}.issue-group small{color:var(--editor-text-muted);font-size:9px;display:block}.managed-copy-banner,.image-assistant-card,.photo-transfer-card{padding:8px}.managed-copy-banner{background:#ffd16614;border-color:#ffd16657;gap:8px;display:grid}.image-assistant-card.needs-attention{background:#ffd16614;border-color:#ffd16657}.image-assistant-heading,.image-assistant-summary,.photo-transfer-card dl,.paid-export-list{gap:6px;display:grid}.image-assistant-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center}.image-assistant-heading span,.paid-export-list em{color:var(--editor-active-fg);background:var(--editor-active-bg);border-radius:999px;padding:3px 6px;font-size:8px;font-style:normal;font-weight:850}.image-assistant-summary span{color:var(--editor-text-muted);border:1px solid var(--editor-border);background:#ffffff09;border-radius:6px;padding:5px 6px;font-size:9px;display:block}.image-assistant-missing summary{color:#ffe9a8;cursor:pointer;font-size:10px;font-weight:800}.image-assistant-missing ul,.missing-assets ul,.photo-transfer-file-list,.cleanup-list{gap:5px;max-height:150px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.image-assistant-missing li,.missing-assets li,.photo-transfer-file-list li,.cleanup-list li{min-width:0;color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--editor-border);background:#ffffff09;border-radius:6px;padding:6px 7px;font-size:9px;overflow:hidden}.paid-export-list button{width:100%;color:var(--editor-text-soft);text-align:left;border:1px solid var(--editor-border);border-radius:var(--editor-radius);cursor:pointer;background:#ffffff0a;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.paid-export-list span{gap:2px;min-width:0;display:grid}.paid-export-list small{color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.license-module.licensed{border-color:color-mix(in srgb, var(--editor-teal) 34%, transparent);background:color-mix(in srgb, var(--editor-teal) 8%, transparent)}.license-module.modified{background:#ffd16614;border-color:#ffd16657}.photo-transfer-card dl{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.photo-transfer-card dl div{border:1px solid var(--editor-border);background:#ffffff09;border-radius:6px;gap:2px;min-width:0;padding:6px;display:grid}.photo-transfer-card dt,.photo-transfer-card dd{margin:0}.photo-transfer-card dt{color:var(--editor-text-muted);font-size:8px;font-weight:850}.photo-transfer-card dd{color:var(--editor-text);font-size:10px;font-weight:800}.transfer-progress{gap:4px;display:grid}.transfer-progress small{color:var(--editor-text-muted);font-size:9px;line-height:1.35}.transfer-progress progress{width:100%;accent-color:var(--editor-teal)}.photo-transfer-actions .button.disabled{cursor:not-allowed;opacity:.48;pointer-events:none}.photo-transfer-link{gap:6px;display:grid}.photo-transfer-link span{min-width:0;color:var(--editor-text-muted);text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--editor-border);background:#ffffff09;border-radius:6px;padding:6px;font-size:9px;overflow:hidden}.photo-transfer-error,.form-error{color:#ffd5da;margin:0;font-size:10px;line-height:1.35}.cleanup-backdrop,.checkout-backdrop,.sticker-drawer-backdrop,.book-preview-backdrop,.saved-background-confirm-overlay{z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#02070dad;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.cleanup-confirm-backdrop{z-index:1200}.cleanup-dialog,.checkout-panel,.book-preview-modal,.sticker-drawer,.saved-background-confirm-dialog{color:var(--editor-text);border:1px solid var(--editor-border-strong);border-radius:var(--editor-radius);background:linear-gradient(180deg, #1d2938fa, #0b121cfa), var(--editor-surface);box-shadow:var(--editor-shadow)}.cleanup-dialog,.saved-background-confirm-dialog{gap:12px;width:min(440px,100%);padding:16px;display:grid}.book-settings-dialog{width:min(560px,100vw - 32px);max-height:min(760px,100dvh - 32px);overflow:auto}.section-heading,.checkout-heading,.book-settings-heading{gap:4px;display:grid}.book-settings-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start}.section-heading h2,.checkout-heading h2,.book-settings-heading h2,.saved-background-confirm-dialog h3{color:var(--editor-text);margin:0;font-size:17px;font-weight:850;line-height:1.2}.eyebrow{color:var(--editor-teal);margin:0;font-size:10px;font-weight:850}.muted,.checkout-note,.checkout-helper,.book-settings-note,.saved-background-confirm-dialog p{color:var(--editor-text-muted);margin:0;font-size:11px;line-height:1.4}.photo-package-expected-file{overflow-wrap:anywhere;color:var(--editor-text);border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff12;padding:9px 10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:800;line-height:1.35;display:block}.cleanup-actions,.checkout-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.photo-package-load-actions{grid-template-columns:1fr}.checkout-backdrop{z-index:900;place-items:stretch stretch;padding:10px}.checkout-panel{scrollbar-gutter:stable;background:linear-gradient(#1d2938cc,#0b121ccc),#121c28cc;align-content:start;gap:12px;width:100%;height:100%;max-height:none;padding:20px;display:grid;overflow:auto}.checkout-panel:has(.checkout-shipping){grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr);align-items:start}:is(.checkout-panel:has(.checkout-shipping) .checkout-heading,.checkout-panel:has(.checkout-shipping) .checkout-options,.checkout-panel:has(.checkout-shipping) .checkout-note,.checkout-panel:has(.checkout-shipping) .checkout-legal,.checkout-panel:has(.checkout-shipping) .checkout-actions,.checkout-panel:has(.checkout-shipping)>.checkout-helper){grid-column:1/-1}.checkout-panel:has(.checkout-shipping) .checkout-shipping{grid-column:1;grid-template-columns:minmax(0,1fr) minmax(310px,.95fr);align-items:start}.checkout-panel:has(.checkout-shipping) .checkout-summary{grid-column:2}:is(.checkout-panel:has(.checkout-shipping) .checkout-book-spec-summary,.checkout-panel:has(.checkout-shipping) .checkout-address-card,.checkout-panel:has(.checkout-shipping) .checkout-shipping-grid){grid-column:1}.checkout-panel:has(.checkout-shipping) .checkout-production-estimate{grid-area:1/2/span 3}.checkout-panel:has(.checkout-shipping) .checkout-shipping>.button.grow{grid-column:1/-1}.checkout-panel:has(.checkout-shipping) .checkout-error{grid-column:1/-1}.checkout-panel:has(.checkout-shipping) .checkout-notice{grid-column:1/-1}.checkout-options,.checkout-summary,.checkout-shipping,.checkout-address-card,.checkout-production-estimate,.checkout-book-spec-summary,.checkout-admin-diagnostics,.book-settings-grid{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:linear-gradient(#ffffff0e,#ffffff07),#ffffff0a;gap:10px;padding:12px;display:grid}.checkout-options{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-options button{min-height:64px;color:var(--editor-text-soft);text-align:left;border:1px solid var(--editor-border);border-radius:var(--editor-radius);cursor:pointer;background:#ffffff0a;gap:5px;padding:11px;display:grid}.checkout-options button:disabled,.checkout-options button.disabled{opacity:1;color:#d4deeab8;background:#ffffff08;border-color:#bccbdc24}.checkout-options button strong,.checkout-summary strong,.checkout-shipping strong,.checkout-production-estimate strong,.checkout-book-spec-summary strong,.checkout-address-summary strong{color:var(--editor-text)}.checkout-options button span,.checkout-heading p,.checkout-summary span,.checkout-summary small,.checkout-summary s,.checkout-shipping span,.checkout-shipping small,.checkout-address-summary span,.checkout-production-estimate>div>span,.checkout-shipping-grid label{color:var(--editor-text-soft)}.checkout-options button:not(.selected):not([aria-pressed=true]) span,.checkout-summary small,.checkout-summary s,.checkout-shipping small,.checkout-address-summary span,.checkout-production-estimate>div>span,.checkout-shipping-grid label{color:#d4deead1}.checkout-options button:disabled strong,.checkout-options button.disabled strong{color:#f7f3eab8}.checkout-options button:disabled span,.checkout-options button.disabled span{color:#d4deea9e}.checkout-line,.checkout-total{color:var(--editor-text-soft);justify-content:space-between;align-items:flex-start;gap:12px;font-size:11px;display:flex}.checkout-line>div{gap:2px;display:grid}.checkout-line>span,.checkout-line>strong,.checkout-total>strong{color:var(--editor-text);text-align:right;white-space:nowrap;font-weight:850}.checkout-line.compact>span:first-child,.checkout-total>span{color:#d4deead6}.checkout-total{color:var(--editor-text);border-top:1px solid var(--editor-border);padding-top:8px;font-size:13px;font-weight:850}.checkout-pdf-offer-summary{border:1px solid color-mix(in srgb, var(--editor-teal) 20%, transparent);border-radius:var(--editor-radius);background:color-mix(in srgb, var(--editor-teal) 7%, transparent);gap:8px;padding:10px;display:grid}.checkout-line.savings strong{color:var(--editor-teal)}.checkout-shipping-grid{grid-template-columns:120px minmax(0,1fr);gap:10px;display:grid}.checkout-shipping-grid label{color:#f7f3eae6;gap:5px;font-size:10px;font-weight:800;display:grid}.checkout-production-estimate .checkout-total strong{color:var(--editor-text);font-size:13px}.checkout-shipping select{color:var(--editor-text)}.checkout-address-summary{gap:3px;display:grid}.checkout-admin-pricing{color:var(--editor-text-soft);border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff09;gap:8px;padding:10px;display:grid}.checkout-admin-pricing summary{color:var(--editor-text);cursor:pointer;justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:850;display:flex}.checkout-admin-pricing summary span{align-items:center;gap:6px;display:inline-flex}.checkout-admin-pricing summary em,.checkout-admin-badge{color:var(--editor-active-fg);background:var(--editor-active-bg);border-radius:999px;font-style:normal}.checkout-admin-pricing summary em{padding:3px 7px;font-size:8px}.checkout-admin-badge{padding:2px 6px;font-size:8px}.checkout-error,.checkout-notice{border-radius:var(--editor-radius);margin:0;padding:8px;font-size:10px;line-height:1.35}.checkout-error{color:#ffd5da;background:#ff6b731a}.checkout-notice{color:#fff2b8;background:#ffd1661a}.legal-checkbox,.toggle-row{color:var(--editor-text-soft);align-items:center;gap:8px;font-size:10px;display:flex}.checkout-legal{border:1px solid var(--editor-border);border-radius:var(--editor-radius);background:#ffffff09;align-items:flex-start;padding:10px;line-height:1.4}.checkout-legal a,.checkout-note a,.checkout-helper a{color:#c9fff4}.checkout-note,.checkout-helper{color:#d4deeae0}.checkout-actions .button{min-height:38px}.checkout-panel .button:disabled{opacity:1;color:#d4deeaa3;box-shadow:none;background:#ffffff0a;border-color:#bccbdc24}@media (max-width:920px){.quick-build-dropdown-stack{width:min(760px,100vw - 24px)}.quick-build-panel-layout{grid-template-columns:1fr}.quick-build-control-grid{grid-template-columns:repeat(2,minmax(132px,1fr))}.quick-build-compact-options{grid-template-columns:minmax(150px,1fr) minmax(128px,.8fr) auto}.quick-build-photo-pool-dock{max-height:190px}.quick-build-keywords-panel{max-height:180px}.quick-build-keywords-panel .quick-build-keyword-children{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-topbar .topbar-right>.pdf-purchase-control{flex-basis:220px;width:220px;padding-inline:12px}.editor-topbar .topbar-menu>.quick-build-trigger{min-width:164px;padding-inline:13px 16px}:is(.checkout-panel,.checkout-panel:has(.checkout-shipping)){grid-template-columns:1fr;width:100%;height:100%;max-height:none;padding:14px}:is(.checkout-panel:has(.checkout-shipping) .checkout-heading,.checkout-panel:has(.checkout-shipping) .checkout-options,.checkout-panel:has(.checkout-shipping) .checkout-note,.checkout-panel:has(.checkout-shipping) .checkout-legal,.checkout-panel:has(.checkout-shipping) .checkout-actions,.checkout-panel:has(.checkout-shipping)>.checkout-helper,.checkout-panel:has(.checkout-shipping) .checkout-shipping,.checkout-panel:has(.checkout-shipping) .checkout-summary){grid-column:1}.checkout-panel:has(.checkout-shipping) .checkout-shipping{grid-template-columns:1fr}.checkout-panel:has(.checkout-shipping) .checkout-book-spec-summary{grid-area:auto/1}.checkout-panel:has(.checkout-shipping) .checkout-address-card{grid-area:auto/1}.checkout-panel:has(.checkout-shipping) .checkout-shipping-grid{grid-area:auto/1}.checkout-panel:has(.checkout-shipping) .checkout-production-estimate{grid-area:auto/1}.checkout-panel:has(.checkout-shipping) .checkout-shipping>.button.grow{grid-area:auto/1}.checkout-panel:has(.checkout-shipping) .checkout-error{grid-area:auto/1}.checkout-panel:has(.checkout-shipping) .checkout-notice{grid-area:auto/1}.checkout-shipping-grid{grid-template-columns:1fr}}.book-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.book-settings-grid div{gap:2px;min-width:0;display:grid}.book-settings-grid dt,.book-settings-grid dd{margin:0}.book-settings-grid dt{color:var(--editor-text-muted);font-size:9px;font-weight:850}.book-settings-grid dd{overflow-wrap:anywhere;color:var(--editor-text);font-size:11px;font-weight:820}.editor-shell :is(.quick-build-scope-control button,.creative-tools-tabs button,.sticker-quick-filters button,.background-quick-filters button,.selection-properties-selector button,.property-secondary-selector button,.shared-attribute-scope button,.toolbar-segmented button,.edit-snap-controls button,.background-action-strip .cover-background-target button,.selected-object-action-strip button,.canvas-view-mode-controls button,.canvas-guides-toggle,.canvas-expand-toggle,.canvas-page-select-toggle,.canvas-multi-select-toggle,.canvas-page-lock-toggle,.page-target-picker button,.checkout-options button):is(.active,.selected,[aria-pressed=true],[aria-selected=true],[aria-checked=true]):not(:disabled):not(.disabled){color:var(--editor-active-fg);border-color:color-mix(in srgb, var(--editor-teal) 62%, transparent);background:var(--editor-active-bg)}.editor-shell .checkout-options button:is(.selected,[aria-pressed=true]):not(:disabled):not(.disabled) :is(strong,span){color:var(--editor-active-fg)}@media (prefers-reduced-motion:reduce){.editor-shell *,.editor-shell :before,.editor-shell :after{scroll-behavior:auto;transition-duration:1ms;animation-duration:1ms}}
body:has(.fixed-interface-shell){overscroll-behavior:none;overflow:hidden}.editor-zoom-viewport{z-index:0;background:radial-gradient(circle at 18% 0, #ff8a4c29, transparent 32%), radial-gradient(circle at 86% 16%, color-mix(in srgb, var(--editor-teal) 14%, transparent), transparent 30%), linear-gradient(180deg, #070b12 0%, #101826 100%);touch-action:none;overscroll-behavior:none;position:fixed;inset:0;overflow:hidden}.editor-zoom-surface.editor-shell{transform-origin:0 0;will-change:transform;width:1194px;min-width:1194px;max-width:none;height:834px;min-height:834px;max-height:none;position:absolute;top:0;left:0}.book-preview-backdrop{z-index:1100;background:radial-gradient(circle at 50% 16%, #ff8a4c2e, transparent 34%), radial-gradient(circle at 78% 74%, color-mix(in srgb, var(--editor-teal) 12%, transparent), transparent 32%), #02070dd1}.book-preview-modal{grid-template-rows:auto minmax(0,1fr);width:min(1080px,100vw - 32px);height:min(760px,100dvh - 32px);display:grid;overflow:hidden}.book-preview-header{border-bottom:1px solid var(--editor-border);background:#ffffff09;justify-content:space-between;align-items:start;gap:16px;padding:14px;display:flex}.book-preview-header h2,.book-preview-header p,.book-preview-header span,.book-preview-header small{margin:0}.book-preview-header h2{color:var(--editor-text);font-size:18px;line-height:1.2}.book-preview-header span,.book-preview-header small{color:var(--editor-text-muted);font-size:11px;line-height:1.35;display:block}.book-preview-layout{grid-template-columns:250px minmax(0,1fr);min-width:0;min-height:0;display:grid}.book-preview-nav{border-right:1px solid var(--editor-border);scrollbar-width:thin;background:#ffffff08;align-content:start;gap:6px;min-height:0;padding:10px;display:grid;overflow:auto}.book-preview-nav button{min-height:52px;color:var(--editor-text-soft);text-align:left;border:1px solid var(--editor-border);cursor:pointer;background:#ffffff0a;border-radius:8px;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px;padding:7px;display:grid}.book-preview-nav button:hover,.book-preview-nav button.active,.book-preview-nav button[aria-pressed=true]{color:#061115;background:linear-gradient(135deg, var(--editor-teal), color-mix(in srgb, var(--editor-teal) 16%, #fff))}.book-preview-nav strong,.book-preview-nav small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.book-preview-nav strong{font-size:10px}.book-preview-nav small{opacity:.76;font-size:8px}.book-sheet-mini{background:#ffffffdb;border:1px solid #08111547;border-radius:4px;height:32px;display:flex;overflow:hidden}.book-sheet-mini i{border-right:1px solid #0811152e;flex:1}.book-sheet-mini i:last-child{border-right:0}.book-sheet-mini i.content{background:linear-gradient(135deg,#fffdf8,#ffd166)}.book-sheet-mini i.blank{background:#fff}.book-preview-workspace{background:linear-gradient(135deg,#2d526333,#09111e00 46%),linear-gradient(#101b2d 0%,#07111f 58%,#040b15 100%);grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;box-shadow:inset 0 1px #fffaee0f,inset 0 0 48px #00000047}.book-preview-flipbook-shell{perspective:1800px;isolation:isolate;background:linear-gradient(#fffaee09,#fffaee00),linear-gradient(135deg,#21374f9e,#060d1857);place-items:center;min-width:0;min-height:0;padding:22px;display:grid;position:relative;overflow:hidden}.book-preview-flipbook-shell:before{z-index:-1;content:"";filter:blur(16px);background:radial-gradient(#00000061,#0000 68%);border-radius:50%;height:14%;position:absolute;bottom:10%;left:13%;right:13%}.book-preview-flipbook{filter:drop-shadow(0 24px 42px #00000061)drop-shadow(0 0 24px #ff8a4c1a);overflow:visible;transform:rotateX(2deg)}.book-preview-flip-page{background:linear-gradient(#111f33f5,#08101dfa),#08111d;border:1px solid #b5cbe06b;border-radius:3px;width:100%;height:100%;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff0f,inset 0 0 34px #0000003d,0 20px 42px #0000006b,0 0 0 1px #040a127a}.book-preview-flip-page.full-cover{padding:0}.book-preview-flip-page .canvas-scroll{box-shadow:none;background:0 0}.book-preview-flip-page .spread-stage{box-shadow:none;filter:drop-shadow(0 18px 28px #0000003d);background:0 0}.cover-overview-shell{width:100%}.cover-overview-page{aspect-ratio:2.15;width:min(100%,940px)}.book-preview-page-labels{border-top:1px solid var(--editor-border);background:#080e18db;justify-content:center;gap:18px;padding:10px 14px;display:flex}.book-preview-page-labels span{color:#fffdf8c7;font-size:10px}@media (max-width:760px){.book-preview-layout{grid-template-columns:1fr}.book-preview-nav{border-right:0;border-bottom:1px solid var(--editor-border);grid-auto-columns:220px;grid-auto-flow:column;overflow-x:auto}}@media (prefers-reduced-motion:reduce){.book-preview-flipbook,.book-preview-flip-page{transition-duration:1ms;animation:none}}
.interaction-feedback-stack{right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));z-index:80;pointer-events:none;gap:12px;width:min(360px,100vw - 32px);display:grid;position:fixed}body:has(.editor-shell) .interaction-feedback-stack{right:max(48px, calc(env(safe-area-inset-right) + 48px));bottom:max(76px, calc(env(safe-area-inset-bottom) + 76px))}.interaction-sound-toggle{pointer-events:auto;color:var(--muted);cursor:pointer;background:#fffdf8db;border:1px solid #e8d8c8d1;border-radius:999px;justify-self:end;padding:7px 11px;box-shadow:0 10px 24px #62371e1f}.interaction-sound-toggle[aria-pressed=true]{color:#315f3b;background:#ddf3e1}.interaction-toast{pointer-events:auto;color:var(--text);transform-origin:100% 100%;background:linear-gradient(135deg,#fffdf8fa,#fff7edf5);border:1px solid #e8d8c8d6;border-radius:18px;grid-template-columns:32px 1fr auto;align-items:start;gap:11px;padding:13px 13px 13px 12px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 44px #62371e29,inset 0 0 0 1px #ffffffbd}.interaction-toast strong{margin-bottom:2px;font-size:12px;display:block}.interaction-toast p{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.interaction-toast>button{width:26px;height:26px;color:var(--muted);cursor:pointer;background:#ffffffad;border:0;border-radius:999px}.interaction-toast-icon{background:#fff1e8;border-radius:999px;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.interaction-toast.success .interaction-toast-icon,.interaction-toast.celebration .interaction-toast-icon{color:#315f3b;background:#ddf3e1}.interaction-toast.warning .interaction-toast-icon{color:#8a5a00;background:#ffe4a8}.interaction-toast.error .interaction-toast-icon{color:#9f2f18;background:#ffddd1}.interaction-toast.progress .interaction-toast-icon{color:#ef5a35;background:#ffede6}.interaction-confetti{color:#ef5a35;background:currentColor;border-radius:999px;width:4px;height:4px;position:absolute;top:14px;right:52px;box-shadow:-16px 4px #5fa66b,-7px -8px #ffe4a8,8px -4px #ffb59e,17px 7px #ef5a35}@media (prefers-reduced-motion:no-preference){.button,.button:before,.editor-account-button,.editor-account-button:before,.topbar-menu-button,.interaction-sound-toggle,.interaction-toast>button,.gallery-item,.sticker-card-main,.background-card-main{transition:transform var(--motion-fast) var(--motion-spring), box-shadow var(--motion-standard) ease, border-color var(--motion-standard) ease, background var(--motion-standard) ease, opacity var(--motion-standard) ease}.button:active:not(:disabled),.editor-account-button:active,.topbar-menu-button:active,.interaction-sound-toggle:active,.interaction-toast>button:active{transform:translateY(1px)scale(.985,.97)}.gallery-item:hover,.sticker-card-main:hover,.background-card-main:hover{transform:translateY(-1px)}.interaction-toast{animation:.36s cubic-bezier(.2,.9,.2,1.12) interaction-toast-in}.interaction-toast.progress .interaction-toast-icon{animation:1.15s ease-in-out infinite interaction-progress-pulse}.interaction-toast.celebration .interaction-confetti{animation:.9s ease-out both interaction-confetti-pop}}@keyframes interaction-toast-in{0%{opacity:0;transform:translate(18px,14px)scale(.96)}to{opacity:1;transform:translate(0,0)scale(1)}}@keyframes interaction-progress-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes interaction-confetti-pop{0%{opacity:0;transform:translateY(4px)scale(.65)}35%{opacity:1;transform:translateY(-3px)scale(1.15)}to{opacity:0;transform:translateY(-13px)scale(.9)}}@media (prefers-reduced-motion:reduce){.interaction-toast,.interaction-toast *,.button,.button:before,.editor-account-button,.editor-account-button:before,.topbar-menu-button,.gallery-item,.sticker-card-main,.background-card-main{transition:none!important;animation:none!important}}@media (max-width:720px){.interaction-feedback-stack{width:auto;bottom:12px;left:12px;right:12px}body:has(.editor-shell) .interaction-feedback-stack{right:max(18px, calc(env(safe-area-inset-right) + 18px));bottom:max(68px, calc(env(safe-area-inset-bottom) + 68px));left:max(18px, calc(env(safe-area-inset-left) + 18px));width:auto}}
