/* The Multivariable review pages' own blocks (tools/multivar-films/pages.mjs copies this into each page). Palette colours only
   (../lib/lesson-colors.css); everything else follows the text colour. */
:root[data-alive-ui] body main.col .mv-list { margin: .4em 0 1em; padding-left: 1.3em; }
:root[data-alive-ui] body main.col .mv-list li { margin: .35em 0; }
:root[data-alive-ui] body main.col .mv-list .math-chain { margin: .3em 0; }
/* a figure still to be drawn: what it will show, in a dashed box where it will go */
:root[data-alive-ui] body main.col .mv-fig { margin: 1em 0; padding: .8em 1em; border: 1.5px dashed color-mix(in srgb, currentColor 30%, transparent); border-radius: 10px; font-size: .95em; }
:root[data-alive-ui] body main.col .mv-tag { display: block; font: 600 11px/1.4 Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-orange); margin-bottom: .3em; }
/* a card's written plan, under its placeholder */
:root[data-alive-ui] body main.col .mv-plan > summary { color: var(--lc-orange); }
:root[data-alive-ui] body main.col .mv-plan .mv-plan-h { font: 600 13px/1.4 Inter, system-ui, sans-serif; margin: 1em 0 .3em; }
/* a formula KaTeX couldn't render as written: its source, until it's fixed (the page's REVIEW-NOTES.md lists each) */
:root[data-alive-ui] body main.col .mv-tex-src { font-size: .9em; padding: 0 .25em; border-radius: 4px; background: color-mix(in srgb, var(--lc-orange) 14%, transparent); }
:root[data-alive-ui] body main.col .mv-key > .p { margin-bottom: .8em; }
:root[data-alive-ui] body main.col .mv-sub { font: 600 17px/1.35 Inter, system-ui, sans-serif; margin: 1.4em 0 .4em; }
/* On a phone, a formula wider than the column scrolls inside its own box rather than pushing the page sideways (the book's
   assembly step will lay the maths out for 390 px; these review pages show it as written). */
:root[data-alive-ui] body main.col .math-chain { max-width: 100%; overflow-x: auto; overflow-y: hidden; }
:root[data-alive-ui] body main.col .nb { white-space: normal; }
:root[data-alive-ui] body main.col :is(p, .ln, li, .st > div, .knote, .lab, .row) { max-width: 100%; overflow-x: auto; overflow-y: hidden; }
/* Practice statements: long inline maths wraps at its operators on a phone, as it does in the page text, instead of running
   past the statement's box (derivatives-lib/page-local.css keeps .st .katex on one line, for the short statements of its pages). */
:root[data-alive-ui] body main.col .st .katex { white-space: normal; }
/* A 3D figure sits centred in its frame, as a flat SVG does (each lesson used to wrap its own), and dragging it never
   selects its labels' text instead of turning it (lib/orbit.mjs listens on the figure; a label is a foreignObject in it). */
:root[data-alive-ui] body main.col .fig3d { width: fit-content; max-width: 100%; margin-inline: auto; }
:root[data-alive-ui] body main.col .fig3d foreignObject, :root[data-alive-ui] body main.col .fig3d foreignObject * { -webkit-user-select: none; user-select: none; }
