@import url("lesson-colors.css");
/* A rule for a figure's svg never reaches the SVGs KaTeX draws roots and stretchy brackets with (svg:not(.katex svg)):
   width/height auto collapses a √ to a hairline (Trigonometric Substitution posters, 2026-09-26). */
@import url('/fonts/google/inter_stix-two-text-31c15e36.css');
/* Page typography and column sizing must not depend on an interactive import. */
/* The page's colour names, once, every one a course palette token (lesson-colors.css). No other shared stylesheet sets
   them (2026-10-03): they each used to, with different values, and the one loaded last won. The palette values follow the
   theme, so these need no dark block. --amber and --amberdk are one colour; --red is the palette's pink, --cyan its blue. */
:root{--bg:var(--lc-bg);--panel:var(--lc-panel);--field:var(--lc-field);--ink:var(--lc-ink);--body:var(--lc-body);--mute:var(--lc-mute);
  --axis:var(--lc-axis);--rule:var(--lc-rule);--accent:var(--lc-accent);--amber:var(--lc-amber);--amberdk:var(--lc-amber);
  --green:var(--lc-green);--red:var(--lc-pink);--violet:var(--lc-violet);--cyan:var(--lc-blue);--film:var(--lc-board-bg)}
/* Fonts by role, each defined once here (2026-10-03). Every role is the page's text font for now, so the page reads in
   one face; to try another face for one role, change its line, and every rule that role covers follows. */
