/* Power, Sum, and Constant Rules: this page's layout. Its colours are the course palette's (../lib/lesson-colors.css, through
   ../alive/lesson-look.css); planning/colour.md says which meaning takes which role, and katex-macros.json maps the page's
   macros to the palette classes: \ep pink (the exponent that comes down), \cf green (the number in front), \fn orange (the
   function and its heights), \slp blue (a slope), \mv violet (the two small moves of term-by-term work).
   \ik (lc-ink) sets the x under a pink root sign back to the page's ink. */
.fq .f .w,.fq .say,figcaption,.el>.lab .t,.lab .t,.kc .knote,.hint,.feedback-copy{color:var(--body)!important}
figcaption{font-style:normal!important}
.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}
.sol .ln+.ln{margin-top:14px}

/* The rule, the result the whole lesson uses: centred and a little larger in its card, the one card on the page that is a
   formula to keep rather than a step */
:root[data-alive-ui] body main.col .look-card.pr-rule .math-chain{justify-content:center}
:root[data-alive-ui] body main.col .look-card.pr-rule .katex{font-size:1.3em}
/* a reminder row (x⁻ⁿ = 1/xⁿ, ⁿ√(xᵐ) = x^(m/n), xᵃ·xᵇ = x^(a+b)) is set apart from the case it serves by space */
:root[data-alive-ui] body main.col .look-card .row.pr-then{margin-top:20px}
/* a chain too long for a phone: its wide break, and a narrower break of the same chain under 640 px */
:root[data-alive-ui] body main.col .pr-narrow{display:none}
@media (max-width:640px){
  :root[data-alive-ui] body main.col .pr-wide{display:none}
  :root[data-alive-ui] body main.col .pr-narrow{display:block}
  /* the difference quotient of f + g is one fraction wider than a phone at full size: set a little smaller there */
  :root[data-alive-ui] body main.col .look-card .row.pr-fit .katex{font-size:.86em}
}
/* practice: answer fields in one row, each one line ("f′(8) = [  ]") */
:root[data-alive-ui] body main.col .prob .answer-fields{display:flex;flex-wrap:wrap;gap:12px 26px}
:root[data-alive-ui] body main.col .prob .answer-fields input.wide{width:260px}
