:root{--bg:#f7f8fa;--paper:#fff;--side:#f0f2f4;--ink:#202b2c;--muted:#778182;--line:#e3e7e7;--green:#355f52;--soft:#eaf0ed;--shadow:0 6px 24px #263b3405;--reader-size:18px;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.65 'Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #83ad9d;outline-offset:3px}button{border:0;background:none}svg{display:block}h1,h2,h3,p{margin-top:0}input,textarea,select{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px}input,select{padding:10px 12px}textarea{width:100%;resize:vertical;padding:16px;line-height:1.9}label{display:block;font-weight:500;margin:18px 0 7px}small,.muted{color:var(--muted)}.skip{position:fixed;left:20px;top:-80px;z-index:99;background:var(--paper);padding:12px}.skip:focus{top:8px}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:var(--side);border-right:1px solid var(--line);padding:33px 23px 24px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:700;letter-spacing:.03em}.brand-mark{width:37px;height:40px;background:var(--green);color:white;border-radius:9px 9px 3px 9px;display:grid;place-items:center;font-family:serif;font-size:24px;font-weight:400}.brand small{font-size:8px;letter-spacing:.13em;display:block;font-weight:500;margin-top:3px}.workspace-label{font-size:10px;letter-spacing:.09em;color:var(--muted);margin:48px 12px 13px;display:flex;justify-content:space-between}.workspace-label span{font-size:9px;border:1px solid var(--line);padding:0 5px;border-radius:3px}nav a{display:flex;align-items:center;gap:12px;padding:11px 14px;margin:4px 0;border-radius:7px;color:#667070;font-size:13px}nav a.active{background:var(--paper);color:var(--green);font-weight:600;box-shadow:0 2px 4px #1d402b04}nav a:hover,.collection:hover{background:var(--paper)}.nav-icon{font-size:20px;line-height:1;width:20px}.nav-count{margin-left:auto;font-size:11px;color:var(--muted)}.collection-label{margin-top:31px}.collection{display:flex;gap:10px;align-items:center;padding:9px 13px;font-size:12px}.collection i{width:7px;height:7px;border-radius:50%;background:#8aab97}.collection span{margin-left:auto;color:var(--muted);font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:30px}.reading-tip{padding:17px 12px;border:1px solid #dfe5e2;border-radius:9px;background:#edf1ee}.reading-tip>span{font-size:17px;letter-spacing:.12em;color:var(--green)}.reading-tip b{font-weight:400;color:#9aafa4;font-size:20px;margin:0 6px}.reading-tip p{font-size:11px;color:#64756c;margin:12px 0 5px}.reading-tip small{font-size:9px;color:#90a096}.back-site{font-size:11px;color:var(--muted);display:block;margin:25px 7px 12px}.local-caption{font-size:9px;color:#909999;margin:0 7px;display:flex;gap:6px;align-items:center}.status-dot{width:5px;height:5px;background:#7fa58a;border-radius:50%;display:inline-block}.workspace{margin-left:242px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 45px;border-bottom:1px solid var(--line);background:var(--bg)}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#c0c7c5}.topbar-right{display:flex;gap:20px;align-items:center}.avatar{width:29px;height:29px;border-radius:50%;background:#e4e9e5;display:grid;place-items:center;font-size:11px;color:#60766a}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;font-size:20px;border-radius:7px}.icon-button:hover{background:var(--soft)}.mobile-only{display:none}main{width:100%;max-width:1440px;margin:auto;padding:40px 45px 50px;flex:1}.eyebrow{font-size:10px;letter-spacing:.19em;color:var(--green);margin-bottom:9px;font-weight:600}.page-head{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:30px}.page-head h1{font-size:29px;line-height:1.4;letter-spacing:-.04em;font-weight:600;margin:0 0 9px}.page-head p{font-size:12px;color:var(--muted);margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid var(--line);border-radius:7px;background:var(--paper);font-size:12px;white-space:nowrap}.button:hover{border-color:#9cb2a8;background:var(--soft)}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{filter:brightness(1.1)}.button.text{background:transparent;border-color:transparent;color:var(--green)}.plus{font-size:20px;line-height:1}.overview-strip{display:grid;grid-template-columns:1fr 1fr 1fr 1.7fr;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:20px 0;margin-bottom:33px;box-shadow:var(--shadow)}.stat{padding:0 25px;border-right:1px solid var(--line)}.stat strong{font-family:Georgia,serif;font-size:27px;font-weight:400;line-height:1.2}.stat small{display:block;margin-top:6px;font-size:10px}.stat-quote{padding:0 24px;align-self:center;color:#738279;font-size:12px;line-height:1.8}.stat-quote small{display:block;font-size:9px;color:#9ba49e;margin-top:4px;letter-spacing:.08em}.library-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;flex-wrap:wrap}.filters{display:flex;gap:17px;align-self:stretch}.filter{font-size:12px;color:var(--muted);padding:11px 2px;border-bottom:2px solid transparent}.filter.active{border-color:var(--green);color:var(--green);font-weight:600}.filter span{font-size:10px;margin-left:5px}.search-wrap{position:relative;min-width:260px}.search-wrap>span{position:absolute;top:8px;left:12px;font-size:19px;color:#99a5a0}.search-wrap input{padding:9px 30px 9px 35px;width:100%;font-size:11px}.search-wrap button{position:absolute;right:6px;top:6px}.list-caption{display:flex;justify-content:space-between;margin-bottom:13px;font-size:10px;color:var(--muted)}.paper-list{display:grid;gap:16px}.paper-card{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:24px;display:grid;grid-template-columns:174px minmax(0,1fr);gap:27px;box-shadow:var(--shadow);transition:border-color .2s,transform .2s}.paper-card:hover{border-color:#bccdc4;transform:translateY(-2px)}.card-art{border-radius:8px;min-height:193px;overflow:hidden;display:flex;flex-direction:column;position:relative;padding:17px;align-self:stretch}.card-art.green{background:#edf2eb;color:#45614f}.card-art.blue{background:#edf0f7;color:#5f739b}.card-art.peach{background:#f7efe6;color:#a18260}.art-top{font-size:8px;letter-spacing:.12em;display:flex;justify-content:space-between;z-index:1}.art-main{flex:1;display:grid;place-items:center}.art-main svg{width:138px;height:90px}.art-bottom{display:flex;align-items:flex-end;justify-content:space-between}.art-bottom strong{font:26px/1.1 Georgia,serif;letter-spacing:-.02em}.art-bottom span{font-size:8px;opacity:.6}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.tag{display:inline-flex;padding:3px 7px;border:1px solid var(--line);border-radius:4px;font-size:9px;color:var(--muted);line-height:1.5}.tag.filled{background:var(--soft);color:var(--green);border-color:transparent}.meta-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.meta-row .muted{font-size:10px}.save-button{font-size:20px;line-height:1;width:28px;height:28px;color:#9aa5a0;border-radius:4px}.save-button.saved{color:#b5904a}.paper-card h2{font-size:19px;font-weight:600;line-height:1.5;letter-spacing:-.03em;margin:0 0 4px}.paper-card h2 a:hover{color:var(--green)}.card-title-en{font:12px/1.65 Georgia,'Times New Roman',serif;color:#7c8584;max-width:710px;margin:0 0 10px}.card-desc{font-size:11px;color:#77817d;margin-bottom:15px}.card-bottom{border-top:1px solid var(--line);padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-bottom .tags{display:flex;gap:6px;flex-wrap:wrap}.read-link{color:var(--green);font-size:11px;font-weight:500;white-space:nowrap}.read-link span{margin-left:12px}.read-state{font-size:9px;color:var(--muted);margin-right:10px}.library-end{padding:25px 0 5px;text-align:center;font-size:10px;color:#9aa3a0}.app-footer{display:flex;justify-content:space-between;margin:0 45px;padding:20px 0 25px;border-top:1px solid var(--line);font-size:9px;letter-spacing:.06em;color:#9ba3a0}.app-footer b{font-weight:400;margin:0 10px}.reader-head{max-width:930px;margin-bottom:25px}.reader-back{font-size:11px;color:var(--muted);display:inline-block;margin-bottom:27px}.reader-head h1{font:500 31px/1.45 Georgia,'Noto Serif SC',serif;letter-spacing:-.025em;margin:15px 0 10px}.reader-title-zh{font-size:17px;color:#687a70;margin-bottom:16px}.reader-meta{font-size:11px;color:var(--muted)}.reader-meta span{margin:0 8px;color:#c2ccc6}.reader-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:19px 0 0}.reader-layout{display:grid;grid-template-columns:minmax(0,860px) 160px;gap:38px}.reading-content{min-width:0}.reader-toolbar{position:sticky;top:0;z-index:12;background:var(--bg);padding:12px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:21px;gap:10px}.segments{display:flex;background:var(--side);border:1px solid var(--line);border-radius:6px;padding:3px;gap:2px}.segments button{padding:5px 11px;font-size:10px;color:var(--muted);border-radius:4px}.segments button.active{background:var(--paper);color:var(--green);box-shadow:0 1px 3px #00000008}.font-controls{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.font-controls button{font-family:Georgia,serif;border:1px solid var(--line);padding:4px 9px;border-radius:5px}.toc{position:sticky;top:45px;align-self:start;padding-top:18px}.toc-title{font-size:10px;letter-spacing:.13em;color:var(--muted);margin-bottom:16px}.toc a{font-size:11px;color:var(--muted);display:block;padding:7px 0 7px 13px;border-left:1px solid var(--line);line-height:1.7}.toc a:hover{color:var(--green);border-color:var(--green)}.toc .toc-progress{border-top:1px solid var(--line);padding-top:18px;margin-top:23px;color:var(--muted);font-size:10px}.progress-track{height:3px;background:var(--line);border-radius:9px;margin-top:9px;overflow:hidden}.progress-fill{height:100%;background:#7ea28d;width:0}.summary-box{background:var(--soft);border:1px solid #dce6df;border-radius:10px;padding:27px 29px;margin-bottom:28px}.summary-label{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.11em;color:var(--green);margin-bottom:14px}.summary-box h2{font-size:19px;line-height:1.8;font-weight:500;letter-spacing:-.02em;margin-bottom:16px}.summary-box ul{padding-left:18px;margin:0;font-size:12px;color:#697b70;line-height:2}.metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:23px;padding-top:21px;border-top:1px solid #d6e1da;gap:12px}.metrics strong{display:block;font:27px/1.3 Georgia,serif;color:var(--green)}.metrics small{display:block;font-size:9px;margin-top:5px}.notice{font-size:11px;line-height:1.9;color:var(--muted);border-left:2px solid #b5c7bb;padding:0 0 0 13px;margin:0 0 30px}.article-section{scroll-margin-top:83px;margin:0 0 35px;padding:0 0 28px;border-bottom:1px solid var(--line)}.article-section h2{font-size:24px;font-weight:600;letter-spacing:-.025em;margin-bottom:8px}.section-label{font-size:9px;color:var(--muted);letter-spacing:.04em;margin-bottom:23px}.pair{margin:0 0 27px}.pair:last-child{margin-bottom:0}.pair p{font-size:var(--reader-size);line-height:1.95;margin:0 0 17px;overflow-wrap:anywhere}.pair .en{font-family:Arial,'Helvetica Neue',sans-serif;letter-spacing:.005em;color:var(--ink)}.pair .zh{font-family:'Noto Sans SC',sans-serif;color:#53615b;line-height:2}.language-en .zh,.language-zh .en{display:none}.after-note{font-size:11px;color:var(--muted);background:var(--side);padding:13px 15px;border-radius:5px;margin-top:22px}.questions{display:grid;gap:10px;counter-reset:question}.question{display:flex;gap:13px;border:1px solid var(--line);border-radius:7px;background:var(--paper);padding:15px;font-size:12px}.question:before{counter-increment:question;content:'0' counter(question);font:15px Georgia,serif;color:#99aaa0}.sources{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.citation{border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:15px;font-size:12px}.citation summary{cursor:pointer;color:var(--green);font-size:11px}.citation pre{font:11px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;padding-top:10px;color:var(--muted)}.note-header{display:flex;justify-content:space-between;align-items:center}.note-header small{font-size:9px}.note-help{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-top:8px}.note-card{padding:23px;background:var(--paper);border:1px solid var(--line);border-radius:10px;margin-bottom:15px}.note-card h2{font-size:17px;margin-bottom:12px}.note-card p{white-space:pre-wrap;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.note-card a{color:var(--green);font-size:11px}.empty{border:1px dashed #cbd5ce;border-radius:12px;padding:65px 30px;text-align:center;color:var(--muted);background:var(--paper)}.empty .empty-icon{font-size:38px;color:#a5b9aa}.empty h2{font-size:19px;font-weight:500;color:var(--ink);margin:12px 0}.empty p{font-size:12px}.queue-row{padding:20px 23px;background:var(--paper);border:1px solid var(--line);border-radius:8px;display:flex;justify-content:space-between;gap:15px;margin-bottom:12px}.queue-row h3{font-size:14px;margin:0 0 6px;overflow-wrap:anywhere}.queue-row a{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.queue-row>div{min-width:0}.queue-row small{display:block;margin-top:6px;font-size:9px}.queue-help{border-radius:8px;background:var(--soft);padding:20px 23px;font-size:12px;color:#687b70;margin-bottom:23px}.queue-help p{margin:0 0 6px}.queue-help p:last-child{margin-bottom:0}dialog{padding:29px;border:1px solid var(--line);border-radius:13px;width:min(460px,90vw);background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #102d2833}dialog::backdrop{background:#243e3655;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{font-size:22px;margin:0}.dialog-head+p{font-size:12px;margin-top:7px}dialog input{width:100%;font-size:12px}dialog label{font-size:12px}.dialog-note{font-size:11px;color:var(--muted);margin-top:18px}.dialog-note+.button{width:100%}#add-error{color:#a25043;font-size:11px}.toast{position:fixed;bottom:28px;left:calc(50% + 100px);transform:translateX(-50%) translateY(20px);padding:11px 22px;border-radius:8px;background:#294a3e;color:#fff;box-shadow:0 7px 30px #0002;font-size:12px;z-index:99;opacity:0;pointer-events:none;transition:.2s;max-width:85vw;text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
[data-theme=dark]{--bg:#1b2321;--paper:#232d29;--side:#18201d;--ink:#e0e9e3;--muted:#99aaa0;--line:#34443b;--green:#99c7ac;--soft:#283b31;color-scheme:dark}[data-theme=dark] .button.primary{background:#3b7257;color:white;border-color:#3b7257}[data-theme=dark] .reading-tip{background:#24382c;border-color:#344e3d}[data-theme=dark] .summary-box{border-color:#39523f}[data-theme=dark] .summary-box ul,[data-theme=dark] .pair .zh{color:#aebeb2}[data-theme=dark] .brand-mark{background:#3b7257}[data-theme=dark] .card-art{filter:brightness(.78)}[data-theme=dark] .queue-help{color:#b6cbbc}[data-theme=dark] .metrics{border-color:#3a5040}
@media(min-width:1600px){main{padding-left:65px;padding-right:65px}.paper-card{grid-template-columns:200px minmax(0,1fr)}.card-art{min-height:200px}.paper-card h2{font-size:22px}}
@media(max-width:1200px){.sidebar{width:220px;padding-left:17px;padding-right:17px}.workspace{margin-left:220px}main{padding:32px}.topbar{padding:0 32px}.app-footer{margin:0 32px}.reader-layout{grid-template-columns:minmax(0,1fr)}.toc{display:none}.paper-card{grid-template-columns:145px minmax(0,1fr);gap:22px}.card-art{padding:13px}.art-main svg{width:120px}.stat-quote{font-size:10px}.reader-head h1{font-size:28px}}
@media(max-width:900px){.overview-strip{grid-template-columns:repeat(3,1fr)}.stat-quote{display:none}.stat:last-of-type{border-right:0}.paper-card{grid-template-columns:115px minmax(0,1fr);padding:18px;gap:17px}.art-main svg{width:95px}.art-bottom strong{font-size:20px}.paper-card h2{font-size:17px}.card-bottom{flex-wrap:wrap}.filters{gap:13px}.search-wrap{min-width:230px;flex:1}.sidebar{width:200px;padding:29px 12px 20px}.brand{font-size:16px}.brand small{font-size:7px}.workspace{margin-left:200px}main{padding:28px 23px}.topbar{padding:0 23px}.app-footer{margin:0 23px}.page-head h1{font-size:25px}.summary-box{padding:23px}.page-head p{max-width:300px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:242px;transition:transform .2s;box-shadow:10px 0 30px #0001}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-only{display:inline-grid}.topbar{height:60px;padding:0 18px;position:relative}.breadcrumb{margin-right:auto;margin-left:10px;font-size:10px}.topbar-right{gap:8px}.topbar .avatar{display:none}main{padding:27px 18px 35px}.page-head{gap:13px;margin-bottom:22px;align-items:flex-start}.page-head h1{font-size:25px}.page-head p{font-size:11px}.page-head>.button{font-size:10px;padding:8px 10px;margin-top:20px}.overview-strip{padding:17px 0;margin-bottom:23px}.stat{padding:0 18px}.stat strong{font-size:25px}.stat small{font-size:9px}.search-wrap{min-width:100%;order:-1}.library-controls{gap:9px}.filters{gap:25px;width:100%}.paper-card{grid-template-columns:1fr;padding:19px;gap:0}.card-art{display:none}.card-title-en{font-size:12px}.paper-card h2{font-size:18px}.card-desc{font-size:11px}.card-bottom .tags .tag{font-size:8px}.card-bottom{gap:10px}.app-footer{margin:0 18px;font-size:8px}.reader-head h1{font-size:26px;line-height:1.5}.reader-title-zh{font-size:15px}.reader-back{margin-bottom:20px}.reader-meta{font-size:10px}.reader-actions .button{font-size:10px;padding:8px 10px}.reader-toolbar{padding:10px 0}.segments button{padding:5px 9px}.font-controls{gap:5px}.font-controls>span{display:none}.summary-box{padding:20px}.summary-box h2{font-size:17px}.summary-box ul{font-size:11px}.metrics strong{font-size:23px}.metrics small{font-size:8px}.metrics{gap:8px}.article-section h2{font-size:22px}.pair p{font-size:calc(var(--reader-size) - 1px);line-height:1.9}.pair .zh{line-height:2}.note-help{font-size:9px}.toast{left:50%}.reader-head{margin-bottom:13px}.queue-row{padding:17px}.queue-help{font-size:11px}.page-head .actions{display:flex;flex-direction:column;gap:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.paper-card:hover{transform:none}}
@media print{.sidebar,.topbar,.app-footer,.reader-toolbar,.toc,.reader-actions,.reader-back,.toast,#notes,.citation button{display:none!important}.workspace{margin:0}main{padding:0;max-width:none}.reader-layout{display:block}.summary-box{break-inside:avoid}.pair p{font-size:12pt}.article-section h2{font-size:20pt}body{background:white;color:black}a{color:inherit}}
