/* RadioGroup (built here): a fieldset of RadioChoice cards under one legend and one helper or error line. The cards stack
   on a phone (the shell's breakpoint) and sit in two columns on a wider screen; refused, they take the error border. Tokens only. */
.wi-radio-group {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-family-sans);
}
.wi-radio-group__legend {
  margin-bottom: var(--space-1);
  padding: 0;
}
.wi-radio-group__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}
@media (max-width: 767.98px) {
  .wi-radio-group__options {
    grid-template-columns: minmax(0, 1fr);
  }
}
.wi-radio-group--error .wi-radio-choice {
  border-color: var(--feedback-error-border);
}
.wi-radio-group--error .wi-radio-choice:has(.wi-radio-choice__input:focus-visible) {
  box-shadow: var(--focus-ring-danger);
}
