button.anydem-switch {
    --anydem-switch-off: #596270;
    --anydem-switch-on: #79cdf5;
    --anydem-switch-thumb: #ffffff;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    min-width: 44px;
    width: auto;
    padding: 8px 10px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
}
button.anydem-switch:hover,
button.anydem-switch:active {
    background: transparent;
    color: inherit;
    box-shadow: none;
}
button.anydem-switch:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
button.anydem-switch:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.anydem-switch .anydem-switch__track {
    display: inline-block;
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 28px;
    border-radius: 99px;
    background: var(--anydem-switch-off);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 14%);
    transition: background-color .18s ease;
}
.anydem-switch .anydem-switch__thumb {
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--anydem-switch-thumb);
    box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
    transform: translateX(0);
    transition: transform .18s ease;
}
.anydem-switch[aria-checked="true"] .anydem-switch__track { background: var(--anydem-switch-on); }
.anydem-switch[aria-checked="true"] .anydem-switch__thumb { transform: translateX(20px); }
.anydem-switch .anydem-switch__off,
.anydem-switch .anydem-switch__on { font-weight: 400; }
.anydem-switch[aria-checked="false"] .anydem-switch__off,
.anydem-switch[aria-checked="true"] .anydem-switch__on { font-weight: 700; }
.anydem-switch__notice { display: inline-block; font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
    .anydem-switch .anydem-switch__track,
    .anydem-switch .anydem-switch__thumb { transition: none; }
}