:root{
  --lf-text:'STIX Two Text',Georgia,'Times New Roman',serif;   /* the page's text font: paragraphs, everything below */
  --lf-ui:var(--lf-text);             /* buttons and inputs: Check, Hint, Explain, Written solution, answer fields */
  --lf-solution:var(--lf-text);       /* a hint's text and a written solution's lines */
  --lf-film-problem:var(--lf-text);   /* a film's or example's problem statement, and the problem on its poster */
  --lf-label:var(--lf-text);          /* small labels: kickers, row labels, the Key idea label, tags */
  --lf-number:var(--lf-text);         /* section, problem and Key concept numbers */
  --lf-nav:var(--lf-text);            /* the running head, the jump bar, the end navigation */
}
/* the names an old embedded sim reads in the dark theme */
:root[data-theme=dark]{--bright:var(--lc-ink);--text:var(--lc-body);--muted:var(--lc-mute);--border:var(--lc-rule);--sim:var(--lc-paper)}
html,body{margin:0;background:var(--bg);color:var(--body);font-family:var(--lf-text);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
.top{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--rule);background:var(--panel);font-size:13.5px;color:var(--mute)}
.top b{color:var(--ink);font-weight:600}
.top .crumb span+span:before{content:"/";margin:0 8px;color:var(--mute)}
.top .right{display:flex;gap:18px}
.top .right a{color:var(--mute);text-decoration:none}
.top .right a.on{color:var(--accent);font-weight:500}
.col{box-sizing:border-box;max-width:760px;margin:0 auto;padding:54px 24px 90px}
.kicker{font-size:12.5px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
h1{font-size:40px;font-weight:700;color:var(--ink);letter-spacing:-.7px;margin:0 0 8px}
.katex{color:var(--ink)}
.sim .stmt-main .katex,.sim .stmt-sub .katex{color:inherit}   /* the statement line colours its own KaTeX (green verdict, grey rest); the page rule above must not override it (ia-table, 2026-09-04) */
/* intro */
.intro{font-size:16.5px;color:var(--body);line-height:1.62;margin:16px 0 0}
.intro p{margin:0 0 12px}
.intro p:last-child{margin-bottom:0}
.intro b{color:var(--ink);font-weight:600}
/* section header: numeral and title on one line, a rule under it */
.sec{margin:72px 0 0;padding-bottom:10px;border-bottom:1px solid var(--rule);display:flex;align-items:baseline;gap:14px}
.sec .num{font-size:27px;font-weight:700;color:var(--accent);letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.sec h2{font-size:27px;font-weight:700;color:var(--ink);letter-spacing:-.4px;margin:0}
/* body paragraph */
.p{font-size:17.5px;color:var(--body);line-height:1.6;margin:22px 0 0}
.p b{color:var(--ink);font-weight:600}
.p .katex{font-size:1.06em}
/* element label */
.lab{font-size:13px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent)}
.lab .t{color:var(--mute);font-weight:500;letter-spacing:0;text-transform:none;font-size:15px;margin-left:10px}
/* note: name, one clause, mini figure */
.note{display:grid;grid-template-columns:92px 1fr;gap:0 18px;align-items:center;margin:34px 0 14px}
.note > svg{width:92px;height:44px;display:block}
.note .name{font-size:17px;font-weight:600;color:var(--ink);letter-spacing:-.2px}
.note .say{font-size:15px;color:var(--body);line-height:1.5;margin-top:2px}
.note.nofig{grid-template-columns:1fr}
/* formula block: bare, two thin rules, label above */
.fq{margin:26px 0 8px;padding:18px 0 20px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.fq .lab{margin-bottom:12px}
.fq .body{display:grid;grid-template-columns:1fr 300px;gap:0 32px;align-items:center}
.fq.nofig .body{grid-template-columns:1fr}
.fq .f{font-size:19px;line-height:1.35}
.fq .f .katex{font-size:1.28em}
.fq .f .row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.fq .f .row+.row{margin-top:12px}
.fq .f .w{font-family:var(--lf-label);font-size:15px;color:var(--mute)}
.fq .say{font-size:17.5px;color:var(--body);margin-top:14px;line-height:1.55}
.fq .body > svg{width:300px;height:150px;display:block}
/* video and interactive cards */
.film{width:100%;margin:0}
.el{margin-top:30px}
.el .lab{margin-bottom:10px}
.sim{margin:0}
.sim .stmt-main{font-size:24px}
/* example */
.ex{margin-top:34px}
.ex .lead{font-size:15.5px;color:var(--body);margin:0 0 10px}
.ex .st{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:17.5px;color:var(--ink);margin:8px 0 14px}
.ex .st .katex{font-size:1.18em}
.ex .st .q{color:var(--body)}
/* text-worked example (no film yet) */
.work{border-left:2px solid var(--rule);padding:4px 0 4px 18px;margin:14px 0 0}
.work .ln{display:block;padding:8px 0;font-size:15px;color:var(--body);line-height:1.55}
.work .ln+.ln{border-top:1px solid var(--rule)}
.work .ln .m{margin-top:6px}
.work .ln .m .katex{font-size:1.15em}
.work .ans{color:var(--ink);font-weight:600}
/* key concepts: a bounded box, study-guide cards inside */
.key{margin-top:80px;border:1.5px solid var(--rule);border-radius:14px;background:var(--panel);padding:24px 26px 26px}
.key .kt{font-size:25px;font-weight:700;color:var(--ink);letter-spacing:-.4px;margin:0 0 6px}
.key .ks{font-size:14.5px;color:var(--mute);margin:0 0 18px}
.key .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.kc{border:1px solid var(--kb,var(--rule));border-left:3px solid var(--kh,var(--accent));border-radius:8px;padding:14px 16px 14px;background:var(--kg,var(--panel));min-width:0}
.kc.wide{grid-column:1/-1}
.kc .kn{font-size:17px;font-weight:700;color:var(--kh,var(--accent));margin:0 0 6px;line-height:1.25}
.kc .kb{font-size:17.5px;color:var(--ink);line-height:1.5}
.kc .kb p{margin:0 0 6px}.kc .kb p:last-child{margin:0}
.kc .kb .katex{font-size:0.9em}
.kc ul{margin:4px 0 0;padding-left:0;list-style:none}
.kc li{display:grid;grid-template-columns:150px 1fr;gap:0 12px;padding:5px 0;border-top:1px solid var(--rule);font-size:14px;color:var(--ink)}
.kc li:first-child{border-top:0}
/* a prose list in a Key concepts box (a list in the page's words, .mv-list) reads as a list: the label | text grid
   above is for items built as a label and a .s description, and it split a sentence's bold, maths and words into cells
   (Sohil, 2026-10-24, the quadric surfaces box) */
.kc ul.mv-list{padding-left:.15em;list-style:disc}
.kc ul.mv-list ul.mv-list{margin:4px 0 2px;list-style:circle}
.kc .mv-list li{display:list-item;grid-template-columns:none;gap:0;padding:3px 0;border-top:0;font-size:inherit;line-height:1.5}
.kc ul.mv-list{list-style:none}
.kc .mv-list li{position:relative;padding-left:1.05em}   /* the dot sits inside the item: a page's list items scroll sideways (overflow-x), which clips anything outside them */
.kc .mv-list li::before{content:"";position:absolute;left:.12em;top:.72em;width:.36em;height:.36em;border-radius:50%;background:var(--kh,var(--accent))}
.kc .mv-list .mv-list li::before{background:transparent;box-shadow:inset 0 0 0 1.5px var(--kh,var(--accent))}
.kc li .s{color:var(--body)}
.kc .three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}
.kc .three svg:not(.katex svg){width:100%;height:auto;display:block}
.kc .three .c{font-size:17.5px;color:var(--body);margin-top:6px;line-height:1.45}
.kc .three .c b{color:var(--ink);font-weight:600}
.trap{display:flex;align-items:baseline;gap:8px;margin-top:10px;padding:8px 10px;background:color-mix(in srgb,var(--amber) 7%,transparent);border:1px solid color-mix(in srgb,var(--amber) 22%,transparent);border-radius:6px;font-size:13.5px;color:var(--ink);line-height:1.45}
.trap .tl{font-size:10.5px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--amberdk);flex-shrink:0;line-height:1.6}
/* A Key concepts card's hue, defined here only (2026-10-03: it was set again in alive/paper.css, alive/sheet.css,
   lib/lesson-theme.css and limit-laws/page-local.css, five hand-picked values per hue). Its edge and ground are
   mixed from it. --kh is set with :root[data-theme] so the shared layer's plain .kc{--kh:var(--ink)} doesn't win;
   --kb and --kg stay at class weight, so a layer that sets its own card edge and ground (alive/shared.css) still does. */
