.clustr-switch{--sw-off:color-mix(in srgb, hsl(var(--foreground)) 20%, hsl(var(--background)));--sw-off-hover:color-mix(in srgb, hsl(var(--foreground)) 30%, hsl(var(--background)));--sw-on:hsl(var(--primary));--sw-on-hover:color-mix(in srgb, hsl(var(--primary)) 85%, hsl(var(--foreground)));background-color:var(--sw-off);cursor:pointer;border:0;border-radius:9999px;flex-shrink:0;width:30px;height:20px;margin:0;padding:0;transition:background-color .15s ease-out,opacity .15s ease-out;display:inline-flex;position:relative}.clustr-switch[data-state=checked]{background-color:var(--sw-on)}.clustr-switch:not(:disabled):hover{background-color:var(--sw-off-hover)}.clustr-switch[data-state=checked]:not(:disabled):hover{background-color:var(--sw-on-hover)}.clustr-switch:disabled{opacity:.5;cursor:not-allowed}.clustr-switch:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.clustr-switch-thumb{pointer-events:none;background-color:#fff;border-radius:7px;height:14px;transition:left .1s ease-out 50ms,right .1s ease-out;position:absolute;top:50%;left:3px;right:13px;transform:translateY(-50%)}.clustr-switch-thumb[data-state=checked]{transition-delay:0s,50ms;left:13px;right:3px}.clustr-switch:not(:disabled):hover .clustr-switch-thumb[data-state=unchecked]{right:11px}.clustr-switch:not(:disabled):hover .clustr-switch-thumb[data-state=checked]{left:11px}@media (prefers-reduced-motion:reduce){.clustr-switch,.clustr-switch-thumb{transition:none}}
