.book-preview{min-height:70vh;padding:24px}.book-preview h2{margin-top:0}.book-preview p{color:#666;max-width:800px;font-size:13px}.facing-preview{grid-template-columns:repeat(2,max-content);justify-content:center;gap:20px 8px;display:grid}.cover-preview{flex-wrap:wrap;justify-content:center;gap:24px;display:flex}.preview-page{box-shadow:0 3px 18px #0002}.book-preview-controls{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.book-preview-controls label{align-items:center;gap:6px;display:flex}.book-stage{cursor:grab;justify-content:center;align-items:center;min-height:400px;display:flex;overflow:hidden}.book-model{flex-shrink:0;position:relative}.book-face{backface-visibility:hidden;box-sizing:content-box;background:#fff;position:absolute;inset:0}.book-model[data-binding=hardcover] .book-face{border-radius:3px;inset:-5px}.book-spine,.book-edge{backface-visibility:hidden;position:absolute;top:0;left:0}.book-spine{color:#fff;background:#493f37;justify-content:center;align-items:center;display:flex;overflow:hidden}.book-spine span{writing-mode:vertical-rl;white-space:nowrap;font-size:12px}.book-edge{background:repeating-linear-gradient(90deg,#eee 0 1px,#d3cfc6 2px)}.preview-source-hidden{visibility:hidden;pointer-events:none;top:0;position:absolute!important;left:-100000px!important}:is(.document-scroller:has(.book-preview)>.ruler,.document-scroller:has(.book-preview)>.canvas-note){display:none}.book-preview .pagination-page{outline:none!important}.book-preview button.illustration-art{pointer-events:none}
.settings.tool-dialog:has(.book-design){--bd-surface:var(--ui-surface,#fdfbf4);--bd-field:var(--ui-field,#fff);--bd-ink:var(--ui-ink,#2b2416);--bd-muted:var(--ui-muted,#7a6e57);--bd-line:var(--ui-line,#e5dcc7);--bd-accent:var(--ui-accent,#2e5aac);--bd-tint:var(--ui-tint,#f8edc8);box-sizing:border-box;background:var(--bd-surface);width:min(460px,100vw - 32px);height:calc(100dvh - 32px);max-height:none;color:var(--bd-ink);border:1px solid var(--bd-line);border-radius:16px;flex-direction:column;margin:0;padding:0 20px;display:flex;position:fixed;inset:16px 16px 16px auto;overflow:hidden;box-shadow:0 12px 50px #241c3330}.settings.tool-dialog:has(.book-design)::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#20182808}.settings.tool-dialog:has(.book-design) .panel-heading{border-bottom:1px solid var(--bd-line);flex:none;margin:0 -20px;padding:16px 20px}.settings.tool-dialog:has(.book-design)>.muted{display:none}.book-design{flex-direction:column;flex:1;min-height:0;font:13px/1.5 system-ui,sans-serif;display:flex}.bd-tabs{border-bottom:1px solid var(--bd-line);flex:none;gap:4px;padding:12px 0 10px;display:flex}.settings.tool-dialog .bd-tabs button{border-radius:999px;flex:1;padding:9px 4px;font-weight:600}.settings.tool-dialog .bd-tabs button[aria-selected=true]{background:var(--bd-accent);color:var(--ui-on-accent,#fff);border-color:var(--bd-accent)}.bd-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:6px 2px 16px;overflow-y:auto}.bd-section{border-bottom:1px solid var(--bd-line);gap:14px;padding:16px 0;display:grid}.bd-section:last-child{border-bottom:0}.bd-section h3{color:var(--bd-ink);margin:0;font-size:15px;font-weight:650}.bd-field{gap:6px;min-width:0;display:grid}.bd-label{color:var(--bd-muted);font-size:12px;font-weight:600}.bd-help{color:var(--bd-muted);margin:0;font-size:12px;line-height:1.5}.bd-error{color:#a33;margin:0;font-size:12px}.bd-choices{gap:6px;display:grid}.settings.tool-dialog .book-design button{background:var(--bd-field);color:var(--bd-ink);border:1px solid var(--bd-line);cursor:pointer;border-radius:9px;min-width:0;padding:8px 6px;font:12px/1.3 system-ui,sans-serif}.settings.tool-dialog .book-design button:hover:not(:disabled){border-color:var(--bd-accent)}.settings.tool-dialog .book-design button:disabled{opacity:.45;cursor:default}.settings.tool-dialog .book-design button[aria-pressed=true]{background:var(--bd-tint);border:2px solid var(--bd-accent);color:var(--bd-ink);padding:7px 5px;font-weight:600}.bd-choices button{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:44px;display:flex}.bd-sample{justify-content:center;align-items:center;min-height:24px;font-family:Georgia,serif;line-height:1;display:flex}.bd-lines{flex-direction:column;width:30px;display:flex}.bd-lines i,.bd-para i,.bd-align i{opacity:.55;background:currentColor;border-radius:2px;height:2px;display:block}.bd-para,.bd-align{flex-direction:column;gap:3px;width:34px;display:flex}.bd-para.indent i:first-child{margin-left:9px}.bd-para.space i:nth-child(2){margin-bottom:5px}.bd-align.left i:nth-child(2){width:70%}.bd-align.left i:nth-child(3){width:85%}.bd-align.center i{width:60%;margin:0 auto}.bd-align.right i{width:60%;margin-left:auto}.bd-border{background:#fff;border:1px dashed #c9bfa9;width:22px;height:28px;display:block}.bd-border.solid{border:1.5px solid #555}.bd-border.double{border:4px double #555}.bd-ornament{letter-spacing:-1px;font-size:14px}.bd-fonts{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.settings.tool-dialog .bd-fonts button{text-align:left;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:8px 10px;display:grid}.settings.tool-dialog .bd-fonts button[aria-pressed=true]{padding:7px 9px}.bd-fonts button>span{grid-row:1/3}.bd-fonts strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.bd-fonts small{color:var(--bd-muted);font-size:11px}.bd-paper{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.settings.tool-dialog .bd-paper button{flex-direction:column;align-items:center;gap:3px;padding:8px 4px;display:flex}.bd-paper-shape{justify-content:center;align-items:flex-end;width:40px;height:48px;display:flex}.bd-paper-shape i{background:#fff;border:1px solid #b9ae98;display:block;box-shadow:1px 1px #0001}.bd-paper strong{text-align:center;font-size:11.5px;font-weight:600;line-height:1.2}.bd-paper small{color:var(--bd-muted);text-align:center;font-size:10.5px;line-height:1.2}.bd-types{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.settings.tool-dialog .bd-types button{flex-direction:column;align-items:center;gap:4px;padding:6px 3px;display:flex}.bd-types .page-thumbnail{box-sizing:border-box;overflow:hidden;width:46px!important;height:62px!important;padding:5px 4px!important;font-size:6px!important}.bd-types .page-thumbnail *{font-size:6px!important;line-height:1.2!important}.bd-types span:last-child{text-align:center;font-size:10.5px;line-height:1.2}.bd-check{cursor:pointer;align-items:flex-start;gap:10px;font-size:13px;display:flex}.bd-check input{width:18px;height:18px;accent-color:var(--bd-accent);flex:none;margin:1px 0 0}.bd-check small{color:var(--bd-muted);margin-top:2px;font-size:12px;display:block}.bd-text{color:var(--bd-muted);gap:6px;font-size:12px;font-weight:600;display:grid}.bd-text input,.bd-text select,.bd-row input{box-sizing:border-box;border:1px solid var(--bd-line);background:var(--bd-field);width:100%;min-height:38px;color:var(--bd-ink);border-radius:9px;padding:7px 10px;font:14px system-ui,sans-serif}.bd-row{align-items:center;gap:6px;display:flex}.bd-row>*{flex:1}.settings.tool-dialog .book-design .bd-row button{min-height:38px}.settings.tool-dialog .book-design .bd-primary{background:var(--bd-accent);color:var(--ui-on-accent,#fff);border-color:var(--bd-accent)}.settings.tool-dialog .book-design .bd-danger{color:#a33}.settings.tool-dialog .book-design .bd-wide{width:100%;min-height:40px}.bd-file{border:1px dashed var(--bd-line);background:var(--bd-field);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;min-height:40px;font-size:13px;display:inline-flex;position:relative}.bd-file[aria-disabled=true]{opacity:.5;cursor:default}.bd-file input{opacity:0;cursor:inherit;position:absolute;inset:0}.bd-details>summary{cursor:pointer;font-size:14px;font-weight:600}.bd-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.bd-list li{border:1px solid var(--bd-line);background:var(--bd-field);border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.bd-list li>span:first-child{text-overflow:ellipsis;flex:1;overflow:hidden}.bd-list .bd-row{flex:none}.bd-list small{color:var(--bd-muted)}.bd-footer{border-top:1px solid var(--bd-line);color:var(--bd-muted);flex:none;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;font-size:11.5px;display:flex}.settings.tool-dialog .bd-footer button{flex:none;padding:8px 12px;font-weight:600}.book-design :is(button,input,select,summary):focus-visible{outline:3px solid var(--bd-accent);outline-offset:2px}@media (max-width:600px){.settings.tool-dialog:has(.book-design){border-radius:16px 16px 0 0;width:100%;height:82dvh;padding:0 14px;inset:auto 0 0}.bd-paper{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-types{grid-template-columns:repeat(3,minmax(0,1fr))}.bd-fonts{grid-template-columns:1fr}.bd-footer span{display:none}}.picture-settings{gap:16px;font:13px/1.5 system-ui,sans-serif;display:grid}.picture-settings .ps-preview{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-workspace,#eeede6);border-radius:12px;justify-content:center;padding:12px;display:flex}.picture-settings .ps-preview img{object-fit:contain;max-width:100%;max-height:180px}.picture-settings .ps-slider{color:var(--ui-muted,#7a6e57);gap:4px;font-size:12px;font-weight:600;display:grid}.picture-settings .ps-slider>div{align-items:center;gap:10px;display:flex}.picture-settings .ps-slider input{accent-color:var(--ui-accent,#2e5aac);flex:1}.picture-settings .ps-slider output{text-align:right;min-width:58px;color:var(--ui-ink,#2b2416);font-weight:500}.picture-settings .ps-focus{grid-template-columns:repeat(3,36px);gap:4px;display:grid}.tool-dialog .picture-settings .ps-focus button{width:36px;height:36px;padding:0}.tool-dialog .picture-settings button[aria-pressed=true]{background:var(--ui-tint,#f8edc8);border:2px solid var(--ui-accent,#2e5aac)}.picture-settings .ps-row{flex-wrap:wrap;gap:8px;display:flex}.picture-settings label.ps-text{color:var(--ui-muted,#7a6e57);gap:4px;font-size:12px;font-weight:600;display:grid}.picture-settings label.ps-text input{border:1px solid var(--ui-line,#e5dcc7);border-radius:8px;min-height:36px;padding:6px 10px;font:14px system-ui}.picture-settings .warning{color:#6b4a00;background:#fff4d6;border-radius:8px;margin:0;padding:8px 10px;font-size:12px}.bug-form,.review-form{gap:12px;font:13px/1.5 system-ui,sans-serif;display:grid}.bug-form label{gap:5px;font-size:13px;font-weight:600;display:grid}.bug-form .optional{color:var(--ui-muted,#7a6e57);font-weight:400}.bug-form input,.bug-form textarea,.review-form input,.review-form textarea{box-sizing:border-box;border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-field,#fff);width:100%;color:var(--ui-ink,#2b2416);resize:vertical;border-radius:8px;padding:8px 10px;font:14px/1.45 system-ui,sans-serif}.review-form textarea{min-height:64px}.review-form{margin:0 0 12px}.review-form>button{justify-self:start}.bug-error{color:#8a2a1f;background:#fdecea;border-radius:8px;margin:0;padding:8px 10px}.bug-sent{font:14px/1.5 system-ui,sans-serif}.review-card.resolved{opacity:.6}.tool-hint{color:var(--ui-muted,#7a6e57);margin:0 0 12px;font-size:12px;line-height:1.5}.quick-text{gap:14px;display:grid}.quick-text .bd-field{gap:6px;display:grid}.quick-text .bd-label{color:var(--ui-muted,#7a6e57);font-size:12px;font-weight:600}.quick-text .bd-choices{gap:5px;display:grid}.quick-text .bd-choices button{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-field,#fff);min-height:42px;color:var(--ui-ink,#2b2416);cursor:pointer;border-radius:8px;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;font-size:11.5px;display:flex}.quick-text .bd-choices button[aria-pressed=true]{background:var(--ui-tint,#f8edc8);border:2px solid var(--ui-accent,#2e5aac);font-weight:600}.quick-text .bd-sample{justify-content:center;align-items:center;min-height:22px;font-family:Georgia,serif;line-height:1;display:flex}.quick-text .bd-lines{flex-direction:column;width:26px;display:flex}.quick-text .bd-lines i{opacity:.55;background:currentColor;border-radius:2px;height:2px;display:block}.studio .error{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.studio .error>span{flex:300px}.menu hr{border:0;border-top:1px solid var(--ui-line,#e5dcc7);margin:4px 0}.image-library .image-upload{font-weight:600}.settings .book-design label,.settings .picture-settings label,.tool-dialog .bug-form label{margin:0}.settings .book-design label.bd-check{margin:0;font-size:13px;line-height:1.4;display:flex}.settings .book-design label.bd-check>span{display:block}.settings .book-design label.bd-text{margin:0;display:grid}.settings .book-design label.bd-text>select,.settings .book-design label.bd-text>input{margin:0}.settings .book-design label.bd-file{margin:0;display:inline-flex}.settings .book-design h3{margin:0}.settings .picture-settings label.ps-slider,.settings .picture-settings label.ps-text{margin:0;display:grid}.settings .picture-settings label>input{margin:0}.studio .toolbar .popover,.studio .find>.popover{z-index:300;box-sizing:border-box;background:var(--ui-surface,#fff);color:var(--ui-ink,#2b2416);border:1px solid var(--ui-line,#e5dcc7);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:none;padding:12px;display:flex;box-shadow:0 10px 30px #30203322;position:fixed!important;right:auto!important}.studio .find[open]{box-shadow:none!important;border:0!important}.studio .find-panel{flex-direction:column;align-items:stretch!important}.studio .find-panel .find-row{align-items:center;gap:6px;display:flex}.studio .find-panel input:not([type=checkbox]){border:1px solid var(--ui-line,#e5dcc7);border-radius:8px;flex:1;min-width:0;min-height:34px;padding:6px 10px;font:13px system-ui}.studio .find-panel small{color:var(--ui-muted,#7a6e57);font-size:12px}.studio .find-panel label{align-items:center;gap:6px;margin-left:auto;font-size:12px;display:flex}.studio .popover button{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-field,#fff);min-height:34px;color:var(--ui-ink,#2b2416);cursor:pointer;border-radius:8px;padding:4px 10px}.studio .popover button[aria-pressed=true]{background:var(--ui-tint,#f8edc8);border-color:var(--ui-accent,#2e5aac)}.studio .popover .color-pick{align-items:center;gap:6px;font-size:13px;display:flex}.studio .popover .color-pick input{border:1px solid var(--ui-line,#e5dcc7);border-radius:6px;width:34px;height:30px;padding:2px}.outline-actions[open]>div{flex-direction:column;align-items:stretch;gap:2px;min-width:130px}.outline-actions[open]>div button{text-align:left;padding:6px 10px}.studio details.find,.studio details.find[open]{background:0 0!important;flex:none!important;width:auto!important;min-width:0!important;padding:0!important}.studio details.find>summary,.studio .find-panel label{white-space:nowrap}.studio .find-panel .find-row:last-child{flex-wrap:wrap}.settings.tool-dialog:has(.picture-settings){box-sizing:border-box;border-radius:16px;width:min(420px,100vw - 32px);height:calc(100dvh - 32px);max-height:none;margin:0;position:fixed;inset:16px 16px 16px auto;overflow-y:auto;box-shadow:0 12px 50px #241c3330}.settings.tool-dialog:has(.picture-settings)::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#20182808}@media (max-width:600px){.settings.tool-dialog:has(.picture-settings){border-radius:16px 16px 0 0;width:100%;height:82dvh;inset:auto 0 0}.settings.tool-dialog:has(.book-design) .panel-heading{margin:0 -14px;padding:12px 14px}}dialog.side-sheet::backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#20182808!important}.studio .toolbar select.paragraph-style{min-width:150px}.library-scroll{overscroll-behavior:contain;height:100%;overflow-y:auto}.library-scroll .library-home{min-height:100%;height:auto!important;overflow:visible!important}.preset-stage,.saved-book-preview{overflow:hidden}.mini-page{border-radius:1px;flex:none;box-shadow:0 2px 10px #2b241618,0 0 0 1px #0000000d}.saved-book-card{position:relative}.saved-book-delete{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-surface,#fff);width:32px;height:32px;color:var(--ui-muted,#7a6e57);cursor:pointer;opacity:0;border-radius:8px;place-items:center;padding:0;transition:opacity .15s;display:grid;position:absolute;top:8px;right:8px}.saved-book-card:hover .saved-book-delete,.saved-book-delete:focus-visible{opacity:1}.saved-book-delete:hover{color:#a33;border-color:#e3b4ad}@media (hover:none){.saved-book-delete{opacity:1}}.site-nav-tools .library-tools{align-items:center;gap:8px;display:flex}.site-nav-tools .library-tools>button{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-surface,#fff);width:42px;height:42px;color:var(--ui-ink,#2b2416);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid}.library-tools-fallback{justify-content:flex-end;padding:12px 4%;display:flex}.saved-book-card>.saved-book{flex-direction:column;width:100%;display:flex}.saved-book-card .saved-book-preview{width:100%}
.library-home{color:#202124;background:#fff;min-height:100vh;font-family:Arial,sans-serif}.library-home button,.page-gallery button{cursor:pointer}.library-header{border-bottom:1px solid #e3e6ea;flex-wrap:wrap;align-items:center;gap:24px;padding:20px 4%;display:flex}.library-brand{color:#1967d2;align-items:center;gap:12px;font-size:30px;text-decoration:none;display:flex}.library-brand span{color:#343c49;font-size:24px}.library-brand small{letter-spacing:2px;color:#697386;font-size:10px;display:block}.library-header>[role=status]{color:#647082;font-size:12px}.library-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.library-tools button,.library-tools .file-label{color:#315580;background:#fff;border:1px solid #dce2ea;border-radius:6px;padding:9px 12px;font-size:12px}.library-tools input[type=file]{display:none}.library-home main{max-width:1200px;margin:auto}.start-section{background:#f7f9fc;border-bottom:1px solid #e5e9ef;padding:36px 32px 32px}.library-section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.library-section-heading h1{margin:8px 0;font-size:25px;font-weight:500}.library-section-heading h2{margin:0 0 8px;font-size:23px;font-weight:500}.library-section-heading p{color:#657083;margin:0;font-size:13px}.eyebrow{letter-spacing:1.7px;color:#64748b;font-weight:700;font-size:10px!important}.book-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;display:grid}.book-preset{text-align:left;background:0 0;border:0;min-width:0;padding:0}.book-preset>strong{margin:14px 0 6px;font-size:14px;display:block}.book-preset>small{color:#687386;font-size:11px;line-height:1.5;display:block}.preset-stage{background:#edf0f5;border:1px solid #e0e5ed;border-radius:7px;justify-content:center;align-items:center;height:211px;padding:16px;display:flex}.book-preset:hover .preset-stage,.book-preset:focus-visible .preset-stage{outline-offset:2px;outline:2px solid #76a7ed}.blank-thumbnail{color:#4285f4;background:#fff;place-items:center;width:126px;height:174px;font-size:48px;font-weight:300;display:grid;box-shadow:0 2px 5px #23334b18}.page-thumbnail{color:#343d4b;background:#fff;border:1px solid #e2e5e9;flex-direction:column;flex-shrink:0;gap:10px;width:126px;height:174px;padding:22px 15px 14px;font-family:Georgia,serif;line-height:1.45;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 6px #25344a1b}.page-thumbnail strong{font:inherit;overflow-wrap:anywhere;font-size:16px;font-weight:500;line-height:1.2}.page-thumbnail small{letter-spacing:1px;font:6px Arial}.thumb-lines{flex-direction:column;gap:5px;margin-top:8px;display:flex}.thumb-lines i{opacity:.22;background:currentColor;width:100%;height:2px}.thumb-lines i:last-child{width:65%}.thumb-excerpt{text-align:left;font-size:6px;line-height:1.7;overflow:hidden}.thumb-ornament{text-align:center;margin-top:auto;font-size:14px}.thumb-book-front{text-align:center;justify-content:center}.thumb-book-front .thumb-lines{width:45%;margin:18px auto 0}.thumb-book-front .thumb-lines i:nth-child(n+3){display:none}.thumb-classic{color:#574734}.thumb-classic.thumb-book-front strong{font-size:19px}.thumb-botanical{color:#46634a;background:#fcfdf9;border-color:#829681!important}.thumb-botanical strong{font-style:italic}.thumb-ornate{color:#695177;border-color:#a38fb1!important}.thumb-ornate strong{font-style:italic}.thumb-minimal{font-family:Arial,sans-serif}.thumb-minimal.thumb-book-front{text-align:left;justify-content:flex-start;padding-top:32px}.thumb-minimal.thumb-book-front strong{font-size:21px;font-weight:700}.thumb-art{background:#e8ece4;height:65px;min-height:65px;position:relative;overflow:hidden}.thumb-art i{background:#d6ad74;border-radius:50%;width:30px;height:30px;position:absolute;top:8px;right:12px}.thumb-art b{background:#788f81;width:100px;height:70px;position:absolute;top:36px;left:10px;transform:rotate(-30deg)}.thumb-bnw-art .thumb-art{filter:grayscale()}.thumb-portraits{font-size:20px}.thumb-contents{font-size:7px;line-height:2.6}.thumb-copyright{justify-content:flex-end}.thumb-copyright strong{font-size:10px}.thumb-chapter-title{padding-top:35px}.page-thumbnail img{object-fit:contain;width:100%;max-height:72px}.saved-section{padding:38px 32px}.library-section-heading input{background:#f7f9fc;border:1px solid #dde3ec;border-radius:24px;width:260px;max-width:100%;padding:12px 16px;font-size:14px}.saved-books{grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:22px;display:grid}.saved-book{text-align:left;background:#fff;border:1px solid #dce2ea;border-radius:8px;min-width:0;padding:0;overflow:hidden}.saved-book-preview{background:#f1f3f6;justify-content:center;align-items:center;height:204px;display:flex}.saved-book-meta{flex-direction:column;gap:7px;padding:17px;display:flex}.saved-book-meta strong{overflow-wrap:anywhere;font-size:14px}.saved-book-meta small{color:#667386;font-size:11px}.library-empty{text-align:center;color:#647082;background:#f7f9fc;padding:40px}.library-footer{text-align:center;color:#758093;padding:24px;font-size:12px}.page-gallery{color:#273244;background:#fff;border:1px solid #d9e1ed;border-radius:12px;width:min(1040px,100vw - 32px);max-height:calc(100dvh - 40px);padding:0;box-shadow:0 18px 80px #1b304347}.page-gallery>header{border-bottom:1px solid #e5e9ef;justify-content:space-between;align-items:start;gap:12px;padding:22px 26px;display:flex}.page-gallery h2{margin:6px 0;font-size:23px}.page-gallery p{color:#647084;margin:7px 0;font-size:13px;line-height:1.5}.page-gallery h3{margin:0 0 16px;font-size:14px}.page-gallery button{color:#273244;background:#fff;border:1px solid #d9e1ed;border-radius:6px;padding:10px}.page-gallery>header button{min-width:40px}.gallery-body{grid-template-columns:minmax(0,1fr) 220px;display:grid}.gallery-options{padding:24px}.page-type-cards,.page-style-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:28px;display:grid}.page-style-cards{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:0}.page-type-cards button,.page-style-cards button{background:#f7f9fc;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:10px 5px;display:flex}.page-type-cards .page-thumbnail,.page-style-cards .page-thumbnail{gap:6px;width:82px;height:113px;padding:14px 9px}.page-type-cards .page-thumbnail strong,.page-style-cards .page-thumbnail strong{font-size:11px}.page-type-cards button>strong,.page-style-cards button>strong{font-size:10px;font-weight:500}.page-gallery button[aria-pressed=true]{background:#edf4ff;border-color:#2d72d9;box-shadow:0 0 0 1px #2d72d9}.gallery-preview{text-align:center;background:#f3f6fb;flex-direction:column;align-items:center;padding:24px 20px;display:flex}.gallery-preview .page-thumbnail{width:156px;height:216px;margin:20px 0}.gallery-preview .gallery-hint{margin-top:20px;font-size:11px}.page-gallery>footer{background:#fff;border-top:1px solid #e5e9ef;align-items:center;gap:10px;padding:18px 24px;display:flex;position:sticky;bottom:0}.page-gallery>footer>div{flex:1}.page-gallery>footer small{color:#6e7989;font-size:11px}.page-gallery>footer [role=status]{color:#246947;margin-top:5px;font-size:12px;display:block}.page-gallery .gallery-primary{color:#fff;background:#1967d2;border-color:#1967d2}.home-button{color:#1967d2}.template-grid .page-thumbnail{width:90px;height:120px;margin:0 auto 8px;padding:15px 10px}.template-grid .page-thumbnail strong{font-size:12px}.library-home{background:var(--ui-surface);height:100dvh;min-height:0;color:var(--ui-ink);font-family:var(--ui-font);scrollbar-color:#bbb1bb var(--ui-surface);overflow:auto}.library-header{border-color:var(--ui-line);background:#fff;padding-block:14px}.library-storage-note{border-bottom:1px solid var(--ui-line);color:var(--ui-muted);background:var(--ui-surface);margin:0;padding:14px 4%;font-size:13px;line-height:1.6}.library-workspace-title{font:400 24px var(--ui-serif);color:var(--ui-ink);margin:0}.library-brand{color:var(--ui-accent)}.library-brand span{font-family:var(--ui-serif);color:var(--ui-accent-dark);letter-spacing:-.7px;font-size:29px}.library-brand small{font-family:var(--ui-font);color:var(--ui-muted);letter-spacing:3px;margin-top:3px;font-size:9px}.library-header>[role=status]{color:var(--ui-muted)}.library-tools button,.library-tools .file-label{color:var(--ui-accent-dark);border-color:var(--ui-line);background:var(--ui-surface);border-radius:4px}.library-tools button:hover,.library-tools .file-label:hover{background:var(--ui-tint)}.start-section{border-color:var(--ui-line);background:0 0;padding-top:42px}.start-section .library-section-heading{flex-direction:column;align-items:flex-start;gap:8px}.book-presets{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}@media (min-width:1100px){.book-presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}}.library-section-heading h1,.library-section-heading h2,.page-gallery h2{font-family:var(--ui-serif);letter-spacing:-.65px;color:var(--ui-ink);font-weight:400}.library-section-heading h1{font-size:34px}.library-section-heading h2{font-size:28px}.library-section-heading p,.book-preset>small,.saved-book-meta small,.library-footer,.page-gallery p,.page-gallery>footer small{color:var(--ui-muted)}.eyebrow{letter-spacing:2px;color:var(--ui-accent)!important;font-size:9px!important}.preset-stage{background:#eae6e3;border-color:#ded7d3;border-radius:3px}.preset-journal .preset-stage{background:#e6e9e1}.preset-poetry .preset-stage{background:#e9e2e9}.preset-novel .preset-stage{background:#eae4da}.preset-portfolio .preset-stage{background:#e4e6e8}.book-preset:hover,.book-preset:focus-visible{background:0 0}.book-preset:hover .preset-stage,.book-preset:focus-visible .preset-stage{outline-color:var(--ui-accent)}.blank-thumbnail{color:var(--ui-accent)}.book-preset>strong{color:#4d414f;font-weight:600}.library-section-heading input{border-color:var(--ui-line);background:#fff;border-radius:5px}.saved-book{border-color:var(--ui-line);border-radius:4px}.saved-book-preview{background:#ede9e5}.saved-book:hover,.saved-book:focus-visible{border-color:#9e87a0;box-shadow:0 4px 16px #49344a12}.saved-book-meta strong{font-family:var(--ui-serif);font-size:18px;font-weight:400}.library-empty{color:var(--ui-muted);background:#eeebe7}.library-footer{border-top:1px solid var(--ui-line)}.page-gallery{color:var(--ui-ink);border-color:var(--ui-line);border-radius:7px;box-shadow:0 18px 80px #30233433}.page-gallery::backdrop{background:#29232d70}.page-gallery>header{background:var(--ui-surface);border-color:var(--ui-line)}.page-gallery h2{font-size:28px}.page-gallery h3{color:var(--ui-accent-dark);font-weight:600}.page-gallery button{color:var(--ui-ink);border-color:var(--ui-line);border-radius:4px}.page-type-cards button,.page-style-cards button{background:var(--ui-surface)}.page-gallery button:hover{background:#eee9ed}.page-gallery button[aria-pressed=true]{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent);background:var(--ui-tint)}.gallery-preview{border-left:1px solid var(--ui-line);background:#eeebe7}.page-gallery>footer{border-color:var(--ui-line)}.page-gallery .gallery-primary{background:var(--ui-accent);border-color:var(--ui-accent);color:#fff}.page-gallery .gallery-primary:hover{background:var(--ui-accent-dark)}.home-button{color:var(--ui-accent-dark);border:1px solid var(--ui-line);background:#fff;border-radius:4px}@media (max-width:760px){.library-header{gap:12px;padding:16px}.library-tools{width:100%;margin:0}.library-header>[role=status]{margin-left:auto}.start-section,.saved-section{padding:24px 18px}.library-section-heading{flex-direction:column;align-items:start;gap:14px}.book-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.preset-stage{height:200px;padding:10px}.saved-books{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.saved-book-preview{height:182px}.saved-book-meta{padding:12px}.saved-book-meta strong{font-size:13px}.page-gallery{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.page-gallery>header{padding:16px}.page-gallery h2{font-size:20px}.gallery-body{display:block}.gallery-preview{display:none}.gallery-options{padding:18px 12px}.page-type-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.page-style-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.page-gallery>footer{flex-wrap:wrap;padding:12px}.page-gallery>footer>div{flex-basis:100%}.page-gallery>footer button{flex:1;min-height:44px;font-size:12px}.library-home button,.library-tools .file-label{min-height:44px}}
.outline.panel{background:#f8f5f0;flex:0 0 230px;width:230px;padding:18px 12px}.outline h2{text-transform:uppercase;letter-spacing:.1em;margin:24px 8px 12px;font-size:12px}.outline .chapter-row{align-items:center;margin-top:8px;display:flex}.outline .chapter-row>button{text-align:left;flex:1;padding:6px 8px;font-size:13px}.outline .outline-page{background:0 0;border:0;border-radius:4px;margin:0;padding:7px 12px 7px 22px;font-size:12px}.outline .outline-page.selected{color:#593e60;background:#e9dfea}.outline-actions{position:relative}.outline-actions summary{cursor:pointer;padding:4px 8px;list-style:none}.outline-actions[open]>div{z-index:30;background:#fffaf5;border:1px solid #dfd3df;padding:6px;display:flex;position:absolute;right:0;box-shadow:0 5px 20px #39283c22}.outline-tools,.outline-bookmarks{margin:18px 8px;font-size:12px}.outline-tools summary,.outline-bookmarks summary{cursor:pointer;color:#705d73}.outline-tools button{margin-top:6px;display:block}.settings.tool-dialog{color:#433747;background:#fffaf5;border:1px solid #d9cad7;border-radius:16px;width:min(720px,94vw);max-width:94vw;height:auto;max-height:85vh;margin:auto;padding:24px;position:fixed;inset:0;overflow:auto;box-shadow:0 24px 100px #30223544}.tool-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#30223555}.tool-dialog .panel-heading{z-index:2;background:#fffaf5;padding:12px 0;position:sticky;top:-24px}.theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.theme-options button{flex-direction:column;align-items:center;gap:10px;padding:14px;display:flex}.theme-options .page-thumbnail{width:100px;height:142px}.section-controls{background:#f3edf1;border:1px solid #e2d7e1;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px;padding:8px;display:flex;position:relative}.section-controls button{color:#614968;background:#fffaf6;border:1px solid #dfd2dc;border-radius:5px;padding:6px 8px;font-size:11px}.section-controls .page-select{opacity:1;margin:0;position:static}.section-controls button:disabled{opacity:.4;cursor:not-allowed}.preset-light-novel .preset-stage{background:linear-gradient(140deg,#e4dce8,#f4e9df)}@media (max-width:650px){.outline.panel{flex-basis:180px;width:180px}.theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.section-controls{flex-wrap:wrap}}@media print{.section-controls{display:none}}
.page-tools{background:#faf7f4;border-left:1px solid #e7dfe5;flex:0 0 174px;width:174px;padding:22px 14px;overflow:auto}.page-tools h2{text-transform:uppercase;letter-spacing:.12em;font-size:12px}.page-tools p{color:#887787;overflow-wrap:anywhere;font-size:12px}.page-tools button{text-align:left;color:#615264;background:#fffdfb;border:1px solid #e5dce3;border-radius:9px;width:100%;margin:6px 0;padding:11px 10px;font-size:12px;display:block}.page-tools details{margin-top:20px;font-size:12px}.page-tools summary{cursor:pointer;padding:8px 0}.illustration-art{width:100%;height:100%;display:block;background:0 0!important;border:0!important;border-radius:0!important;padding:0!important}.illustration-art img{max-width:none;margin:auto;display:block}.illustration-upload{border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:84%;height:84%;display:flex;position:absolute;inset:8%;color:#89758b!important;background:#faf7f9!important;border:1px dashed #cdbdca!important}.illustration-upload>span{font-size:46px;font-weight:200}.illustration-upload strong{font:20px Georgia,serif}.illustration-upload small{font-size:12px}.format-sections{gap:22px;display:grid}.format-sections fieldset{background:#fffdfa;border:1px solid #e5dae3;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;min-width:0;padding:20px;display:grid}.format-sections legend{color:#6b526b;padding:0 8px;font-size:13px;font-weight:600}.format-sections label{flex-direction:column;font-size:12px;display:flex;gap:8px!important;margin:0!important}.format-sections label:has(input[type=checkbox]){flex-direction:row;align-items:center}.format-sections .template-grid,.format-sections p{grid-column:1/-1}.format-sections input:not([type=checkbox]),.format-sections select{width:100%;min-height:36px}.format-sections .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.format-sections .template-grid .page-thumbnail{display:none}.design-tools textarea{min-height:90px;font:inherit;border:1px solid #d8cbd6;border-radius:8px;padding:12px}@media (max-width:800px){.page-tools{flex-basis:130px;width:130px;padding:12px 8px}.format-sections fieldset{grid-template-columns:1fr}}@media print{.illustration-upload,.page-tools,.illustration-page input{display:none!important}}
.settings.tool-dialog{overscroll-behavior:contain;width:min(680px,94vw);max-height:86dvh;padding:0 24px 20px}.tool-dialog[aria-label="Review & references"]{width:min(560px,94vw)}.tool-dialog .panel-heading{border-bottom:1px solid #e2d8e2;justify-content:space-between;align-items:center;margin:0 -24px 14px;padding:16px 24px;display:flex;top:0}.tool-dialog .panel-heading h2{margin:0;font-size:19px}.tool-dialog button{color:#49364e;cursor:pointer;background:#fff;border:1px solid #cfc2d1;border-radius:7px;padding:8px 12px;font-size:13px}.tool-dialog button:hover{background:#f0e9f2}.tool-dialog button:focus-visible,.menu summary:focus-visible{outline-offset:2px;outline:3px solid #886497}.tool-dialog button:disabled{opacity:.45;cursor:default}.tool-dialog .muted{margin:10px 0 16px;font-size:13px;line-height:1.5}.tool-dialog .theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tool-dialog .theme-options>button{border:2px solid #e2d8e2;justify-content:flex-start;gap:8px;min-width:0;padding:12px 8px}.tool-dialog .theme-options>button[aria-pressed=true]{background:#f3edf5;border-color:#72517f}.theme-options>button>strong{word-break:normal;overflow-wrap:normal;font-size:13px;line-height:1.35}.theme-options small{color:#706474;font-size:11px;line-height:1.5}.theme-options .page-thumbnail{box-sizing:border-box;flex-shrink:0;width:86px;height:116px;padding:12px 8px}.page-thumbnail strong{-webkit-hyphens:none;hyphens:none;word-break:normal!important;overflow-wrap:normal!important}.theme-options .page-thumbnail strong{font-size:12px;line-height:1.25}.dialog-actions{z-index:2;background:#fffaf5;border-top:1px solid #e2d8e2;justify-content:flex-end;gap:8px;margin:18px -24px -20px;padding:14px 24px;display:flex;position:sticky;bottom:-20px}.tool-dialog .primary,.tool-dialog [role=tab][aria-selected=true]{color:#fff;background:#654971;border-color:#654971}.review-tabs{border-bottom:1px solid #e2d8e2;gap:6px;padding-bottom:12px;display:flex}.review-tabs button{flex:1}.review-section{min-height:160px;font-size:13px;line-height:1.5}.review-section h3{margin:16px 0 10px;font-size:15px}.review-section button{margin:4px 6px 4px 0}.review-card{background:#fff;border:1px solid #e2d8e2;border-radius:8px;margin:12px 0;padding:12px}.review-card p{margin:4px 0 8px}.review-section label:has(input[type=checkbox]){align-items:center;gap:8px;display:flex}.review-section input[type=checkbox]{width:auto}.library-tools input[hidden],.menu input[hidden]{display:none!important}@media (max-width:600px){.tool-dialog .theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.review-tabs{flex-wrap:wrap}.review-tabs button{flex:40%}}
.studio .masthead{min-height:68px;padding:8px 18px 5px}.studio .format-row{flex-wrap:nowrap;align-items:center;gap:4px;min-height:40px;margin:0 12px 8px;padding:3px 8px}.studio .toolbar{flex-wrap:nowrap;align-items:center;overflow-x:auto}.studio .toolbar>*{flex-shrink:0}.studio .format-row>button,.studio .format-row>select{white-space:nowrap;margin-top:0}.studio .document-scroller{background:#eeedef}.studio .outline.panel{background:#f8f7f9;flex:0 0 230px;width:230px;padding:16px 14px}.studio .outline h2{color:#64566b;margin:22px 8px 14px;font-size:12px}.studio .outline>section{border-left:1px solid #d8d0dc;margin-left:8px;padding-left:7px}.studio .outline .chapter-row>button{font-size:14px;font-weight:600;line-height:1.5}.studio .outline .outline-page{color:#665b6b;white-space:normal;text-align:left;padding:8px 10px 8px 20px;font-size:13px;line-height:1.5;position:relative}.studio .outline .outline-page.selected{color:#56365e;background:#ece5ef;font-weight:600}.studio .outline .outline-page.selected:before{content:"";background:#795280;border-radius:2px;width:3px;position:absolute;top:3px;bottom:3px;left:-9px}.studio .page-tools{background:#f8f7f9;border-left:1px solid #ddd6df;flex-direction:row-reverse;flex:0 0 64px;width:64px;min-height:0;padding:0;display:flex;overflow:visible}.studio .page-tools.is-expanded{flex-basis:300px;width:300px}.studio .page-tools .tool-rail[role=tablist]{border-left:1px solid #e6dfe8;flex-direction:column;flex:0 0 64px;align-items:center;gap:6px;height:100%;padding:12px 3px;display:flex}.studio .tool-rail button{text-align:center;color:#6b526f;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:58px;height:60px;margin:0;padding:6px 0;display:flex}.studio .tool-rail button span{font-size:23px;line-height:1}.studio .tool-rail button small{font-size:9px}.studio .tool-rail button:hover,.studio .tool-rail button[aria-selected=true]{color:#56345f;background:#e9dfed}.studio .tool-content{width:236px;min-width:0;padding:12px;overflow:auto}.studio .tool-content[hidden]{display:none}.studio .tool-panel-heading{color:#614569;border-bottom:1px solid #e5dce7;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:10px;display:flex}.studio .tool-panel-heading button{text-align:center;background:0 0;border:0;width:28px;margin:0;padding:2px;font-size:21px}@media (max-width:900px){.studio .outline.panel{flex-basis:190px;width:190px}.studio .page-tools.is-expanded{flex-basis:264px;width:264px}.studio .tool-content{width:200px}}
html[data-ui-theme] .studio .masthead{align-items:center;gap:14px;min-height:0;padding:10px 20px 6px;display:flex}html[data-ui-theme] .studio .masthead .doc-icon{display:none}html[data-ui-theme] .studio .masthead .home-button{border:1px solid var(--ui-line);background:var(--ui-raised);height:36px;color:var(--ui-ink);white-space:nowrap;border-radius:999px;padding:0 14px;font-size:14px;font-weight:500}html[data-ui-theme] .studio .masthead .home-button:hover{background:var(--ui-hover)}html[data-ui-theme] .studio .document-heading{flex:1;gap:0;min-width:0}html[data-ui-theme] .studio .document-heading>input{width:min(560px,100%);height:38px;font-family:var(--ui-serif);color:var(--ui-ink);box-shadow:none;background:0 0;border:1px solid #0000;border-radius:8px;margin-left:-8px;padding:0 8px;font-size:24px}html[data-ui-theme] .studio .document-heading>input:focus{border-color:var(--ui-accent);background:var(--ui-raised);outline:none}html[data-ui-theme] .studio .document-heading nav{gap:2px;margin-left:-8px;display:flex}html[data-ui-theme] .studio .document-heading nav summary{color:var(--ui-muted);border-radius:6px;padding:3px 8px;font-size:13px}html[data-ui-theme] .studio .document-heading nav summary:hover,html[data-ui-theme] .studio .document-heading nav details[open]>summary{background:var(--ui-hover);color:var(--ui-ink)}html[data-ui-theme] .studio .masthead .save{color:var(--ui-muted);white-space:nowrap;text-overflow:ellipsis;max-width:340px;font-size:13px;overflow:hidden}html[data-ui-theme] .studio .masthead .share{white-space:nowrap;border-radius:999px;height:40px;padding:0 20px;font-size:15px;font-weight:600}html[data-ui-theme] .studio .masthead>.bug-report>button,html[data-ui-theme] .studio .masthead>button:last-child{flex:none}html[data-ui-theme] .studio .format-row{border:1px solid var(--ui-line);background:var(--ui-raised);border-radius:999px;flex-wrap:wrap;align-items:center;gap:2px;min-height:0;margin:4px 16px 8px;padding:5px 8px;display:flex;box-shadow:0 1px 3px #2b24160d}html[data-ui-theme] .studio .format-row .toolbar-host,html[data-ui-theme] .studio .format-row .toolbar{display:contents}html[data-ui-theme] .studio .format-row :is(button,summary,select){min-width:34px;height:34px;color:var(--ui-ink);font:inherit;box-shadow:none;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;margin:0;padding:0 10px;font-size:14px;font-weight:500;line-height:34px;display:inline-flex}html[data-ui-theme] .studio .format-row :is(button,summary,select):hover:not(:disabled){background:var(--ui-hover)}html[data-ui-theme] .studio .format-row button:disabled{opacity:.35;cursor:default}html[data-ui-theme] .studio .format-row button[aria-pressed=true]{background:var(--ui-tint);color:var(--ui-accent-dark)}html[data-ui-theme] .studio .format-row summary{list-style:none}html[data-ui-theme] .studio .format-row summary::-webkit-details-marker{display:none}html[data-ui-theme] .studio .format-row summary:after{content:"";opacity:.6;border:1.5px solid;border-width:0 1.5px 1.5px 0;width:6px;height:6px;margin-left:2px;transform:translateY(-2px)rotate(45deg)}html[data-ui-theme] .studio .format-row details[open]>summary{background:var(--ui-tint);color:var(--ui-accent-dark)}html[data-ui-theme] .studio .format-row select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 13px) 15px,calc(100% - 9px) 15px;background-repeat:no-repeat;background-size:4px 4px;padding-right:26px}html[data-ui-theme] .studio .format-row select.paragraph-style{justify-content:flex-start;min-width:130px}html[data-ui-theme] .studio .format-row>label{display:contents}html[data-ui-theme] .studio .format-row .separator{background:var(--ui-line);border:0;flex:none;width:1px;height:20px;margin:0 6px;padding:0}html[data-ui-theme] .studio .format-row svg{flex:none}html[data-ui-theme] .studio .format-row button[aria-label^=Align],html[data-ui-theme] .studio .format-row button[aria-label=Undo],html[data-ui-theme] .studio .format-row button[aria-label=Redo],html[data-ui-theme] .studio .format-row button[aria-label=Bold],html[data-ui-theme] .studio .format-row button[aria-label=Italic],html[data-ui-theme] .studio .format-row button[aria-label=Toggle\ outline]{width:34px;padding:0}html[data-ui-theme] .studio .format-row button[aria-label=Undo],html[data-ui-theme] .studio .format-row button[aria-label=Redo]{font-size:18px}html[data-ui-theme] .studio .format-row .glyph-bold{font-size:16px;font-weight:800}html[data-ui-theme] .studio .format-row .glyph-italic{font-family:Georgia,Times New Roman,serif;font-size:17px;font-style:italic;font-weight:500}html[data-ui-theme] .studio .format-row button.add-picture-action{background:var(--ui-tint);color:var(--ui-accent-dark);font-weight:600}html[data-ui-theme] .studio .format-row details.find{margin-left:auto}@media (max-width:1200px){html[data-ui-theme] .studio .format-row{border-radius:16px}html[data-ui-theme] .studio .format-row details.find{margin-left:0}}html[data-ui-theme] .studio .format-row details.find{margin-left:auto!important;position:static!important}html[data-ui-theme] .studio .document-heading>input{box-shadow:none!important;background:0 0!important;border-color:#0000!important}html[data-ui-theme] .studio .document-heading>input:hover{border-color:var(--ui-line)!important}html[data-ui-theme] .studio .document-heading>input:focus{border-color:var(--ui-accent)!important;background:var(--ui-raised)!important}html[data-ui-theme] .studio .format-row select{max-width:150px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237a6e57' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 9px center no-repeat!important;border:0!important;width:auto!important;min-width:0!important;padding:0 26px 0 10px!important}html[data-ui-theme] .studio .format-row select:hover{background-color:var(--ui-hover)!important}@media (max-width:1200px){html[data-ui-theme] .studio .format-row details.find{margin-left:0!important}}html[data-ui-theme] .studio .format-row select{field-sizing:content}html[data-ui-theme] .studio .format-row select.paragraph-style{min-width:0!important}html[data-ui-theme] .studio .format-row :is(button,summary){padding:0 9px}@media (max-width:1500px){html[data-ui-theme] .studio .format-row{border-radius:16px}html[data-ui-theme] .studio .format-row .find-label{display:none}html[data-ui-theme] .studio .format-row :is(button,summary){padding:0 7px}html[data-ui-theme] .studio .format-row select{background-position:right 7px center!important;padding-left:7px!important;padding-right:22px!important}html[data-ui-theme] .studio .format-row .separator{margin:0 3px}html[data-ui-theme] .studio .format-row details.find>summary:after{display:none}html[data-ui-theme] .studio .format-row .style-button{padding:0 12px}}html[data-ui-theme] .studio .find-panel label{align-items:center;gap:6px;margin-left:0!important;display:inline-flex!important}html[data-ui-theme] .studio .find-panel label>input[type=checkbox]{height:16px;margin:0;flex:none!important;width:16px!important}html[data-ui-theme] .studio .page-section .section-controls{opacity:.55;justify-content:center;align-items:center;gap:8px;margin:10px 0 18px;padding:0;transition:opacity .15s;box-shadow:none!important;background:0 0!important;border:0!important;display:flex!important}html[data-ui-theme] .studio .page-section:hover .section-controls,html[data-ui-theme] .studio .page-section .section-controls:focus-within{opacity:1}html[data-ui-theme] .studio .section-controls .section-add{cursor:pointer;border-radius:999px;align-items:center;gap:6px;height:34px;padding:0 16px;font-weight:500;display:inline-flex;border:1px dashed var(--ui-line)!important;color:var(--ui-muted)!important;background:0 0!important;font-size:13px!important}html[data-ui-theme] .studio .section-controls .section-add:hover{border-style:solid!important;border-color:var(--ui-accent)!important;color:var(--ui-accent)!important;background:var(--ui-raised)!important}html[data-ui-theme] .studio .section-menu{background:0 0!important;padding:0!important;position:relative!important}html[data-ui-theme] .studio .section-menu>summary{width:34px;height:34px;color:var(--ui-muted);cursor:pointer;background:0 0;border-radius:999px;place-items:center;list-style:none;display:grid}html[data-ui-theme] .studio .section-menu>summary::-webkit-details-marker{display:none}html[data-ui-theme] .studio .section-menu>summary:hover,html[data-ui-theme] .studio .section-menu[open]>summary{background:var(--ui-hover);color:var(--ui-ink)}html[data-ui-theme] .studio .section-menu-list{z-index:50;border:1px solid var(--ui-line);background:var(--ui-raised);min-width:180px;box-shadow:var(--ui-shadow,0 12px 38px #2b241618);border-radius:12px;flex-direction:column;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%)}html[data-ui-theme] .studio .section-menu-list button{text-align:left;cursor:pointer;align-items:center;gap:10px;width:100%;min-height:36px!important;color:var(--ui-ink)!important;background:0 0!important;border:0!important;border-radius:8px!important;padding:0 12px!important;font-size:14px!important;display:flex!important}html[data-ui-theme] .studio .section-menu-list button:hover:not(:disabled){background:var(--ui-hover)!important}html[data-ui-theme] .studio .section-menu-list .section-delete{color:#b3403a!important}html[data-ui-theme] .studio .section-menu-list .section-delete:hover:not(:disabled){background:#b3403a14!important}html[data-ui-theme] .studio .section-menu-list button:disabled{opacity:.4;cursor:default}.snap-guides{pointer-events:none;z-index:400;position:fixed;inset:0}.snap-guide{background:#e0457b;position:fixed}.snap-guide-x{width:1px;transform:translate(-.5px)}.snap-guide-y{height:1px;transform:translateY(-.5px)}.snap-guide span{color:#fff;white-space:nowrap;background:#e0457b;border-radius:999px;padding:1px 6px;font:600 10.5px/16px system-ui,sans-serif;position:absolute}.snap-guide-x span{top:-18px;left:4px}.snap-guide-y span{top:-18px;left:-2px}.first-line-space.adjustable{cursor:ns-resize;border-radius:6px;transition:background .15s;position:relative}.first-line-space.adjustable:hover,.first-line-space.adjustable.dragging{background:repeating-linear-gradient(0deg,#2e5aac0d 0 1px,#0000 1px 12px);box-shadow:inset 0 -2px #2e5aac55}.first-line-space-tag{color:#fff;white-space:nowrap;opacity:0;pointer-events:none;background:#2e5aac;border-radius:999px;padding:2px 10px;font:600 11px/18px system-ui,sans-serif;transition:opacity .15s;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.first-line-space.adjustable:hover .first-line-space-tag,.first-line-space.adjustable.dragging .first-line-space-tag{opacity:1}@media print{.first-line-space.adjustable{box-shadow:none!important;background:0 0!important}.first-line-space-tag{display:none}}.snap-gap{background:0 0;border-left:1px dashed #e0457b}.snap-gap:before,.snap-gap:after{content:"";background:#e0457b;width:7px;height:1px;position:absolute;left:-4px}.snap-gap:before{top:0}.snap-gap:after{bottom:0}.page-indicator{z-index:30;clear:both;pointer-events:none;width:100%;height:0;display:block;position:sticky;bottom:18px;overflow:visible}.page-indicator>span{color:#fff;white-space:nowrap;opacity:0;background:#2b2416e6;border-radius:999px;padding:7px 14px;font:600 13px/1 system-ui,Segoe UI,sans-serif;transition:opacity .25s,transform .25s;position:absolute;bottom:0;right:0;transform:translateY(4px);box-shadow:0 4px 14px #0000002e}.page-indicator.show>span{opacity:1;transform:none}.page-indicator b{font-weight:700}.paper .editor{tab-size:var(--indent-step,12.7mm)}.bd-indent{opacity:.8;border-left:2px solid;align-items:center;width:44px;height:16px;display:flex}.bd-indent i{opacity:.45;border-top:2px dotted;flex:none;height:2px;display:block}.bd-indent b{opacity:.6;background:currentColor;flex:1;height:2px;display:block}.import-thumbnail{box-sizing:border-box;width:126px;height:174px;color:var(--ui-accent,#2e5aac);background:#fff;border:1.5px dashed #c9bfa8;align-content:center;place-items:center;gap:10px;display:grid;box-shadow:0 2px 5px #23334b18}.import-thumbnail em{color:var(--ui-muted,#7a6e57);font-size:11px;font-style:normal}.book-preset.preset-import:hover .import-thumbnail{border-color:var(--ui-accent,#2e5aac)}.tool-dialog.import-dialog{width:min(620px,94vw)}.import-drop{border:2px dashed var(--ui-line,#e5dcc7);background:var(--ui-surface,#fdfbf4);color:var(--ui-muted,#7a6e57);text-align:center;border-radius:14px;justify-items:center;gap:8px;margin:6px 0 14px;padding:34px 20px;transition:border-color .15s,background .15s;display:grid}.import-drop.over{border-color:var(--ui-accent,#2e5aac);background:var(--ui-tint,#f8edc8)}.import-drop strong{color:var(--ui-ink,#2b2416);font-size:16px}.import-drop span{font-size:13px}.import-drop .primary{margin-top:6px;padding:9px 18px!important;font-size:14px!important}.import-error{color:#a33;background:#b3403a12;border-radius:8px;padding:10px 12px;font-size:13px}.import-summary{grid-template-columns:2fr 1fr;gap:12px;margin:4px 0 10px;display:grid}.import-summary label{color:var(--ui-muted,#7a6e57);gap:5px;font-size:13px;display:grid}.import-summary input{font:inherit;border:1px solid var(--ui-line,#e5dcc7);color:var(--ui-ink,#2b2416);background:var(--ui-field,#fff);border-radius:8px;padding:8px 10px;font-size:15px}.import-count{color:var(--ui-ink,#2b2416);margin:4px 0 8px;font-size:14px}.import-chapters{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);border-radius:10px;max-height:220px;margin:0 0 10px;padding:6px 8px 6px 32px;font-size:13px;overflow:auto}.import-chapters li{border-bottom:1px solid #00000008;padding:5px 0}.import-chapters li:last-child{border:0}.import-chapters small{letter-spacing:.12em;text-transform:uppercase;color:var(--ui-muted,#7a6e57);font-size:12px;display:block}.import-chapters em{float:right;color:var(--ui-muted,#7a6e57);font-size:12px;font-style:normal}.import-chapters .more{color:var(--ui-muted,#7a6e57);list-style:none}.import-look-title{margin:14px 0 8px;font-size:14px}.import-looks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.tool-dialog .import-looks button{text-align:left;border:2px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);border-radius:10px;gap:3px;padding:10px 12px;display:grid}.import-looks strong{font-size:13px}.import-looks small{color:var(--ui-muted,#7a6e57);font-size:12px;line-height:1.35}@media (max-width:600px){.import-looks{grid-template-columns:1fr 1fr}.import-summary{grid-template-columns:1fr}}.paper .pagination-page{content-visibility:auto}.tool-dialog.export-dialog{width:min(640px,94vw)}.export-step{margin:4px 0 8px;font-size:14px}.export-printers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.tool-dialog .export-printers button{text-align:left;border:2px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);border-radius:10px;align-content:start;gap:4px;padding:10px 12px;display:grid}.tool-dialog .export-printers button.on{border-color:var(--ui-accent,#2e5aac);background:var(--ui-tint,#f8edc8)}.export-printers strong{font-size:13px}.export-printers small{color:var(--ui-muted,#7a6e57);font-size:12px;line-height:1.35}.export-summary{border-radius:12px;align-items:center;gap:12px;margin-bottom:10px;padding:12px 14px;display:flex}.export-summary strong{font-size:15px;display:block}.export-summary small{color:var(--ui-muted,#7a6e57);font-size:13px}.export-summary.good{background:#2f8f5a14}.export-summary.meh{background:#e8a61c1f}.export-summary.bad{background:#b3403a14}.export-badge{color:#fff;border-radius:999px;flex:none;place-items:center;width:30px;height:30px;font-weight:800;display:grid}.good .export-badge{background:#2f8f5a}.meh .export-badge{background:#ad7406}.bad .export-badge{background:#b3403a}.export-issues{gap:8px;max-height:44vh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.export-issues li{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);border-radius:10px;gap:10px;padding:10px 12px;display:flex}.issue-icon{color:#fff;border-radius:999px;flex:none;place-items:center;width:22px;height:22px;margin-top:1px;font-size:12px;font-weight:800;display:grid}.issue-problem .issue-icon{background:#b3403a}.issue-warning .issue-icon{background:#ad7406}.issue-tip .issue-icon{background:#5b7fbf;font-family:Georgia,serif;font-style:italic}.export-issues strong{font-size:13px}.export-issues p{color:var(--ui-muted,#7a6e57);margin:3px 0 0;font-size:13px;line-height:1.5}.issue-actions{gap:6px;margin-top:8px;display:flex}.tool-dialog .issue-actions button{padding:5px 10px;font-size:13px}.export-actions{flex-wrap:wrap}.bd-paper em{margin-top:3px;font-size:12px;font-style:normal;font-weight:600;display:block}.bd-paper .bd-ok{color:#2f8f5a}.bd-paper .bd-no{color:#a3742a;opacity:.8}.bd-note{background:var(--ui-tint,#f8edc8);border-radius:8px;padding:8px 10px}@media (max-width:600px){.export-printers{grid-template-columns:1fr}}html.books-focus .site-navigation,html.books-focus .studio.focus-mode>:is(.masthead,.format-row,.statusbar,.recovery,.cloud-notice),html.books-focus .studio.focus-mode :is(.outline,.page-tools,.section-controls,.canvas-note){display:none!important}html.books-focus .studio.focus-mode .document-scroller{background:var(--ui-workspace,#efece4)}html.books-dim .studio.focus-mode .document-scroller{background:#23211d}.focus-bar{z-index:300;color:#fff;opacity:.35;background:#2b2416e8;border-radius:999px;align-items:center;gap:6px;padding:6px 6px 6px 14px;font:500 13px system-ui,sans-serif;transition:opacity .2s;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 6px 24px #0003}.focus-bar:hover,.focus-bar:focus-within{opacity:1}.focus-progress{align-items:center;gap:7px;margin-right:6px;display:inline-flex}.focus-bar button{color:#fff;font:inherit;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;padding:6px 12px}.focus-bar button:hover{background:#ffffff38}.goal-chip{display:inline-flex;position:relative}.goal-chip>button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:6px;padding:2px 8px;font-size:13px;display:inline-flex}.goal-chip>button:hover{background:var(--ui-hover,#f8f2e2)}.goal-streak{font-weight:600}.goal-pop{z-index:60;border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);width:260px;box-shadow:var(--ui-shadow,0 12px 38px #2b241618);border-radius:12px;padding:12px;font-size:13px;position:absolute;bottom:calc(100% + 8px);left:0}.goal-options{gap:4px;margin:8px 0;display:flex}.goal-options button{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-surface,#fdfbf4);cursor:pointer;font:inherit;border-radius:8px;flex:1;padding:6px 0;font-size:13px}.goal-options button[aria-pressed=true]{background:var(--ui-accent,#2e5aac);color:var(--ui-on-accent,#fff);border-color:#0000}.goal-pop p{color:var(--ui-muted,#7a6e57);margin:0;font-size:12px;line-height:1.45}.goal-toast{z-index:320;background:var(--ui-raised,#fff);border:1px solid var(--ui-line,#e5dcc7);border-radius:14px;align-items:center;gap:12px;padding:12px 14px;font-size:13px;display:flex;position:fixed;bottom:56px;right:20px;box-shadow:0 12px 38px #2b241630}.goal-toast strong{display:block}.goal-toast small{color:var(--ui-muted,#7a6e57)}.goal-toast button{cursor:pointer;background:0 0;border:0;font-size:18px}html .settings.tool-dialog:not(.side-sheet){height:fit-content}@media (max-width:1500px){html[data-ui-theme] .studio .format-row .long-label{display:none}html[data-ui-theme] .studio .format-row .style-button{text-transform:capitalize}}html[data-ui-theme] .studio .outline>h2{letter-spacing:.12em;margin:4px 0 10px;font-size:12px}html[data-ui-theme] .studio .outline .chapter-row>button,html[data-ui-theme] .studio .outline .outline-page{align-items:baseline;gap:8px;width:100%;display:flex!important}html[data-ui-theme] .studio .outline .chapter-row>button>span,html[data-ui-theme] .studio .outline .outline-page>span{text-align:left;flex:1;min-width:0}.studio .outline .page-no{color:var(--ui-subtle,#8a8070);font-variant-numeric:tabular-nums;flex:none;font-size:12px;font-weight:400}html[data-ui-theme] .studio .outline .outline-page{color:var(--ui-ink);font-size:13px}html[data-ui-theme] .studio .outline .outline-page.selected,html[data-ui-theme] .studio .outline .chapter-row.selected>button{border-radius:8px;font-weight:600;background:var(--ui-tint)!important;color:var(--ui-accent-dark)!important;border-color:#0000!important}html[data-ui-theme] .studio .outline .outline-page.selected:before{background:var(--ui-accent)!important}html[data-ui-theme] .studio .outline section.single-page{border-left:0;margin-left:0;padding-left:0}html[data-ui-theme] .studio .tool-rail button{gap:4px}html[data-ui-theme] .studio .tool-rail button small{font-size:11px;line-height:1.2}html[data-ui-theme] .studio .tool-rail button svg{margin:0 auto;display:block}html[data-ui-theme] .studio .statusbar{color:var(--ui-subtle,#6b6358);font-size:13px}.goal-streak{color:#c2581b;align-items:center;gap:3px;display:inline-flex}.goal-chip>button{font-size:13px}html[data-ui-theme] .studio .format-row button.add-picture-action{color:var(--ui-accent-dark);background:0 0}html[data-ui-theme] .studio .format-row button.add-picture-action:hover{background:var(--ui-hover);filter:none}html[data-ui-theme] .studio .format-row .style-button{border:0;border-radius:8px;padding:0 10px}.goal-toast{max-width:300px;bottom:44px;left:16px;right:auto}.goal-toast small{font-size:12px;display:block}.goal-toast-icon{color:#fff;background:#2f8f5a;border-radius:999px;flex:none;place-items:center;width:30px;height:30px;display:grid}.paper .editor{-webkit-hyphens:auto;hyphens:auto}.pages{padding-top:24px}@media (max-width:1100px){html[data-ui-theme] .studio .format-row{scrollbar-width:none;border-radius:16px;flex-wrap:nowrap;overflow-x:auto}html[data-ui-theme] .studio .format-row::-webkit-scrollbar{display:none}html[data-ui-theme] .studio .format-row>*{flex:none}html[data-ui-theme] .studio .format-row details.find{margin-left:0!important}html[data-ui-theme] .studio .masthead .save{display:none}}html[data-ui-theme=light]{--ui-muted:#6b6358}.library-home main{padding:0 4.5%;max-width:none!important}.library-home .start-section,.library-home .saved-section{background:0 0;padding:32px 0!important}.library-home .saved-section{border-top:1px solid var(--ui-line)}.library-home .start-section{border-bottom:0}.library-home .library-section-heading{margin-bottom:20px}.library-home .book-presets,.library-home .saved-books{align-items:start;display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:18px!important}@media (max-width:1099px){.library-home .book-presets,.library-home .saved-books{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media (max-width:600px){.library-home .book-presets,.library-home .saved-books{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.library-home .preset-stage,.library-home .saved-book-preview,.library-home .preset-journal .preset-stage,.library-home .preset-poetry .preset-stage,.library-home .preset-novel .preset-stage{box-sizing:border-box;border-radius:6px;justify-content:center;align-items:center;padding:16px;display:flex;background:var(--ui-paper-stage,#efe9dd)!important;border:1px solid #e4dccb!important;height:211px!important}.library-home .saved-book{text-align:left;border-radius:0;flex-direction:column;width:100%;padding:0;overflow:visible;box-shadow:none!important;background:0 0!important;border:0!important;display:flex!important}.library-home .saved-book-meta{gap:6px;padding:14px 0 0}.library-home .saved-book-meta strong{font-family:var(--ui-font);color:var(--ui-ink,#4d414f);font-size:14px;font-weight:600}.library-home .saved-book-meta small{font-size:12px}.library-home .book-preset>strong{margin:14px 0 6px}.library-home .book-preset>small,.library-home .saved-book-meta small{font-size:12px;line-height:1.5}.library-home .book-preset .preset-stage,.library-home .saved-book-preview{transition:transform .15s,box-shadow .15s}.library-home .book-preset:hover .preset-stage,.library-home .saved-book:hover .saved-book-preview,.library-home .saved-book:focus-visible .saved-book-preview{outline:0;transform:translateY(-2px);box-shadow:0 6px 16px #2b241614}.library-home .saved-book-delete{top:10px;right:10px}.library-home .saved-section .library-section-heading{align-items:center}.books-title{align-items:baseline;gap:12px;display:flex}.books-title span{color:var(--ui-muted);font-size:13px}.library-home .library-section-heading h2{margin:0;font-size:26px}.library-home .start-section .library-section-heading{gap:6px}.library-home .library-section-heading h1{margin:0}.import-thumbnail em{text-align:center;line-height:1.4}.step-cue{letter-spacing:.08em;text-transform:uppercase;color:var(--ui-muted);margin-bottom:2px;font-size:12px;display:block}.import-drop .import-icon{color:var(--ui-accent,#2e5aac)}.import-chapters{list-style:none;padding:4px 16px!important}.import-chapters li{justify-content:space-between;align-items:center;gap:16px;display:flex;padding:8px 0!important}.import-chapters li>div{min-width:0}.import-chapters small{font-variant:small-caps;text-transform:none!important;letter-spacing:.06em!important;font-size:12px!important}.import-chapters em{font-variant-numeric:tabular-nums;flex:none;float:none!important}.import-looks{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}.tool-dialog .import-looks button{flex-direction:column;align-items:center;min-height:132px;position:relative;text-align:center!important;gap:8px!important;padding:10px 6px!important;display:flex!important}.look-stage{justify-content:center;align-items:center;height:84px;display:flex}.look-blank{background:#fff;width:54px;height:80px;display:block;box-shadow:0 1px 4px #2b241622}.import-looks strong{line-height:1.3;font-size:13px!important}.look-check{background:var(--ui-accent,#2e5aac);width:18px;height:18px;color:var(--ui-on-accent,#fff);border-radius:999px;place-items:center;font-size:11px;font-weight:700;display:grid;position:absolute;top:6px;right:6px}.tool-dialog .import-looks button.on{border-color:var(--ui-accent,#2e5aac)!important;background:#fff!important}@media (max-width:600px){.import-looks{grid-template-columns:repeat(3,minmax(0,1fr))!important}}html .tool-dialog .panel-heading h2{font-family:var(--ui-serif);font-size:20px;font-weight:400}html .tool-dialog .panel-heading>button,html .tool-content .tool-panel-heading>button{width:36px;height:36px;color:var(--ui-ink);place-items:center;line-height:1;display:grid;background:0 0!important;border:0!important;border-radius:999px!important;padding:0!important;font-size:22px!important}html .tool-dialog .panel-heading>button:hover,html .tool-content .tool-panel-heading>button:hover{background:var(--ui-hover)!important}html .settings.tool-dialog.side-sheet{z-index:40;inset:var(--workspace-top,190px) 0 0 auto!important;border:0!important;border-left:1px solid var(--ui-line)!important;border-radius:0!important;width:min(440px,100vw)!important;height:auto!important;max-height:none!important;margin:0!important;position:fixed!important;box-shadow:-8px 0 24px #2b24160f!important}html.books-sheet-open .studio .workspace{box-sizing:border-box;padding-right:min(440px,100vw)}@media (max-width:900px){html.books-sheet-open .studio .workspace{padding-right:0}html .settings.tool-dialog.side-sheet{box-shadow:-8px 0 40px #2b241640!important}}html .book-design .bd-tabs{background:var(--ui-well,#efe9dd);border:0;border-radius:999px;gap:0;margin:12px 0 10px;padding:4px}html .book-design .bd-tabs button{border-radius:999px;height:32px;padding:0 8px;font-size:13px;font-weight:600;color:var(--ui-ink)!important;box-shadow:none!important;background:0 0!important;border:0!important}html .book-design .bd-tabs button[aria-selected=true]{background:var(--ui-raised,#fff)!important;color:var(--ui-accent-dark)!important;box-shadow:0 1px 3px #2b24161f!important}html .book-design .bd-footer{min-height:0;padding:10px 0;font-size:12px}html .book-design .bd-scroll{padding-bottom:40px;-webkit-mask-image:linear-gradient(#000 calc(100% - 24px),#0000);mask-image:linear-gradient(#000 calc(100% - 24px),#0000)}html .book-design .bd-choices{gap:8px}html .book-design .bd-choices>button{position:relative}html .book-design .bd-choices.bd-list{flex-direction:column;gap:6px;display:flex}html .book-design .bd-choices.bd-list>button{text-align:left;justify-content:flex-start;align-items:center;gap:12px;min-height:48px;flex-direction:row!important;padding:10px 36px 10px 12px!important;display:flex!important}.bd-choice-text{flex-direction:column;gap:2px;display:flex}.bd-choice-text small{color:var(--ui-muted);font-size:12px;font-weight:400;line-height:1.35}.bd-check-badge{background:var(--ui-accent);width:16px;height:16px;color:var(--ui-on-accent,#fff);border-radius:999px;place-items:center;font-size:10px;font-weight:700;display:grid;position:absolute;top:6px;right:6px}.bd-list .bd-check-badge{width:18px;height:18px;top:50%;right:12px;transform:translateY(-50%)}html .book-design .bd-choices>button[aria-pressed=true]{border:2px solid var(--ui-accent)!important;background:var(--ui-tint)!important}html .book-design .bd-label{font-size:13px}html .book-design .bd-help{color:var(--ui-subtle,#6b6358);font-size:12px}.bd-mini-page{background:#fff;border:1px solid #c9bfa8;width:30px;height:40px;display:block;position:relative;box-shadow:1px 1px #0000000d}.bd-mini-text{flex-direction:column;gap:3px;display:flex;position:absolute}.bd-mini-text i{background:#8a8070;border-radius:1px;height:2px;display:block}.bd-mini-text i:last-child{width:60%}html .book-design .bd-paper-shape{width:56px;height:70px}html .book-design .bd-paper button{padding:10px 4px 8px;position:relative}.bd-popular{background:var(--ui-accent);color:var(--ui-on-accent,#fff);white-space:nowrap;border-radius:999px;padding:1px 7px;font-size:12px;font-weight:600;position:absolute;top:-8px;left:50%;transform:translate(-50%)}html .book-design .bd-paper strong{font-size:12px}html .book-design .bd-paper small{font-size:11px}.export-summary,.export-issues li{padding:12px 14px}.export-badge,.issue-icon{font-size:13px;width:24px!important;height:24px!important}.export-summary,.export-issues li{gap:12px}.export-actions .export-preview{margin-right:auto}.page-gallery button[aria-pressed=true]{background:var(--ui-surface)!important;box-shadow:none!important;border:2px solid var(--ui-accent)!important}.page-gallery .page-type-cards button,.page-gallery .page-style-cards button,.page-gallery>footer small,.page-gallery>footer p{font-size:13px}html[data-ui-theme] .studio .format-row :is(select,button,details){flex-shrink:0}html .book-design .bd-paper{row-gap:16px;padding-top:8px}html[data-ui-theme] .studio .masthead .masthead-theme{border:1px solid var(--ui-line);background:var(--ui-surface);width:42px;min-width:42px;height:42px;min-height:42px;color:var(--ui-ink);box-shadow:none;border-radius:999px;flex:none;gap:0;padding:0}html[data-ui-theme] .studio .masthead .masthead-theme:hover{background:var(--ui-hover)}html[data-ui-theme] .studio .masthead .masthead-theme .ui-theme-label{display:none}html[data-ui-theme] .studio .masthead .masthead-theme :is(.ui-theme-sun,.ui-theme-moon){font-size:19px}
.library-home .book-presets,.library-home .saved-books{gap:16px!important}.tool-dialog .import-looks button.on{background:var(--ui-tint)!important}html[data-ui-theme] .studio .outline .outline-page.selected,html[data-ui-theme] .studio .outline .chapter-row.selected>button{box-shadow:inset 0 0 0 2px var(--ui-accent)!important}html[data-ui-theme] .studio .outline .outline-page.selected:before{display:none!important}.goal-options{grid-template-columns:repeat(5,1fr);gap:6px!important;display:grid!important}.goal-options button[aria-pressed=true]{background:var(--ui-tint)!important;color:var(--ui-accent-dark)!important;border:2px solid var(--ui-accent)!important}html .book-design .bd-fonts>button,html .book-design .bd-types>button,html .book-design .bd-paper>button{position:relative}html .book-design .bd-fonts>button[aria-pressed=true],html .book-design .bd-types>button[aria-pressed=true],html .book-design .bd-paper>button[aria-pressed=true]{border:2px solid var(--ui-accent)!important;background:var(--ui-tint)!important;box-shadow:none!important}.page-gallery button[aria-pressed=true]{position:relative;background:var(--ui-tint)!important}.page-gallery button[aria-pressed=true]:after{content:"✓";background:var(--ui-accent);width:16px;height:16px;color:var(--ui-on-accent,#fff);border-radius:999px;place-items:center;font-size:10px;font-weight:700;display:grid;position:absolute;top:6px;right:6px}html .book-design .bd-fonts small{color:var(--ui-subtle,#6b6358);font-size:12px}html .book-design .bd-fonts strong{font-size:13px}.decal-tray p,.decal-tray small,.image-library p{color:var(--ui-subtle,#6b6358)!important;font-size:12px!important}.page-gallery .page-type-cards button,.page-gallery .page-style-cards button,.page-gallery .page-type-cards span,.page-gallery .page-style-cards span{font-size:13px!important}.page-gallery p,.page-gallery small,.gallery-preview p{color:var(--ui-subtle,#6b6358);font-size:12px!important}.page-gallery h2,html .studio .tool-content .tool-panel-heading strong{font-family:var(--ui-serif)!important;letter-spacing:0!important;font-size:20px!important;font-weight:400!important}.page-gallery>header>button,html .studio .tool-content .tool-panel-heading>button{place-items:center;display:grid;background:0 0!important;border:0!important;border-radius:999px!important;width:36px!important;height:36px!important;padding:0!important}.printer-choice{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.printer-choice>button{border:1px solid var(--ui-line);background:var(--ui-raised);text-align:left;cursor:pointer;width:100%;font:inherit;color:var(--ui-ink);border-radius:10px;align-items:center;gap:12px;padding:10px 40px 10px 12px;display:flex;position:relative}.printer-choice>button.on{border:2px solid var(--ui-accent);background:var(--ui-tint);padding:9px 39px 9px 11px}.printer-icon{color:var(--ui-accent-dark);flex:none}.printer-text{flex-direction:column;gap:2px;display:flex}.printer-text strong{font-size:13px}.printer-text small{color:var(--ui-subtle,#6b6358);font-size:12px;line-height:1.4}.printer-choice .bd-check-badge{width:18px;height:18px;top:50%;right:12px;transform:translateY(-50%)}html .book-design .bd-scroll{padding-bottom:72px;-webkit-mask-image:none;mask-image:none}html .book-design .bd-paper-shape{width:64px;height:84px}html .book-design .bd-paper{row-gap:8px;padding-top:0}html .book-design .bd-paper>button{padding-top:22px!important}.bd-popular{font-size:12px;top:6px!important;left:6px!important;transform:none!important}.decal-chips{flex-wrap:wrap;gap:6px;margin:4px 0 12px;display:flex}.decal-chips button{border:1px solid var(--ui-line);background:var(--ui-raised);font:inherit;cursor:pointer;color:var(--ui-ink);border-radius:999px;padding:6px 12px;font-size:13px}.decal-chips button[aria-pressed=true]{border:2px solid var(--ui-accent);background:var(--ui-tint);color:var(--ui-accent-dark);padding:5px 11px;font-weight:600}.decal-tray{grid-template-columns:1fr 1fr;align-content:start;gap:8px;display:grid!important}.decal-tray[hidden]{display:none!important}.decal-tray>:not(button){grid-column:1/-1}.decal-tray>button{aspect-ratio:1;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px 6px!important;display:flex!important}.decal-tray>button img{object-fit:contain;max-height:64%;width:82%!important;height:auto!important}.decal-tray>button span{text-align:center;font-size:12px;line-height:1.25}.narrow-tools{display:none}html[data-ui-theme] .studio .format-row .wide-tools{display:contents}@media (max-width:1100px){html[data-ui-theme] .studio .format-row .wide-tools{display:none}.narrow-tools{border-bottom:1px solid var(--ui-line);flex-wrap:wrap;gap:8px;width:100%;margin-bottom:4px;padding-bottom:10px;display:flex}.narrow-align{gap:4px;display:flex}html[data-ui-theme] .studio .format-row label[title=View],html[data-ui-theme] .studio .format-row select[aria-label=Zoom]{display:none}}.focus-bar{pointer-events:none;transition:opacity .25s;opacity:0!important;background:#2b2416f5!important}.focus-bar.shown,.focus-bar:focus-within{pointer-events:auto;opacity:1!important}html.books-focus .studio.focus-mode .document-scroller{padding-bottom:96px}.decal-tray{min-width:0;max-width:100%;background:0 0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:0!important}.decal-tray>button{min-width:0;width:auto!important;margin:0!important}.decal-tray .decal-chips button{aspect-ratio:auto;cursor:pointer;touch-action:auto;width:auto!important;margin:0!important;padding:5px 11px!important;display:inline-flex!important}.decal-tray .decal-chips button[aria-pressed=true]{padding:4px 10px!important}html .studio .tool-content{overflow-x:hidden}
.paper .editor p{text-wrap:pretty}.page-gallery .page-type-cards button>strong,.page-gallery .page-style-cards button>strong,.page-gallery .page-type-cards button>span:not(.page-thumbnail),.page-gallery .page-style-cards button>span:not(.page-thumbnail){font-size:13px!important}:is(.page-gallery,.book-design,.theme-options) .page-thumbnail :is(strong,small){background:#8a8070;border-radius:2px;width:62%;height:5px;margin:4px auto 6px;display:block;overflow:hidden;color:#0000!important;font-size:0!important}:is(.page-gallery,.book-design,.theme-options) .page-thumbnail small{background:#b3aa98;width:38%;height:3px}:is(.page-gallery,.book-design,.theme-options) .page-thumbnail .thumb-contents{color:#0000!important;font-size:0!important}.goal-streak svg{fill:none;stroke:currentColor;stroke-width:2px}.goal-streak{color:var(--ui-ink)}html .book-design .bd-types{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;display:grid!important}html .book-design .bd-paper,html .book-design .bd-fonts{gap:8px!important}html .book-design .bd-types>button span{font-size:12px}html .settings.tool-dialog.side-sheet{padding:0 20px!important}html .studio .tool-content{box-sizing:border-box;padding-left:20px!important;padding-right:20px!important}html .book-design .bd-paper-shape{width:72px;height:96px}.printer-choice>button.on{border:2px solid var(--ui-accent)!important;background:var(--ui-tint)!important}.decal-tray>button{aspect-ratio:auto!important;height:116px!important}.decal-tray>button img{object-fit:contain;width:92%!important;height:62px!important;max-height:none!important}html .settings.tool-dialog.side-sheet{bottom:30px!important}.library-home{position:relative}.library-drop-hint{z-index:200;text-align:center;border:3px dashed var(--ui-accent);pointer-events:none;background:#fdfbf4e6;border-radius:18px;place-content:center;gap:6px;display:grid;position:fixed;inset:12px}.library-drop-hint strong{font:400 26px var(--ui-serif);color:var(--ui-ink)}.library-drop-hint span{color:var(--ui-subtle,#6b6358);font-size:13px}.library-home .library-empty{text-align:center;border:1px dashed #d8cfbd;border-radius:10px;place-items:center;gap:6px;padding:40px 16px;display:grid;background:0 0!important}.library-home .library-empty h3{font:400 20px var(--ui-serif);color:var(--ui-ink);margin:0}.library-home .library-empty p{color:var(--ui-subtle,#6b6358);margin:0;font-size:13px}.paper .editor p[data-continues]{text-align-last:var(--paragraph-align,start)}.focus-bar{right:24px;bottom:24px!important;left:auto!important;transform:none!important}.decal-tray>button{justify-content:space-between!important;padding:12px 8px 10px!important}.decal-tray>button img{flex:none;width:100%!important;height:70px!important}.export-step{font-size:15px!important}@media (max-width:1100px){html[data-ui-theme] .studio .workspace>.outline{z-index:30;width:260px;position:absolute;top:0;bottom:0;left:0;box-shadow:12px 0 32px #2b241626}}@media (max-width:600px){.library-home main,.site-navigation{padding:0 16px!important}.library-home .library-section-heading{gap:12px;flex-direction:column!important;align-items:stretch!important}.library-home .library-section-heading>div{justify-content:flex-start;text-align:left!important}.library-home .library-section-heading input{width:100%!important;max-width:none!important}}html .book-design .bd-fonts strong,html .book-design .bd-fonts small{white-space:normal!important;text-overflow:clip!important;overflow:visible!important}.bd-popular{text-align:center;border-radius:6px 6px 0 0!important;padding:2px 0!important;font-size:12px!important;top:0!important;left:0!important;right:0!important;transform:none!important}html .book-design .bd-paper>button[aria-pressed=true] .bd-check-badge{top:24px}html .book-design .bd-paper>button{overflow:hidden;padding-top:26px!important}html .book-design .bd-paper small{font-size:12px!important}html .book-design .bd-tabs button{font-size:13px!important}.decal-tray>button{padding:10px 8px 12px!important}.decal-tray>button img{filter:brightness(.55)contrast(1.5);transform:scale(1.3)}.studio .outline .row-sub{color:var(--ui-subtle,#6b6358);margin-top:1px;font-size:12px;font-weight:400;display:block}@media (max-width:1100px){.advanced-formatting{min-width:380px!important}}.decal-tray>button{overflow:hidden;height:132px!important;padding:10px 8px 14px!important}.decal-tray>button img{width:88%!important;height:64px!important;transform:scale(1.12)!important}.decal-tray>button span{line-height:1.3}.bd-font-sample{white-space:nowrap;text-overflow:ellipsis;max-width:100%;color:var(--ui-ink);font-size:15px;line-height:1.3;display:block;overflow:hidden}html .book-design .bd-fonts>button{text-align:left;flex-direction:column;align-items:flex-start;gap:2px;display:flex!important}.decal-tray>button{height:116px!important;padding:8px 6px 12px!important}.decal-tray>button img{filter:brightness(0)opacity(.78)!important;width:86%!important;height:58px!important;transform:scale(1.18)!important}.paper section.pagination-page:not(:last-of-type) .scene-divider{display:none!important}@media (max-width:1100px){html .studio .toolbar .popover.advanced-formatting{width:380px;max-width:calc(100vw - 16px);min-width:0!important;left:auto!important;right:8px!important}}.advanced-formatting .color-pick input[type=color]{border-radius:6px;padding:0;width:28px!important;height:28px!important}.advanced-formatting{gap:6px!important}.advanced-formatting>button{padding:0 8px!important}html[data-ui-theme] .studio .statusbar,.goal-chip>button{font-size:12px!important}.library-home .book-preset>strong,.library-home .saved-book-meta strong{font-size:15px!important}.import-count{font-size:13px!important}.import-chapters span{font-size:13px}.import-looks strong{font-size:13px!important}html .tool-dialog .panel-heading h2{font-size:20px!important}.import-thumbnail em{color:var(--ui-subtle,#6b6358)!important;font-size:12px!important}.import-drop strong{font-size:15px!important}.import-drop .primary{font-size:13px!important}.import-look-title{font-size:15px!important}html[data-ui-theme] .studio .tool-rail button small{font-size:12px!important}.library-home .library-section-heading h2,.library-drop-hint strong{font-size:24px!important}.snap-guide span,.first-line-space-tag{font-size:12px!important;line-height:18px!important}.bd-popular{font-size:12px!important}html[data-ui-theme] .studio .format-row :is(button,summary,select),html[data-ui-theme] .studio .masthead .home-button{font-size:13px!important}.library-footer summary{font-size:13px}.overlay-background-choices button{font-size:12px!important}.studio .page-tools button[aria-pressed=true],.overlay-background-choices button[aria-pressed=true]{border:2px solid var(--ui-accent)!important;background:var(--ui-tint)!important;outline:0!important}html[data-ui-theme] .studio .tool-rail button:hover{background:var(--ui-hover)!important}html[data-ui-theme] .studio .outline .chapter-row>button,html[data-ui-theme] .studio .outline .chapter-row summary{font-size:13px!important}html[data-ui-theme] .studio .tool-rail button[aria-selected=true]{background:var(--ui-tint)!important;color:var(--ui-accent-dark)!important}html[data-ui-theme] .studio .section-menu-list button{font-size:13px!important}.paper .editor p[data-continues]{text-wrap:wrap}.paper .editor{hyphenate-limit-chars:5 2 2}
.settings.tool-dialog.cover-dialog:has(.book-design){width:min(1280px,100vw - 32px);height:min(860px,100dvh - 32px);margin:auto;padding:0 20px;inset:16px}.settings.tool-dialog.cover-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#2018284d}.cover-designer{flex-direction:column;flex:1;min-height:0;display:flex}.cover-body{flex:1;grid-template-columns:minmax(0,1fr) 380px;gap:20px;min-height:0;display:grid}.cover-stage{flex-direction:column;gap:10px;min-width:0;min-height:0;padding:14px 0 16px;display:flex}.cover-viewbar{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.settings.tool-dialog .cover-viewbar button{background:var(--bd-field);color:var(--bd-ink);border:1px solid var(--bd-line);cursor:pointer;border-radius:999px;padding:6px 14px;font:600 12px/1.3 system-ui,sans-serif}.settings.tool-dialog .cover-viewbar button[aria-pressed=true]{background:var(--bd-ink);border-color:var(--bd-ink);color:var(--bd-surface)}.cover-guides{color:var(--bd-muted);cursor:pointer;align-items:center;gap:6px;margin-left:auto;font:12px system-ui,sans-serif;display:flex}.cover-view{justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.cover-preview{background:repeating-conic-gradient(#0000000a 0 25%,#0000 0 50%) 0 0/18px 18px,var(--bd-field);border:1px solid var(--bd-line);border-radius:12px;flex:1;min-height:0;padding:28px}.cover-window{flex:none;transition:width .25s,height .25s;position:relative;overflow:hidden;box-shadow:0 10px 34px #1b14232e,0 2px 6px #1b14231f}.cover-sheet{transform-origin:0 0;transition:transform .25s;position:absolute;top:0;left:0}.cover-measure{color:var(--bd-muted);flex-wrap:wrap;gap:6px 18px;font:12px/1.4 system-ui,sans-serif;display:flex}.cover-measure b{color:var(--bd-ink);margin-right:4px;font-weight:600}.cover-legend{align-items:center;gap:6px;margin-left:auto;display:flex}.cover-legend i{border-top:2px dashed;width:16px;margin-left:6px;display:inline-block}.lg-red{color:#e0453a}.lg-blue{color:#3c8cdc}.cover-controls{border-left:1px solid var(--bd-line);min-height:0;padding-left:20px}.cover-styles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.settings.tool-dialog .book-design .cover-styles button{flex-direction:column;align-items:center;gap:6px;padding:8px 4px;display:flex;position:relative}.settings.tool-dialog .book-design .cover-styles button[aria-pressed=true]{padding:7px 3px}.cover-styles .cover-view{border-radius:2px;box-shadow:0 2px 6px #1b142333}.cover-styles strong{font-size:12px}.cover-palettes{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.settings.tool-dialog .book-design .cover-palettes button{flex-direction:column;align-items:center;gap:4px;padding:6px 4px;display:flex}.settings.tool-dialog .book-design .cover-palettes button[aria-pressed=true]{padding:5px 3px}.cover-palettes span{border-radius:6px;place-items:center;width:100%;height:34px;font:600 15px Georgia,serif;display:grid;position:relative}.cover-palettes span i{border-radius:2px;width:18px;height:2px;margin-left:-9px;position:absolute;bottom:6px;left:50%}.cover-palettes small{color:var(--bd-muted);font-size:11px}.cover-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.cover-colors label{border:1px solid var(--bd-line);background:var(--bd-field);color:var(--bd-ink);cursor:pointer;border-radius:9px;align-items:center;gap:8px;padding:6px 8px;font:12px system-ui,sans-serif;display:flex}.settings.tool-dialog .cover-colors input[type=color]{cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;width:26px;min-width:0;height:26px;min-height:0;margin:0;padding:0}.cover-colors input::-webkit-color-swatch-wrapper{padding:0}.cover-colors input::-webkit-color-swatch{border:1px solid #0002;border-radius:6px}.cover-field small{color:var(--bd-muted);font-weight:400}.cover-field textarea{box-sizing:border-box;border:1px solid var(--bd-line);background:var(--bd-field);width:100%;color:var(--bd-ink);resize:vertical;border-radius:9px;padding:9px 10px;font:14px/1.5 Georgia,serif}.cover-field input:disabled{opacity:.5}.cover-pictures{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.settings.tool-dialog .book-design .cover-pictures button{aspect-ratio:1;padding:0;position:relative;overflow:hidden}.settings.tool-dialog .book-design .cover-pictures button[aria-pressed=true]{padding:0}.cover-pictures img{object-fit:cover;width:100%;height:100%;display:block}.settings.tool-dialog .book-design .cover-pictures .cover-upload{color:var(--bd-muted);border-style:dashed;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-weight:600;display:flex}.cover-pictures .bd-check-badge{position:absolute;top:4px;right:4px}.bd-warn{color:#9a4b12}html[data-ui-theme=dark] .bd-warn{color:#f0b37a}.settings.tool-dialog .book-design .link-button{color:var(--bd-accent);text-underline-offset:2px;background:0 0;border:0;justify-self:start;padding:0;font-weight:600;text-decoration:underline}.spine-readout{border:1px solid var(--bd-line);background:var(--bd-tint);border-radius:12px;align-items:center;gap:14px;padding:12px 14px;display:flex}.spine-readout strong{color:var(--bd-ink);font-size:16px;display:block}.spine-readout small{color:var(--bd-muted);font-size:12px;line-height:1.45;display:block}.spine-ruler{background:var(--bd-field);border:1px solid var(--bd-line);border-radius:8px;flex:none;place-items:center;width:66px;height:66px;display:grid}.spine-ruler i{background:var(--bd-ink);border-radius:2px;height:54px;display:block}.bd-section[aria-disabled=true] .bd-check span,.bd-section[aria-disabled=true] .bd-field{opacity:.5}.cover-footer{gap:12px}.settings.tool-dialog .book-design .cover-footer .primary{background:var(--bd-accent);border-color:var(--bd-accent);color:var(--ui-on-accent,#fff);padding:9px 16px}.outline-cover{text-align:left;cursor:pointer;width:100%;color:inherit;font:inherit;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;margin:0 0 8px;padding:6px 8px;display:flex}.outline-cover:hover{background:var(--ui-tint,#f6efdc);border-color:var(--ui-line,#e5dcc7)}.outline-cover .cover-view{border-radius:2px;flex:none;box-shadow:0 1px 4px #1b142340}.outline-cover span{min-width:0;display:grid}.outline-cover strong{font-size:13px;font-weight:600}.outline-cover small{color:var(--ui-muted,#7a6e57);font-size:12px}.export-cover{border:1px solid var(--ui-line,#e5dcc7);border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px;margin:12px 0 0;padding:12px;display:grid}.export-cover strong{font-size:14px;display:block}.export-cover small{color:var(--ui-muted,#7a6e57);font-size:12px;line-height:1.45;display:block}.export-cover-actions{flex-wrap:wrap;grid-column:2;gap:8px;display:flex}@media (max-width:900px){.settings.tool-dialog.cover-dialog:has(.book-design){border-radius:0;width:100%;height:100dvh;inset:0}.cover-body{grid-template-rows:minmax(240px,42%) minmax(0,1fr);grid-template-columns:1fr;gap:0}.cover-controls{border-left:0;border-top:1px solid var(--bd-line);padding-left:0}.cover-preview{padding:14px}.cover-measure{display:none}}@media (max-width:600px){.settings.tool-dialog.cover-dialog:has(.book-design){padding:0 14px}}.cover-preview-wrap{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.cover-thin-note{background:var(--bd-surface,#fff);border:1px solid var(--bd-line,#e5dcc7);width:min(360px,100% - 40px);color:var(--bd-ink,#2b2416);text-align:center;border-radius:10px;margin:0;padding:10px 14px;font:13px/1.45 system-ui,sans-serif;position:absolute;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #1b14231a}
html[data-ui-theme=dark] .library-home .saved-book{background:var(--ui-raised);border-color:var(--ui-line)}html[data-ui-theme=dark] .library-home .saved-book-meta small,html[data-ui-theme=dark] .library-home .book-preset>small,html[data-ui-theme=dark] .library-home .library-section-heading p,html[data-ui-theme=dark] .library-empty p,html[data-ui-theme=dark] .library-footer{color:var(--ui-subtle)}html[data-ui-theme=dark] .library-home .library-section-heading input{background:var(--ui-field);color:var(--ui-ink);border-color:var(--ui-line)}html[data-ui-theme=dark] .library-home .preset-stage,html[data-ui-theme=dark] .library-home .saved-book-preview{border-color:var(--ui-line)}html[data-ui-theme=dark] .library-drop-hint{background:color-mix(in srgb,var(--ui-surface) 92%,transparent);color:var(--ui-ink)}html[data-ui-theme=dark] .page-gallery{background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line)}html[data-ui-theme=dark] .page-gallery>header,html[data-ui-theme=dark] .page-gallery>footer{background:var(--ui-surface);border-color:var(--ui-line)}html[data-ui-theme=dark] .page-gallery p,html[data-ui-theme=dark] .page-gallery small,html[data-ui-theme=dark] .page-gallery>footer small,html[data-ui-theme=dark] .gallery-preview p{color:var(--ui-subtle)}html[data-ui-theme=dark] .page-gallery p strong{color:var(--ui-ink)}html[data-ui-theme=dark] .page-gallery button{background:var(--ui-raised);color:var(--ui-ink);border-color:var(--ui-line)}html[data-ui-theme=dark] .page-gallery button:hover{border-color:var(--ui-accent)}html[data-ui-theme=dark] .page-gallery button[aria-pressed=true]{background:var(--ui-tint);border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent)}html[data-ui-theme=dark] .page-gallery .gallery-primary{background:var(--ui-accent);color:var(--ui-on-accent);border-color:var(--ui-accent)}html[data-ui-theme=dark] .page-gallery>footer [role=status]{color:#8fd3a8}html[data-ui-theme=dark] .gallery-preview{background:var(--ui-workspace)}html[data-ui-theme=dark] .decal-tray>p,html[data-ui-theme=dark] .tool-hint,html[data-ui-theme=dark] .muted{color:var(--ui-subtle)}html[data-ui-theme=dark] .studio .outline .selected .page-no,html[data-ui-theme=dark] .studio .outline [aria-current=page] .page-no{color:var(--ui-ink)}html[data-ui-theme=dark] .page-indicator>span{box-shadow:0 0 0 1px var(--ui-line);background:#0d131ee6}html[data-ui-theme=dark] .bd-error,html[data-ui-theme=dark] .error[role=alert]{color:#f2a7b0}html[data-ui-theme=dark] .decal-tray>button img{box-sizing:border-box;background:#f6f1e4;border-radius:8px;padding:6px}html[data-ui-theme=dark] .cover-window{box-shadow:0 0 0 1px #ffffff2e,0 10px 34px #0008}html[data-ui-theme=dark] .cover-styles .cover-view,html[data-ui-theme=dark] .outline-cover .cover-view,html[data-ui-theme=dark] .export-cover .cover-view{box-shadow:0 0 0 1px #ffffff2e}html[data-ui-theme=dark] .decal-tray>button img{filter:none!important}
@media (max-width:760px){html .studio .masthead{grid-template-rows:44px 36px;grid-template-columns:44px minmax(0,1fr) auto 40px 40px;align-items:center;gap:2px 6px;flex-wrap:nowrap!important;height:auto!important;min-height:0!important;padding:6px 8px 2px!important;display:grid!important}html .studio .masthead .document-heading{display:contents}html .studio .masthead .home-button{grid-area:1/1;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;font-size:18px;padding:0!important}html .studio .masthead .home-label,html .studio .masthead .share-long{display:none}html .studio .masthead .document-heading>input{text-overflow:ellipsis;grid-area:1/2;width:100%;min-width:0;height:40px;padding:0 6px;font-size:17px!important}html .studio .masthead .share{white-space:nowrap;grid-area:1/3;height:40px;min-height:40px;font-size:14px;padding:0 14px!important}html .studio .masthead .feedback-button{grid-area:1/4;width:40px;height:40px;min-height:40px;padding:0}html .studio .masthead .masthead-theme{grid-area:1/5;justify-content:center;width:40px;min-width:40px;height:40px;padding:0;position:static!important}html .studio .masthead .masthead-theme .ui-theme-label{display:none}html .studio .masthead .document-heading nav{scrollbar-width:none;grid-area:2/1/2/4;gap:0;min-width:0;height:36px;display:flex;overflow:auto hidden;flex-wrap:nowrap!important}html .studio .masthead .document-heading nav::-webkit-scrollbar{display:none}html .studio .masthead .document-heading summary{flex:none;align-items:center;height:36px;min-height:36px;padding:0 9px;font-size:14px;display:flex}html .studio .masthead .document-heading details.menu{flex:none}html .studio .masthead .save{white-space:nowrap;text-overflow:ellipsis;grid-area:2/4/2/6;justify-self:end;max-width:110px;font-size:12px;overflow:hidden}html .studio .masthead details.menu[open]>div{z-index:120;max-height:calc(100dvh - 130px);overflow-y:auto;width:auto!important;min-width:0!important;position:fixed!important;top:94px!important;left:8px!important;right:8px!important}html .studio .masthead details.menu[open]>div button{text-align:left;width:100%;min-height:46px;font-size:16px}html .studio .workspace{flex-direction:column;position:relative}html .studio .document-scroller{box-sizing:border-box;flex:1 1 0;width:100%;min-height:0;padding:0 12px 16px}html .studio .page-tools,html .studio .page-tools.is-expanded{border-left:0;border-top:1px solid var(--ui-line);flex-direction:column-reverse;flex:none;order:2;width:100%;height:auto;min-height:0;display:flex}html .studio .page-tools .tool-rail[role=tablist]{box-sizing:border-box;border:0;flex-direction:row;flex:none;justify-content:space-around;gap:6px;width:100%;height:54px;padding:4px 8px}html .studio .page-tools .tool-rail[role=tablist] button{flex-direction:row;flex:1 1 0;justify-content:center;align-items:center;gap:7px;width:auto;height:46px;min-height:46px;font-size:14px}html .studio .tool-content{box-sizing:border-box;overscroll-behavior:contain;border-bottom:1px solid var(--ui-line);width:100%;max-height:38dvh;overflow-y:auto;padding:6px 16px 12px!important}html .studio .tool-content .tool-panel-heading{z-index:2;background:var(--ui-surface);padding:4px 0;position:sticky;top:-6px}html .studio .decal-tray{grid-template-columns:repeat(4,minmax(0,1fr))!important}html .studio :is(.decal-tray>button,.image-library>button){touch-action:manipulation!important}html .studio .decal-tray .decal-chips{scrollbar-width:none;flex-wrap:nowrap;grid-column:1/-1;gap:6px;display:flex;overflow-x:auto}html .studio .decal-tray .decal-chips button{flex:none;min-height:40px}html .studio .decal-tray>:is(p,small){grid-column:1/-1}html .studio .image-library:not([hidden]){grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}html .studio .image-library>:is(.image-upload,p,small){grid-column:1/-1}html .studio .outline.panel{z-index:100;flex-basis:auto;width:min(300px,82vw);max-width:none;top:0;bottom:0}html .studio .outline .chapter-row>button,html .studio .outline .outline-page{min-height:44px}html .studio .outline .outline-actions>summary{place-items:center;min-width:40px;min-height:40px;display:grid}.studio :is(input:not([type=range],[type=checkbox],[type=radio],[type=color],[type=file]),select,textarea):not(.paper *),.library-home input:not([type=checkbox],[type=radio],[type=file]){font-size:16px!important}html .studio .masthead .document-heading summary{padding:0 8px!important;font-size:15px!important}html[data-ui-theme] .studio .format-row select,html .studio .format-row select{font-size:16px!important}html .studio .page-tools .tool-rail[role=tablist] button{justify-content:center!important;gap:6px!important}html .studio .page-tools .tool-rail[role=tablist] button>*{flex:none;margin:0!important}html .focus-exit,html .focus-bar button{min-height:40px}html .studio:has(.book-preview) .page-tools{display:none}html .studio .book-preview{padding:12px}html .studio .book-preview .book-stage{touch-action:pan-y;min-height:300px}html .studio .book-preview-controls :is(button,select){min-height:40px}.decal-selection button[aria-label^=Resize],.image-selection button[aria-label^=Resize]{touch-action:none;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important}.image-selection-tools{flex-wrap:wrap;gap:6px;max-width:calc(100vw - 16px);display:flex;width:auto!important;left:8px!important;right:8px!important}.image-selection-tools :is(select,button){min-height:40px;font-size:16px!important}.ornament-color-toolbar button{min-height:40px}.ornament-color-toolbar{max-width:calc(100vw - 16px);left:auto!important;right:8px!important}}@media (max-width:380px){html .studio .masthead{grid-template-columns:44px minmax(0,1fr) auto 40px}html .studio .masthead .masthead-theme{display:none}html .studio .masthead .save{grid-area:2/4/2/5;max-width:64px}}@media (max-width:760px){html .studio .statusbar{white-space:nowrap;gap:10px;font-size:12px;overflow:hidden}html .studio .statusbar>*{white-space:nowrap}.image-selection-tools,.ornament-color-toolbar{top:162px!important}html:has(.studio .outline.panel) :is(.image-selection,.decal-selection){display:none}}
.shared-account{background:var(--ui-surface,#fdfbf4);min-height:calc(100dvh - 110px);color:var(--ui-ink,#2b2416);place-items:center;padding:32px 16px;display:grid}.shared-account>section{box-sizing:border-box;border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);width:min(100%,400px);box-shadow:var(--ui-shadow,0 12px 38px #2b241618);border-radius:20px;padding:32px}.shared-account .eyebrow{letter-spacing:.16em;color:var(--ui-accent,#2e5aac);margin:0;font:700 11px/1 system-ui,sans-serif}.shared-account h1{font:400 32px/1.15 var(--ui-serif,Georgia,serif);letter-spacing:-.4px;color:var(--ui-ink,#2b2416);margin:14px 0 6px}.shared-account section>p:not(.eyebrow):not([role=alert]){color:var(--ui-muted,#7a6e57);margin:0;font-size:15px}.shared-account form{flex-direction:column;gap:16px;margin:26px 0 18px;display:flex}.shared-account label{color:var(--ui-muted,#7a6e57);flex-direction:column;gap:6px;font:600 13px system-ui,sans-serif;display:flex}.shared-account input{box-sizing:border-box;border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-field,#fff);min-height:44px;color:var(--ui-ink,#2b2416);border-radius:10px;padding:10px 12px;font:15px system-ui,sans-serif}.shared-account input:focus-visible{outline:3px solid color-mix(in srgb,var(--ui-accent,#2e5aac) 45%,transparent);outline-offset:1px;border-color:var(--ui-accent,#2e5aac)}.shared-account button{cursor:pointer;border-radius:10px;font:600 15px system-ui,sans-serif}.shared-account button.primary{background:var(--ui-accent,#2e5aac);min-height:46px;color:var(--ui-on-accent,#fff);border:0;margin-top:4px}.shared-account button.primary:hover:not(:disabled){filter:brightness(1.08)}.shared-account button:disabled{opacity:.6;cursor:default}.shared-account .switch-mode{border:0;border-top:1px solid var(--ui-line,#e5dcc7);width:100%;color:var(--ui-accent,#2e5aac);background:0 0;border-radius:0;padding:10px;font-weight:600;display:block}.shared-account .switch-mode:hover:not(:disabled){text-underline-offset:3px;text-decoration:underline}.shared-account [role=alert]{color:#ac3e4b;background:#ac3e4b1f;border-radius:8px;margin:0;padding:10px 12px;font-size:14px}html[data-ui-theme=dark] .shared-account [role=alert]{color:#f2a7b0}.cloud-notice{border-bottom:1px solid var(--ui-line,#e5dcc7);background:color-mix(in srgb,#ad7406 12%,var(--ui-surface,#fff));color:var(--ui-ink,#2b2416);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 20px;font-size:13px;display:flex}.cloud-notice button{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);color:var(--ui-ink,#2b2416);font:600 13px var(--ui-font,system-ui);cursor:pointer;border-radius:10px;padding:6px 14px}.cloud-notice button:hover:not(:disabled){background:var(--ui-hover,#f8f2e2)}.bug-toolbar{width:32px;height:32px;color:inherit;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.bug-toolbar:hover{background:#8882}.shared-account .eyebrow{letter-spacing:.16em!important;font-size:11px!important}.shared-account section>p{line-height:1.5}.shared-account .forgot-link{color:var(--ui-accent,#2e5aac);cursor:pointer;background:0 0;border:0;margin:-6px 0 14px;padding:0;font:600 13.5px system-ui,sans-serif;display:block}.shared-account .forgot-link:hover{text-underline-offset:3px;text-decoration:underline}.shared-account .forgot-form{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-well,#efe9dd);border-radius:12px;flex-direction:column;gap:12px;margin:0 0 18px;padding:14px;display:flex}.shared-account .forgot-actions{justify-content:flex-end;gap:8px;display:flex}.shared-account .forgot-actions button{min-height:40px;padding:0 14px}.shared-account .forgot-actions .secondary{border:1px solid var(--ui-line,#e5dcc7);background:var(--ui-raised,#fff);color:var(--ui-ink,#2b2416)}.shared-account .forgot-actions .primary{margin-top:0}.shared-account .forgot-note{background:var(--ui-tint,#f8edc8);border-radius:10px;padding:12px 14px;color:var(--ui-ink,#2b2416)!important;margin:0 0 18px!important;font-size:14px!important}