.k-indigo,.k-violet,.k-emerald,.k-amber,.k-rose,.k-cyan{--kb:color-mix(in srgb,var(--kh) 32%,transparent);--kg:color-mix(in srgb,var(--kh) 4.5%,transparent)}
.k-indigo,:root[data-theme] .kc.k-indigo{--kh:var(--lc-accent)}
.k-violet,:root[data-theme] .kc.k-violet{--kh:var(--lc-violet)}
.k-emerald,:root[data-theme] .kc.k-emerald{--kh:var(--lc-green)}
.k-amber,:root[data-theme] .kc.k-amber{--kh:var(--lc-amber)}
.k-rose,:root[data-theme] .kc.k-rose{--kh:var(--lc-pink)}
.k-cyan,:root[data-theme] .kc.k-cyan{--kh:var(--lc-blue)}
/* practice */
.prac{margin-top:72px}
.prac .sec{margin-top:0}
.prac .ph{font-size:17.5px;color:var(--body);margin:18px 0 6px}
.prob{padding:26px 0 8px}
.prob+.prob{border-top:1px solid var(--rule)}
.prob .st{display:grid;grid-template-columns:28px 1fr;gap:0 10px;align-items:baseline;font-size:17.5px;color:var(--ink)}
.prob .st .n{color:var(--mute);font-size:13.5px;font-weight:600}
.prob .st .katex{font-size:1.14em}
.prob .tag{display:inline-block;font:600 11px var(--lf-label);letter-spacing:1px;text-transform:uppercase;color:var(--amberdk);background:color-mix(in srgb,var(--amber) 10%,transparent);border-radius:999px;padding:3px 9px;margin-left:12px;vertical-align:middle}
.prob .ans{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 0 38px}
.prob input{font:15px var(--lf-ui);padding:8px 12px;border:1px solid var(--rule);border-radius:8px;width:150px;color:var(--ink);background:var(--field)}
.prob input:focus{outline:none;border-color:var(--accent)}
.prob :where(.ans,.txt-row) button{font:500 15px var(--lf-ui);padding:8px 14px;border-radius:999px;border:1px solid var(--rule);background:var(--field);color:var(--ink);cursor:pointer}
.prob button.chk{background:var(--accent);border-color:var(--accent);color:var(--lc-on-accent)}
.prob .verdict{font-size:14px;font-weight:600;min-width:70px}
.prob .verdict.ok{color:var(--green)}.prob .verdict.no{color:var(--red)}
.prob .hint{margin:12px 0 0;font-size:17.5px;color:var(--body);display:none}
.prob .hint.show{display:block}
.prob .sol{margin:16px 0 8px 0;display:none}
.prob .sol.show{display:block}
/* text solution: a small ghost button under the video, the text opens under it */
.prob .txt-row{display:flex;justify-content:flex-start;margin:10px 0 0 38px}
.prob button.txt-b{font-size:12.5px;padding:5px 11px;color:var(--body);border-color:var(--rule);background:transparent}
.prob button.txt-b:hover{color:var(--ink);background:var(--field)}
.prob .txt{display:none;margin:12px 0 0 38px;border-left:2px solid var(--rule);padding:2px 0 2px 18px}
.prob .txt.show{display:block}
.prob .txt .ln{padding:7px 0;font-size:17.5px;color:var(--body);line-height:1.55}
.prob .txt .ln+.ln{border-top:1px solid var(--rule)}
.prob .txt .ln .m{margin-top:5px}
.prob .txt .ln .m .katex{font-size:1.12em}
.prob .txt .fin{color:var(--ink);font-weight:600}
.nav{display:flex;justify-content:space-between;margin-top:72px;padding-top:22px;border-top:1px solid var(--rule);font-size:14px}
.nav a{color:var(--mute);text-decoration:none}
.nav a b{display:block;color:var(--ink);font-weight:600;margin-top:2px}
.nav .next{text-align:right}
@media (max-width:640px){h1{font-size:33px}.sec h2,.sec .num{font-size:25px}.note{grid-template-columns:1fr;gap:8px}.top .right{display:none}.fq .body{grid-template-columns:1fr;gap:14px}.fq svg:not(.katex svg){width:100%;height:auto}.prob .ans,.prob .hint,.prob .txt-row,.prob .txt{margin-left:0}.key{padding:18px 16px 18px}.key .grid{grid-template-columns:1fr}.kc li{grid-template-columns:1fr;gap:2px}.kc .three{grid-template-columns:1fr;gap:10px}}   /* the three panels stack on a phone: three columns at 390 wrapped the captions one word per line */
/* video caption title and placeholder */
.ex .vt{font-size:17px;font-weight:600;color:var(--ink);letter-spacing:-.2px}
.filmbox{width:100%;aspect-ratio:16/9;background:var(--film);border-radius:12px;display:grid;place-items:center;color:var(--mute);font-size:13px}
/* key concept formula cards */
.kc .kf .katex-display{margin:6px 0 10px;text-align:left}
.kc .kf .katex-display>.katex{text-align:left;font-size:0.9em}
.kc .kf .katex-display:last-child{margin-bottom:0}
.kc .knote{font-size:17.5px;color:var(--body);margin:-4px 0 8px}
.kc .ksm{max-width:220px}.kc .ksm>svg{width:100%;height:auto;display:block}
.kc .kb{overflow-x:auto}
/* key concept rows: a short name, then the key step */
.krows{margin-top:6px}
.kr{display:grid;grid-template-columns:150px 1fr;gap:0 12px;align-items:center;padding:8px 0;border-top:1px solid var(--rule)}
.kr .kh{font-size:17.5px;font-weight:600;color:var(--ink)}
.kr .katex{font-size:0.88em}
.kc .kf .katex-display>.katex{font-size:0.9em}
@media (max-width:640px){.kr{grid-template-columns:1fr;gap:4px}}
.fq.laws .body{grid-template-columns:1fr 250px;gap:0 22px}
.fq.laws .f .katex{font-size:1.16em}
.fq.laws .body>svg{width:250px;height:125px}
.kc .kb p.knote{margin:4px 0 10px}
.krows{margin-top:4px}
.kr{padding:9px 0}
.lab .t{font-size:15px;color:var(--body)}
.kr{grid-template-columns:150px minmax(0,1fr)}
.kv{min-width:0;overflow-x:auto}
.kv .katex{white-space:nowrap}
.kc .kf .katex-display{overflow-x:auto;overflow-y:hidden;padding-bottom:2px}
@media (max-width:640px){.kr{grid-template-columns:1fr;gap:4px}.kc{min-width:0}.key .grid>*{min-width:0}}
.kv{display:flex;flex-wrap:wrap;gap:6px 28px;align-items:center}
@media (max-width:640px){.fq.laws .body>svg{width:100%;height:auto}}
@media (max-width:640px){.fq.laws .body{grid-template-columns:1fr;gap:14px}}
/* text solution: a quiet link under the video, right side */
.prob .txt-row{justify-content:flex-end;margin:8px 0 0 38px}
.prob button.txt-b{font:500 14.5px var(--lf-ui);padding:0 0 1px;border:0;border-bottom:1px solid color-mix(in srgb,var(--accent) 35%,transparent);border-radius:0;background:transparent;color:var(--accent)}
.prob button.txt-b:hover{background:transparent;color:var(--accent);border-bottom-color:var(--accent)}
.prob button.txt-b .arr{font-size:11px;opacity:.8;margin-left:4px}

