.Switch{align-items:center;gap:8px;display:flex}.Switch .Label{color:var(--text-color);line-height:1}:is(.Switch:has(.sm) .Label,.Switch:has(.xs) .Label){font-size:var(--text-mini)}:is(.Switch:has(.lg) .Label,.Switch:has(.md) .Label,.Switch:has(.xl) .Label){font-size:var(--text-small)}.SwitchRoot{background-color:var(--bg-secondary);border-radius:9999px;position:relative}.SwitchRoot:after{content:"";width:max(100%,24px);height:max(100%,24px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.SwitchRoot.xs{width:24px;height:14px}.SwitchRoot.xs .SwitchThumb{width:10px;height:10px}.SwitchRoot.xs .SwitchThumb[data-state=checked]{transform:translate(12px)}.SwitchRoot.sm{width:28px;height:16px}.SwitchRoot.sm .SwitchThumb{width:12px;height:12px}.SwitchRoot.sm .SwitchThumb[data-state=checked]{transform:translate(14px)}.SwitchRoot.md{width:34px;height:20px}.SwitchRoot.md .SwitchThumb{width:16px;height:16px}.SwitchRoot.md .SwitchThumb[data-state=checked]{transform:translate(16px)}.SwitchRoot.lg{width:42px;height:24px}.SwitchRoot.lg .SwitchThumb{width:20px;height:20px}.SwitchRoot.lg .SwitchThumb[data-state=checked]{transform:translate(20px)}.SwitchRoot.xl{width:50px;height:28px}.SwitchRoot.xl .SwitchThumb{width:24px;height:24px}.SwitchRoot.xl .SwitchThumb[data-state=checked]{transform:translate(24px)}.SwitchRoot.default[data-state=checked]{background-color:var(--text-secondary)}.SwitchRoot.accent[data-state=checked]{background-color:var(--accent)}.SwitchThumb{background-color:var(--bg-color);will-change:transform;border-radius:9999px;transition:transform .1s;display:block;transform:translate(2px)}
