:root{--ink:#232727;--muted:#818783;--red:#bd3037;--line:#e3e5e0;--bg:#f5f6f2;--green:#437664}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue','PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bd303790;outline-offset:3px}h1,h2,h3,h4,p{margin-top:0}p{line-height:1.8}.topbar{height:88px;padding:0 36px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark{display:flex;align-items:center;gap:11px}.wordmark span{font-size:15px;font-weight:600}.wordmark small{display:block;font-size:7px;letter-spacing:1.6px;color:#9b9f9b;font-weight:400;margin-top:5px}.role-switch{background:#f2f3ef;border-radius:30px;padding:4px;display:flex;gap:3px}.role-switch button{border:0;background:transparent;padding:10px 24px;border-radius:25px;font-size:12px;min-height:40px;color:#7d827c}.role-switch button[aria-pressed=true]{background:#292d2c;color:white}.back{font-size:11px;color:#7c827b}.shell{display:grid;grid-template-columns:220px 1fr;min-height:calc(100svh - 88px)}.sidebar{padding:35px 20px;border-right:1px solid var(--line);background:#fafbf8;position:relative}.sidebar>p{font-size:10px;color:#8c928a;letter-spacing:2px;padding:0 14px;margin-bottom:23px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:13px;border:0;text-align:left;min-height:45px;padding:13px 14px;background:transparent;color:#7f8680;border-radius:8px;font-size:12px}.sidebar nav button.active{background:#ede1df;color:#aa3339}.nav-icon{font-size:17px;width:21px}.sidebar-note{position:sticky;top:calc(100vh - 170px);margin:70px 12px 0;font-size:10px;color:#7a8179;line-height:1.9}.sidebar-note i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#799a82;margin-right:6px}.sidebar-note p{font-size:9px;color:#a0a69c;margin:10px 0}.quiet{border:0;background:none;padding:8px 0;color:#858b83;font-size:10px;min-height:36px}#workspace{width:100%;max-width:1380px;padding:46px 5%;min-width:0;outline:none}.eyebrow{font-size:9px;color:#92998f;letter-spacing:2px;margin-bottom:18px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}.page-head h1{font-size:32px;font-weight:550;letter-spacing:-1px;margin-bottom:10px}.page-head p{font-size:12px;color:var(--muted);margin-bottom:0}.badge{border:1px solid #dce1d9;font-size:9px;padding:6px 10px;border-radius:20px;color:#8a9185;white-space:nowrap;display:inline-block}.primary,.secondary{border:0;min-height:44px;padding:12px 20px;border-radius:7px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:20px}.primary{background:#272d2a;color:white}.primary:hover{background:#414b44}.secondary{background:white;border:1px solid #dce1d8}.primary.red{background:var(--red)}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:23px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:white;border-radius:12px;margin-bottom:30px;padding:23px 0}.metric{padding:0 24px;border-right:1px solid var(--line);min-width:0}.metric:last-child{border:0}.metric span{font-size:10px;color:#8a9286}.metric strong{display:block;font-size:29px;font-weight:500;margin:12px 0 4px}.metric small{font-size:9px;color:#9aa093}.grid-two{display:grid;grid-template-columns:1.45fr 1fr;gap:25px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:24px;min-width:0}.panel h2{font-size:17px;font-weight:550;margin:0 0 20px}.panel h3{font-size:15px;font-weight:500;margin-bottom:10px}.panel p{font-size:12px;color:#858c81}.section-line{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.section-line h2{margin:0}.section-line span{font-size:10px;color:#8c9387}.course-cover{background:#e8eae5;border-radius:9px;padding:26px;position:relative;overflow:hidden;min-height:170px;margin-bottom:24px}.course-cover h2{font-size:24px;line-height:1.5;position:relative;z-index:1;margin-bottom:18px}.course-cover img{position:absolute;width:270px;right:-24px;bottom:-55px;opacity:.6}.course-cover .eyebrow{position:relative;z-index:1;font-size:8px}.progress-track{height:5px;background:#edf0e8;border-radius:8px;overflow:hidden}.progress-track>span{height:100%;background:var(--green);display:block}.path-item{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #edf0e8}.path-item:last-child{border-bottom:0;padding-bottom:0}.path-number{border:1px solid #e1e5db;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font-size:12px;color:#92998a;flex-shrink:0}.path-number.done{background:#e6efe8;border-color:#e6efe8;color:#487258}.path-item h3{font-size:13px;margin:0 0 5px}.path-item p{font-size:10px;margin:0;color:#959d8e}.path-item button{margin-left:auto;border:0;background:none;padding:12px;color:#687560;font-size:11px;min-height:44px;white-space:nowrap}.empty{border:1px dashed #dde3d6;border-radius:8px;padding:25px 20px;text-align:center;color:#8d9585;font-size:12px;line-height:1.8}.empty p{font-size:11px;margin:8px 0 0}.task{border-bottom:1px solid #eaeee4;padding:16px 0}.task:last-child{border:0}.task h3{font-size:13px;margin:8px 0}.task p{font-size:10px;margin:0 0 9px}.status{font-size:9px;color:#8f9786;display:inline-block;padding:4px 8px;background:#f2f4ef;border-radius:4px}.status.ok{background:#e7f0e9;color:#4a7859}.status.return{background:#fff0de;color:#9b7440}.hint{font-size:11px;color:#8b9383;line-height:1.9;margin:22px 0}.chapter-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.chapter-card{background:#fff;border:1px solid var(--line);padding:27px;border-radius:12px}.chapter-card>.eyebrow{margin-bottom:25px}.chapter-card h2{font-size:20px;font-weight:500;margin-bottom:12px}.chapter-card p{color:#8a9281;font-size:12px;line-height:1.8}.chapter-meta{display:flex;gap:16px;margin-top:22px;color:#969d8c;font-size:10px}.source{font-size:10px;color:#8e9884;line-height:1.8;border-top:1px solid #e7ecdf;padding-top:18px;margin-top:25px}.source a{text-decoration:underline;text-underline-offset:3px}.lesson-block{padding:23px 0;border-bottom:1px solid #edf0e8}.lesson-block h2{font-size:20px;margin-bottom:13px}.lesson-block p{font-size:14px;line-height:2;color:#6f7969;max-width:760px}.concept-flow{display:flex;align-items:center;gap:20px;margin:30px 0;flex-wrap:wrap}.concept-flow b{background:#f0f3eb;padding:20px 26px;font-size:13px;font-weight:500;border-radius:8px}.concept-flow span{color:#9fa792}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 24px;flex-wrap:wrap}.toolbar input{min-width:220px;flex:1;max-width:440px}.field,select,textarea,input[type=search],input[type=date],input[type=text]{border:1px solid #dbe1d3;background:#fff;border-radius:7px;padding:12px 14px;font-size:12px;color:#47503f;min-height:44px;width:100%}textarea{min-height:105px;resize:vertical;line-height:1.8}.filter-chips{display:flex;gap:7px;flex-wrap:wrap}.filter-chips button{border:1px solid #dfe5d7;background:white;padding:10px 15px;font-size:11px;border-radius:22px;min-height:40px}.filter-chips button.active{background:#2f382a;border-color:#2f382a;color:white}.question-row{padding:20px 0;border-bottom:1px solid #e7ecdf;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.question-row:last-child{border:0}.question-row h3{font-size:13px;line-height:1.8;margin:7px 0}.question-row small{font-size:10px;color:#939d88}.star{border:1px solid #e1e7d9;border-radius:6px;background:white;font-size:19px;padding:7px 12px;min-height:40px;color:#9da692;flex-shrink:0}.star.selected{color:#b37630;background:#fff8e9;border-color:#ecd9b9}.quiz-wrap{max-width:820px;margin:auto}.quiz-progress{display:flex;justify-content:space-between;font-size:10px;color:#929d85;margin:18px 0 12px}.quiz-wrap .panel{padding:35px}.question-title{font-size:23px!important;font-weight:500;line-height:1.7;margin:27px 0!important}.options{display:grid;gap:12px}.option{border:1px solid #dfe6d6;border-radius:8px;padding:16px;display:flex;align-items:center;gap:14px;font-size:13px;line-height:1.6;cursor:pointer}.option input{accent-color:var(--green);width:16px;height:16px;margin:0}.option:has(input:checked){border-color:#7f9a70;background:#f0f5e9}.option.correct{border-color:#64916d;background:#eff7ee}.option.wrong{border-color:#c9837f;background:#fff1ef}.feedback{background:#f3f6ee;border-radius:8px;padding:22px;margin-top:20px;font-size:13px;line-height:1.9}.feedback p{font-size:12px;margin:10px 0 0;color:#78866c}.feedback a{font-size:10px;text-decoration:underline}.quiz-actions{display:flex;align-items:center;justify-content:space-between;margin-top:25px;gap:15px}.score{font-size:70px;font-weight:400;margin:22px 0}.score small{font-size:15px;color:#929e84}.result-list{margin-top:25px}.result-list details{border-top:1px solid #e3eadb;padding:16px 0}.result-list summary{cursor:pointer;font-size:13px;line-height:1.8;list-style:none}.result-list details p{padding:12px 0 0;font-size:12px;color:#869578}.lab-scene{background:#f3f5ef;border-radius:8px;padding:22px;font-size:12px;line-height:2}.lab-scene strong{display:block;margin-bottom:10px}.lab-scene ul{padding-left:20px;margin:10px 0 0}.check-list{margin:24px 0}.check-list label{display:flex;gap:11px;align-items:flex-start;font-size:12px;padding:13px 0;line-height:1.8}.check-list input{margin-top:5px;accent-color:var(--green)}.form-label{font-size:12px;display:block;margin:22px 0 10px}.form-label small{font-size:10px;color:#94a186}.notice{padding:15px 18px;background:#f7f1e7;border-radius:7px;font-size:11px;line-height:1.9;color:#9b835e;margin-bottom:20px}.review-note{border-left:3px solid #98ac87;padding:12px 17px;margin:15px 0;font-size:12px;line-height:1.9;background:#f3f7ee}.stat-row{display:flex;align-items:center;gap:20px;margin:20px 0}.stat-row>span{font-size:11px;width:135px;flex-shrink:0}.stat-row .progress-track{flex:1}.stat-row small{font-size:10px;color:#8f9c80;width:65px;text-align:right}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{text-align:left;font-weight:500;color:#8c997c;background:#f7f9f3}td,th{padding:15px 12px;border-bottom:1px solid #e6ecdd}td small{display:block;color:#97a08a;font-size:9px;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .form-label{margin-top:0}.toast-show{opacity:1!important;transform:translate(-50%,0)!important}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);background:#273024;color:white;font-size:12px;padding:14px 24px;border-radius:8px;max-width:90%;opacity:0;pointer-events:none;transition:.2s;z-index:40;text-align:center}dialog{border:1px solid #e0e7d8;border-radius:14px;width:min(460px,calc(100% - 32px));padding:30px}dialog::backdrop{background:#101a0e88;backdrop-filter:blur(4px)}dialog h2{font-size:21px}dialog p{font-size:13px;color:#89957b}.source-card h2{margin-bottom:10px}.source-card>a{font-size:12px;text-decoration:underline}.source-card small{display:block;margin-top:14px;font-size:10px;color:#95a086}.storage-warning{background:#fff2da;color:#8e6f36;padding:12px 20px;font-size:11px}.mobile-note{font-size:10px;color:#929e83}.resource-count{font-size:12px;color:#8c997b;margin:20px 0}button.text-button{border:0;background:none;padding:10px 0;color:#657957;font-size:12px;min-height:44px}.assignment-chip{margin-top:18px;color:#879974;font-size:11px}.pending-list{padding-left:19px;font-size:12px;line-height:2.2;color:#88977a}.chapter-card .primary,.chapter-card .secondary{font-size:11px;padding:10px 15px}
@media(max-width:1100px){.shell{grid-template-columns:185px 1fr}.sidebar{padding:30px 13px}#workspace{padding:35px 4%}.grid-two{grid-template-columns:1fr}.metric{padding:0 18px}.course-cover img{width:300px}.chapter-card{padding:23px}.stat-row>span{width:120px}}@media(max-width:760px){.topbar{height:auto;min-height:83px;padding:16px 20px;flex-wrap:wrap;gap:16px}.wordmark span{font-size:13px}.wordmark small{font-size:6px}.back{margin-left:auto;font-size:10px}.role-switch{order:3;width:100%;justify-content:center}.role-switch button{flex:1;padding:8px 20px}.shell{display:block}.sidebar{padding:0;border-right:0;border-bottom:1px solid var(--line)}.sidebar>p,.sidebar-note{display:none}.sidebar nav{display:flex;gap:2px;overflow:auto;padding:10px 15px}.sidebar nav button{white-space:nowrap;font-size:11px;padding:10px 12px;min-height:40px}.nav-icon{display:none}#workspace{padding:28px 20px 50px}.page-head{gap:12px;align-items:flex-start;margin-bottom:25px}.page-head h1{font-size:26px;line-height:1.4}.page-head p{font-size:11px}.page-head .badge{font-size:8px;max-width:100px;white-space:normal;text-align:center;line-height:1.6}.metrics{grid-template-columns:1fr 1fr;padding:0}.metric{padding:20px;border-bottom:1px solid var(--line)}.metric:nth-child(2){border-right:0}.metric:nth-child(n+3){border-bottom:0}.metric strong{font-size:26px}.metric span{font-size:10px}.metric small{font-size:8px}.panel{padding:21px}.chapter-grid{grid-template-columns:1fr}.chapter-card{padding:24px}.course-cover{min-height:185px;padding:22px}.course-cover h2{font-size:21px}.course-cover img{width:220px;right:-40px;bottom:-40px;opacity:.4}.path-item{gap:12px}.path-item h3{font-size:12px}.path-item p{font-size:9px}.path-item button{font-size:10px;padding:10px 4px}.quiz-wrap .panel{padding:24px 20px}.question-title{font-size:19px!important}.option{font-size:12px;padding:14px;gap:11px}.quiz-actions{flex-wrap:wrap}.quiz-actions .primary{margin-left:auto}.concept-flow{gap:10px}.concept-flow b{padding:16px;font-size:12px}.lesson-block p{font-size:12px}.toolbar input{max-width:none;min-width:0;width:100%}.filter-chips button{font-size:10px;padding:9px 12px}.question-row h3{font-size:12px}.question-row small{font-size:9px}.form-grid{grid-template-columns:1fr;gap:18px}.stat-row{gap:11px}.stat-row>span{width:106px;font-size:10px}.stat-row small{font-size:9px;width:48px}.notice{font-size:10px}.score{font-size:58px}.lesson-block h2{font-size:18px}.source-card a{font-size:11px;overflow-wrap:anywhere}.page-head .actions{margin-top:0}.page-head:has(.actions){flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* V4: a quiet, paper-like reading and teaching workspace. */
.reading-banner{background:#283531;color:#f6f7ef;padding:28px 30px;border-radius:12px;margin-bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:25px}.reading-banner small{font-size:9px;letter-spacing:2px;color:#b7c5bc}.reading-banner h2{font-size:27px;font-weight:450;margin:15px 0 8px}.reading-banner p{font-size:11px;color:#aebdb2;margin:0}.reading-banner .secondary{background:transparent;color:#e9efe8;border-color:#6c7c72;white-space:nowrap}.reader-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:32px;align-items:start}.book-toc{position:sticky;top:24px}.book-cover{background:#2e3934;color:#f3f3e9;min-height:250px;padding:28px;position:relative;overflow:hidden;border-radius:3px 12px 12px 3px;box-shadow:inset 5px 0 #ffffff18,7px 8px 20px #29352b12}.book-cover:after{content:'';position:absolute;width:210px;height:210px;border:1px solid #849b7b55;border-radius:50%;right:-100px;bottom:-50px}.book-cover small{font-size:8px;letter-spacing:2px;color:#a7b5a6}.book-cover h2{font-family:'Songti SC','SimSun',serif;font-size:37px;font-weight:500;line-height:1.5;margin:25px 0 12px}.book-cover span{font-size:9px;color:#c3cdbb}.book-cover b{display:block;font-size:10px;letter-spacing:3px;margin-top:24px;font-weight:400;color:#a6b49c}.book-toc nav{margin-top:23px;display:grid;gap:3px}.book-toc nav button{background:transparent;border:0;padding:13px 10px;text-align:left;display:flex;align-items:center;gap:11px;font-size:11px;line-height:1.5;border-radius:6px;color:#8c9586}.book-toc nav button.active{background:#e5e9df;color:#35472f}.book-toc nav span{font-size:9px;color:#a1ab98}.book-toc nav i{margin-left:auto;font-style:normal;color:#5a8050}.book-toc>p{font-size:10px;color:#a0a795;margin:22px 10px}.reader-page{background:#fffefa;border:1px solid #e4e5db;border-radius:12px;padding:44px 44px 20px;min-width:0}.reading-title{padding-bottom:29px;border-bottom:1px solid #e6e7dd}.reading-title h2{font-family:'Songti SC','SimSun',serif;font-size:31px;font-weight:550;line-height:1.5;margin:25px 0 12px}.reading-title>p:not(.eyebrow){font-size:12px;color:#7e8974}.reading-title .badge{margin-top:12px}.learning-goals{margin:30px 0 20px;padding:19px 22px;background:#f1f3eb;border-left:2px solid #91a082}.learning-goals h3{font-size:12px;font-weight:550;margin:0 0 12px}.learning-goals p{font-size:12px;color:#77866b;margin:6px 0}.reading-section{display:flex;gap:20px;padding:26px 0 5px}.reading-section>span{font-size:10px;color:#a4ad9a;margin-top:5px}.reading-section h3{font-size:17px;font-weight:500;line-height:1.6}.reading-section p{font-size:14px;line-height:2.2;color:#66745b;margin-bottom:14px}.reflection{background:#eeeae0;padding:25px 28px;margin:30px 0}.reflection h3{font-family:'Songti SC','SimSun',serif;font-size:23px;font-weight:500;margin:0 0 12px}.reflection p:last-child{font-size:13px;line-height:2;color:#7c7c67;margin:0}.reader-page textarea{background:#fffefa}.reader-page .source{margin-top:35px}.reader-pager{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e6e9dd;margin-top:25px;padding-top:18px;font-size:10px;color:#8c957e}.teaching-editor{border-top:1px solid #e0e5d7;padding-top:30px;margin-top:30px}.teaching-editor h3{font-size:20px;font-weight:500}.teaching-editor textarea{min-height:390px;font-size:13px;line-height:2}#print-content{display:none}.reader-page .actions{gap:8px}.reader-page .actions button{font-size:11px;padding:11px 14px}.reader-page .source a{overflow-wrap:anywhere}
@media(max-width:1200px){.reader-layout{grid-template-columns:185px minmax(0,1fr);gap:22px}.reader-page{padding:30px}.book-cover{padding:23px}.book-cover h2{font-size:32px}}@media(max-width:900px){.reader-layout{grid-template-columns:1fr}.book-toc{position:static}.book-cover{display:none}.book-toc nav{display:flex;overflow:auto;margin:0;padding-bottom:10px}.book-toc nav button{min-width:145px;font-size:11px;align-items:flex-start}.book-toc>p{display:none}.reader-page{padding:30px}.reading-title h2{font-size:28px}}@media(max-width:760px){.reader-page{padding:25px 20px}.reading-section{gap:12px}.reading-section p{font-size:13px}.reading-section h3{font-size:16px}.learning-goals{padding:17px}.reading-banner{padding:23px;align-items:flex-start;flex-direction:column;gap:16px}.reading-banner h2{font-size:24px}.reading-banner .secondary{min-height:39px}.reflection{padding:22px}.reading-title h2{font-size:25px}.reading-title .eyebrow{font-size:8px}.book-toc nav button{min-width:140px}.reader-page .source{font-size:9px}}
@media print{body{background:white;color:#111}.topbar,.sidebar,.page-head,.book-toc,.reading-section,.learning-goals,.reflection,.source,.reader-pager,.actions,#toast,.teaching-editor>p,.teaching-editor>h3,.teaching-editor>label,.teaching-editor>textarea{display:none!important}.shell,.reader-layout{display:block}#workspace{padding:0;max-width:none}.reader-page{border:0;padding:0}.reading-title{padding:0 0 18px}.reading-title .eyebrow,.reading-title .badge{display:none}#print-content{display:block;white-space:pre-wrap;font-family:inherit;font-size:12pt;line-height:1.8;overflow-wrap:anywhere}.teaching-editor{border:0;margin:0;padding:20px 0}.reading-title h2{font-size:24pt} @page{margin:20mm}}
.book-toc{min-width:0}.book-toc nav{max-width:100%}@media(max-width:900px){.reader-layout{grid-template-columns:minmax(0,1fr)}}
