/* ==========================================================================
   What a server-rendered port needs that the React bundle did not.

   Two differences, both structural rather than visual: every state is in the
   page instead of being mounted when it applies, and a thing that navigates
   is a link rather than a button with an onClick.
   ========================================================================== */

/*
 * There, a screen that did not apply was simply not mounted. Here it is
 * rendered and carries `hidden`, so a component rule such as `display:grid`
 * would quietly beat the browser's own `[hidden] { display: none }` and show
 * every state at once.
 */
[hidden] { display: none !important; }

/*
 * The live-test invitation goes to its own page, so it is an anchor. In the
 * mobile menu that makes it match `.mnav a`, which lays its children out in
 * a column; the pill has to keep its own row.
 */
.mnav .try { display: inline-flex; }

/*
 * `.pairbox` and `.qrbox` are grids whose children the bundle rendered
 * directly. Here each pairing stage is in the page at once, wrapped so one
 * can be hidden, and the wrapper has to lay its children out the way the
 * box itself would.
 */
.pairbox > [data-pair-stage] {
  display: grid;
  gap: 18px;
  justify-items: stretch;
  width: 100%;
}
