/* CHECKBOX / RADIO rows. The reset zeroes only what the UA adds; the group
 * KEEPS the field rhythm below it, and since this rule is later in source it
 * must restate it. */
.sk-choice-list {
  margin: 0 0 var(--kit-space-3);
  padding: 0;
  border: 0;
  min-width: 0;
}
.sk-choice-list > legend {
  padding: 0;
}
.sk-choice-list .sk-check + .sk-check {
  margin-top: var(--kit-space-2);
}
/* COLUMNS — a group lays its rows out 2 or 3 across; the row rhythm becomes
 * the grid's gap, and everything that is not a row (the banner, the hint)
 * spans it. The legend is the fieldset's, never a grid item. Keyed on the ON
 * values: "1" is the resting default and must keep the stacked rhythm. One
 * column again on a phone, at the form grid's own rung. Subjects here are the
 * family's own (a head sheet naming `.sk-field-error` would ship this sheet
 * to every field part), so the non-row children are reached by exclusion. */
.sk-choice-list:is([data-sk-columns="2"], [data-sk-columns="3"]) {
  display: grid;
  gap: var(--kit-space-2) var(--kit-space-3);
}
.sk-choice-list[data-sk-columns="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sk-choice-list[data-sk-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sk-choice-list:is([data-sk-columns="2"], [data-sk-columns="3"]) .sk-check + .sk-check {
  margin-top: 0;
}
/* The gap is their rhythm; the hint's own flow margin would add to it. The
 * banner keeps the field part's open-state margin over the gap. */
.sk-choice-list:is([data-sk-columns="2"], [data-sk-columns="3"]) > :not(.sk-check) {
  grid-column: 1 / -1;
  margin-top: 0;
}
@media (max-width: 560px) {
  .sk-choice-list:is([data-sk-columns="2"], [data-sk-columns="3"]) {
    grid-template-columns: 1fr;
  }
}
.sk-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  cursor: pointer;
}
.sk-check-input {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  margin: 0.2em 0 0;
  accent-color: var(--sk-accent);
  /* The native box sits tight to its label, so the ring pulls in. */
  --sk-focus-ring-offset: 1px;
}
