:root{--green:#173f36;--green-soft:#e9efea;--ink:#252e2a;--muted:#7b817b;--line:#e4e5de;--paper:#f8f9f5;--gold:#aa8155;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #4a806c;outline-offset:3px}button{color:inherit}button,input,select{border-radius:7px}button{background:none;border:0}input,select{border:1px solid var(--line);background:#fff;color:var(--ink)}[hidden]{display:none!important}.sidebar{width:226px;height:100dvh;position:fixed;left:0;top:0;background:#f0f2eb;border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-size:24px;font-weight:650;letter-spacing:2px}.brand-icon{width:42px;height:46px;display:grid;place-items:center;background:var(--green);color:#f5f3e7;font-family:serif;font-size:27px;border-radius:9px 9px 3px 9px;font-weight:400}.brand small{display:block;font-size:10px;letter-spacing:1.4px;font-weight:400;color:var(--muted);margin-top:4px}.nav-caption{margin:48px 12px 16px;color:#92968c;font-size:11px;letter-spacing:2px}.nav-item{display:flex;align-items:center;gap:10px;text-align:left;padding:14px 13px;font-size:13px;margin-bottom:6px}.nav-item>span:first-child{font-size:18px}.nav-item.active{background:var(--green);color:#fff}.count{margin-left:auto;font-size:10px;background:#ffffff21;padding:3px 6px;border-radius:4px}.sidebar-note{margin:auto 12px 40px;padding-top:60px}.little-line{display:block;width:24px;height:2px;background:#b8bda7}.sidebar-note p{font:16px/1.8 "Songti SC",SimSun,serif;color:#596255}.sidebar-note small{font-size:10px;color:#969b8c}.sidebar-bottom{font-size:11px;display:flex;align-items:center;gap:6px;border-top:1px solid #dbdfd3;padding:22px 4px 0;color:#727a6b}.sidebar-bottom button{margin-left:auto;color:#777;font-size:11px}.status-dot{width:5px;height:5px;border-radius:50%;background:#61916d}main{margin-left:226px}.topbar{height:70px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:12px;color:#777e74;background:#fbfcf8}.slash{margin:0 15px;color:#b6bbae}.top-note{font-size:11px;letter-spacing:1px;color:#9aa08e}.workspace{max-width:1530px;margin:auto;padding:40px 42px 22px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2.8px;color:#81907a;margin:0 0 12px}.page-heading h1{font-size:31px;font-weight:600;letter-spacing:1px;margin:0 0 13px}.heading-dot{color:#a48d66;margin-left:4px}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.secondary{background:#fff;border:1px solid #dce0d5;padding:9px 13px;font-size:12px;white-space:nowrap}.secondary:hover{background:#f0f3e9}.primary{background:var(--green);color:white;padding:13px 20px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.stat{background:#fff;border:1px solid var(--line);text-align:left;padding:21px 24px;border-radius:10px;position:relative}.stat>span{display:flex;justify-content:space-between;color:#6c7667;font-size:12px}.stat i{font-size:10px;color:#c1c7b9;font-style:normal;letter-spacing:1px}.stat strong{display:block;font-size:34px;font-weight:450;letter-spacing:-1px;margin:12px 0 5px;font-variant-numeric:tabular-nums}.stat small{font-size:10px;color:#959c8c}.stat.selected{background:var(--green);border-color:var(--green);color:#fff}.stat.selected>span,.stat.selected small{color:#bbcbc1}.stat.selected i{color:#708e7f}.collection-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:20px;gap:15px}.tabs{display:flex;gap:24px}.tab{border-radius:0;padding:12px 0 15px;font-size:13px;color:#89907f;position:relative;white-space:nowrap}.tab.active{color:var(--green);font-weight:600}.tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--green)}.sync-info{font-size:10px;color:#909784}.sync-info.warn{color:#ae723e}.filters{display:flex;gap:9px;align-items:center}.search{flex:1;position:relative;min-width:120px}.search input{height:40px;width:100%;padding:0 52px 0 35px;font-size:12px}.search>span{position:absolute;left:13px;top:6px;font-size:22px;color:#939b89}.search kbd{position:absolute;right:10px;top:12px;font:10px sans-serif;color:#a2a997}.filters select{height:40px;font-size:11px;padding:0 25px 0 10px;max-width:155px}.results-meta{display:flex;gap:12px;align-items:center;font-size:11px;color:#8a927f;margin:20px 0 14px}.sort-label{margin-left:auto;font-size:10px}.results-meta button{font-size:11px;color:var(--green)}.materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.material{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:9px;text-align:left;padding:21px 21px 16px;min-height:242px;transition:transform .15s,border-color .15s,box-shadow .15s}.material:hover{border-color:#a7b8a2;transform:translateY(-2px);box-shadow:0 6px 20px #29402e08}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:10px;color:#8f9686;gap:8px}.card-index{font-size:10px;letter-spacing:1.2px;color:#b3baaa}.pill{display:inline-block;background:#f0f2ec;border:1px solid #e7eadf;border-radius:4px;padding:3px 6px;font-size:9px;color:#8e957f;white-space:nowrap}.pill.ready{background:#edf5ec;border-color:#dce8d9;color:#4c7750}.material h2{font-size:17px;font-family:"Songti SC","Noto Serif CJK SC","Microsoft YaHei",serif;line-height:1.6;font-weight:600;margin:0 0 10px;color:#24362c}.tag-list{display:flex;gap:5px;flex-wrap:wrap}.tag{font-size:9px;background:#f5f6f1;color:#939984;padding:3px 6px;border-radius:3px}.card-reason{font-size:11px;line-height:1.9;color:#7b8472;margin:12px 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-footer{border-top:1px solid #eff1e9;padding-top:12px;margin-top:auto;display:flex;justify-content:space-between;font-size:10px;color:#9aa28d;gap:6px}.card-arrow{color:#5b7960}.pagination{display:flex;justify-content:space-between;align-items:center;margin:25px 0 35px;font-size:11px;color:#8c9381}.pagination>div{display:flex;gap:15px;align-items:center}.workspace-foot{font-size:10px;color:#a6ae98;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;letter-spacing:.4px}.empty{text-align:center;padding:55px 20px;background:white;border:1px dashed var(--line);border-radius:10px}.empty>span{font-size:40px;color:#a0ad95}.empty h2{font-size:17px;font-weight:500}.empty p{font-size:12px;color:var(--muted);margin-bottom:22px}.error{font-size:12px;line-height:1.7;color:#b95845}.error:not(:empty){padding:12px;background:#fcf1ed;border-radius:6px;margin-bottom:12px}.skeleton{height:245px;border:1px solid var(--line);border-radius:9px;background:linear-gradient(100deg,#f0f2eb 20%,#fff 50%,#f0f2eb 80%);background-size:200% 100%;animation:shine 1.5s infinite}@keyframes shine{to{background-position:-200% 0}}.login-screen{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 15% 15%,#e5ecdd,transparent 55%),var(--paper);padding:25px}.login-card{width:min(460px,100%);background:#fff;padding:45px;border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 80px #2e43250a}.login-card .brand-icon{margin-bottom:32px}.login-card h1{font:25px/1.6 "Songti SC",serif;margin:18px 0 12px}.login-card form{margin-top:30px}.login-card label{display:block;font-size:12px;color:#6b7560;margin-bottom:10px}.login-card input{width:100%;padding:13px}.login-card .primary{width:100%;margin-top:14px;display:flex;justify-content:space-between}.login-foot{border-top:1px solid var(--line);padding-top:25px;margin-top:28px;font-size:13px}.login-foot span{float:right;font-size:10px;color:var(--muted)}dialog{border:0;padding:0;margin:0 0 0 auto;max-height:100dvh;height:100dvh;width:min(700px,100%);max-width:100%;background:#fbfcf8;color:var(--ink);box-shadow:-10px 0 50px #1b312524}dialog::backdrop{background:#20312766;backdrop-filter:blur(2px)}.detail-shell{height:100%;overflow:auto}.detail-top{display:flex;justify-content:space-between;align-items:center;padding:15px 30px;border-bottom:1px solid var(--line);font-size:12px;color:#77806e;position:sticky;top:0;background:#fbfcf8;z-index:1}.detail-top button{font-size:28px;font-weight:300;width:32px}.detail-body{padding:32px}.detail-body h1{font:27px/1.6 "Songti SC",serif;margin:14px 0}.detail-meta{font-size:11px;color:#8a937c;margin:14px 0 25px;line-height:2}.detail-actions{display:flex;gap:10px;margin:24px 0}.detail-section{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.section-label{font-size:11px;letter-spacing:2px;color:#819070;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center}.reading-text{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/2.1 "Songti SC",SimSun,serif;color:#374335}.reason-text{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.missing-text{background:#eff2e9;border-radius:7px;padding:20px;color:#8a947b;font-size:12px;line-height:1.9}.detail-body details summary{cursor:pointer;font-size:13px;padding:10px 0;color:#526847}.detail-body details .reading-text{margin-top:20px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:12px 22px;border-radius:7px;font-size:12px;z-index:5}body:has(dialog[open]){overflow:hidden}@media(min-width:1600px){.materials{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:190px;padding:28px 15px}main{margin-left:190px}.workspace{padding:28px}.topbar{padding:0 28px}.materials{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{flex-wrap:wrap}.search{flex-basis:100%}.sync-info{max-width:175px;line-height:1.7}.stat{padding:18px}.stat small{font-size:9px}}@media(max-width:700px){.sidebar{position:static;height:auto;width:100%;padding:16px 20px;flex-direction:row;justify-content:space-between;align-items:center;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px}.brand-icon{width:33px;height:36px;font-size:22px}.brand small{font-size:8px}.sidebar .nav-caption,.sidebar .nav-item,.sidebar-note{display:none}.sidebar-bottom{border:0;padding:0;gap:10px}.sidebar-bottom .status-dot{display:none}.sidebar-bottom button{margin-left:5px}main{margin-left:0}.topbar{display:none}.workspace{padding:26px 18px}.page-heading h1{font-size:27px}.eyebrow{font-size:8px}.page-heading .muted{font-size:11px;max-width:225px}.page-heading{gap:8px}.page-heading .secondary{font-size:11px;padding:9px}.stats{gap:8px;margin-bottom:23px}.stat{padding:14px 11px}.stat>span{font-size:10px}.stat i,.stat small{display:none}.stat strong{font-size:27px;margin-bottom:0}.collection-toolbar{flex-direction:column;align-items:flex-start;gap:0}.tabs{gap:22px}.tab{font-size:12px}.sync-info{max-width:100%;padding:8px 0}.filters select{flex:1;min-width:0;max-width:none;font-size:10px;padding-right:15px}.filters>.secondary{padding:10px}.materials{grid-template-columns:1fr;gap:12px}.material{min-height:205px;padding:19px}.sort-label{font-size:9px}.pagination{flex-direction:column;gap:18px}.workspace-foot span{display:none}.detail-body{padding:24px 20px}.detail-body h1{font-size:24px}.detail-top{padding:13px 20px}.login-card{padding:30px 25px}.reading-text{font-size:16px}}
