@charset "UTF-8";
.first-reader #variant-changes-banner,.first-reader #compare-variants,.first-reader #tab-diff,.first-reader .mobile-notes{display:none}
.workbench-nav{display:flex;align-items:center;gap:10px;margin:6px 13px;padding:12px 11px;border-radius:5px;font-size:12px;color:#75806e;text-align:left}.workbench-nav span{font-size:11px}.workbench-nav.active{background:var(--green-soft);color:var(--green);font-weight:550}.reader-workflow>div{display:flex;flex-wrap:wrap;gap:5px}
.wb-hero-seal .badge-art,.wb-empty .badge-art{width:65px;height:73px}.wb-empty .badge-art{margin:auto}
.wb-story-grid{display:grid;gap:24px}.wb-story-thread{border:1px solid var(--line);border-radius:9px;padding:25px;background:var(--panel)}.wb-story-thread>header{display:flex;gap:17px;align-items:center}.wb-story-thread h3{margin:7px 0}.wb-story-thread header small{font-size:9px;letter-spacing:1px;color:#988560}.wb-story-thread .badge-art{width:43px;height:49px;padding:6px}.wb-evidence-path{list-style:none;margin:24px 0 0;padding:0}.wb-evidence-path>li{display:flex;gap:18px;position:relative;padding:0 0 28px}.wb-evidence-path>li:last-child{padding-bottom:0}.wb-evidence-path>li:not(:last-child)::before{content:'';position:absolute;left:13px;top:28px;bottom:0;width:1px;background:#d5cdb7}.wb-evidence-node{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border:1px solid #cbbb91;border-radius:50%;font:13px Georgia,serif;color:#9d8551}.wb-evidence-node.checked{background:#e3eadb;border-color:#a7b898;color:#617956}.wb-evidence-path>li>div{flex:1;min-width:0}.wb-evidence-path small{font-size:10px;color:#8c8e7a}.wb-evidence-path p{font-size:12px;line-height:1.8;white-space:pre-wrap}.wb-evidence-path blockquote{font:16px/1.8 Georgia,serif;max-height:180px;overflow:auto}
.workbench-view{grid-column:2/4;overflow:auto;padding:36px clamp(24px,4vw,70px) 70px;background:var(--paper);scrollbar-width:thin;min-width:0}
.wb-hero{display:flex;justify-content:space-between;gap:30px;border-bottom:1px solid var(--line);padding-bottom:28px}.wb-hero h1{font:normal clamp(30px,3.2vw,43px)/1.15 Georgia,serif;margin:17px 0}.wb-hero p{color:#7a806f;font-size:12px;line-height:1.9;max-width:620px}.wb-hero-seal{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:120px}.wb-hero-seal .badge{width:65px;height:65px}.wb-hero-seal small{text-align:center;font-size:8px;letter-spacing:1.6px;line-height:1.8;color:#92836a}
.wb-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:22px 0;border-bottom:1px solid var(--line);margin-bottom:30px}.wb-tabs button{font-size:11px;padding:10px 13px;border-radius:5px;color:#73816c}.wb-tabs button[aria-current=page]{background:var(--green);color:#fff}.wb-tabs b{margin-left:5px;font-size:10px;opacity:.65}.wb-tabs>button:last-child{margin-left:auto;font-size:18px;line-height:12px}
.wb-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.wb-heading h2{font:normal 27px/1.2 Georgia,serif;margin:9px 0 10px}.wb-heading p{max-width:720px;font-size:12px;line-height:1.85;color:#858b7d;margin:0}.wb-heading>.button{white-space:normal;text-align:center;flex-shrink:0;max-width:225px}.wb-heading .wb-actions{max-width:350px;justify-content:flex-end}
.wb-content h3{font:normal 22px/1.3 Georgia,serif}.wb-content label,.wb-dialog label{display:grid;gap:7px;font-size:11px;color:#6d7767}.wb-content label input,.wb-content label select,.wb-dialog label input,.wb-dialog label select{width:100%}.wb-content input[type=checkbox],.wb-dialog input[type=checkbox],.wb-dialog input[type=radio]{width:16px;height:16px;accent-color:var(--green);margin:3px 0;flex-shrink:0}
.wb-empty{text-align:center;max-width:540px;margin:45px auto;padding:25px;color:#7d8875}.wb-empty .badge{width:64px;height:64px}.wb-empty h3{font:normal 24px Georgia,serif;margin:22px 0 12px}.wb-empty p{font-size:12px;line-height:1.9}.wb-inbox{display:grid;gap:12px}.wb-inbox-card{display:flex;align-items:center;gap:20px;padding:23px;background:var(--panel);border:1px solid var(--line);border-radius:9px}.wb-chapter-number{font:26px Georgia,serif;color:#aa9569;border-right:1px solid #d9d8c8;padding-right:20px}.wb-inbox-card h3{margin:0 0 8px}.wb-inbox-card p{font-size:10px;color:#858b7b}.wb-inbox-card small{color:#8d794f;font-size:10px}.wb-inbox-card>.button{margin-left:auto;font-size:11px}
.reader-workflow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;max-width:730px;margin:23px auto 0;border-top:1px solid var(--line);padding-top:16px}.reader-workflow label{display:flex;gap:6px;align-items:center;font-size:10px;color:#65755d}.reader-workflow input{width:14px;height:14px;accent-color:var(--green)}.reader-workflow button{font-size:10px;padding:7px;border:1px solid #e5e5da;border-radius:4px;color:#7d866f}.reader-workflow small{flex-basis:100%;font-size:9px;color:#929683;line-height:1.6;margin-top:2px}.first-reader .notes-panel{visibility:hidden}.first-reader .reading-view{grid-column:2/4}.first-reader .notes-panel{display:none}.first-reader .paragraph-note,.first-reader .paragraph-number{display:none}.first-reader #compare-variant,.first-reader #edition-changes{display:none}.first-reader .reader-hint{display:none}.first-reader .prose{margin-top:35px}
#selection-toolbar{max-width:calc(100vw - 24px);flex-wrap:wrap;gap:2px;justify-content:center}#selection-toolbar button{font-size:10px;padding:8px}
.wb-dialog{width:min(700px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #dfddcb;border-radius:12px;padding:35px;background:var(--paper);color:var(--ink);box-shadow:0 30px 120px #17251d44}.wb-dialog::backdrop{background:#1c2a2399;backdrop-filter:blur(3px)}.wb-dialog.wb-wide{width:min(1060px,calc(100vw - 32px))}.wb-dialog .close-dialog{position:absolute;right:13px;top:12px}.wb-dialog h2{font:normal 29px/1.25 Georgia,serif;margin:12px 30px 18px 0}.wb-dialog h3{font:normal 22px Georgia,serif}.wb-dialog form{display:grid;gap:17px}.wb-dialog form>.button{justify-self:start}.wb-dialog details{margin:15px 0}.wb-dialog summary,.wb-content summary{cursor:pointer;font-size:12px;color:#6b795f;line-height:1.7}.wb-dialog pre,.wb-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.85 Georgia,serif}.wb-hint{color:#8a8d7e;font-size:11px;line-height:1.8}.wb-dialog blockquote{max-height:220px;overflow:auto;font:16px/1.8 Georgia,serif}.wb-dialog>label{margin:20px 0 14px}#candidate-raw{font:16px/1.8 Georgia,serif;min-height:240px}#fragment-replacement{font:17px/1.85 Georgia,serif}#task-command{font-size:12px;line-height:1.8;background:#f7f5ec}
.wb-pair{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #e5dfcf;border-radius:7px;overflow:hidden;margin:17px 0}.wb-pair>div{padding:18px 20px;min-width:0;background:#faf5ec}.wb-pair>div+div{border-left:1px solid #e0dfcf;background:#f0f4ec}.wb-pair small{font-size:9px;letter-spacing:1.2px;color:#978366}.wb-pair>div+div small{color:#6e8965}.wb-pair pre{margin:14px 0 0}.wb-context{background:#f7f6ef;padding:12px;border-radius:5px;color:#858875}.wb-context pre{font-size:14px}.wb-review-counter{display:flex;justify-content:space-between;align-items:center;font-size:10px;gap:10px;padding:16px 0}.wb-review-counter span{color:#92876b;white-space:nowrap}.wb-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wb-actions>button:not(.button){font-size:11px;color:#6c7d5f;padding:9px}.wb-footer{display:flex;gap:10px;justify-content:space-between;border-top:1px solid var(--line);margin-top:25px;padding-top:20px;flex-wrap:wrap}.wb-warning{padding:12px 15px;background:#f7edda;border:1px solid #ead8b8;border-radius:5px;color:#8d6a3d;font-size:11px;line-height:1.8}.wb-note-label textarea{font-size:12px;background:var(--paper)}
.wb-create{border:1px solid var(--line);border-radius:7px;padding:16px 20px;margin-bottom:23px;background:var(--panel)}.wb-create-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) auto;gap:15px;align-items:end;margin-top:18px}.wb-selection-controls{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:15px}.wb-candidate-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:18px 0 25px}.wb-candidate-tools>span{font-size:10px;color:#8b8e7c;flex:1;min-width:230px;line-height:1.7}.wb-candidate-tools button{font-size:10px}.wb-hunk{border:1px solid var(--line);border-radius:9px;margin:20px 0;padding:22px;background:#fffefa}.wb-hunk.conflict{border-color:#d7bc8e}.wb-hunk>header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.wb-hunk>header span{font-size:10px;color:#91815f}.wb-hunk .wb-actions{margin-top:15px}.wb-history{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}.wb-history p{font-size:11px;line-height:1.8;color:#7b836f;padding:12px 0;border-bottom:1px solid var(--line)}
.wb-story-list,.wb-discussions,.wb-task-list{display:grid;gap:20px}.wb-thread,.wb-discussion,.wb-task{border:1px solid var(--line);border-radius:9px;padding:25px;background:var(--panel)}.wb-thread>header{display:flex;gap:15px;justify-content:space-between;align-items:center}.wb-thread h3{margin:8px 0}.wb-thread>header small,.wb-task-kind{font-size:9px;letter-spacing:1.3px;color:#a08a5e}.wb-evidence{border-left:2px solid #d9d5bb;padding:6px 0 12px 20px;margin:22px 0 0 5px;position:relative}.wb-evidence::before{content:'';position:absolute;left:-5px;top:10px;width:8px;height:8px;background:#af9862;border:2px solid var(--panel);border-radius:50%}.wb-evidence p{white-space:pre-wrap;font-size:12px;line-height:1.8;color:#717c64}.wb-evidence small{font-size:10px;color:#8a8e7b}.wb-evidence blockquote{font:16px/1.8 Georgia,serif;max-height:170px;overflow:auto}.wb-evidence .wb-actions button{font-size:10px}.wb-evidence.stale{border-color:#c79e68}
.wb-reaction-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;border:0;padding:0;margin:0}.wb-reaction-choices label{display:flex;gap:6px;align-items:center;padding:11px 8px;border:1px solid var(--line);border-radius:6px;background:var(--panel)}.wb-reaction-choices label:has(input:checked){border-color:#8da17d;background:var(--green-soft)}.wb-reaction-results{margin-top:25px;border-top:1px solid var(--line);padding-top:15px}.wb-reaction-results p{font-size:12px;line-height:1.8;white-space:pre-wrap}.wb-locked{padding:20px;background:#eeeee5;border-radius:7px;color:#8b907d;line-height:1.8;font-size:12px}
.wb-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.wb-suggestions button{padding:10px 14px;background:#f0eee2;border:1px solid #dedbc5;border-radius:5px;font-size:11px;text-align:left;line-height:1.6}.wb-discussion-form{border:1px solid var(--line);padding:24px;border-radius:9px;display:grid;gap:17px;margin-bottom:25px}.wb-discussion-form h3{margin:0}.wb-discussion-form>.button{justify-self:start}.wb-comment-options{max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:5px;background:#f9f8f2}.wb-comment-options label{display:flex!important;gap:12px!important;padding:13px;border-bottom:1px solid #e6e4d9;font-size:11px;line-height:1.7;align-items:flex-start}.wb-comment-options label:last-child{border-bottom:0}.wb-comment-options label>span{min-width:0;display:grid;gap:4px;overflow-wrap:anywhere}.wb-comment-options label:has(input:checked){background:#e9eee1}.wb-comment-options q{display:block;font:14px/1.7 Georgia,serif;color:#938267;max-height:75px;overflow:auto}.wb-comment-options>p{padding:15px;color:#969984}.wb-discussion h3,.wb-task h3{margin:12px 0}.wb-discussion p{white-space:pre-wrap;line-height:1.9;font-size:12px}.wb-discussion small,.wb-task small{font-size:10px;color:#8b907f}.wb-discussion details{margin:18px 0}.wb-task p{font-size:12px;color:#6d7b61}.wb-task>.button{display:block;margin-top:20px}.wb-task-list{grid-template-columns:repeat(2,minmax(0,1fr))}.wb-source-list{font-size:12px;line-height:1.8;background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:8px 17px}.wb-report{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.wb-report pre{font:15px/1.9 Georgia,serif}
.wb-diary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.wb-diary-entry{border:1px solid #dbd6c5;border-radius:10px;overflow:hidden;background:#f5f1e5;box-shadow:0 5px 20px #5a493709}.wb-diary-entry img{width:100%;height:190px;object-fit:cover;display:block;filter:saturate(.75)}.wb-diary-entry>div{padding:24px}.wb-diary-entry small{font-size:9px;letter-spacing:1px;color:#a08b63}.wb-diary-entry h3{margin:12px 0}.wb-diary-entry p{font:16px/1.8 Georgia,serif;color:#88816a}.wb-diary-entry button{font-size:11px;color:#657457;padding:7px 0}.wb-recovery{padding:20px;border:1px dashed #c8b88f;margin-top:25px;border-radius:7px}.wb-recovery p{font-size:12px;color:#85856f}#reference-dialog pre{font-size:13px}#reference-dialog details{padding:15px;background:var(--panel);border-radius:6px}
@media(max-width:1150px){.wb-heading{align-items:flex-start;flex-direction:column}.wb-heading .wb-actions{max-width:100%;justify-content:flex-start}.wb-inbox-card{flex-wrap:wrap}.wb-inbox-card>.button{margin-left:56px}.wb-selection-controls{grid-template-columns:1fr 1fr}.wb-selection-controls>label:last-child{grid-column:1/-1}.wb-create-row{grid-template-columns:1fr 1fr}.wb-create-row>button{justify-self:start}.wb-task-list{grid-template-columns:1fr}.wb-diary-entry img{height:150px}}
@media(max-width:800px){.workbench-view{grid-column:1/-1;padding:25px 20px 70px}.wb-hero-seal{display:none}.wb-hero h1{font-size:32px}.wb-tabs{gap:2px}.wb-tabs button{font-size:10px;padding:9px 10px}.wb-dialog{padding:28px 20px}.wb-dialog h2{font-size:25px}.wb-pair{grid-template-columns:1fr}.wb-pair>div+div{border-left:0;border-top:1px solid #e0dfcf}.wb-reaction-choices{grid-template-columns:repeat(2,1fr)}.wb-diary{grid-template-columns:1fr}.wb-diary-entry img{height:210px}.first-reader .reading-view{grid-column:1/-1}}
@media(max-width:480px){.wb-selection-controls,.wb-create-row{grid-template-columns:1fr}.wb-inbox-card{padding:18px;gap:12px}.wb-inbox-card h3{font-size:20px}.wb-inbox-card>.button{margin-left:0;width:100%}.wb-chapter-number{padding-right:12px}.wb-hunk{padding:16px}.wb-hunk>header{align-items:flex-start;flex-direction:column}.wb-pair>div{padding:15px}.wb-actions .button{font-size:10px;padding:9px}.wb-review-counter{font-size:9px}.wb-review-counter button{font-size:10px}.wb-discussion-form{padding:17px}.wb-hero .eyebrow{font-size:9px}.reader-workflow{gap:7px}.reader-workflow button{font-size:9px}.wb-thread,.wb-discussion,.wb-task{padding:18px}}

@media(max-width:970px){.workbench-view,.first-reader .reading-view{grid-column:1/-1}}
@media(max-width:680px){.workbench-view{height:calc(100dvh - 61px)}}

/* Editorial workspace, 17 October 2026: readable notes and compact navigation. */
:root { --muted:#626c5c; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline:2px solid #806127; outline-offset:3px; }
summary { cursor:pointer; }
.pill { color:#58614f; font-size:12px; }
.connection,.sidebar-footer,.sidebar-footer small,.toc-heading .muted { color:#626c5c; font-size:12px; }
.sidebar-intro { display:grid; grid-template-columns:46px 1fr; gap:5px 12px; padding:18px 18px 14px; align-items:center; }
.sidebar-intro>.eyebrow { display:none; }
.sidebar-intro h2 { grid-column:2; grid-row:1; font:17px/1.25 Georgia,serif; margin:0; }
.sidebar-intro .book-cover-link { grid-column:1; grid-row:1/3; width:46px; margin:0; }
.sidebar-intro .muted { grid-column:2; font-size:11px; line-height:1.5; }
.global-nav { padding:0 10px 6px; border:0; }
.global-nav button { padding:10px; min-height:40px; color:#52624c; }
.global-nav button span,.workbench-nav span { font-size:12px; }
.workbench-nav { margin:0 10px 4px; padding:10px; color:#52624c; }
.journey-mini { margin:4px 18px; padding:9px 0; gap:9px; }
.journey-mini .badge-art { width:27px; height:32px; padding:3px; }
.journey-mini small { font-size:10px; color:#6b572f; letter-spacing:.25px; }
.journey-mini strong { font-size:12px; margin:4px 0; }
.toc-heading { padding:12px 20px 9px; }
.chapter-list { padding:0 10px 12px; }
.chapter-item { padding:9px 10px; gap:9px; }
.chapter-item strong { font-size:13px; line-height:1.35; }
.chapter-item small { display:none; }
.chapter-item.active small { display:block; font-size:11px; }
.chapter-item .number { font-size:12px; color:#64705a; }
.chapter-item.active .number,.chapter-item.active small { color:#d4dfcb; }
.sidebar-footer { padding:10px 18px; font-size:11px; }
.sidebar-footer small { display:none; }
.reading-toolbar { padding:0 22px; gap:12px; position:relative; z-index:20; }
.view-tabs { gap:20px; flex-shrink:0; }
.view-tabs button { font-size:13px; color:#5b6753; }
.view-tabs span { color:#5b6753; font-size:12px; }
.reader-options { align-items:center; gap:8px; }
.reader-menu { position:relative; }
.reader-menu>summary { list-style:none; display:flex; align-items:center; justify-content:center; min-height:40px; padding:9px 12px; border:1px solid var(--line); border-radius:6px; font-size:13px; color:var(--green); background:var(--paper); }
.reader-menu>summary::-webkit-details-marker { display:none; }
.reader-menu[open]>summary { background:var(--green-soft); border-color:#a9baa5; }
.reader-popover { position:absolute; top:calc(100% + 7px); right:0; width:290px; max-width:calc(100vw - 24px); padding:10px; border:1px solid #cad2c2; border-radius:9px; box-shadow:0 12px 35px #22312825; background:var(--paper); display:flex; flex-direction:column; gap:5px; z-index:45; max-height:calc(100dvh - 150px); overflow:auto; }
.reader-options .reader-popover button { width:100%; height:auto; min-height:42px; font-size:14px; padding:10px; text-align:left; color:var(--green); border:0; margin:0; border-radius:5px; }
.reader-popover button:hover { background:var(--green-soft); }
.reader-options .reader-popover .icon-button { width:44px; height:44px; padding:5px; text-align:center; border:1px solid var(--line); }
.reader-workflow { display:block; max-width:none; margin:0; padding:0; border:0; }
.reader-workflow>div { display:flex; flex-direction:column; gap:5px; }
.reader-workflow .font-controls { display:flex; flex-direction:row; align-items:center; gap:8px; padding:0 6px; }
.font-controls>span { flex:1; font-size:13px; }
.reader-workflow label { font-size:13px; line-height:1.6; color:#485c40; padding:8px; }
.reader-workflow input { width:18px; height:18px; flex-shrink:0; }
.reader-workflow small { color:#626c5c; font-size:12px; line-height:1.5; padding:0 8px 8px; }
.first-reader #compare-menu { display:none; }
.reader-scroll { padding-top:26px; }
.chapter-heading h1 { font-size:36px; margin:12px 0 14px; }
.chapter-meta { font-size:12px; color:#626c5c; }
.review-button { color:#4d6444; font-size:12px; min-height:36px; }
.reader-hint { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:16px auto 22px; padding:10px 0; color:#626c5c; font-size:12px; }
.reader-hint span { margin:0; font-size:12px; color:#626c5c; }
.reader-hint button { font-size:12px; min-height:36px; color:var(--green); text-decoration:underline; flex-shrink:0; }
.reading-progress { font-size:12px; color:#626c5c; }
.notes-heading { padding:18px 18px 14px; gap:8px; flex-wrap:wrap; }
.notes-heading h2 { font-size:22px; margin-top:6px; }
.notes-heading h2 span { color:#4a5d40; font-size:12px; }
.notes-heading .add-note { width:auto; height:38px; padding:7px 9px; font-size:12px; margin-left:auto; }
.notes-filters { padding:0 18px 10px; border:0; }
.notes-filters select { font-size:13px; color:#485c40; min-height:40px; }
.notes-navigation { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px; padding:0 18px 12px; border-bottom:1px solid var(--line); }
.notes-navigation select { font-size:12px; padding:7px; min-height:36px; max-width:145px; }
.note-steppers { display:flex; align-items:center; gap:4px; }
.note-steppers button { border:1px solid var(--line); border-radius:5px; width:34px; height:36px; font-size:17px; }
#note-position { color:#53634a; font-size:11px; text-align:center; min-width:56px; }
.notes-scroll { padding:16px 14px; }
.comment-card { padding:16px; }
.comment-card.selected { border-color:#78946a; box-shadow:0 0 0 2px #dfe6d1; }
.comment-body,.board-view .comment-body { font-size:15px; line-height:1.65; margin:12px 0; }
.comment-card blockquote { font-size:14px; color:#5e6657; }
.comment-top { align-items:flex-start; flex-wrap:wrap; }
.comment-type,.comment-related,.comment-anchor,.comment-response strong { font-size:12px; color:#626c5c; }
.comment-response { font-size:14px; }
.comment-related button,.impact-check p,.impact-check button { font-size:12px; color:#526645; }
.status { font-size:11px; }
.status.new { color:#76521d; }.status.in_progress { color:#475b7b; }.status.discussion { color:#7c4936; }.status.revised,.status.accepted { color:#3e6231; }
.tag { font-size:12px; color:#536445; }
.comment-footer { color:#626c5c; font-size:12px; flex-wrap:wrap; }
.comment-footer select { font-size:12px; width:auto; max-width:100%; min-height:36px; }
.comment-actions { gap:5px 12px; }
.comment-actions button { font-size:12px; color:#426038; min-height:32px; }
.comment-card .history { font-size:12px; line-height:1.6; color:#58684d; }
.composer label,.composer-heading strong { font-size:13px; color:#4d6142; }
.composer textarea,.composer input,.composer select,.comment-edit textarea { font-size:15px; }
.composer .draft-state { font-size:12px; color:#626c5c; }
.workflow-note { display:block; padding:12px 18px; font-size:12px; color:#4e6045; }
.workflow-note summary { line-height:1.6; }
.workflow-note p,.workflow-note a { font-size:12px; line-height:1.6; }
.workbench-view { padding-top:24px; }
.wb-hero { align-items:center; padding-bottom:16px; gap:16px; }
.wb-hero h1 { font-size:28px; margin:8px 0 0; }
.wb-process { flex-shrink:0; position:relative; max-width:340px; color:#52624c; font-size:13px; }
.wb-process summary { min-height:40px; display:flex; align-items:center; padding:8px 12px; border:1px solid var(--line); border-radius:6px; }
.wb-process[open] { flex-shrink:1; }
.wb-process ol { padding-left:28px; line-height:1.8; }
.wb-process p { font-size:13px; line-height:1.7; }
.wb-tabs { padding:14px 0; margin-bottom:20px; gap:5px; }
.wb-tabs button { font-size:13px; color:#52624c; padding:10px 12px; min-height:40px; }
.wb-heading h2 { margin:4px 0 8px; }
.wb-heading p,.wb-empty p,.wb-hint { font-size:14px; color:#626c5c; line-height:1.7; }
.wb-content label,.wb-dialog label { font-size:13px; color:#52624c; }
.wb-content input,.wb-content select,.wb-content textarea,.wb-dialog input,.wb-dialog select,.wb-dialog textarea { font-size:14px; }
.wb-create { margin:16px 0; }
.wb-create summary { font-size:14px; color:var(--green); }
.wb-create-row { margin-top:14px; }
.wb-empty { margin:24px auto 10px; padding:12px; }
.wb-empty .badge-art { width:40px; height:46px; }
.wb-empty h3 { font-size:21px; margin:12px 0; }
.wb-empty-action { text-align:center; margin:10px 0 30px; }
.wb-inbox-card p,.wb-inbox-card small,.wb-candidate-tools>span,.wb-task p,.wb-task small,.wb-discussion small { font-size:13px; color:#626c5c; }
.board-view { padding-top:26px; }
.board-heading h1 { font-size:32px; margin:12px 0; }
.board-heading p,.board-view .muted,.stat span { font-size:13px; color:#626c5c; }
.board-stats { margin:22px 0; }
.team-summary { padding:20px; }
.team-editors { margin-top:12px; }
.team-editor span,.team-editor small,.journey-caption { font-size:12px; color:#626c5c; }
.journey-now { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.8fr); gap:24px; align-items:center; padding:22px 0; border-bottom:1px solid var(--line); }
.journey-now h2 { font:24px/1.3 Georgia,serif; margin:8px 0; }
.journey-now p,.journey-now small { font-size:13px; line-height:1.6; color:#626c5c; }
.featured-relic { display:flex; text-align:left; gap:14px; align-items:center; border:1px solid #bda774; border-radius:8px; padding:10px; background:var(--paper); }
.featured-relic img { width:75px; height:84px; object-fit:cover; border-radius:4px; }
.featured-relic>span { display:grid; gap:5px; }
.featured-relic strong { font:20px/1.2 Georgia,serif; }
.featured-relic small { font-size:10px; color:#715623; letter-spacing:1px; }
.featured-relic span span { font-size:12px; color:#52624c; }
@media (min-width:1100px) { .workspace { grid-template-columns:232px minmax(400px,1fr) 350px; }.focus-mode .workspace { grid-template-columns:minmax(0,1fr); } }
@media (min-width:971px) and (max-width:1099px) { .workspace { grid-template-columns:210px minmax(340px,1fr) 310px; }.reader-scroll { padding-left:30px; padding-right:30px; }.focus-mode .workspace { grid-template-columns:minmax(0,1fr); } }
@media (max-width:1100px) { .wb-hero { align-items:flex-start; }.wb-hero h1 { font-size:25px; }.journey-now { grid-template-columns:1fr; } }
@media (max-width:680px) {
  .reading-toolbar { padding:0 10px; gap:6px; height:56px; }
  .view-tabs { gap:12px; }.view-tabs button { font-size:12px; }#version-count { display:none; }
  .reader-options { gap:4px; margin-left:auto; }
  .reader-options button.mobile-notes { width:auto; flex-shrink:0; padding:8px; font-size:12px; min-height:42px; white-space:nowrap; color:var(--green); }
  .reader-menu>summary { font-size:12px; padding:8px; min-height:42px; }
  #reader-workflow>summary { min-width:36px; font-size:15px; }
  .reader-options #font-down,.reader-options #font-up { display:inline-grid; }
  #compare-menu .reader-popover { right:-40px; }
  .reader-scroll { padding:22px 26px 36px; }
  .chapter-heading h1 { font-size:30px; margin:10px 0; }
  .chapter-kicker { gap:8px; flex-wrap:wrap; }.chapter-kicker .eyebrow { font-size:10px; }
  .chapter-meta { font-size:12px; gap:5px; }.review-button { font-size:12px; min-height:36px; }
  .reader-hint { flex-wrap:wrap; gap:0; margin:10px auto 20px; padding:8px 0; }
  .reader-hint span,.reader-hint button { font-size:12px; }
  .prose { font-size:calc(var(--font-size) - 2px); line-height:1.85; }
  .paragraph-note { width:26px; height:32px; right:-25px; opacity:.85; color:#617852; }
  .notes-panel { width:min(420px,100vw); }
  .notes-heading { padding:16px; gap:8px; }.notes-heading .add-note { margin-right:0; }
  .close-notes { padding:8px; min-height:40px; font-size:12px; color:#52624c; }
  .note-steppers button { min-width:40px; min-height:40px; }
  .notes-navigation select { min-height:40px; }
  .comment-actions button { min-height:40px; }
  .composer textarea,.composer input,.composer select,.comment-edit textarea { font-size:16px; }
  .selection-toolbar { flex-wrap:wrap; max-width:calc(100vw - 16px); }
  .selection-toolbar button { min-height:40px; font-size:12px; }
  .workbench-view { padding:22px 18px 50px; }.wb-hero { flex-direction:column; gap:10px; padding-bottom:12px; }.wb-hero h1 { font-size:25px; }
  .wb-process { max-width:100%; }.wb-process summary { font-size:12px; min-height:36px; }
  .wb-tabs { flex-wrap:nowrap; overflow-x:auto; padding:10px 0; margin-bottom:16px; }.wb-tabs button { white-space:nowrap; flex-shrink:0; font-size:13px; }
  .wb-heading { gap:12px; margin-bottom:16px; }.wb-heading h2 { font-size:25px; }.wb-heading p { font-size:14px; }
  .wb-create-row { gap:12px; }.wb-content input,.wb-content select,.wb-content textarea,.wb-dialog input,.wb-dialog select,.wb-dialog textarea { font-size:16px; }
  .journey-now { gap:18px; }.journey-now h2 { font-size:23px; }
  .reading-progress { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { .reader-scroll { scroll-behavior:auto; } }

#note-here { color:var(--green); text-decoration:underline; font-size:12px; padding:6px 0; min-height:34px; }
.notes-navigation .note-steppers { flex-basis:100%; justify-content:space-between; }
#note-position { font-size:12px; }
@media (max-width:680px) {
  .topbar .profile-switch { flex-wrap:nowrap; gap:3px; margin-left:auto; min-width:0; }
  .topbar #logout { font-size:12px; padding:6px; white-space:nowrap; }
  .topbar .profile-switch .icon-button { width:28px; min-width:28px; height:34px; }
  .topbar #editor-select { max-width:104px; padding:7px 5px; font-size:11px; }
}
@media (max-width:440px) {
  .topbar { gap:6px; padding:0 8px; }
  .topbar .brand { width:25px; min-width:25px; }
  .topbar .brand img { display:block; width:25px; height:25px; }
  .topbar .brand>span { display:none; }
  .topbar #editor-select { max-width:95px; }
}
/* Keep paragraph actions clear of the scrollbar's hit area. */
@media (max-width:680px) { .reader-scroll,.focus-mode .reader-scroll { padding-right:44px; } }

.journey-now { padding:24px clamp(24px,4vw,70px); }
.focus-mode .reading-view { grid-column:1/-1; }
@media(max-width:970px) { .first-reader .reading-view { grid-column:1/-1; } }

.wb-task-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wb-dialog .wb-task-selection label{display:flex;align-items:center;gap:9px;cursor:pointer}
.wb-task-selection [role=status]{font-size:11px;color:var(--muted,#6d7767)}

.wb-task-chapters{display:grid;gap:12px}
.wb-task-chapter{min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f9f8f2}
.wb-task-chapter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--panel)}
.wb-dialog .wb-task-chapter-heading label{display:flex;align-items:center;gap:12px;flex:1;min-width:0;cursor:pointer}
.wb-task-chapter-heading label>span{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.wb-task-chapter-heading strong{font-size:13px;color:var(--ink)}
.wb-task-chapter-heading small{font-size:11px;color:var(--muted,#6d7767)}
.wb-task-chapter-heading:has(input:checked),.wb-task-chapter-heading:has(input:indeterminate){background:#e9eee1}
.wb-task-chapter .wb-comment-options{border:0;border-top:1px solid var(--line);border-radius:0;max-height:300px}
.wb-task-toggle{flex-shrink:0;font-size:11px;padding:8px 10px}
.wb-dialog .wb-task-help{margin:0}
@media(max-width:600px){.wb-task-chapter-heading{flex-wrap:wrap;padding:12px}.wb-task-chapter-heading label{flex-basis:100%}.wb-task-toggle{margin-left:28px}.wb-task-chapter .wb-comment-options{max-height:260px}}
.wb-process-status{margin:0 0 1rem;padding:1rem 1.2rem;border:1px solid var(--line,#d6c9b3);border-radius:12px;background:var(--paper,#fffaf0)}
.wb-process-status p{margin:.3rem 0 .6rem}
.wb-background,.wb-context-options{margin:1rem 0;padding:.8rem 1rem;border:1px solid var(--line,#d6c9b3);border-radius:8px}
.wb-context-options label{display:block;margin:.6rem 0}
.wb-context-options input[type=checkbox]{width:auto;display:inline-block}
#reference-dialog #neutral-texts pre{white-space:pre-wrap;overflow-wrap:anywhere;font:17px/1.8 Georgia,serif}