/* rows with an underbrace label (a labelled part of a formula) and the practice statement row */
.fq .f .row.ub{padding-bottom:22px}
.fq .f .row.ub.sm .katex{font-size:1.06em}
.prac .st > div{display:block}.prac .st > div > svg{display:block;margin:10px 0 0}   /* inline flow: a flex list put 10 px gaps between the math and its punctuation ("f(x) .", "2 , and"; intro-to-limits, 2026-09-04) */
.nb{white-space:nowrap}   /* inline math with its trailing punctuation: no break before the comma (a nowrap boundary let Chrome wrap ", and" to the next line at 390) */

/* a short note under one formula row inside a bare block */
.fq .f .rn{font-size:17.5px;color:var(--body);line-height:1.55;margin:14px 0 0}
.fq .f .rn+.row{margin-top:26px}

/* a bare block that opens a section: no top rule, it would double the section rule */
.sec + .fq{margin-top:26px;padding-top:0;border-top:0}

/* ── spacing pass: more air where the column ran tight ── */
.sec{margin-top:88px;padding-bottom:12px}
.p{margin-top:28px;line-height:1.68}
.fq{margin:34px 0 10px;padding:24px 0 26px}
.fq .lab{margin-bottom:16px}
.fq .f .row+.row{margin-top:18px}
.fq .say{margin-top:18px}
.sec + .fq{margin-top:34px}
.el{margin-top:40px}
.el .lab{margin-bottom:14px}
.ex{margin-top:44px}
.ex .lead{margin:0 0 12px}
.ex .st{margin:10px 0 18px}
.key{margin-top:96px;padding:30px 30px 32px}
.key .kt{margin-bottom:10px}
.key .ks{margin-bottom:22px}
.key .grid{gap:18px}
.kc{padding:18px 20px 18px}
.kc .kn{margin-bottom:10px}
.krows{margin-top:8px}
.kr{padding:12px 0}
.prac{margin-top:88px}
.prac .ph{margin:22px 0 8px}
.prob{padding:32px 0 12px}
.prob .ans{margin-top:18px}
.prob .hint{margin-top:16px}
.prob .sol{margin-top:20px}
.fq .f .rn{margin-top:16px}
.fq .f .rn+.row{margin-top:30px}

