@font-face{font-family:"Noto Sans SC";src:url("fonts/noto-sans-sc-subset.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{--green:#007d70;--green-hover:#006558;--green-soft:#eaf5f1;--text:#203632;--muted:#61736f;--background:#f4f7f6;--white:#fff;--line:#dce7e2;--red:#b13b35;--red-soft:#fff1ef;--radius:8px;--font:"Noto Sans SC","Microsoft YaHei","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--text);font-family:var(--font);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.43}a{color:var(--green)}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a66a0a;outline-offset:4px}main:focus{outline:none}button{transition:background-color .15s,border-color .15s}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:700;letter-spacing:.02em;line-height:1.45}h2{font-size:18px;font-weight:600}h3{font-size:17px;font-weight:600}a{text-decoration:none}.muted{color:var(--muted)}.green-text{color:var(--green)}.error-text{color:var(--red)}.dot{margin:0 12px;color:var(--muted)}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:12px;left:12px;background:white;padding:12px;z-index:20}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:240px;background:var(--white);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 20px 24px;z-index:5;border-top:4px solid var(--green)}.brand{display:flex;gap:10px;align-items:center;color:var(--green);font-size:18px;font-weight:700;line-height:1.4;margin-bottom:54px;white-space:nowrap}.brand-icon{display:grid;place-items:center;width:36px;height:36px;border:1.5px solid var(--green);border-radius:50%;font-size:19px;font-weight:600}.brand-sub{display:block;color:var(--muted);font-size:10px;letter-spacing:.06em;font-weight:400;margin-top:4px}.side-label{font-size:11px;color:var(--muted);letter-spacing:.12em;padding-left:14px;margin-bottom:12px}.nav-item{width:100%;border:0;background:transparent;border-radius:6px;padding:13px 14px;display:flex;align-items:center;gap:12px;text-align:left;margin-bottom:6px;min-height:48px;font-weight:500}.nav-item>span:first-child{font-size:20px;line-height:1}.nav-item:hover{background:#f3f7f5}.nav-item.active{background:var(--green-soft);color:var(--green)}.nav-count{margin-left:auto;font-size:12px;background:var(--background);min-width:24px;text-align:center;border-radius:4px}.sidebar-bottom{margin-top:auto;padding:18px 8px 0;color:var(--muted)}.sidebar-bottom p{font-size:11px;margin-top:12px}.sidebar-bottom small{font-size:10px}.save-indicator{display:flex;align-items:center;gap:7px;color:var(--green);font-size:12px}.save-indicator span{width:6px;height:6px;background:currentColor;border-radius:50%}.save-indicator.save-error{color:var(--red)}.workspace{margin-left:240px;min-height:100vh;display:flex;flex-direction:column;border-top:4px solid var(--green)}.topbar{height:76px;flex-shrink:0;border-bottom:1px solid var(--line);background:var(--white);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:13px;color:var(--muted)}.topbar-divider{color:#b5c6be;margin:0 12px}.edition{font-size:11px;color:var(--green);border:1px solid var(--line);padding:3px 10px;border-radius:4px;white-space:nowrap}main{width:100%;max-width:1410px;margin:0 auto;padding:38px 48px 48px;flex:1}footer{padding:20px 48px 24px;display:flex;justify-content:space-between;gap:24px;color:var(--muted);font-size:11px;max-width:1410px;width:100%;margin:auto}
.page-heading,.section-heading,.quiz-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-heading{margin-bottom:24px}.eyebrow{font-size:11px;letter-spacing:.1em;color:var(--green);margin-bottom:8px}.subtitle{color:var(--muted);font-size:14px;margin-top:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:10px 20px;min-height:44px;border:1px solid transparent;border-radius:6px;background:var(--white);font-size:14px;font-weight:500;white-space:nowrap}.button.primary{background:var(--green);color:var(--white);border-color:var(--green)}.button.primary:hover:not(:disabled){background:var(--green-hover);border-color:var(--green-hover)}.button.outline{border-color:#c6d9d0;color:var(--green);background:var(--white)}.button.outline:hover:not(:disabled){background:var(--green-soft);border-color:var(--green)}.button.quiet{background:transparent;color:var(--muted);border-color:var(--line)}.button.quiet:hover:not(:disabled){background:#eaf0ed;color:var(--text)}.full-width{width:100%}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding:20px 0 30px;margin-bottom:16px}.metric{padding-right:20px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric>span{font-size:13px;color:var(--muted)}.metric>div{display:flex;align-items:baseline;gap:10px;margin-top:5px}.metric strong{font-size:36px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.03em;line-height:1.5}.metric>div>span{font-size:13px;color:var(--muted)}.continue-banner{display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--green-soft);border:1px solid #d7e9e1;border-radius:var(--radius);padding:24px 28px;margin-bottom:34px}.continue-banner h2{font-size:19px;color:#135e51;font-weight:600}.continue-banner p{font-size:13px;color:var(--muted);margin-top:5px}.small-label{font-size:11px;color:var(--green);margin-bottom:6px}.continue-banner .primary{min-width:140px}.section-heading{margin-bottom:16px}.section-heading>span{color:var(--muted);font-size:12px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.filter{background:transparent;color:var(--muted);padding:9px 17px;min-height:44px;border:1px solid transparent;border-radius:6px;font-size:13px}.filter:hover{background:#e9efec}.filter.selected{color:var(--green);background:var(--green-soft);border-color:#d1e5db;font-weight:600}.chapter-list{display:flex;flex-direction:column;gap:12px}.chapter-row{display:flex;align-items:center;gap:24px;padding:20px 24px;min-height:98px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}.chapter-number{font-size:21px;color:var(--green);width:38px;flex-shrink:0;font-variant-numeric:tabular-nums;font-weight:500}.chapter-info{flex:1;min-width:180px}.chapter-info h3{font-size:17px}.chapter-info p{font-size:12px;color:var(--muted);margin-top:3px}.chapter-info p span{padding:0 6px}.chapter-progress{width:25%;margin-right:12px;min-width:140px}.chapter-progress>div:first-child{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:9px;gap:12px}.progress{height:4px;width:100%;background:#dee8e2;border-radius:3px;overflow:hidden}.progress>span{height:100%;display:block;background:var(--green);border-radius:3px}.source-note{font-size:11px;color:var(--muted);margin-top:22px;line-height:1.8}
.breadcrumb{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:20px;flex-wrap:wrap}.breadcrumb>button{background:transparent;border:0;padding:8px 0;min-height:44px;color:var(--green)}.quiz-heading{margin-bottom:24px}.quiz-heading h1{font-size:25px}.quiz-heading .subtitle{margin-top:6px}.quiz-heading+.progress{margin-bottom:28px}.retry-label{color:var(--green);font-size:12px;vertical-align:middle;background:var(--green-soft);padding:4px 8px;border-radius:4px;font-weight:500;letter-spacing:0}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:24px}.question-panel{background:var(--white);padding:28px 30px 22px;border-radius:var(--radius);border:1px solid var(--line);min-width:0}.question-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.type-badge{background:var(--green-soft);color:var(--green);font-size:12px;font-weight:500;border-radius:4px;padding:4px 10px;display:inline-block;white-space:nowrap}.question-meta>div{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);flex-wrap:wrap;justify-content:flex-end}.text-button{padding:4px 0;min-height:44px;display:inline-flex;align-items:center;background:none;border:0;color:var(--green);font-size:12px;text-decoration:none}.text-button:hover{text-decoration:underline}.question-panel h2{font-size:20px;font-weight:500;line-height:1.9;overflow-wrap:anywhere;letter-spacing:.015em}.selection-hint{color:var(--muted);font-size:12px;margin:14px 0 22px}.options{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:12px}.option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:6px;min-height:62px;padding:14px 17px;cursor:pointer;position:relative}.option:not(.locked):hover{border-color:#80b7a5;background:#f8fbfa}.option:focus-within{outline:3px solid #a66a0a;outline-offset:3px}.option.chosen,.option.correct{background:var(--green-soft);border-color:var(--green)}.option.incorrect{background:var(--red-soft);border-color:var(--red)}.option input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--green);margin:0;cursor:inherit}.option input:disabled{opacity:1}.option-key{font-size:15px;font-weight:600;align-self:flex-start;line-height:1.8}.option-text{font-size:16px;line-height:1.8;overflow-wrap:anywhere;flex:1;min-width:0}.option-status{font-size:11px;color:var(--green);align-self:flex-start;line-height:2.5;white-space:nowrap}.option.incorrect .option-status{color:var(--red)}.option.locked{cursor:default}.answer-feedback{padding:18px 20px;border-radius:6px;margin-top:24px;scroll-margin:24px}.answer-feedback.success{background:var(--green-soft);color:var(--green)}.answer-feedback.error{background:var(--red-soft);color:var(--red)}.answer-feedback h3{font-size:16px;margin-bottom:5px}.answer-feedback p{font-size:14px}.answer-feedback .feedback-note{font-size:12px;color:var(--muted);margin-top:8px}.question-actions{margin-top:28px;display:flex;justify-content:space-between;gap:12px}.question-actions>div{display:flex;gap:10px}.question-actions .quiet{border:0;padding-left:12px;padding-right:12px}.reading-tools{margin-top:24px;border-top:1px solid #edf1ee;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px}.large-text h2{font-size:24px}.large-text .option-text{font-size:19px}.answer-sheet{background:var(--white);border:1px solid var(--line);padding:22px 18px;border-radius:var(--radius);position:sticky;top:20px}.answer-sheet h2{font-size:16px}.answer-sheet .section-heading{gap:8px;margin-bottom:8px}.sheet-description{font-size:11px;margin-bottom:20px}.sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:363px;overflow-y:auto;padding:4px;scrollbar-width:thin;scrollbar-color:#bed2c7 transparent}.sheet-cell{border:1px solid transparent;border-radius:4px;background:#f0f5f2;color:var(--muted);min-width:0;min-height:44px;font-size:12px;font-variant-numeric:tabular-nums}.sheet-cell:hover{border-color:var(--muted)}.sheet-cell.correct{color:var(--green);background:var(--green-soft)}.sheet-cell.incorrect{color:var(--red);background:var(--red-soft)}.sheet-cell.current{border:2px solid var(--green);font-weight:700;color:var(--text)}.sheet-legend{display:flex;gap:12px;margin:18px 0 20px;font-size:10px;color:var(--muted);justify-content:space-between}.sheet-legend>span{display:flex;align-items:center;gap:5px}.legend-dot{width:8px;height:8px;background:#d9e4de;display:inline-block;border-radius:2px}.legend-dot.correct{background:var(--green)}.legend-dot.incorrect{background:var(--red)}.sheet-toggle{display:none}.answer-sheet .full-width{font-size:12px;padding-left:8px;padding-right:8px}
.summary-hero{text-align:center;padding:12px 0 24px}.summary-hero .eyebrow{margin-top:16px}.result-mark{width:52px;height:52px;border:1px solid #bfdccc;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;color:var(--green);font-size:26px;background:var(--green-soft)}.summary-hero h1{font-size:27px}.summary-hero+.metrics{max-width:780px;margin:12px auto 18px;padding:20px;text-align:center}.summary-hero+.metrics .metric>div{justify-content:center}.summary-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:44px}.review-section{border-top:1px solid var(--line);padding-top:24px}.review-row{display:flex;align-items:flex-start;gap:18px;padding:24px 0;border-bottom:1px solid var(--line)}.review-row>div{flex:1;min-width:0}.review-row h3{font-size:15px;font-weight:400;line-height:1.9;overflow-wrap:anywhere}.review-row p{font-size:12px;color:var(--muted);margin-top:8px}.review-row .button{font-size:12px;flex-shrink:0}.empty-state{padding:70px 24px;text-align:center;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin-top:16px}.empty-state h2,.empty-state h3{font-weight:500;margin-bottom:10px}.empty-state p{font-size:14px;color:var(--muted);margin-bottom:26px}.empty-state.compact{background:transparent;border:0;padding:30px 12px}.empty-state.compact p{margin-bottom:0}.mistake-overview{display:flex;align-items:baseline;gap:16px;margin:24px 0 30px;color:var(--muted)}.mistake-overview strong{font-size:40px;font-weight:600;color:var(--text)}.mistake-preview{font-size:12px;color:var(--muted);max-width:30%}.storage-warning{color:#8c4328;background:#fff3e4;border:1px solid #e5c3a5;padding:14px 18px;font-size:13px;margin-bottom:20px;border-radius:6px}#toast{position:fixed;bottom:28px;left:calc(50% + 100px);transform:translateX(-50%);background:var(--text);color:white;max-width:calc(100vw - 32px);padding:13px 22px;border-radius:6px;font-size:13px;z-index:30;opacity:0;pointer-events:none;transition:opacity .15s}#toast.visible{opacity:1}dialog{border:1px solid var(--line);border-radius:12px;padding:30px;max-width:600px;width:calc(100% - 32px);color:var(--text);font-size:14px;line-height:1.9}dialog::backdrop{background:rgba(20,42,34,.35)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:20px}dialog p{margin-bottom:18px}dialog .button{margin-top:4px}.icon-button{width:44px;height:44px;border:0;background:var(--background);border-radius:4px;font-size:24px}
@media(min-width:1600px){main{padding-top:48px}.chapter-row{padding-top:24px;padding-bottom:24px}}
@media(max-width:1200px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.workspace{margin-left:210px}.brand{font-size:16px;gap:8px}.brand-icon{width:30px;height:30px;font-size:16px}.brand-sub{font-size:9px}main{padding:30px}.topbar{padding:0 30px}.chapter-row{gap:18px;padding:18px}.chapter-progress{min-width:100px;margin:0}.chapter-info{min-width:130px}.chapter-row .button{padding:10px 14px}.quiz-layout{grid-template-columns:minmax(0,1fr) 220px;gap:18px}.question-panel{padding:24px}.question-meta{gap:8px}.question-meta>div{gap:5px}.answer-sheet{padding:20px 14px}.sheet-grid{gap:6px}footer{padding-left:30px;padding-right:30px}.question-actions .button{padding-left:13px;padding-right:13px}}
@media(max-width:1000px){.quiz-layout{grid-template-columns:minmax(0,1fr)}.answer-sheet{position:static;grid-row:1}.answer-sheet .section-heading{margin:0}.sheet-toggle{display:inline-flex;margin-left:auto}.answer-sheet .section-heading>span{display:none}.sheet-description{margin:2px 0 0}.sheet-content{display:none}.sheet-open .sheet-content{display:block;margin-top:12px}.sheet-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));max-height:270px}.sheet-legend{justify-content:flex-start;gap:24px}.answer-sheet .full-width{width:auto;padding:10px 20px}.chapter-progress{display:none}.chapter-info{min-width:0}.continue-banner{padding:22px;gap:20px}.continue-banner h2{font-size:17px}footer span{display:none}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line);border-top:4px solid var(--green)}.brand{margin-bottom:18px;font-size:19px;gap:10px;align-self:flex-start}.brand-icon{width:34px;height:34px;font-size:18px}.brand-sub{font-size:10px}.side-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:24px}.nav-item{width:auto;margin:0;border-radius:0;padding:10px 0 13px;min-height:46px;border-bottom:2px solid transparent;gap:8px;font-size:14px}.nav-item.active{border-bottom-color:var(--green);background:transparent}.nav-item>span:first-child{font-size:18px}.nav-count{min-width:22px;margin-left:0;background:#e8f1eb;padding:0 3px}.workspace{margin:0;border-top:0}.topbar{display:none}main{padding:26px 20px 30px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.page-heading .eyebrow{font-size:9px}.page-heading h1{font-size:25px}.page-heading .button{font-size:12px;padding:8px 11px;gap:8px;min-height:44px;margin-top:16px}.subtitle{font-size:12px;margin-top:7px}.metrics{gap:12px;padding:12px 0 20px;margin-bottom:12px}.metric{padding-right:8px}.metric>span{font-size:11px;white-space:nowrap}.metric strong{font-size:29px}.metric>div{gap:5px;flex-wrap:wrap}.metric>div>span{font-size:10px}.continue-banner{padding:20px;align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:28px}.continue-banner h2{font-size:17px}.continue-banner p{font-size:12px}.continue-banner .primary{width:100%;justify-content:space-between;font-size:13px}.small-label{font-size:10px}.section-heading h2{font-size:17px}.section-heading>span{font-size:10px}.filters{gap:4px;margin-bottom:14px}.filter{padding:9px 11px;font-size:12px}.chapter-row{gap:12px;min-height:95px;padding:17px 14px}.chapter-number{font-size:19px;width:28px}.chapter-info h3{font-size:16px}.chapter-info p{font-size:10px;margin-top:4px}.chapter-info p span{padding:0 3px}.chapter-row .button{font-size:11px;gap:6px;padding:8px 10px;min-height:44px}.source-note{font-size:10px}.breadcrumb{margin-bottom:12px;font-size:11px}.quiz-heading h1{font-size:23px}.quiz-heading{gap:12px;margin-bottom:20px}.quiz-heading>.button{font-size:12px;padding:8px 12px}.quiz-heading .dot{margin:0 5px}.quiz-heading+.progress{margin-bottom:20px}.quiz-layout{gap:14px}.question-panel{padding:22px 18px 14px}.question-meta{margin-bottom:18px;gap:6px}.question-meta>div{font-size:10px;gap:4px 10px}.question-meta .text-button{font-size:10px;min-height:32px}.type-badge{font-size:11px;padding:4px 8px}.question-panel h2{font-size:18px;line-height:1.9;letter-spacing:0}.selection-hint{font-size:11px;margin:12px 0 18px}.options{gap:12px}.option{padding:14px 12px;gap:9px;flex-wrap:wrap;align-items:flex-start}.option input{margin-top:5px;width:17px;height:17px;flex-basis:17px}.option-text{font-size:15px}.option-key{font-size:14px}.option-status{font-size:10px;line-height:1.6;margin-left:44px;flex-basis:100%}.question-actions{gap:7px;margin-top:24px}.question-actions>div{gap:5px}.question-actions .button{padding:10px 11px;font-size:12px;gap:5px}.question-actions>.quiet{padding-left:0;padding-right:5px}.answer-feedback{padding:16px 14px;margin-top:20px}.answer-feedback h3{font-size:15px}.answer-feedback p{font-size:13px}.answer-feedback .dot{margin:0 7px}.answer-feedback .feedback-note{font-size:11px}.reading-tools{font-size:10px;margin-top:18px;gap:10px}.reading-tools .text-button{font-size:11px;flex-shrink:0}.answer-sheet{padding:12px 16px}.answer-sheet h2{font-size:14px}.answer-sheet .sheet-description{font-size:10px}.answer-sheet .sheet-toggle{font-size:12px;min-height:32px}.sheet-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.sheet-cell{min-height:44px}.sheet-legend{font-size:11px}.large-text h2{font-size:21px}.large-text .option-text{font-size:18px}.retry-label{font-size:10px}.summary-hero{padding-top:14px}.summary-hero h1{font-size:23px}.summary-hero .subtitle{font-size:12px}.summary-hero+.metrics{padding:16px 0;gap:10px}.summary-actions{gap:10px;margin-bottom:30px}.summary-actions .button{font-size:12px;padding:10px 14px}.review-row{flex-wrap:wrap;gap:10px;padding:20px 0}.review-row>div{flex-basis:calc(100% - 70px)}.review-row h3{font-size:14px}.review-row .button{margin-left:auto;font-size:11px}.review-row p{font-size:11px}.review-row .dot{margin:0 5px}.mistake-preview{display:none}.mistake-overview{gap:12px}.mistake-overview strong{font-size:36px}.mistake-overview span{font-size:13px}.empty-state{padding:44px 20px}.empty-state h2{font-size:18px}.empty-state p{font-size:13px}footer{padding:16px 20px 24px;font-size:10px;line-height:1.8}.storage-warning{font-size:12px;padding:12px 14px}#toast{left:50%;font-size:12px;width:max-content;bottom:20px}dialog{padding:24px 20px;font-size:13px}.dialog-top{gap:10px}.dialog-top h2{font-size:18px}}
@media(max-width:359px){main{padding-left:14px;padding-right:14px}.sidebar{padding-left:16px;padding-right:16px}.chapter-row{gap:9px;padding:14px 10px}.chapter-number{width:22px;font-size:17px}.chapter-info h3{font-size:14px}.chapter-row .button{font-size:10px;padding:8px;gap:4px}.chapter-info p{font-size:9px}.section-heading{gap:8px}.question-panel{padding-left:14px;padding-right:14px}.question-meta>div{max-width:145px}.question-actions .button{padding:9px 8px;font-size:11px}.filters{gap:1px}.filter{padding-left:9px;padding-right:9px}.metric strong{font-size:26px}.metric>span{font-size:10px}.page-heading .button{padding-left:8px;padding-right:8px}.question-actions>div{gap:2px}.question-panel .dot{margin:0 4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
