/* ===========================================================================
   HOW IT WORKS. Layout only: where the headline, the board's buttons, the
   detail's last line and the Hunch columns sit. The board, the flow and its
   cards are parts (chrome/parts.css).
   =========================================================================== */
#how .how-head{margin:8px 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:8px; flex-wrap:wrap; margin-top:20px}
.how-bar .pill{align-self:auto}

/* the detail's last line: NEXT on the left, Hunch's prompt files on the right */
.how-foot{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:14px; min-height:24px}
.how-files{display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; margin-left:auto}
.how-prompt{margin-top:12px}
.how-prompt .cap{display:block; margin-bottom:6px}

/* PROMPTS & NORMS, Hunch only: three columns of groups */
.how-shelves{margin-top:16px}
.how-cols{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:var(--g) 16px; margin-top:16px}
.how-col{display:flex; flex-direction:column; gap:var(--g); min-width:0}
.how-rows{display:grid; gap:6px; margin-top:10px}

@media (max-width:560px){
  .how-cols{grid-template-columns:1fr}
}
