.math-course{--ink:#173e36;--muted:#5c756d;--lime:#d9f99d;--line:#dce7e0;background:#f5f7f2;color:var(--ink)}
.math-course aside{width:280px;padding:26px 20px}.math-course .shell{margin-left:280px}.math-course main{max-width:1240px;padding:38px;margin:auto}.math-course h1{font-size:clamp(34px,4vw,56px);line-height:1.12;letter-spacing:-1.8px;margin:15px 0 22px}.math-course h2{letter-spacing:-.5px}.math-course p{line-height:1.8}.math-course button,.math-course input,.math-course select{font:inherit}.math-course button{cursor:pointer}.math-course button:focus-visible,.math-course a:focus-visible,.math-course summary:focus-visible{outline:3px solid #749f45;outline-offset:4px}.math-course .site-links{padding:14px 38px}.math-course .path-switch{margin-top:20px}.math-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:750;text-transform:uppercase;color:#53763c}.math-hero{position:relative;padding:32px;border:1px solid var(--line);background:linear-gradient(135deg,#fff 35%,#e7f1db);border-radius:20px;margin-bottom:24px;overflow:hidden}.math-hero h1{max-width:790px}.math-hero>p{max-width:740px;font-size:17px}.math-hero .math-badges{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.math-badges span{background:#fff9;padding:7px 12px;border:1px solid #cad9be;border-radius:30px;font-size:12px}.math-toolbar{display:flex;gap:8px;flex-wrap:wrap}.math-button,.math-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;border:1px solid #bfd0c5;border-radius:8px;background:white;color:var(--ink);text-decoration:none;font-size:13px}.math-button.primary{background:var(--ink);color:white;border-color:var(--ink)}.math-progress{margin:18px 0 12px;color:#c4dccb;font-size:12px}.math-progress progress{display:block;width:100%;height:6px;margin-top:10px;accent-color:#c9f58e}.math-search{width:100%;box-sizing:border-box;background:#23483e;border:1px solid #547365;color:#fff;border-radius:7px;padding:10px 12px;font-size:13px!important}.math-search::placeholder{color:#b0c8bc}#math-nav{display:block;margin-top:16px}#math-nav details{border-top:1px solid #31564a;padding:9px 0}#math-nav summary{font-size:12px;line-height:1.5;color:#c8dfc5;cursor:pointer;padding:5px 2px}#math-nav a{display:block;padding:8px 10px;margin:3px 0;color:#d2dfd8;text-decoration:none;font-size:12px;line-height:1.5;border-radius:6px}#math-nav a[aria-current=page]{background:#cbe9a6;color:#1b392c;font-weight:700}#math-nav a.completed:after{content:' ✓';color:#87b850}.math-course .side-note{display:none}.math-side-tools{font-size:11px;color:#adc4b8;margin:12px 0}.math-side-tools button{border:0;background:none;color:#d5e9bb;text-decoration:underline;padding:0}.math-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:22px}.math-panel>summary{cursor:pointer;font-weight:700}.math-panel>h2{margin:0 0 15px;font-size:22px}.math-course .math-body{font-size:17px;color:#38584c;max-width:82ch}.math-lesson-head{padding:22px 0 15px}.math-lesson-head h2{font-size:clamp(29px,3.6vw,43px);line-height:1.2;margin:10px 0 16px}.math-prereq{font-size:13px;line-height:1.7;color:var(--muted)}.math-prereq a{color:#377158}.math-lab{background:#102e29;color:#eaf6e8;border-radius:18px;overflow:hidden;margin:22px 0}.math-lab-head{padding:24px 28px 0;display:flex;gap:14px;justify-content:space-between;align-items:center}.math-lab-head h3{margin:0;font-size:18px}.math-lab-head button{background:#294b3b;border:1px solid #547359;border-radius:7px;color:#e3f4d6;padding:8px 12px;font-size:12px}.math-stats{display:flex;flex-wrap:wrap;gap:15px 30px;padding:22px 28px 8px}.math-stat span{display:block;font-size:11px;color:#b4ccb9;margin-bottom:5px}.math-stat strong{font-size:24px;font-weight:600;letter-spacing:-.5px}.math-chart{padding:4px 15px;overflow:hidden}.math-chart svg{width:100%;display:block;min-height:0;max-height:520px}.math-legend{display:flex;flex-wrap:wrap;gap:7px 16px;font-size:11px;padding:5px 28px 15px;color:#c2d4cb}.math-legend span:before{content:'';display:inline-block;width:15px;height:3px;background:var(--color);margin:0 6px 3px 0}.math-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:25px;background:#1d4037;padding:22px 28px}.math-control label{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#d8e8d9}.math-control output{font-weight:700;color:#d6fa9b}.math-control input{width:100%;accent-color:#c1eb87;margin:18px 0 3px}.math-control small{display:flex;justify-content:space-between;color:#a4c0b1;font-size:11px}.math-feedback{padding:18px 28px;font-size:14px;line-height:1.7;color:#d9e9da;background:#28493c}.math-note{padding:12px 28px 22px;color:#b4cbbd;font-size:12px;line-height:1.7}.math-equation{padding:20px;border-radius:10px;background:#eef4e9;color:#264531;font-family:Georgia,serif;font-size:21px;line-height:1.7;overflow-wrap:anywhere}.math-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.math-columns .math-panel{margin:0}.math-example{padding:17px 20px;border-left:3px solid #86ab50;background:#f3f7ee;line-height:1.8;font-size:16px}.math-course table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}.math-course th,.math-course td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}.math-course td:nth-child(2){font-variant-numeric:tabular-nums;white-space:nowrap}.math-table-wrap{overflow:auto}.math-course details.answer{border-top:1px solid var(--line);padding:17px 0}.math-course details.answer summary{font-size:16px;cursor:pointer;line-height:1.7}.math-course details.answer p{padding:12px 18px;background:#f0f5eb;color:#3b5948;border-radius:8px}.math-check{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.math-check input{border:1px solid #bccfbd;padding:10px;border-radius:8px;width:140px;max-width:100%;box-sizing:border-box}.math-check-status{font-size:14px;min-height:1.7em}.math-learned{display:flex;gap:10px;align-items:center;font-size:15px}.math-learned input{accent-color:#38774c;width:19px;height:19px}.math-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:20px 0}.math-source{font-size:13px;color:var(--muted);line-height:1.8}.math-source a{color:#35614c}.math-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.math-map a{display:block;text-decoration:none;background:#f1f6ec;padding:17px;border:1px solid #d9e6d0;border-radius:9px;color:#24472e;font-size:14px;line-height:1.6}.math-map small{display:block;color:#6a806b}.math-glossary input{width:100%;box-sizing:border-box;border:1px solid #b7cbbd;padding:12px;border-radius:8px;margin-top:20px}.math-glossary dl{margin:20px 0}.math-glossary dt{font-weight:700;margin-top:17px;font-size:15px}.math-glossary dd{margin:5px 0 16px;line-height:1.7;font-size:15px;color:#4d685b}.math-local-terms{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.math-local-terms a{font-size:12px;background:#ecf2e8;border-radius:20px;padding:6px 10px;color:#3d6650;text-decoration:none}.math-hidden,[hidden]{display:none!important}.math-footer{margin-top:40px;color:#6a8073;font-size:12px;line-height:1.8}.math-footer a{color:#36664b}.math-course .path-switch a[href='mathematics.html']{background:#36534a;color:#dbffb6}
@media(max-width:1100px){.math-course aside{width:235px}.math-course .shell{margin-left:235px}.math-course main{padding:25px}.math-columns{grid-template-columns:1fr}.math-course .site-links{padding:14px 25px}}
@media(max-width:850px){.math-course aside{position:relative;width:auto;padding:20px}.math-course .shell{margin:0}.math-course .path-switch{display:block}.math-course #math-nav{max-height:290px;overflow:auto}.math-course main{padding:20px 16px}.math-hero,.math-panel{padding:22px}.math-course header{height:auto;min-height:48px}.math-map{grid-template-columns:1fr}.math-lab-head{padding:20px 18px 0}.math-stats{padding:20px 18px 5px}.math-controls{padding:20px 18px}.math-feedback,.math-note{padding:16px 18px}.math-course h1{letter-spacing:-1px}.math-bottom{flex-wrap:wrap}.math-hero>p,.math-course .math-body{font-size:16px}}
@media print{.math-course aside,.math-course header,.site-links,.math-toolbar,.math-controls,.math-bottom,.analytics-consent,.math-check{display:none!important}.math-course .shell{margin:0}.math-course main{padding:0;max-width:none}.math-hero{display:none}.math-panel,.math-lab{break-inside:avoid}.math-lab{print-color-adjust:exact;-webkit-print-color-adjust:exact}.math-course .math-source{display:block}}