/* ── element rhythm: a label belongs to its element, elements stand apart ── */
.el .lab{margin-bottom:10px}
.ex .lead{margin:0 0 8px}
.ex .st{margin:8px 0 14px}
.el+.el,.el+.ex,.ex+.el,.ex+.ex{margin-top:76px}
.fq+.ex,.fq+.el{margin-top:48px}
.el+.p,.ex+.p{margin-top:40px}
/* a figure inside a problem statement (graph-reading problems, intro-to-limits page) */
.prob .st svg:not(.katex svg){display:block;width:100%;max-width:320px;height:auto;margin:10px 0 2px}
.prob .st .tag{margin-left:6px}
/* A displayed practice chain wraps at meaningful equalities or inequalities. */
.prob .math-chain{display:flex;flex-wrap:wrap;align-items:center;gap:10px 6px;margin:12px 0;max-width:100%}
.prob .math-part{max-width:100%;overflow-x:auto;padding-block:4px}
/* a toolkit row longer than the narrow column scrolls inside its own cell instead of clipping */
.kr .kv{overflow-x:auto;max-width:100%;padding-bottom:2px}

/* ── 2026-09-18: the lesson-page conventions settled on Center of Mass, for every lab lesson ──
   The film's controls are its bar. Key Idea is a callout. The two closing sections announce
   themselves. In practice, each action has one colour and everything it produces wears it.
   Selectors prefixed with .col so these win over lesson-theme.css and a lesson's page-local.css,
   which load later. */

