/* Keep native slider switches independent of selection checkboxes. */
label:has(> input[type=checkbox]:not([role=switch], .switch input, [hidden])) {
  min-height:44px;
  cursor:pointer;
}
input[type=checkbox]:not([role=switch], .switch input, [hidden]) {
  appearance:none;
  box-sizing:border-box;
  display:inline-grid;
  vertical-align:middle;
  place-content:center;
  flex:none;
  width:24px;
  height:24px;
  min-height:24px;
  margin:0;
  padding:0;
  border:2px solid #b595a4;
  border-radius:7px;
  background:#221923;
  box-shadow:inset 0 1px 2px #0006;
  cursor:inherit;
}
input[type=checkbox]:not([role=switch], .switch input, [hidden]):checked {
  background:#ffa2b2;
  background:color-mix(in srgb,var(--decor-accent,#ff657d) 50%,white);
  border-color:transparent;
  box-shadow:inset 0 1px 0 #ffffff60,0 1px 3px #0004;
}
input[type=checkbox]:not([role=switch], .switch input, [hidden]):checked::after {
  content:"";
  width:6px;
  height:12px;
  box-sizing:content-box;
  border:solid #20121b;
  border-width:0 3px 3px 0;
  transform:translateY(-2px) rotate(45deg);
}
label:hover > input[type=checkbox]:not([role=switch], .switch input, [hidden]):enabled {border-color:#f8dbe5}
input[type=checkbox]:not([role=switch], .switch input, [hidden]):focus-visible {outline:3px solid #fff;outline-offset:3px}
label:has(> input[type=checkbox]:not([role=switch], .switch input, [hidden]):disabled) {cursor:not-allowed}
input[type=checkbox]:not([role=switch], .switch input, [hidden]):disabled {opacity:.56;box-shadow:none}
@media (forced-colors:active) {
  input[type=checkbox]:not([role=switch], .switch input, [hidden]) {appearance:auto;display:inline-block}
  input[type=checkbox]:not([role=switch], .switch input, [hidden]):checked::after {content:none}
  input[type=checkbox]:not([role=switch], .switch input, [hidden]):disabled {opacity:1}
  input[type=checkbox]:not([role=switch], .switch input, [hidden]):focus-visible {outline-color:Highlight}
}
