.vp-root{max-width:1050px;margin:auto}.vp-badge{display:inline-block;margin:12px 8px 16px 0;padding:5px 10px;border:1px solid var(--line,#34445d);border-radius:20px;color:var(--ink);font-size:.85rem}.vp-back{margin-left:12px}.vp-gate{max-width:700px;margin:24px auto;padding:26px;border:1px solid var(--line,#34445d);border-radius:18px;background:var(--surface,#142136);color:var(--ink)}.vp-gate-background{max-height:420px;overflow:hidden;opacity:.35;filter:blur(1px);pointer-events:none}.vp-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.vp-options{display:grid;gap:10px;margin:24px 0}.vp-options button{text-align:left;justify-content:flex-start;min-height:56px;font-weight:500}.vp-question{margin-top:20px}.vp-status{margin:16px 0}.vp-paper{background:white!important;color:#172033!important;padding:24px}.vp-paper *{color:#172033!important}.vp-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.vp-home-card{display:block;border:1px solid var(--line,#34445d);border-radius:14px;padding:18px;color:var(--ink);background:var(--surface,#142136);text-decoration:none}.vp-home-card h3{font-size:1.1rem}.vp-home-card p{font-size:.95rem}.vp-table{overflow-x:auto}.vp-table table{width:100%;border-collapse:collapse}.vp-table td,.vp-table th{padding:12px;text-align:left;border:1px solid var(--line,#34445d)}.vp-green{background:#14543b;color:white}.vp-amber{background:#725515;color:white}.vp-red{background:#732c34;color:white}.vp-demo{font-weight:700}.vp-root select,.vp-root input{max-width:100%}@media(max-width:850px){.vp-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.vp-home-grid{grid-template-columns:1fr}.vp-gate{padding:18px}.vp-root h1{font-size:1.75rem}}@media print{body:not(.ml-signed-in) #app .vp-paper{display:none!important}body:not(.ml-signed-in) #app .vp-root:after{content:'Create a free MathLab account to print worksheets.'}.vp-badge,.vp-gate,.vp-index-link{display:none}}

.vp-root label{display:block}.vp-root select{width:100%;margin:8px 0 18px}.vp-root input{width:100%}.vp-question,.vp-paper{overflow-wrap:anywhere;min-width:0}

/* Choices are answer cards, not primary action buttons. Variables also keep
   the Light theme adapter from replacing their explicit answer colors. */
:root{--vp-correct-bg:#143f35;--vp-wrong-bg:#472732;--vp-correct-border:#5fd3b2;--vp-wrong-border:#f69baa}
html[data-ml-theme=light]{--vp-correct-bg:#e5f1e9;--vp-wrong-bg:#fce9e8;--vp-correct-border:#527c61;--vp-wrong-border:#ad6871}
html #app .vp-options button[data-vp-option]{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important;box-shadow:none!important;filter:none;opacity:1}
html #app .vp-options button[data-vp-option]:not(:disabled):hover{background:var(--surface-raised)!important;border-color:var(--green)!important}
html #app .vp-options button[data-vp-option].vp-selected{background:var(--surface-raised)!important;border-color:var(--green)!important}
html #app .vp-options button[data-vp-option].vp-correct{background:var(--vp-correct-bg)!important;border-color:var(--vp-correct-border)!important}
html #app .vp-options button[data-vp-option].vp-incorrect{background:var(--vp-wrong-bg)!important;border-color:var(--vp-wrong-border)!important}

/* Keep formatted variables and their exponents in one inline math run. */
#app :is(.choice.math,.em-choices button,.idea-choices button){gap:0}
#app .vp-options button[data-vp-option]>.math{display:inline;text-align:left}

/* Exam value tables are real tables in previews, topic practice and worksheets. */
#app table.sat-tab{border-collapse:collapse;width:auto;max-width:100%;margin:16px 0;color:var(--ink);font:500 1rem/1.45 'DM Sans',Arial,sans-serif;font-variant-numeric:tabular-nums}
#app table.sat-tab th,#app table.sat-tab td{border:1px solid #7890aa;padding:9px 18px;text-align:center;color:var(--ink);background:var(--surface-raised,#1d2e4a);white-space:nowrap}
#app table.sat-tab th{font-weight:700;background:var(--surface,#16233a)}
#app .vp-paper table.sat-tab th,#app .vp-paper table.sat-tab td,#mlb-paper table.sat-tab th,#mlb-paper table.sat-tab td{background:#fff;color:#142637;border-color:#8293a6}
#app .vp-paper table.sat-tab th,#mlb-paper table.sat-tab th{background:#e8eef5}
@media(max-width:500px){#app table.sat-tab th,#app table.sat-tab td{padding:7px 12px}}
@media print{#app table.sat-tab th,#app table.sat-tab td{background:#fff!important;color:#142637!important;border-color:#8293a6!important}#app table.sat-tab th{background:#e8eef5!important}}

/* Coordinate figures share the clear paper grid used by Calculus graphs. */
#app svg.sat-fig,#app .graph-example svg{background:#fff;border:1px solid #8393a3;border-radius:8px}
#app svg.sat-fig .g{stroke:#d8dee5;stroke-width:1}
#app svg.sat-fig .a{stroke:#394859;stroke-width:2}
#app svg.sat-fig .f{stroke:#c74440;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
#app svg.sat-fig .p{fill:#c74440;stroke:#fff;stroke-width:1}
#app svg.sat-fig text{fill:#26384b;font:12px 'DM Sans',Arial,sans-serif}
#app .graph-example svg>path[stroke]{stroke:#c74440}
#app .graph-example svg circle{stroke:#c74440;fill:#c74440}
#app .graph-example svg circle[fill="white"]{fill:#fff}