/* the bar under a film is always there, so the poster's own play mark is one control too many */
.col .film.poster .play{display:none}

/* Key Idea: unmistakably not a paragraph */
.col .key-idea{--key-bg:color-mix(in srgb,var(--lc-action) 12%,var(--panel));--key-bar:var(--lc-action);--key-ink:var(--lc-action-ink);margin:30px 0 30px;padding:16px 22px 18px;border-left:4px solid var(--key-bar);border-radius:0 12px 12px 0;background:var(--key-bg)}
.col .key-idea strong{display:block;font:700 14px/1.3 var(--lf-label);letter-spacing:.01em;color:var(--key-ink);margin:0 0 8px}
.col .key-idea p{margin:0;font-size:17px;line-height:1.6;color:var(--body)}

/* one heavy rule across the column above Key concepts and above Practice, so the change of
   section is read before the heading is */
.col .key{position:relative;margin-top:140px}
.col .key::before{content:"";position:absolute;left:0;right:0;top:-46px;height:3px;background:color-mix(in srgb,var(--ink) 22%,transparent)}
.col .prac{border-top:3px solid color-mix(in srgb,var(--ink) 22%,transparent);padding-top:44px;margin-top:96px}
.col .prac .sec{margin-top:0}

/* practice: one row of actions, one answer area beneath, each in its action's colour */
.col .prob{--act-check:var(--accent);--act-hint:var(--lc-green);--act-explain:var(--lc-action)}
.col .prob .ans{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 0 38px}
.col .prob .ans>.verdict{order:10;flex-basis:100%;min-width:0;margin:2px 0 0}
.col .prob .ans button{font:500 15px/1 var(--lf-ui);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:38px;min-height:0;min-width:108px;padding:0 18px;border-radius:999px;border:1px solid transparent;cursor:pointer}
.col .prob .ans button.chk{background:color-mix(in srgb,var(--act-check) 13%,var(--panel));border-color:color-mix(in srgb,var(--act-check) 40%,transparent);color:var(--act-check)}
.col .prob .ans button.chk:hover{background:var(--act-check);border-color:var(--act-check);color:var(--lc-on-accent)}
/* Hint: green, its own colour beside the Key idea's pink (Sohil, 2026-10-03): a light green ground, green edge and words */
.col .prob .ans button.hint-b{background:color-mix(in srgb,var(--act-hint) 12%,transparent);border-color:var(--act-hint);color:var(--act-hint)}
.col .prob .ans button.hint-b:hover,.col .prob .ans button.hint-b[aria-expanded=true]{background:color-mix(in srgb,var(--act-hint) 22%,transparent)}   /* open or hovered: the same scheme, a deeper tint */
.col .prob .ans button.sol-b{background:var(--act-explain);border-color:var(--act-explain);color:var(--lc-on-accent);padding-left:16px;gap:8px}
.col .prob .ans button.sol-b::before{content:"";width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent var(--lc-on-accent)}
.col .prob .ans button.sol-b[aria-expanded=true]::before{display:none}
/* one panel shape: a bar on the left, a tint of the same colour behind, the controls' own face */
.col .prob .verdict.no,.col .prob .verdict.ok,.col .prob .hint.show,.col .prob .sol.show{box-sizing:border-box;padding:10px 14px;border:1px solid color-mix(in srgb,var(--act) 28%,transparent);border-left:3px solid var(--act);border-radius:0 10px 10px 0;background:color-mix(in srgb,var(--act) 14%,var(--panel));font:400 17.5px/1.6 var(--lf-solution);color:var(--body)}
.col .prob .verdict.no,.col .prob .verdict.ok{--act:var(--act-check);display:block;font-weight:400}
.col .prob .verdict:empty{display:none}
.col .prob .verdict.ok{color:var(--green)}
.col .prob .hint.show{--act:var(--act-hint);margin:12px 0 0;background:color-mix(in srgb,var(--act-hint) 10%,transparent);border-color:var(--act-hint);color:var(--act-hint)}
.col .prob .sol.show{--act:var(--act-explain);margin:14px 0 0 38px;padding:12px 14px 12px 16px}
/* the video draws its ink over the panel; a coloured ground dulls it in the dark */
:root[data-theme=dark] .col .prob .sol.show{background:color-mix(in srgb,var(--act-explain) 3%,var(--bg))}
.col .prob .sol>.film{margin:0}
.col .prob .sol>.filmbar{margin-bottom:0}
.col .prob .txt-row{justify-content:flex-start;margin:12px 0 0}
.col .prob button.txt-b{color:var(--act-explain);border-bottom-color:color-mix(in srgb,var(--act-explain) 45%,transparent)}
.col .prob button.txt-b:hover{color:var(--act-explain);border-bottom-color:var(--act-explain)}
.col .prob .txt{margin:12px 0 0;border-left:0;padding:0}
.col .prob .txt .ln{font:400 17.5px/1.6 var(--lf-solution);color:var(--body)}
/* a written solution's step: its heading on its own line, bold, then the sentence (Sohil, 2026-10-04: the heading ran
   into the sentence as one line). No answer box: the last expression isn't always the answer. */
