@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#182b29;--muted:#65736d;--green:#164f40;--lime:#d5ed87;--paper:#f7f7f2;--line:#dfe5dc;--white:#fff;--orange:#e9a47c; font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d59854;outline-offset:3px}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(5%,calc((100% - 1280px)/2));gap:24px}.brand{font:800 23px Manrope,sans-serif;letter-spacing:-1.3px}.brand span{color:#679139}.brand-dot{display:inline-grid;place-items:center;background:var(--green);color:#fff!important;width:29px;height:29px;border-radius:9px;font-size:16px;margin-right:8px}.nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:600}.nav a.active{color:var(--green);border-bottom:2px solid var(--green);padding:26px 0}.grade{border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:#fff;color:var(--ink)}.shell{max-width:1280px;margin:auto;padding:36px 5% 80px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:800;color:#638168}.hero{background:#e9f0e5;border-radius:16px;padding:48px 52px;display:grid;grid-template-columns:1.3fr 1fr;gap:30px;position:relative;overflow:hidden}.hero h1,h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.045em;margin:0}.hero h1{font-size:clamp(36px,4.5vw,60px);line-height:1.08;max-width:650px;margin:14px 0 18px}.hero p{color:#52685d;font-size:16px;line-height:1.7;max-width:520px}.hero-art{display:flex;align-items:center;justify-content:center}.orbit{width:235px;height:235px;border:1px solid #b5cdb4;border-radius:50%;display:grid;place-items:center;position:relative}.orbit:before,.orbit:after{content:'';position:absolute;border:1px solid #c5d8c2;border-radius:50%;inset:23px}.orbit:after{inset:-22px}.formula{background:var(--green);color:white;z-index:1;border-radius:16px;padding:29px;font:700 32px Manrope;transform:rotate(-7deg);box-shadow:0 15px 35px #355a3e25}.star{position:absolute;right:10px;top:10px;font-size:30px;color:#8faa61}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:25px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--green);background:var(--green);color:white;border-radius:8px;padding:12px 17px;font-weight:700;font-size:13px}.button.secondary{background:white;color:var(--green);border-color:#d8e2d8}.button:disabled{opacity:.5;cursor:not-allowed}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:48px 0 20px}.section-head h2{font-size:26px}.section-head p,.subtle{color:var(--muted);font-size:14px;line-height:1.6;margin:7px 0 0}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.source-card{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;min-height:205px;display:flex;flex-direction:column;transition:transform .15s,border-color .15s}.source-card:hover{transform:translateY(-3px);border-color:#9db8a3}.source-top{display:flex;justify-content:space-between;align-items:center}.source-icon{width:43px;height:43px;display:grid;place-items:center;background:#eaf2e6;color:var(--green);border-radius:10px;font-size:24px}.source-card:nth-child(2) .source-icon{background:#fbefe7;color:#a8603f}.source-card:nth-child(3) .source-icon{background:#f2f0e4;color:#8c7f3c}.arrow{font-size:20px;color:#95a39a}.source-card h3{font-size:17px;margin-top:21px}.source-card p{font-size:13px;color:var(--muted);margin:8px 0 20px;line-height:1.5}.card-bottom{margin-top:auto;font-size:12px;font-weight:700;color:var(--green)}.footnote{display:flex;justify-content:space-between;color:#849188;font-size:12px;margin-top:55px}.page-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:20px 0 28px}.page-head h1{font-size:38px;margin-top:10px}.crumb{color:#718078;font-size:13px;margin-bottom:22px}.crumb a{text-decoration:underline;text-underline-offset:3px}.layout{display:grid;grid-template-columns:240px 1fr;gap:32px}.side{background:#eff3ec;border-radius:12px;padding:20px;height:max-content}.side h3{font-size:12px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:15px;color:#74867b}.side a{display:block;padding:11px 12px;border-radius:7px;font-size:13px;color:#53665b}.side a.selected{background:white;color:var(--green);font-weight:700}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.row{display:flex;align-items:center;gap:18px;padding:20px 23px;border-bottom:1px solid #edf0eb}.row:last-child{border:0}.row:hover{background:#fafcf9}.row-num{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#f0f4ed;color:#718875;font-weight:700;font-size:12px;flex:none}.row-main{flex:1;min-width:0}.row h3{font-size:15px;letter-spacing:-.02em}.row p{font-size:12px;color:var(--muted);margin:5px 0 0}.pill{font-size:11px;font-weight:700;color:#56715d;background:#eef4eb;padding:6px 9px;border-radius:20px;white-space:nowrap}.notice{background:#f8f6ed;border:1px solid #ede7d3;border-radius:10px;padding:16px 18px;color:#6f6956;font-size:13px;line-height:1.6;margin-bottom:22px}.empty{padding:50px 24px;text-align:center;color:var(--muted);line-height:1.6}.empty strong{display:block;color:var(--ink);font:700 18px Manrope;margin-bottom:8px}.solver{max-width:850px;margin:auto}.question-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:28px}.question-card{background:white;border:1px solid var(--line);border-radius:14px;padding:38px}.question-card h1{font-size:26px;margin:12px 0 26px}.statement{font-size:21px;line-height:1.6;margin:0 0 30px}.label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.answer-input,input[type=text],input[type=number],select,textarea{border:1px solid #d5ded4;border-radius:8px;padding:12px;background:white;color:var(--ink);max-width:100%}.answer-input{width:260px}.options{display:grid;gap:9px}.option{border:1px solid var(--line);padding:13px;border-radius:8px;display:flex;gap:10px;align-items:center}.hint,.solution,.feedback{padding:15px 17px;border-radius:8px;margin-top:12px;font-size:14px;line-height:1.6}.hint{background:#f6f6e8}.solution{background:#edf5ef}.feedback{background:#fdf1e9}.feedback.good{background:#edf5ef}.divider{height:1px;background:var(--line);margin:26px 0}.progress-bar{height:6px;background:#edf0ea;border-radius:9px;overflow:hidden;margin-top:10px}.progress-bar span{display:block;height:100%;background:#78a774}.form-grid{display:grid;gap:14px}.form-grid label{font-size:13px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea{display:block;width:100%;margin-top:6px}.form-grid textarea{min-height:90px}.teacher-note{max-width:700px}.small{font-size:12px;color:var(--muted)}.mobile-nav{display:none}@media(max-width:760px){.topbar{height:auto;min-height:65px;padding:14px 5%;flex-wrap:wrap;gap:12px}.nav{gap:15px;font-size:12px}.nav a.active{padding:0 0 5px}.brand{font-size:20px}.grade{padding:7px}.shell{padding-top:24px}.hero{padding:31px 25px;display:block}.hero h1{font-size:38px}.hero-art{display:none}.source-grid{grid-template-columns:1fr}.source-card{min-height:160px}.source-card h3{margin-top:15px}.section-head{margin-top:35px}.layout{grid-template-columns:1fr;gap:15px}.side{display:flex;gap:5px;overflow-x:auto;padding:8px}.side h3{display:none}.side a{white-space:nowrap}.page-head h1{font-size:30px}.question-card{padding:24px}.statement{font-size:18px}.footnote{display:block}.row{padding:16px 14px;gap:10px}.pill{font-size:10px}}
.account-link{font-size:13px;font-weight:700;color:var(--green);white-space:nowrap}.account-wrap{max-width:470px;margin:55px auto;background:white;border:1px solid var(--line);border-radius:14px;padding:38px}.account-wrap h1{font-size:34px;margin:10px 0}.text-button{border:0;background:none;color:var(--green);font-weight:700;padding:0;text-decoration:underline;text-underline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:760px){.account-wrap{margin:20px auto;padding:25px}.account-link{margin-left:auto}}
.term-link{border:0;border-bottom:1px dashed #32806c;padding:0;background:transparent;color:#17624f;font:inherit;text-align:inherit}.term-link:hover{border-bottom-style:solid}.glossary-dialog{width:min(440px,calc(100% - 32px));border:1px solid var(--line);border-radius:14px;padding:28px;color:var(--ink);box-shadow:0 18px 60px #10292030}.glossary-dialog::backdrop{background:#10292077}.glossary-heading{display:flex;justify-content:space-between;align-items:center}.glossary-dialog h2{font-size:25px;margin:12px 0}.glossary-dialog p{line-height:1.7;color:#52685d}.term-close{border:0;background:none;color:var(--muted);font-size:26px;cursor:pointer}.term-example{background:#eff5eb;border-radius:8px;padding:14px;line-height:1.6;font-size:14px;margin:20px 0}
.dash-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:25px 0 27px}.dash-heading h1{font-size:clamp(32px,4vw,46px);margin-top:10px}.dash-overview{display:grid;grid-template-columns:1fr 1.5fr;gap:16px}.streak-block{border-radius:14px;padding:28px;background:#1c503f;color:#fff}.streak-label,.stat-label{font-size:11px;font-weight:800;letter-spacing:.12em}.streak-label{color:#c6dfc6;display:flex;justify-content:space-between}.streak-label span{font-size:23px;color:#d5ed87}.streak-number{font:800 62px Manrope;letter-spacing:-.06em;line-height:1;margin:20px 0 6px}.streak-number small{font-size:19px;letter-spacing:-.03em}.streak-block p{font-size:13px;line-height:1.5;color:#c8ddcf}.week-row{display:flex;justify-content:space-between;gap:8px;margin:25px 0 16px}.week-day{display:grid;justify-items:center;gap:8px;font-size:11px;color:#c8ddcf}.day-dot{width:33px;height:33px;border:1px solid #729788;border-radius:50%;display:grid;place-items:center}.day-dot.done{background:#d5ed87;color:#214b3c;border-color:#d5ed87;font-weight:800}.dash-stats{background:white;border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:1fr 1fr}.dash-stats>div{padding:26px}.dash-stats>div:first-child{border-right:1px solid var(--line)}.stat-label{color:#75867b}.dash-stats strong{display:block;font:800 30px Manrope;letter-spacing:-.04em;margin:13px 0 5px}.dash-stats strong small{font-size:15px;color:#89988d}.dash-stats p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.dash-stats .score-block{grid-column:1 / -1;border-top:1px solid var(--line)}.score-block strong{font-size:19px}.streak-block .small{color:#c8ddcf}@media(max-width:760px){.dash-heading{align-items:start;flex-direction:column}.dash-overview{grid-template-columns:1fr}.dash-stats>div{padding:20px}.dash-stats strong{font-size:24px}}
.resource-entry{padding:30px;max-width:800px}.resource-entry h2{font-size:24px;margin:12px 0 6px}.resource-entry p{color:var(--muted);font-size:14px;line-height:1.7}.resource-entry .resource-author{color:var(--ink);font-weight:700;margin-top:0}.resource-entry .button{margin-top:12px}.footnote a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px}@media(max-width:760px){.resource-entry{padding:22px}.footnote span{display:block;margin-top:8px}}
.resource-chapter a{white-space:nowrap}.resource-chapter a:hover{text-decoration:underline;text-underline-offset:3px}@media(max-width:520px){.resource-chapter{flex-wrap:wrap}.resource-chapter .row-main{flex-basis:calc(100% - 50px)}.resource-chapter a:first-of-type{margin-left:44px}}

.statement{white-space:pre-line}

.question-image{display:block;max-width:100%;height:auto;margin:16px 0;border-radius:6px}

.dash-stats .course-estimate{grid-column:1 / -1;border-top:1px solid var(--line)}.estimate-plans{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.estimate-plans strong{margin-top:12px}

/* Keep account controls and navigation in predictable rows on small screens. */
@media (max-width:760px){
  .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account" "nav grade";column-gap:12px;row-gap:10px;padding:12px 5%}
  .topbar .brand{grid-area:brand;white-space:nowrap}
  .topbar .account-link{grid-area:account;margin:0}
  .topbar .nav{grid-area:nav;min-width:0;overflow-x:auto;white-space:nowrap;gap:18px;scrollbar-width:thin}
  .topbar .nav a{display:inline-flex;align-items:center;min-height:40px;flex:none}
  .topbar .nav a.active{padding:0;border-bottom:2px solid var(--green)}
  .topbar > label.small{grid-area:grade;justify-self:end}
  .topbar .grade{min-height:40px;padding:7px 9px;font-size:13px}
}
