/* ConductReferralQueueComponent (packs/conduct/app/components/conduct_referral_queue_component.rb): the conduct referrals that wait, as the kernel's entry list draws them (an entry for each referral:
   the student, its state and, when there are any, a badge for the possible duplicates), with the duplicates as a plain list under the entry. The list sits inside the entry's body, so it takes the
   entry's width and wraps with it.

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

.conduct-referral-queue {
  display: grid;
  gap: var(--density-gap);
  min-inline-size: 0;
}

.conduct-referral-queue__title {
  margin-block: 0;
}

.conduct-referral-queue__lede {
  margin-block: 0;
  color: var(--fg2);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.conduct-referral-queue__note {
  margin-block: 0 var(--space-1);
  color: var(--fg2);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}

.conduct-referral-queue__duplicates {
  display: grid;
  gap: var(--space-1);
  margin-block: 0;
  padding-inline-start: var(--space-4);
  min-inline-size: 0;
}

.conduct-referral-queue__duplicate {
  overflow-wrap: anywhere;
}

.conduct-referral-queue__case {
  margin-inline-start: var(--space-2);
}
