:root{--bg:#f5f7f3;--surface:#fff;--ink:#233b34;--muted:#84918a;--green:#285b4b;--green-dark:#194637;--pale:#e9f1e8;--lime:#d8eba9;--line:#e7ece5;--amber:#ba8c42;--red:#bd655a;--shadow:0 12px 32px #28473708;--radius:20px;font-family:Inter,"Segoe UI","Microsoft YaHei UI",sans-serif;color:var(--ink);font-size:14px;line-height:1.6}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #94b58b;outline-offset:3px}a{color:var(--green);text-decoration:none}button{border:0;color:inherit;background:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.4;font-weight:650}h2{font-size:18px;font-weight:650}h3{font-size:15px;font-weight:650}small{font-size:12px}.muted{color:var(--muted)}.tiny{font-size:12px}.row{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:16px}.wrap{flex-wrap:wrap}.stack{display:grid;gap:20px}.hidden{display:none!important}.eyebrow{color:#6e8878;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase}.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:30px;background:var(--pale);color:var(--green);font-size:11px;white-space:nowrap}.pill svg{width:13px;height:13px}.pill.soft{background:#f3f5f0;color:#879086}.pill.warm{background:#faf1df;color:#98763f}.pill.error{background:#f9eae6;color:var(--red)}.dot{width:6px;height:6px;background:#81a573;border-radius:50%}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 19px;border-radius:11px;background:var(--green);color:white;font-weight:600;font-size:13px;min-height:43px;transition:background .16s,transform .16s}.btn:hover{background:var(--green-dark);transform:translateY(-1px)}.btn.secondary{background:#f0f3ed;color:var(--ink)}.btn.secondary:hover{background:#e7ede3}.btn.outline{background:transparent;color:var(--green);border:1px solid #d7e0d4}.btn.danger{background:#f9eae6;color:var(--red)}.btn.compact{padding:8px 13px;min-height:36px}.btn svg{width:16px;height:16px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;color:#7e8f83}.icon-btn:hover{background:#edf3e9;color:var(--green)}.icon-btn.active{background:#fcf4d9;color:#b28a2f}.icon-btn svg{width:18px;height:18px}.text-btn{font-size:12px;font-weight:600;color:var(--green);padding:5px 0;display:inline-flex;align-items:center;gap:5px}.text-btn svg{width:14px;height:14px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:24px}.section-title{margin-bottom:18px}.section-title small{color:var(--muted)}
.sidebar{width:218px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:#fcfdfa;padding:31px 22px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 38px}.brand-mark{width:39px;height:41px;background:var(--green);border-radius:13px;display:flex;align-items:center;justify-content:center;color:#e1eeb7;font-family:Georgia,serif;font-size:32px;line-height:1;transform:rotate(-4deg)}.brand strong{font-size:22px;letter-spacing:2px;display:block;line-height:1.2}.brand span{font-size:9px;letter-spacing:2px;color:#9ba391}.nav-label{font-size:10px;letter-spacing:1.4px;color:#a0aa9a;margin:0 15px 12px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:12px;color:#7e8b7e;font-size:13px;margin-bottom:7px;font-weight:500}.nav-link:hover{background:#f0f4eb}.nav-link.active{background:#e8f0e0;color:#36543a;font-weight:650}.nav-link.active svg{stroke-width:2}.nav-link .nav-count{margin-left:auto;font-size:10px;min-width:20px;text-align:center;background:#dce9d3;border-radius:6px;padding:0 5px}.sidebar-bottom{margin-top:auto}.local-note{border-top:1px solid var(--line);padding:20px 10px 0;margin-top:16px;color:#8e9c8e;font-size:10px;line-height:1.9}.sidebar-bottom button{width:100%;justify-content:flex-start}.main-shell{margin-left:218px;min-height:100vh}.topbar{height:83px;margin:0 39px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{color:#a1a99e;font-size:12px}.breadcrumb strong{color:#6c7d6b;font-weight:500}.top-actions{display:flex;align-items:center;gap:16px}.date-label{color:#84917f;font-size:11px}.avatar{background:#e9eeda;width:33px;height:33px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;color:#638256}.page{max-width:1420px;margin:0 auto;padding:33px 39px 42px}.page-head{margin-bottom:25px}.page-head p{font-size:12px;color:#8c9988;margin-top:7px}.mobile-brand{display:none}.shortcut{border:1px solid #e3e9dc;border-radius:5px;font-size:10px;padding:1px 5px;color:#8d9982;background:#f8faf5}
.hero{background:#e9f0df;border:1px solid #dfe8d5;border-radius:23px;display:grid;grid-template-columns:1.35fr 1fr;min-height:242px;padding:31px 34px;overflow:hidden;position:relative}.hero h2{font-size:30px;letter-spacing:-1px;line-height:1.5;margin:12px 0 7px;font-weight:650;color:#294d35}.hero p{font-size:12px;color:#839077;margin-bottom:22px}.hero .eyebrow{color:#859a72}.hero-art{display:flex;justify-content:flex-end;align-items:center;position:relative;padding:8px 10px}.mini-word{background:#fffef6;position:relative;width:244px;border-radius:17px;padding:25px 24px 19px;transform:rotate(3deg);box-shadow:0 14px 25px #4d633014;border:1px solid #e0e5d3;z-index:2}.mini-word:before{content:"";position:absolute;inset:7px -9px -9px 9px;border-radius:17px;border:1px solid #d2dfbe;background:#f7faed;z-index:-1;transform:rotate(-7deg)}.mini-word .word{font-family:Georgia,serif;font-size:34px;line-height:1.8;color:#375c3c}.mini-word .mini-tag{font-size:9px;color:#9da989;letter-spacing:1px}.mini-word .mini-meaning{font-size:12px;color:#7f8f75;margin-top:4px}.mini-word footer{border-top:1px solid #e7ecdf;margin-top:17px;padding-top:10px;font-size:10px;color:#a2ae95;display:flex;justify-content:space-between}.art-dot{position:absolute;border-radius:50%;border:1px solid #bbcda1;opacity:.6}.art-dot.a{width:125px;height:125px;right:-55px;top:-40px}.art-dot.b{width:36px;height:36px;left:40px;bottom:10px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.stat{padding:22px;display:flex;align-items:flex-start;justify-content:space-between}.stat-name{font-size:11px;color:#879480;margin-bottom:6px}.stat strong{font-size:29px;font-weight:620;letter-spacing:-1px}.stat strong small{font-size:12px;letter-spacing:0;color:#99a18f;font-weight:400;margin-left:6px}.stat .stat-foot{font-size:10px;color:#a2ac99;margin-top:6px}.stat-icon{width:37px;height:37px;border-radius:12px;background:#eef3e7;color:#8ea67c;display:flex;align-items:center;justify-content:center}.dashboard-grid{display:grid;grid-template-columns:1.38fr 1fr;gap:21px}.bar-chart{height:120px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:6px 15px 0}.bar-column{display:flex;align-items:center;flex-direction:column;justify-content:flex-end;height:100%;flex:1;gap:9px}.bar{width:100%;max-width:28px;background:#e8efdf;border-radius:7px 7px 3px 3px;min-height:5px;position:relative}.bar.today{background:#b3c898}.bar-column small{font-size:10px;color:#a1ad98}.bar-value{position:absolute;top:-20px;left:0;right:0;text-align:center;font-size:10px;color:#829575}.chart-note{font-size:10px;color:#a1aa98;margin-top:20px;display:flex;justify-content:space-between}.mastery{display:flex;align-items:center;justify-content:space-around;gap:20px;padding:10px 0 3px}.ring{width:126px;height:126px;border-radius:50%;background:conic-gradient(var(--green) 0 var(--pct),#eaf0e4 var(--pct) 100%);display:flex;justify-content:center;align-items:center;position:relative}.ring:before{content:"";position:absolute;inset:12px;background:white;border-radius:50%}.ring-label{z-index:1;text-align:center}.ring-label strong{font-size:24px;font-weight:600;letter-spacing:-1px}.ring-label span{font-size:10px;color:#97a38b;display:block}.legend{display:grid;gap:13px;font-size:11px;color:#87947c;min-width:100px}.legend-row{display:flex;align-items:center;gap:8px}.legend-row b{font-size:11px;font-weight:500;color:#6c7f60;margin-left:auto}.legend-dot{width:7px;height:7px;border-radius:3px;background:#315f43}.legend-dot.learning{background:#b2c797}.legend-dot.new{background:#e7edde}.books{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.book{padding:20px 20px 17px;position:relative}.book-cover{width:37px;height:44px;border-radius:5px 8px 8px 5px;background:#eff3e7;border-left:3px solid #c0cfa5;color:#9baf88;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:650;letter-spacing:1px}.book:nth-child(2) .book-cover{background:#f5f0e5;border-color:#d5c5a0;color:#b4a078}.book:nth-child(3) .book-cover{background:#eaf0ee;border-color:#b5c6c1;color:#91aaa2}.book h3{font-size:14px;margin-top:14px}.book p{font-size:10px;color:#9aa58f;margin:5px 0 14px}.progress-track{height:4px;border-radius:10px;background:#edf1e7;overflow:hidden}.progress-fill{height:100%;background:#9cb786;border-radius:10px}.book footer{display:flex;justify-content:space-between;font-size:10px;color:#9aab8d;margin-top:10px}.book .round-arrow{position:absolute;right:17px;top:23px;color:#9bad8d}.book .round-arrow svg{width:17px;height:17px}.notice-strip{background:#f0f2e9;border-radius:13px;padding:13px 18px;margin-top:23px;color:#87937c;font-size:10px;display:flex;align-items:center;gap:9px}.notice-strip svg{width:15px;height:15px}.notice-strip strong{font-weight:600;color:#607452}.continue-card{padding:14px 20px;background:#fffaf0;border:1px solid #eae1c8;border-radius:13px;margin:0 0 20px;font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.filterbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.field{display:grid;gap:7px}.field label,.field-label{color:#899580;font-size:11px}.control,select,input[type=search],input[type=text],input[type=number],textarea{border:1px solid #dfe6d9;border-radius:10px;color:#586e4c;background:white;padding:10px 12px;min-height:40px;outline-offset:2px}select{min-width:115px;padding-right:28px}input[type=search]{min-width:250px;flex:1}input[type=number]{width:100%}textarea{resize:vertical;width:100%;line-height:1.8}.segmented{display:inline-flex;background:#edf1e8;padding:4px;border-radius:11px;gap:3px}.segmented button{padding:7px 16px;font-size:12px;border-radius:8px;color:#8a967e}.segmented button.active{background:white;box-shadow:0 2px 6px #4a643010;color:#466237;font-weight:600}.setup-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.setup-card{padding:29px}.setup-card h2{font-size:20px;margin-bottom:5px}.setup-card .lead{color:#99a58d;font-size:12px;margin-bottom:27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:26px}.form-grid select{width:100%}.preview-count{font-size:12px;color:#8d9c7f;padding:17px;background:#f4f7ef;border-radius:11px;margin-bottom:22px}.tips-list{display:grid;gap:20px;margin-top:25px}.tip{display:flex;gap:14px;align-items:flex-start}.tip-number{width:25px;height:25px;border-radius:8px;background:#eff3e8;display:flex;align-items:center;justify-content:center;color:#a1b58b;font-size:11px;flex-shrink:0}.tip h3{font-size:13px;margin-bottom:4px}.tip p{font-size:11px;color:#96a389;line-height:1.9}.study-wrap{max-width:850px;margin:0 auto}.study-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.study-top .progress-track{flex:1;max-width:400px;height:5px}.study-card{padding:28px 38px;min-height:425px;position:relative}.study-card .card-meta{font-size:10px;color:#9ba990}.study-front{text-align:center;padding:40px 0 35px}.study-word{font-family:Georgia,"Times New Roman",serif;font-size:64px;font-weight:400;line-height:1.5;letter-spacing:-1px;color:#294d36;overflow-wrap:anywhere}.phonetic{font-family:"Segoe UI",sans-serif;color:#94a386;font-size:15px;margin:5px 0 22px}.study-front .reveal{margin-top:28px}.study-back .study-word{font-size:41px}.study-back .phonetic{font-size:13px;margin-bottom:13px}.meaning-list{display:grid;gap:9px;margin:20px 0;font-size:15px;color:#516847}.meaning-item{padding-left:13px;border-left:2px solid #dbe6cb;line-height:1.9}.word-section{padding-top:18px;margin-top:18px;border-top:1px solid #edf1e7}.word-section h3{color:#6d825e;font-size:11px;letter-spacing:.4px;margin-bottom:11px}.word-section p,.word-section li{font-size:12px;line-height:1.9;color:#8b9c7e}.word-section ul{margin:0;padding-left:18px}.example{margin-bottom:14px}.example .en{font-size:13px;color:#516b43;line-height:1.85}.example .zh{font-size:11px;color:#99a78e;margin-top:5px}.word-section details summary{font-size:11px;color:#7d946a;cursor:pointer;margin-bottom:10px}.raw-text{font-size:11px;line-height:1.9;white-space:pre-wrap;color:#92a086}.rating-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.rating{border:1px solid #e3e8db;border-radius:13px;background:white;padding:15px 10px;text-align:center;font-size:13px;font-weight:600;transition:transform .15s}.rating:hover{transform:translateY(-2px)}.rating small{display:block;color:#a1ac97;font-size:10px;font-weight:400;margin-top:3px}.rating.again{color:#b47b65}.rating.hard{color:#b09a54}.rating.good{background:#eaf2e0;color:#557b3b;border-color:#dce9cd}.keyboard-hint{display:flex;justify-content:center;gap:17px;margin-top:19px;font-size:10px;color:#a4ad9b}.complete{text-align:center;padding:55px 25px}.complete-icon{width:62px;height:62px;border-radius:22px;background:#eaf2df;color:#7b9f5e;display:flex;justify-content:center;align-items:center;margin:0 auto 20px}.complete-icon svg{width:29px;height:29px}.complete h2{font-size:25px;margin-bottom:8px}.complete p{color:#95a488;font-size:12px;margin-bottom:22px}.complete .row{justify-content:center}
.table-wrap{overflow-x:auto;border-radius:var(--radius)}table{border-collapse:collapse;width:100%;text-align:left}thead{background:#f7f9f3}th{font-weight:500;font-size:10px;color:#99a48e;padding:14px 19px;white-space:nowrap}td{padding:15px 19px;border-top:1px solid #edf0e7;color:#859679;font-size:12px;vertical-align:middle}td .word-link{font-family:Georgia,serif;font-size:19px;color:#405c32;padding:0;font-weight:500;text-align:left}.word-link:hover{color:#1e4c29;text-decoration:underline}.cell-meaning{max-width:370px;color:#8d9b80;font-size:11px;line-height:1.9}.status-dot{font-size:10px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.status-dot:before{content:"";width:5px;height:5px;border-radius:50%;background:#ced8bf}.status-dot.learning:before{background:#b7c798}.status-dot.mastered:before{background:#648a49}.table-footer{padding:13px 20px;border-top:1px solid var(--line);font-size:10px;color:#a2ae97;display:flex;justify-content:space-between;align-items:center}.pagination{display:flex;gap:5px;align-items:center}.pagination button{padding:4px 8px;border-radius:6px;font-size:11px}.pagination .current{background:#edf2e5;color:#6b8754}.empty{text-align:center;padding:55px 25px;color:#a2ae99}.empty svg{width:34px;height:34px;color:#bdcdb0;margin-bottom:11px}.empty h3{font-size:15px;color:#6e8660;margin-bottom:7px}.empty p{font-size:11px;line-height:1.9}.empty .btn{margin-top:20px}.mistake-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.mistake-card{padding:20px}.mistake-card .word-link{font-family:Georgia,serif;font-size:25px;color:#436034}.mistake-card p{font-size:11px;color:#93a284;margin:12px 0 18px;line-height:1.9}.mistake-card footer{font-size:10px;display:flex;justify-content:space-between;align-items:center;color:#ad9b7b}.mistake-note{font-size:11px;color:#a4ad9b;margin:0 0 23px}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 222px;gap:21px}.quiz-card{padding:29px 32px}.question-number{font-size:11px;color:#9ba78f;margin-bottom:20px}.question-prompt{font-family:Georgia,"Times New Roman",serif;font-size:43px;font-weight:400;color:#35582b;line-height:1.5;margin:12px 0}.question-prompt.chinese{font-family:inherit;font-size:24px;line-height:1.9}.question-definition{background:#f6f8f1;border-radius:11px;padding:14px 17px;font-size:12px;line-height:1.9;color:#859576;margin-bottom:20px}.question-instruction{font-size:12px;color:#9caa90;margin:12px 0 17px}.choices{display:grid;gap:12px}.choice{display:flex;align-items:flex-start;gap:14px;width:100%;padding:15px 17px;border:1px solid #e4eadb;border-radius:12px;text-align:left;font-size:13px;color:#7f9270;line-height:1.9;min-height:57px}.choice:hover{border-color:#b8cba5;background:#fafcf7}.choice .letter{font-size:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #e0e7d7;width:25px;height:25px;border-radius:8px;line-height:1}.choice.selected{border-color:#7ca063;background:#f1f6e9;color:#4e7337}.choice.selected .letter{background:#6f9653;color:white;border-color:#6f9653}.choice.correct{border-color:#78a25c;background:#f0f7e9}.choice.wrong{border-color:#d6aa97;background:#fcf1eb}.quiz-controls{border-top:1px solid var(--line);padding-top:20px;margin-top:26px;display:flex;justify-content:space-between;align-items:center}.question-map{padding:20px;height:fit-content;position:sticky;top:20px}.question-map h3{font-size:12px;margin:12px 0 13px}.timer{display:flex;align-items:center;gap:8px;color:#718b5b;font-variant-numeric:tabular-nums;font-size:20px}.timer.urgent{color:#b97d5d}.timer svg{width:16px;height:16px}.number-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.number-grid button{aspect-ratio:1;min-height:27px;border:1px solid #e5eadb;border-radius:7px;font-size:10px;color:#a7b19c;position:relative}.number-grid button.answered{background:#e8f0de;border-color:#dce8ce;color:#6b8b50}.number-grid button.current{border-color:#6e9157;background:#6e9157;color:white}.number-grid button.flagged:after{content:"";position:absolute;right:2px;top:2px;background:#c7ad67;width:4px;height:4px;border-radius:50%}.map-note{font-size:9px;color:#acb59f;line-height:2;margin:15px 0}.question-map .btn{width:100%;margin-top:5px;font-size:11px;padding:9px}.feedback{margin-top:18px;border-radius:10px;background:#f0f6e8;padding:15px 18px;color:#729353;font-size:12px}.feedback.wrong{background:#fbf0e8;color:#b08865}.feedback p{margin-top:6px;font-size:11px;color:#96a487}.result-hero{background:#eaf1df;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:20px;margin-bottom:24px}.result-score{font-size:62px;font-family:Georgia,serif;line-height:1.2;color:#456a32}.result-score small{font-family:inherit;font-size:15px;color:#92a77e}.result-meta h2{font-size:23px;color:#45623a}.result-meta p{font-size:11px;color:#93a480;margin-top:6px}.result-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.result-item{padding:20px 24px;border-bottom:1px solid var(--line)}.result-item:last-child{border:0}.result-item h3{font-family:Georgia,serif;font-size:21px;color:#536f41}.result-item .answers{font-size:11px;color:#9aa58e;margin-top:9px;line-height:1.9}.result-item .answer-correct{color:#6f9154}.score-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:22px}.score-card{padding:20px}.score-card strong{font-size:28px;font-weight:550;color:#567442}.score-card small{display:block;font-size:10px;color:#9eab92}.course-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:25px}.course-table td,.course-table th{padding:10px 7px}.course-table input{font-size:11px;padding:7px;min-height:33px;width:100%;max-width:90px}.course-result{padding:13px 16px;background:#f2f6e9;border-radius:10px;color:#849775;font-size:12px;margin-top:15px}.course-date{font-size:10px;color:#acb59f;margin-top:13px}.history-subhead{font-size:11px;color:#9ba58f;margin-bottom:18px}
dialog{border:1px solid #e0e7d6;border-radius:20px;padding:0;color:var(--ink);box-shadow:0 30px 100px #172f2630;max-height:89vh}dialog::backdrop{background:#263c3059;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.dialog-head h2{font-size:17px}.dialog-body{padding:25px 30px}.word-dialog{width:min(740px,94vw)}.word-dialog .study-word{font-size:43px}.word-dialog .phonetic{font-size:13px;margin-bottom:15px}.word-dialog .word-section{font-size:12px}.dialog-year-tabs{display:flex;gap:8px;margin:15px 0}.dialog-year-tabs button{border-radius:8px;padding:4px 12px;background:#f3f6ed;color:#95a684;font-size:11px}.dialog-year-tabs .active{background:#e7efda;color:#668747}.source-line{padding:10px 0;border-bottom:1px solid #eef2e7;font-size:11px;line-height:1.9;color:#8c9d7c}.source-line:last-child{border:0}.source-line .text-btn{margin-left:9px;font-size:10px}.source-image{width:100%;height:auto;border:1px solid #edf0e5;margin-top:10px;border-radius:8px;background:white}.note-field{margin-top:20px;background:#f7f9f3;padding:16px;border-radius:12px}.note-field label{font-size:11px;color:#8ba075;display:block;margin-bottom:9px}.note-field textarea{background:white;min-height:90px;font-size:12px}.settings-dialog{width:min(540px,94vw)}.settings-section{padding:22px 26px;border-bottom:1px solid var(--line)}.settings-section:last-child{border:0}.settings-section h3{font-size:12px;margin-bottom:13px}.settings-section p{font-size:11px;color:#a0ac92;line-height:1.9;margin:10px 0}.settings-section .field{margin-bottom:15px}.toggle-line{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8b9c7b;margin-top:10px}.toggle-line input{accent-color:var(--green);width:17px;height:17px}.settings-actions{display:flex;gap:10px}.confirm-dialog{width:400px;max-width:92vw;padding:26px}.confirm-dialog h2{font-size:18px;margin-bottom:12px}.confirm-dialog p{color:#96a48a;font-size:12px;line-height:1.9;margin-bottom:23px}.confirm-dialog .row{justify-content:flex-end}#toast{position:fixed;bottom:26px;left:calc(50% + 90px);transform:translate(-50%,20px);background:#2b4b38;color:#f3f7ea;padding:11px 21px;border-radius:11px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;box-shadow:0 5px 25px #162d2120}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.page{padding-top:42px}.hero{min-height:270px}.hero h2{font-size:35px}.hero-art{padding-right:40px}.mini-word{width:275px}.bar-chart{height:140px}}
@media(max-width:1100px){.sidebar{width:185px;padding:25px 16px}.main-shell{margin-left:185px}.page{padding:28px 25px}.topbar{margin:0 25px}.hero{padding:26px;grid-template-columns:1.4fr 1fr}.hero h2{font-size:25px}.mini-word{width:210px;padding:20px}.mini-word .word{font-size:30px}.dashboard-grid{grid-template-columns:1.15fr 1fr}.card-pad{padding:20px}.quiz-layout{grid-template-columns:minmax(0,1fr) 192px}.question-map{padding:16px}.quiz-card{padding:24px}.mistake-grid{grid-template-columns:repeat(2,1fr)}.course-grid{gap:15px}.stat{padding:18px}.stat strong{font-size:26px}}
@media(max-width:820px){.sidebar{width:76px;padding:28px 10px}.brand{padding:0 8px 33px}.brand>div:last-child,.nav-label,.nav-link>span,.local-note,.sidebar-bottom button>span{display:none}.nav-link{padding:13px 16px;justify-content:center}.nav-link .nav-count{display:none}.sidebar-bottom button{justify-content:center}.main-shell{margin-left:76px}.hero-art{padding:0}.mini-word{width:195px}.hero h2{font-size:24px}.hero{grid-template-columns:1.25fr 1fr;gap:15px}.dashboard-grid{grid-template-columns:1fr}.books{gap:12px}.stat-grid{gap:12px}.stat-icon{display:none}.setup-grid{grid-template-columns:1fr}.setup-grid>.card:last-child{display:none}.quiz-layout{grid-template-columns:1fr}.question-map{position:static;grid-row:1}.question-map h3,.map-note{display:none}.question-map .number-grid{grid-template-columns:repeat(10,1fr);gap:5px;margin:10px 0}.question-map .btn{width:auto;min-height:32px;float:right;margin-top:0}.question-map .timer{font-size:16px}.number-grid button{min-height:24px;aspect-ratio:1.3}.course-grid{grid-template-columns:1fr}.result-hero{padding:25px}.date-label{display:none}}
@media(max-width:560px){.sidebar{position:sticky;top:0;width:100%;height:auto;padding:10px 12px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);overflow:auto;gap:4px}.brand{padding:0 8px 0 0;flex-shrink:0}.brand-mark{width:30px;height:32px;font-size:25px;border-radius:9px}.nav-link{padding:9px 10px;margin:0;border-radius:8px}.nav-link svg{width:18px;height:18px}.sidebar nav{display:flex;flex:1;justify-content:space-around}.sidebar-bottom{margin:0}.sidebar-bottom .icon-btn{width:31px;height:31px}.main-shell{margin:0}.topbar{height:56px;margin:0 18px}.breadcrumb{font-size:10px}.top-actions{gap:8px}.avatar{display:none}.top-actions .pill{font-size:9px;padding:3px 7px}.page{padding:23px 17px 30px}.page-head{margin-bottom:21px}.page-head h1{font-size:25px}.page-head p{font-size:11px}.hero{padding:23px 22px;min-height:200px;display:block}.hero h2{font-size:25px}.hero p{font-size:11px;max-width:260px}.hero-art{display:none}.hero .btn{font-size:12px}.stat-grid{gap:8px;margin:16px 0}.stat{padding:14px 11px;border-radius:14px}.stat strong{font-size:24px}.stat-name{font-size:9px}.stat strong small{font-size:9px;margin-left:3px}.stat-foot{font-size:8px!important}.dashboard-grid{gap:16px}.books{grid-template-columns:1fr}.book{padding:18px;display:grid;grid-template-columns:40px 1fr;column-gap:14px;align-items:center}.book-cover{grid-row:1/4}.book h3{margin:0}.book p{margin:3px 0 9px}.book .progress-track{grid-column:2}.book footer{grid-column:2;margin-top:5px}.book .round-arrow{top:18px}.notice-strip{font-size:9px;line-height:1.9;padding:12px 14px}.setup-card{padding:22px}.form-grid{gap:15px}.control,select{font-size:12px;min-width:0}.study-card{padding:20px;min-height:380px;border-radius:17px}.study-front{padding-top:48px}.study-word{font-size:48px}.study-back .study-word{font-size:34px}.phonetic{font-size:12px}.meaning-list{font-size:13px}.rating-buttons{gap:7px}.rating{font-size:11px;padding:12px 4px}.rating small{font-size:9px}.keyboard-hint{display:none}.study-top{font-size:10px}.filterbar{gap:8px}.filterbar select{flex:1;font-size:11px;padding:9px;min-width:100px}.filterbar input[type=search]{min-width:100%;font-size:12px}.segmented button{font-size:11px;padding:7px 12px}.mistake-grid{grid-template-columns:1fr}.question-prompt{font-size:36px}.question-prompt.chinese{font-size:19px}.quiz-card{padding:22px 18px}.question-definition{font-size:11px;padding:12px}.choice{font-size:12px;padding:12px;gap:10px}.quiz-controls .btn{font-size:11px;padding:9px 13px}.quiz-controls .tiny{font-size:9px}.result-hero{display:block;padding:24px}.result-score{font-size:49px;margin-bottom:10px}.result-meta h2{font-size:20px}.result-actions{gap:7px}.result-actions .btn{font-size:10px;padding:8px 11px}.score-cards{gap:8px}.score-card{padding:14px}.score-card strong{font-size:24px}.score-card h3{font-size:11px}.score-card small{font-size:8px}.word-dialog .dialog-body{padding:22px}.dialog-head{padding:17px 22px}.settings-actions{flex-wrap:wrap}#toast{left:50%;width:max-content;max-width:90vw;bottom:18px}.page-head.between{align-items:flex-start}.page-head.between .btn{padding:9px 11px;font-size:10px}.cell-meaning{min-width:230px}td,th{padding:12px 14px}td .word-link{font-size:17px}.course-table input{max-width:72px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.page-head p,.muted,.stat-name,.stat-foot,.history-subhead,.course-date,.question-instruction,.map-note,.chart-note,.book p,.book footer,.hero p,.legend,.local-note{color:#73826d}.study-word,.question-prompt,.word-link{overflow-wrap:anywhere}.study-wrap .keyboard-hint{line-height:2.4}.study-back .word-section{margin-top:20px}.choice:disabled{opacity:1}.settings-section p{color:#73826d}
@media(max-width:700px){.hero{display:block}.hero-art{display:none}.hero h2{max-width:340px}.hero p{max-width:330px}}
@media(max-width:560px){.study-wrap .keyboard-hint{display:block;font-size:0}.study-wrap .keyboard-hint .text-btn{font-size:11px}.stat strong{white-space:nowrap}}
