:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2b2b;background:#f6f5f1;font-synthesis:none;font-size:16px;line-height:1.55}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #e4a261;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.2;letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.5rem);font-weight:750}h2{font-size:clamp(1.4rem,2.8vw,2.05rem)}h3{font-size:1.08rem}p{line-height:1.7}.subtle,.muted{color:#72807e}.layout{display:grid;grid-template-columns:254px minmax(0,1fr);min-height:100vh}.sidebar{background:#e9ece7;border-right:1px solid #dce1da;padding:38px 22px;display:flex;flex-direction:column;min-height:100vh}.brand{font-size:1.6rem;font-weight:800;letter-spacing:-.06em;display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;background:#224e46;color:#fff;border-radius:12px;width:38px;height:38px;font-size:1.6rem;line-height:1}.brand-dot{color:#d9915d}.side-description{font-size:.86rem;margin:15px 0 48px 48px;color:#6d7a73}.side-nav{display:flex;flex-direction:column;gap:8px}.nav-button{border:0;text-align:left;padding:12px 15px;border-radius:12px;background:transparent;color:#566761;font-weight:650}.nav-button span{margin-right:10px;font-size:1.15rem}.nav-button:hover{background:#dbe4dc}.nav-button.active{background:#d3e3d9;color:#24584b}.side-bottom{margin-top:auto;padding:18px 4px 0;color:#52675e;font-size:.81rem;line-height:1.7}.offline-dot{display:inline-block;width:8px;height:8px;background:#377f66;border-radius:50%;margin-right:8px}.main-area{min-width:0;display:flex;flex-direction:column}.topbar{padding:28px min(5.4vw,72px);border-bottom:1px solid #ebeae5;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar-title{font-size:.68rem;letter-spacing:.18em;font-weight:750;color:#8b928e}.link-button,.text-button{padding:7px 3px;border:0;background:transparent;color:#315e54;font-weight:650;font-size:.89rem}.link-button:hover,.text-button:hover{text-decoration:underline}main{flex:1;width:min(100%,1120px);margin:0 auto;padding:54px min(5.4vw,72px) 70px}.footer{font-size:.78rem;padding:22px min(5.4vw,72px);display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;color:#87908b;border-top:1px solid #ebeae5}.eyebrow{color:#416f5f;text-transform:uppercase;letter-spacing:.15em;font-size:.7rem;font-weight:800;display:block;margin-bottom:16px}.hero-description{max-width:550px;color:#62716b;font-size:1.02rem;margin-top:16px}.hero-actions{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap}.btn{padding:13px 21px;border:1px solid transparent;background:#204f44;color:white;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:750;box-shadow:0 5px 15px #214c4220;min-height:49px}.btn:hover:not(:disabled){background:#153c32}.btn.secondary{background:#fff;border-color:#cfdad2;color:#2b5147;box-shadow:none}.btn.secondary:hover{background:#eff5f0}.btn.ghost{background:transparent;border-color:transparent;color:#2c594c;box-shadow:none}.btn.danger{background:#ad493f}.btn.danger:hover{background:#8f342b}.dashboard-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:24px}.surface{background:white;border-radius:20px;padding:27px;border:1px solid #e4e8e2;box-shadow:0 7px 25px #304f4009}.hero-card{background:#e3ede6;border:1px solid #d4e4d8;border-radius:22px;padding:36px}.hero-card h1{max-width:560px}.progress-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:14px}.progress-ring{width:158px;height:158px;border-radius:50%;background:conic-gradient(#2e6657 var(--pct),#e8efeb 0);display:grid;place-items:center}.progress-ring-inner{width:128px;height:128px;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-number{font-size:2.3rem;letter-spacing:-.055em;font-weight:750;line-height:1}.ring-label{font-size:.76rem;color:#778780}.progress-panel p{font-size:.89rem;color:#778780}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:46px 0 18px}.topic-list{display:grid;gap:9px}.topic-item{border:1px solid #e5e9e2;background:#fff;border-radius:14px;padding:16px 19px;display:flex;gap:15px;align-items:center;text-align:left;width:100%;color:inherit}.topic-item:hover{background:#f9fbf8;border-color:#b5d4c3}.topic-index{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:#f0f4f1;color:#4a6a5d;font-size:.8rem;font-weight:760}.topic-item.done .topic-index{background:#d8eee0;color:#246248}.topic-copy{flex:1;min-width:0;display:flex;flex-direction:column}.topic-copy strong{font-weight:710}.topic-copy small{color:#87918b;font-size:.8rem;margin-top:2px}.topic-tag{font-size:.75rem;color:#7b8982;background:#f1f3ef;padding:5px 10px;border-radius:50px;white-space:nowrap}.topic-item.done .topic-tag{color:#286d4f;background:#e8f4eb}.topic-arrow{color:#899a90;font-size:1.25rem}.page-header{margin-bottom:31px}.page-header p{color:#708078;max-width:650px;margin-top:10px}.breadcrumb{margin-bottom:26px;color:#6d8175;font-size:.83rem;display:flex;gap:8px;align-items:center}.breadcrumb button{border:0;background:transparent;color:#315e53;padding:0;font-size:inherit}.lesson-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px}.lesson-main{display:grid;gap:16px}.lesson-main h3{margin-bottom:8px}.lesson-main p{color:#5f7067}.formula{background:#edf4ee;border-radius:12px;padding:18px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#225445;font-weight:650;line-height:1.6;overflow-wrap:anywhere}.examples{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:13px}.examples li{padding:0 0 12px;border-bottom:1px solid #edf1eb}.examples li:last-child{border:0;padding:0}.examples strong{display:block;color:#274f44;font-weight:700}.examples small{display:block;color:#7c8b81;margin-top:4px}.lesson-sidebar{align-self:start;position:sticky;top:24px}.pill{border-radius:30px;background:#ecf2ed;padding:5px 11px;color:#4d6a59;font-size:.79rem;font-weight:680}.question-shell{max-width:760px;margin:0 auto}.question-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.step-label{font-weight:740;color:#436453;font-size:.88rem}.question-count{color:#859489;font-size:.82rem}.steps{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;margin-bottom:36px}.step{height:6px;background:#dde6de;border-radius:20px}.step.done{background:#2b725b}.step.current{background:#b7cdbf}.question-card{border-radius:22px;padding:36px;background:white;border:1px solid #e2e8df;box-shadow:0 10px 40px #385e4212}.question-card h2{font-size:clamp(1.2rem,2.7vw,1.65rem);margin-bottom:19px;line-height:1.45}.question-sentence{font-size:clamp(1.3rem,3vw,1.85rem);font-weight:680;letter-spacing:-.022em;color:#245043;line-height:1.6;background:#f5f8f4;padding:25px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.answer-section{margin-top:25px}.choice-list{border:0;padding:0;margin:0;display:grid;gap:10px}.choice-list legend{font-size:.78rem;color:#708176;font-weight:740;margin-bottom:13px}.choice{display:flex;align-items:center;gap:14px;border:1px solid #dfe7df;border-radius:12px;padding:16px;cursor:pointer;transition:background .15s,border-color .15s}.choice:hover{background:#f6faf6}.choice:has(input:checked){border-color:#367d62;background:#eef6ef}.choice:has(input:focus-visible){outline:3px solid #e4a261;outline-offset:3px}.choice input{accent-color:#276650;width:17px;height:17px;flex:none}.choice span{overflow-wrap:anywhere}.input-label{display:block;font-weight:720;margin-bottom:10px}.answer-input{width:100%;min-height:53px;border:1.5px solid #ccd9cf;padding:13px 15px;border-radius:12px;color:#1c4135;background:#fff;font-size:1.04rem}.answer-input:disabled{background:#f4f6f3}.answer-hint{display:block;font-size:.82rem;margin-top:9px;color:#788980}.feedback{margin-top:22px;border-radius:12px;padding:16px 18px;border:1px solid #c9dfd0;background:#eff8f1}.feedback.incorrect{border-color:#ead2bd;background:#fdf6ed}.feedback strong{display:block;margin-bottom:7px;color:#27674d}.feedback.incorrect strong{color:#91562b}.feedback p{color:#5c6b5d;font-size:.89rem;margin-top:7px;overflow-wrap:anywhere}.feedback code{background:#ffffffa8;padding:3px 5px;border-radius:5px;color:#304a3c;font-family:inherit;font-weight:690}.question-controls{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:26px}.result-score{font-size:5rem;font-weight:780;letter-spacing:-.07em;line-height:1;color:#2e6c56}.result-score small{font-size:1.5rem;color:#8b9b90}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.result-summary{background:#e8f0e8}.result-summary.fail{background:#f5ede4}.review-item{border:1px solid #e4e8e2;background:#fff;border-radius:12px;padding:17px;margin-top:10px}.review-item p{font-size:.86rem;color:#5d6f62;overflow-wrap:anywhere}.review-item strong{display:block;margin-bottom:6px}.status-inline{font-size:.82rem;font-weight:750;color:#35745a}.status-inline.fail{color:#99562c}.settings-stack{display:grid;gap:16px;max-width:700px}.notice{background:#f3f6f1;border-left:4px solid #90b4a0;padding:15px 18px;border-radius:8px;font-size:.86rem;color:#526a58}.settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.empty-note{margin-top:15px;color:#60736b}.toast{position:fixed;bottom:24px;right:22px;padding:13px 20px;border-radius:12px;background:#25594a;color:#fff;box-shadow:0 8px 26px #193c3440;max-width:min(90vw,410px);z-index:10}.toast[hidden]{display:none}.list-footer{margin-top:22px;font-size:.81rem;color:#788a7d}.question-nav-note{font-size:.8rem;color:#788a7c}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1000px){.layout{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:28px 15px}.dashboard-grid{grid-template-columns:1fr}.progress-panel{flex-direction:row;text-align:left;justify-content:flex-start}.progress-ring{width:108px;height:108px;flex:none}.progress-ring-inner{width:87px;height:87px}.ring-number{font-size:1.7rem}.lesson-grid{grid-template-columns:1fr}.lesson-sidebar{position:static}}
@media(max-width:680px){.layout{display:block}.sidebar{min-height:auto;padding:14px 18px;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.brand{font-size:1.3rem}.brand-mark{width:32px;height:32px;font-size:1.2rem;border-radius:9px}.side-description,.side-bottom{display:none}.side-nav{flex-direction:row;gap:4px}.nav-button{font-size:0;padding:10px 12px}.nav-button span{font-size:1.23rem;margin:0}.topbar{padding:14px 20px}.topbar-title{font-size:.63rem}.link-button{font-size:.75rem}main{padding:32px 18px 48px}.footer{padding:20px}.hero-card{padding:25px 22px}.surface{padding:20px}.section-heading{margin-top:29px}.topic-item{padding:12px;gap:11px}.topic-tag{display:none}.topic-item small{font-size:.76rem}.question-card{padding:21px}.question-sentence{padding:17px}.question-controls{flex-wrap:wrap}.question-controls .btn{flex:1}.result-grid{grid-template-columns:1fr}.progress-panel{gap:20px}.progress-ring{width:98px;height:98px}.progress-ring-inner{width:78px;height:78px}.ring-label{font-size:.61rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.choice{transition:none}}
