.site-editor{--editor-control:40px;--editor-radius:2px}.site-editor .site-footer-inner{min-height:48px;padding-block:12px;font-size:11px}.editor-shell .editor-topbar{border-bottom:1px solid var(--site-rule);flex-direction:row;align-items:center;gap:24px;min-height:88px;padding:16px 32px}.editor-shell .editor-identity{align-items:center;gap:16px;min-width:0;display:flex}.editor-brand{border-inline-end:1px solid var(--site-rule);flex:none;padding-inline-end:20px;display:flex}.editor-brand .brand-mark>g:first-child{fill:var(--site-ink)}.editor-document{min-width:0}.editor-shell .editor-title{max-width:100%;color:var(--site-ink);text-align:start;border:0;align-items:center;gap:12px;font-size:18px;font-weight:500;line-height:1.5;display:flex}.editor-title span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.editor-title svg{width:16px;height:16px;color:var(--site-muted);flex:none}.editor-document-meta{color:var(--site-muted);align-items:center;gap:8px;margin-top:3px;font-size:12px;display:flex}.editor-shell .editor-actions{flex-wrap:nowrap;flex:none;gap:16px}.editor-shell button,.editor-shell select,.editor-shell summary,.editor-shell .inline-upload,.editor-shell .editor-preview{font-family:var(--font-ui);border-radius:var(--editor-radius);font-size:14px}.editor-shell .editor-icon-button{appearance:none;width:var(--editor-control);height:var(--editor-control);min-height:var(--editor-control);color:var(--site-ink);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.editor-icon-button svg{flex:none}.editor-shell .editor-icon-button:hover:not(:disabled),.editor-shell .editor-preview:hover,.editor-shell summary:hover{background:#f5f5f5}.editor-shell .editor-icon-button[aria-pressed=true]{background:var(--site-ink);color:#fff}.editor-shell button:disabled{opacity:.32;cursor:default}.editor-shell :is(button,select,summary,a,input,textarea):focus-visible{outline:2px solid var(--site-ink);outline-offset:3px}.editor-shell .editor-preview{height:40px;color:var(--site-ink);justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:14px;text-decoration:none;display:inline-flex}.editor-shell .editor-publish{min-height:40px;padding:8px 24px;font-size:14px;font-weight:500}.editor-shell .editor-workspace{border-bottom:1px solid var(--site-rule);grid-template-columns:272px minmax(0,1fr);min-height:calc(100dvh - 140px)}.editor-shell .chapter-rail{border-inline-end:1px solid var(--site-rule);border-bottom:0;min-width:0}.editor-shell .chapter-rail-title{border:0;height:64px;padding:0 24px}.editor-shell .chapter-rail-title strong{font-size:14px;font-weight:500}.editor-shell .chapter-rail-title span{font-size:12px}.chapter-rail-scroll{scrollbar-width:thin;scrollbar-color:#d5d5d5 transparent;max-height:calc(100dvh - 152px);padding:0 12px 24px;overflow-y:auto}.editor-shell .chapter-rail ol{max-height:none;display:block;overflow:visible}.editor-shell .chapter-rail li{border:0;flex:none;align-items:start;gap:0;margin:2px 0;padding:0;display:flex;position:relative}.editor-shell .chapter-rail li.active{box-shadow:inset -2px 0 var(--site-ink);background:#f5f5f5}.editor-shell .chapter-rail button.rail-select{width:auto;min-width:0;height:auto;min-height:44px;box-shadow:none;background:0 0;border:0;flex:1;grid-template-columns:24px minmax(0,1fr);align-items:baseline;gap:8px;padding:10px 10px 10px 0;line-height:1.65;display:grid}.editor-shell .chapter-rail .rail-heading{color:var(--site-ink);overflow-wrap:anywhere;font-size:13px;font-weight:400}.editor-shell .chapter-rail .rail-number{font-variant-numeric:tabular-nums;color:var(--site-muted);font-size:11px}.editor-shell .chapter-rail .rail-part{border-top:1px solid var(--site-rule);margin-top:22px;padding-top:10px}.editor-shell .chapter-rail .rail-part:first-child{margin-top:0}.editor-shell .chapter-rail .rail-part .rail-heading{font-weight:500}.editor-shell .chapter-rail .rail-guess{color:var(--site-muted);padding-inline-start:5px;font-size:18px;font-style:normal;line-height:0;display:inline}.editor-shell .chapter-rail .rail-frontmatter{width:100%;height:auto;min-height:44px;box-shadow:none;background:0 0;border:0;padding:12px;font-size:13px;line-height:1.6;display:block}.editor-shell .chapter-rail .rail-frontmatter.active{box-shadow:inset -2px 0 var(--site-ink);background:#f5f5f5}.rail-item-menu{flex:0 0 32px}.editor-shell summary{cursor:pointer;align-items:center;gap:8px;list-style:none;display:flex}.editor-shell summary::-webkit-details-marker{display:none}.rail-item-menu>summary{width:32px;height:44px;color:var(--site-muted);justify-content:center}.rail-item-menu[open]>summary{color:var(--site-ink)}.editor-shell .rail-menu{inset-inline-end:0;z-index:10;background:#fff;border:1px solid #bdbdbd;min-width:174px;padding:4px;position:absolute;top:44px}.editor-shell .rail-menu button{white-space:nowrap;width:100%;height:auto;min-height:40px;color:var(--site-ink);background:#fff;border:0;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.editor-shell .rail-menu button:hover:not(:disabled){background:#f5f5f5}.editor-shell .rail-add{border:0;margin-top:12px;padding:16px 0 0;position:relative}.rail-add>summary{min-height:44px;color:var(--site-muted);padding:8px 10px;font-size:13px}.editor-shell .rail-add .rail-menu{margin-top:4px;position:relative;top:auto}.editor-shell .block-toolbar{border-bottom:1px solid var(--site-rule);flex-wrap:wrap;order:-1;gap:12px;min-height:64px;padding:10px 28px}.toolbar-group{align-items:center;gap:2px;display:flex}.toolbar-group+.toolbar-group{border-inline-start:1px solid var(--site-rule);padding-inline-start:12px}.toolbar-view{margin-inline-start:auto}.editor-style-select{align-items:center;display:flex;position:relative}.editor-shell .editor-style-select select{appearance:none;cursor:pointer;max-width:152px;height:40px;min-height:40px;color:var(--site-ink);background:0 0;border:0;padding:0 10px 0 28px;font-size:13px}.editor-style-select>svg{pointer-events:none;width:14px;position:absolute;inset-inline-end:6px}.editor-shell .editor-style-select select:disabled{color:var(--site-muted);opacity:.6;cursor:default}.format-glyph{font-family:Arial,sans-serif;font-size:18px}.editor-shell .block-toolbar .inline-upload{border:0;padding:0;font-size:14px;position:relative}.editor-shell .block-toolbar .inline-upload input{opacity:0;cursor:pointer;width:100%;height:100%;display:block;position:absolute;inset:0}.editor-shell .inline-upload:focus-within{outline:2px solid var(--site-ink);outline-offset:3px}.editor-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.editor-shell .editor-chapters-toggle{display:none}.editor-shell .guess-banner{border:0;border-bottom:1px solid var(--site-rule);color:var(--site-muted);gap:8px;margin:0;padding:10px 32px;font-size:12px}.editor-shell .guess-banner button{min-height:32px;color:var(--site-ink);text-underline-offset:4px;background:0 0;border:0;padding:6px 10px;font-size:12px;text-decoration:underline}.editor-shell .guess-banner span{flex:1}.editor-shell .editor-stage .reader-page{padding-top:28px}.editor-shell .editor-pager{font-variant-numeric:tabular-nums;gap:24px;padding:8px 0 16px;font-size:12px}.editor-shell .editor-pager button{min-height:40px;padding:0 12px}.editor-shell .editor-stage [contenteditable]:focus{outline:0}.editor-shell .editor-stage [contenteditable]:focus-visible{outline:1px solid var(--site-rule);outline-offset:6px}.editor-shell .editor-problems{padding:16px 32px;font-size:13px;line-height:1.7}.editor-shell .editor-problems ul{gap:8px 20px}.editor-shell .book-settings-sheet{padding:24px 32px}.editor-shell .book-settings-sheet .text-button{cursor:pointer;background:0 0;border:0;min-height:40px;padding:8px}.editor-shell .editor-notes-editor{border-bottom:1px solid var(--site-rule);gap:12px;margin:0;padding:12px 28px;font-size:13px}.editor-shell .editor-notes-editor input{width:min(360px,100%);min-width:0;min-height:40px}@media (width<=1100px){.editor-shell .editor-topbar{padding:16px 20px}.editor-brand{display:none}.editor-shell .editor-workspace{grid-template-columns:240px minmax(0,1fr)}.editor-shell .block-toolbar{gap:8px;padding-inline:16px}.toolbar-group+.toolbar-group{padding-inline-start:8px}}@media (width<=760px){.site-editor{--editor-control:44px}.editor-shell .editor-topbar{gap:8px;min-height:80px;padding:12px}.editor-shell .editor-identity{flex:1;gap:4px}.editor-shell .editor-title{gap:6px;font-size:16px}.editor-title svg{display:none}.editor-document-meta{gap:5px;font-size:11px}.editor-shell .editor-actions{gap:4px}.editor-shell .editor-preview{width:44px;height:44px;padding:0}.editor-preview span{display:none}.editor-shell .editor-publish{min-height:44px;padding:8px 16px}.editor-shell .editor-workspace{flex-direction:column;min-height:calc(100dvh - 80px);display:flex}.editor-shell .chapter-rail{border:0;border-bottom:1px solid var(--site-rule);order:0;width:100%;display:none}.editor-shell .chapters-open .chapter-rail{display:block}.editor-shell .chapter-rail-title{height:48px}.chapter-rail-scroll{max-height:40dvh}.editor-shell .chapter-rail .rail-select{padding-inline-end:8px}.editor-shell .editor-main{display:contents}.editor-shell .block-toolbar{flex-wrap:wrap;order:-1;gap:0;min-height:56px;padding:4px 8px}.editor-shell .editor-chapters-toggle{display:inline-flex}.toolbar-group+.toolbar-group{margin-inline-start:4px;padding-inline-start:4px}.toolbar-view{margin-inline-start:auto!important}.editor-shell .editor-style-select select{max-width:120px;padding-inline-start:8px}.editor-shell .guess-banner{padding:8px 16px}.editor-shell .guess-banner button{min-height:40px}.editor-shell .editor-stage{width:100%}.editor-shell .editor-stage .reader-page{padding-top:20px}.editor-shell .editor-stage-narrow .reader-page{max-width:100%}.editor-shell .book-settings-sheet,.editor-shell .editor-problems{padding:16px}.editor-shell .editor-notes-editor{padding:12px 16px}.editor-shell .editor-pager{gap:12px}}.editor-shell .book-settings-sheet :is(input,select,textarea){border:1px solid var(--site-rule);min-height:44px;color:var(--site-ink);background:#fff;border-radius:2px}.editor-shell .book-settings-sheet input::file-selector-button{border:0;border-inline-end:1px solid var(--site-rule);color:var(--site-ink);font:inherit;cursor:pointer;background:#fff;margin-inline-end:12px;padding:8px 12px}.editor-shell .editor-problems{display:block}.editor-problems-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.editor-shell .editor-problems strong{font-size:14px;font-weight:500}.editor-shell .editor-problems-heading .editor-icon-button{text-decoration:none}.editor-review-warnings{margin-top:8px}.editor-review-warnings>summary{min-height:40px;color:var(--site-muted);font-size:13px}.editor-shell .editor-review-warnings ul{max-height:180px;padding:4px 0;display:block;overflow:auto}.editor-shell .editor-review-warnings li button{text-align:start;min-height:36px;color:var(--site-muted);font-size:12px;text-decoration:none}@media (hover:hover){.rail-item-menu:not([open])>summary{opacity:0}.chapter-rail li:hover .rail-item-menu>summary{opacity:1}.chapter-rail li:focus-within .rail-item-menu>summary{opacity:1}}.editor-shell .editor-add-chapter{border:1px solid var(--site-rule);white-space:nowrap;background:#fff;align-items:center;gap:6px;min-height:40px;padding:6px 10px;font-size:13px;display:flex}.editor-shell .editor-add-chapter svg{width:18px;height:18px}.editor-shell .editor-chapter-boundary{border-bottom:2px solid var(--site-ink);text-align:start;color:var(--site-muted);justify-content:space-between;align-items:center;gap:12px;margin:0 0 24px;padding:0 0 10px;font:500 12px/1.5 Heebo,sans-serif;display:flex}.editor-shell .editor-chapter-boundary button{border:1px solid var(--site-rule);min-height:36px;color:var(--site-ink);background:#fff;padding:6px 10px;font:500 12px/1.5 Heebo,sans-serif}.editor-shell .editor-structure-notice{border-bottom:1px solid var(--site-rule);align-items:center;gap:12px;padding:8px 24px;font-size:13px;display:flex}.editor-shell .editor-structure-notice span{flex:1}.editor-shell .editor-structure-notice button{background:0 0;border:0;padding:8px;text-decoration:underline}@media (width<=760px){.editor-shell .editor-add-chapter,.editor-shell .editor-chapter-boundary button{min-height:44px}.editor-shell .editor-structure-notice{padding:8px 16px}}.editor-shell .editor-add-chapter:disabled{opacity:1;color:var(--site-muted);border-color:var(--site-rule)}@media (width<=760px){.editor-shell .toolbar-view{order:-1;margin-inline-start:0!important}}.editor-shell .block-toolbar.toolbar-narrow{flex-wrap:nowrap;gap:2px}.editor-shell .toolbar-narrow .editor-style-select{flex:auto;min-width:0;max-width:40%}.editor-shell .toolbar-narrow .editor-style-select select{width:100%;max-width:100%}.toolbar-overflow{flex:none;margin-inline-start:auto;position:relative}.toolbar-overflow>summary{justify-content:center}.editor-shell .toolbar-menu{inset-inline-end:0;top:calc(var(--editor-control) + 4px);z-index:20;background:#fff;border:1px solid #bdbdbd;flex-wrap:wrap;gap:2px;width:max-content;max-width:min(320px,90vw);padding:6px;display:flex;position:absolute}.editor-shell .toolbar-menu .editor-add-chapter{flex:1 0 100%;justify-content:center}.editor-shell .editor-save-banner,.editor-shell .editor-recovery-banner{border-bottom:1px solid var(--site-rule);align-items:center;gap:12px;margin:0;padding:8px 24px;font-size:13px;display:flex}.editor-shell .editor-save-banner span,.editor-shell .editor-recovery-banner span{flex:1;min-width:0}.editor-shell .editor-save-banner button,.editor-shell .editor-recovery-banner button,.editor-shell .editor-save-banner a{min-height:36px;color:var(--site-ink);text-underline-offset:4px;background:0 0;border:0;padding:6px 10px;font-size:13px;text-decoration:underline}.editor-shell .editor-save-blocked{background:#fbf6ee}.editor-modal{z-index:60;background:rgba(0,0,0,.32);justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.editor-modal-panel{border:1px solid var(--site-rule);background:#fff;width:min(440px,100%);padding:24px}.editor-modal-panel h2{margin:0 0 8px;font-size:18px;font-weight:500}.editor-modal-panel p{margin:0 0 20px;font-size:14px;line-height:1.7}.editor-modal-panel .author-actions{flex-wrap:wrap;gap:8px;display:flex}.editor-modal-panel button{border:1px solid var(--site-rule);min-height:44px;color:var(--site-ink);background:#fff;padding:8px 20px;font-size:14px}.editor-modal-panel .editor-dialog-primary{border-color:var(--site-ink);background:var(--site-ink);color:#fff}.editor-image-sheet .settings-grid{gap:12px;display:grid}.editor-shell .editor-image-sheet input{width:min(420px,100%)}.editor-shell .editor-stage figure.blk-Image{cursor:pointer}@media (width<=760px){.editor-shell .editor-save-banner,.editor-shell .editor-recovery-banner{gap:8px;padding:8px 12px}}