@layer components{.bnh-switch{cursor:pointer;font-family:var(--bnh-font-sans,inherit);align-items:center;gap:10px;display:inline-flex;position:relative}.bnh-switch-input{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.bnh-switch-track{box-sizing:border-box;width:var(--bnh-switch-width,36px);height:var(--bnh-switch-height,20px);border:var(--bnh-switch-border-width,0px) solid var(--bnh-switch-border-color,var(--bnh-border-strong));border-radius:var(--bnh-radius-pill);background:var(--bnh-switch-inactive,var(--bnh-surface-2));box-shadow:var(--bnh-switch-shadow,none);flex-shrink:0;transition:background .15s;position:relative}.bnh-switch-track:after{content:"";box-sizing:border-box;top:var(--bnh-switch-inset,2px);left:var(--bnh-switch-inset,2px);width:var(--bnh-switch-thumb,16px);height:var(--bnh-switch-thumb,16px);border:var(--bnh-switch-border-width,0px) solid var(--bnh-switch-border-color,var(--bnh-border-strong));border-radius:max(0px, calc(var(--bnh-radius-pill) - var(--bnh-switch-inset,2px)));background-color:var(--bnh-switch-thumb-color,white);background-image:linear-gradient(var(--bnh-switch-grip,transparent), var(--bnh-switch-grip,transparent)), linear-gradient(var(--bnh-switch-grip,transparent), var(--bnh-switch-grip,transparent)), linear-gradient(var(--bnh-switch-grip,transparent), var(--bnh-switch-grip,transparent));box-shadow:var(--bnh-switch-thumb-shadow,0 1px 3px #0003);background-position:calc(50% - 4px),50%,calc(50% + 4px);background-repeat:no-repeat;background-size:2px 8px;transition:transform .15s;position:absolute}.bnh-switch-track:before{content:"";box-sizing:border-box;width:calc(var(--bnh-switch-thumb,16px) - 8px);height:calc(var(--bnh-switch-thumb,16px) - 8px);top:calc(50% - (var(--bnh-switch-thumb,16px) - 8px) / 2);left:calc((var(--bnh-switch-width,36px) - 2 * var(--bnh-switch-border-width,0px) + var(--bnh-switch-inset,2px) + var(--bnh-switch-thumb,16px)) / 2 - (var(--bnh-switch-thumb,16px) - 8px) / 2);border:2px solid var(--bnh-switch-mark-off,transparent);border-radius:50%;position:absolute}.bnh-switch-input:checked+.bnh-switch-track{background:var(--bnh-switch-active,var(--bnh-accent))}.bnh-switch-input:checked+.bnh-switch-track:after{transform:translateX(calc(var(--bnh-switch-width,36px) - 2 * var(--bnh-switch-border-width,0px) - var(--bnh-switch-thumb,16px) - 2 * var(--bnh-switch-inset,2px)))}.bnh-switch-input:checked+.bnh-switch-track:before{left:calc((var(--bnh-switch-width,36px) - 2 * var(--bnh-switch-border-width,0px) - var(--bnh-switch-thumb,16px) - var(--bnh-switch-inset,2px)) / 2 - 1px);background:var(--bnh-switch-mark-on,transparent);border:0;border-radius:0;width:2px}.bnh-switch-input:focus-visible+.bnh-switch-track{outline:var(--bnh-focus-ring-width) solid var(--bnh-focus-ring-color);outline-offset:3px}.bnh-switch-input:disabled~span{opacity:.5;cursor:not-allowed}.bnh-switch-copy{flex-direction:column;gap:2px;display:flex}.bnh-switch-label{color:var(--bnh-text);font-size:13px;font-weight:500;line-height:1.5}.bnh-switch-description{color:var(--bnh-text-dim);font-size:11.5px;line-height:1.45}@media (prefers-reduced-motion:reduce){.bnh-switch-track,.bnh-switch-track:after{transition:none}}}
