@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:#172f2b;--green:#193f36;--accent:#deed83;--muted:#687773;--line:#e2e8e4;--paper:#f6f8f7}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px 'DM Sans',sans-serif;background:var(--paper)}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button{border:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #839c2e;outline-offset:4px}input:focus,select:focus{outline:2px solid #8d9e65}button:disabled{opacity:.55;cursor:wait}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:white;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.brand{font:800 27px Manrope,sans-serif;display:flex;align-items:center;text-decoration:none;letter-spacing:-1px}.brand>span:last-child{color:#73903f}.brand-mark{display:grid;place-items:center;background:var(--green);color:var(--accent);border-radius:9px;width:36px;height:39px;font-size:37px;margin-right:10px}.course-label,.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}.course-label{margin:42px 12px 12px}.course{padding:16px 12px;display:flex;gap:13px;border:1px solid var(--line);border-radius:10px}.course>span{font-size:25px}.course strong,.course small{display:block}.course small{font-size:12px;color:var(--muted);margin-top:5px}nav{margin-top:26px}.nav{width:100%;display:flex;gap:14px;align-items:center;text-align:left;padding:14px;border-radius:7px;background:none;color:#667570;font-size:20px;margin-bottom:5px}.nav span{font-size:14px;font-weight:600}.nav.active{background:#eaf0e9;color:#294c39}.nav:hover{background:#f0f4ee}.side-bottom{margin-top:auto}.study-note{padding:22px 14px;border-top:1px solid var(--line);margin-bottom:10px}.study-note .eyebrow{font-size:10px;letter-spacing:1px}.study-note strong{display:block;line-height:1.5;margin:12px 0;font-size:18px}.study-note p{font-size:13px;color:var(--muted);line-height:1.6}.side-bottom>small{font-size:11px;display:block;margin:12px}.page{margin-left:250px}header{height:80px;border-bottom:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 44px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#b4bcb8}.subtle{background:none;color:var(--green);font-size:14px;padding:10px}.subtle:hover{text-decoration:underline}main{max-width:1430px;margin:auto;padding:38px 44px 20px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:32px;letter-spacing:-1.1px;line-height:1.3;margin:9px 0}p{line-height:1.65;color:var(--muted)}.heading p{font-size:14px;margin:0}.year-switch{display:flex;background:#e9eeeb;padding:5px;border-radius:8px;flex-shrink:0}.year-switch button{padding:10px 15px;border-radius:5px;font-size:14px;background:transparent;color:var(--muted)}.year-switch .active{background:white;color:var(--ink);box-shadow:0 1px 4px #0001}.feature{display:flex;justify-content:space-between;background:var(--green);color:#fff;border-radius:14px;padding:30px 36px;overflow:hidden;gap:26px}.pill{display:inline-block;font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--accent)}.feature h2{font-size:29px;line-height:1.3;letter-spacing:-.7px;margin:12px 0}.feature p{font-size:14px;color:#c2d1c8;margin:0 0 18px}.feature button{background:var(--accent);color:#203923;font-size:13px;font-weight:700;padding:12px 18px;border-radius:6px}.formula-board{border:1px solid #73867b70;border-radius:12px;width:41%;padding:23px 26px;background:repeating-linear-gradient(0deg,transparent,transparent 23px,#ffffff06 24px),repeating-linear-gradient(90deg,transparent,transparent 23px,#ffffff06 24px);display:flex;flex-direction:column;justify-content:center}.board-caption{font-size:10px;letter-spacing:1.7px;color:#c3d1c6}.formula{font:500 clamp(30px,4.3vw,65px) Manrope,sans-serif;letter-spacing:2px;color:#e2ed9c;margin:8px 0}.formula span{color:#8da690;font-weight:400}.formula-labels{display:flex;justify-content:space-between;gap:7px;font-size:9px;letter-spacing:.5px;color:#b2c5b7}.formula-labels b{font-size:12px;font-weight:400;color:white;line-height:2}.board-footer{margin-top:21px;border-top:1px solid #ffffff20;padding-top:12px;font-size:10px;letter-spacing:2px;color:#aabdb0}.section-heading,.library-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading{margin:30px 0 15px}h2{font-size:19px;letter-spacing:-.4px;margin:0}.section-heading>span{color:var(--muted);font-size:13px}.subjects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.subject{border:1px solid var(--line);border-radius:9px;background:white;padding:17px;text-align:left;transition:transform .15s,border-color .15s}.subject:hover{transform:translateY(-3px);border-color:#86a083}.subject.active{border-color:#527a57;background:#f0f5e9}.subject .icon{width:32px;height:32px;border-radius:7px;background:#edf1e5;display:grid;place-items:center;font-size:21px;margin-bottom:12px}.subject:nth-child(2) .icon{background:#fcf0df}.subject:nth-child(3) .icon{background:#e8eefb}.subject:nth-child(4) .icon{background:#eee8f8}.subject strong{display:block;font-size:13px;line-height:1.45;min-height:38px}.subject small{display:block;margin-top:10px;color:var(--muted);font-size:12px}.library-head{margin:32px 0 17px}.library-head .muted{font-size:12px;display:block;margin-top:5px}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);padding:10px 14px;border-radius:7px;min-width:280px}.search>span{font-size:24px;line-height:20px;color:#7a8881}.search input{border:0;outline:0;width:100%;font-size:14px;background:transparent}.filters{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px;flex-wrap:wrap}.type-filters{display:flex;gap:6px;flex-wrap:wrap}.type-filters button{font-size:13px;padding:9px 13px;border-radius:6px;background:transparent;color:var(--muted)}.type-filters .active{background:var(--ink);color:white}.selects{display:flex;gap:8px}.selects select{max-width:170px;border:1px solid var(--line);border-radius:6px;background:white;padding:7px 10px;color:var(--muted);font-size:12px}.status{font-size:12px;color:var(--muted);margin-bottom:15px;line-height:1.6}.status.error{color:#9b3c24;background:#fff1eb;padding:12px;border-radius:7px}.materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.material{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-direction:column;min-height:230px}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.resource-icon{display:grid;place-items:center;font-size:23px;width:42px;height:44px;background:#edf3ec;color:#4a6d46;border-radius:8px}.resource-icon.video{background:#f9eae5;color:#a3533c}.resource-icon.practical{background:#f7f0e3;color:#a17632}.badge{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);background:#f2f4f3;padding:5px 7px;border-radius:4px}.material .topic{font-size:11px;color:#6f8273;margin-bottom:5px}.material h3{font-size:16px;line-height:1.45;margin:0 0 8px}.material p{font-size:13px;line-height:1.6;margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0ee;margin-top:auto;padding-top:13px;gap:8px}.card-bottom span{font-size:11px;color:var(--muted)}.card-bottom button{background:none;font-weight:700;color:var(--green);font-size:12px;padding:4px 0}.card-bottom button:hover{text-decoration:underline}.empty{grid-column:1/-1;padding:45px;text-align:center;background:white;border:1px dashed #cad6cc;border-radius:12px}.empty h3{margin:0}.muted{color:var(--muted)}footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:38px;font-size:11px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:34px;max-width:700px;width:calc(100% - 32px);max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 24px 100px #0c291b44}dialog::backdrop{background:#10241d88;backdrop-filter:blur(3px)}dialog h2{font-size:26px;margin:10px 25px 16px 0}dialog h3{font-size:17px}dialog p{font-size:14px}.close{position:absolute;right:15px;top:10px;background:none;font-size:30px;color:var(--muted)}.button{display:inline-block;background:var(--green);color:white;border-radius:6px;padding:12px 16px;text-decoration:none;font-weight:600;font-size:14px}.secondary{background:#edf2e7;color:var(--green)}.steps{padding-left:23px}.steps li{padding:8px 0}.steps p{margin:6px 0}dialog label{display:block;font-size:14px;font-weight:600;margin:15px 0 8px}dialog input{width:100%;border:1px solid #c9d6cd;padding:12px;border-radius:6px;margin-bottom:13px;min-width:0}details{border-top:1px solid var(--line);margin-top:22px;padding-top:17px}summary{cursor:pointer;font-weight:600;font-size:14px}.guide-row{display:grid;grid-template-columns:145px 1fr;gap:8px;border-bottom:1px solid var(--line);padding:9px 0;font-size:13px}.guide-row code{overflow-wrap:anywhere}.resource-content{white-space:pre-wrap;line-height:1.8;font-size:16px;margin:22px 0}.resource-links{display:flex;gap:10px;flex-wrap:wrap}.resource-meta{font-size:13px;color:var(--muted)}.practical-note{padding:13px;background:#fff3dc;border-radius:7px;color:#78581e;font-size:14px;line-height:1.6;margin:20px 0}.roadmap-group{background:#fff;padding:22px;border:1px solid var(--line);border-radius:9px;margin-bottom:16px}.roadmap-group h3{margin-top:0}.roadmap-group button{background:#f0f4ed;border-radius:6px;margin:5px;padding:10px 13px;color:var(--green);font-size:14px}.skip{position:absolute;top:-100px;z-index:10;background:white;padding:16px}.skip:focus{top:0}[hidden]{display:none!important}@media(min-width:1450px){h1{font-size:38px}.feature h2{font-size:34px}.subject strong{font-size:15px}}@media(max-width:1150px){.sidebar{width:215px;padding:25px 15px}.page{margin-left:215px}main{padding:28px}header{padding:0 28px}.heading{align-items:flex-start}h1{font-size:27px}.feature{padding:26px}.subjects{gap:8px}.subject{padding:12px}.materials{grid-template-columns:repeat(2,minmax(0,1fr))}.formula-board{padding:20px;width:43%}.feature h2{font-size:26px}}@media(max-width:800px){.sidebar{position:static;width:100%;padding:18px 20px;display:block}.brand{font-size:23px}.course-label,.course,.side-bottom .study-note,.side-bottom>small{display:none}nav{display:flex;gap:5px;margin-top:18px;overflow:auto}.nav{width:auto;white-space:nowrap;padding:10px;gap:7px;font-size:17px;margin:0}.nav span{font-size:12px}.side-bottom{position:absolute;top:18px;right:10px}.side-bottom .nav span{font-size:12px}.page{margin:0}header{height:55px;padding:0 20px}.breadcrumb{font-size:12px}.breadcrumb span{margin:0 7px}main{padding:25px 20px}.heading{flex-direction:column;gap:18px}h1{font-size:28px}.feature{padding:25px}.feature h2{font-size:25px}.formula-board{width:40%;padding:15px}.formula{font-size:37px}.formula-labels{flex-direction:column;gap:4px}.formula-labels b{margin-left:7px}.formula-labels br{display:none}.board-caption{font-size:9px}.board-footer{font-size:9px}.subjects{grid-template-columns:repeat(3,minmax(0,1fr))}.library-head{align-items:flex-start;flex-direction:column}.search{width:100%}.selects{width:100%}.selects select{flex:1;max-width:none;padding:10px}.material{padding:17px}.materials{gap:12px}footer{flex-direction:column}.feature p br{display:none}}@media(max-width:480px){.formula-board{display:none}.feature{min-height:245px}.feature>div{width:100%}.subjects{grid-template-columns:repeat(2,minmax(0,1fr))}.subject:last-child{grid-column:1/-1;display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:center}.subject:last-child .icon{margin:0}.subject:last-child strong{min-height:0}.subject:last-child small{margin:0}.materials{grid-template-columns:1fr}.material{min-height:220px}.heading p{font-size:14px}.section-heading>span{font-size:11px}dialog{padding:27px 22px}.guide-row{grid-template-columns:110px 1fr}.breadcrumb{max-width:170px}.type-filters button{font-size:12px;padding:9px}header .subtle{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep reading controls comfortably sized on touch devices. */
.subject strong,.nav span,.type-filters button,.selects select{font-size:14px}.material p,.heading p{font-size:16px}.material .topic,.card-bottom span,.badge,.status,footer{font-size:12px}.card-bottom button{font-size:14px}.pill,.board-caption,.board-footer{font-size:12px}.formula-labels{font-size:12px}.study-note .eyebrow,.side-bottom>small{font-size:12px}@media(max-width:800px){.feature{display:none}.heading{margin-bottom:15px}.heading p{font-size:14px}.section-heading{margin-top:20px}.nav span{font-size:14px}.subject strong{font-size:14px}}@media(max-width:480px){.heading h1{font-size:27px}.heading .eyebrow{font-size:12px}.subjects{gap:9px}.subject{padding:12px}.subject:last-child small{font-size:12px}.type-filters button{font-size:14px}}
