/* StandingChoiceComponent (app/components/standing_choice_component.rb): a sentence, then the two standings as equal options, each a card with its title, one sentence of what that
   session reads, and its button, side by side when there is room and stacked on a phone, then the note that the choice is asked again at every sign-in.

   The page's header (standings/show.html.erb) is the visible title, so the question that names this section is a screen reader's alone (`.sr-only`), and the sentence and the note are the page's own
   two kinds of plain text (`.page-intro`, `.page-note`, 41-page-structure.css). The room is the space scale's (`--space-*`, 10-globals.css): a card is padded a card's amount, and the parts of the
   page are a section's distance apart. The choice is held to a sheet's measure (60rem) so two options are not stretched across a wide screen.

   Tokens only and logical properties only, both enforced (test/styles/tokens_test.rb, test/styles/components_test.rb), so it reads on the light shell and the console, in light and in dark, and
   mirrors in a right-to-left language. Nothing pinned to an edge, no height in vh, and everything that holds words may shrink and wrap, so a language 40% longer never widens the page (WCAG 1.4.10). */

.standing-choice {
  display: grid;
  gap: var(--space-5);
  max-inline-size: 60rem;
  min-inline-size: 0;
}

.standing-choice__form {
  margin-block: 0;
}

.standing-choice__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-4);
  margin-block: 0;
  padding-inline-start: 0;
  list-style: none;
}

.standing-choice__option {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  min-inline-size: 0;
  padding-block: var(--space-5);
  padding-inline: var(--space-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

/* The option's name is a card's title, not a second page title: the display face at a section's size. */
.standing-choice__option-title {
  margin-block: 0;
  font-size: var(--text-lg);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.standing-choice__option-hint {
  margin-block: 0;
  color: var(--fg2);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.standing-choice__option .btn {
  justify-self: start;
  max-inline-size: 100%;
  white-space: normal;
}
