:root{--bg-1:#f9f4ea;--bg-2:#e9f2ff;--ink:#1a2230;--muted:#5f6b7a;--line:#d9ccb6;--card:#fffdfa;--accent:#0f766e;--accent-2:#ea580c;--accent-3:#1d4ed8;--good:#166534;--warn:#b45309;--bad:#b91c1c;--font-heading:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;--font-body:"Aptos","Segoe UI","Helvetica Neue",Arial,sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0}body{color:var(--ink);font-family:var(--font-body),"Segoe UI",sans-serif;background:radial-gradient(circle at 0 0,#fff7de 0,transparent 42%),radial-gradient(circle at 100% 5%,#dceafe 0,transparent 36%),linear-gradient(140deg,var(--bg-1),#f8fafc 48%,var(--bg-2));min-height:100vh}h1,h2,h3,h4{font-family:var(--font-heading),"Georgia",serif;letter-spacing:-.01em}a{color:inherit;text-decoration:none}.container{width:min(1240px,94vw);margin:0 auto;min-width:0}.site-main{padding-bottom:3rem}.site-header{border-bottom:1px solid #eadfcd;background:rgba(255,252,247,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:-webkit-sticky;position:sticky;top:0;z-index:30}.nav-row{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.nav-brand{font-weight:800;letter-spacing:.04em;font-size:1.08rem}.nav-links{gap:1rem;font-weight:650;color:#253244;min-width:0}.nav-actions,.nav-links{display:flex;align-items:center}.nav-actions{gap:.55rem}.card{background:var(--card);border:1px solid #eadfce;border-radius:16px;box-shadow:0 12px 28px rgba(32,38,45,.07)}.card-soft{border:1px solid #e7dcc8;border-radius:14px;background:#fffcf7}.btn{border-radius:12px;border:1px solid transparent;padding:.68rem 1rem;font-weight:700;font-size:.95rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#f8fffd;background:linear-gradient(120deg,var(--accent),#0b8d81);box-shadow:0 8px 18px rgba(15,118,110,.28)}.btn-primary:hover{background:linear-gradient(120deg,#0f766e,#0a7b71)}.btn-secondary{color:#fff;background:linear-gradient(120deg,var(--accent-2),#fb923c);box-shadow:0 8px 18px rgba(234,88,12,.25)}.btn-ghost{border-color:#d9ccb5;background:#fffdf8;color:#1f2937}.btn-ghost:hover{background:#fff4de}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:.28rem .6rem;font-size:.78rem;font-weight:700;border:1px solid #d7c6a6;background:#fff7e7}.pill-free{color:#1f3b8a;border-color:#b9ccf8;background:#eaf1ff}.pill-premium{color:#0f5132;border-color:#9de5be;background:#e7f8ee}.muted{color:var(--muted)}.hero{padding:2.2rem 0 1.6rem}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;grid-gap:1rem;gap:1rem}.kpi-grid{margin-top:.8rem;display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));grid-gap:.6rem;gap:.6rem}.kpi-box{border:1px solid #e5d7c0;border-radius:12px;padding:.7rem;background:#fff9ef}.kpi-label{display:block;color:var(--muted);font-size:.85rem}.kpi-value{display:block;margin-top:.15rem;font-weight:800}.grid-3{grid-gap:.9rem;grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2,.grid-3{display:grid;gap:.9rem}.grid-2{grid-gap:.9rem;grid-template-columns:repeat(2,minmax(0,1fr))}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:620px}td,th{text-align:left;padding:.58rem;border-bottom:1px solid #efe4d3}input,select,textarea{width:100%;border:1px solid #d8cab5;border-radius:10px;background:#fffdf8;color:var(--ink);padding:.62rem .7rem;font:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.18)}.form-grid{display:grid;grid-gap:.75rem;gap:.75rem}.status-good{color:var(--good)}.status-warn{color:var(--warn)}.status-bad{color:var(--bad)}.book-hero{padding:1.25rem 1.3rem;margin-bottom:1rem}.book-hero h1,.study-chapter-view h2,.study-overview h2,.study-toc h2{margin:.45rem 0 .55rem}.book-hero-top{display:flex;gap:1rem;justify-content:space-between;align-items:flex-start}.book-switcher{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end;max-width:32rem}.book-kpi-grid{margin-top:1rem;display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr))}.study-shell{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:clamp(260px,25vw,320px) minmax(0,1fr);align-items:start;min-width:0}.study-sidebar{padding:1rem;position:-webkit-sticky;position:sticky;top:6rem;max-height:calc(100svh - 7rem);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cebda4 transparent;min-width:0}.study-sidebar-header h2{margin:.35rem 0}.math-workbench-eyebrow,.study-eyebrow,.study-sidebar-label{margin:0;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;font-weight:800;color:var(--accent-3)}.study-sidebar-actions{display:grid;grid-gap:.55rem;gap:.55rem;margin:1rem 0}.study-chapter-progress,.study-sidebar-progress{border:1px solid #e8dcc8;border-radius:16px;background:radial-gradient(circle at top right,rgba(56,189,248,.1),transparent 34%),#fffdf8;padding:.9rem;display:grid;grid-gap:.55rem;gap:.55rem;margin-bottom:1rem}.study-sidebar-list{display:grid;grid-gap:.55rem;gap:.55rem;max-height:clamp(18rem,42vh,35rem);overflow:auto;padding-right:.15rem;scrollbar-width:thin;scrollbar-color:#cebda4 transparent}.study-chapter-button{border:1px solid #e6d7c0;background:#fffaf1;border-radius:14px;padding:.8rem;display:grid;grid-template-columns:52px minmax(0,1fr);grid-gap:.75rem;gap:.75rem;text-align:left;cursor:pointer}.study-chapter-button[data-active=true]{border-color:#38bdf8;background:linear-gradient(180deg,#eef8ff,#fffdf8);box-shadow:0 10px 22px rgba(29,78,216,.08)}.study-action-banner h3,.study-chapter-button strong,.study-section-headline h3{display:block;margin-bottom:.2rem}.study-chapter-button small{color:var(--muted)}.study-status-pill{display:inline-flex;width:-moz-fit-content;width:fit-content;margin-top:.45rem;border-radius:999px;padding:.2rem .55rem;font-size:.78rem;font-weight:700;border:1px solid transparent}.study-status-pill--neutral{background:#f6f0e5;color:#745c38;border-color:#e6d9c2}.study-status-pill--info{background:#eef8ff;color:#0f4f82;border-color:#b8def6}.study-status-pill--warn{background:#fff4e8;color:#9a4d13;border-color:#f4c89b}.study-status-pill--good{background:#ecfbf0;color:#166534;border-color:#b7e7c4}.study-chapter-index{width:52px;height:52px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#143a64,#2563eb);color:#fff;font-weight:800}.study-reader{display:grid;grid-gap:1rem;gap:1rem;min-width:0}.study-chapter-view,.study-overview,.study-toc{padding:1rem 1.15rem}.study-focus-grid{display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.85rem}.study-focus-card{padding:.8rem}.study-focus-card p,.study-warning-card p{margin:0}.study-section-header{display:flex;gap:1rem;justify-content:space-between;align-items:flex-start}.study-toc-grid{display:grid;grid-gap:.85rem;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr))}.study-toc-card{padding:.85rem;display:grid;grid-gap:.7rem;gap:.7rem;height:100%}.study-toc-title{margin:0 0 .2rem;font-weight:800}.study-progress-row{display:flex;gap:.8rem;justify-content:space-between;align-items:flex-start}.study-inline-badges{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.study-toc-time{margin:0;font-size:.9rem;color:var(--muted)}.study-progress-copy{margin-bottom:0}.math-toolbar,.math-workbench-actions,.study-banner-actions,.study-section-jumps,.study-toc-actions,.study-topic-chips{display:flex;gap:.55rem;flex-wrap:wrap}.study-action-banner{display:grid;grid-gap:.9rem;gap:.9rem;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);border:1px solid #d8d6ff;border-radius:18px;padding:1rem;background:radial-gradient(circle at top right,rgba(29,78,216,.12),transparent 28%),linear-gradient(135deg,#fffef7,#f7fbff);margin:1rem 0}.study-section-jumps{margin-bottom:.85rem}.study-section-stack{display:grid;grid-gap:.85rem;gap:.85rem}.study-section-card{padding:.95rem}.study-section-headline{display:flex;gap:.8rem;justify-content:space-between;align-items:flex-start}.study-points-grid{display:grid;grid-gap:.8rem;gap:.8rem;grid-template-columns:minmax(0,1fr) minmax(260px,320px);margin-top:.8rem}.math-status-label,.study-list-title{margin:0 0 .35rem;font-weight:800}.study-points-grid ul{margin:0;padding-left:1.1rem;line-height:1.7}.study-warning-card{border:1px solid #f5d7b3;border-radius:14px;background:#fff8ef;padding:.85rem;display:grid;grid-gap:.45rem;gap:.45rem}.math-workbench{padding:.95rem;margin-bottom:.9rem;display:grid;grid-gap:.8rem;gap:.8rem}.math-workbench-header{display:flex;gap:.75rem;justify-content:space-between;align-items:flex-start}.math-workbench-header h3{margin:.3rem 0 0}.math-workbench-copy{margin:0;line-height:1.65}.math-workbench-host{min-height:5.5rem}.math-workbench-field{width:100%;min-height:5.5rem;border:1px solid #d6cdbd;border-radius:14px;background:#fff;padding:.65rem .8rem}.math-status-grid{display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.math-status-card{border:1px solid #e6dccd;border-radius:14px;background:#fffef9;padding:.8rem}.math-status-card code{display:block;white-space:pre-wrap;word-break:break-word;line-height:1.55}.chapter-breadcrumbs{display:flex;gap:.45rem;flex-wrap:wrap;margin-bottom:1rem;color:var(--muted)}.chapter-breadcrumbs a{color:var(--accent-3)}.chapter-layout{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:clamp(240px,24vw,310px) minmax(0,1fr);align-items:start;min-width:0}.chapter-main>.card,.chapter-sidebar{padding:1rem 1.1rem}.chapter-sidebar{position:-webkit-sticky;position:sticky;top:6rem;display:grid;grid-gap:.9rem;gap:.9rem;max-height:calc(100svh - 7rem);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cebda4 transparent;min-width:0}.chapter-example-section h2,.chapter-exercise-section h2,.chapter-hero h2,.chapter-objectives h2,.chapter-section-card h2,.chapter-sidebar h1,.chapter-solution-section h2{margin:.3rem 0 .5rem}.chapter-meta-list{display:grid;grid-gap:.75rem;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-example-stack,.chapter-exercise-stack,.chapter-main,.chapter-sidebar-actions,.chapter-solution-stack,.chapter-toc{display:grid;grid-gap:.75rem;gap:.75rem}.chapter-toc-link{display:block;border:1px solid #e7ddce;border-radius:12px;padding:.65rem .75rem;background:#fffdf8;color:var(--ink)}.chapter-toc{max-height:clamp(16rem,34vh,28rem);overflow:auto;padding-right:.15rem;scrollbar-width:thin;scrollbar-color:#cebda4 transparent}.chapter-main{min-width:0}.chapter-hero,.chapter-main{display:grid;grid-gap:1rem;gap:1rem}.chapter-hero{grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);align-items:start;background:radial-gradient(circle at top right,rgba(56,189,248,.14),transparent 30%),linear-gradient(180deg,#fffef9,#fffaf1)}.chapter-hero-actions{display:grid;grid-gap:.55rem;gap:.55rem}.chapter-advice-grid,.chapter-callout-grid,.chapter-objective-grid{display:grid;grid-gap:.85rem;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-advice-card,.chapter-callout-card,.chapter-example-card,.chapter-exercise-card,.chapter-objective-card,.chapter-solution-card{padding:.95rem}.chapter-advice-card p,.chapter-callout-card p,.chapter-objective-card p{margin:0}.chapter-reading-flow{display:grid;grid-gap:.8rem;gap:.8rem;line-height:1.8}.chapter-reading-flow p{margin:0}.chapter-advice-card ul,.chapter-callout-card ul,.chapter-example-card ol,.chapter-solution-card ol{margin:0;padding-left:1.15rem;line-height:1.7}.chapter-example-card h3,.chapter-exercise-card h3,.chapter-solution-card h3{margin-top:0;margin-bottom:.45rem}.chapter-example-prompt{font-weight:700}.hero-card{padding:1.15rem 1.2rem}.hero-card--main{background:radial-gradient(circle at top right,rgba(29,78,216,.12),transparent 34%),linear-gradient(180deg,#fffef9,#fff8ee)}.hero-card--side{display:grid;grid-gap:.85rem;gap:.85rem}.hero-visual{margin-top:1.15rem;border-radius:24px;overflow:hidden;border:1px solid #e8ddca;aspect-ratio:16/7;background:radial-gradient(circle at 18% 18%,hsla(37,87%,68%,.18),transparent 24%),linear-gradient(180deg,#fcf6eb,#f4ecde)}.hero-visual-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.hero-fact-stack,.home-source-links,.interactive-question-stack{display:grid;grid-gap:.75rem;gap:.75rem}.hero-fact-card,.home-roadmap-step{padding:.85rem}.hero-fact-card p,.hero-fact-card strong,.hero-status-box p{margin:0}.hero-fact-card strong{display:block;margin:.18rem 0 .35rem}.hero-status-box{border:1px solid #e9dbc5;border-radius:14px;padding:.85rem;background:#fffaf1}.home-roadmap-card,.home-source-card{padding:1rem 1.1rem;margin-bottom:1rem}.home-source-links{grid-template-columns:repeat(3,minmax(0,1fr))}.interactive-study-shell{padding:1rem 1.1rem;margin-bottom:1rem}.interactive-study-intro{margin-top:.25rem;max-width:780px}.interactive-score-card{min-width:170px;border:1px solid #e4d8c5;border-radius:14px;background:#fff9ef;padding:.85rem;display:grid;grid-gap:.18rem;gap:.18rem}.interactive-question-card{padding:.95rem}.interactive-question-card h3{margin-top:0;margin-bottom:.75rem;line-height:1.55}.interactive-options{display:grid;grid-gap:.65rem;gap:.65rem}.interactive-option{display:flex;align-items:flex-start;gap:.65rem;border:1px solid #eadfcb;border-radius:12px;padding:.7rem .8rem;background:#fffdf8}.interactive-option.correct{border-color:#9de5be;background:#ecfbf2}.interactive-option.wrong{border-color:#fdcfc8;background:#fff1ef}.interactive-option input{width:auto;margin-top:.15rem}.interactive-question-actions{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:.85rem}.interactive-feedback,.interactive-model-answer{border-radius:14px;padding:.8rem .9rem;margin-top:.85rem}.interactive-feedback{border:1px solid #e8dcc7}.interactive-feedback--good{background:#edf9f2;border-color:#b6e6c8}.interactive-feedback--warn{background:#fff3ec;border-color:#f2cdbd}.interactive-feedback p,.interactive-model-answer p{margin:0}.interactive-feedback p+p,.interactive-model-answer p+p{margin-top:.45rem}.interactive-model-answer{border:1px solid #d9e7f4;background:#f6fbff}.interactive-model-answer ol{margin:.5rem 0 0;padding-left:1.1rem;line-height:1.7}.diagnostic-question-meta{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}.diagnostic-summary{margin-top:1rem;border-top:1px solid #eadfcf;padding-top:1rem}.diagnostic-step-grid,.topic-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.85rem;gap:.85rem}.diagnostic-step-card,.topic-resource-card{padding:.95rem}.diagnostic-step-card h3,.topic-resource-card h3{margin-top:0;margin-bottom:.35rem}.topic-resource-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.8rem}.ai-chat-shell{display:grid;grid-gap:.8rem;gap:.8rem}.ai-chat-thread{display:grid;grid-gap:.7rem;gap:.7rem}.ai-chat-message{border-radius:16px;padding:.8rem .9rem;border:1px solid #e4d8c5}.ai-chat-message--assistant{background:#f3fbf6;border-color:#b7e6c8}.ai-chat-message--user{background:#fffaf1;border-color:#eadbc0}.interactive-text-answer{display:grid;grid-gap:.45rem;gap:.45rem;margin-top:.85rem}.chapter-exercise-index{margin:0 0 .25rem;color:var(--accent-3);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:.78rem}.chapter-nav-row{display:flex;gap:.7rem;justify-content:space-between;flex-wrap:wrap;margin-top:.85rem}.chapter-inline-term{color:#1b130d;font-weight:800}.chapter-keyterm-sidebar{display:grid;grid-gap:.55rem;gap:.55rem}.chapter-keyterm-cloud{display:flex;gap:.45rem;flex-wrap:wrap}.chapter-glossary-grid{display:grid;grid-gap:.85rem;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.9rem}.chapter-glossary-card{padding:.9rem}.chapter-glossary-card h3{margin-top:0;margin-bottom:.45rem}.chapter-glossary-card p{margin:0;line-height:1.7}.glossary-drill{display:grid;grid-gap:.85rem;gap:.85rem}.glossary-drill-toolbar{display:grid;grid-gap:.75rem;gap:.75rem}.glossary-drill-copy{margin:0;max-width:760px}.glossary-drill-toggle{display:flex;gap:.55rem;flex-wrap:wrap}.glossary-drill-card h3{margin-top:.2rem;margin-bottom:0}.concept-flashcard-grid{display:grid;grid-gap:.85rem;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr))}.concept-flashcard{display:grid;grid-gap:.7rem;gap:.7rem;padding:.95rem}.concept-flashcard h3{margin:.1rem 0 0}.concept-flashcard-note{margin:0;line-height:1.7;min-height:5.4rem}.chapter-exercise-card--interactive{padding:.95rem}.chapter-section-action-card{display:grid;grid-gap:.9rem;gap:.9rem;margin-top:1rem;border:1px solid #dfe7ef;background:linear-gradient(180deg,#f8fbff,#eef6fb)}.chapter-section-action-copy{margin:.2rem 0 .7rem}.chapter-section-action-buttons{display:flex;gap:.6rem;flex-wrap:wrap}.course-stack{max-width:1024px;margin:0 auto;display:grid;grid-gap:.9rem;gap:.9rem}.course-panel{padding:1rem;margin-bottom:0;min-width:0}.premium-gate{padding:1.15rem 1.2rem;display:grid;grid-gap:1rem;gap:1rem;background:radial-gradient(circle at top right,rgba(29,78,216,.09),transparent 28%),linear-gradient(180deg,#fffef9,#fff8ee)}.premium-gate--compact{padding:1rem 1.05rem}.premium-gate h1{margin:.3rem 0 .5rem}.premium-gate-copy{margin:0;max-width:52rem;line-height:1.7}.premium-gate-actions{display:flex;gap:.6rem;flex-wrap:wrap}.course-panel h1,.course-panel h2{margin-top:0}.site-footer{border-top:1px solid #eadfcd;background:rgba(255,252,247,.9)}.footer-grid{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);padding:1.1rem 0 1.5rem}.footer-brand{display:grid;grid-gap:.45rem;gap:.45rem}.footer-brand-mark{margin:0;font-weight:800;letter-spacing:.04em}.footer-copy{margin:0;max-width:54rem;line-height:1.65}.footer-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.55rem 1rem;gap:.55rem 1rem;align-content:start}.footer-link-list a{color:#243447;font-weight:650}.info-shell{max-width:980px;margin:0 auto;display:grid;grid-gap:1rem;gap:1rem}.info-card{padding:1rem 1.1rem}.info-grid{display:grid;grid-gap:.85rem;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr))}.info-grid .card-soft{padding:.9rem}.info-note{border:1px solid #ecd6b6;border-radius:16px;background:#fff8ee;padding:.95rem 1rem}.info-note p{margin:0}.info-card ol,.info-card ul,.info-list{margin:.35rem 0 0 1rem;line-height:1.75}.code-panel{border:1px solid #e4d6c0;border-radius:14px;background:#fff9f1;padding:.9rem 1rem;overflow:auto}.code-panel pre{margin:0;white-space:pre-wrap;word-break:break-word;line-height:1.6}.code-panel code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}@media (max-width:1180px){.chapter-layout,.study-shell{grid-template-columns:1fr}.chapter-sidebar,.study-sidebar{position:static;top:auto}.chapter-sidebar,.chapter-toc,.study-sidebar,.study-sidebar-list{max-height:none;overflow:visible}}@media (max-width:1120px){.footer-grid,.info-grid,.study-toc-grid{grid-template-columns:1fr}}.countdown-card{display:grid;grid-gap:.85rem;gap:.85rem;padding:.95rem;border:1px solid #ecd6b6;background:linear-gradient(180deg,#fff9ef,#fff2df)}.countdown-clock-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}.countdown-live-time{font-size:1.4rem;font-weight:800;color:#143a52}.countdown-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:.65rem;gap:.65rem}.countdown-box{border-radius:16px;padding:.8rem .75rem;background:hsla(0,0%,100%,.72);border:1px solid #ecd8bc;text-align:center}.countdown-box strong{display:block;font-size:1.55rem;color:#143a52}.countdown-box span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#8a6b3f}.task-bank-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);grid-gap:1rem;gap:1rem}.task-bank-hero-copy{display:grid;grid-gap:.85rem;gap:.85rem}.task-bank-track-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:.85rem;gap:.85rem}.task-bank-track-card{padding:.9rem}.task-bank-track-card h3{margin-top:0;margin-bottom:.35rem}@media (max-width:980px){.book-kpi-grid,.chapter-advice-grid,.chapter-callout-grid,.chapter-glossary-grid,.chapter-hero,.chapter-layout,.chapter-meta-list,.chapter-objective-grid,.concept-flashcard-grid,.countdown-grid,.diagnostic-step-grid,.grid-2,.grid-3,.hero-grid,.home-source-links,.math-status-grid,.study-action-banner,.study-focus-grid,.study-points-grid,.study-shell,.task-bank-hero,.task-bank-track-grid,.topic-resource-grid{grid-template-columns:1fr}.hero-visual{aspect-ratio:4/3}.nav-row{flex-wrap:wrap;padding:.65rem 0}.nav-links{order:3;width:100%;overflow-x:auto;white-space:nowrap;padding-bottom:.2rem}.chapter-main>.card,.chapter-sidebar,.course-panel,.hero-card,.home-roadmap-card,.home-source-card,.interactive-study-shell,.study-chapter-view,.study-overview,.study-toc{padding-left:.95rem;padding-right:.95rem}.book-hero-top,.math-workbench-header,.study-progress-row,.study-section-header,.study-section-headline{flex-direction:column}.chapter-sidebar,.study-sidebar{position:static;top:auto;max-height:none;overflow:visible}}@media (max-width:720px){.container{width:min(100%,calc(100vw - .8rem))}.study-chapter-button{grid-template-columns:44px minmax(0,1fr);padding:.75rem}.study-chapter-index{width:44px;height:44px}.chapter-hero-actions,.chapter-nav-row,.chapter-section-action-buttons,.chapter-sidebar-actions,.nav-actions,.study-banner-actions,.study-toc-actions,.topic-resource-actions{flex-direction:column;align-items:stretch}.chapter-hero-actions .btn,.chapter-nav-row .btn,.chapter-section-action-buttons .btn,.chapter-sidebar-actions .btn,.nav-actions .btn,.study-banner-actions .btn,.study-toc-actions .btn,.topic-resource-actions .btn{width:100%}.footer-link-list{grid-template-columns:1fr}.premium-gate-actions{flex-direction:column}.premium-gate-actions .btn{width:100%}}@media (max-width:560px){.nav-row{gap:.75rem}.nav-actions,.nav-brand{width:100%}.nav-actions .btn,.nav-actions .pill{width:100%;justify-content:center}.card,.card-soft,.chapter-toc-link,.study-chapter-button,.study-toc-card{min-width:0}}