/* ===========================================================================
   HOW IT WORKS. Layout only: where the headline, the board's buttons and a
   card's detail sit. The board, the flow and its cards are parts
   (chrome/parts.css).
   =========================================================================== */
#how .how-head{margin:var(--s2) 0 var(--g)}

/* under the diagram: SEE THE DETAIL (or CLOSE) on the left, the other side
   on the right. Nothing above it changes height, so it stays put. */
.how-bar{display:flex; justify-content:space-between; align-items:center; gap:var(--s2); flex-wrap:wrap; margin-top:var(--s5)}
.how-bar .pill{align-self:auto}

/* a card's detail: what, why, how on the left; its prompt files down the
   right, from the top. The file that's open reads under both, full width. */
.how-detail{display:grid; grid-template-columns:minmax(0, 1fr) minmax(220px, 300px); gap:var(--g); align-items:start}
.how-foot{margin-top:var(--s4)}
.how-files{display:flex; flex-direction:column; gap:var(--s2)}
.how-prompt{margin-top:var(--s4)}
.how-prompt .cap{display:block; margin-bottom:var(--s2)}

@media (max-width:560px){
  .how-detail{grid-template-columns:minmax(0, 1fr); gap:var(--s4)}
}
