/* Native checkboxes and radios should keep their control size inside the shared input rule. */
input[type="checkbox"],
input[type="radio"] {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0;
  margin: 0.25rem 0 0;
  flex: 0 0 auto;
  border-radius: 4px;
  accent-color: var(--blue);
}

/* Labels that own a choice keep the text beside the control and wrap at the content edge. */
label:has(> input) {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.6;
}

label:has(> input) > input {
  flex: 0 0 auto;
}

.checks label {
  align-items: flex-start;
}
