/* Native checkbox state and validation remain the source of truth. */
input[type="checkbox"][role="switch"]{-webkit-appearance:none;appearance:none;position:relative;display:inline-block;box-sizing:border-box;flex:0 0 50px;width:50px;max-width:50px;min-width:50px;height:30px;min-height:30px;margin:0;padding:0;border:1px solid #737373;border-radius:999px;background:#d1d1d6;vertical-align:middle;cursor:pointer;outline-offset:4px}
input[type="checkbox"][role="switch"]::before{content:"";position:absolute;box-sizing:border-box;left:2px;top:2px;width:24px;height:24px;border:1px solid #b8b8bd;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transform:translateX(0);pointer-events:none}
input[type="checkbox"][role="switch"]:checked{background:#248a3d;border-color:#248a3d}
input[type="checkbox"][role="switch"]:checked::before{transform:translateX(20px);border-color:#fff}
input[type="checkbox"][role="switch"]:focus-visible{outline:2px solid #005fcc}
input[type="checkbox"][role="switch"]:disabled{opacity:.55;cursor:not-allowed}
label:has(> input[type="checkbox"][role="switch"]){display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.checkbox-group:has(input[role="switch"]){min-height:44px;gap:10px}
span[data-paid-controls]:has(> input[role="switch"]){display:inline-flex!important;align-items:center;min-height:44px;flex-shrink:0}
@media(prefers-reduced-motion:no-preference){input[type="checkbox"][role="switch"]:not(:disabled){transition:background-color 150ms ease,border-color 150ms ease}input[type="checkbox"][role="switch"]:not(:disabled)::before{transition:transform 150ms ease}}
@media(forced-colors:active){input[type="checkbox"][role="switch"]{forced-color-adjust:none;background:Canvas;border-color:CanvasText}input[type="checkbox"][role="switch"]::before{background:CanvasText;border-color:CanvasText;box-shadow:none}input[type="checkbox"][role="switch"]:checked{background:Highlight;border-color:Highlight}input[type="checkbox"][role="switch"]:checked::before{background:HighlightText;border-color:HighlightText}}
