*{box-sizing:border-box}html,body{color:var(--h-text);background:var(--h-bg);font-family:var(--h-font-ui);margin:0;font-size:14px}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.36;cursor:not-allowed}a{color:inherit;text-decoration:none}button{background:0 0;border:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--h-focus);outline-offset:3px}input,select,textarea{border:1px solid var(--h-control-border);background:#fff;border-radius:6px;width:100%;min-height:40px;padding:9px 10px}textarea{resize:vertical;line-height:1.5}input[type=checkbox]{accent-color:var(--h-brand);flex:none;width:15px;min-height:15px;margin:0}input[type=range]{accent-color:var(--h-brand);border:0;min-height:26px;padding:0}input[type=color]{cursor:pointer;width:32px;height:30px;min-height:30px;padding:3px}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none}h1,h2,h3,p{margin:0}p{line-height:1.6}svg{flex-shrink:0}hr{border:0;border-top:1px solid var(--h-border);margin:8px 0}.wordmark{font-family:var(--h-font-brand);letter-spacing:-1.3px;color:var(--h-brand);font-size:29px;font-weight:600}.button{border:1px solid var(--h-border);white-space:nowrap;background:#fff;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 13px;font-size:12px;font-weight:600;transition:background .14s;display:inline-flex}.button:hover:not(:disabled){background:var(--h-bg);border-color:var(--h-control-border)}.button.primary{background:var(--h-brand);color:#fff;border-color:var(--h-brand)}.button.primary:hover:not(:disabled){background:var(--h-brand-hover)}.button.subtle{background:0 0;padding:8px 6px;font-size:11px}.button.large{min-height:48px;padding:14px 22px;font-size:14px}.button.full{width:100%}.icon-button{border-radius:6px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.icon-button:hover:not(:disabled){background:var(--h-brand-soft);color:var(--h-brand)}.text-button{color:var(--h-brand);justify-content:center;align-items:center;gap:6px;min-height:32px;padding:4px 0;font-size:12px;font-weight:500;display:inline-flex}.text-button:hover{text-decoration:underline}.muted{color:var(--h-text-muted)}.small{font-size:11px;line-height:1.6}.sr-only{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.eyebrow{letter-spacing:2px;color:var(--h-brand);font-size:10px;font-weight:600}.site-header{border-bottom:1px solid var(--h-border);justify-content:space-between;align-items:center;max-width:1280px;height:96px;margin:auto;padding:0 48px;display:flex}.site-header nav{align-items:center;gap:32px;font-size:12px;display:flex}.hero{grid-template-columns:1.2fr 1fr;align-items:center;gap:50px;max-width:1280px;min-height:660px;margin:0 auto;padding:50px 48px 74px;display:grid}.hero h1{font-family:var(--h-font-brand);letter-spacing:-1.8px;margin:25px 0;font-size:clamp(36px,4.1vw,56px);font-weight:400;line-height:1.16}.hero h1 em{color:var(--h-brand);font-weight:400}.hero-copy>p{max-width:390px;color:var(--h-text-muted);margin-bottom:30px;font-size:16px}.hero-note{color:var(--h-text-muted);margin-top:16px;font-size:10px;display:block}.hero-art{background:#eae4d8;border-radius:45% 45% 4px 4px;place-items:center;height:480px;display:grid;position:relative}.book-cover{background:#fff;border-radius:1px 3px 3px 1px;flex-direction:column;width:267px;height:360px;padding:24px 25px;display:flex;transform:rotate(-7deg);box-shadow:-7px 3px #d2c6b5,1px 3px 0 3px #f8f5ee,16px 22px 30px #20253723}.book-cover>span{letter-spacing:-1px;font:32px/1.1 Georgia,serif}.book-cover>img{object-fit:cover;width:100%;height:165px;margin-top:22px}.book-cover>small{letter-spacing:2px;margin-top:auto;font-size:8px}.art-caption{color:var(--h-brand);font:italic 21px Georgia,serif;position:absolute;bottom:25px;right:-15px;transform:rotate(-7deg)}.how{border-top:1px solid var(--h-border);grid-template-columns:1fr 1.8fr;gap:60px;max-width:1280px;margin:auto;padding:48px;display:grid}.how h2{margin-top:18px;font:32px/1.15 Georgia,serif}.steps{grid-template-columns:repeat(3,1fr);gap:30px;display:grid}.steps article{position:relative}.steps svg{color:var(--h-brand)}.steps article>span{color:var(--h-text-muted);letter-spacing:1px;margin:25px 0 10px;font-size:9px;display:block}.steps h3{margin-bottom:10px;font:17px Georgia,serif}.steps p{color:var(--h-text-muted);font-size:12px}.site-footer{border-top:1px solid var(--h-border);justify-content:space-between;align-items:center;gap:20px;max-width:1280px;margin:auto;padding:30px 48px;font-size:11px;display:flex}.site-footer .wordmark{font-size:24px}.loading-page{height:100dvh;color:var(--h-text-muted);flex-direction:column;justify-content:center;align-items:center;gap:24px;display:flex}.spinner{border:2px solid var(--h-border);border-top-color:var(--h-brand);border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.editor-shell{background:#fff;flex-direction:column;height:100dvh;display:flex;overflow:hidden}.editor-header{border-bottom:1px solid var(--h-border);z-index:30;background:#fff;flex-shrink:0;align-items:center;gap:28px;height:76px;padding:12px 24px;display:flex}.project-meta{flex:1;min-width:100px}.project-meta input{background:0 0;border:1px solid #0000;max-width:350px;min-height:24px;padding:3px 0;font-size:13px;font-weight:500}.project-meta input:hover{border-color:var(--h-border)}.save-state,.save-error{color:var(--h-text-muted);align-items:center;gap:5px;margin-top:2px;font-size:10px;display:flex}.save-state svg{color:var(--h-success)}.save-error{color:var(--h-error)}.header-actions{align-items:center;gap:8px;display:flex}.issue-count{color:var(--h-warning);background:#efe5d4;border-radius:4px;min-width:19px;padding:3px 4px;font-size:9px}.editor-commandbar{border-bottom:1px solid var(--h-border);z-index:70;background:#fff;flex-shrink:0;align-items:center;gap:12px;height:48px;padding:0 18px;display:flex}.undo-actions{gap:2px;display:flex}.command-spacer{flex:1}.view-button{color:var(--h-icon);font-size:12px;font-weight:500}.menu-anchor{position:relative}.menu-scrim{z-index:35;cursor:default;position:fixed;inset:0}.popover{border:1px solid var(--h-border);min-width:250px;box-shadow:var(--h-shadow-popover);z-index:36;background:#fff;border-radius:8px;padding:12px;position:absolute;top:calc(100% + 10px);right:0}.popover>button{text-align:left;border-radius:4px;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:10px;font-size:12px;display:flex}.popover>button:hover{background:var(--h-brand-soft)}.popover>button small{color:var(--h-text-muted);flex-basis:100%;margin-left:26px;font-size:10px;display:block}.popover p{padding:5px}.view-menu .check-row{padding:7px 0}.editor-workspace{flex:1;min-height:0;display:flex}.left-panel{border-right:1px solid var(--h-border);overscroll-behavior:contain;background:#fff;flex-shrink:0;width:262px;overflow-y:auto}.left-panel[tabindex="-1"]{outline-offset:-3px;outline:3px solid #0000;transition:outline-color .18s ease-out}.left-panel[data-guided-focus=true]{outline-color:var(--h-brand)}@media (prefers-reduced-motion:reduce){.left-panel[tabindex="-1"]{transition:none}}.right-panel{border-left:1px solid var(--h-border);overscroll-behavior:contain;background:#fff;flex-shrink:0;width:280px;overflow-y:auto}.panel-content{padding:22px 18px 30px}.panel-heading{margin-bottom:22px}.panel-heading h2{letter-spacing:-.2px;margin-bottom:7px;font-size:14px;font-weight:600}.panel-heading>span{color:var(--h-text-muted);font-size:11px;font-weight:500}.panel-content section{border-top:1px solid var(--h-border);margin-top:22px;padding-top:18px}.panel-content h3{margin-bottom:14px;font-size:12px;font-weight:600}.panel-content h3 small{float:right;color:var(--h-text-muted);font-size:10px;font-weight:400}.panel-content>.muted{margin-bottom:16px;font-size:12px}.canvas-column{background:var(--h-canvas);flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.canvas-viewport{overscroll-behavior:contain;touch-action:pan-x pan-y;flex:1;justify-content:flex-start;align-items:flex-start;min-width:0;min-height:0;display:flex;overflow:auto}.stage-wrap{touch-action:none;flex-shrink:0;margin:auto}.canvas-bottom{flex:none;justify-content:space-between;align-items:center;gap:10px;height:44px;padding:0 18px;display:flex}.canvas-bottom>.text-button{color:var(--h-icon);font-size:11px}.page-nav,.zoom-controls{white-space:nowrap;color:var(--h-icon);align-items:center;gap:4px;font-size:11px;font-weight:500;display:flex}.zoom-controls{border:1px solid var(--h-border);height:30px;color:var(--h-icon);background:#fff;border-radius:5px;font-size:11px;font-weight:500}.zoom-controls .icon-button{width:28px;height:28px}.zoom-reset{width:43px;font-size:11px;font-weight:500}.canvas-bottom .page-nav .icon-button{width:26px;height:30px}.field{flex-direction:column;gap:7px;min-width:0;margin-bottom:12px;font-size:11px;display:flex}.field>span{color:var(--h-text-muted);font-size:11px;font-weight:500}.field>span small{float:right}.field input,.field select,.field textarea{min-width:0;font-size:13px}.field-grid{grid-template-columns:1fr 1fr;gap:0 10px;display:grid}.check-row{color:var(--h-text-muted);cursor:pointer;align-items:center;gap:8px;margin:12px 0;font-size:11px;line-height:1.6;display:flex}.color-field{color:var(--h-text-muted);justify-content:space-between;align-items:center;gap:6px;margin:12px 0;font-size:11px;font-weight:500;display:flex}.color-field>span:last-child{align-items:center;gap:7px;display:flex}.color-field code{color:var(--h-text);font-size:10px}.selection-actions{border-bottom:1px solid var(--h-border);justify-content:space-between;gap:4px;margin-bottom:8px;padding-bottom:14px;display:flex}.selection-actions>button{width:36px;height:32px;color:var(--h-icon);border-radius:4px;place-items:center;display:grid}.selection-actions>button:hover{background:var(--h-brand-soft);color:var(--h-brand)}.settings .selection-actions+section{border:0;margin-top:10px}.align-actions{grid-template-columns:repeat(6,1fr);gap:3px;margin:10px 0;display:grid}.align-actions>button{border:1px solid var(--h-border);border-radius:4px;place-items:center;height:32px;display:grid}.align-actions>button:hover:not(:disabled){background:var(--h-brand-soft);color:var(--h-brand)}.button-pair{gap:6px;margin:8px 0;display:flex}.button-pair>button{white-space:normal;flex:1;min-width:0;line-height:1.3}.quiet-note{color:var(--h-text-muted);font-size:11px;line-height:1.7}.photo-library{grid-template-columns:1fr 1fr;gap:14px 10px;margin:18px 0;display:grid}.asset-card{text-align:left;min-width:0;padding:0}.asset-card>div{background:var(--h-bg);border-radius:4px;place-items:center;height:100px;display:grid;position:relative;overflow:hidden}.asset-card img{object-fit:cover;width:100%;height:100%;transition:transform .15s}.asset-card:hover img{transform:scale(1.05)}.asset-card>div>span{color:var(--h-brand);background:#fff;border-radius:3px;padding:3px 5px;font-size:9px;position:absolute;bottom:5px;right:5px}.asset-card small{text-overflow:ellipsis;white-space:nowrap;color:var(--h-text-muted);margin-top:6px;font-size:9px;display:block;overflow:hidden}.upload-queue{background:var(--h-bg);border-radius:6px;margin:12px 0;padding:10px}.section-label{justify-content:space-between;align-items:center;gap:6px;font-size:10px;display:flex}.section-label .text-button{font-size:9px}.upload-queue progress{width:100%;accent-color:var(--h-brand);height:4px}.upload-item{align-items:center;gap:7px;margin-top:12px;font-size:9px;display:flex}.upload-item>span:not(.spinner){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.upload-item small{color:var(--h-text-muted);white-space:normal;margin-top:3px;display:block}.upload-item.error,.upload-item.error small{color:var(--h-error)}.upload-item .spinner{width:12px;height:12px}.upload-item>svg{color:var(--h-success)}.photo-replace-cancel{margin-top:8px}.tools-content>.quiet-note{margin-top:26px}.miniature{position:relative;overflow:hidden}.mobile-dock,.mobile-panel-header,.panel-backdrop{display:none}.toast{background:var(--h-text);color:#fff;z-index:90;width:max-content;max-width:500px;box-shadow:var(--h-shadow-popover);border-radius:6px;align-items:center;gap:16px;padding:11px 16px;font-size:12px;line-height:1.5;display:flex;position:fixed;bottom:135px;left:50%;transform:translate(-50%)}.toast .icon-button:hover{color:#fff;background:#ffffff15}.dialog{border:1px solid var(--h-border);width:min(570px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--h-text);overscroll-behavior:contain;border-radius:12px;padding:24px;box-shadow:0 18px 80px #20253722}.dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#20253770}.dialog.wide{width:min(940px,100vw - 32px)}.dialog>header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.dialog>header h2{letter-spacing:-.6px;font:27px/1.2 Georgia,serif}.dialog>p{margin:12px 0;font-size:12px}.dialog-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;display:flex}.dialog-actions>.text-button{margin-right:auto}.preflight-summary{background:var(--h-bg);color:var(--h-brand);border-radius:6px;align-items:center;gap:15px;padding:20px;font-size:13px;display:flex}.preflight-summary p{color:var(--h-text-muted);margin-top:5px;font-size:11px}.issue-list{max-height:50dvh;margin-top:16px;overflow:auto}.issue-list>button{text-align:left;border-bottom:1px solid var(--h-border);align-items:center;gap:12px;width:100%;padding:14px 4px;display:flex}.issue-list>button>span:nth-child(2){flex-direction:column;flex:1;gap:6px;font-size:11px;line-height:1.6;display:flex}.issue-list>button>span:nth-child(2)>span{color:var(--h-text-muted)}.issue-dot{background:var(--h-warning);border-radius:50%;flex:none;width:7px;height:7px}.issue-dot.error{background:var(--h-error)}.dialog>.quiet-note{margin-top:20px}.pages-toolbar,.preview-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;font-size:11px;display:flex}.pages-grid{grid-template-columns:repeat(5,1fr);gap:22px;max-height:63dvh;padding:4px;display:grid;overflow:auto}.page-grid-card{border:1px solid var(--h-border);border-radius:6px;padding:8px}.page-grid-card.active{border-color:var(--h-brand);background:var(--h-brand-soft)}.page-grid-preview{width:100%;padding:0;font-size:10px}.page-grid-preview>.miniature{width:100%;margin-bottom:8px}.page-card-actions{justify-content:space-between;margin-top:8px;display:flex}.page-card-actions .icon-button{width:24px;height:28px}.book-preview{background:var(--h-canvas);border-radius:6px;align-items:center;gap:8px;padding:4px 10px;display:flex}.preview-canvas{flex:1;min-width:0;height:min(58dvh,560px);display:flex}.preview-range{width:100%;margin-top:15px}.text-editor{padding:18px;font-family:Georgia,serif;font-size:20px!important}@media (min-width:1500px){.left-panel{width:280px}.right-panel{width:300px}.panel-content{padding:26px 22px}.editor-header{padding-left:28px}}@media (max-width:1200px){.left-panel{width:224px}.right-panel{width:252px}.panel-content{padding:20px 14px}.editor-header{gap:20px;padding:12px 18px}.canvas-bottom{gap:4px;padding:0 10px}.button-pair .button{gap:4px;font-size:10px}.hero{gap:30px}}@media (max-width:900px){.editor-header{gap:14px;height:72px;padding:10px 14px}.editor-header .wordmark{font-size:25px}.project-meta input{max-width:190px}.desktop-label{display:none}.header-actions{gap:5px}.header-actions .button{padding:8px 10px}.editor-commandbar{z-index:29;gap:8px;height:46px;padding:0 10px}.left-panel,.right-panel{display:none}.canvas-bottom{height:42px;padding:0 14px}.editor-workspace{min-height:0}.mobile-dock{border-top:1px solid var(--h-border);padding:6px 3px max(7px, env(safe-area-inset-bottom));z-index:60;background:#fff;flex:none;justify-content:space-around;gap:1px;display:flex}.mobile-dock>button{min-width:0;min-height:49px;color:var(--h-icon);border-radius:5px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;padding:4px 0;font-size:10px;font-weight:500;display:flex}.mobile-dock>button.active{color:var(--h-brand);background:var(--h-brand-soft)}.panel-backdrop{z-index:40;background:#20253755;display:block;position:fixed;inset:0}.left-panel.mobile-open,.right-panel.mobile-open{z-index:50;border:0;border-radius:16px 16px 0 0;width:100%;max-height:75dvh;display:block;position:fixed;bottom:64px;left:0;right:0;box-shadow:0 -10px 40px #20253722}.mobile-panel-header{border-bottom:1px solid var(--h-border);z-index:2;background:#fff;justify-content:space-between;align-items:center;min-height:54px;padding:10px 18px;font-size:12px;font-weight:600;display:flex;position:sticky;top:0}.panel-content{max-width:620px;margin:auto;padding:22px}.mobile-open .panel-heading{display:none}.mobile-open .photo-library{grid-template-columns:repeat(3,1fr)}.mobile-open .asset-card>div{height:120px}.mobile-open .align-actions>button{height:44px}.mobile-open .button,.mobile-open input,.mobile-open select{min-height:44px}.mobile-open .selection-actions>button{width:44px;height:44px}.mobile-open .field-grid{gap:0 14px}.toast{max-width:calc(100vw - 24px);bottom:150px}.pages-grid{grid-template-columns:repeat(4,1fr)}.hero{min-height:auto;padding:50px 30px 70px}.hero h1{font-size:38px}.hero-art{height:390px}.book-cover{width:220px;height:300px;padding:22px}.book-cover>span{font-size:27px}.book-cover>img{height:135px}.how{grid-template-columns:1fr;gap:35px;padding:40px 30px}.site-header{height:80px;padding:0 30px}.site-footer{padding:25px 30px}.art-caption{font-size:17px;right:0}}@media (max-width:600px){.editor-header{flex-wrap:wrap;align-content:center;gap:5px 12px;height:96px;padding:9px 12px}.editor-header .wordmark{font-size:23px}.project-meta{flex-basis:100%;order:3;justify-content:space-between;align-items:center;gap:8px;display:flex}.project-meta input{min-width:0;max-width:55%;font-size:11px}.save-state,.save-error{white-space:nowrap;margin:0;font-size:8px}.save-state svg,.save-error svg{width:10px}.header-actions{margin-left:auto}.header-actions .button{height:34px;min-height:34px;padding:6px 9px;font-size:11px}.preflight-button{gap:4px}.header-actions .button svg{width:15px}.header-actions .issue-count{min-width:15px;padding:2px;font-size:8px}.editor-commandbar{gap:6px;height:42px}.editor-commandbar .icon-button{width:30px;height:34px}.view-button{color:var(--h-icon);font-size:12px;font-weight:500}.canvas-bottom{gap:5px;padding:0 8px}.canvas-bottom>.text-button{color:var(--h-icon);gap:3px;font-size:11px}.canvas-bottom .page-nav{gap:0;font-size:9px}.zoom-controls{height:28px;color:var(--h-icon);gap:0;font-size:11px;font-weight:500}.zoom-controls .icon-button{width:24px;height:26px}.zoom-reset{width:36px;font-size:11px;font-weight:500}.mobile-dock>button{color:var(--h-icon);font-size:10px;font-weight:500}.mobile-dock>button svg{width:20px}.dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:18px}.dialog.wide{width:calc(100vw - 20px)}.dialog>header h2{font-size:23px}.dialog>header{gap:8px;margin-bottom:15px}.dialog-actions{flex-wrap:wrap;gap:8px}.dialog-actions .button{min-height:44px;font-size:11px}.pages-grid{grid-template-columns:repeat(3,1fr);gap:8px}.page-grid-card{padding:5px}.page-card-actions{gap:0}.page-card-actions .icon-button{width:21px;height:30px}.page-card-actions .icon-button svg{width:12px}.book-preview{gap:0;padding:4px 0}.book-preview>.icon-button{width:28px}.preview-canvas{height:48dvh}.preview-toolbar{gap:8px;font-size:10px}.preview-toolbar .button{padding:8px;font-size:10px}.mobile-open .photo-library{gap:12px 8px}.mobile-open .asset-card>div{height:92px}.mobile-open .panel-content{padding:18px}.site-header{height:76px;padding:0 22px}.site-header nav>a:first-child{display:none}.site-header nav{gap:0}.site-header .wordmark{font-size:27px}.site-header .button{font-size:11px}.hero{grid-template-columns:1fr;gap:44px;padding:40px 22px 50px}.hero h1{margin:20px 0;font-size:41px}.hero-copy>p{max-width:340px;font-size:14px}.hero-art{height:365px;margin:0 20px}.book-cover{width:228px;height:305px}.art-caption{bottom:10px;right:-20px}.hero-note{font-size:9px}.how{gap:30px;padding:35px 22px}.how h2{font-size:29px}.steps{gap:20px}.steps h3{font-size:15px;line-height:1.4}.steps p{font-size:10px}.steps article>span{margin-top:18px}.site-footer{flex-wrap:wrap;padding:25px 22px}.site-footer>span:nth-child(2){display:none}.toast{gap:8px;padding:10px 12px;font-size:11px;bottom:145px}.view-menu{min-width:250px;right:0}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.miniature{container-type:inline-size}.multi-select-toggle{display:none}.mobile-panel-header select{border:0;width:auto;min-height:36px;padding-left:0;font-size:12px;font-weight:600}.clipboard-actions{margin-top:12px}@media (max-width:900px){.multi-select-toggle{border:1px solid var(--h-control-border);background:#fff;border-radius:4px;padding:6px 8px;font-size:9px;display:block}.multi-select-toggle.active{background:var(--h-brand);color:#fff;border-color:var(--h-brand)}}.context-scrim{z-index:70;cursor:default;position:fixed;inset:0}.context-menu{z-index:71;border:1px solid var(--h-border);min-width:200px;box-shadow:var(--h-shadow-popover);background:#fff;border-radius:8px;padding:8px;position:fixed}.context-menu>button{text-align:left;border-radius:4px;width:100%;padding:9px 12px;font-size:11px;display:block}.context-menu>button:hover:not(:disabled){background:var(--h-brand-soft);color:var(--h-brand)}.preview-toolbar{flex-wrap:wrap}.preview-toolbar>span{flex:1}.preview-toolbar>button{font-size:11px}@media (max-width:600px){.editor-header{gap:5px 6px;height:104px}.header-actions .button{height:44px;min-height:44px}.header-actions .menu-anchor .button svg:last-child{display:none}.canvas-bottom{height:48px}.canvas-bottom>.text-button{width:32px;min-height:44px;color:var(--h-icon);font-size:11px}.canvas-bottom>.text-button span{display:none}.canvas-bottom .page-nav .icon-button{width:44px;height:44px}.zoom-controls{height:44px;color:var(--h-icon);font-size:11px;font-weight:500}.zoom-controls .icon-button{width:44px;height:42px}.zoom-reset{width:32px;font-size:11px;font-weight:500}.mobile-dock>button{min-height:49px;color:var(--h-icon);font-size:10px;font-weight:500}}.book-workspace{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;display:flex;overflow:auto}.book-spread{flex-shrink:0;margin:auto;display:flex;position:relative}.book-spread>.canvas-viewport{flex:1;min-width:0;overflow:visible}.book-spread .stage-wrap{flex-shrink:0;margin:0}.book-binding{pointer-events:none;background:#20253722;width:2px;position:absolute;box-shadow:-3px 0 7px #20253718,3px 0 7px #2025370c}.spread-page-label{text-align:center;color:var(--h-text-muted);pointer-events:auto;height:18px;padding:0 12px;font-size:9px;position:absolute;top:0}.preview-canvas>.book-workspace{width:100%}@media (min-width:901px){.editor-header{height:64px;padding:8px 20px}.editor-commandbar{height:42px}.canvas-bottom{height:40px}.right-panel.is-collapsed{display:none}.right-panel{width:272px}.panel-content{padding-top:20px}.book-preview{padding:0}.preview-canvas{height:min(65dvh,650px)}}@media (max-width:900px){.book-spread .stage-wrap{margin:0}.spread-page-label{font-size:9px}}@media (min-width:901px){.editor-shell{--editor-left:340px;grid-template-columns:var(--editor-left) minmax(0, 1fr);grid-template-rows:64px minmax(0,1fr) 134px;display:grid}.editor-header{display:contents}.editor-header .wordmark{z-index:32;letter-spacing:0;width:25px;height:34px;color:var(--h-text-muted);grid-area:1/1;place-self:center start;place-items:center;margin-left:15px;font-size:0;display:grid}.editor-header .wordmark:before{content:"‹";font:30px/1 var(--h-font-ui)}.editor-header .project-meta{border-right:1px solid var(--h-border);border-bottom:1px solid var(--h-border);background:#fff;grid-area:1/1;width:100%;min-width:0;height:64px;padding:10px 18px 10px 52px}.editor-header .project-meta input{max-width:100%;font-size:13px;font-weight:600}.editor-header .save-state,.editor-header .save-error{font-size:10px}.editor-header .header-actions{z-index:30;border-bottom:1px solid var(--h-border);background:#fff;grid-area:1/2;place-self:center end;height:64px;padding:0 18px 0 10px;position:relative}.editor-commandbar{grid-area:1/2;gap:8px;min-width:0;height:64px;margin-right:342px;padding:0 12px}.editor-workspace{grid-area:2/1/auto/-1;min-height:0}.page-strip{grid-area:3/1/auto/-1}}@media (min-width:1500px){.editor-shell{--editor-left:358px}}@media (min-width:901px) and (max-width:1200px){.editor-shell{--editor-left:292px}.editor-commandbar{margin-right:282px}.editor-header .header-actions .button{padding:8px 10px}.editor-header .desktop-label{display:none}}.canvas-column{background:var(--h-canvas);container-type:inline-size}.spread-page-label{height:29px;color:var(--h-text-muted);justify-content:center;align-items:center;gap:9px;font-size:10px;display:flex}.spread-page-label>span{background:var(--h-brand-soft);color:var(--h-brand);border-radius:4px;padding:4px 6px;font-size:8px}.spread-page-label.active{color:var(--h-brand);font-weight:600}.spread-page-label:not(.active):hover{color:var(--h-brand)}.page-strip{border-top:1px solid var(--h-border);background:#fff;flex:none;align-items:center;gap:20px;min-width:0;height:134px;padding:12px 22px;display:flex}.strip-rail{scrollbar-width:thin;flex:1;align-items:flex-start;gap:20px;min-width:0;padding:4px 2px;display:flex;overflow:auto}.strip-group{flex-direction:column;flex:none;align-items:center;gap:8px;display:flex}.strip-pages{background:#f1efeb;border:1px solid #ded9d0;border-radius:5px;gap:2px;padding:4px;display:flex}.strip-page{min-width:0;padding:0;display:block;position:relative}.strip-page>.miniature{border:1px solid #d6d0c7;width:54px;height:76px;box-shadow:0 1px 3px #20253710}.strip-page.active>.miniature{outline:2px solid var(--h-brand);outline-offset:-1px}.strip-group.current .strip-pages{background:var(--h-brand-soft);border-color:#b7949c}.strip-group-label{color:var(--h-text-muted);font-size:12px;font-weight:500;line-height:1.2}.strip-group.current .strip-group-label{color:var(--h-brand);font-weight:600}.strip-active-dot{background:var(--h-brand);border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;bottom:4px;right:4px}.strip-add{width:88px;height:85px;color:var(--h-brand);border:1px dashed #baa6a2;border-radius:6px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:9px;font-size:11px;font-weight:500;display:flex}.strip-add:hover{background:var(--h-brand-soft)}.left-panel{background:#fff}.tools-content>.panel-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:20px;display:flex}.tools-content>.panel-heading h2{font:24px/1.2 var(--h-font-brand);letter-spacing:-.5px}.tools-content>.panel-heading>span{font-size:11px}.photos-panel .photo-library{columns:2;column-gap:9px;margin-top:18px;display:block}.photos-panel .asset-card{break-inside:avoid;width:100%;margin-bottom:9px;display:block}.photos-panel .asset-card>div{border-radius:6px;width:100%;height:auto;min-height:60px;max-height:240px}.photos-panel .asset-card img{object-fit:cover}.asset-card .asset-used{color:var(--h-success);background:#fff;border-radius:50%;place-items:center;width:21px;height:21px;padding:0;display:grid;bottom:6px;right:6px;box-shadow:0 1px 4px #20253718}.library-toolbar{justify-content:space-between;align-items:center;gap:10px;display:flex}.library-filters{gap:10px;min-width:0;display:flex}.library-filters>button{color:var(--h-text-muted);white-space:nowrap;border-bottom:2px solid #0000;padding:6px 0;font-size:11px;font-weight:500}.library-filters>button.active{color:var(--h-brand);border-bottom-color:var(--h-brand);font-weight:600}.library-options{position:relative}.library-options>summary{cursor:pointer;place-items:center;padding:5px;list-style:none;display:grid}.library-options>summary::-webkit-details-marker{display:none}.library-options>button{z-index:5;border:1px solid var(--h-border);width:205px;box-shadow:var(--h-shadow-popover);text-align:left;background:#fff;border-radius:6px;padding:14px;font-size:11px;line-height:1.5;position:absolute;top:32px;right:0}.upload-result{color:var(--h-success);align-items:center;gap:7px;margin:10px 0;font-size:10px;display:flex}.upload-result .text-button{margin-left:auto;font-size:10px}@media (max-width:900px){.page-strip{gap:12px;height:94px;padding:7px 12px}.strip-rail{gap:12px;padding:3px}.strip-pages{padding:2px}.strip-page>.miniature{width:44px;height:61px}.strip-group{gap:5px}.strip-group-label{font-size:12px;font-weight:500}.strip-add{gap:6px;width:57px;height:64px;font-size:11px;font-weight:500}.strip-add svg{width:18px}.photos-panel .photo-library{columns:3}.mobile-open .photos-panel .asset-card>div{height:auto;max-height:240px}.mobile-open .panel-heading{display:none}.spread-page-label{font-size:9px}.spread-page-label>span{padding:3px 5px;font-size:8px}}@media (max-width:480px){.photos-panel .photo-library{columns:2}}@media (min-width:901px){.editor-shell{--editor-left:280px}.left-panel{width:280px}.right-panel{display:none}.editor-header .project-meta{padding-left:48px}.editor-commandbar{margin-right:342px}}@media (min-width:1500px){.editor-shell{--editor-left:304px}.left-panel{width:304px}}@media (min-width:901px) and (max-width:1200px){.editor-shell{--editor-left:248px}.left-panel{width:248px}.editor-commandbar{margin-right:282px}}.properties-popover{z-index:80;border:1px solid var(--h-border);overscroll-behavior:contain;background:#fff;border-radius:10px;width:320px;position:fixed;overflow:auto;box-shadow:0 12px 40px #20253730}.properties-popover>header{z-index:2;border-bottom:1px solid var(--h-border);background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;font-size:12px;display:flex;position:sticky;top:0}.properties-popover .panel-heading{display:none}.properties-popover .panel-content{padding:18px}.properties-popover .panel-content>section:first-of-type{margin-top:12px}.prepared-intro{color:var(--h-text-muted);margin-bottom:20px;font-size:12px}.prepared-grid{grid-template-columns:1fr 1fr;gap:22px 14px;margin-bottom:24px;display:grid}.prepared-grid>button{text-align:left;min-width:0;padding:0}.prepared-grid .miniature{border:1px solid var(--h-border);border-radius:4px;width:100%;transition:box-shadow .14s;box-shadow:0 2px 7px #2025370a}.prepared-grid>button:hover .miniature{outline:2px solid var(--h-brand);outline-offset:3px;box-shadow:0 5px 14px #6d38f518}.prepared-grid strong{margin-top:11px;font-size:11px;font-weight:600;display:block}.prepared-grid>button>span{color:var(--h-text-muted);margin-top:5px;font-size:11px;display:block}.prepared-comparison{justify-content:center;gap:28px;margin:24px 0;display:flex}.prepared-comparison>figure{width:145px;margin:0}.prepared-comparison .miniature{border:1px solid var(--h-border);width:100%}.prepared-comparison figcaption{color:var(--h-text-muted);text-align:center;margin-top:10px;font-size:11px}.quick-layouts{flex:none;align-items:center;display:flex;position:relative}.quick-layout-buttons{border:1px solid var(--h-border);background:#fff;border-radius:7px;gap:2px;padding:3px;display:flex;box-shadow:0 2px 5px #20253708}.quick-layout-buttons>button{color:#8c807c;border-radius:4px;place-items:center;width:30px;height:32px;display:grid}.quick-layout-buttons>button:hover{background:var(--h-brand-soft);color:var(--h-brand)}@container (max-width:850px){.quick-layout-buttons>button{width:26px}}@media (max-width:900px){.quick-layout-buttons{z-index:15;display:none;position:absolute;top:41px;right:0}.quick-layout-buttons>button{width:37px;height:40px}.mobile-dock>button{max-width:100px;color:var(--h-icon);font-size:10px;font-weight:500}.prepared-grid{grid-template-columns:repeat(3,1fr)}.properties-popover{display:none}}@media (max-width:600px){.prepared-grid{grid-template-columns:1fr 1fr}}.strip-page[draggable=true]{cursor:grab}.strip-page[draggable=true]:active{cursor:grabbing}.strip-page.dragging{opacity:.4}.strip-page.drop-before:before,.strip-page.drop-after:after{content:"";z-index:6;background:var(--h-guide);border-radius:2px;width:3px;position:absolute;top:-5px;bottom:-5px;box-shadow:0 0 0 2px #fff}.strip-page.drop-before:before{left:-6px}.strip-page.drop-after:after{right:-6px}.primary-tools{border-right:1px solid var(--h-border);background:#f7f8fa;flex-direction:column;flex:none;gap:8px;width:68px;padding:10px 4px;display:flex;overflow-y:auto}.primary-tools>button{color:#596273;text-align:center;width:60px;min-height:72px;box-shadow:none;background:0 0;border:0;border-radius:8px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:5px;margin:0;padding:5px 0;font:500 10px/1.3 Inter,sans-serif;display:flex}.primary-tools .tool-icon{border-radius:10px;place-items:center;width:44px;height:36px;transition:background .12s,color .12s;display:grid}.primary-tools .tool-icon svg{width:23px;height:23px}.primary-tools .tool-label{overflow-wrap:normal;width:100%;padding:0 1px;display:block}.primary-tools>button:hover{color:#272d3b;background:0 0}.primary-tools>button:hover .tool-icon{background:#e9ebf0}.primary-tools>button[aria-pressed=true]{color:#673de6;box-shadow:none;background:0 0;font-weight:600}.primary-tools>button[aria-pressed=true] .tool-icon{background:#ece5ff}.primary-tools>button:focus-visible{outline:2px solid var(--h-focus);outline-offset:-2px;box-shadow:none}@media (min-width:901px){.editor-shell{--editor-left:328px}.left-panel{width:260px}}@media (min-width:1500px){.editor-shell{--editor-left:352px}.left-panel{width:284px}}@media (min-width:901px) and (max-width:1200px){.editor-shell{--editor-left:288px}.primary-tools{width:64px}.left-panel{width:224px}}.spread-leaf{flex:1;min-width:0;height:100%;display:flex;position:relative}.spread-leaf>.canvas-viewport{flex:1;width:100%;height:100%;overflow:visible}.empty-page-actions{z-index:6;opacity:0;pointer-events:none;transition:opacity .14s;position:absolute;top:45px;left:50%;transform:translate(-50%)}.spread-leaf:hover>.empty-page-actions,.spread-leaf:focus-within>.empty-page-actions{opacity:1;pointer-events:auto}.empty-page-actions .quick-layout-buttons{background:#fffffff5;padding:5px;display:flex;position:static;box-shadow:0 5px 18px #20253720}.empty-page-actions .quick-layout-buttons>button{color:#596d89;width:31px;height:33px}.empty-page-actions .quick-layouts{display:flex}.photo-actions{z-index:45;position:fixed}.photo-action-bar{border:1px solid var(--h-border);background:#fffffff5;border-radius:8px;align-items:center;gap:2px;padding:4px;display:flex;box-shadow:0 5px 18px #20253728}.photo-action-bar>button{width:38px;height:36px;color:var(--h-icon);border-radius:5px;place-items:center;display:grid}.photo-action-bar>button:hover:not(:disabled),.photo-action-bar>button[aria-expanded=true]{color:var(--h-brand);background:var(--h-brand-soft)}.photo-action-settings{border:1px solid var(--h-border);overscroll-behavior:contain;background:#fff;border-radius:9px;width:254px;padding:13px 15px;position:absolute;top:calc(100% + 8px);overflow:auto;box-shadow:0 8px 30px #20253725}.photo-action-settings>header{justify-content:space-between;align-items:center;margin-bottom:12px;font-size:13px;display:flex}.photo-action-settings .icon-button{width:25px;height:25px}.photo-action-settings .button-pair .button{min-height:34px;font-size:11px}.photo-action-settings .field{margin-bottom:12px}.photo-action-settings .field>span{font-size:11px}.photo-action-settings>p{margin-bottom:15px}.photo-action-settings .color-field{margin:7px 0 17px}@media (max-width:900px){.primary-tools,.photo-actions{display:none}.spread-leaf.active>.empty-page-actions{opacity:1;pointer-events:auto}.empty-page-actions .quick-layout-buttons{display:flex;position:static}.empty-page-actions .quick-layout-buttons>button{color:#596d89;width:26px;height:34px}.empty-page-actions{top:45px}.mobile-panel-header{z-index:4}}.photo-action-bar>button{width:34px;color:var(--h-icon)}.photo-action-bar>button.quick-delete:hover{color:var(--h-error);background:#f6e7e6}.quick-object-options{gap:3px;display:grid}.quick-object-options>button{text-align:left;border-radius:4px;width:100%;padding:9px 8px;font-size:12px;font-weight:500}.quick-object-options>button:hover:not(:disabled){background:var(--h-brand-soft);color:var(--h-brand)}.empty-page-actions .quick-layout-buttons{border-color:#ddd6ce;border-radius:11px;gap:4px;padding:5px;box-shadow:0 5px 18px #20253718}.empty-page-actions .quick-layout-buttons>button{color:#596d89;border-radius:6px;width:32px;height:38px}.layout-paper{fill:#fff;stroke:#9c948b;stroke-width:1px}.layout-block{fill:currentColor}.quick-layout-buttons>button:hover,.quick-layout-buttons>button[aria-pressed=true]{background:var(--h-brand-soft);color:#94616d}.quick-layout-buttons>button[aria-pressed=true] .layout-paper,.quick-layout-buttons>button:hover .layout-paper{stroke:#b9939e}@media (max-width:900px){.empty-page-actions .quick-layout-buttons{gap:2px;padding:4px}.empty-page-actions .quick-layout-buttons>button{color:#596d89;width:27px;height:34px}.empty-page-actions .quick-layout-buttons>button>svg{width:24px;height:30px}}.spread-page-label{height:21px;font-size:9px}.spread-page-label>span{padding:3px 5px;font-size:8px}.empty-page-actions{top:34px}.quick-layout-buttons>button{box-sizing:border-box;line-height:0;position:relative;overflow:hidden;padding:0!important}.quick-layout-buttons>button>svg{flex-shrink:0;width:26px;max-width:100%;height:34px;display:block;overflow:hidden}.quick-layout-buttons>button:focus-visible{outline:2px solid var(--h-focus);outline-offset:-2px}.quick-layout-buttons>button[aria-pressed=true] .layout-paper{stroke:#d2cac1}.quick-layout-tooltip{color:var(--h-text);border:1px solid var(--h-border);white-space:nowrap;pointer-events:none;background:#fff;border-radius:5px;padding:6px 9px;font-size:10px;line-height:1.3;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%);box-shadow:0 3px 10px #20253712}@media (min-width:901px){.canvas-bottom{height:32px;padding:0 12px}.canvas-bottom .icon-button,.canvas-bottom .zoom-controls{height:28px}.canvas-bottom .zoom-controls .icon-button{height:26px}}@media (min-width:901px) and (max-width:1200px){.editor-commandbar{gap:5px}}@media (max-width:900px){.empty-page-actions{top:34px}}.settings-trigger{min-height:36px;color:var(--h-icon);white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:8px 10px;font-size:12px;font-weight:500;display:flex}.settings-trigger:hover{background:var(--h-bg)}@media (max-width:900px){.settings-trigger{width:36px;color:var(--h-icon);padding:7px;font-size:12px;font-weight:500}.settings-trigger>span{display:none}.editor-commandbar .multi-select-toggle{align-items:center;min-height:32px;margin-left:4px;display:flex}.canvas-column{padding-top:0}}.editor-sidebar{display:contents}@media (min-width:901px){.editor-workspace{display:contents}.editor-sidebar{border-right:1px solid var(--h-border);grid-area:2/1/4;min-width:0;height:100%;min-height:0;display:flex}.editor-sidebar>.left-panel{border-right:0;flex:1;min-width:0;height:100%}.editor-sidebar>.primary-tools{height:100%}.canvas-column{grid-area:2/2;min-height:0}.page-strip{grid-area:3/2;gap:16px;padding:12px 16px}.strip-rail{gap:16px}.strip-add{width:76px;font-size:11px;font-weight:500}}.strip-group[data-spread-movable=true],.strip-group[data-spread-movable=true] .strip-page{cursor:grab}.strip-group.dragging{opacity:.4}.strip-group.drop-spread-target .strip-pages{outline:2px solid var(--h-guide);outline-offset:2px;background:#e8f1f7}.strip-drop-label{color:#fff;white-space:nowrap;pointer-events:none;background:#315f81;border-radius:4px;padding:5px 7px;font-size:9px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.strip-group-label{justify-content:center;align-items:center;gap:3px;font-size:12px;font-weight:500;display:flex}.strip-group-label>svg{color:var(--h-icon)}.number-field>label{color:var(--h-text-muted);font-size:11px;font-weight:500}.number-control{background:#faf8f5;border:1px solid #aaa097;border-radius:6px;align-items:center;min-width:0;height:36px;display:flex;overflow:hidden}.number-control:focus-within{border-color:var(--h-focus);box-shadow:0 0 0 2px #3268af20}.number-control>input{width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:0;outline:none;padding:7px 9px;font-size:13px;font-weight:500}.number-control>input:focus-visible{box-shadow:none;outline:none}.number-unit{color:var(--h-text-muted);pointer-events:none;flex:none;padding-right:7px;font-size:11px}.number-steppers{border-left:1px solid #e6e0d8;flex:none;grid-template-rows:1fr 1fr;align-self:stretch;width:24px;display:grid}.number-steppers>button{min-height:0;color:var(--h-icon);background:#f3efe9;border-radius:0;place-items:center;padding:0;display:grid}.number-steppers>button+button{border-top:1px solid #e6e0d8}.number-steppers>button:hover:not(:disabled){background:var(--h-brand-soft);color:var(--h-brand)}.number-steppers>button:focus-visible{outline-offset:-2px}.number-field.disabled{opacity:.5}.settings .align-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.settings .align-actions>button{height:58px;color:var(--h-icon);border-radius:6px;flex-direction:column;justify-content:center;gap:3px;display:flex}.settings .align-actions>button>span{font-size:11px;font-weight:500;line-height:1.2}.settings .align-actions>button:hover:not(:disabled){color:var(--h-brand);border-color:#be98a3}.settings .align-actions>button:active:not(:disabled){background:#e8cdd6}@media (min-width:901px){.mobile-selection-actions,.settings .button-pair.mobile-selection-actions{display:none}}@media (max-width:900px){.mobile-open .align-actions>button{height:58px}}.properties-popover .settings>section:first-of-type{border-top:0;margin-top:0;padding-top:0}@media (min-width:901px){.mobile-photo-settings{display:none}}.strip-group[data-spread-movable=true]{touch-action:none;-webkit-user-select:none;user-select:none}.strip-group.dragging,.strip-group.dragging .strip-page{cursor:grabbing}.preview-dialog[open]{flex-direction:column;height:min(900px,100dvh - 32px);max-height:calc(100dvh - 32px);padding:20px;display:flex;overflow:hidden}.preview-dialog>header{flex:none;margin-bottom:12px}.preview-dialog>header h2{font-size:24px}.preview-dialog>.preview-toolbar{flex:none;gap:8px;margin-bottom:12px}.preview-dialog>.book-preview{flex:1;min-height:0}.preview-dialog .preview-canvas{height:100%;min-height:0}.preview-dialog>.preview-range,.preview-dialog>.dialog-actions{flex:none;margin-top:12px}.preview-dialog>.muted{flex:none;margin:8px 0 0;font-size:11px}@media (max-width:600px){.preview-dialog[open]{width:calc(100vw - 20px);padding:16px}.preview-dialog>header h2{font-size:21px}.preview-dialog .preview-toolbar>span{flex-basis:100%;order:1}.preview-dialog .dialog-actions>button{font-size:11px}.preview-dialog .preview-canvas{height:100%}}.editor-shell .lucide,.photo-actions .lucide,.properties-popover .lucide{stroke-width:2.15px}.editor-shell .icon-button,.properties-popover .icon-button,.photo-action-settings .icon-button{color:var(--h-icon)}.editor-shell .icon-button:hover:not(:disabled),.properties-popover .icon-button:hover:not(:disabled),.photo-action-settings .icon-button:hover:not(:disabled){color:var(--h-brand)}.editor-shell .header-actions .button{font-size:13px}.editor-shell .spread-page-label{font-size:11px;font-weight:500}.editor-shell .spread-page-label.active{font-weight:600}.editor-shell .spread-page-label>span{font-size:9px;font-weight:600}.number-steppers .lucide{stroke-width:2.25px;width:14px;height:14px}@media (min-width:901px){.editor-commandbar{margin-right:360px}}@media (min-width:901px) and (max-width:1200px){.editor-commandbar{margin-right:282px}}@media (max-width:900px){.strip-group-label{font-size:11px}.mobile-open .number-control{height:44px}.mobile-open .number-control>input{min-height:0;font-size:16px}.mobile-open .field select,.mobile-open .field textarea{font-size:16px}}.book-workspace[data-turning=true]{overflow:hidden}.book-spread[data-turning=true] .empty-page-actions{opacity:0;pointer-events:none}.book-spread[data-turning=true] .photo-actions,.book-spread[data-turning=true] .quick-layouts{visibility:hidden}.page-turn-overlay{z-index:12;perspective:3000px;isolation:isolate;cursor:default;position:absolute;inset:24px 24px 6px}.page-artwork{width:100%;height:100%;display:block;overflow:hidden}.page-turn-stationary{width:calc(50% - 2px);position:absolute;top:0;bottom:0}.page-turn-overlay.forward .page-turn-stationary{left:0}.page-turn-overlay.backward .page-turn-stationary{right:0}.page-turn-sheet{width:50%;transform-style:preserve-3d;will-change:transform;animation-duration:var(--page-turn-duration);animation-timing-function:cubic-bezier(.25,.6,.32,1);animation-fill-mode:both;position:absolute;top:0;bottom:0}.page-turn-overlay.forward .page-turn-sheet{transform-origin:0;animation-name:page-turn-forward;left:50%}.page-turn-overlay.backward .page-turn-sheet{transform-origin:100%;animation-name:page-turn-backward;left:0}.page-turn-face{backface-visibility:hidden;position:absolute;inset:0;transform:translateZ(.2px)}.page-turn-back{transform:rotateY(180deg)translateZ(.2px)}.page-turn-face>.page-artwork{width:calc(100% - 2px);position:absolute;top:0;bottom:0}.forward .page-turn-front>.page-artwork,.backward .page-turn-back>.page-artwork{right:0}.forward .page-turn-back>.page-artwork,.backward .page-turn-front>.page-artwork{left:0}.page-turn-face:after{content:"";animation:page-turn-light var(--page-turn-duration) ease-in-out both;pointer-events:none;background:linear-gradient(90deg,#20253724,#0000 45%);position:absolute;inset:0}.page-turn-back:after{background:linear-gradient(270deg,#20253724,#0000 45%)}.page-turn-shadow{width:50%;animation:page-turn-shadow var(--page-turn-duration) ease-in-out both;pointer-events:none;position:absolute;top:0;bottom:0}.forward .page-turn-shadow{background:linear-gradient(270deg,#20253735,#0000 70%);left:0}.backward .page-turn-shadow{background:linear-gradient(90deg,#20253735,#0000 70%);right:0}@keyframes page-turn-forward{0%{transform:rotateY(0)}to{transform:rotateY(-180deg)}}@keyframes page-turn-backward{0%{transform:rotateY(0)}to{transform:rotateY(180deg)}}@keyframes page-turn-light{0%,to{opacity:0}45%{opacity:1}}@keyframes page-turn-shadow{0%,to{opacity:0}45%{opacity:.65}}@media (prefers-reduced-motion:reduce){.page-turn-overlay{display:none}}.concept-filters{flex-wrap:wrap;gap:6px;margin:0 0 20px;display:flex}.concept-filters>button{border:1px solid var(--h-border);color:var(--h-text-muted);background:#fff;border-radius:5px;padding:7px 9px;font-size:11px;font-weight:500}.concept-filters>button:hover{color:var(--h-brand);border-color:#b6a0f7}.concept-filters>button[aria-pressed=true]{color:var(--h-brand);background:var(--h-brand-soft);border-color:#b6a0f7}.cover-comparison{grid-template-columns:1fr 1fr;gap:24px;margin:24px 0;display:grid}.cover-comparison figure{min-width:0;margin:0}.cover-comparison figcaption{color:var(--h-text-muted);text-align:center;margin-top:12px;font-size:12px;font-weight:500}.cover-spread-preview{background:var(--h-bg);border:1px solid var(--h-border);border-radius:5px;grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr);gap:0;padding:5px;display:grid}.cover-spread-preview>.miniature{width:100%;min-width:0}.cover-spine{pointer-events:auto;background-image:linear-gradient(90deg,#00000026,#ffffff0a 23%,#0000 52%,#00000018 84%,#00000030);border-inline:1px solid #20253726;justify-content:center;align-items:center;min-width:0;display:flex;overflow:hidden;box-shadow:inset 2px 0 3px #00000018,inset -2px 0 3px #00000018}.cover-spine>span{writing-mode:vertical-rl;text-orientation:mixed;white-space:nowrap;text-overflow:ellipsis;letter-spacing:.5px;-webkit-user-select:none;user-select:none;max-height:calc(100% - 28px);font-size:10px;font-weight:600;line-height:1;overflow:hidden}.cover-spine-label{color:var(--h-text-muted);pointer-events:none;font-size:9px;position:absolute;top:4px;transform:translate(-50%)}.cover-spread-preview .cover-spine>span{letter-spacing:0;max-height:calc(100% - 12px);font-size:4px}.strip-spine{background-image:linear-gradient(90deg,#00000030,#0000,#00000026);border-inline:1px solid #20253726;flex:none;align-self:stretch;width:5px;margin-inline:-1px}.spread-page-caption{justify-content:center;align-items:center;gap:5px;height:24px;display:flex;position:absolute;top:0}.spread-page-caption>.spread-page-label{padding:0 3px;position:static;width:auto!important}.page-clear-button{width:22px;height:22px;color:var(--h-text-muted);opacity:0;border-radius:4px;place-items:center;display:grid}.spread-page-caption:hover .page-clear-button,.spread-page-caption:focus-within .page-clear-button,.spread-page-caption.active .page-clear-button{opacity:1}.page-clear-button:hover{color:var(--h-error);background:#fff0f2}.destination-search{border:1px solid var(--h-control-border);color:var(--h-text-muted);border-radius:7px;align-items:center;gap:8px;margin-bottom:20px;padding:0 10px;display:flex}.destination-search input{box-shadow:none;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:10px 0;font-size:12px}.destination-search:focus-within{outline:2px solid var(--h-focus);outline-offset:2px}.destination-section{margin-bottom:22px}.cover-category-filter{background:var(--h-surface-muted,#f1f2f8);border-radius:8px;gap:5px;margin-bottom:20px;padding:4px;display:flex}.cover-category-filter button{color:var(--h-text-muted);border-radius:6px;flex:1;padding:9px 6px;font-size:12px;font-weight:600}.cover-category-filter button[aria-pressed=true]{color:var(--h-brand);background:#fff;box-shadow:0 1px 4px #20253712}.destination-grid>button[aria-pressed=true]>.miniature{outline:2px solid var(--h-brand);outline-offset:2px}.destination-active{color:var(--h-brand);font-size:10px;font-weight:600}.destination-section>h3{margin:0 0 12px;font-size:13px}.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px;display:grid}.destination-grid>button{text-align:left;border-radius:6px;min-width:0}.destination-grid>button>.miniature{border:1px solid var(--h-border);border-radius:7px;width:100%;transition:box-shadow .14s;overflow:hidden}.destination-grid>button:hover>.miniature{box-shadow:0 0 0 2px var(--h-brand)}.destination-grid strong{justify-content:space-between;align-items:center;margin-top:9px;font-size:12px;display:flex}.destination-grid small{color:var(--h-text-muted);margin-top:5px;font-size:10px;display:block}.destination-back{align-items:center;gap:6px;margin-bottom:22px;padding:0;font-size:12px;display:flex}.cover-color-options{border:0;margin:0 0 20px;padding:0}.cover-color-options legend{margin-bottom:10px;font-size:12px;font-weight:600}.cover-color-options>small{color:var(--h-text-muted);margin-top:10px;font-size:10px;line-height:1.5;display:block}.cover-quick-actions{position:relative}.cover-quick-bar{white-space:nowrap;background:#f6f7ff;border:1px solid #cdd5ea;border-radius:10px;align-items:center;gap:7px;padding:6px 8px;display:flex;box-shadow:0 5px 18px #20253718}.cover-quick-bar>button{min-height:32px;color:var(--h-icon);border-radius:5px;justify-content:center;align-items:center;gap:6px;padding:5px 7px;font-size:11px;font-weight:600;display:flex}.cover-quick-bar>button:hover,.cover-quick-bar>button[aria-expanded=true]{background:var(--h-brand-soft);color:var(--h-brand)}.cover-current-color{border:1px solid #8090aa;border-radius:4px;width:14px;height:14px;display:block}.cover-quick-palette{border:1px solid var(--h-border);width:246px;box-shadow:var(--h-shadow-popover);z-index:3;background:#fff;border-radius:9px;padding:16px;position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%)}.cover-quick-palette>.icon-button{width:24px;height:24px;position:absolute;top:4px;right:5px}.cover-quick-palette .cover-color-options{margin-bottom:0}.back-cover-count{color:var(--h-text-muted);padding-left:3px;font-size:10px}.back-cover-layouts{border-right:1px solid var(--h-border);gap:3px;padding-right:6px;display:flex}.back-cover-layouts button{min-width:33px;height:32px;color:var(--h-icon);border-radius:5px;justify-content:center;align-items:center;gap:4px;font-size:11px;display:flex}.back-cover-layouts [aria-pressed=true]{background:var(--h-brand);color:#fff}.cover-page-actions{z-index:16}@media (max-width:900px){.cover-quick-bar{gap:4px}.back-cover-count{display:none}.cover-quick-bar>button,.back-cover-layouts button{min-height:36px}}.cover-color-options>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.cover-color-options button{border:1px solid #8c97aa;border-radius:50%;width:25px;height:25px}.cover-color-options button[aria-pressed=true]{outline:2px solid var(--h-brand);outline-offset:2px}.cover-color-options input{background:var(--h-bg);border:1px solid var(--h-control-border);border-radius:5px;width:30px;height:30px;min-height:0;padding:2px}@media (max-width:900px){.page-clear-button{opacity:1;width:28px;height:24px}.destination-search input{font-size:16px}.cover-color-options button{width:30px;height:30px}}@media (max-width:600px){.cover-comparison{grid-template-columns:1fr;gap:18px;max-width:360px;margin:20px auto}.concept-filters>button{min-height:36px}}.design-view-switch{border:1px solid var(--h-border);background:#edf0f7;border-radius:9px;gap:3px;margin-bottom:18px;padding:4px;display:flex}.design-view-switch>button{color:var(--h-text-muted);border-radius:6px;flex:1;padding:9px 7px;font-size:12px;font-weight:600}.design-view-switch>button[aria-pressed=true]{color:var(--h-brand);background:#fff;box-shadow:0 1px 4px #20253713}.design-collections{gap:24px;display:grid}.collection-card{text-align:left;width:100%}.collection-card-art{background:#e9edf5;border:1px solid #dce1ed;border-radius:8px;grid-template-columns:1fr 1fr;gap:10px;padding:16px;display:grid;position:relative;overflow:hidden}.collection-card-art .miniature{border:1px solid #2025370f;width:100%;min-width:0;transition:transform .18s;box-shadow:0 3px 8px #20253717}.collection-card:hover .collection-card-art .miniature:first-child{transform:translateY(-3px)rotate(-2deg)}.collection-card:hover .collection-card-art .miniature:nth-child(2){transform:translateY(-3px)rotate(2deg)}.collection-count{color:#313b52;background:#fffffff2;border-radius:4px;padding:5px 8px;font-size:10px;font-weight:600;position:absolute;bottom:8px;right:8px;box-shadow:0 1px 4px #20253712}.collection-card-heading{color:var(--h-text);justify-content:space-between;align-items:center;gap:8px;margin-top:12px;display:flex}.collection-card-heading strong{font:600 21px/1.2 "Source Serif 4",serif}.collection-card>p{color:var(--h-text-muted);margin:6px 0 10px;font-size:12px;line-height:1.65}.collection-swatches{gap:5px;display:flex}.collection-swatches i{border:1px solid #20253720;border-radius:50%;width:13px;height:13px}.collection-detail-pages{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0 18px;display:grid}.collection-detail-pages figure{min-width:0;margin:0}.collection-detail-pages .miniature{border:1px solid #d7cfc4;width:100%}.collection-detail-pages figcaption{align-items:baseline;gap:8px;margin-top:10px;font-size:12px;font-weight:600;line-height:1.5;display:flex}.collection-detail-pages figcaption>span{color:#94796b;letter-spacing:1px;font-size:10px}.collection-detail-cover{color:#62564a;background:#f7f3ec;border:1px solid #ddd4c9;border-radius:6px;justify-content:space-between;gap:10px;padding:12px 15px;font-size:12px;display:flex}.collection-preview-note{color:var(--h-text-muted);margin:15px 0;font-size:11px;line-height:1.6}.collection-insert-note{color:#4d6556;align-items:center;gap:8px;margin-top:20px;font-size:12px;display:flex}.autofill-button{color:#6d38f5;background:#f1ecff;border-color:#c9b8b0;min-height:37px;margin:0 0 15px;font-size:12px}.asset-card .asset-used{border-radius:5px;justify-content:center;align-items:center;gap:3px;width:auto;min-width:24px;height:22px;padding:4px 5px;font-size:10px;font-weight:600;display:flex}@media (max-width:600px){.collection-detail-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.collection-detail-cover{flex-direction:column}.design-view-switch>button{min-height:40px}}@media (prefers-reduced-motion:reduce){.collection-card-art .miniature{transition:none}.collection-card:hover .collection-card-art .miniature{transform:none}}.inline-edit-backdrop{z-index:100;background:#25232344;position:fixed;inset:0}.photo-crop-surface{z-index:102;cursor:grab;touch-action:none;outline:2px solid #fff;position:fixed;overflow:hidden;box-shadow:0 0 0 4px #6d38f5}.photo-crop-surface:active{cursor:grabbing}.crop-thirds{pointer-events:none;background:linear-gradient(90deg,#0000 33.1%,#fff9 33.1% 33.5%,#0000 33.5% 66.4%,#fff9 66.4% 66.8%,#0000 66.8%),linear-gradient(#0000 33.1%,#fff9 33.1% 33.5%,#0000 33.5% 66.4%,#fff9 66.4% 66.8%,#0000 66.8%);position:absolute;inset:0}.photo-crop-toolbar{z-index:103;background:#fff;border:1px solid #d7ddec;border-radius:10px;width:350px;max-width:calc(100vw - 20px);padding:12px 14px;position:fixed;box-shadow:0 8px 30px #20253725}.inline-edit-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.inline-edit-heading strong{font-size:13px}.inline-edit-heading span{color:#70645c;font-size:10px}.crop-zoom{align-items:center;gap:12px;margin:12px 0;display:flex}.crop-zoom input{accent-color:#6d38f5;flex:1;min-width:0}.crop-zoom output{min-width:35px;font-size:12px}.inline-edit-actions{align-items:center;gap:8px;display:flex}.inline-edit-actions>span{flex:1}.inline-edit-actions .button{min-height:32px;padding:7px 10px;font-size:11px}@media (max-width:600px){.inline-edit-actions .button{min-height:40px}}.auto-place-scopes{grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;display:grid}.auto-place-scopes>button{text-align:left;background:#fff;border:1px solid #d7ddec;border-radius:7px;padding:13px}.auto-place-scopes strong{margin-bottom:6px;font-size:13px;display:block}.auto-place-scopes span{color:#72655a;font-size:11px}.auto-place-scopes button[aria-pressed=true]{color:#6d38f5;background:#eee7ff;border-color:#8c5363;box-shadow:inset 0 0 0 1px #8c5363}.auto-place-summary{justify-content:space-between;align-items:baseline;gap:16px;margin:20px 0;display:flex}.auto-place-summary strong{font-size:15px}.auto-place-summary span{color:#70645a;font-size:12px}.auto-place-previews{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.auto-place-previews figure{margin:0}.auto-place-previews .miniature{border:1px solid #ded5ca;width:100%}.auto-place-previews figcaption{text-align:center;margin-top:8px;font-size:11px}.auto-place-empty{text-align:center;background:#f7f2eb;border-radius:6px;padding:30px;font-size:13px}@media (max-width:600px){.auto-place-scopes{gap:6px}.auto-place-scopes>button{padding:10px 8px}.auto-place-scopes strong{font-size:12px}.auto-place-scopes span{font-size:10px}.auto-place-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-place-summary{flex-direction:column;gap:6px}}.auto-place-previews[data-count="1"]{grid-template-columns:1fr;max-width:200px;margin:0 auto}.auto-place-previews[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:430px;margin:0 auto}.collection-cover-option{background:#f8f4ee;border:1px solid #ded5ca;border-radius:7px;justify-content:space-between;align-items:center;gap:24px;margin:18px 0;padding:14px;display:flex}.collection-cover-option label{align-items:center;gap:9px;font-size:13px;display:flex}.collection-cover-option input{accent-color:#6d38f5;width:16px;height:16px}.collection-cover-option p{color:#6a5e53;margin:10px 0 6px;font-size:12px}.collection-cover-option>div>span{color:#796c60;max-width:330px;font-size:11px;line-height:1.6;display:block}.collection-cover-option figure{flex-shrink:0;width:180px;margin:0}.collection-cover-pair{gap:2px;display:flex}.collection-cover-pair .miniature{border:1px solid #d8cec1;width:50%}.collection-cover-option figcaption{color:#796c60;text-align:center;margin-top:6px;font-size:10px}@media (max-width:600px){.collection-cover-option{flex-direction:column;align-items:flex-start;gap:14px}.collection-cover-option figure{margin:auto}}.inline-text-input{z-index:102;resize:none;white-space:pre-wrap;overflow-wrap:break-word;border:0;border-radius:0;outline:2px solid #6d38f5;margin:0;padding:0;position:fixed;overflow:auto;box-shadow:0 0 0 3px #fff}.inline-text-toolbar{z-index:103;background:#fff;border:1px solid #d7ddec;border-radius:10px;width:400px;max-width:calc(100vw - 20px);padding:12px;position:fixed;box-shadow:0 8px 30px #20253725}.inline-text-input.compact-text-input{box-sizing:border-box;border-radius:8px;padding:12px;box-shadow:0 4px 18px #20253725}.inline-type-row{align-items:flex-end;gap:10px;margin:9px 0;display:flex}.inline-type-row>select{background:#fff;border:1px solid #a4adc0;border-radius:5px;flex:1;min-width:0;height:36px;padding:5px 8px;font-size:12px}.inline-font-size{width:83px}.inline-font-size .field{margin:0}.inline-font-size .field>label{margin-bottom:3px;font-size:10px}.inline-font-size .number-control input{height:35px;min-height:35px;padding-left:8px;font-size:12px}.inline-type-style{align-items:center;gap:4px;display:flex}.inline-type-style>.icon-button{border-radius:5px;width:31px;height:33px}.inline-type-style [aria-pressed=true]{color:#6d38f5;background:#eee7ff}.inline-text-color{align-items:center;width:29px;height:29px;display:flex}.inline-text-color input{background:#fff;border:1px solid #a4adc0;border-radius:4px;width:27px;height:27px;padding:2px}.inline-type-divider{background:#ded3c8;width:1px;height:20px;margin:0 4px}.inline-type-spacer{flex:1}.inline-type-style .button{min-height:33px;padding:6px 9px;font-size:11px}.inline-text-warning{color:#8b5b2e;align-items:flex-start;gap:7px;margin:9px 0 0;font-size:10px;line-height:1.5;display:flex}@media (max-width:600px){.inline-type-row>select,.inline-font-size .number-control input{font-size:16px}.inline-type-style>.icon-button{height:38px}.inline-type-style .button{min-height:38px}}.stage-wrap{position:relative}.rotation-feedback{z-index:80;color:#fff;font-variant-numeric:tabular-nums;pointer-events:none;background:#282735;border-radius:7px;padding:5px 9px;font:600 12px/1.2 Inter,sans-serif;position:fixed;transform:translate(-50%)}.photo-warning-button{z-index:9;color:#805624;background:#fff5dd;border:1px solid #e4c895;border-radius:5px;align-items:center;gap:4px;min-height:24px;padding:5px 7px;font-size:9px;font-weight:600;display:flex;position:absolute;box-shadow:0 1px 5px #34291c33}.photo-warning-button.missing{color:#963e42;background:#fae4e4;border-color:#d3a5a5}.asset-entry{min-width:0;position:relative}.asset-entry .asset-card{width:100%;display:block}.asset-warning{color:#805624;background:#fff2d4;border:1px solid #dfc18f;border-radius:5px;place-items:center;width:25px;height:25px;display:grid;position:absolute;top:5px;left:5px;box-shadow:0 1px 4px #34291c25}.photo-quality-detail{grid-template-columns:130px minmax(0,1fr);gap:24px;margin:20px 0 26px;display:grid}.photo-quality-page .miniature{border:1px solid #ddd1c3;width:100%}.photo-quality-page>span{text-align:center;color:#75685c;margin-top:8px;font-size:11px;display:block}.quality-detail-label{color:#8b5b2d;align-items:center;gap:7px;font-size:13px;font-weight:600;display:flex}@media (max-width:600px){.photo-warning-button{min-width:28px;min-height:28px;padding:6px}.photo-warning-button>span{display:none}.photo-quality-detail{grid-template-columns:100px minmax(0,1fr);gap:15px}}.template-transfer-notice{color:#79562e;background:#fff6e7;border:1px solid #dfc8a4;border-radius:6px;margin:18px 0;padding:13px;font-size:12px}.template-transfer-notice summary{cursor:pointer;align-items:center;gap:7px;font-weight:600;display:flex}.template-transfer-notice p{margin:10px 0;font-size:11px;line-height:1.65}.template-transfer-notice ul{max-height:160px;margin:0;padding:0;list-style:none;overflow:auto}.template-transfer-notice li{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px solid #e8d8c1;align-items:center;gap:10px;padding:9px 0;line-height:1.6;display:flex}.template-transfer-notice img{object-fit:cover;border-radius:3px;width:45px;height:38px}.template-overflow-note{align-items:flex-start;gap:7px;display:flex}.editor-commandbar,.editor-header,.header-actions{background:#fff}.empty-page-start{pointer-events:none;place-items:center;display:grid;position:absolute;inset:24px 4px 6px}.empty-page-start>div{text-align:center;color:#75839a;flex-direction:column;align-items:center;gap:13px;max-width:90%;display:flex}.empty-page-start span{max-width:200px;font-size:11px;line-height:1.7}.empty-page-start .button{pointer-events:auto;border-radius:8px;min-height:39px;margin-top:5px;padding:9px 15px;font-size:12px}.text-composer{gap:14px;display:grid}.text-style-switch{background:var(--h-bg);border:1px solid var(--h-border);border-radius:7px;gap:3px;padding:3px;display:flex}.text-style-switch button{color:var(--h-text-muted);border-radius:4px;flex:1;padding:9px 6px;font-size:12px;font-weight:500}.text-style-switch [aria-pressed=true]{color:var(--h-brand);background:#fff;font-weight:600;box-shadow:0 1px 4px #20253718}.text-composer-font{grid-template-columns:minmax(0,1fr) 76px;gap:10px;display:grid}.text-composer-font .field{margin:0}.text-composer-font select{width:100%;min-width:0;height:36px;min-height:36px;padding:5px 7px;font-size:12px}.text-composer-font .field>span{color:var(--h-text-muted);margin-bottom:6px;font-size:11px;font-weight:500;display:block}.text-composer-format{gap:5px;display:flex}.text-composer-format button{width:34px;height:34px;color:var(--h-icon);border-radius:5px;place-items:center;display:grid}.text-composer-format [aria-pressed=true]{background:var(--h-brand-soft);color:var(--h-brand)}.text-composer-format>span{background:var(--h-border);width:1px;margin:4px 6px}.text-color-options{border:0;min-width:0;margin:0;padding:0}.text-color-options legend{margin-bottom:10px;font-size:11px;font-weight:600}.text-color-swatches{grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;display:grid}.text-color-swatches>button,.text-custom-color{border:1px solid #9ba5b8;border-radius:50%;width:23px;height:23px;position:relative}.text-color-swatches>button[aria-pressed=true]{outline:2px solid var(--h-brand);outline-offset:2px}.text-custom-color{background:var(--h-bg);color:var(--h-icon);cursor:pointer;place-items:center;display:grid;overflow:hidden}.text-custom-color input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.text-custom-color svg{pointer-events:none}.text-custom-color:focus-within{outline:2px solid var(--h-focus);outline-offset:2px}.text-composer>.button{margin-top:3px}.template-picker .prepared-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}.template-picker .prepared-grid>button>.miniature{max-width:145px;margin-inline:auto}.template-picker .design-view-switch{max-width:330px;margin-bottom:14px}.template-picker .prepared-intro{margin:0 0 16px;font-size:12px}.template-picker .concept-filters{margin-bottom:18px}.template-picker .design-collections{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width:900px){.left-panel.text-tool-panel.mobile-open{height:auto}.text-composer-font select{height:44px;font-size:16px}.text-composer-format button{width:44px;height:44px}.text-color-swatches{gap:6px}.text-color-swatches>button,.text-custom-color{width:26px;height:26px}.template-picker .prepared-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.template-picker .design-collections{grid-template-columns:1fr}}.danger-text{color:var(--h-error)}.button.danger{background:var(--h-error);color:#fff;border-color:var(--h-error)}.button.danger:hover:not(:disabled){background:#a42a43}.reset-warning{color:#922b42;background:#fff1f3;border:1px solid #efc1ce;border-radius:8px;align-items:flex-start;gap:10px;padding:14px;display:flex}.reset-warning svg{flex:none;margin-top:2px}.reset-project-dialog>p{font-size:14px;line-height:1.7}.reset-project-dialog .dialog-actions{margin-top:24px}.inline-spacing-controls{border-top:1px solid var(--h-border);grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;padding-top:10px;display:grid}.inline-spacing-controls .field{margin:0}@media (max-width:600px){.inline-spacing-controls input{font-size:16px}}.inline-text-toolbar{max-height:calc(100dvh - 24px);overflow-y:auto}@media (max-width:360px){.inline-type-style{flex-wrap:wrap}.text-color-swatches>button,.text-custom-color{aspect-ratio:1;width:100%;height:auto}}.dialog.editor-guide{max-width:520px}.guide-progress{gap:6px;margin:0 0 20px;display:flex}.guide-progress span{background:var(--h-border);border-radius:8px;flex:1;height:4px}.guide-progress .reached{background:var(--h-brand)}.guide-art{background:var(--h-brand-soft);border-radius:12px;justify-content:center;align-items:center;gap:24px;min-height:190px;padding:18px;display:flex}.guide-mini-rail{color:#fff;background:#172034;border-radius:10px;gap:24px;padding:22px 12px;display:grid}.guide-mini-page{width:122px;height:157px;color:var(--h-brand);background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:13px;font-size:10px;font-weight:600;display:flex;position:relative;box-shadow:0 5px 18px #29365215}.guide-photo-pair{gap:5px;width:100%;display:flex}.guide-photo-pair span{background:#b7dedb;flex:1;height:72px}.guide-photo-pair span+span{background:#f4c56a}.guide-mini-actions{border:1px solid var(--h-border);box-shadow:var(--h-shadow-popover);background:#fff;border-radius:8px;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;bottom:17px;right:-22px}.guide-copy{min-height:143px;margin:23px 0}.guide-step{color:var(--h-brand);align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.guide-copy h3{letter-spacing:-.5px;margin:10px 0;font-size:24px}.guide-copy p{color:var(--h-text-muted);margin:0;font-size:14px;line-height:1.7}.guide-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.guide-footer>div{gap:8px;display:flex}.guide-footer .text-button{padding-left:0}.guide-templates{color:var(--h-brand);margin:14px auto 0;display:block}.guide-reopen{text-align:center;color:var(--h-text-muted);margin:18px 0 0;font-size:11px}@media (max-width:900px){.mobile-dock{border-top-color:#dce1ed}.mobile-dock>button.active{color:var(--h-brand);background:#eee8ff;border-radius:8px}.guide-copy h3{font-size:22px}.guide-footer{flex-wrap:wrap}.guide-footer .button{padding-inline:10px;font-size:12px}}.cover-change-dialog{width:min(420px,100vw - 32px)}.cover-change-dialog>header h2{font-family:var(--h-font-ui);font-size:18px;line-height:1.4}.cover-change-dialog>p{font-size:13px;line-height:1.6}.design-spread-preview{background:#cbc6bd;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;max-width:700px;margin:0 auto;display:grid;overflow:hidden;box-shadow:0 4px 15px #20253712}.design-spread-preview>.miniature{border-radius:0;width:100%;min-width:0}.prepared-spreads-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;margin-bottom:24px;display:grid}.prepared-spreads-grid>button{text-align:left;min-width:0;padding:0}.prepared-spreads-grid strong{margin-top:12px;font-size:13px;display:block}.prepared-spreads-grid>button>span{color:var(--h-text-muted);margin-top:5px;font-size:11px;display:block}.prepared-spreads-grid>button:hover .design-spread-preview{outline:2px solid var(--h-brand);outline-offset:3px}.template-picker .design-view-switch{max-width:440px}@media (max-width:600px){.prepared-spreads-grid{grid-template-columns:1fr}}.design-detail-dialog.wide{max-width:1040px}.design-detail-dialog .design-spread-preview{max-width:920px}@media (max-width:600px){.design-detail-dialog .design-spread-preview{box-shadow:none;background:0 0;grid-template-columns:1fr;gap:18px}}.ready-book-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;display:grid}.ready-book-card{width:100%;min-width:0;color:inherit;text-align:center;background:0 0;border:0;border-radius:0;flex-direction:column;align-items:stretch;gap:10px;padding:0;display:flex}.ready-book-card:hover{background:0 0}.ready-book-card .miniature{width:100%;transition:box-shadow .15s;box-shadow:0 2px 8px #17243b12}.ready-book-card:hover .miniature{box-shadow:0 4px 14px #17243b26}.ready-book-card:focus-visible{outline:2px solid var(--h-brand);outline-offset:5px}.ready-book-card>span{font:500 12px/1.4 Inter,sans-serif}:where(.catalog-skeleton-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.elements-panel .catalog-skeleton-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 18px}.catalog-skeleton-card{align-content:start;gap:8px;display:grid}.catalog-skeleton-card>:first-child{aspect-ratio:210/297;border-radius:9px;display:block}[data-layout=square]>.catalog-skeleton-card>:first-child{aspect-ratio:1}[data-layout=spread]>.catalog-skeleton-card>:first-child{aspect-ratio:1.7}.catalog-skeleton-card>:nth-child(2){border-radius:4px;width:56%;height:11px}.catalog-placeholder,[data-catalog-loading=true]{background-image:linear-gradient(105deg,#ece9f1 28%,#f8f6fa 48%,#ece9f1 68%);background-size:220% 100%;animation:1.6s ease-in-out infinite catalog-shimmer}.catalog-image{width:100%;height:100%;min-height:0;display:block;position:relative}.catalog-image>img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.catalog-image[data-catalog-loading=true]>img{opacity:0}@keyframes catalog-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.catalog-placeholder,[data-catalog-loading=true]{animation:none}}.book-start{background:var(--h-bg);min-height:100dvh}.book-start-header{border-bottom:1px solid var(--h-border);background:#fff;align-items:center;min-height:68px;padding:0 clamp(20px,5vw,72px);display:flex}.book-start-content{max-width:1270px;margin:0 auto;padding:clamp(34px,7vh,86px) clamp(20px,4vw,48px) 46px}.book-start-intro{margin-bottom:32px}.book-start-intro h1{max-width:720px;font:600 clamp(30px, 4.2vw, 56px)/1.12 var(--h-font-brand);text-wrap:balance}.book-start-intro p{color:var(--h-text-muted);margin-top:12px;font-size:15px}.book-start-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.book-start-grid .ready-book-card{border:1px solid var(--h-border);text-align:left;background:#fff;border-radius:12px;gap:0;overflow:hidden}.book-start-grid .ready-book-card:hover{border-color:var(--h-brand)}.book-start-grid .ready-book-card>span{font:600 15px/1.35 var(--h-font-ui);padding:15px 16px}.book-start-art{background:#efedf2;grid-template-columns:.72fr 1fr;align-items:end;gap:clamp(10px,1.25vw,18px);padding:clamp(16px,2.2vw,30px);display:grid}.book-start-art .design-spread-preview{width:100%;margin:0}.book-start-travel-art>.miniature:nth-child(2){width:72%;margin-inline:auto}.book-start-more{min-height:44px;color:var(--h-brand);margin-top:18px}@media (max-width:960px){.book-start-intro{margin-bottom:22px}.book-start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.book-start-grid{grid-template-columns:minmax(0,1fr)}.book-start-art{padding-inline:12%}}.ready-book-dialog.wide{max-width:1100px}.ready-book-dialog>.text-button{align-items:center;gap:8px;display:flex}.ready-book-summary{border-bottom:1px solid #deded4;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:24px;padding:15px 0;font-size:12px;display:flex}.ready-book-summary>span{color:#6c7366}.ready-book-spreads{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;display:grid}.ready-book-spreads figure{min-width:0;margin:0}.ready-book-spreads figcaption{flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:10px;font-size:11px;display:flex}.ready-book-spreads figcaption span{color:#747a6c;font-size:10px}.ready-book-apply{background:#fff;border-top:1px solid #deded4;padding:12px 0 6px;position:sticky;bottom:-24px}.ready-book-apply>p{margin:0 0 12px;font-size:12px;line-height:1.6}.ready-book-apply [role=status]{color:#893e3b}@media (max-width:600px){.ready-book-spreads{grid-template-columns:1fr}.ready-book-apply{bottom:-18px}.mobile-dock>button{font-size:9px}.ready-book-dialog .dialog-actions{justify-content:stretch}.ready-book-dialog .dialog-actions>button{flex:1}}.book-palette-picker{border:0;min-width:0;margin:18px 0 26px;padding:0}.book-palette-picker legend{margin-bottom:12px;font-size:13px;font-weight:600}.book-palette-picker>div{flex-wrap:wrap;gap:10px;display:flex}.book-palette-picker button{background:#faf9f5;border:1px solid #deded4;border-radius:8px;align-items:center;gap:9px;padding:9px 12px;font-size:11px;display:flex}.book-palette-picker button[aria-pressed=true]{border:2px solid var(--h-brand);background:#f3efff;padding:8px 11px}.book-palette-swatches{display:flex}.book-palette-swatches i{border:1px solid #00000012;width:16px;height:22px;display:block}.book-palette-picker>p{color:#6c7366;font-size:11px;line-height:1.6}.color-field .color-hex{border:1px solid var(--h-border);width:69px;min-height:28px;color:var(--h-text);background:#fff;border-radius:4px;padding:3px 5px;font:10px monospace}.element-color-editor{border-top:1px solid var(--h-border);margin-top:16px;padding-top:14px}.element-color-editor summary{cursor:pointer;font-size:11px;font-weight:600;line-height:1.5}.element-color-editor select{width:100%;min-width:0}@media (max-width:600px){.book-palette-picker>div{grid-template-columns:1fr 1fr;display:grid}.book-palette-picker button{padding:9px 7px;font-size:10px}.book-palette-picker button[aria-pressed=true]{padding:8px 6px}.book-palette-swatches i{width:12px}}.ready-book-steps{color:#747a6c;flex-wrap:wrap;gap:10px;padding:0;font-size:11px;list-style:none;display:flex}.ready-book-steps li{background:#f1f0eb;border-radius:20px;padding:7px 10px}.ready-book-steps li[aria-current]{color:#fff;background:var(--h-brand)}.ready-book-dialog>.design-spread-preview{width:100%;max-width:650px}.page-color-actions{z-index:65;border:1px solid var(--h-border);background:#fff;border-radius:10px;width:258px;padding:15px;position:fixed;box-shadow:0 5px 22px #20253730}.page-color-actions header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:12px;display:flex}.strip-scroll-button{width:30px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:none;align-self:stretch;place-items:center;display:grid}.strip-scroll-button:disabled{opacity:.35;cursor:default}.page-strip.vertical{border-left:1px solid var(--h-border);border-top:0;flex-direction:column;flex:none;gap:8px;width:180px;height:auto;min-height:0;padding:10px}.page-strip.vertical .strip-rail{flex-direction:column;align-items:center;gap:14px;width:100%;min-height:0}.page-strip.vertical .strip-scroll-button{width:100%;min-height:26px}.page-strip.vertical .strip-pages .strip-page{width:62px}.page-strip.vertical .strip-add{flex-direction:row;gap:7px;width:100%;min-height:45px}@media (max-width:900px){.photo-actions{z-index:65;display:block}.photo-action-settings{max-width:calc(100vw - 24px)}.strip-scroll-button{width:24px}.page-strip{gap:6px}}.photo-action-settings.compact-color-menu{width:220px;padding:10px}.quick-color-swatches{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.quick-color-swatches>button{border:1px solid #0003;border-radius:50%;width:20px;min-width:20px;height:20px}.quick-color-swatches>button[aria-pressed=true]{outline:2px solid var(--h-brand);outline-offset:2px}.quick-color-picker .color-field{margin:11px 0 0;font-size:10px}.quick-color-picker input[type=color]{width:26px;height:26px;min-height:26px;padding:1px}.page-color-actions{width:228px;padding:10px}.page-color-actions header{margin-bottom:8px;font-size:11px}@media (min-width:901px){.editor-shell[data-pages-position=right]{grid-template-columns:var(--editor-left) minmax(0,1fr) 180px;grid-template-rows:64px minmax(0,1fr)}.editor-shell[data-pages-position=right] .editor-sidebar{grid-row:2}.editor-shell[data-pages-position=right] .canvas-column{grid-area:2/2}.editor-shell[data-pages-position=right] .page-strip.vertical{grid-area:2/3;width:180px;height:100%;padding:10px}.editor-shell[data-pages-position=right] .page-strip.vertical,.editor-shell[data-pages-position=right] .canvas-column{margin-left:0}}.strip-scroll-button:hover,.strip-scroll-button:active{color:var(--h-brand);box-shadow:none;background:0 0}.strip-scroll-button:focus-visible{outline:2px solid var(--h-focus);outline-offset:-2px}.page-delete-button{width:24px;height:24px;color:var(--h-text-muted);background:0 0;border:0;border-radius:4px;flex:none;place-items:center;padding:0;display:grid}.page-delete-button:hover{color:var(--h-error);background:0 0}.page-delete-button:disabled{opacity:.35;cursor:default}.editor-shell{--h-bg:#f7f7f9;--h-canvas:#f1f2f5;--h-text:#292d38;--h-text-muted:#656b78;--h-icon:#4b5160;--h-border:#e5e6eb;--h-brand:#7040e8;--h-brand-hover:#5e30cc;--h-brand-soft:#eee8ff;color:var(--h-text)}.editor-shell .header-actions .button:not(.primary):not(.studio-publish){box-shadow:none;color:var(--h-icon);background:0 0;border-color:#0000}.editor-shell .header-actions .button:not(.primary):not(.studio-publish):hover,.editor-shell .view-button:hover,.editor-shell .editor-commandbar .icon-button:not(:disabled):hover{background:var(--h-bg)}.editor-shell .button.primary{box-shadow:none}.editor-shell .header-actions .button{border-radius:8px}.editor-shell .tools-content>.panel-heading h2{font:600 18px/1.35 var(--h-font-ui);letter-spacing:-.35px}.editor-shell .tools-content>.panel-heading>span{color:var(--h-text-muted)}.photos-panel .empty-library{border:1px dashed var(--h-control-border);text-align:center;border-radius:12px;padding:20px 14px 17px}.photos-panel .photo-upload:not(.empty-library){margin-bottom:12px}.photo-upload-illustration{color:#9b8bbc;stroke-width:1.5px;margin:0 auto 12px;display:block}.photos-panel .empty-library p{max-width:230px;color:var(--h-text-muted);margin:12px auto 0;font-size:12px}.editor-shell .primary-tools [aria-pressed=true]{color:var(--h-brand)}.editor-shell .primary-tools [aria-pressed=true] .tool-icon{background:var(--h-brand-soft)}.editor-shell .canvas-bottom{color:var(--h-text-muted)}.editor-shell .zoom-controls{border-color:var(--h-border);box-shadow:none;background:#fff;border-radius:7px}.editor-shell .spread-page-label{font-size:10px}.editor-shell .cover-spine-label{color:#858995}.editor-shell .strip-pages{background:#f7f7f9;border-color:#e5e6eb;border-radius:6px;padding:4px}.editor-shell .strip-page>.miniature{border-color:#e0e0e4;box-shadow:0 1px 2px #292d380a}.editor-shell .strip-group.current .strip-pages{background:#f4f0ff;border-color:#c8b8ed}.editor-shell .strip-page.active>.miniature{outline:1px solid var(--h-brand);outline-offset:0}.editor-shell .strip-active-dot{display:none}.editor-shell .strip-group-label{font-size:11px}.editor-shell .strip-add{border:1px solid var(--h-border);white-space:nowrap;background:0 0;border-radius:8px;gap:7px;width:86px;height:70px;font-size:10px}.editor-shell .strip-add:hover{background:var(--h-brand-soft);border-color:#d2c3f2}.editor-shell .page-strip.vertical .strip-add{width:100%;height:40px}.editor-shell .elements-panel{max-width:none;height:100%;min-height:0;padding:0}.elements-panel>.panel-heading{display:none}.artwork-library{height:100%;min-height:0;color:var(--h-text);flex-direction:column;display:flex}.element-browser-header{background:#fff;flex-shrink:0;gap:14px;padding:20px 18px 12px;display:grid}.element-browser-title{align-items:center;gap:9px;min-height:24px;display:flex}.editor-shell .element-browser-title h2{font:600 17px/1.4 var(--h-font-ui);letter-spacing:-.3px;flex:1;margin:0}.element-browser-title>span{color:var(--h-text-muted);font-size:11px}.element-browser-title button{border-radius:6px;place-items:center;width:28px;height:28px;display:grid}.artwork-search{border:1px solid var(--h-border);color:var(--h-text-muted);background:#fafafb;border-radius:9px;align-items:center;gap:8px;padding:0 11px;display:flex}.artwork-search:focus-within{border-color:var(--h-brand);box-shadow:0 0 0 1px var(--h-brand)}.artwork-search input{width:100%;min-width:0;font:12px/1.5 var(--h-font-ui);box-shadow:none;background:0 0;border:0;outline:none;padding:11px 0}.artwork-search button{place-items:center;min-width:24px;min-height:30px;display:grid}.element-browser-body{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:4px 18px 24px;overflow-y:auto}.element-kind-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:4px 0 26px;display:grid}.element-kind-cards button{color:var(--h-text-muted);justify-items:center;gap:8px;font-size:10px;font-weight:500;display:grid}.element-kind-cards button span{aspect-ratio:1;color:#7251ae;background:#f3effc;border:1px solid #ede6fa;border-radius:12px;place-items:center;width:100%;display:grid}.element-kind-cards button:nth-child(2) span{color:#a17b44;background:#f9f1e5;border-color:#f0e7d8}.element-kind-cards button:nth-child(3) span{color:#648363;background:#edf4ed;border-color:#e0ebdf}.element-kind-cards button:nth-child(4) span{color:#b7757d;background:#faeded;border-color:#f1dfdf}.element-kind-cards button:hover span{filter:brightness(.97)}.panel-content .element-shelf{border:0;margin:0 0 27px;padding:0}.element-section-title{justify-content:space-between;align-items:center;gap:6px;margin-bottom:12px;display:flex}.panel-content .element-section-title h3{font:600 12px/1.5 var(--h-font-ui);margin:0}.element-section-title>button{color:var(--h-text-muted);white-space:nowrap;align-items:center;gap:2px;min-height:25px;font-size:10px;display:flex}.element-section-title>button:hover{color:var(--h-brand)}.element-shelf-row,.element-collection-row{scroll-snap-type:x proximity;scrollbar-width:thin;grid-auto-columns:calc(33.3333% - 6.66667px);grid-auto-flow:column;gap:10px;padding-bottom:7px;display:grid;overflow-x:auto}.element-shelf-row>*,.element-collection-row>*{scroll-snap-align:start}.element-tile{aspect-ratio:1;background:#f7f7f9;border:1px solid #0000;border-radius:9px;place-items:center;width:100%;min-width:0;padding:7px;display:grid;overflow:hidden}.element-tile img{object-fit:contain;width:100%;height:100%;min-height:0}.element-tile:hover{background:#f5f1fc;border-color:#cbb5ed}.element-tile:disabled{opacity:.45;cursor:default}.element-material{padding:10px}.native-element-thumbnail{width:100%;max-width:100%;height:auto;max-height:100%;margin:auto;display:block}.native-element-thumbnail .page-artwork{width:100%;height:100%;display:block}.element-collection{text-align:left;align-content:start;gap:8px;min-width:0;display:grid}.element-collection>span{aspect-ratio:1;background:#f1e9dd;border-radius:10px;place-items:center;padding:7px;display:grid;overflow:hidden}.element-collection:nth-child(4n+2)>span{background:#eaf1e9}.element-collection:nth-child(4n+3)>span{background:#f8e8ed}.element-collection:nth-child(4n+4)>span{background:#eeeaf8}.element-collection img{object-fit:contain;width:100%;height:100%;min-height:0;transition:transform .15s}.element-collection:hover img{transform:scale(1.05)}.element-collection strong{font-size:10px;font-weight:500;line-height:1.4}.element-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;padding-top:5px;display:grid}.element-collection-grid strong{font-size:12px}.element-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:4px;display:grid}.element-results-materials{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.element-type-tabs{scrollbar-width:thin;gap:6px;padding:1px 0 3px;display:flex;overflow-x:auto}.element-type-tabs button{border:1px solid var(--h-border);color:var(--h-text-muted);white-space:nowrap;border-radius:6px;padding:7px 9px;font-size:10px}.element-type-tabs button[aria-pressed=true]{background:var(--h-brand-soft);color:var(--h-brand);border-color:#d6c5f2}.element-selection{background:var(--h-brand-soft);color:var(--h-brand);border-radius:7px;justify-content:space-between;align-items:center;gap:9px;padding:9px 10px;font-size:10px;line-height:1.5;display:flex}.element-selection button{align-items:center;gap:5px;min-height:24px;font-size:10px;font-weight:500;display:flex}.element-tip{color:var(--h-text-muted);margin:4px 0;font-size:11px;line-height:1.7}.element-empty{text-align:center;color:var(--h-text-muted);justify-items:center;gap:12px;padding:50px 10px;font-size:12px;display:grid}.element-empty p{line-height:1.7}.element-empty button{color:var(--h-brand);text-decoration:underline}@media (max-width:900px){.left-panel.mobile-open:has(.elements-panel){height:75dvh;overflow:hidden}.editor-shell .mobile-open .elements-panel{height:calc(100% - 54px);padding:0}.mobile-open .element-browser-header{padding-top:12px}}.layout-settings{gap:18px;display:grid}.layout-settings>p,.layout-settings fieldset>p{color:var(--h-text-muted);font-size:12px}.layout-settings-preview{border:1px solid var(--h-border);width:108px;max-height:155px;margin:0 auto;box-shadow:0 4px 12px #2025370d}.layout-settings fieldset{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.layout-settings legend{margin-bottom:9px;font-size:12px;font-weight:600}.layout-setting-choices{gap:6px;display:flex}.layout-setting-choices>button{border:1px solid var(--h-border);background:#fff;border-radius:6px;flex:1;min-height:40px;padding:9px 12px;font-size:12px}.layout-setting-choices>button[aria-pressed=true]{background:var(--h-brand-soft);border-color:var(--h-brand);color:var(--h-brand)}.element-collection .native-element-thumbnail{max-height:100%;padding:6px;width:86%!important}.layout-settings-trigger{border:1px solid var(--h-border);min-height:34px;color:var(--h-text-muted);background:#fff;border-radius:7px;align-items:center;gap:7px;padding:7px 10px;font-size:10px;display:inline-flex;box-shadow:0 2px 7px #2025370b}.layout-settings-trigger:hover,.layout-settings-trigger[aria-expanded=true]{background:var(--h-brand-soft);color:var(--h-brand);border-color:#d1c2ef}.layout-quick-card{z-index:65;overscroll-behavior:contain;width:268px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);color:var(--h-text);border:1px solid var(--h-border);background:#fff;border-radius:12px;outline:none;gap:16px;padding:16px;display:grid;position:fixed;overflow-y:auto;box-shadow:0 12px 40px #20253726}.layout-quick-card>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.layout-quick-card h2{font:600 13px/1.4 var(--h-font-ui)}.layout-quick-card header>button{min-width:30px;min-height:30px;color:var(--h-text-muted);border-radius:5px;place-items:center;display:grid}.layout-quick-card header>button:hover{background:var(--h-bg)}.layout-quick-card fieldset{border:0;min-width:0;margin:0;padding:0}.layout-quick-card legend{margin-bottom:8px;font-size:11px;font-weight:500}.layout-quick-card .layout-setting-choices>button{min-height:36px;padding:7px 9px;font-size:11px}.layout-quick-card fieldset>p{color:var(--h-text-muted);margin-top:7px;font-size:10px;line-height:1.6}.layout-quick-card summary{cursor:pointer;min-height:24px;color:var(--h-text-muted);font-size:11px}.layout-change .quick-layout-buttons{box-shadow:none;grid-template-columns:repeat(6,1fr);gap:2px;margin-top:10px;padding:4px;display:grid;position:static}.layout-change .quick-layout-buttons>button{width:100%;min-width:0;height:36px}.layout-card-error{color:var(--h-error);font-size:11px;line-height:1.6}@media (max-width:900px){.layout-quick-card{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));border-radius:16px;width:auto;max-width:none;max-height:70dvh;padding:16px 18px;box-shadow:0 -8px 36px #20253722;top:auto!important;left:12px!important}.layout-quick-card .layout-setting-choices>button{min-height:42px}.layout-settings-trigger{min-height:38px}}.layout-margin-toggle{text-align:left;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:0;font-size:11px;display:flex}.layout-switch-track{background:#cbd0dc;border-radius:20px;align-items:center;width:32px;height:20px;padding:3px;display:flex}.layout-switch-track>span{background:#fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 3px #20253726}.layout-margin-toggle[aria-checked=true] .layout-switch-track{background:var(--h-brand);justify-content:flex-end}.layout-quick-card .layout-change{border-top:1px solid var(--h-border);padding-top:12px}.layout-spacing-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.layout-spacing-choices>button{border:1px solid var(--h-border);color:#8b93a5;background:#fff;border-radius:8px;flex-direction:column;align-items:center;gap:7px;padding:12px 8px 10px;display:flex}.layout-spacing-choices>button>span{color:var(--h-text);font-size:11px}.layout-spacing-choices>button:hover{border-color:#c5b5e9}.layout-spacing-choices>button[aria-pressed=true]{border-color:var(--h-brand);background:var(--h-brand-soft);color:var(--h-brand)}.layout-spacing-choices>button[aria-pressed=true]>span{color:var(--h-brand)}.spread-page-caption:has(.layout-settings-trigger){z-index:7;gap:7px}.spread-page-caption .layout-settings-trigger{color:#6030c7;white-space:nowrap;background:#eee7ff;border:1px solid #cbb9f3;border-radius:6px;gap:6px;min-height:24px;padding:4px 9px;font-size:10px;font-weight:600;line-height:1;box-shadow:0 1px 3px #6030c715}.spread-page-caption .layout-settings-trigger:hover,.spread-page-caption .layout-settings-trigger[aria-expanded=true]{color:#4d20a8;background:#e0d2ff;border-color:#aa8ae5}.spread-page-caption .layout-settings-trigger>svg{flex-shrink:0}@media (max-width:900px){.spread-page-caption:has(.layout-settings-trigger){gap:4px}.spread-page-caption .layout-settings-trigger{padding-inline:7px}}.pages-selection-actions{display:none}@media (min-width:901px){.dialog.pages-overview{width:min(1000px,90vw);padding:24px}.pages-overview>header{margin-bottom:12px}.pages-overview>header h2{font:600 18px/1.4 var(--h-font-ui);letter-spacing:-.3px}.pages-overview .pages-toolbar{color:var(--h-text-muted);margin-bottom:16px;font-size:11px}.pages-overview .pages-toolbar .button{min-height:34px;padding:7px 12px;font-size:11px}.pages-selection-actions{background:#f6f5f9;border-radius:8px;align-items:center;gap:14px;min-height:48px;margin-bottom:18px;padding:8px 12px;display:flex}.pages-selection-actions>span{flex:1;font-size:12px;font-weight:500}.pages-selection-actions .page-card-actions{gap:6px;margin:0}.pages-selection-actions .page-card-actions .icon-button{width:32px;height:32px}.pages-selection-actions>.button{min-height:32px;padding:6px 14px;font-size:11px}.pages-overview .pages-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:22px 14px;max-height:55dvh;padding:4px}.pages-overview .page-grid-card{background:0 0;border:0;border-radius:0;padding:0}.pages-overview .page-grid-preview{color:var(--h-text-muted);gap:9px;padding:0;font-size:10px;display:grid}.pages-overview .page-grid-preview>.miniature{outline-offset:2px;border-radius:2px;outline:1px solid #20253712;margin:0;box-shadow:0 2px 5px #20253709}.pages-overview .page-grid-card.active .miniature{outline:2px solid var(--h-brand)}.pages-overview .page-grid-card.active .page-grid-preview{color:var(--h-brand);font-weight:600}.pages-overview .page-grid-preview:hover .miniature{outline-color:#b9a6df}.pages-overview .page-card-mobile-actions{display:none}.pages-overview>.small{margin-top:16px;font-size:10px}}.dialog.ready-book-simple{width:min(780px,94vw);max-width:780px;padding:22px}.ready-book-simple>header{margin-bottom:16px}.ready-book-simple>header h2{font:600 18px/1.4 var(--h-font-ui);letter-spacing:-.3px}.book-preview-stage{justify-items:center;gap:10px;display:grid}.book-preview-spread{width:min(100%,540px)}.book-preview-spread .design-spread-preview{gap:0;box-shadow:0 6px 18px #20253712}.book-preview-spread .miniature{border-radius:0}.book-preview-navigation{justify-content:center;align-items:center;gap:24px;display:flex}.book-preview-navigation>button{width:36px;height:36px;color:var(--h-text-muted);border-radius:50%;place-items:center;display:grid}.book-preview-navigation>button:hover:not(:disabled){background:var(--h-brand-soft);color:var(--h-brand)}.book-preview-navigation>span{text-align:center;min-width:100px;font-size:11px}.book-preview-navigation>span>span{color:var(--h-text-muted)}.book-sample-note{color:var(--h-text-muted);text-align:center;font-size:10px}.book-use-options{gap:12px;margin:18px 0;display:grid}.book-simple-palettes{flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;display:flex}.book-simple-palettes>span{color:var(--h-text-muted);margin-right:4px}.book-simple-palettes>button{border:1px solid var(--h-border);border-radius:6px;align-items:center;gap:7px;padding:8px 10px;font-size:11px;display:flex}.book-simple-palettes>button[aria-pressed=true]{border-color:var(--h-brand);background:var(--h-brand-soft)}.book-simple-palettes i{border:1px solid #20253715;border-radius:50%;width:13px;height:13px}.book-cover-option{cursor:pointer;align-items:center;gap:9px;min-height:32px;font-size:11px;display:flex}.book-optional-cover{gap:4px;width:150px;display:flex}.book-optional-cover>.miniature{width:50%}.book-use-footer{border-top:1px solid var(--h-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding-top:15px;display:flex}.book-use-footer>p{color:var(--h-text-muted);flex:1;min-width:180px;font-size:10px}.book-use-footer>button{min-height:42px;padding-inline:22px;font-size:12px}.book-use-footer>p[role=alert]{color:var(--h-error);flex-basis:100%}@media (max-width:600px){.dialog.ready-book-simple{padding:18px}.book-preview-spread{width:100%}.book-use-footer{gap:12px}.book-use-footer>button{width:100%;min-height:46px}}@media (min-width:601px) and (max-height:800px){.book-preview-spread{width:min(100%,440px)}}.dialog.ready-book-simple:not(.book-replace-confirmation){width:min(1040px,94vw);max-width:1040px}.ready-book-simple .book-preview-spread{width:min(100%,127.273dvh - 410.101px)}.book-preview-spread[data-kind=cover]>.miniature{width:100%;box-shadow:0 6px 18px #20253712}.ready-book-simple .book-use-footer{justify-content:flex-end;margin-top:12px;padding-top:12px}@media (max-width:600px){.ready-book-simple .book-preview-spread{width:100%}.ready-book-simple .book-preview-spread[data-kind=cover]{width:min(100%,63.6364dvh - 183.838px)}}.editor-shell .canvas-bottom{grid-template-columns:1fr auto 1fr;gap:4px;height:40px;padding:0 8px;display:grid}.canvas-bottom>.text-button{justify-self:start}.canvas-bottom .page-nav{grid-column:2;justify-self:center}.canvas-bottom .zoom-controls{background:0 0;border:0;grid-column:3;justify-self:end;gap:0;height:32px}.canvas-bottom .zoom-controls .icon-button{width:32px;height:36px}.canvas-bottom .zoom-reset{width:38px;font-size:10px}.photo-action-bar>.photo-replace-action{background:var(--h-brand-soft);width:auto;color:var(--h-brand);align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:flex}.photo-action-bar>.photo-edit-action{color:var(--h-brand)}@media (min-width:901px){.photo-action-bar>.photo-edit-action{gap:5px;width:auto;padding-inline:7px;font-size:12px;font-weight:600;display:flex}}@media (max-width:900px){.photo-action-bar>.photo-edit-action>span{display:none}}@media (max-width:360px){.photo-action-bar>button{width:32px}.photo-action-bar>.photo-replace-action{padding-inline:7px}}@media (max-width:900px){.editor-shell .editor-header{grid-template-rows:40px auto;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;gap:6px 8px;height:auto;min-height:86px;padding:8px 12px;display:grid;position:relative}.editor-header .wordmark{grid-area:1/1;min-width:0;font-size:22px}.editor-header .header-actions{grid-area:1/2;gap:4px;min-width:0;margin:0}.editor-header .header-actions .button{white-space:nowrap;height:40px;min-height:40px;padding:6px 8px;font-size:11px}.editor-header .project-menu-anchor{position:static}.editor-header .project-menu{width:min(280px,100% - 24px);min-width:0;max-height:calc(100dvh - 110px);right:12px;overflow-y:auto}.editor-header .checkout-action>span{text-overflow:ellipsis;max-width:104px;overflow:hidden}.editor-header .project-meta{grid-area:2/1/auto/-1;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.editor-header .project-meta input{text-overflow:ellipsis;flex:1;width:0;min-width:0;max-width:none;min-height:26px;padding:2px 0;font-size:11px}.editor-header .save-state,.editor-header .save-error{white-space:normal;text-align:right;flex:0 auto;max-width:48%;margin:0;font-size:9px;line-height:1.4}.editor-header .save-state svg,.editor-header .save-error svg{flex:none}.editor-shell .editor-commandbar{height:42px;min-height:42px;padding-block:0}.editor-shell .page-strip{height:78px;padding-block:4px}.editor-shell .strip-page>.miniature{width:35px}.editor-shell .strip-pages{padding:3px}.editor-shell .strip-page{gap:3px;font-size:9px}.editor-shell .strip-add{gap:3px;width:64px;min-width:64px;height:60px;font-size:9px}.editor-shell .canvas-bottom{height:38px}.canvas-bottom .page-nav{gap:0;font-size:10px}.canvas-bottom .page-nav .icon-button{width:30px;height:38px}.canvas-bottom>.text-button{min-height:38px}}.destination-grid,.prepared-grid{align-items:start}.destination-grid>button,.prepared-grid>button{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.destination-grid>button>.miniature,.prepared-grid>button>.miniature{flex:none}.text-composer-font{grid-template-columns:minmax(0,1fr)}.text-color-swatches{flex-wrap:wrap;gap:8px;padding:4px;display:flex}.text-color-swatches>button,.text-custom-color{box-sizing:border-box;flex:0 0 24px;width:24px;height:24px}.text-composer-font select,.inline-type-row>select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23596273' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:34px}.inline-type-row{align-items:center}.inline-type-row>select{width:100%}.inline-type-style{flex-wrap:wrap}.inline-spacing-controls .inline-font-size{width:auto}.inline-spacing-controls{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.spread-page-caption>.cover-quick-actions{z-index:25}.spread-page-caption .cover-quick-bar{box-shadow:none;background:0 0;border:0;border-radius:4px;padding:0}.spread-page-caption .cover-quick-bar>button{gap:4px;height:24px;min-height:24px;padding:2px 5px;font-size:10px}.spread-page-caption .cover-current-color{width:11px;height:11px}.spread-page-caption .cover-quick-bar>button>svg{display:none}.cover-quick-palette .back-cover-layouts{border:0;margin-bottom:12px}@media (max-width:900px){.spread-page-caption .cover-quick-palette{top:auto;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));text-align:left;z-index:70;width:auto;position:fixed;transform:none}}.text-size-buttons{flex:none;gap:4px;display:flex}.text-size-buttons>button{border:1px solid var(--h-border);width:38px;min-height:38px;color:var(--h-text);background:#fff;border-radius:5px;font-size:14px;font-weight:600}.text-size-buttons>button:last-child{font-size:18px}.text-size-buttons>button:hover:not(:disabled){color:var(--h-brand);background:var(--h-brand-soft)}@media (max-width:900px){.text-size-buttons>button{width:44px;min-height:44px}}.photos-panel .library-toolbar{margin-bottom:12px}.photos-panel .library-filters{flex-wrap:wrap;gap:16px}.photos-panel .library-filters>button{padding:8px 0}.photos-panel .autofill-button{margin-bottom:4px}.asset-entry .asset-remove{color:#444956;background:#ffffffed;border-radius:6px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:5px;right:5px;box-shadow:0 1px 5px #0002}.asset-entry .asset-remove:hover{color:var(--h-error);background:#fff}@media (max-width:900px){.asset-entry .asset-remove{width:36px;height:36px}}.library-manage{display:none}.asset-entry .asset-remove{opacity:0;visibility:hidden;pointer-events:none}@media (hover:hover) and (pointer:fine){.asset-entry:hover .asset-remove,.asset-entry:focus-within .asset-remove{opacity:1;visibility:visible;pointer-events:auto}}.photo-library[data-managing=true] .asset-remove{opacity:1;visibility:visible;pointer-events:auto}.asset-entry .asset-edit{color:#444956;background:#ffffffed;border-radius:6px;place-items:center;width:34px;height:34px;display:grid;position:absolute;bottom:5px;left:5px;box-shadow:0 1px 5px #0002}.asset-entry .asset-edit:hover{color:var(--h-brand);background:#fff}.asset-entry .asset-edit:disabled{display:none}@media (hover:hover) and (pointer:fine){.asset-entry .asset-edit{opacity:0}.asset-entry:hover .asset-edit,.asset-entry:focus-within .asset-edit{opacity:1}}@media (hover:none),(pointer:coarse){.asset-entry .asset-edit{width:44px;height:44px;bottom:0;left:0}.asset-entry .asset-edit,.asset-entry .asset-edit:hover{box-shadow:none;background:0 0}.asset-edit>svg{box-sizing:content-box;background:#ffffffed;border-radius:6px;padding:6px;box-shadow:0 1px 5px #0002}}@media (max-width:900px),(hover:none){.library-manage{flex:none;font-size:11px;display:block}}.strip-group{position:relative}.strip-rail{gap:28px}.strip-insert{width:24px;height:24px;color:var(--h-brand);background:var(--h-brand-soft);border-radius:50%;place-items:center;display:grid;position:absolute;top:30px;right:-25px}.strip-insert:hover{background:var(--h-brand);color:#fff}.page-strip.vertical .strip-insert{inset:auto auto -25px calc(50% - 12px)}.page-strip.vertical .strip-rail{gap:30px}@media (max-width:900px){.editor-shell .page-strip{height:86px;padding-block:4px}.editor-shell .strip-rail{scrollbar-width:none;gap:28px;height:100%;padding:3px 2px}.editor-shell .strip-group{gap:4px}.editor-shell .strip-page>.miniature{aspect-ratio:210/297;width:35px;height:auto}.editor-shell .strip-group-label{font-size:10px;line-height:14px}.editor-shell .strip-insert{top:18px}}.editor-shell .strip-insert{width:28px;height:32px;color:var(--h-brand);background:#fff;border:1px solid #ded6ee;border-radius:8px;top:27px;box-shadow:0 1px 3px #2621350a}.editor-shell .strip-insert.before{left:-36px;right:auto}.editor-shell .strip-insert.after{left:auto;right:-36px}.editor-shell .strip-insert:hover:not(:disabled){color:#fff;background:var(--h-brand);border-color:var(--h-brand)}.editor-shell .page-strip.vertical .strip-insert.before{inset:-37px auto auto calc(50% - 14px)}.editor-shell .page-strip.vertical .strip-insert.after{inset:auto auto -37px calc(50% - 14px)}.cover-quick-palette .cover-color-options>div{gap:6px}.cover-quick-palette .cover-color-options button{width:24px;height:24px}.cover-quick-palette .cover-color-options input{width:26px;height:26px}@media (max-width:900px){.editor-shell .strip-insert{width:30px;height:36px;top:13px}.editor-shell .strip-insert.before{left:-37px}.editor-shell .strip-insert.after{right:-37px}}.editor-shell .strip-rail{gap:12px;padding-inline:12px}.editor-shell .page-strip.vertical .strip-rail{gap:12px;padding:12px 2px}.editor-shell .page-strip.vertical .strip-group.terminal:not(.current){margin:0 0 26px}.editor-shell .strip-group.current{margin-inline:18px}.editor-shell .strip-group.terminal:not(.current){margin-right:18px}.editor-shell .strip-insert{width:24px;height:24px;box-shadow:none;border-radius:50%;top:31px}.editor-shell .strip-insert.before{left:-27px}.editor-shell .strip-insert.after{right:-27px}.editor-shell .strip-insert:before{content:"";position:absolute;inset:-4px}.editor-shell .page-strip.vertical .strip-group.current{margin:18px 0}.editor-shell .page-strip.vertical .strip-group.terminal:not(.current){margin-bottom:18px}.editor-shell .page-strip.vertical .strip-insert.before{top:-27px;left:calc(50% - 12px)}.editor-shell .page-strip.vertical .strip-insert.after{bottom:-27px;left:calc(50% - 12px)}.inline-type-style>.text-default-color{border:1px solid #9ba5b8;border-radius:50%;width:22px;min-width:22px;height:22px}.inline-type-style>.text-default-color[aria-pressed=true]{outline:2px solid var(--h-brand);outline-offset:2px}@media (max-width:900px){.editor-shell .strip-insert{width:22px;height:22px;top:18px}.editor-shell .strip-insert.before{left:-26px}.editor-shell .strip-insert.after{right:-26px}.editor-shell .strip-insert svg{width:13px;height:13px}}.editor-shell .strip-insert{box-sizing:border-box;justify-content:center;align-items:center;padding:0;line-height:1;display:flex}.editor-shell .strip-insert>svg{flex:none;margin:0;padding:0;display:block}.element-kind-cards>button{grid-template-rows:auto 26px;align-content:start;width:100%;min-width:0;padding:0;font-size:9px;line-height:1.35}.element-kind-cards>button>span{box-sizing:border-box;aspect-ratio:1;width:100%;min-width:0}.book-cover-pair{grid-template-columns:1fr 1fr;gap:0;display:grid;box-shadow:0 6px 18px #20253712}.book-cover-pair>.miniature{width:100%}.ready-book-simple .book-preview-spread[data-kind=cover]{width:min(100%,127.273dvh - 367.677px)}.element-results:not(.element-results-materials){grid-template-columns:repeat(2,minmax(0,1fr))}.cross-page-drag-preview{pointer-events:none;z-index:85;position:fixed;inset:0}.cross-page-drag-preview img{pointer-events:none;object-fit:contain;max-width:none}.quick-page-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.quick-page-grid>button{text-align:center;gap:7px;min-width:0;padding:0;font-size:11px;display:grid}.quick-page-grid .miniature{border:1px solid var(--h-border);width:100%}.quick-page-grid>button:hover .miniature{outline:2px solid var(--h-brand)}@media (max-width:600px){.quick-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.strip-pages{position:relative}.editor-shell .strip-pages>.strip-insert{top:50%;transform:translateY(-50%)}.editor-shell .page-strip.vertical .strip-pages>.strip-insert{transform:none}.editor-shell .page-strip.vertical .strip-pages>.strip-insert.before{top:-27px}.editor-shell .page-strip.vertical .strip-pages>.strip-insert.after{top:auto}.empty-page-start .blank-page-choices{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.empty-page-start .blank-ready-page{color:var(--h-text-muted);justify-content:center;align-items:center;gap:5px;min-height:32px;font-size:11px;display:flex}.ready-pages-empty{text-align:center;color:var(--h-text-muted);padding:28px 0;font-size:13px}.empty-page-start button{pointer-events:auto}.empty-page-start .blank-page-choices{flex-wrap:nowrap;align-items:stretch;gap:12px;display:flex}.empty-page-start .blank-page-option{width:72px;min-height:68px;color:var(--h-text-muted);background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:8px 4px;line-height:1;display:flex}.empty-page-start .blank-page-option>svg{flex:none}.empty-page-start .blank-page-option>span{white-space:nowrap;font-size:11px;line-height:1.3}.empty-page-start .blank-page-option.photo>svg{color:var(--h-brand)}.empty-page-start .blank-page-option:hover{color:var(--h-brand);background:#6d38f508}.cover-start-actions .blank-page-option{width:88px}.blank-drop-hint{color:var(--h-brand);flex-direction:column;align-items:center;gap:10px;display:flex}@media (max-width:900px){.preview-dialog>.book-preview{grid-template-rows:minmax(0,1fr) 36px;grid-template-columns:1fr 1fr;align-items:stretch;gap:4px 16px;padding:0;display:grid}.preview-dialog .book-preview>.preview-canvas{grid-area:1/1/auto/-1;width:100%;height:100%}.preview-dialog .book-preview>.icon-button{grid-row:2;align-self:center;width:36px;height:36px}.preview-dialog .book-preview>.icon-button:first-child{grid-column:1;justify-self:end}.preview-dialog .book-preview>.icon-button:last-child{grid-column:2;justify-self:start}}.spread-page-caption .layout-settings-trigger{box-sizing:border-box;height:24px;min-height:24px;box-shadow:none;justify-content:center;align-items:center;margin:0;padding:0 8px;line-height:1;display:inline-flex}.spread-page-caption .layout-settings-trigger>svg{margin:0;display:block}.layout-quick-card{gap:0;padding:14px 16px}.layout-quick-card>header{padding-bottom:10px}.layout-settings-section{border-top:1px solid var(--h-border)}.layout-section-heading{text-align:left;width:100%;min-height:42px;color:var(--h-text);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:12px;font-weight:500;display:flex}.layout-section-heading>svg{color:var(--h-text-muted);flex:none;transition:transform .15s}.layout-section-heading[aria-expanded=true]>svg{transform:rotate(180deg)}.layout-section-content{padding:0 0 14px}.layout-section-content .quick-layout-buttons{width:100%;box-shadow:none;background:0 0;border:0;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:0;padding:0;display:grid;position:static}.layout-section-content .quick-layout-buttons>button{border-radius:5px;place-items:center;width:100%;min-width:0;height:44px;padding:0;display:grid}.layout-section-content .quick-layout-buttons>button>svg{width:30px;height:38px}.layout-section-content .layout-margin-toggle{min-height:36px;padding:0;font-size:11px}.layout-quick-card .layout-card-error{margin-top:10px}.layout-section-content .quick-layout-buttons .layout-paper{fill:#fff;stroke:#bdc5d2;stroke-width:1px}.layout-section-content .quick-layout-buttons .layout-block{fill:#60758f}.layout-section-content .quick-layout-buttons [aria-pressed=true] .layout-block{fill:var(--h-brand)}.layout-settings-section>.layout-section-heading{min-height:0;margin:0;padding:12px 0 10px;font-size:12px;font-weight:500;line-height:1.4}.dialog.ready-page-picker{width:min(820px,94vw)}.ready-page-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px;max-height:68dvh;padding:4px;display:grid;overflow-y:auto}.ready-page-grid>button{text-align:left;flex-direction:column;align-items:stretch;gap:7px;min-width:0;padding:0;display:flex}.ready-page-grid .miniature{outline:1px solid #2025370c;width:100%;box-shadow:0 2px 7px #20253712}.ready-page-grid>button:hover .miniature,.ready-page-grid>button:focus-visible .miniature{outline:2px solid var(--h-brand)}.ready-page-grid strong{font-size:11px;font-weight:500;line-height:1.4}.ready-page-grid>button>span{color:var(--h-text-muted);margin-top:-4px;font-size:10px}@media (max-width:600px){.ready-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;max-height:70dvh}}.ready-page-study{background:#f4f1eb;max-width:1120px;margin:auto;padding:40px 24px}.ready-page-study>header{margin-bottom:32px}.ready-page-study h1{margin-bottom:10px;font:400 36px/1.2 Fraunces,serif}.ready-page-study>header p{color:#687267;font-size:14px}.ready-page-study-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 20px;display:grid}.ready-page-study-grid figure{margin:0}.ready-page-study-grid .miniature{width:100%;box-shadow:0 5px 15px #1d2b2310}.ready-page-study-grid figcaption{color:#2a3c32;margin-top:12px;font-size:12px}@media (max-width:700px){.ready-page-study-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ready-page-study{padding:24px 16px}}.spread-page-caption .template-clear-button{width:auto;height:24px;min-height:24px;color:var(--h-text-muted);opacity:1;white-space:nowrap;justify-content:center;align-items:center;gap:5px;padding:0 6px;font-size:10px;line-height:1;display:inline-flex}.template-clear-button>svg{flex:none}@media (max-width:420px){.editor-header .wordmark{letter-spacing:0;place-items:center;width:28px;height:40px;font-size:0;display:grid}.editor-header .wordmark:before{content:"‹";font:30px/1 var(--h-font-ui);color:var(--h-text-muted)}}@media (max-width:350px){.editor-header .preview-action>span{display:none}}.editor-shell .header-actions .button.preflight-button.has-warnings{color:#ac2445;background:#fff0f3;border:1px solid #edb2c0}.editor-shell .preflight-button.has-warnings .issue-count{color:#fff;background:#be2348;min-width:20px;padding:3px 5px;font-weight:700}.preflight-summary.has-warnings{color:#ad2949;background:#fff0f3;border:1px solid #f1bcc9}.preflight-summary.has-warnings p{color:#9c5e6c;margin-bottom:0}.preflight-summary.is-clear{color:#267657;background:#eef8f2}.review-page-list{gap:10px;max-height:43dvh;margin-top:16px;display:grid;overflow:auto}.review-page-card{background:#f7f8fa;border:1px solid #dfe3eb;border-radius:10px;overflow:hidden}.review-page-link{text-align:left;color:#596273;align-items:center;gap:14px;width:100%;padding:14px;display:flex}.review-page-link:hover{background:#edf0f5}.review-page-link>.miniature{border:1px solid #e5d2d9;flex:0 0 43px;width:43px}.review-page-link>span{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.review-page-link strong{color:#30394a;font-size:13px}.review-page-link>span>span{font-size:12px;line-height:1.65}.review-page-link>svg{flex:none}.review-text-links{border-top:1px solid #e1e5ed;padding:3px 14px}.review-text-links button{text-align:left;color:#596273;overflow-wrap:anywhere;width:100%;padding:9px 0;font-size:11px;line-height:1.6;display:block}.review-text-links button span{color:#6d38b3;margin-top:3px;font-weight:600;display:block}.review-accept{color:#8d3049;cursor:pointer;background:#fff0f3;border:1px solid #efbdca;border-radius:9px;align-items:flex-start;gap:10px;margin-top:18px;padding:14px;font-size:12px;line-height:1.7;display:flex}.review-accept input{margin-top:3px}.review-blocked{color:#b02648;background:#fff0f3;border-radius:8px;padding:13px;font-size:12px;line-height:1.6}@media (max-width:900px){.editor-shell .header-actions .button.preflight-button.has-warnings{box-shadow:0 0 0 2px #fff0f3}.editor-header .preflight-button.has-warnings .desktop-label{font-size:10px;display:inline}.editor-header .checkout-action{padding-inline:7px}}@media (max-width:600px){.review-dialog .dialog-actions{flex-wrap:wrap}.review-dialog .dialog-actions .button{flex:100%;min-height:44px}.review-dialog .dialog-actions .button.primary{order:-1}.review-page-link{gap:10px;padding:12px}.review-page-link>span>span{font-size:11px}}@media (max-width:350px){.editor-header .preflight-button.has-warnings .desktop-label{display:none}}.preview-dialog .review-warning-link{color:#a32949;background:#fff0f3;border:1px solid #efbdca;border-radius:8px;padding:10px 14px}.review-accept.is-accepted{color:#236847;background:#ecf8f1;border-color:#9bd0b1}.review-accept input:checked{accent-color:#23794f}@media (min-width:901px){.editor-shell .editor-commandbar{margin-right:var(--editor-actions-width,360px)}}.canvas-rotate-handle{z-index:95;border:1px solid var(--h-brand,#7040e8);width:36px;height:36px;color:var(--h-brand,#7040e8);touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;border-radius:50%;place-items:center;padding:0;display:grid;position:fixed;transform:translate(-50%,-50%);box-shadow:0 2px 8px #2020301a}.canvas-rotate-handle:before{content:"";border-radius:50%;position:absolute;inset:-4px}.canvas-rotate-handle:focus-visible{outline-offset:3px;outline:3px solid #7040e84d}.layers-panel{border-left:1px solid var(--h-border);overscroll-behavior:contain;background:#fff;flex:0 0 224px;width:224px;min-height:0;display:none;overflow-y:auto}.layers-heading{z-index:1;background:#fff;justify-content:space-between;align-items:center;gap:4px;padding:14px 12px 10px;display:flex;position:sticky;top:0}.layers-heading h2{align-items:center;gap:7px;margin:0;font-size:12px;font-weight:600;display:flex}.layers-heading .icon-button{width:28px;height:28px}.layers-content{padding:0 8px 16px}.layers-summary{color:var(--h-text-muted);justify-content:space-between;padding:4px 8px 14px;font-size:10px;display:flex}.layer-entry{align-items:center;margin-bottom:3px;display:flex;position:relative}.layer-row{text-align:left;border:1px solid #0000;border-radius:7px;align-items:center;gap:8px;width:100%;min-width:0;min-height:52px;padding:8px;display:flex}.layer-row:hover{background:#f6f5fa}.layer-row.is-selected{background:var(--h-brand-soft);border-color:var(--h-brand)}.layer-row:focus-visible{outline:2px solid var(--h-brand);outline-offset:-2px}.layer-preview{height:32px;color:var(--h-text-muted);background:#f4f3f7;border-radius:4px;flex:0 0 30px;place-items:center;display:grid;overflow:hidden}.layer-preview img{object-fit:contain;width:100%;height:100%}.layer-copy{flex:1;min-width:0}.layer-copy>span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px;display:block;overflow:hidden}.layer-copy small{color:var(--h-text-muted);font-size:9px;line-height:15px;display:block}.layer-expand{flex:0 0 20px;place-items:center;height:44px;display:grid}.layer-expand[aria-expanded=true] svg{transform:rotate(90deg)}.layer-section{border-bottom:1px solid var(--h-border)}.layer-section summary{cursor:pointer;align-items:center;gap:6px;min-height:42px;padding:8px 6px;font-size:11px;font-weight:600;list-style:none;display:flex}.layer-section summary::-webkit-details-marker{display:none}.layer-section[open]>summary svg{transform:rotate(90deg)}.layer-section summary small{color:var(--h-text-muted);margin-left:auto;font-weight:400}.layer-children{border-left:1px solid var(--h-border);margin:0 0 6px 12px;padding-left:7px}.layers-empty{text-align:center;color:var(--h-text-muted);padding:48px 12px}.layers-empty svg{margin:0 auto 12px}.layers-empty p{margin:0 0 8px;font-size:12px}.layers-empty small{font-size:11px;line-height:1.6}.layers-toggle[aria-pressed=true]{color:var(--h-brand);background:var(--h-brand-soft)}@media (min-width:901px){.layers-panel.desktop-open{display:block}}@media (min-width:901px) and (max-width:1200px){.layers-panel{flex-basis:192px;width:192px}}@media (max-width:900px){.layers-panel.mobile-open{z-index:65;width:100%;max-height:65dvh;padding-bottom:env(safe-area-inset-bottom);border:0;border-radius:16px 16px 0 0;display:block;position:fixed;bottom:64px;left:0;right:0;box-shadow:0 -10px 40px #20253722}.layers-heading{padding:12px 16px 6px}.layers-heading h2{font-size:14px}.layers-content{padding:0 12px 12px}.layer-row{min-height:56px}.layer-expand{flex-basis:36px}.layer-copy>span{font-size:13px}.layer-copy small,.layers-summary{font-size:11px}.layers-panel .icon-button{width:44px;height:44px}}@media (min-width:901px){.editor-shell[data-layers-open=true]{grid-template-columns:var(--editor-left) minmax(0, 1fr) 224px}.editor-shell .layers-panel{grid-area:2/3/4;width:auto}.editor-shell[data-layers-open=true] .header-actions,.editor-shell[data-layers-open=true] .editor-commandbar{grid-column:2/-1}.editor-shell[data-pages-position=right][data-layers-open=true]{grid-template-columns:var(--editor-left) minmax(0, 1fr) 224px 180px}.editor-shell[data-pages-position=right] .layers-panel{grid-row:2}.editor-shell[data-pages-position=right][data-layers-open=true] .page-strip.vertical{grid-column:4}}@media (min-width:901px) and (max-width:1200px){.editor-shell[data-layers-open=true]{grid-template-columns:var(--editor-left) minmax(0, 1fr) 192px}.editor-shell[data-pages-position=right][data-layers-open=true]{grid-template-columns:var(--editor-left) minmax(0, 1fr) 192px 180px}}@media (max-width:900px){body:has(.editor-shell :is(.panel-backdrop,.project-menu)) :is(.canvas-rotate-handle,.rotation-feedback,.photo-actions){visibility:hidden}}.review-checkout-status{background:var(--h-brand-soft);color:var(--h-brand);border-radius:8px;margin:12px 0;padding:12px 14px;font-size:13px;line-height:1.5}.review-page-count{background:#fff9ee;border:1px solid #e8c88b;border-radius:8px;margin:12px 0;padding:14px;font-size:13px;line-height:1.6}.review-page-count p{margin:0 0 10px}.asset-entry[data-editing=true] .asset-card,.asset-entry .asset-card[data-return-focus=true]:focus,.asset-entry .asset-card:focus-visible{outline:2px solid var(--h-brand);outline-offset:2px}.asset-copy-label{text-align:center;color:var(--h-text-muted);margin-top:4px;font-size:10px;font-weight:600;line-height:16px;display:block}.asset-entry:has(.asset-copy-label) .asset-edit{bottom:25px}.editor-shell[data-photo-editing=true] .canvas-column{min-height:0;overflow:hidden}.editor-shell[data-photo-editing=true] .mobile-dock{display:none}@media (min-width:901px){.editor-shell[data-photo-editing=true]{grid-template-rows:64px minmax(0,1fr)}.editor-shell[data-photo-editing=true] .canvas-column{grid-row:1/3}.editor-shell[data-photo-editing=true] .editor-commandbar,.editor-shell[data-photo-editing=true] .header-actions,.editor-shell[data-photo-editing=true] .editor-sidebar>.primary-tools,.editor-shell[data-photo-editing=true] .photos-panel>:is(.photo-upload,.field,.library-toolbar,.autofill-button,.photo-replace-cancel),.editor-shell[data-photo-editing=true] .photo-library :is(.asset-edit,.asset-remove,.asset-warning){display:none}}@media (min-width:901px) and (max-width:1200px){.editor-shell[data-photo-editing=true]{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.editor-shell[data-photo-editing=true] .editor-header,.editor-shell[data-photo-editing=true] .editor-sidebar{display:none}.editor-shell[data-photo-editing=true] .canvas-column{grid-area:1/1}}@media (max-width:900px){.editor-shell[data-photo-editing=true] .canvas-column{height:100dvh}.editor-shell[data-photo-editing=true] .editor-header,.editor-shell[data-photo-editing=true] .editor-commandbar{display:none}}
