*{box-sizing:border-box}html{color-scheme:light dark;scroll-behavior:smooth}body{margin:0;background:#faf7ef;color:#202d28;font:18px/1.65 system-ui,sans-serif}a{color:#244f89;text-underline-offset:4px}header,main,footer{max-width:920px;margin:auto;padding:24px}header{display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #65756d}a,button,summary{min-height:44px}header a,nav a,.sources a,footer a{display:inline-flex;align-items:center;padding:8px 4px}h1{font:500 clamp(2.2rem,7vw,3.5rem)/1.12 Georgia,serif;max-width:850px;letter-spacing:-.03em}h2{font-size:1.5rem;line-height:1.3;margin-top:2.5rem}h3{font-size:1.15rem}p,li{max-width:76ch}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;font-weight:700}.intro{font-size:1.18rem}.jump{display:flex;flex-wrap:wrap;gap:8px 20px}section{scroll-margin-top:24px}.worked,.question,.tool{border:1px solid #65756d;border-radius:12px;margin:24px 0;padding:24px;background:#fffdf7}.worked{border-left:6px solid #3f6fb0}.question{counter-increment:question}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-weight:700;margin-bottom:14px}label.choice{display:flex;align-items:center;gap:12px;min-height:48px;border:1px solid #65756d;border-radius:6px;padding:10px 14px;margin:10px 0;cursor:pointer}input[type=radio]{width:20px;height:20px;flex-shrink:0;accent-color:#244f89}button,.cta{display:inline-flex;align-items:center;justify-content:center;background:#3f6fb0;color:#fff;border:2px solid transparent;border-radius:8px;padding:10px 18px;min-height:48px;font:inherit;font-weight:650;text-decoration:none;cursor:pointer}button:disabled{opacity:.7;cursor:default}input[type=number]{display:block;max-width:100%;width:280px;min-height:48px;background:#fff;color:#202d28;border:1px solid #65756d;border-radius:6px;padding:8px;font:inherit;margin:8px 0 18px}.feedback{min-height:32px;font-weight:600}.feedback.good{color:#215b36}.feedback.retry{color:#8b3020}details{border-top:1px solid #65756d;margin-top:18px}summary{cursor:pointer;padding:10px 0;font-weight:650}.table-wrap{overflow:auto;margin:20px 0}table{border-collapse:collapse;width:100%;min-width:520px}caption{text-align:left;font-weight:700;padding:12px 0}th,td{border:1px solid #65756d;text-align:left;vertical-align:top;padding:12px}th{background:#e7ece7}.formula{font-weight:650;font-size:1.1rem;overflow-wrap:anywhere}.skip{position:absolute;left:12px;top:-100px;background:#fff;padding:12px;z-index:3}.skip:focus{top:8px}:focus-visible{outline:3px solid #a84410;outline-offset:4px}.answer-list li{padding:12px 0}.sources{font-size:.95rem}.sources a{overflow-wrap:anywhere}.trial{border-block:1px solid #65756d;padding:24px 0;margin-top:40px}.print-button{margin-top:14px}footer{font-size:.95rem}noscript p{border:1px solid;padding:12px}@media(max-width:500px){header,main,footer{padding:18px}.question,.worked,.tool{padding:18px}h1{font-size:2.4rem}}:root[data-theme=dark] body{background:#171e1b;color:#edf1eb}:root[data-theme=dark] a{color:#a4c8f5}:root[data-theme=dark] .worked,:root[data-theme=dark] .question,:root[data-theme=dark] .tool{background:#202a25}:root[data-theme=dark] th{background:#293a31}:root[data-theme=dark] input[type=number]{background:#171e1b;color:#edf1eb}:root[data-theme=dark] button,:root[data-theme=dark] .cta{background:#8fb6ea;color:#171e1b}:root[data-theme=dark] .feedback.good{color:#a7e4b7}:root[data-theme=dark] .feedback.retry{color:#ffc3aa}:root[data-theme=dark] :focus-visible{outline-color:#ffcc77}:root[data-theme=dark] .skip{background:#171e1b}@media print{header,.jump,button,.trial,footer{display:none}body{background:white;color:black;font-size:12pt}.question,.worked{break-inside:avoid}details>div{display:block!important}a{color:black;text-decoration:none}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.question>label{display:block;font-weight:700;margin-bottom:8px}input[type=text]{display:block;max-width:100%;width:420px;min-height:48px;background:#fff;color:#202d28;border:1px solid #65756d;border-radius:6px;padding:8px 10px;font:inherit;font-family:ui-monospace,Menlo,Consolas,monospace;margin:8px 0 18px}.pieces{border:1px solid #65756d;border-radius:12px;margin:24px 0;padding:20px 24px;background:#fffdf7}.pieces h3{margin-top:0}.pick{display:grid;grid-template-columns:max-content minmax(0,260px);justify-content:start;gap:10px 14px;align-items:center;margin-bottom:16px}.pick label{font-weight:650}select{min-height:48px;font:inherit;background:#fff;color:#202d28;border:1px solid #65756d;border-radius:6px;padding:6px 8px;max-width:100%}code{font-family:ui-monospace,Menlo,Consolas,monospace;background:#ece8dc;padding:1px 5px;border-radius:4px;font-size:.92em}.trial.mid{border:1px solid #65756d;border-radius:12px;padding:20px 24px;margin:32px 0}.trial p{margin:.6em 0}sup{line-height:0}
@media(max-width:500px){.pieces{padding:18px}}:root[data-theme=dark] input[type=text],:root[data-theme=dark] select{background:#171e1b;color:#edf1eb}:root[data-theme=dark] .pieces{background:#202a25}:root[data-theme=dark] code{background:#2b3832}
.table-wrap{position:relative}
.checklist{list-style:none;padding:0;margin:0}.checklist li{display:flex;align-items:flex-start;gap:12px;padding:6px 0;max-width:none}.checklist input{width:24px;height:24px;margin-top:10px;flex-shrink:0;accent-color:#244f89}.checklist label{padding:8px 0;min-height:44px}.checklist a{display:inline;padding:0;min-height:0}.unit-head{margin-bottom:4px}.status{font-weight:650;min-height:28px}.graph{display:block;width:100%;max-width:560px;height:auto;margin:16px 0;color:#202d28}.graph .curve{stroke:#244f89}.graph .grid{stroke:#c9cfc6}.graph text{font:13px system-ui,sans-serif;fill:currentColor}.graph .dot{fill:#a84410}.mc legend{font-weight:700}.part{border-top:2px solid #65756d;margin-top:32px}.scorebox{border:2px solid #3f6fb0;border-radius:12px;padding:20px 24px;margin:28px 0}.scorebox ul{padding-left:20px}.tag{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.question .tag{display:block;margin-bottom:4px}
:root[data-theme=dark] .graph{color:#edf1eb}:root[data-theme=dark] .graph .curve{stroke:#a4c8f5}:root[data-theme=dark] .graph .grid{stroke:#3a4a42}:root[data-theme=dark] .graph .dot{fill:#ffcc77}:root[data-theme=dark] .checklist input{accent-color:#a4c8f5}:root[data-theme=dark] .scorebox{border-color:#8fb6ea}
@media print{.scorebox,.status{display:none}}
input[type=radio]{width:24px;height:24px}

/* funnel-1105: compact try-it prompt near the top and at the end of the guide. */
.guide-try{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:20px 0;padding:14px 16px;border:1px solid #65756d;border-radius:10px}
.guide-try p{margin:0;flex:1 1 240px}
.guide-try .cta{flex:none;gap:.4em}

/* Calculus 2 final review: decision lists, first-move sorter, practice exam extras. Math is plain text in normal sentence flow. */
h4{font-size:1.05rem;margin:22px 0 6px}
.two-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:8px 28px}
.steps ol{padding-left:1.4em}.steps li{margin:6px 0}
.sort-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,240px);gap:6px 16px;align-items:center;padding:10px 0;border-bottom:1px solid #c9cfc6}
.sort-row label{font-weight:650;overflow-wrap:anywhere}.sort-row select{width:100%}
.row-fb{grid-column:1/-1;margin:0;font-weight:600}.row-fb:empty{display:none}
.row-fb.good{color:#215b36}.row-fb.retry{color:#8b3020}
.sort-actions{margin-top:18px}
.key{margin:12px 0 0}
.question legend,.question>label,.choice,summary,.worked li,.formula{overflow-wrap:anywhere}
.scorebox button{margin:4px 8px 4px 0}
button.secondary{background:transparent;color:#244f89;border-color:#244f89}
.score-units{padding-left:20px}
@media(max-width:600px){.sort-row{grid-template-columns:minmax(0,1fr)}}
:root[data-theme=dark] .sort-row{border-color:#3a4a42}:root[data-theme=dark] .row-fb.good{color:#a7e4b7}:root[data-theme=dark] .row-fb.retry{color:#ffc3aa}:root[data-theme=dark] button.secondary{background:transparent;color:#a4c8f5;border-color:#a4c8f5}
@media print{.sort-actions,#sort-out,.scorebox{display:none}}
