@charset "UTF-8";
:root{--bg:#f4f6fa;--ink:#18243c;--muted:#69768a;--line:#e3e8f1;--blue:#345fda;--navy:#12284a;--green:#167c68;--purple:#7960c7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.7 "Segoe UI","Microsoft YaHei",sans-serif}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button{border:0;border-radius:10px;padding:10px 17px;background:#eaf0ff;color:var(--blue);font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:default}.primary{background:var(--blue);color:white}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:32px 24px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--navy);font-size:25px;font-weight:750;letter-spacing:3px}.brand small{display:block;font-size:10px;letter-spacing:1.7px;color:#8b97ab}.brand-icon{background:var(--navy);color:#fff;width:44px;height:48px;display:grid;place-items:center;border-radius:12px;font-size:24px;letter-spacing:0}.course-name{font-size:14px;margin:33px 0 24px;font-weight:600}.course-name span{display:block;color:var(--muted);font-size:13px;font-weight:400}nav{display:grid;gap:8px}nav a{display:flex;align-items:center;gap:12px;color:#6a7587;padding:11px 14px;border-radius:9px;font-size:15px}nav a.active{background:#eaf0ff;color:var(--blue);font-weight:650}nav a:hover{background:#f2f5fb}.nav-icon{width:23px;font-size:19px}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-bottom p{font-size:14px;color:#6b7890}.sidebar-bottom small{color:#929caf;font-size:12px}.edition{border:1px solid #dbe4f3;border-radius:5px;font-size:12px;color:#637795;padding:5px 8px}.workspace{margin-left:244px}header{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 42px;gap:22px;font-size:14px}#breadcrumb{font-weight:600}.search{margin-left:auto;width:335px;background:#f4f6fa;padding:8px 12px;display:flex;align-items:center;gap:9px;border-radius:9px;color:#8490a4}.search input{background:none;border:0;min-width:0;width:100%;font-size:14px;color:var(--ink)}kbd{border:1px solid #dce2ec;border-radius:4px;padding:0 5px}.avatar{background:#eef1fa;color:#5d6d8d;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.menu{display:none}main{max-width:1440px;padding:36px 42px 55px;margin:auto;min-height:calc(100vh - 140px)}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.4;letter-spacing:-.6px;margin-bottom:9px}h2{font-size:20px;margin-bottom:16px}h3{font-size:17px;margin-bottom:8px}p{margin-bottom:14px}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--blue);font-weight:650;margin-bottom:9px}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}.pagehead p{font-size:14px;color:var(--muted);margin:0}.hero{background:var(--navy);border-radius:18px;color:#fff;padding:33px 35px;display:flex;align-items:center;justify-content:space-between;min-height:240px;overflow:hidden;position:relative}.hero h2{font-size:29px;line-height:1.5;margin:12px 0}.hero p{color:#b8c9df;font-size:14px}.hero .eyebrow{color:#99baff}.hero button{background:#fff;color:var(--navy)}.hero-art{width:280px;height:195px;flex-shrink:0}.hero-art svg{width:100%;height:100%}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0 32px}.stat{background:white;border:1px solid var(--line);padding:20px 22px;border-radius:12px}.stat span{color:var(--muted);font-size:13px}.stat strong{display:block;font-size:29px;font-weight:650;margin-top:3px}.stat small{font-size:13px;color:var(--muted);font-weight:400;margin-left:6px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:27px 0 15px}.section-title h2{margin:0}.section-title span,.section-title a{font-size:13px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:25px}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:23px;min-width:0}.chapter-card{padding:20px;transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column;color:var(--ink)}.chapter-card:hover{transform:translateY(-3px);box-shadow:0 7px 24px #1d37600c}.chapter-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chapter-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#eaf0ff;color:var(--blue);font-size:20px}.chapter-card:nth-child(3n+2) .chapter-icon{background:#e7f5f0;color:var(--green)}.chapter-card:nth-child(3n) .chapter-icon{background:#f0ebfb;color:var(--purple)}.chapter-number{font-size:12px;color:#8a95a8}.chapter-card h3{font-size:16px}.chapter-card p{font-size:13px;color:var(--muted);min-height:43px;margin-bottom:16px}.progress{background:#edf0f5;height:5px;border-radius:5px;overflow:hidden}.progress i{display:block;background:var(--blue);height:100%}.chapter-card .progress{margin-top:auto}.card-meta{display:flex;justify-content:space-between;font-size:12px;color:#8792a5;margin-top:8px}.note{background:#edf3ff;border-left:3px solid #5c81db;padding:14px 18px;border-radius:5px;color:#4b6081;font-size:14px;margin:18px 0}.warm{background:#fff7e8;border-color:#d7a246;color:#816535}.exam-row{display:flex;justify-content:space-between;font-size:14px;padding:11px 0;border-bottom:1px solid #edf0f5}.exam-row:last-child{border:0}.exam-row b{color:var(--blue)}.mini-label{font-size:12px;color:var(--muted)}.today{margin-top:18px;background:#eaf3f0;border-color:#d7e9e1}.today .eyebrow{color:var(--green)}.today p{font-size:14px}.chips,.toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:18px 0}.chip{font-size:13px;padding:7px 14px;background:white;border:1px solid var(--line);border-radius:30px;color:var(--muted)}.chip.active{background:var(--navy);color:white;border-color:var(--navy)}.tag{display:inline-block;padding:2px 8px;border-radius:5px;font-size:12px;color:var(--blue);background:#edf2ff;font-weight:400}.topic{margin-bottom:15px;scroll-margin-top:20px}.topic summary{cursor:pointer;display:flex;align-items:center;gap:12px;list-style:none}.topic summary:after{content:'＋';margin-left:auto;color:var(--muted)}.topic[open] summary:after{content:'−'}.topic summary h3{margin:0}.topic .body{padding-top:18px}.topic ul{padding-left:22px}.topic li{margin-bottom:9px}.topic-source{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:18px}.example{background:#f6f8fc;padding:18px;border-radius:8px;font-size:14px}.example ol{padding-left:20px}.topic-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.done{background:#e6f5ef;color:var(--green)}select,input[type=number],input[type=text],input[type=date]{border:1px solid #d7dfeb;border-radius:8px;padding:8px 11px;background:white;color:var(--ink)}.quiz-card{max-width:850px;margin:20px auto}.question-number{font-size:13px;color:var(--blue);font-weight:600;margin-bottom:14px}.question-title{font-size:21px;line-height:1.7;margin-bottom:24px}.options{display:grid;gap:12px}.option{text-align:left;background:#fff;border:1px solid var(--line);padding:14px 18px;font-weight:400;color:var(--ink);display:flex;gap:14px;align-items:center}.option.selected{border-color:var(--blue);background:#eef3ff}.option.correct{border-color:var(--green);background:#ebf7f1}.option.incorrect{border-color:#ce6666;background:#fff0ef}.option:disabled{opacity:1}.letter{width:28px;height:28px;flex-shrink:0;border-radius:6px;display:grid;place-items:center;background:#f0f3f8;font-size:13px}.feedback{padding:20px;background:#edf5f1;border-radius:10px;margin:20px 0}.feedback.bad{background:#fff2ed}.quiz-footer{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.empty{text-align:center;padding:65px 20px}.empty .symbol{font-size:42px;color:var(--blue);margin-bottom:10px}.source-grid,.lab-grid,.calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.source-card .org{color:var(--green);font-size:12px;letter-spacing:.5px;margin-bottom:10px}.source-card p{font-size:14px;color:var(--muted)}.source-card a{font-size:14px}.source-card small{display:block;color:#8b95a6;margin-top:8px}.flash{max-width:780px;min-height:330px;margin:24px auto;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:40px;border-top:4px solid var(--blue)}.flash h2{font-size:26px}.flash .answer{text-align:left;width:100%}.flash-controls{display:flex;gap:12px;justify-content:center}.formula{font-family:Consolas,monospace;font-size:20px;background:#edf3ff;padding:16px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.calculator{max-width:850px}.fields{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:20px 0}.fields label{display:grid;gap:6px;font-size:14px;color:var(--muted)}.result{padding:20px;background:#eaf4f0;border-radius:10px;overflow-wrap:anywhere;margin-top:18px}.result b{font-size:22px}.plan-row{display:flex;align-items:flex-start;gap:18px;padding:22px;margin-bottom:12px}.plan-day{border-radius:8px;background:#edf2ff;color:var(--blue);padding:6px 12px;flex-shrink:0;font-size:14px}.plan-row p{font-size:14px;color:var(--muted);margin:0}.plan-row h3{margin-bottom:6px}.plan-row a{margin-left:auto;white-space:nowrap;font-size:14px}footer{padding:20px 42px;border-top:1px solid var(--line);font-size:12px;color:#8490a1;display:flex;justify-content:space-between}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:9px;padding:12px 24px;z-index:80;display:none;font-size:14px}body.menu-open .sidebar{transform:translateX(0)}@media(min-width:1600px){main{padding-top:45px}.hero{min-height:270px}.chapter-card{padding:24px}}@media(max-width:1200px){.sidebar{width:210px;padding:28px 18px}.workspace{margin-left:210px}main{padding:28px}.dashboard-grid{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.today{margin:0}.hero-art{width:220px}header{padding:0 28px}.chapter-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.sidebar{transform:translateX(-100%);width:240px;transition:transform .2s;box-shadow:10px 0 40px #152a5022}.workspace{margin-left:0}.menu{display:block;padding:3px 9px}header{height:68px;padding:0 16px;gap:10px}#breadcrumb,.avatar,kbd{display:none}.search{width:100%}main{padding:24px 16px}.pagehead{align-items:flex-start}h1{font-size:25px}.pagehead>button{font-size:13px;flex-shrink:0}.hero{padding:25px;min-height:230px}.hero h2{font-size:25px}.hero-art{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0 25px}.stat{padding:15px}.stat strong{font-size:25px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chapter-card{padding:16px}.chapter-card p{font-size:12px}.dashboard-aside,.source-grid,.lab-grid,.calc-grid{grid-template-columns:1fr}.dashboard-aside{display:grid}.topic summary h3{font-size:16px}.card{padding:19px}.question-title{font-size:19px}.flash{padding:25px;min-height:300px}.fields{grid-template-columns:1fr}.plan-row{gap:12px;flex-wrap:wrap}.plan-row a{margin-left:0}footer{padding:16px;display:block}footer span{display:block}.topic-actions{flex-wrap:wrap}.toolbar{gap:8px}.toolbar select{max-width:100%}}
.sidebar{overflow-y:auto}.sidebar-bottom{flex-shrink:0}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2369768a' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat}
@media(max-width:760px){.sidebar{visibility:hidden;box-shadow:none}body.menu-open .sidebar{visibility:visible;box-shadow:10px 0 40px #152a5022}}
