/* Presentation layer. The PDF renderer and page-turn geometry stay unchanged. */
:root{color:#17283f;background:#f4f6fa;font-family:Arial,Helvetica,sans-serif;--edition-blue:#2458d3;--edition-muted:#748094}body{background:linear-gradient(180deg,#fff 0,#f4f6fa 360px)}.reader-header{height:78px;max-width:1536px;margin:auto;padding:0 4vw;border-color:#e9edf3;background:#ffffffed}.reader-brand{gap:12px;letter-spacing:.7px;font-size:14px;color:#152b49}.reader-brand small{font-size:8px;letter-spacing:1.7px;color:#8691a0;margin-top:7px}.brand-symbol{height:42px;width:42px;padding:0 5px 0 0;display:flex;align-items:center;justify-content:center;border:1px solid #dbe4f7;background:#eef3fd;border-radius:12px;font-size:32px;color:#2458d3;letter-spacing:-4px}.brand-symbol>span{color:#2458d3}.brand-symbol b{font-size:9px;top:4px;right:5px;color:#c56f73}.reader-header nav{font-size:12px;gap:25px;color:#617084}.reader-header nav a:hover{color:#2458d3}.reader-header nav a:last-child{border:1px solid #d8e1ee;border-radius:7px;padding:11px 15px;background:#fff;color:#253e62}.reader-header nav .community-nav{color:#2458d3}.edition-heading{padding:35px 4vw 28px;align-items:flex-start}.eyebrow{font-size:9px;letter-spacing:2px;color:#6c7f9b}.eyebrow>span{width:5px;height:5px;background:#2458d3}.edition-heading h1{font:500 clamp(29px,3vw,45px)/1.18 Georgia,'Times New Roman',serif;letter-spacing:-1.2px;color:#172d4c;margin:11px 0 12px}#edition-description{color:#7b8799;font-size:12px;line-height:1.8;max-width:700px}.edition-meta{padding-top:3px}.edition-meta>span{display:inline-block;background:#eaf0fc;border:1px solid #dce5fa;color:#3e65b0;font-size:9px;letter-spacing:1.1px;border-radius:5px;padding:8px 11px}.edition-meta strong{font-size:12px;color:#6f7e92;margin:11px 0}#edition-selector{font-size:11px;background:#fff;color:#465872;border:1px solid #dfe5ee;padding:8px 10px;border-radius:6px;max-width:245px}.reader-shell{margin:0 4vw;border:1px solid #24334c;border-radius:12px;background:#151f31;box-shadow:0 15px 40px #172d4c1a,0 2px 6px #172d4c0a}.reader-topbar{padding:10px 20px;min-height:61px;background:#152237;border-bottom:1px solid #ffffff0d;gap:12px}.document-label{font-size:11px;color:#c4cede;letter-spacing:.3px;max-width:35%}.document-dot{background:#6698fa;width:6px;height:6px;box-shadow:0 0 0 4px #6698fa12}.top-actions{gap:6px;align-items:center}.reader-shell button{color:#c4cede;border-radius:6px;transition:background .15s,color .15s}.reader-shell button:hover:not(:disabled),.reader-shell button[aria-pressed=true],.reader-shell button[aria-expanded=true]{color:#fff;background:#ffffff16}.top-actions button{font-size:11px;padding:6px 10px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.top-actions button>span:first-child{font-size:17px}.top-actions svg{width:17px;height:17px;flex:none}#fullscreen-button{font-size:21px;padding:4px;min-width:32px}#reader-more{font-size:22px;width:33px;margin:0;border:0;background:#ffffff09}#editorial-ai-open{border:1px solid #7299ff4f;background:#4873d32e;color:#bed1ff;padding:8px 11px;margin:0;font-size:11px;white-space:nowrap}.reader-workspace{height:min(70vh,800px);min-height:430px;background:radial-gradient(ellipse at 50% 40%,#3a465a 0,#263247 52%,#1c283b 100%)}.reader-stage{scrollbar-color:#52617a #1d2a3d}.paper-area.book-layout{padding:27px 65px}.flip-page{box-shadow:0 10px 35px #0004}.page-arrow{border-radius:50%!important;background:#0e1b2dd9!important;border:1px solid #ffffff20!important;box-shadow:0 5px 20px #0002;width:39px;height:39px;font:29px/1 Georgia!important;min-width:39px!important;top:calc(50% - 19px);display:flex;align-items:center;justify-content:center}.previous{left:14px}.next{right:14px}.reader-notice{padding:10px 20px;background:#fbf8ef;color:#8a7753;border-color:#ebe3cf;font-size:10px;line-height:1.7}.reader-bottom{min-height:64px;padding:11px 20px;gap:20px;background:#152237;border-top:1px solid #ffffff0c}.page-position{color:#98aac3;font-size:10px;gap:9px}.page-position input{background:#ffffff08;border-color:#ffffff16;color:#edf2fb;border-radius:5px;padding:8px 3px;width:42px;font-size:12px}#page-slider{accent-color:#79a1fa;height:3px;cursor:pointer}.reading-controls{gap:2px}.reading-controls button{font-size:17px;min-width:32px;min-height:32px}.reading-controls #zoom-reset{color:#b5c3d8;font-size:10px;min-width:45px}.control-divider{background:#ffffff16;margin:0 7px}#download-link{color:#b7cdff}.reader-status{background:#152237;color:#879bb9;padding:0 20px 9px;min-height:22px;font-size:9px;letter-spacing:.15px}.reader-sidebar{background:#152237;border-color:#ffffff12}.sidebar-heading{background:#152237;color:#c4cede}.thumbnail-list button{border-color:#ffffff13;color:#aebed4}.thumbnail-list button[aria-current=page]{border-color:#7ca2fa;background:#527ddb25}.thumbnail-list .thumb-sheet{background:#edf1f8;color:#567296}.outline-list a{color:#afbed4}.search-panel{background:#fff;color:#263d5f;border:1px solid #e1e7f0;box-shadow:-8px 12px 35px #0a15232e}.search-panel button{color:#315cb5;background:#edf2fc}.search-panel input{border-color:#d9e1ef}.reading-footer{padding:19px 4vw 34px;color:#8792a4;font-size:10px;line-height:1.7}.reading-footer p>span{color:#637b9a;letter-spacing:5px}.reading-footer a{color:#49688f}.editor-panel,.reader-settings{border-color:#dce4ef;background:#fff;border-radius:10px;box-shadow:0 2px 8px #172d4c04}.editor-panel h2,.reader-settings h2{font:25px Georgia;color:#233e61}.editor-panel p,.editor-panel small{color:#7b8798}.publish-button,.reader-settings button{background:#2458d3;color:white;border:0}.site-footer{border-color:#e0e6ef;color:#8490a1;padding:25px 4vw 34px;font-size:10px}.site-footer>span{font:18px Georgia;color:#3d5573}.reader-dialog{border:1px solid #dbe3ef;border-radius:12px;background:#fff;color:#283b57;box-shadow:0 25px 90px #13253c45;font:13px/1.7 Arial}.reader-dialog::backdrop{background:#0b1b32a8}.dialog-head{border-bottom:1px solid #e6ebf2;margin-bottom:16px;padding-bottom:11px}.dialog-head h2{font:25px Georgia;color:#1e3658;margin:0 0 5px}.reader-dialog button,.reader-dialog a,.reader-settings button{border:1px solid #d8e2f3;border-radius:6px;background:#edf2fc;color:#315ab0}.reader-option-grid{gap:8px}.reader-option-grid button{padding:14px;font-size:12px}.reader-dialog input:not([type=checkbox]):not([type=color]),.reader-dialog textarea,.reader-dialog select,.reader-settings input:not([type=checkbox]),.reader-settings textarea{border-color:#d4deec;color:#243d60;border-radius:6px}.ai-text{background:#f0f4fb;font:14px/1.9 Arial;color:#294365}.ai-dialog form>button{background:#2458d3;color:#fff;border-color:#2458d3}.ai-result p,.ai-privacy{color:#7f8a9b}.note-row{border-left-color:#7197f1}.reader-shell:fullscreen,body.focus-reader .reader-shell{background:#152237}.reader-shell:fullscreen .reader-workspace,body.focus-reader .reader-workspace{min-height:0;height:0}.reader-lens{border-color:#7b9ce5}.embedded-reader .reader-workspace{min-height:0;height:0}
@media(max-width:1000px){.document-label{max-width:28%}.top-actions{gap:3px}.top-actions button{padding:6px 7px}.reader-header nav{gap:18px}.paper-area.book-layout{padding:24px 50px}}@media(max-width:760px){.reader-header{height:68px;padding:0 17px;gap:10px}.reader-brand{font-size:11px;letter-spacing:.35px;gap:9px}.reader-brand small{font-size:6px;letter-spacing:1px;margin-top:5px}.brand-symbol{width:33px;height:33px;border-radius:9px;font-size:26px}.brand-symbol b{font-size:7px;right:4px;top:3px}.reader-header nav{font-size:10px;gap:13px}.reader-header nav .community-nav{display:none}.reader-header nav a:last-child{padding:9px 10px}.edition-heading{padding:25px 20px 22px}.edition-heading h1{font-size:31px;letter-spacing:-.8px;margin:11px 0}#edition-description{font-size:11px;line-height:1.8}.eyebrow{font-size:8px;letter-spacing:1.6px}.reader-shell{margin:0 10px;border-radius:10px}.reader-topbar{padding:9px 10px;min-height:56px;flex-wrap:wrap;gap:7px}.document-label{max-width:none;flex:1;min-width:100px;font-size:9px}.top-actions{gap:2px;flex-shrink:0}.top-actions button{padding:3px;min-width:29px;min-height:30px;font-size:10px}.top-actions svg{width:16px;height:16px}.top-actions .action-word{display:none}#editorial-ai-open{font-size:10px;padding:6px 8px}#reader-more{font-size:22px;min-width:26px;width:26px}#fullscreen-button{min-width:27px;font-size:20px}.reader-workspace{height:61vh;min-height:355px}.paper-area.book-layout{padding:22px 25px}.page-arrow{height:30px!important;width:30px!important;min-width:30px!important;font-size:24px!important}.previous{left:5px}.next{right:5px}.reader-notice{font-size:9px;padding:10px 12px;line-height:1.7}.reader-bottom{padding:10px 11px;gap:9px;min-height:64px}.page-position{font-size:10px;gap:5px}.page-position input{width:32px;padding:8px 1px}.reading-controls button{min-width:28px;min-height:30px}.reading-controls #zoom-reset{min-width:40px}.control-divider{margin:0 2px}#page-slider{margin-top:6px}.reader-status{padding:0 12px 8px;font-size:9px;line-height:1.5}.reading-footer{padding:17px 20px 26px;font-size:10px}.reading-footer a{margin-top:9px}.site-footer{padding:20px;gap:15px}.site-footer>span{font-size:16px}.site-footer a{font-size:9px}.reader-dialog{padding:18px}.dialog-head h2{font-size:23px}.reader-option-grid button{padding:13px}.reader-sidebar{top:56px}.reader-shell:fullscreen .reader-workspace,body.focus-reader .reader-workspace{min-height:0}.reader-shell:fullscreen .reader-topbar,body.focus-reader .reader-topbar{flex-wrap:nowrap}}@media(max-width:380px){.reader-brand{font-size:10px}.reader-brand small{font-size:5px}.reader-header nav{gap:10px}.reader-header nav a:last-child{padding:8px}.reader-topbar{gap:5px}.document-label{flex-basis:100%;padding:3px 2px}.top-actions{width:100%;justify-content:flex-end}.reader-workspace{min-height:320px}.paper-area.book-layout{padding:16px 23px}}@media(prefers-reduced-motion:reduce){.reader-shell button{transition:none}}