.col .prob .txt .ln .step{display:block;font-weight:700;color:var(--ink);margin:0 0 2px}
.col .prob .verdict .katex,.col .prob .hint .katex,.col .prob .txt .ln .katex{font-size:1.12em}
@media(max-width:640px){.col .prob .ans,.col .prob .hint.show,.col .prob .sol.show{margin-left:0}}
/* a table in the page's words (49-03's practice two-way tables, 2026-11-12): palette rules, numbers centred as written;
   a table wider than a phone column scrolls inside its own box, never the page */
.mv-table{overflow-x:auto;margin:10px 0 12px;max-width:100%}
.mv-table table{border-collapse:collapse;font-size:15px;color:var(--ink);min-width:min(100%,420px)}
.mv-table th,.mv-table td{padding:6px 12px;border-bottom:1px solid var(--rule);white-space:nowrap}
.mv-table thead th{border-bottom:2px solid var(--axis);font-weight:600}
.mv-table tbody th{font-weight:600}
.mv-table tbody tr:last-child th,.mv-table tbody tr:last-child td{border-bottom:0}
@media (max-width:520px){.mv-table table{font-size:14px;min-width:0;width:100%}.mv-table th,.mv-table td{padding:6px 6px}.mv-table th{white-space:normal;hyphens:auto}.mv-table td{padding:6px 4px}}
