/* TicketingPrinterNetworksComponent (packs/ticketing/app/components/ticketing_printer_networks_component.rb): the page's sections one under another, and in
   each list one card per network, as many to a row as fit at 18rem and one to a row on a phone. A card's lines wrap anywhere, so a long note or an address
   never widens the page.

   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). */

.printer-networks {
  display: grid;
  gap: var(--space-5);
  min-inline-size: 0;
}

.printer-networks__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-3);
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.printer-networks__line {
  margin-block: 0;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.printer-networks__quiet {
  color: var(--fg2);
  font-size: var(--text-sm);
}

.printer-networks__remove {
  display: inline;
  margin: 0;
}
