/* Answer choices on the question steps: whole-tile targets, with the radio dots and ticks drawn to the brand.
   Scoped to the question steps so the staff area keeps its plain controls. */
.page--step .choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s2); margin-top: var(--s4); }
.page--step .choices legend { margin-bottom: var(--s2); }
.page--step .choices--pills { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.choice-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s2); margin-top: var(--s3); }
.choice-group .choice--check { margin-top: 0; }

.page--step .choice {
  position: relative; align-items: center; gap: var(--s3); min-height: 52px;
  padding: var(--s2) var(--s3); background: var(--white); font-weight: 500;
}
.page--step .choice:hover { border-color: var(--charcoal); }
.page--step .choice:has(input:checked) { background: var(--blue-tint); }

.page--step .choice input {
  appearance: none; flex: none; display: grid; place-content: center; width: 22px; height: 22px; margin: 0; padding: 0;
  background: var(--white); border: 2px solid var(--charcoal); cursor: pointer;
}
.page--step .choice input[type="radio"] { border-radius: 50%; }
.page--step .choice input[type="checkbox"] { border-radius: var(--r-control); }
.page--step .choice input:checked { background: var(--charcoal); }
.page--step .choice input[type="radio"]:checked { box-shadow: inset 0 0 0 4px var(--white); }
.page--step .choice input[type="checkbox"]:checked::after {
  content: ""; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px);
}
.page--step .choice input:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.choice-group:not(:has(.choice)) { display: none; }
