:root{--ink:#19383b;--muted:#647474;--green:#153f42;--lime:#d6e8b9;--paper:#f5f5ef;--border:#dfe5db;--white:#fff;--amber:#f2ddaf}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}button,input,textarea,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b88129;outline-offset:3px}button{min-height:44px;border:0;border-radius:12px;padding:11px 17px;color:var(--ink);background:#edf1e9;font-weight:650}button.primary{background:var(--green);color:white}button.light{background:var(--lime)}button.ghost{background:transparent;border:1px solid var(--border)}button.small{font-size:13px;padding:8px 12px}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3.6vw,43px);line-height:1.13;letter-spacing:-1.3px;margin-bottom:16px}h2{font-size:25px;letter-spacing:-.6px}h3{font-size:18px}.shell{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--border);padding:32px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-weight:750;line-height:1.25;margin-bottom:36px}.brand img{width:43px;height:43px}.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:1.4px;text-transform:uppercase;margin-top:5px}.nav{display:grid;gap:7px}.nav button{text-align:left;background:transparent;color:var(--muted);font-size:14px;display:flex;gap:12px;align-items:center}.nav button.active{background:#e8f0df;color:var(--green)}.nav-icon{font-size:20px;width:24px;text-align:center}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:19px;font-size:12px;color:var(--muted)}.main{padding:28px 40px 60px;max-width:1280px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:16px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:750;text-transform:uppercase;color:var(--muted);margin-bottom:10px}.badge{border:1px solid var(--border);border-radius:20px;padding:6px 12px;font-size:12px;background:#fff;white-space:nowrap}.hero{background:var(--green);border-radius:24px;padding:35px;color:#fff;display:grid;grid-template-columns:1fr 190px;gap:28px;position:relative;overflow:hidden}.hero .eyebrow{color:#b9d3bf}.hero p{color:#d1e0d9;max-width:530px}.hero h1{max-width:560px}.hero-art{align-self:center;justify-self:center;position:relative;width:162px;height:162px;border:1px solid #507275;border-radius:50%;display:grid;place-content:center;background:#204a4c}.hero-art strong{font-size:48px;line-height:1;color:var(--lime);text-align:center}.hero-art span{font-size:12px;text-align:center;color:#cbdcd4}.hero-art:before{content:"";position:absolute;inset:-14px;border:1px dashed #527577;border-radius:50%}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0 30px}.stat,.card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:23px}.stat strong{display:block;font-size:27px;line-height:1.2;margin:5px 0}.muted{color:var(--muted)}.smalltext{font-size:13px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:27px 0 16px}.section-title h2{margin:0}.subjects{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.subject-icon{border-radius:13px;width:44px;height:44px;display:grid;place-items:center;margin-bottom:17px;font-weight:750;font-size:21px;background:#edf3e6}.subject-icon.en{background:#e9edfa}.subject-icon.zh{background:#f7edd9}.subjects .card p{font-size:14px;color:var(--muted)}.subjects .card h3{margin-bottom:8px}.split{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.note{border-left:3px solid #bfa16e;background:#fbf5e9;padding:15px 18px;border-radius:0 12px 12px 0;font-size:14px}.progress{height:7px;background:#e6ebe3;border-radius:8px;overflow:hidden;margin:12px 0}.progress span{height:100%;display:block;background:#759d5b;border-radius:8px}.block-list{display:grid;gap:8px}.block-item{display:flex;align-items:center;gap:12px;font-size:14px}.dot{width:9px;height:9px;border-radius:50%;background:#bccdb4}.block-item small{margin-left:auto;color:var(--muted)}.lesson-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:22px}.lesson-head h1{font-size:32px;margin:6px 0}.timer{background:var(--green);color:white;border-radius:17px;padding:16px 20px;min-width:185px}.timer strong{font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:1px}.timer button{min-height:32px;padding:3px 10px;font-size:12px;background:#355c5e;color:#fff}.tabs{display:flex;gap:7px;padding:7px;background:#e8ede3;border-radius:15px;margin-bottom:22px;overflow-x:auto}.tabs button{background:transparent;white-space:nowrap;font-size:14px;flex:1}.tabs button.active{background:white;box-shadow:0 2px 6px #19383b0a}.tabs button.done:after{content:" ✓";color:#46793b}.lesson-content{max-width:880px}.lesson-content .card{margin-bottom:18px}.example{background:#edf4e9;border-radius:12px;padding:18px;margin:15px 0}.q{border-top:1px solid var(--border);padding:20px 0}.q:first-child{border:0}.q p{margin-bottom:12px}.qnum{font-size:12px;letter-spacing:1px;color:var(--muted);font-weight:bold}.answer-input{padding:12px 14px;width:220px;max-width:100%;border:1px solid #c4d2c4;border-radius:10px;background:#fafcf8;color:var(--ink);font-size:17px}.choices{display:grid;gap:8px}.choice{text-align:left;border:1px solid var(--border);background:#f9fbf7;font-weight:450;display:flex;gap:10px;align-items:center}.choice[aria-pressed=true]{background:#e4efda;border-color:#6d9659}.choice .letter{font-size:12px;font-weight:750;width:25px;color:#647c62}.feedback{font-size:14px;border-radius:10px;padding:12px 15px;margin-top:12px;background:#edf5e8}.feedback.wrong{background:#fff0da}.feedback strong{display:block}.hint{font-size:13px;color:var(--muted);margin-top:10px}textarea{width:100%;min-height:170px;resize:vertical;border:1px solid #c4d2c4;border-radius:12px;background:#fbfcf9;padding:15px;color:var(--ink);line-height:1.8;font-size:17px}.passage{font-size:18px;line-height:1.95;color:#28474a;white-space:pre-line;max-width:72ch}.passage.zh{font-size:21px;line-height:2.05}.rubric{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:15px 0}.rubric label{font-size:14px}.rubric select{display:block;width:100%;padding:10px;border:1px solid var(--border);border-radius:9px;background:#fff;min-height:44px}.vocab{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.vocab span{font-size:14px;background:#f3eedf;padding:7px 11px;border-radius:8px}.week{margin:20px 0}.week summary{cursor:pointer;background:white;padding:19px;border:1px solid var(--border);border-radius:14px;font-weight:650}.week[open] summary{border-radius:14px 14px 0 0}.session-row{display:grid;grid-template-columns:65px 1fr auto;gap:15px;align-items:center;padding:15px 20px;background:#fff;border:1px solid var(--border);border-top:0}.session-row:last-child{border-radius:0 0 14px 14px}.session-row small{display:block;color:var(--muted)}.session-row .date{font-size:13px;font-weight:700}.complete{color:#477638}.footer-action{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0;flex-wrap:wrap}video{display:block;width:100%;max-height:380px;border-radius:13px;background:#0f2021;margin:15px 0}input[type=file]{max-width:100%;font-size:14px;margin:10px 0}.record-status{color:#9e382a;font-size:14px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:12px;border-bottom:1px solid var(--border);text-align:left}th{font-size:12px;color:var(--muted)}.empty{padding:40px;text-align:center;border:1px dashed #b7c9b3;border-radius:15px}.checklist label{display:flex;gap:10px;margin:12px 0;font-size:15px}.checklist input{width:20px;height:20px;flex:none}.printlink{font-size:14px}.banner{background:#e5eedf;padding:12px 17px;border-radius:12px;margin-bottom:18px;font-size:14px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#193f42;color:#fff;border-radius:12px;padding:12px 20px;box-shadow:0 8px 35px #0002;display:none;max-width:90%;z-index:99}.hidden{display:none!important}.record-panel{margin-top:18px;border-top:1px solid var(--border);padding-top:20px}.pill{font-size:11px;font-weight:750;padding:4px 9px;background:#edf2e8;border-radius:20px}.pill.optional{background:#fff0d4}.save-status{font-size:12px;color:#d4e1d8}.record-buttons{display:flex;gap:9px;flex-wrap:wrap}.copyright{font-size:12px;color:var(--muted);margin-top:24px}.accent{color:#527f40}@media(max-width:1050px){.shell{grid-template-columns:184px 1fr}.sidebar{padding:25px 12px}.main{padding:25px}.hero{grid-template-columns:1fr 135px;padding:28px}.hero-art{width:120px;height:120px}.hero-art strong{font-size:38px}.subjects{gap:10px}.card{padding:19px}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:14px 18px;border-right:0;border-bottom:1px solid var(--border)}.brand{margin-bottom:12px}.brand img{width:35px;height:35px}.nav{display:flex;gap:4px}.nav button{flex:1;justify-content:center;padding:10px 6px;font-size:12px;gap:5px}.nav-icon{font-size:17px;width:auto}.sidebar-bottom{display:none}.main{padding:20px 16px 45px}.topbar{margin-bottom:18px}.hero{grid-template-columns:1fr;padding:26px}.hero-art{display:none}.stats{gap:9px}.stat{padding:15px}.stat strong{font-size:23px}.subjects{grid-template-columns:1fr}.subjects .card{display:grid;grid-template-columns:45px 1fr;gap:0 14px}.subject-icon{grid-row:1/4}.subjects .card p{margin-bottom:0}.split{grid-template-columns:1fr}.lesson-head{display:block}.timer{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.timer .eyebrow{display:none}.timer .row{gap:6px}.lesson-head h1{font-size:28px}.session-row{padding:13px;grid-template-columns:49px 1fr auto;gap:10px}.rubric{grid-template-columns:1fr}.passage{font-size:17px}.passage.zh{font-size:20px}.tabs button{padding:10px 12px}.topbar .badge{font-size:11px}.card{padding:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.sidebar,.topbar,.timer,.tabs,button,#toast{display:none!important}.shell{display:block}.main{padding:0}.card{break-inside:avoid}.hero{color:#19383b;background:white}.hero p{color:#19383b}body{background:white}}

.subject-library{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.subject-library .card{display:block}.subject-library button{width:100%;text-align:left}.subject-library h2{font-size:23px}@media(max-width:760px){.nav{flex-wrap:wrap}.nav button{min-width:60px}.subject-library{grid-template-columns:1fr}}

[hidden]{display:none!important}#account-bar{background:#fff;padding:10px 24px;text-align:right;border-bottom:1px solid #dfe5db}#login-panel{max-width:560px;margin:10vh auto;padding:35px;background:#fff;border-radius:22px}#login-panel img{width:52px}#login-status{min-height:3em}.login-wrap{padding:20px}