.calculus-series-lab{--cs-paper:#fffdf7;--cs-soft:#f4f2e9;--cs-ink:#263d40;--cs-muted:#596b6b;--cs-line:#d6ddd4;--cs-coral:#ad4137;--cs-aqua:#23747a;--cs-tint:#e7f0e9;--cs-shadow:0 12px 35px #263d4008;color:var(--cs-ink);font:14px/1.65 Inter,Arial,sans-serif;container-type:inline-size}
.calculus-series-lab [hidden]{display:none!important}.calculus-series-lab .cs-svg{min-width:650px}.cs-formula math{font-family:'CALX Latin Modern Math','STIX Two Math',math,serif;font-size:24px;font-weight:400;math-style:normal;display:block;width:max-content;min-width:100%;color:var(--cs-ink);margin:8px 0;line-height:1.8}.cs-formula{padding-block:20px!important}.cs-formula mi[mathvariant=normal]{font-style:normal}
.calculus-series-lab .cs-heading{height:auto;min-height:0;position:static}.calculus-series-lab .cs-sources{margin-top:0}.calculus-series-lab [data-cs-scene]{overscroll-behavior-x:contain}.calculus-series-lab [data-cs-scene]:focus-visible{outline-offset:-3px}
html[data-theme="dark"] .section-labs .calculus-series-lab button{background:var(--cs-paper);color:var(--cs-ink);border-color:var(--cs-line)}html[data-theme="dark"] .section-labs .calculus-series-lab button:hover{background:var(--cs-soft);border-color:var(--cs-coral)}html[data-theme="dark"] .section-labs .calculus-series-lab .cs-transport button:first-child{background:var(--cs-ink);color:var(--cs-paper)}html[data-theme="dark"] .section-labs .calculus-series-lab .cs-practice-actions button:first-child,html[data-theme="dark"] .section-labs .calculus-series-lab .cs-stage-dots button[aria-pressed=true]{background:var(--cs-coral);color:var(--cs-paper)}
html[data-theme="dark"] .calculus-series-lab{--cs-paper:#172735;--cs-soft:#1d3040;--cs-ink:#f3f4ec;--cs-muted:#bac9ce;--cs-line:#405966;--cs-coral:#ffafa1;--cs-aqua:#88d2d1;--cs-tint:#223e44;--cs-shadow:0 12px 35px #0002}
.cs-heading{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding:22px 0 28px!important;border:0!important;background:none!important}.cs-heading h3{font:500 clamp(25px,3.3vw,40px)/1.12 Georgia,serif;letter-spacing:-.045em;margin:12px 0!important;max-width:650px;color:var(--cs-ink)}.cs-heading p{max-width:660px;margin:0;color:var(--cs-muted);font-size:15px}.cs-eyebrow{font:600 10px/1.5 Inter,Arial,sans-serif;letter-spacing:.14em;color:var(--cs-muted)}.cs-chapter-mark{font:100px/.8 Georgia,serif;letter-spacing:-.1em;color:var(--cs-aqua);opacity:.5;padding-right:15px}
.cs-topic-nav{display:flex;gap:6px;overflow-x:auto;padding:1px 1px 16px;scrollbar-width:thin;margin-bottom:12px}.cs-topic-nav a{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 11px;border:1px solid var(--cs-line);border-radius:30px;color:var(--cs-muted);font-size:11px;text-decoration:none;white-space:nowrap}.cs-topic-nav a span{font-size:9px;opacity:.8}.cs-topic-nav a[aria-current=page]{background:var(--cs-ink);color:var(--cs-paper);border-color:var(--cs-ink)}.cs-topic-nav a:hover{border-color:var(--cs-coral)}
.cs-workspace{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:start}.cs-visual,.cs-dashboard,.cs-teaching,.cs-practice{border:1px solid var(--cs-line);background:var(--cs-paper);border-radius:16px;box-shadow:var(--cs-shadow);min-width:0}.cs-visual{overflow:hidden}.cs-visual-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 22px 6px}.cs-live-badge{font-size:10px;color:var(--cs-aqua);display:flex;align-items:center;gap:6px}.cs-live-badge:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--cs-aqua)}[data-cs-scene]{overflow-x:auto;padding:0 8px}.cs-svg{display:block;width:100%;height:auto;min-width:430px}.cs-svg text{fill:var(--cs-ink);font:13px Inter,Arial,sans-serif}.cs-svg .cs-tick{font-size:11px;fill:var(--cs-muted)}.cs-svg .cs-label{font-size:11px;font-weight:600;letter-spacing:.06em;fill:var(--cs-muted)}.cs-svg .cs-big{font:31px Georgia,serif}.cs-svg .cs-accent{fill:var(--cs-coral)}.cs-svg .cs-muted{fill:var(--cs-muted)}.cs-paper{fill:var(--cs-paper)}.cs-grid{stroke:var(--cs-line);stroke-width:.7}.cs-axis,.cs-zero{stroke:var(--cs-muted);stroke-width:1}.cs-dot{fill:var(--cs-coral);stroke:var(--cs-paper);stroke-width:1}.cs-last{stroke:var(--cs-ink);stroke-width:1.5}.cs-aqua-dot{fill:var(--cs-aqua);stroke:var(--cs-paper);stroke-width:1}.cs-open-dot{fill:var(--cs-paper);stroke:var(--cs-coral);stroke-width:2}.cs-band{fill:var(--cs-aqua);fill-opacity:.12}.cs-dashed{stroke:var(--cs-aqua);stroke-width:1.5;stroke-dasharray:6 5;fill:none}.cs-marker{stroke:var(--cs-muted);stroke-width:1;stroke-dasharray:3 5}.cs-stem{stroke:var(--cs-coral);stroke-width:2}.cs-gap{stroke:var(--cs-coral);stroke-width:2}.cs-function{fill:none;stroke:var(--cs-aqua);stroke-width:3}.cs-polynomial{fill:none;stroke:var(--cs-coral);stroke-width:2.5;stroke-dasharray:7 4}.cs-rect{fill:var(--cs-aqua);fill-opacity:.12;stroke:var(--cs-aqua);stroke-width:1}.cs-tail-rect{fill:var(--cs-coral);fill-opacity:.16;stroke:var(--cs-coral);stroke-width:1}.cs-bracket,.cs-interval{stroke:var(--cs-aqua);stroke-width:5;stroke-linecap:round}.cs-threshold{stroke:var(--cs-muted);stroke-dasharray:4 5;stroke-width:1.5}.cs-step-node{fill:var(--cs-soft);stroke:var(--cs-line);stroke-width:1}.cs-probe{stroke:var(--cs-coral);stroke-width:3}
.cs-caption{font-size:11px;line-height:1.6;color:var(--cs-muted);padding:0 22px;margin:6px 0 18px}.cs-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--cs-line)}.cs-stats>div{padding:14px 20px;min-width:0}.cs-stats>div:nth-child(odd){border-right:1px solid var(--cs-line)}.cs-stats>div:nth-child(n+3){border-top:1px solid var(--cs-line)}.cs-stats span{display:block;color:var(--cs-muted);font-size:10px}.cs-stats strong{display:block;font:500 19px/1.4 'CALX Latin Modern Math',Georgia,serif;margin-top:3px;overflow-wrap:anywhere}.cs-verdict{padding:14px 20px;border-top:1px solid var(--cs-line);background:var(--cs-tint);font-size:12px;color:var(--cs-ink)}
.cs-dashboard{padding:20px;position:sticky;top:20px;background:var(--cs-soft)}.cs-control{display:block;color:var(--cs-ink);font-size:12px;font-weight:500;margin:16px 0}.cs-control output{float:right;color:var(--cs-coral);font-variant-numeric:tabular-nums}.cs-control input[type=range]{display:block;width:100%;accent-color:var(--cs-coral);margin:13px 0 4px;min-height:22px;cursor:pointer}.cs-control select,.cs-control input[type=number]{display:block;width:100%;box-sizing:border-box;border:1px solid var(--cs-line);border-radius:8px;padding:10px 9px;font:12px Inter,Arial,sans-serif;background:var(--cs-paper);color:var(--cs-ink);margin-top:7px;min-height:42px}.cs-transport{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:22px}.calculus-series-lab button{font:500 11px/1.5 Inter,Arial,sans-serif;cursor:pointer;color:var(--cs-ink);background:var(--cs-paper);border:1px solid var(--cs-line);border-radius:8px;padding:9px 10px;min-height:38px}.cs-transport button:first-child{grid-column:1/-1;background:var(--cs-ink);color:var(--cs-paper);border-color:var(--cs-ink)}.calculus-series-lab button:hover{border-color:var(--cs-coral)}.calculus-series-lab button:disabled{opacity:.4;cursor:default}.cs-status,.cs-mini-note{font-size:10px;color:var(--cs-muted);line-height:1.6;margin:12px 0 0}.cs-mini-note{border-top:1px solid var(--cs-line);padding-top:10px}
.cs-lower{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;margin-top:18px}.cs-teaching,.cs-practice{padding:24px}.cs-lower h4{font:500 23px/1.25 Georgia,serif;letter-spacing:-.025em;margin:10px 0 14px;color:var(--cs-ink)}.cs-teaching p,.cs-practice p{font-size:13px}.cs-formula{font:20px/1.7 'CALX Latin Modern Math',Georgia,serif;background:var(--cs-soft);border-radius:9px;padding:14px;margin:18px 0;overflow-x:auto}.cs-stage-dots{display:flex;gap:7px;margin-bottom:22px}.cs-stage-dots button{border-radius:50%;width:28px;min-height:28px;padding:2px;font-size:10px}.cs-stage-dots button[aria-pressed=true]{background:var(--cs-coral);color:var(--cs-paper);border-color:var(--cs-coral)}.cs-reasoning-nav,.cs-practice-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.cs-reasoning-nav{justify-content:space-between}.cs-practice-actions button:first-child{color:var(--cs-paper);background:var(--cs-coral);border-color:var(--cs-coral)}.cs-options{border:0;margin:12px 0;padding:0;display:grid;gap:8px}.cs-options label{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--cs-line);border-radius:8px;font-size:12px;cursor:pointer}.cs-options input{accent-color:var(--cs-coral);margin-top:4px;flex-shrink:0}.cs-options label:has(input:checked){border-color:var(--cs-coral);background:var(--cs-soft)}.cs-solution{background:var(--cs-soft);padding:12px 15px;border-radius:8px;margin-top:12px}.cs-solution[hidden]{display:none}[data-cs-feedback]{font-size:12px;color:var(--cs-coral)}[data-cs-feedback][data-correct=true]{color:var(--cs-aqua)}.cs-sources{background:none!important;border:0!important;display:block!important;padding:18px 3px!important;color:var(--cs-muted);font-size:10px!important;line-height:1.7}.cs-sources a{color:var(--cs-aqua);margin-right:20px;display:inline-block}.calculus-series-lab :focus-visible{outline:3px solid var(--cs-coral);outline-offset:3px}
@container(max-width:760px){.cs-workspace{grid-template-columns:1fr}.cs-dashboard{position:static}.cs-dashboard>div:first-child>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.cs-transport{grid-template-columns:2fr 1fr 1fr;margin-top:10px}.cs-transport button:first-child{grid-column:auto}.cs-lower{grid-template-columns:1fr}.cs-heading h3{font-size:31px}.cs-chapter-mark{font-size:70px}}
@media(max-width:600px){.cs-workspace,.cs-lower{grid-template-columns:1fr}.cs-dashboard{position:static}.cs-heading{gap:8px}.cs-chapter-mark{display:none}.cs-heading h3{font-size:29px}.cs-teaching,.cs-practice{padding:19px}.cs-dashboard>div:first-child>div{display:block}.cs-visual-heading,.cs-caption{padding-left:16px;padding-right:16px}.cs-stats>div{padding:12px 15px}.cs-topic-nav a{padding:9px 12px}.cs-transport button{min-height:44px}.cs-sources a{display:block;margin-top:8px}}
@media(prefers-reduced-motion:reduce){.calculus-series-lab *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Quiet graph furniture, descriptive keys and motion that follows the math. */
.cs-svg .cs-xlabel{font-size:10px;fill:var(--cs-muted);letter-spacing:.04em}
.cs-legend .cs-key-threshold{height:0;background:none;border-top:2px dashed var(--cs-muted)}.cs-legend .cs-key-neutral{display:none}
.cs-visual{box-shadow:0 10px 36px #263d4009;border-radius:20px}.cs-visual-heading{padding:23px 25px 12px}.cs-legend{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0 25px 17px;color:var(--cs-muted);font-size:11px}.cs-legend>span{display:inline-flex;align-items:center;gap:7px}.cs-legend i{width:19px;height:3px;display:inline-block;border-radius:4px;background:var(--cs-aqua)}.cs-legend .cs-key-coral{background:var(--cs-coral)}.cs-legend .cs-key-dash{height:0;background:none;border-top:2px dashed var(--cs-aqua)}.cs-legend .cs-key-fill{height:9px;background:var(--cs-coral);opacity:.3}.cs-plot-paper{fill:var(--cs-soft);fill-opacity:.48}.cs-grid-vertical{stroke:var(--cs-line);stroke-width:.6;stroke-dasharray:2 6;stroke-opacity:.65}.cs-error-fill{fill:var(--cs-coral);fill-opacity:.08;stroke:none}.cs-probe-guide{stroke:var(--cs-coral);stroke-opacity:.28;stroke-width:1;stroke-dasharray:3 5}
.cs-svg .cs-function{stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}.cs-svg .cs-polynomial{stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.cs-svg .cs-grid{stroke-opacity:.65}.cs-svg .cs-zero{stroke-opacity:.5}.cs-svg .cs-axis{stroke-opacity:.55}.cs-svg .cs-last{stroke:var(--cs-coral);stroke-width:2.4;paint-order:stroke fill}.cs-svg .cs-aqua-dot.cs-last{stroke:var(--cs-aqua)}.cs-svg circle[data-cs-key]{cursor:crosshair;outline:none}.cs-svg circle[data-cs-key]:hover,.cs-svg circle[data-cs-key]:focus-visible{stroke:var(--cs-ink);stroke-width:3.5;paint-order:stroke fill}
.cs-construction-progress{display:flex;align-items:center;gap:15px;padding:5px 25px 15px;color:var(--cs-muted);font:500 10px/1.4 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}.cs-construction-progress>span{min-width:76px}.cs-progress-track{height:4px;border-radius:5px;background:var(--cs-soft);flex:1;overflow:hidden}.cs-progress-track i{display:block;height:100%;background:var(--cs-aqua);border-radius:5px;transition:width .32s cubic-bezier(.16,1,.3,1)}.cs-caption{border-top:1px solid var(--cs-line);padding-top:14px;margin-top:0;line-height:1.75}.cs-stats strong{font-size:22px;font-variant-numeric:tabular-nums}.cs-stats>div{padding-block:17px}.cs-verdict{padding:17px 22px;line-height:1.8;border-left:3px solid var(--cs-aqua)}.cs-dashboard{border-radius:18px;padding:23px;background:var(--cs-soft);box-shadow:none}.cs-control{margin:19px 0}.cs-control input[type=range]{accent-color:var(--cs-coral)}.calculus-series-lab button{transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}.calculus-series-lab button:active:not(:disabled){transform:translateY(1px) scale(.98)}.calculus-series-lab button:hover:not(:disabled){box-shadow:0 3px 9px #263d4009}
.cs-speed-label{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--cs-line);padding-top:17px;font-size:10px;color:var(--cs-muted)}.cs-speed-label select{max-width:145px;background:var(--cs-paper);color:var(--cs-ink);border:1px solid var(--cs-line);border-radius:8px;padding:8px;font:11px Inter,Arial,sans-serif;min-height:38px}.cs-status{min-height:34px;line-height:1.8}.cs-teaching,.cs-practice{border-radius:18px;padding:27px}.cs-teaching h4{line-height:1.3}.cs-practice [data-correct=true]{border-left:2px solid var(--cs-aqua);padding-left:12px}.cs-live-badge{border:1px solid var(--cs-line);padding:4px 8px;border-radius:20px;font-size:9px}.cs-formula{background:var(--cs-soft);border:1px solid var(--cs-line)}
html[data-theme="dark"] .calculus-series-lab .cs-visual{box-shadow:0 12px 38px #0002}.calculus-series-lab[data-cs-section="11.7"] .cs-speed-label,.calculus-series-lab[data-cs-section="11.7"] .cs-progress-track{display:none}
@container(max-width:760px){.cs-dashboard{padding:21px}.cs-speed-label{justify-content:flex-start;gap:20px}.cs-control{margin:14px 0}.cs-stats>div{padding-block:14px}}
@media(max-width:600px){.cs-legend{padding:0 18px 14px;gap:9px 15px;font-size:10px}.cs-visual-heading{padding:19px 18px 12px}.cs-construction-progress{padding-inline:18px}.cs-dashboard,.cs-teaching,.cs-practice{padding:19px}.cs-stats strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.cs-progress-track i,.calculus-series-lab button{transition:none!important}.calculus-series-lab button:active:not(:disabled){transform:none}}
