/* rb switch: native checkbox with role="switch" (keyboard, forms and screen readers work unchanged). */
/* The panel layout styles every checkbox (fixed 16 px, check mark on :checked); input.rb-switch outranks those rules. */
.rb-switch,input.rb-switch[type="checkbox"]{appearance:none;-webkit-appearance:none;position:relative;flex:none;display:inline-block;box-sizing:border-box;width:46px!important;height:26px!important;max-height:26px;padding:0!important;margin:0!important;float:none;min-width:46px!important;max-width:46px!important;min-height:0!important;box-shadow:none;font-size:16px;border:0;border-radius:999px;background:var(--rb-surface-muted,#e2e2e2);cursor:pointer;vertical-align:middle;transition:background-color 140ms ease}
.rb-switch::before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--rb-surface,#fff);box-shadow:0 1px 3px rgba(23,23,23,.25);transition:transform 160ms ease}
.rb-switch:checked,input.rb-switch[type="checkbox"]:checked{background:var(--rb-text,#171717);border:0}
.rb-switch:checked::before{transform:translateX(20px)}
.rb-switch:focus-visible{outline:2px solid var(--rb-focus,#171717);outline-offset:3px}
.rb-switch:disabled{opacity:.45;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.rb-switch,.rb-switch::before{transition:none}}
@media (forced-colors:active){.rb-switch{appearance:auto;-webkit-appearance:auto;width:auto;height:auto;background:none}.rb-switch::before{display:none}}
