/* Keep role indicators circular and put keyboard focus around the whole label. */
:root .role-option {
  min-height: 48px;
}
:root .role-option input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow: none;
  outline: none;
}
:root .role-option input[type="radio"]:checked {
  border-color: var(--brand);
  background-image: radial-gradient(
    circle,
    var(--brand) 0 4px,
    var(--surface-raised) 4.5px
  );
}
:root .role-option:has(input[type="radio"]:checked) {
  border-color: var(--brand) !important;
  background: var(--tint);
}
:root .role-option:has(input[type="radio"]:focus-visible) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
@media (forced-colors: active) {
  :root .role-option input[type="radio"] {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}
