/* Probability: page layout. No colours here: every colour is the course palette's (../lib/lesson-colors.css). */
/* A long chain reads two moves to a line on a wide screen and one move to a line, flush left, on a phone, so nothing
   scrolls sideways or breaks mid-expression. 720 px rather than the pair's 640: under it the card is too narrow for
   two moves. */
:root[data-alive-ui] body main.col .pr-narrow{display:none}
@media (max-width:720px){
  :root[data-alive-ui] body main.col .pr-wide{display:none}
  :root[data-alive-ui] body main.col .pr-narrow{display:block}
}
/* A lone equation the section comes back to (the height f(1/2), the area formula): set large and quiet like a goal
   row, and like one not a lamp block. */
:root[data-alive-ui] body main.col .pr-eq{width:fit-content;max-width:100%;margin:22px auto 26px}
:root[data-alive-ui] body main.col .pr-eq .math-chain{margin:0;justify-content:center}
:root[data-alive-ui] body main.col .pr-eq .katex{font-size:1.15em}
/* the three questions of the exponential, each kept whole, side by side where they fit */
:root[data-alive-ui] body main.col .pr-asks{display:flex;flex-wrap:wrap;gap:4px 30px;align-items:center}
:root[data-alive-ui] body main.col .pr-asks .math-chain{margin:0;flex-wrap:nowrap}
/* Key concepts: the strip figure is drawn 360 wide; the shared .8fr column would draw it at 72% with its labels */
@media (min-width:641px){:root[data-alive-ui] body main.col .look-kgrid .look-kpair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
:root[data-alive-ui] body main.col .look-krows .row+.row{margin-top:10px}
:root[data-alive-ui] body main.col .look-krows .math-chain{margin:0}
/* Every figure here is a graph drawn 360 wide with 16 to 17 px labels; the shared .9fr column (made for small triangles)
   drew them at 73%. Even columns keep them near their own size, and the rows beside them still fit. */
@media (min-width:641px){:root[data-alive-ui] body main.col .look-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 22px}}
/* an answer's label stays on one line above its box */
:root[data-alive-ui] body main.col .prob .answer-fields label .katex{white-space:nowrap}
