.calc-course .calc-note{color:var(--muted);font-size:.9rem}.calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.calc-grid>*{min-width:0}.calc-course .calc-math{font-family:'STIX Two Text','Cambria Math','Cambria',Georgia,'Times New Roman',serif;font-size:1em}.calc-math var{font-style:italic}.calc-lim{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin-right:.2em;font-family:'Cambria Math','Times New Roman',serif}.calc-lim>span{font-size:.65em}.calc-integral{display:inline-flex;flex-direction:column;vertical-align:middle;align-items:center;font:2em 'Cambria Math',serif;line-height:.9;margin:0 .2em}.calc-integral>span{font-size:.35em;line-height:1.2}.calc-graph{display:block;width:100%;max-width:460px;height:auto;margin:18px auto;background:#fff;border:1px solid #8393a3;border-radius:8px}.calc-graph .major{stroke:#d0d5db;stroke-width:1}.calc-graph .minor{stroke:#edf0f3;stroke-width:.8}.calc-graph .axis{stroke:#30343b;stroke-width:1.8;fill:none}.calc-graph .calc-plot-labels{fill:#30343b;font:12px Arial,sans-serif}.calc-graph .curve{stroke:#c74440;stroke-width:2.8;fill:none;stroke-linecap:round}.calc-graph .hole{fill:#fff;stroke:#c74440;stroke-width:2.8}.calc-graph .point{fill:#c74440}.calc-table-wrap{overflow-x:auto}.calc-table{width:100%;border-collapse:collapse;margin:16px 0;font-variant-numeric:tabular-nums;color:inherit}.calc-table th,.calc-table td{padding:9px 6px;border:1px solid var(--line);text-align:center;color:inherit;font-size:1rem;white-space:nowrap}.calc-table th{background:var(--surface-raised)}.calc-table caption{text-align:left;color:var(--muted);font-size:.9rem}.calc-course .tb-cases{display:flex;align-items:center;gap:10px;margin:18px 0}.calc-course .tb-cases>span:last-child{display:flex;flex-direction:column;gap:8px}.calc-course .tb-brace{font:3.5em 'Cambria Math',serif;line-height:1}.calc-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.calc-numbers{display:flex;gap:8px;flex-wrap:wrap}.calc-numbers button{min-width:44px;min-height:44px;padding:8px}.calc-numbers [aria-current]{outline:2px solid var(--lime);outline-offset:2px}.calc-question-title{font-size:1.15rem;line-height:1.6}.calc-steps li{margin:10px 0}.calc-feedback{padding:16px;border:1px solid var(--line);border-radius:10px;margin:18px 0}.calc-score{font-size:2rem;font-weight:700}.calc-video{padding:24px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.calc-preview{display:inline-block;border:1px solid var(--line);padding:5px 10px;border-radius:20px}.calc-progress{display:block;width:100%;max-width:320px;height:6px;accent-color:var(--green);margin-top:8px}.calc-locked-preview{opacity:.35;filter:blur(3px);max-height:220px;overflow:hidden}.calc-invite a{display:inline-block;margin:8px}.calc-course .tb-label{display:block;margin:18px 0}.calc-course .tb-label input,.calc-course .tb-label textarea,.calc-course select{display:block;width:100%;max-width:640px;background:var(--surface-raised);color:var(--ink);border:1px solid #6f85a0;border-radius:8px;padding:12px;font:inherit;margin:8px 0 18px}.calc-course textarea{min-height:130px;resize:vertical}.calc-course .tb-hint{padding:12px 16px;background:var(--surface-raised);margin:18px 0;border-radius:9px}.calc-course .tb-value-table input{width:80px;min-height:44px;background:var(--surface-raised);color:var(--ink);border:1px solid #6f85a0;border-radius:6px;padding:6px;font:inherit}.calc-course .choices button{justify-content:flex-start;text-align:left;font-weight:500;min-height:56px}.calc-sheet{background:#fff;color:#142637;border-radius:14px;padding:28px}.calc-sheet h2{margin:0}.calc-sheet .calc-note,.calc-sheet .calc-table caption{color:#41586c}.calc-sheet .calc-table{--line:#9cabb8}.calc-sheet .calc-table th{background:#e8eef5}.calc-sheet .calc-table th,.calc-sheet .calc-table td,.calc-sheet .math,.calc-sheet .fraction{color:#142637}.calc-sheet-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.calc-sheet-page .problem{min-height:145px;padding:8px 0;border-bottom:1px solid #b8c4cf;break-inside:avoid}.calc-sheet .worksheet-answer-space{height:54px}.calc-sheet details{margin-top:28px;border-top:1px solid #9cabb8;padding-top:16px}.calc-sheet .calc-key-item{break-inside:avoid;border-bottom:1px solid #c7d0d9;padding:12px 0}.calc-sheet .calc-table th,.calc-sheet .calc-table td{font-size:.9rem;padding:7px 3px;white-space:normal}.calc-sheet .tb-value-table{table-layout:fixed}.calc-sheet .calc-graph{max-width:240px}.calc-course .idea-link>span:nth-child(2){min-width:0}.calc-course .idea-link{color:var(--ink)}
@media(max-width:760px){.calc-grid,.calc-sheet-page{grid-template-columns:1fr}.calc-sheet{padding:18px}.calc-course h1{font-size:2rem}.calc-course .panel{padding:20px}.calc-course .tabs{flex-wrap:wrap}.calc-course .idea-link{grid-template-columns:48px minmax(0,1fr) 20px}.calc-course .calc-table td{font-size:.9rem}.calc-course .tb-cases{font-size:.95rem}}
@media print{@page{size:A4;margin:14mm}.calc-course .calc-lesson-header,.calc-course .calc-actions,.calc-course .calc-invite{display:none!important}.calc-course{color:#142637!important}.calc-sheet{padding:0;border:0;border-radius:0}.calc-sheet h2{font-size:16pt}.calc-sheet-page{display:grid;grid-template-columns:1fr 1fr;gap:4mm 7mm;break-after:page}.calc-sheet-page .problem{min-height:55mm;font-size:11pt}.calc-sheet-page .problem .math,.calc-sheet-page .problem .calc-math{font-size:11pt;line-height:1.35}.calc-sheet .worksheet-answer-space{height:15mm}.calc-sheet details{break-before:page;border:0;padding:0;margin:0}.calc-sheet details>summary{display:none}.calc-key-item{font-size:11pt}.calc-sheet .calc-table th,.calc-sheet .calc-table td{font-size:9pt;padding:1mm .3mm}.calc-sheet .calc-note{font-size:10pt}.calc-sheet .calc-graph{width:47mm;margin:3mm auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}.calc-course .tb-cases{font-size:10pt}}

@media print{.calc-sheet-page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.calc-sheet-page .problem{min-width:0;min-height:55mm;margin:0;padding:2mm 0;line-height:1.35;overflow-wrap:break-word}.calc-sheet .calc-table{table-layout:fixed;width:100%}.calc-sheet .calc-table td,.calc-sheet .calc-table th{overflow-wrap:anywhere;font-size:8pt}.calc-sheet .tb-value-table td{font-size:8pt}.calc-sheet .calc-table caption{line-height:1.2;margin:0}.calc-sheet .calc-graph{max-height:40mm;width:auto;max-width:100%}.calc-sheet .tb-graph{width:42mm!important;height:auto!important;max-height:40mm;margin:2mm auto}.calc-sheet .tb-graph-caption{font-size:8pt;line-height:1.2}.calc-sheet .calc-key-item{margin:0;padding:2mm 0;line-height:1.35}.calc-sheet .calc-key-item p{margin:1mm 0}.calc-sheet .tb-cases{margin:2mm 0}.calc-sheet .calc-note,.calc-sheet>p{margin:2mm 0}.calc-sheet .fraction{white-space:nowrap}}

@media print{.calc-sheet .problem p{margin:2mm 0}.calc-sheet .calc-table{margin:2mm 0}.calc-sheet .calc-table-wrap{overflow:visible}.calc-sheet .calc-key-item .math{white-space:normal;overflow-wrap:anywhere}.calc-sheet .calc-key-item .fraction{white-space:normal}}

@media print{.calc-sheet .worksheet-answer-space{height:8mm}.calc-sheet-page{gap:2mm 7mm}.calc-sheet .calc-table caption{display:none}.calc-sheet .calc-key-item .math{line-height:1.35}.calc-sheet .calc-key-item p{padding-right:2mm}.calc-sheet .problem .math{padding-right:2mm}}

@media print{.calc-sheet .fraction{display:inline-table!important;border-collapse:collapse;width:auto;vertical-align:middle}.calc-sheet .fraction>span{display:table-row;text-align:center}.calc-sheet .fraction>span:first-child{border-bottom:1px solid currentColor}}

/* Calculus uses the shared textbook face, with room for operator bounds. */
.calc-course .math,.calc-course .calc-question-title,.calc-course .calc-lim,.calc-course .calc-integral,.calc-course .calc-table{font-family:'STIX Two Text','Cambria Math','Cambria',Georgia,'Times New Roman',serif}
.calc-course .calc-question-title,.calc-course .calc-steps,.calc-course .calc-feedback .math{line-height:1.7;overflow-wrap:anywhere}
.calc-course .calc-focus{color:var(--muted);line-height:1.6;margin:10px 0 14px}
.calc-course .calc-lim{line-height:1.4;padding:.15em 0;overflow:visible}
.calc-course .calc-integral{display:inline-grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;vertical-align:middle;column-gap:.08em;font-size:1em;line-height:1.4;padding:.2em 0;overflow:visible;margin:0 .25em}
.calc-course .calc-integral>.calc-upper{grid-column:2;grid-row:1;align-self:start;font-size:.7em;line-height:1.4}
.calc-course .calc-integral>.calc-lower{grid-column:2;grid-row:2;align-self:end;font-size:.7em;line-height:1.4}
.calc-course .calc-integral>.calc-integral-symbol{grid-column:1;grid-row:1 / 3;font-size:2.1em;line-height:1.25}
.calc-course .calc-integral:not(:has(.calc-integral-symbol)){display:inline-flex;flex-direction:column;font-size:1.7em;line-height:1.3}
.calc-course .calc-integral:not(:has(.calc-integral-symbol))>span{font-size:.42em;line-height:1.4}
.calc-course .calc-differential{font-style:normal}.calc-course var{font-style:italic}
.calc-course .math sup{line-height:1.35}.calc-course .calc-steps li{padding:.18em 0}
@media print{.calc-sheet .calc-integral,.calc-sheet .calc-lim{overflow:visible}.calc-sheet .calc-question-title,.calc-sheet .calc-steps,.calc-sheet .calc-feedback .math{line-height:1.4}}
/* Match Precalculus worked-step sizing and let long equation chains wrap. */
.calc-course .panel p.math,.calc-course .calc-feedback .math{font-size:1.12rem}
.calc-course .calc-steps li.math{font-size:1rem}
.calc-course .fraction{display:inline-table!important;border-collapse:collapse;width:auto;vertical-align:middle}
.calc-course .fraction>span{display:table-row;text-align:center;white-space:normal}
.calc-course .fraction>span:first-child{border-bottom:.075em solid currentColor}
.calc-course .calc-math{white-space:normal;overflow-wrap:anywhere}
@media print{.calc-sheet .calc-steps li.math,.calc-sheet .panel p.math,.calc-sheet .calc-feedback .math{font-size:11pt}}

.calc-sheet .calc-key-item .math{font-size:1rem}
@media print{.calc-sheet .calc-key-item .math{font-size:11pt}}

.calc-course .calc-eval{display:inline-grid;grid-template-rows:1fr 1fr;vertical-align:middle;line-height:1.25;margin:0 .12em}
.calc-course .calc-eval>sup,.calc-course .calc-eval>sub{font-size:.7em;line-height:1.25;vertical-align:baseline;position:static}
