:root{--bg:#f7f8f5;--paper:#fff;--ink:#253d36;--muted:#818b85;--green:#236b5b;--light:#edf4ee;--line:#e6eae4;--orange:#c17b48;--red:#ac544b;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);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{cursor:default;opacity:.46}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8cbead;outline-offset:3px}button{color:inherit}a{color:var(--green)}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);padding:36px 24px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;text-decoration:none;color:var(--ink);font-size:25px;font-weight:650;align-items:center;letter-spacing:3px}.brand-mark{display:grid;place-items:center;width:45px;height:47px;border-radius:13px;background:var(--green);color:#fff;font-size:23px;box-shadow:0 5px 12px #236b5b13;letter-spacing:0}.brand small{font-size:10px;letter-spacing:1px;display:block;font-weight:400;color:var(--muted);margin-top:5px}.course-label{margin:56px 0 17px 12px;font-size:11px;letter-spacing:1px;color:#9aa39d}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:14px 13px;border:0;background:transparent;border-radius:9px;text-align:left;font-size:14px;margin:5px 0;color:#7b8980}.nav-item.active{background:var(--light);color:var(--green);font-weight:600}.nav-symbol{font-size:19px}.nav-arrow,.nav-count{margin-left:auto;font-size:12px}.nav-count{border-radius:5px;background:#f1f3ef;padding:2px 7px}.sidebar-course{border:1px solid var(--line);border-radius:12px;padding:20px 15px;margin-top:42px}.course-icon{font-size:19px;color:var(--green);margin-bottom:16px;background:var(--light);border-radius:8px;width:30px;height:30px;text-align:center;line-height:30px}.sidebar-course strong{font-size:12px}.sidebar-course p,.sidebar-course small{font-size:10px;color:var(--muted)}.tiny-track{height:4px;background:#eef0eb;border-radius:4px;overflow:hidden;margin:20px 0 9px}.tiny-track i{height:100%;display:block;background:#78a38f;width:0}.sidebar-bottom{margin-top:auto;padding-top:45px;font-size:10px;color:#8d978f;line-height:1.8}.sidebar-bottom button{display:block;border:0;background:none;font-size:11px;color:#6e8075;padding:12px 0 0}.green-dot,.orange-dot{display:inline-block;height:6px;width:6px;border-radius:50%;background:#7cac8b;margin-right:6px}.orange-dot{background:#cd9662;vertical-align:middle}main{margin-left:235px;flex:1;min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:12px;color:#94a096}.topbar #breadcrumb{color:#53665b;margin-left:9px}.save-status{font-size:11px}.main-content{max-width:1250px;margin:0 auto;padding:40px 42px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8ca093;margin-bottom:13px}h1{font-size:29px;letter-spacing:.5px;font-weight:600;margin:0 0 12px;line-height:1.4}.page-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.8}.heading-seal{font-family:serif;border:1px solid #b9c8b7;color:#9eb197;font-size:17px;line-height:1.5;text-align:center;border-radius:28px 28px 10px 10px;width:50px;padding:9px 0;transform:rotate(7deg);margin-right:12px}.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#f0f3ed;border:1px solid #e5eadd;border-radius:12px;padding:21px 0;margin-bottom:30px}.stat-strip>div{padding:0 26px;border-right:1px solid #dfe5da}.stat-strip>div:last-child{border:0}.stat-strip span{display:block;color:#81907f;font-size:11px;margin-bottom:10px}.stat-strip strong{font-size:26px;font-weight:550;font-variant-numeric:tabular-nums}.stat-strip small{font-size:10px;color:#96a090;font-weight:400;margin-left:7px}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:23px;align-items:start}.question-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:28px;box-shadow:0 5px 20px #263e3303}.question-top{display:flex;align-items:center;gap:12px;font-size:10px}.tag{background:#edf4ef;color:#477a60;padding:5px 9px;border-radius:4px}.muted{color:var(--muted)}.question-number{margin-left:auto;color:#96a195;font-variant-numeric:tabular-nums}h2#question-stem{font-size:19px;font-weight:560;line-height:1.85;margin:26px 0 11px;white-space:pre-wrap;overflow-wrap:anywhere}.choice-help{font-size:11px;color:#9aa29c;margin:0 0 24px}.options{display:grid;gap:11px}.option{display:flex;gap:14px;align-items:center;text-align:left;border:1px solid #e7ebe5;border-radius:9px;padding:14px 15px;background:#fff;min-height:55px;width:100%;font-size:13px;line-height:1.6;transition:background .12s,border-color .12s;opacity:1!important}.option:not(:disabled):hover{background:#f8faf6;border-color:#b8cdbd}.option-letter{flex:none;width:28px;height:28px;border:1px solid #e8ece6;border-radius:7px;display:grid;place-items:center;font-size:12px;color:#889489;background:#fafbf8}.option.selected{border-color:#619e87;background:#f1f7f0}.option.selected .option-letter{background:var(--green);border-color:var(--green);color:white}.option.correct-option{border-color:#8dbf98;background:#f1f7ef}.option.correct-option .option-letter{background:#e0efdb;color:#387848;border-color:transparent}.option.wrong-option{border-color:#d7a39c;background:#fff6f3}.option.wrong-option .option-letter{background:#f4ded8;color:#ad6556;border-color:transparent}.option-text{flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.option-result{margin-left:auto;font-size:15px;color:#5f9770}.wrong-option .option-result{color:#b67366}.question-footer{border-top:1px solid #eff1ec;margin-top:28px;padding-top:22px;display:flex;justify-content:space-between;gap:12px;align-items:center}.keyboard-hint{font-size:9px;color:#a1aaa1}kbd{font-family:inherit;font-size:9px;border:1px solid #e6eae1;border-radius:3px;padding:2px 4px;background:#fafbf8}.button{display:inline-flex;align-items:center;justify-content:center;gap:25px;padding:12px 18px;border-radius:7px;font-size:12px;min-height:42px;border:1px solid transparent;font-weight:550}.primary{background:var(--green);color:white}.primary:not(:disabled):hover{background:#185442}.outline{border-color:#c9d8c7;background:transparent;color:#507b58}.outline:hover{background:#e6efe3}.source-caption{font-size:9px;color:#acb3a9;margin:18px 0 0;text-align:center}.review-card{border:1px solid #e1e8db;background:#edf2e7;border-radius:13px;padding:22px 19px}.small-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;gap:8px}.small-heading>span{font-size:20px;color:#8da984}.review-card>p{font-size:11px;color:#829078;line-height:1.9}.review-steps{margin:23px 0}.review-steps>div{display:flex;gap:12px;margin:18px 0;align-items:flex-start}.review-steps>div>span{font-size:9px;color:#8ca57e;width:23px;height:23px;border:1px solid #ccd9c4;border-radius:50%;display:grid;place-items:center;flex:none}.review-steps p{margin:1px 0}.review-steps strong{display:block;font-size:11px;font-weight:550}.review-steps small{display:block;color:#8b9780;font-size:10px;margin-top:7px}.review-card .button{width:100%;font-size:11px}.review-card .mode-caption{font-size:9px;text-align:center;margin-bottom:0}.recent-card{padding:22px 3px 0}.text-button{font-size:10px;color:#8c9c8b;border:0;padding:3px 0;background:none;white-space:nowrap}.recent-empty{font-size:11px;line-height:1.9;color:#a0aa9d;padding:16px 0;border-bottom:1px solid var(--line)}.recent-item{display:flex;gap:8px;justify-content:space-between;width:100%;border:0;border-bottom:1px solid var(--line);background:none;padding:16px 0;text-align:left;align-items:center;font-size:11px;line-height:1.6}.recent-item>span:first-child{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.count-chip{flex:none;white-space:nowrap;padding:3px 6px;background:#f6eee4;border-radius:4px;color:#a7794c;font-size:10px}.gentle-note{font-family:serif;font-style:italic;text-align:center;color:#9da997;font-size:12px;line-height:2.2;margin-top:27px}.feedback{padding:18px 19px;margin-top:22px;border-radius:9px;background:#eef6eb;border:1px solid #d5e7cf;line-height:1.8;font-size:12px;overflow-wrap:anywhere}.feedback.incorrect{background:#fcf2ec;border-color:#efdbca}.feedback h3{font-size:14px;margin:0 0 6px;color:#4a7b51}.feedback.incorrect h3{color:#ac7551}.feedback p{margin:6px 0;color:#7b8575}.feedback .answer-line{font-size:12px;color:var(--ink)}.feedback details{margin-top:10px;white-space:pre-wrap;color:#667566}.feedback summary{cursor:pointer;font-weight:550;white-space:normal}.review-notice{margin-top:20px;padding:10px 13px;background:#fbf3e8;border-radius:6px;font-size:11px;color:#ac7e4b}.page-footer{display:flex;justify-content:space-between;font-size:9px;color:#aab2a5;margin-top:34px;padding-top:18px;border-top:1px solid var(--line)}.mistakes-toolbar{display:flex;gap:18px;justify-content:space-between;margin-bottom:20px}.filter-tabs{display:flex;gap:4px;background:#eaf0e6;padding:4px;border-radius:8px;flex:none}.filter-tabs button{background:none;border:0;color:#83917d;padding:9px 14px;border-radius:5px;font-size:12px}.filter-tabs .selected{background:white;color:var(--green);box-shadow:0 1px 4px #2135230a}.search-controls{display:flex;gap:9px}.search-controls input,.search-controls select{padding:11px 12px;border:1px solid var(--line);background:#fff;border-radius:7px;font-size:11px;color:#647360;min-width:0}.wrong-item{padding:23px 25px;background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:12px}.wrong-item-head{display:flex;gap:9px;align-items:center;font-size:10px}.wrong-item-head .due-label{margin-left:auto;color:#a37b4e}.wrong-item h3{font-weight:500;font-size:15px;line-height:1.85;margin:15px 0;overflow-wrap:anywhere}.wrong-item-footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#99a18f;gap:15px}.wrong-item-footer .button{padding:8px 14px;min-height:33px;font-size:11px}.empty-state{border:1px dashed #d8e1d1;border-radius:14px;padding:65px 25px;text-align:center}.empty-state .empty-icon{font-size:32px;color:#aec1a3}.empty-state h2{font-size:19px;font-weight:500}.empty-state p{font-size:12px;color:#98a18f;line-height:1.8}.empty-state button{margin-top:16px}.mistakes-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:23px;font-size:11px;color:#93a08c}.load-more{display:flex;margin:20px auto}.storage-warning{font-size:12px;color:#996044;background:#fff0db;padding:16px 40px;line-height:1.7}dialog{border:1px solid var(--line);border-radius:15px;padding:30px;width:min(560px,calc(100% - 32px));max-height:85vh;box-shadow:0 20px 60px #23352820}dialog::backdrop{background:#263c344f;backdrop-filter:blur(3px)}dialog h2{font-size:21px}dialog p{font-size:13px;line-height:1.9;color:#788372}dialog .button{margin-top:10px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;background:#284b3e;color:white;padding:14px 22px;box-shadow:0 5px 24px #23352729;border-radius:9px;font-size:12px;max-width:90vw}
@media(min-width:1450px){.main-content{padding-top:48px}.question-card{padding:33px}.study-layout{grid-template-columns:minmax(0,1fr) 275px;gap:28px}}
@media(max-width:1150px){.sidebar{width:195px;padding:30px 18px}main{margin-left:195px}.main-content{padding:30px 26px}.topbar{padding:0 26px}.study-layout{grid-template-columns:minmax(0,1fr) 225px;gap:17px}.question-card{padding:22px}.keyboard-hint{display:none}h1{font-size:25px}.review-card{padding:18px 14px}.search-controls input{width:150px}}
@media(max-width:900px){.study-layout{grid-template-columns:1fr}.study-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.gentle-note{display:none}.recent-card{padding-top:16px}.stat-strip>div{padding:0 18px}.mistakes-toolbar{flex-wrap:wrap}.search-controls{flex:1}.search-controls input{width:100%}.heading-seal{display:none}}
@media(max-width:620px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:17px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:22px;gap:10px}.brand-mark{width:35px;height:37px;font-size:18px;border-radius:10px}.brand small{font-size:9px}.course-label,.sidebar-course,.sidebar-bottom,.nav-arrow{display:none}.sidebar nav{display:flex;gap:12px;margin-top:18px}.nav-item{justify-content:center;font-size:13px;padding:12px;margin-bottom:0;border-radius:7px 7px 0 0}.nav-symbol{font-size:17px}.nav-count{margin-left:0}main{margin-left:0}.topbar{height:44px;padding:0 20px;font-size:10px}.save-status{font-size:10px}.main-content{padding:26px 17px 18px}.page-heading{margin-bottom:22px}.eyebrow{font-size:9px;margin-bottom:10px}h1{font-size:23px}.page-heading p{font-size:11px}.stat-strip{padding:17px 0;border-radius:9px;margin-bottom:22px}.stat-strip>div{padding:0 12px}.stat-strip span{font-size:10px;margin-bottom:8px}.stat-strip strong{font-size:21px}.stat-strip small{font-size:9px;margin-left:3px}.question-card{padding:21px 17px;border-radius:11px}.question-top{gap:8px}.question-number{font-size:9px}h2#question-stem{font-size:17px;line-height:1.85;margin-top:24px}.choice-help{margin-bottom:18px}.option{font-size:13px;padding:12px;gap:11px}.option-letter{width:27px;height:27px}.question-footer{margin-top:23px;padding-top:19px}.question-footer .button{width:100%;min-height:46px}.study-aside{grid-template-columns:1fr}.review-card{padding:21px}.review-steps{display:none}.review-card>p{margin:12px 0 16px}.review-card .button{width:auto;min-height:35px}.review-card .mode-caption{display:inline-block;margin-left:10px;max-width:155px;text-align:left;vertical-align:middle}.recent-card{padding:0 4px}.mistakes-toolbar{gap:12px}.search-controls{width:100%;flex:auto}.search-controls select{max-width:135px}.wrong-item{padding:19px 16px}.wrong-item h3{font-size:14px}.wrong-item-footer{font-size:10px}.mistakes-bottom{align-items:flex-start;flex-direction:column;line-height:1.8}.mistakes-bottom .button{width:100%}.page-footer{font-size:8px}.storage-warning{padding:14px 20px}.feedback{padding:15px}.filter-tabs{width:100%}.filter-tabs button{flex:1}}
.nav-item{white-space:nowrap;gap:10px}.nav-count{font-size:10px;padding:2px 5px}.source-caption .text-button{font-size:9px;margin-left:8px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.login-required{background:#eef3ec}.login-gate{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(410px,100%);padding:34px;background:white;border:1px solid var(--line);border-radius:17px;box-shadow:0 20px 70px #25403314}.login-brand{display:flex;gap:12px;align-items:center;font-size:23px;letter-spacing:3px;font-weight:650}.login-brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:1px;font-weight:400;margin-top:5px}.login-card h1{font-size:26px;margin:35px 0 7px}.login-card p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 27px}.login-card label{display:block;font-size:12px;color:#607568;margin:18px 0}.login-card input{display:block;width:100%;margin-top:8px;padding:13px 12px;border:1px solid #dce6dc;border-radius:7px;background:#fcfdfb;font-size:15px}.login-card .button{width:100%;margin-top:10px;font-size:13px}.login-error{min-height:20px;color:#ad544b;font-size:11px}
