/* Keep checkboxes out of the full-width text input layout. */
body input:is([type="checkbox"], [type="radio"]) {
  appearance: none;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
}
body input:is([type="checkbox"], [type="radio"]):checked {
  border-color: #a3c824;
  background: #c9f538 url('/brand/symbol-dark.svg') center / 12px no-repeat;
}
body input:is([type="checkbox"], [type="radio"]):focus-visible {
  outline: 2px solid var(--primary, #4f6600);
  outline-offset: 3px;
}
body input:is([type="checkbox"], [type="radio"]):disabled { opacity: .5; cursor: default; }
@media (forced-colors: active) {
  body input:is([type="checkbox"], [type="radio"]) { appearance: auto; }
}

body input[type="radio"] { border-radius: 50%; }
