/* Native checkbox/radio sizing: feature-specific styles keep precedence. */
input[type="checkbox"]:where(:not(.sms-switch)),input[type="radio"]:where(:not(.smrv-stars input)) {
  width:1.125rem; height:1.125rem; min-width:1.125rem; max-width:1.125rem;
  min-height:0; padding:0; margin:0 .35rem 0 0; flex:0 0 1.125rem;
  display:inline-block; vertical-align:-.18em; accent-color:var(--blue,#2449ea);
  cursor:pointer;
}
:where(label:has(> input[type="checkbox"]:not(.sms-switch)),label:has(> input[type="radio"]):not(.smrv-stars label)) {
  display:flex; align-items:flex-start; gap:.55rem; max-width:100%; cursor:pointer; line-height:1.5;
}
:where(label:has(> input[type="checkbox"]:not(.sms-switch)),label:has(> input[type="radio"]):not(.smrv-stars label)) > :where(input[type="checkbox"],input[type="radio"]) {margin:.13rem 0 0;}
:where(input[type="checkbox"],input[type="radio"]):focus-visible {outline:2px solid #2449ea;outline-offset:3px}
/* Administrative confirmations: no full-width input, keep the action directly below. */
form[action^="/admin/manage/"] > p:has(> label > input[type="checkbox"][name="confirm"]) {margin:1rem 0 .65rem}
form[action^="/admin/manage/"] label:has(> input[type="checkbox"][name="confirm"]),#sm-test-data .sms-test-form label:has(> input[type="checkbox"][name="confirm"]) {
 display:flex;align-items:flex-start;justify-content:flex-start;gap:.65rem;max-width:100%;padding:0;margin:0;line-height:1.5;
}
form[action^="/admin/manage/"] label > input[type="checkbox"][name="confirm"],#sm-test-data .sms-test-form label > input[type="checkbox"][name="confirm"] {
 width:1.125rem;min-width:1.125rem;max-width:1.125rem;height:1.125rem;min-height:1.125rem;flex:0 0 1.125rem;padding:0;margin:.12rem 0 0;appearance:auto;-webkit-appearance:auto;
}
form[action^="/admin/manage/"] > button[type="submit"],#sm-test-data .sms-test-form > button[type="submit"] {display:block;width:fit-content;max-width:100%;margin:.65rem 0 0;white-space:normal;text-align:left}
button.sm-form-confirm-gated:disabled {opacity:.55;cursor:not-allowed;box-shadow:none}
@media(max-width:420px){form[action^="/admin/manage/"] > button[type="submit"],#sm-test-data .sms-test-form > button[type="submit"]{max-width:100%;white-space:normal}}
