/* Shared appearance for the shell, reading, search, and sign-in screens. */

/* Shared content sizing and a reversible, chrome-free working view. */
html { --editor-size: var(--content-size, 16px); --reading-size: var(--content-size, 19px); }
html .editors-grid { --editor-size: var(--content-size, 16px); }
.content-view-toolbar { display:flex; align-items:center; justify-content:flex-end; gap:12px; flex-wrap:wrap; position:sticky; top:0; z-index:15; padding:8px 0; margin-bottom:12px; background:var(--bg); border-bottom:1px solid var(--line); }
.content-view-controls { display:flex; align-items:center; gap:8px; margin-left:auto; font-size:12px; }
.content-size-controls { display:flex; align-items:center; gap:3px; border:1px solid var(--line); border-radius:6px; padding:2px; background:var(--paper); }
.content-size-controls .size-caption { padding:0 7px; color:var(--muted); font-size:11px; }
.content-size-controls button { min-width:30px; height:30px; border-radius:4px; font-size:12px; }
.content-size-controls button:hover, .view-mode-button:hover { background:var(--hover); }
.content-size-controls button:disabled { opacity:.35; cursor:default; }
.content-size-controls input { width:40px; height:30px; min-width:0; padding:3px 0; border:0; border-radius:3px; background:transparent; font-size:12px; font-family:inherit; text-align:center; appearance:textfield; }
.content-size-controls input::-webkit-inner-spin-button, .content-size-controls input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.size-unit { color:var(--muted); font-size:10px; margin-right:4px; }
.view-mode-button { min-height:36px; padding:6px 10px; border:1px solid var(--line); border-radius:6px; white-space:nowrap; background:var(--paper); }
.view-mode-button[aria-pressed="true"] { color:var(--accent); border-color:var(--accent); }
html[data-content-focus="true"] .sidebar,
html[data-content-focus="true"] .sidebar-scrim,
html[data-content-focus="true"] .topbar,
html[data-content-focus="true"] .page-footer,
html[data-content-focus="true"] .page-heading,
html[data-content-focus="true"] .writing-topline,
html[data-content-focus="true"] .preflight-note,
html[data-content-focus="true"] .context-drawer,
html[data-content-focus="true"] .chapter-neighbors,
html[data-content-focus="true"] .character-profile,
html[data-content-focus="true"] .editor-hint,
html[data-content-focus="true"] .editor-pane-heading > div:first-child { display:none !important; }
html[data-content-focus="true"] .layout .main { margin-left:0; width:100%; }
html[data-content-focus="true"] .content { max-width:none; padding:8px 12px; }
html[data-content-focus="true"] .content-view-toolbar { margin-bottom:8px; padding:4px 0; }
html[data-content-focus="true"] .editor-pane-heading { justify-content:flex-end; padding:5px 8px; }
html[data-content-focus="true"] .editors-grid,
html[data-content-focus="true"] .single-editor { height:calc(100dvh - var(--content-toolbar-height, 44px) - var(--focus-tabs-height, 0px) - 24px); max-width:none; }
html[data-content-focus="true"] .editor-pane { height:100%; }
html[data-content-focus="true"] .editor-pane > textarea,
html[data-content-focus="true"] .editor-preview { flex:1; height:0; min-height:0; max-height:none; resize:none; }
html[data-content-focus="true"] .manuscript { max-width:1100px; }
html[data-content-focus="true"] .manuscript > h1:first-child { display:none; }
html[data-content-focus="true"] .reader-toolbar .text-link,
html[data-content-focus="true"] .reader-toolbar .font-controls { display:none; }
html[data-content-focus="true"] .reader-layout.catalog-open { grid-template-columns:minmax(0,1fr); }
html[data-content-focus="true"] .reader-catalog { display:none; }
html[data-content-focus="true"].focus-catalog-open .reader-catalog { display:flex; position:fixed; top:calc(var(--content-toolbar-height, 44px) + 16px); bottom:12px; right:12px; width:310px; max-width:calc(100vw - 24px); max-height:none; z-index:40; box-shadow:0 10px 40px #0005; }
@media(max-width:680px) {
  .content-view-controls { gap:5px; }
  .content-size-controls .size-caption { padding:0 4px; }
  .content-size-controls input { font-size:16px; }
  .content-view-toolbar { gap:8px; }
  .view-mode-button { min-height:40px; padding:6px 8px; }
  html[data-content-focus="true"] .content { padding:6px 8px; }
  html[data-content-focus="true"] .content:has(#editors-grid) { --focus-tabs-height:44px; }
  html[data-content-focus="true"] .mobile-pane-tabs { margin-top:0; }
  html[data-content-focus="true"] .mobile-pane-tabs button { min-height:42px; }
  html[data-content-focus="true"] .content-size-controls .size-caption,
  html[data-content-focus="true"] .size-unit { display:none; }
  html[data-content-focus="true"] .reader-toolbar .reader-toolbar-start .button { padding:6px 8px; min-height:40px; }
}
:root {
  color-scheme: dark;
  --bg: #1e1e1e; --sidebar: #181818; --paper: #252526; --raised: #2c2d30;
  --text: #d4d4d4; --muted: #9da3ad; --line: #37393e; --hover: #2b2d31;
  --selected: #193c50; --accent: #83bfe9; --green: #94c5ad;
  --primary: #21658b; --primary-hover: #2b7aa6; --primary-text: #ffffff;
  --status: #a2d5b5; --status-bg: #253a30; --draft: #dfbd88; --draft-bg: #3b3022;
  --danger: #f28f7b; --reading-bg: #1e1e1e; --reading-text: #d4d4d4;
  --code-bg: #17181b; --quote-bg: #252b33; --quote-text: #b9c7d5; --table-head: #2c2e33;
  --shadow: #00000026; --backdrop: #080b10aa;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px; font-synthesis: none;
  color: var(--text); background: var(--bg);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
:root[data-theme="light"]:not([data-privacy-mode="true"]) {
  color-scheme: light;
  --bg: #f6f5f0; --sidebar: #eeeee7; --paper: #fffef9; --raised: #e9ede1;
  --text: #2c3933; --muted: #687367; --line: #dfe2d7; --hover: #e9ede2;
  --selected: #dde7d8; --accent: #2d6d86; --green: #3e6850;
  --primary: #365b48; --primary-hover: #294a3a;
  --status: #4d7044; --status-bg: #e9efdf; --draft: #896325; --draft-bg: #f3ead8;
  --danger: #a44d39; --reading-bg: #fffdf5; --reading-text: #3b4438;
  --code-bg: #e9eddc; --quote-bg: #edf0e4; --quote-text: #657459; --table-head: #edf0e3;
  --shadow: #344e3e0b; --backdrop: #23372b66;
}


*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:none;border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus{outline:2px solid var(--accent)}[hidden]{display:none!important}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:600;letter-spacing:-.6px}h2{font-size:18px;font-weight:600}h3{font-size:15px;font-weight:550}input,select,textarea{min-width:0;border:1px solid var(--line);background:var(--bg);border-radius:6px}input,select{padding:10px 12px}textarea{padding:16px;resize:vertical}label{display:block;color:var(--muted);font-size:13px}small,.muted{color:var(--muted)}.error{color:var(--danger)}.text-link{color:var(--accent);display:inline-flex;gap:7px;align-items:center;font-size:13px}.eyebrow{font-size:11px;color:var(--muted);letter-spacing:1px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:6px;min-height:36px;padding:8px 13px;font-size:13px;white-space:nowrap;background:var(--paper)}.button:hover,.icon-button:hover{background:var(--hover)}.button.primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.button.primary:hover{background:var(--primary-hover)}.button svg{width:17px;height:17px}.icon-button{width:36px;height:36px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.layout{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:var(--sidebar);border-right:1px solid var(--line);padding:23px 12px 16px;display:flex;flex-direction:column;z-index:20;overflow:auto}.brand{display:flex;gap:12px;align-items:center;padding:1px 13px 26px;font-size:21px;font-weight:600}.brand>svg{width:28px;height:28px;color:var(--accent)}.brand-sub{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px;letter-spacing:2px}.nav-link{display:flex;gap:12px;align-items:center;padding:11px 13px;min-height:43px;border-radius:5px;margin:3px 0;color:var(--muted);font-size:13px}.nav-link small{margin-left:auto}.nav-link svg{width:18px;height:18px}.nav-link:hover{background:var(--hover);color:var(--text)}.nav-link.selected{background:var(--selected);color:var(--accent)}.book-select-wrap{padding:22px 10px 13px}.book-select-wrap label{font-size:10px;letter-spacing:1px;margin-bottom:7px}.book-select-wrap select{width:100%;font-size:12px;padding:8px 6px;background:var(--paper)}.sidebar-bottom{margin-top:auto;padding:26px 6px 0;display:flex;flex-direction:column;gap:11px}.sidebar-bottom .button{justify-content:flex-start;border:0;background:none;padding-left:8px}.sidebar-bottom>small{font-size:10px;padding-left:8px}.sidebar-note{padding:42px 17px;font-size:14px;line-height:2.2;color:var(--muted)}.main{margin-left:224px;width:calc(100% - 224px);min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:62px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px;flex-shrink:0}.top-left,.top-actions{display:flex;gap:11px;align-items:center;min-width:0}.top-left{font-size:12px;color:var(--muted)}.breadcrumb-book{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:230px}.slash{opacity:.4}.crumb-current{white-space:nowrap}.workspace-badge{border:1px solid var(--line);border-radius:4px;padding:4px 7px;font-size:10px;color:var(--muted)}.content{padding:34px 40px;max-width:1550px;width:100%;margin:0 auto;flex:1;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);line-height:1.8;margin-top:8px;font-size:13px}.heading-actions{display:flex;gap:8px;flex-shrink:0}.page-footer{display:flex;justify-content:space-between;padding:18px 40px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);gap:15px}.sidebar-collapsed .sidebar{width:62px;padding-left:7px;padding-right:7px}.sidebar-collapsed .sidebar .brand{padding-left:10px;padding-right:0}.sidebar-collapsed .sidebar .brand>svg{width:26px;height:26px}.sidebar-collapsed .sidebar .brand span,.sidebar-collapsed .nav-link span,.sidebar-collapsed .nav-link small,.sidebar-collapsed .book-select-wrap,.sidebar-collapsed .sidebar-note,.sidebar-collapsed .sidebar-bottom{display:none}.sidebar-collapsed .nav-link{padding:11px 15px}.sidebar-collapsed .main{margin-left:62px;width:calc(100% - 62px)}.shelf-stats{display:flex;gap:27px;margin:0 0 30px;padding-bottom:25px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.shelf-stats strong{color:var(--text);font-weight:500;margin-right:4px}.books-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.book-card{display:flex;min-height:245px;border:1px solid var(--line);border-radius:9px;background:var(--paper);overflow:hidden}.book-card:hover{border-color:var(--accent)}.book-spine{width:76px;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:25px 0;color:var(--accent);background:var(--selected);flex-shrink:0}.book-spine>span{font:26px Georgia,serif;opacity:.7}.book-spine svg{width:27px;height:27px}.book-card-body{padding:26px;min-width:0}.book-card h2{font-size:23px;margin:11px 0;overflow-wrap:anywhere}.book-card p{color:var(--muted);line-height:1.8;font-size:12px;max-height:44px;overflow:hidden}.book-numbers{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin-top:21px}.book-open{margin-top:22px;display:flex;align-items:center;gap:10px;color:var(--accent);font-size:12px}.book-open svg{width:15px;height:15px}.workflow-note{margin-top:48px;display:grid;grid-template-columns:repeat(3,1fr);gap:35px;border-top:1px solid var(--line);padding-top:25px}.step b{font:12px monospace;color:var(--accent)}.step h3{margin:12px 0 8px}.step p{font-size:12px;line-height:1.9;color:var(--muted)}.overview-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.overview-stats>div{padding:20px;border:1px solid var(--line);background:var(--paper);border-radius:7px}.overview-stats span{display:block;color:var(--muted);font-size:12px}.overview-stats strong{display:block;margin-top:13px;font-size:27px;font-weight:500}.overview-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{border:1px solid var(--line);background:var(--paper);padding:23px;border-radius:7px}.next-step{font-size:14px;line-height:1.95;color:var(--muted);margin:17px 0}.quick-links{display:flex;flex-direction:column;margin-top:14px}.quick-links a{display:flex;gap:12px;padding:11px 0;font-size:13px;border-bottom:1px solid var(--line)}.quick-links a:last-child{border-bottom:0}.quick-links a span{margin-left:auto;color:var(--muted)}.info-note{margin-top:23px;font-size:12px;line-height:1.9;color:var(--muted);padding:14px 18px;border-left:2px solid var(--accent);background:var(--paper)}.list-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:17px;gap:15px}.chapter-list{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--paper)}.chapter-table-head,.chapter-row{display:grid;grid-template-columns:minmax(170px,1fr) 110px 110px 160px;align-items:center;gap:15px;padding:16px 20px}.chapter-table-head{font-size:11px;color:var(--muted);border-bottom:1px solid var(--line);background:var(--sidebar)}.chapter-row{border-bottom:1px solid var(--line);min-height:67px}.chapter-row:last-child{border-bottom:0}.chapter-row:hover{background:var(--hover)}.chapter-name{display:flex;align-items:center;gap:16px;min-width:0}.chapter-name h3{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapter-number{font:12px monospace;color:var(--muted);flex-shrink:0}.chapter-count{font-size:12px;color:var(--muted)}.status{font-size:11px;border:1px solid var(--line);border-radius:4px;padding:4px 7px;white-space:nowrap;display:inline-flex;justify-self:start;color:var(--green)}.status.amber{color:var(--draft);background:var(--draft-bg);border-color:transparent}.pagination{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:21px;font-size:12px;color:var(--muted)}.writing-topline{display:flex;align-items:center;gap:16px;margin-top:-7px;margin-bottom:17px}.editor-size-label{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:11px}.editor-size-label select{padding:4px 7px}.editors-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;--editor-size:16px}.editor-pane{min-width:0;border:1px solid var(--line);border-radius:7px;background:var(--paper);overflow:hidden;display:flex;flex-direction:column}.editor-pane-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line);background:var(--sidebar)}.editor-pane-heading>div{display:flex;align-items:center;gap:8px;min-width:0}.editor-pane-heading h2{font-size:13px;white-space:nowrap}.editor-pane-heading .button{padding:5px 9px;min-height:29px;font-size:11px}.pane-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}.pane-dot.original{background:var(--draft)}.editor-count{font-size:10px;color:var(--muted);white-space:nowrap}.editor-hint{font-size:11px;line-height:1.8;color:var(--muted);padding:12px 16px 2px}.editor-pane>textarea{width:100%;border:0;outline:0;border-radius:0;resize:vertical;min-height:400px;height:calc(100vh - 340px);max-height:1500px;background:var(--paper);font-size:var(--editor-size,16px);line-height:1.95;padding:18px 23px;tab-size:2}.editor-pane>textarea:focus-visible{box-shadow:inset 2px 0 var(--accent)}.editor-status{border-top:1px solid var(--line);padding:8px 13px;font-size:10px;line-height:1.6;color:var(--muted);margin-top:auto;min-height:33px;overflow-wrap:anywhere}.editor-preview{min-height:400px;height:calc(100vh - 340px);overflow:auto;font-size:var(--editor-size,16px)!important;padding:18px 23px!important;margin:0!important;max-width:none!important}.mobile-pane-tabs{display:none}.context-drawer{border:1px solid var(--line);border-radius:6px;margin-top:19px;background:var(--paper)}.context-drawer summary{padding:13px 17px;font-size:13px;cursor:pointer;line-height:1.8}.context-drawer summary>svg{width:16px;height:16px;margin-right:7px}.context-drawer summary>span{color:var(--muted);font-size:11px;margin-left:16px}.context-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 17px 17px;max-height:300px;overflow:auto}.context-links a{border:1px solid var(--line);padding:10px;font-size:12px;border-radius:5px;overflow-wrap:anywhere}.context-links small{display:block;font-size:9px;margin-bottom:6px}.chapter-neighbors{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.document-filter{display:flex;justify-content:space-between;align-items:center;gap:17px;margin-bottom:22px;font-size:11px;color:var(--muted)}.search-field{display:flex;align-items:center;gap:9px}.document-filter .search-field{width:330px}.document-filter input{width:100%;background:var(--paper)}.document-filter svg{width:16px;height:16px}.docs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.doc-card{border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:21px;min-width:0}.doc-card:hover{border-color:var(--accent)}.doc-icon{color:var(--accent);display:block;margin-bottom:19px}.doc-card h3{line-height:1.6;overflow-wrap:anywhere}.doc-card p{font-size:11px;color:var(--muted);margin:9px 0 19px}.doc-open{font-size:11px;color:var(--accent)}.single-editor{max-width:980px;margin:auto}.single-editor textarea{min-height:55vh}.reader-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px}.font-controls{display:flex;align-items:center;gap:12px}.font-controls label{display:flex;gap:7px;align-items:center}.manuscript{max-width:760px;margin:0 auto;padding:15px 0;font:var(--reading-size,19px)/1.95 var(--serif);overflow-wrap:anywhere;color:var(--reading-text)}.manuscript h1{font-size:1.45em;line-height:1.5;margin:.6em 0 1.5em}.manuscript h2{font-size:1.22em;margin:1.8em 0 .9em}.manuscript h3{font-size:1.08em;margin:1.5em 0 .7em}.manuscript p,.manuscript ul,.manuscript ol{margin:0 0 1.25em}.manuscript blockquote{border-left:3px solid var(--accent);padding:.6em 1em;margin:1em 0;background:var(--quote-bg);color:var(--quote-text)}.manuscript pre{padding:1em;background:var(--code-bg);overflow:auto}.manuscript code{font-size:.86em}.manuscript .table-wrap{max-width:100%;overflow:auto;margin:1em 0}.manuscript table{border-collapse:collapse;min-width:100%;font-size:inherit}.manuscript td,.manuscript th{border:1px solid var(--line);padding:.5em .7em;white-space:normal}.manuscript th{background:var(--table-head)}.manuscript a{color:var(--accent);text-decoration:underline}.manuscript hr{border:0;border-top:1px solid var(--line);margin:2em 0}.empty{padding:55px 20px;text-align:center;color:var(--muted);grid-column:1/-1}.empty h1,.empty h2{color:var(--text);margin-bottom:14px}.empty p{line-height:1.9;font-size:13px;margin:15px 0}.initial{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.initial span{font-size:12px;color:var(--muted)}dialog{color:var(--text);background:var(--paper);border:1px solid var(--line);border-radius:9px;width:min(600px,calc(100vw - 32px));padding:25px;max-height:90dvh;overflow:auto;box-shadow:0 16px 60px #0005}dialog::backdrop{background:var(--backdrop)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:15px}.dialog-heading h2{font-size:18px}dialog form{display:flex;flex-direction:column;gap:13px}dialog input,dialog textarea{width:100%;background:var(--bg)}dialog textarea{min-height:150px}.dialog-copy{font-size:12px;line-height:1.9;color:var(--muted);margin:10px 0 20px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.conflict-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.conflict-grid textarea{margin-top:9px;font-size:12px;min-height:230px}.prompt-copy{width:100%;min-height:280px}.search-result{display:block;border-top:1px solid var(--line);padding:15px 0}.search-result h3{font-size:14px}.search-result h3 small{font-size:10px;margin-left:13px}.search-result p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:10px}.search-field input{flex:1;min-width:0}#search-results{margin-top:20px}#search-form>label{margin-bottom:13px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;max-width:calc(100vw - 32px);background:var(--text);color:var(--bg);border-radius:7px;padding:12px 20px;font-size:13px;z-index:100;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}.login-page{min-height:100vh;padding:40px;display:flex;align-items:center;justify-content:center}.login-brand{position:absolute;top:35px;left:40px;display:flex;gap:11px;align-items:center;font-size:20px}.login-brand svg{color:var(--accent)}.login-panel{width:min(420px,100%);padding:35px 0}.login-panel h1{font-size:29px;margin:13px 0 17px}.login-panel>p{font-size:13px;line-height:1.9;color:var(--muted)}.login-panel form{display:flex;flex-direction:column;gap:13px;margin-top:35px}.login-panel input{padding:14px}.login-panel .button{min-height:45px}.login-theme{position:absolute;top:30px;right:35px}
@media(min-width:1600px){.content{padding-left:50px;padding-right:50px}.editor-pane>textarea{min-height:500px}}
@media(max-width:1150px){.content{padding:28px}.chapter-table-head,.chapter-row{grid-template-columns:minmax(150px,1fr) 80px 90px 140px;gap:10px;padding-left:16px;padding-right:16px}.docs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-count{display:none}.editor-pane-heading{padding:12px}.editor-pane>textarea{padding:16px}.book-card-body{padding:21px}.book-spine{width:55px}.books-grid{gap:16px}.context-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.sidebar{width:215px;box-shadow:10px 0 30px #0005}.main{margin-left:0;width:100%}.sidebar-collapsed .sidebar{display:none}.sidebar-collapsed .main{margin-left:0;width:100%}.topbar{padding:0 18px}.content{padding:26px 23px}.books-grid{grid-template-columns:1fr}.book-card{min-height:210px}.sidebar:not(.sidebar-collapsed .sidebar){top:62px;bottom:0}.layout:not(.sidebar-collapsed) .main::after{content:'';position:fixed;inset:62px 0 0 215px;background:#0005;z-index:19;pointer-events:none}.layout:not(.sidebar-collapsed) .topbar{position:relative;z-index:21;background:var(--bg)}.editor-pane>textarea{min-height:450px}.page-footer{padding:18px 23px}.overview-layout{gap:16px}.workflow-note{gap:24px}.overview-stats>div{padding:15px}.overview-stats strong{font-size:23px}}
@media(max-width:680px){.topbar{height:56px;padding:0 12px}.top-left{gap:7px}.top-actions{gap:3px}.topbar .icon-button{width:38px;height:42px}.workspace-badge,.breadcrumb-home,.crumb-current,.top-left .slash:last-of-type{display:none}.breadcrumb-book{max-width:150px}.sidebar:not(.sidebar-collapsed .sidebar){top:56px}.layout:not(.sidebar-collapsed) .main::after{top:56px}.content{padding:23px 16px}.page-heading{align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.heading-actions{width:100%;justify-content:flex-start}.heading-actions .button{min-height:40px}.button{min-height:40px}.shelf-stats{gap:16px;flex-wrap:wrap;font-size:11px;margin-bottom:21px}.book-card{min-height:230px}.book-card h2{font-size:22px}.book-spine{width:55px}.book-card-body{padding:21px}.book-numbers{gap:10px}.workflow-note{grid-template-columns:1fr;gap:23px;margin-top:29px;padding-top:24px}.step{display:grid;grid-template-columns:25px 1fr;gap:0 12px}.step b{grid-row:1/3;padding-top:4px}.step h3{margin:0 0 7px}.step p{grid-column:2}.list-toolbar{align-items:flex-start;font-size:11px;line-height:1.8}.list-toolbar>a{font-size:11px;flex-shrink:0}.chapter-table-head{display:none}.chapter-row{grid-template-columns:1fr auto;gap:9px;padding:16px}.chapter-name{grid-column:1/-1;gap:12px}.chapter-name h3{font-size:14px}.chapter-count{font-size:11px;padding-left:28px}.chapter-row .chapter-count:nth-of-type(2){display:none}.chapter-row .status{grid-column:2;grid-row:2}.chapter-row .chapter-count::before{content:'正式稿 ';color:var(--muted)}.chapter-row .chapter-count:first-of-type::before{content:'原始章 '}.mobile-pane-tabs{display:flex;border:1px solid var(--line);border-bottom:0;border-radius:7px 7px 0 0;overflow:hidden;margin-top:13px;background:var(--sidebar)}.mobile-pane-tabs button{flex:1;min-height:44px;font-size:13px;border-bottom:2px solid transparent;color:var(--muted)}.mobile-pane-tabs button.active{border-bottom-color:var(--accent);color:var(--text);background:var(--paper)}.editors-grid{display:block}.editor-pane{border-radius:0 0 7px 7px}.mobile-original [data-pane="formal"],.mobile-formal [data-pane="original"]{display:none}.editor-pane-heading{padding:12px 13px}.editor-pane-heading .button{min-height:39px;padding-left:13px;padding-right:13px}.editor-pane-heading h2{font-size:13px}.editor-pane>textarea{min-height:360px;height:calc(100dvh - 335px);font-size:var(--editor-size,16px);line-height:1.95;padding:17px}.editor-hint{font-size:11px;padding:13px 16px 0}.editor-status{font-size:10px;padding:10px 13px}.writing-topline{gap:9px;flex-wrap:wrap;margin-bottom:12px}.writing-topline .status{font-size:10px}.editor-size-label{font-size:10px}.editor-size-label select{min-height:32px}.context-drawer summary{font-size:12px}.context-drawer summary>span{display:none}.context-links{grid-template-columns:1fr}.chapter-neighbors .button,.chapter-neighbors .text-link{font-size:11px}.overview-stats{grid-template-columns:repeat(2,1fr);gap:12px}.overview-layout{grid-template-columns:1fr}.panel{padding:19px}.docs-grid{grid-template-columns:1fr 1fr;gap:11px}.doc-card{padding:16px}.doc-card h3{font-size:13px}.doc-icon{margin-bottom:15px}.document-filter{gap:12px}.document-filter .search-field{width:auto;flex:1}.document-filter>span{white-space:nowrap;font-size:10px}.document-filter input{width:100%;font-size:16px;padding:11px}.single-editor textarea{min-height:58dvh}.single-editor .editor-pane{border-radius:7px}.reader-toolbar{flex-wrap:wrap}.font-controls .button{min-height:40px}.manuscript{padding:10px 4px;font-size:var(--reading-size,19px)}.manuscript h1{font-size:1.3em}.manuscript .table-wrap{width:100%}.manuscript th,.manuscript td{min-width:5em}.page-footer{padding:18px 16px;font-size:9px}dialog{padding:20px;width:calc(100vw - 24px)}dialog input,dialog textarea{font-size:16px}.conflict-grid{grid-template-columns:1fr}.conflict-grid textarea{min-height:150px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1}.login-page{padding:24px}.login-brand{top:25px;left:24px}.login-theme{top:19px;right:20px}.login-panel h1{font-size:25px}.login-panel input{font-size:16px}.search-field{flex-wrap:wrap}.search-field input{font-size:16px}.search-field .button{min-height:42px}#toast{bottom:max(20px,env(safe-area-inset-bottom));font-size:12px}.main{padding-bottom:env(safe-area-inset-bottom)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.sidebar-scrim{display:none}
@media(max-width:900px){.layout:not(.sidebar-collapsed) .main::after{display:none}.layout:not(.sidebar-collapsed) .sidebar-scrim{display:block;position:fixed;inset:62px 0 0 215px;z-index:19;background:#0005;cursor:default}}
@media(max-width:680px){.layout:not(.sidebar-collapsed) .sidebar-scrim{top:56px}}

#work-dialog:has(.history-layout){width:min(960px,calc(100vw - 24px))}.history-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px}.history-versions{max-height:340px;overflow:auto;display:flex;flex-direction:column;gap:7px}.history-item{padding:11px 12px;border:1px solid var(--line);border-radius:5px;text-align:left;background:var(--bg);min-height:55px}.history-item strong{font-size:12px;font-weight:500;display:block}.history-item span{display:block;font-size:10px;color:var(--muted);margin-top:6px}.history-item.selected{border-color:var(--accent);background:var(--selected)}.history-preview textarea{width:100%;height:290px;resize:vertical;margin-top:9px;font-family:inherit;font-size:14px;line-height:1.85}.history-preview p{font-size:11px;line-height:1.8;min-height:24px;margin-top:8px}.history-pagination{display:flex;justify-content:center;align-items:center;gap:13px;margin-top:18px}.history-pagination>span{font-size:11px;color:var(--muted)}
@media(max-width:680px){.history-layout{grid-template-columns:1fr}.history-versions{max-height:145px}.history-preview textarea{height:210px;min-height:150px;font-size:16px}.editor-pane-heading>div{gap:5px}.editor-pane-heading .button{padding-left:9px;padding-right:9px}}

/* People, faction folders and private reference portraits */
.characters-workbench{min-width:0}.people-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px;flex-wrap:wrap}.view-switch{display:flex;border:1px solid var(--line);border-radius:7px;padding:4px;background:var(--sidebar)}.view-switch button{padding:10px 14px;border-radius:5px;font-size:12px;color:var(--muted);min-height:40px}.view-switch button.active{background:var(--selected);color:var(--text)}.people-toolbar .search-field{min-width:220px;max-width:360px}.people-folder-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px}.folder-tree{align-self:start;border:1px solid var(--line);border-radius:8px;padding:13px;background:var(--paper)}.folder-tree>button{width:100%;display:flex;justify-content:space-between;text-align:left;min-height:42px;padding:10px;font-size:13px;border-radius:5px}.folder-tree button.active{color:var(--accent);background:var(--selected)}.folder-row{display:flex;align-items:center;min-width:0}.folder-row>button:first-child{display:flex;flex:1;gap:8px;align-items:center;text-align:left;min-height:42px;border-radius:5px;padding:8px;font-size:12px;min-width:0}.folder-row span{overflow-wrap:anywhere}.folder-row svg{width:15px;height:15px;flex-shrink:0}.folder-row.depth-1{padding-left:12px}.folder-row.depth-2{padding-left:24px}.folder-row.depth-3{padding-left:36px}.folder-row .folder-edit{width:30px;flex-shrink:0}.folder-tree>p{line-height:1.8;font-size:11px;margin:14px 8px 2px}.people-count{font-size:12px;color:var(--muted);margin-bottom:15px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:15px}.person-card{border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:20px;min-width:0}.person-card>a{display:flex;gap:16px;align-items:center;min-width:0}.person-card>a>div{min-width:0}.person-card h2{font-size:16px;margin-bottom:9px;overflow-wrap:anywhere}.person-card p{font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.person-card small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.person-card .person-bind{display:block;margin-top:20px;font-size:12px;min-height:32px}.person-avatar{width:66px;height:78px;flex:0 0 66px;display:flex;align-items:center;justify-content:center;background:var(--selected);border-radius:7px;color:var(--accent);position:relative;overflow:hidden;font-family:var(--serif);font-size:20px}.person-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.character-profile{border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:22px;margin-bottom:22px}.profile-summary{display:flex;gap:22px;align-items:flex-start}.profile-summary>.person-avatar{width:110px;height:138px;flex-basis:110px}.profile-controls{flex:1;min-width:0}.profile-controls>strong{font-size:17px}.profile-controls>label{display:flex;align-items:center;gap:12px;font-size:12px;margin:14px 0}.profile-controls select{max-width:320px;min-width:120px;min-height:39px}.profile-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.profile-actions .text-link{font-size:12px}.profile-controls>small{font-size:11px;line-height:1.8}.upload-portrait{position:relative;cursor:pointer;overflow:hidden}.upload-portrait input{position:absolute;inset:0;opacity:0;cursor:pointer;max-width:100%}.profile-relations{margin-top:20px;border-top:1px solid var(--line)}.relation-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0;align-items:flex-start}.relation-row>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;min-width:0}.relation-row a{color:var(--accent);overflow-wrap:anywhere}.relation-label{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.relation-row p{flex-basis:100%;font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.empty-relations{font-size:12px;line-height:1.9;padding-top:15px}.relation-graph{border:1px solid var(--line);border-radius:8px;background:var(--paper);max-width:100%;overflow:auto;margin-bottom:20px}.relation-graph svg{display:block;min-width:700px;width:100%;max-height:570px}.graph-edges line{stroke:var(--line);stroke-width:1.5}.graph-edges text{fill:var(--muted);font-size:11px;text-anchor:middle;paint-order:stroke;stroke:var(--paper);stroke-width:5px;stroke-linejoin:round}.graph-nodes rect{fill:var(--selected);stroke:var(--line)}.graph-nodes text{fill:var(--text);font-size:12px;text-anchor:middle}.graph-nodes a:hover rect{stroke:var(--accent)}#relation-note{min-height:80px}.preparation-card{margin-top:25px;border:1px solid var(--line);border-radius:8px;padding:22px;background:var(--paper)}.preparation-card h2{font-size:16px}.preparation-card>p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:10px}.preparation-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.preparation-item{background:var(--bg);padding:15px;border-radius:6px;font-size:12px}.preparation-item strong{display:block;margin-bottom:9px}.preparation-item span{display:block;color:var(--muted);line-height:1.8}.preflight-note{border:1px solid var(--line);border-radius:7px;background:var(--paper);padding:15px 18px;font-size:12px;line-height:1.9;margin-bottom:18px}.preflight-note strong{display:block;color:var(--accent)}.preflight-note a{color:var(--accent)}.preparation-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:1150px){.people-folder-layout{grid-template-columns:195px minmax(0,1fr)}.people-grid{grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}.preparation-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.people-toolbar{gap:14px}.view-switch{width:100%}.view-switch button{flex:1;padding:9px 7px;font-size:12px;min-height:42px}.people-toolbar .search-field{max-width:none;width:100%;min-width:0}.people-toolbar input{font-size:16px;min-height:44px;min-width:0}.people-folder-layout{grid-template-columns:1fr;gap:18px}.folder-tree{max-height:260px;overflow:auto}.people-grid{grid-template-columns:1fr}.person-card{padding:17px}.person-card>a{gap:15px}.profile-summary{gap:15px;flex-wrap:wrap}.profile-summary>.person-avatar{width:82px;flex-basis:82px;height:108px}.character-profile{padding:17px}.profile-controls{min-width:160px}.profile-controls>label{align-items:flex-start;flex-direction:column;gap:8px}.profile-controls select{max-width:100%;width:100%;font-size:16px;min-height:42px}.profile-actions .button{font-size:12px;min-height:42px;padding:9px 12px}.profile-controls>small{display:block}.relation-row>div{font-size:12px;gap:8px}.relation-row .icon-button{flex-shrink:0}.preparation-card{padding:18px}.preparation-items{grid-template-columns:1fr}.preflight-note{padding:13px 15px}dialog select{width:100%;min-height:44px;font-size:16px}.relation-graph svg{min-width:700px}}


.relation-graph svg{height:auto;min-height:360px}

.heading-actions{flex-wrap:wrap}
.payoffs-panel{margin-top:24px}
.payoffs-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.payoffs-header h2{scroll-margin-top:72px}
.payoffs-header p,.payoffs-hint{color:var(--muted)}
.payoffs-header p{max-width:62ch;margin:6px 0 0}
.payoffs-list{margin-top:14px}
.payoff-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:10px 0}
.payoff-row details{flex:1;min-width:0}
.payoff-row summary{cursor:pointer;font-weight:600;padding:6px 0;overflow-wrap:anywhere}
.payoff-row .button{flex-shrink:0}
.payoff-body{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
#work-dialog .payoff-input{min-height:12rem;resize:vertical}

/* Privacy mode is a compact workspace, using the existing editors and routes. */
.privacy-only, .privacy-enter, .privacy-location, .privacy-toolbar-only { display:none; }
html[data-content-focus="true"]:not([data-privacy-mode="true"]) .privacy-enter { display:inline-flex; align-items:center; }
html[data-privacy-mode="true"] .privacy-only { display:revert; }
html[data-privacy-mode="true"] :is(.normal-only, .sidebar, .sidebar-scrim, .topbar, .page-footer, .login-brand, .login-theme, .login-panel > .eyebrow, .login-panel > p),
html[data-privacy-mode="true"] [data-view-action="focus"] { display:none; }
html[data-privacy-mode="true"] .layout .main { margin-left:0; width:100%; }
html[data-privacy-mode="true"] .content { max-width:none; padding:8px 12px; }
html[data-privacy-mode="true"] .content-view-toolbar { display:flex; justify-content:flex-start; gap:8px 14px; padding:4px 0; z-index:45; }
html[data-privacy-mode="true"] .view-mode-button { border-radius:4px; background:transparent; color:var(--text); }
html[data-privacy-mode="true"] .view-mode-button:hover { background:var(--hover); }
html[data-privacy-mode="true"] .content-view-controls { flex-wrap:wrap; }
html[data-privacy-mode="true"] .privacy-location { display:flex; align-items:center; gap:14px; font-size:12px; }
.privacy-location > strong, .file-alias, .privacy-files { font-family:Consolas, 'Cascadia Code', 'Microsoft YaHei', monospace; }
.privacy-location > strong { font-weight:500; color:var(--muted); }
.privacy-nav { position:relative; }
.privacy-nav summary { cursor:pointer; color:var(--text); padding:8px 4px; }
.privacy-nav nav { position:absolute; left:0; top:100%; min-width:125px; border:1px solid var(--line); background:var(--paper); border-radius:4px; box-shadow:0 6px 18px var(--shadow); }
.privacy-nav a { display:block; padding:9px 12px; white-space:nowrap; }
.privacy-nav a:hover { background:var(--hover); }
html[data-privacy-mode="true"] .content[data-privacy-surface="list"] > :not(.content-view-toolbar,.books-grid,.chapter-list,.pagination,.docs-grid,.document-filter,.privacy-files),
html[data-privacy-mode="true"] .content[data-privacy-surface="other"] > :not(.content-view-toolbar,.privacy-placeholder) { display:none; }
.privacy-placeholder { color:var(--muted); padding:18px 0; }
html[data-privacy-mode="true"] :is(.books-grid,.docs-grid,.privacy-files) { display:grid; grid-template-columns:minmax(0,1fr); gap:0; max-width:850px; }
html[data-privacy-mode="true"] :is(.book-card,.doc-card,.chapter-row,.privacy-files > a) { display:flex; min-height:0; align-items:center; gap:12px; padding:10px 12px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
html[data-privacy-mode="true"] :is(.book-card,.doc-card,.chapter-row,.privacy-files > a):hover { transform:none; background:var(--hover); }
html[data-privacy-mode="true"] :is(.book-spine,.book-card-body,.doc-icon,.doc-open,.doc-card > p,.chapter-table-head,.chapter-name > h3,.chapter-number,.chapter-row > .status,.chapter-row > .chapter-count) { display:none; }
html[data-privacy-mode="true"] .doc-card[hidden] { display:none; }
html[data-privacy-mode="true"] .chapter-list { max-width:850px; border-radius:4px; background:transparent; }
html[data-privacy-mode="true"] .chapter-list .empty { font-size:12px; color:var(--muted); }
html[data-privacy-mode="true"] .editor-pane { border-radius:4px; }
html[data-privacy-mode="true"] .editor-pane-heading { justify-content:space-between; }
html[data-privacy-mode="true"] .editor-pane-heading > div:first-child { display:flex !important; }
html[data-privacy-mode="true"] .editor-pane-heading h2 { font-size:12px; font-weight:500; }
html[data-privacy-mode="true"] .editor-pane > textarea,
html[data-privacy-mode="true"] .manuscript { font-family:Consolas, 'Cascadia Code', 'Microsoft YaHei', monospace; line-height:1.75; }
html[data-privacy-mode="true"] .manuscript :is(h1,h2,h3,h4,h5,h6) { font-family:inherit; font-size:1em; }
html[data-privacy-mode="true"] .reader-toolbar .font-controls { display:flex; }
html[data-privacy-mode="true"] .reader-catalog-hint { display:none; }
html[data-privacy-mode="true"] .reader-catalog { z-index:42; }
html[data-privacy-covered="true"] .content > :not(.content-view-toolbar),
html[data-privacy-covered="true"] :is(.reader-toolbar-start,.reader-toolbar .font-controls,#toast) { visibility:hidden; }
@media(max-width:680px) {
  html[data-privacy-mode="true"] .content { padding:6px 8px; }
  html[data-privacy-mode="true"] .content-view-toolbar { gap:4px 8px; }
  html[data-privacy-mode="true"] .content-view-controls { margin-left:0; }
  html[data-privacy-mode="true"] [data-view-action="fullscreen"] { display:none; }
  html[data-privacy-mode="true"] .editor-pane-heading .editor-count { display:none; }
}

/* Keep the chapter catalogue open until the reader explicitly returns. */
.reader-toolbar{position:sticky;top:0;z-index:12;background:var(--bg);padding:12px 0;gap:14px;flex-wrap:wrap}
.reader-toolbar-start{display:flex;align-items:center;gap:16px}
.reader-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.reader-layout.catalog-open{grid-template-columns:minmax(0,1fr) 290px}
.reader-body{min-width:0}.reader-chapter-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:790px;margin:0 auto 18px}
.reader-chapter-nav:last-child{margin-top:24px}.reader-chapter-nav>span:not(.button){color:var(--muted);font-size:12px}.reader-chapter-nav>[aria-disabled]{opacity:.4;cursor:default}
.reader-catalog{position:sticky;top:80px;display:flex;flex-direction:column;max-height:calc(100dvh - 210px);min-height:240px;border:1px solid var(--line);border-radius:8px;background:var(--paper);overflow:hidden}
.reader-catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 16px 12px}
.reader-catalog-heading h2{font-size:16px}.reader-catalog-heading small{display:block;font-size:11px;margin-top:6px}
.reader-catalog-search{padding:0 16px;font-size:12px}.reader-catalog-search input{display:block;width:100%;margin-top:7px;font-size:14px}
.reader-catalog-hint{font-size:11px;line-height:1.7;color:var(--muted);padding:10px 16px}
.reader-chapter-list{overflow:auto;overscroll-behavior:contain;padding:0 8px 10px;scrollbar-gutter:stable;min-height:0}
.reader-chapter-item{display:block;padding:12px 11px;border-radius:5px;border:1px solid transparent;margin-bottom:3px;overflow-wrap:anywhere;font-size:13px;line-height:1.7}
.reader-chapter-item small{display:block;font-size:11px;margin-top:4px}.reader-chapter-item:hover{background:var(--hover)}.reader-chapter-item.selected{background:var(--selected);color:var(--accent);border-color:var(--line)}
.reader-catalog-empty{padding:18px 10px;font-size:13px;line-height:1.8;color:var(--muted)}
@media(max-width:1150px){.reader-layout.catalog-open{grid-template-columns:minmax(0,1fr)}.reader-catalog{position:fixed;top:82px;right:20px;bottom:20px;width:320px;max-width:calc(100vw - 40px);max-height:none;z-index:25;box-shadow:0 10px 40px #0005}.reader-chapter-list{flex:1}}
@media(max-width:680px){.reader-toolbar{top:0;gap:10px;padding:9px 0}.reader-toolbar-start{gap:12px}.reader-toolbar .font-controls{gap:10px}.reader-toolbar .button{min-height:42px;padding:9px 10px}.reader-toolbar .text-link{font-size:12px}.reader-catalog{inset:70px 12px 12px;width:auto;max-width:none}.reader-catalog-heading{padding:16px}.reader-catalog-heading .button{min-height:44px}.reader-catalog-search input{font-size:16px;min-height:44px}.reader-chapter-item{padding:13px 12px;min-height:60px}.reader-chapter-nav{gap:8px}.reader-chapter-nav .button{font-size:12px;padding:9px 10px;min-height:42px}}
