/* "Give it to someone" on a role's page (Administration::RoleHoldersComponent): the person chosen from the Directory's search, and the hints beside the finder. The search
   itself is PersonPickerComponent's (60-intake.css) and the form the form system's.

   * The chosen person: who it is, in a column of short lines, with the way to choose someone else under them. A refusal about them (they already hold it, or cannot)
     is said under their lines, with a bar at the block's start in the error color, as a group of fields has (36-form-fields.css), so it is never color alone.
   * The hints are quiet sentences, one reading measure wide.

   Tokens only and logical properties only, both enforced (test/styles/tokens_test.rb, test/styles/components_test.rb), so it reads in light and in dark and mirrors in a
   right-to-left language; everything that holds words may shrink and wrap (an address has no spaces to break at), so it reflows at 320 CSS px (WCAG 1.4.10). */

.role-holders__chosen {
  display: grid;
  gap: var(--space-1);
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.role-holders__chosen[data-invalid] {
  padding-inline-start: 0.85rem;
  border-inline-start: 3px solid var(--tone-bad-fg);
}

.role-holders__chosen-label,
.role-holders__chosen-name,
.role-holders__again,
.role-holders__hint {
  margin-block: 0;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.role-holders__chosen-label {
  color: var(--fg2);
  font-size: var(--text-sm);
}

.role-holders__chosen-name {
  font-weight: 650;
}

.role-holders__again {
  margin-block-start: var(--space-2);
}

.role-holders__hint {
  max-inline-size: 72ch;
  margin-block-start: var(--space-3);
  color: var(--fg2);
}
