/* Separable Differential Equations: page layout. No colours here: every colour is the course palette's (../lib/lesson-colors.css).
   Colour meanings (planning/colour.md), as KaTeX macros in katex-macros.json: \yp pink, the y side (y, dy, every
   expression in y alone, a value put in for y); \xp blue, the x side; \cn green, the constant (C, 2C, e^C, A and every
   value it takes); \shf orange, the shifted curve e^{x²/2} + C that isn't a solution; \sol violet, a drawn solution
   curve (figures, films, cards). dy/dx as one symbol, routine arithmetic and answers stay ink. */

/* Section 5: the three algebra moves that make an equation separable, each named over its column. The names are words,
   not maths, so they keep their case (the shared head style would set "dy/dx" in capitals). */
:root[data-alive-ui] body main.col .sep-moves .look-head.sep-move{font:500 16.5px/1.3 'STIX Two Text',Georgia,serif;letter-spacing:0;text-transform:none;color:var(--ink)}
:root[data-alive-ui] body main.col .sep-moves .look-cell{align-items:center}

/* a problem's statement row above its own derivation, in one card */
:root[data-alive-ui] body main.col .look-card .row.sep-gap{margin-top:18px}

/* practice 9 (c): f(x) and its interval, the interval's two ends as two short fields around "< x <" */
:root[data-alive-ui] body main.col .sep-iv{display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap}
:root[data-alive-ui] body main.col .answer-fields:has(.sep-iv){display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
:root[data-alive-ui] body main.col .answer-fields .sep-iv input{width:5.5em!important;min-width:0!important}
:root[data-alive-ui] body main.col .sep-iv .katex{white-space:nowrap}
:root[data-alive-ui] body main.col .sep-part{margin:6px 0 4px}

/* solution steps: a step's name reads as a heading in ink, and steps are spaced apart */
:root[data-alive-ui] body main.col .sol .ln .step{display:block;font:500 17px/1.4 'STIX Two Text',Georgia,serif;letter-spacing:0;text-transform:none;color:var(--ink);margin:0 0 2px}
:root[data-alive-ui] body main.col .sol .ln+.ln{margin-top:14px}

/* Key concept 1: each verdict's name above its equations, so the equations take the card's full width */
:root[data-alive-ui] body main.col .look-krows.sep-kstack .kr{display:block}
:root[data-alive-ui] body main.col .look-krows.sep-kstack .kr+.kr{margin-top:12px}
:root[data-alive-ui] body main.col .look-krows.sep-kstack .kh{display:block;margin:0 0 6px}
:root[data-alive-ui] body main.col .look-krows.sep-kstack .kv{width:auto;max-width:none}

:root[data-alive-ui] body main.col .look-krows.sep-kstack .kr{border:0!important;padding:0!important}

/* a card's rows sit in the middle of the card: a derivation is a narrow column of steps, and set against the left edge
   it left most of a wide card empty */
:root[data-alive-ui] body main.col .look-card .row .math-chain{justify-content:center}
:root[data-alive-ui] body main.col .look-card .row>.katex-display,:root[data-alive-ui] body main.col .look-card .row{text-align:center}

/* section 5's poster: the four equations two by two on a wide screen, one under another on a phone */
:root[data-alive-ui] body main.col .sheet-math.sep-n{display:none}
@media (max-width:640px){
  :root[data-alive-ui] body main.col .sheet-math.sep-w{display:none}
  :root[data-alive-ui] body main.col .sheet-math.sep-n{display:block}
  /* a slope field standing alone keeps its labels readable on a phone: less card around it, more figure */
  :root[data-alive-ui] body main.col>section>figure.diagram{padding:12px 6px}
}
