@font-face{font-family:FZFangSong;src:url(/fonts/FZFSK.TTF) format("truetype");font-display:swap}:root{font-family:FZFangSong,STFangsong,"FangSong",serif;color:#242722;background:#f7f5ef;font-synthesis:none;--ink:#242722;--muted:#777970;--line:#deddd5;--soft-line:#e9e7df;--green:#285e45;--green-dark:#174b34;--green-soft:#eaf1eb;--paper:#fffef9;--ivory:#f7f5ef}*{box-sizing:border-box}button,input,textarea{font:inherit}button{color:inherit}body{margin:0;min-height:100vh;-webkit-font-smoothing:antialiased}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #5b8d73;outline-offset:2px}.app-shell{min-width:1180px;min-height:100vh;display:grid;grid-template-columns:188px minmax(700px,1fr) 340px;background:var(--ivory)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#faf9f4}.brand{height:83px;display:flex;align-items:center;gap:10px;padding:0 24px;font-size:20px;font-weight:700;letter-spacing:.06em;border-bottom:1px solid var(--soft-line)}.brand svg{color:var(--green)}.sidebar nav{padding:18px 10px;display:grid;gap:6px}.nav-item{border:0;background:none;height:48px;padding:0 14px;display:flex;align-items:center;gap:12px;border-radius:6px;font-size:16px;cursor:pointer;text-align:left}.nav-item.active{color:var(--green-dark);background:var(--green-soft);font-weight:700;box-shadow:inset 3px 0 var(--green)}.user{margin-top:auto;height:70px;border-top:1px solid var(--soft-line);display:flex;align-items:center;gap:10px;padding:0 20px}.user span{flex:1}.workspace{min-width:0;padding:0 28px 28px;background:var(--paper)}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--soft-line)}.topbar h1{margin:0 0 4px;font-size:28px;letter-spacing:.05em}.topbar p,.section-heading p{margin:0;color:var(--muted);font-size:14px}.global-search{display:flex;align-items:center;gap:8px;width:202px;height:38px;padding:0 10px;color:#8c8d85;border:1px solid var(--line);border-radius:6px;background:#fbfaf7;font-size:13px}.global-search span{flex:1}.global-search kbd{border:1px solid var(--line);border-radius:4px;padding:2px 5px;background:#fff}.stepper{display:flex;align-items:center;height:70px;max-width:760px;margin:auto}.step{flex:1;display:flex;align-items:center;gap:8px;color:#9b9c94;font-size:14px}.step span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#ebe9e1}.step i{flex:1;height:1px;margin-left:6px;background:var(--line)}.step.done{color:var(--green-dark)}.step.done span{color:#fff;background:var(--green)}.import-section,.audit-section{padding:22px 0;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}.section-heading h2{margin:0 0 4px;font-size:22px}.tier-legend{display:flex;align-items:center;gap:7px;color:#74786f;font-size:12px}.tier-legend svg{width:12px}.mode-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line)}.mode-tabs button{display:flex;align-items:center;gap:6px;height:40px;padding:0 2px;border:0;border-bottom:2px solid transparent;background:none;color:#7d7f77;cursor:pointer}.mode-tabs button svg{width:18px}.mode-tabs button.active{color:var(--green-dark);border-color:var(--green);font-weight:700}.import-form{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(300px,1.35fr) 190px;align-items:end;gap:14px;padding-top:16px}.import-form label{display:grid;gap:7px;font-size:13px;color:#5f625a}.import-form label.wide{grid-column:2}.import-form input,.import-form textarea{width:100%;height:43px;border:1px solid #d5d4cc;border-radius:5px;padding:0 12px;background:#fff;color:var(--ink);transition:border .15s,box-shadow .15s}.import-form textarea{height:82px;padding-top:11px;resize:vertical}.import-form input:focus,.import-form textarea:focus{border-color:#6e967f;box-shadow:0 0 0 3px #285e4514}.dropzone{min-height:82px;grid-column:2;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-content:center;text-align:left;padding:10px 16px;border:1px dashed #b9bcb2;border-radius:6px;background:#fbfaf6;cursor:pointer}.dropzone svg{grid-row:1/3;align-self:center;color:var(--green)}.dropzone span{font-weight:700}.dropzone small{color:var(--muted)}.dropzone.has-file{border-style:solid;border-color:#8cad99;background:var(--green-soft)}.primary,.secondary{height:43px;border-radius:5px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.primary{color:#fff;border:1px solid var(--green-dark);background:var(--green);box-shadow:0 1px 2px #0d302026}.primary:hover{background:var(--green-dark)}.primary:disabled{opacity:.46;cursor:not-allowed}.secondary{color:var(--green-dark);border:1px solid #9eb3a6;background:#fff}.import-button{grid-column:3}.notice{margin-top:12px;display:flex;align-items:center;gap:7px;color:var(--green-dark);font-size:13px}.audit-section{padding-bottom:0}.count{color:var(--muted);font-size:13px}.task-list{border:1px solid var(--line);border-radius:6px;overflow:hidden}.task-row{width:100%;min-height:57px;display:grid;grid-template-columns:minmax(200px,1.5fr) 70px minmax(120px,.8fr) 70px 18px;align-items:center;gap:15px;padding:8px 14px;border:0;border-bottom:1px solid var(--soft-line);background:#fff;cursor:pointer;text-align:left}.task-row:last-child{border-bottom:0}.task-row:hover,.task-row.selected{background:#f3f6f1}.task-row.selected{box-shadow:inset 3px 0 var(--green)}.task-title{min-width:0;display:grid;gap:3px}.task-title strong,.task-title small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-title small{color:var(--muted)}.task-source{color:#7c7e75;font-size:12px}.task-progress{display:flex;align-items:center;gap:8px}.task-progress i{width:85px;height:5px;overflow:hidden;border-radius:5px;background:#dedfd9}.task-progress b{display:block;height:100%;background:var(--green)}.task-progress small{color:var(--muted)}.status{font-size:12px;white-space:nowrap}.status-review{color:#9a6a19}.status-published{color:var(--green)}.status-processing{color:#426888}.audit-detail{margin-top:16px;border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}.detail-summary{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--soft-line)}.eyebrow{color:var(--green);font-size:12px;font-weight:700}.detail-summary h3{margin:4px 0 0;font-size:20px}.metrics{display:flex;gap:20px;color:var(--muted);font-size:13px}.metrics strong{color:var(--ink);font-size:17px}.metrics .warning strong{color:#ac741e}.metrics .clean strong{color:var(--green)}.chapter-list{max-height:212px;overflow:auto}.chapter-list button{width:100%;min-height:49px;display:grid;grid-template-columns:35px minmax(160px,1fr) minmax(190px,auto) 20px;align-items:center;gap:9px;padding:7px 16px;border:0;border-bottom:1px solid #efeee8;background:#fff;text-align:left;cursor:pointer}.chapter-list button:hover,.chapter-list button.active{background:#f6f7f3}.chapter-order{color:#9a9c94;font-size:12px}.chapter-name{display:flex;align-items:baseline;gap:10px}.chapter-name small{color:var(--muted)}.badges{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.badges em{font-style:normal;font-size:11px}.badges .green{color:var(--green)}.badges .amber{color:#a06b1e}.badges .purple{color:#745d89}.badges .blue{color:#3b6980}.issue{color:#b97b21}.ok{color:#4f8968}.action-bar{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:#faf9f5}.action-bar p{margin:0;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.action-bar>div{display:flex;gap:10px}.action-bar button{height:39px}.reader-panel{position:sticky;top:0;height:100vh;padding:0 20px 18px;border-left:1px solid var(--line);background:#f7f5ef;overflow:hidden}.reader-panel>header{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--soft-line)}.reader-panel>header div{display:grid;gap:3px}.reader-panel>header span{font-size:18px;font-weight:700}.reader-panel>header small{color:var(--muted)}.reader-panel>header button{width:35px;height:35px;border:1px solid var(--line);border-radius:5px;background:#fff;cursor:pointer}.phone{height:calc(100vh - 176px);min-height:600px;display:grid;grid-template-rows:48px 1fr 50px;margin-top:15px;overflow:hidden;border:1px solid #d8d5ca;border-radius:11px;background:#f7f1e4;box-shadow:0 8px 24px #302d2314}.phone-top{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;padding:0 10px;border-bottom:1px solid rgba(111,104,87,.15);color:#5e5c55}.phone-top span{text-align:center;font-size:13px}.phone-top button{border:0;background:none;cursor:pointer}.phone article{padding:30px 26px;overflow:auto;line-height:1.95;letter-spacing:.035em;color:#2a2a27;transition:font-size .15s}.reading-kicker{color:#969187;font-size:11px;text-align:center}.phone article h2{margin:9px 0 14px;text-align:center;font-size:1.25em;font-weight:700}.ornament{width:24px;height:1px;margin:0 auto 26px;background:#b9b1a2}.phone article p{margin:0 0 1.25em;text-align:justify;text-indent:2em}.phone footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-top:1px solid rgba(111,104,87,.15);background:#fffef9a6;font-size:12px}.phone footer button{height:100%;display:flex;align-items:center;justify-content:center;gap:2px;border:0;background:none;cursor:pointer}.phone footer button:disabled{opacity:.35}.phone footer span{color:#8c897f}.preview-note{display:flex;align-items:center;gap:9px;height:62px;padding:0 5px;color:var(--green)}.preview-note p{margin:0;display:grid;gap:2px}.preview-note span{color:var(--muted);font-size:11px}@media(max-width:1300px){.app-shell{grid-template-columns:160px minmax(650px,1fr) 300px}.brand{padding-inline:16px;font-size:18px}.workspace{padding-inline:20px}.import-form{grid-template-columns:170px minmax(250px,1fr) 170px}.reader-panel{padding-inline:14px}}.public-app{min-height:100vh;color:#2d302a;background:#f5f1e7}.shelf-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1080px)/2));border-bottom:1px solid #ded8ca;background:#fbf9f3f0}.shelf-header>div{display:flex;align-items:center;gap:11px}.shelf-header>div>div{display:grid}.shelf-header strong{font-size:19px}.shelf-header small{color:#858276;font-size:11px}.shelf-header a{color:#617061;font-size:13px;text-decoration:none}.shelf-mark{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;color:#f4ebd8;background:#315c47}.shelf-hero{padding:62px max(24px,calc((100vw - 1080px)/2)) 52px;color:#fff;background:linear-gradient(115deg,#294d3b,#416a53)}.shelf-hero>p{margin:0 0 9px;color:#d9e3da;letter-spacing:.22em}.shelf-hero h1{margin:0 0 28px;font-size:38px;font-weight:500;letter-spacing:.05em}.shelf-hero label{width:min(440px,100%);height:45px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid rgba(255,255,255,.32);border-radius:6px;background:#ffffff1f}.shelf-hero input{width:100%;border:0;outline:0;color:#fff;background:transparent;font:inherit}.shelf-hero input::placeholder{color:#d7dfd8}.shelf-content{max-width:1080px;min-height:400px;margin:auto;padding:42px 24px 70px}.shelf-title{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:22px}.shelf-title h2{margin:0;font-size:23px;font-weight:500}.shelf-title span{color:#888477;font-size:13px}.book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.book-card{min-width:0;display:grid;grid-template-columns:112px 1fr;gap:18px;padding:16px;color:inherit;text-decoration:none;border:1px solid #ddd7c9;border-radius:8px;background:#fbfaf6;transition:.18s}.book-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px #30372e14}.book-cover{aspect-ratio:.72;display:flex;flex-direction:column;justify-content:space-between;padding:17px 12px 12px;color:#efeadd;border-radius:3px 7px 7px 3px;box-shadow:inset 5px 0 #0000001a,0 5px 12px #23251f24;background:#365848}.book-cover span{font-size:18px;line-height:1.5;writing-mode:vertical-rl}.book-cover small{opacity:.72;font-size:9px}.cover-1{background:#675149}.cover-2{background:#4c5667}.cover-3{background:#786941}.book-card>div:last-child{display:flex;min-width:0;flex-direction:column}.book-card h3{margin:9px 0;overflow:hidden;font-size:18px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.book-card p{margin:0;color:#7f7b70;font-size:13px}.book-card>div:last-child>span{margin-top:auto;color:#6c806f;font-size:12px}.empty-shelf{min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#878276}.public-footer{padding:22px;text-align:center;color:#989487;border-top:1px solid #ded8ca;font-size:12px}.reading-app{min-height:100vh;color:#292b27;background:#f6f0e3;transition:.2s}.theme-night{color:#c9c7c1;background:#202321}.reading-header{position:sticky;z-index:3;top:0;height:58px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border-bottom:1px solid rgba(105,100,87,.16);background:#f6f0e3f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.theme-night .reading-header{background:#202321f0}.reading-header a,.reading-header button{width:100%;height:100%;display:grid;place-items:center;color:inherit;border:0;background:none}.reading-header>div{display:grid;text-align:center}.reading-header strong{font-size:14px}.reading-header small{color:#918c80;font-size:10px}.reading-page{width:min(720px,calc(100% - 40px));min-height:calc(100vh - 160px);box-sizing:border-box;margin:auto;padding:54px 0 110px;line-height:2.05;letter-spacing:.04em}.reading-page .chapter-count{display:block;text-align:center;color:#999386;font-size:11px}.reading-page h1{margin:10px 0 17px;text-align:center;font-size:1.38em;font-weight:500}.reading-page>i{width:30px;height:1px;display:block;margin:0 auto 38px;background:#aaa394}.reading-page p{margin:0 0 1.4em;text-align:justify;text-indent:2em}.reader-controls{position:fixed;z-index:4;right:0;bottom:0;left:0;height:64px;display:grid;grid-template-columns:1fr auto 1fr;border-top:1px solid rgba(105,100,87,.17);background:#fcf9f1f5}.theme-night .reader-controls{background:#1d201ef7}.reader-controls>button,.reader-controls div button{height:100%;display:inline-flex;align-items:center;justify-content:center;gap:4px;color:inherit;border:0;background:none;font:inherit}.reader-controls>button:disabled{opacity:.28}.reader-controls>button:last-child{justify-self:end;padding-right:24px}.reader-controls>button:first-child{justify-self:start;padding-left:24px}.reader-controls>div{display:flex}.reader-controls div button{padding:0 15px;color:#74776f;font-size:12px}.toc-mask{position:fixed;z-index:9;top:0;right:0;bottom:0;left:0;background:#14161361}.toc-mask aside{width:min(390px,86vw);height:100%;overflow:auto;color:#30322e;background:#fbf9f2;box-shadow:8px 0 30px #0000002e}.toc-mask header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:24px 20px 16px;border-bottom:1px solid #e3ded2;background:#fbf9f2}.toc-mask header div{display:grid}.toc-mask header small{color:#8b877d}.toc-mask header button{border:0;background:none}.toc-mask aside>button{width:100%;display:flex;gap:14px;padding:14px 20px;text-align:left;color:inherit;border:0;border-bottom:1px solid #eee9df;background:none;font:inherit}.toc-mask aside>button span{color:#999386}.toc-mask aside>button.active{color:#285b44;background:#eef1ea}.reader-error{min-height:100vh;display:grid;place-content:center;gap:14px;text-align:center;background:#f5f1e7}.reader-error a{color:#315c47}@media(max-width:760px){.book-grid{grid-template-columns:1fr}.book-card{grid-template-columns:90px 1fr}.shelf-hero{padding-top:46px;padding-bottom:42px}.shelf-hero h1{font-size:30px}.shelf-header{height:66px}.reading-page{width:calc(100% - 38px);padding-top:42px}}
