/* Use the same compact switch for visible boolean form controls. */
input[type="checkbox"]:not([name="module"]):not([data-choice-active]){
  box-sizing:border-box;
  position:relative;
  display:inline-block;
  width:38px;
  min-width:38px;
  max-width:38px;
  height:22px;
  min-height:22px;
  max-height:22px;
  flex:0 0 38px;
  margin:0;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  border:0;
  border-radius:999px;
  background:#dce2ec;
  box-shadow:none;
  vertical-align:middle;
  cursor:pointer;
  transition:background-color .16s ease;
}
input[type="checkbox"]:not([name="module"]):not([data-choice-active])::after{
  position:absolute;
  top:3px;
  left:3px;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 2px #1b2b4433;
  content:"";
  transition:transform .16s ease;
}
input[type="checkbox"]:not([name="module"]):not([data-choice-active]):checked{background:#4f6df3}
input[type="checkbox"]:not([name="module"]):not([data-choice-active]):checked::after{transform:translateX(16px)}
input[type="checkbox"]:not([name="module"]):not([data-choice-active]):focus-visible{outline:3px solid #4f6df366;outline-offset:3px}
input[type="checkbox"]:not([name="module"]):not([data-choice-active]):disabled{cursor:not-allowed;opacity:.55}
@media(prefers-reduced-motion:reduce){
  input[type="checkbox"]:not([name="module"]):not([data-choice-active]),
  input[type="checkbox"]:not([name="module"]):not([data-choice-active])::after{transition:none}
}
