/* Native checked values preserve saved preferences, focus, and keyboard behavior. */
.owner-switch-label{align-items:center!important;cursor:pointer;min-height:44px;gap:18px!important}
.owner-switch-label>span:last-child{min-width:0}
.owner-switch-control{position:relative;display:inline-flex;align-items:center;flex:0 0 84px;width:84px;min-height:44px;gap:8px}
.owner-switch-label .owner-switch-control input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.owner-switch-track{position:relative;display:block;flex:0 0 50px;width:50px;height:28px;border:1px solid #aaa5ad;border-radius:999px;background:#d9d5dd;transition:background .16s,border-color .16s}
.owner-switch-track::before{content:"";position:absolute;left:3px;top:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #211f1b33;transition:transform .16s}
.owner-switch-state{color:var(--muted);font-size:12px;font-weight:750;min-width:24px}
.owner-switch-state::after{content:"Off"}
.owner-switch-control input:checked~.owner-switch-track{background:var(--purple);border-color:var(--purple)}
.owner-switch-control input:checked~.owner-switch-track::before{transform:translateX(20px)}
.owner-switch-control input:checked~.owner-switch-state{color:var(--purple)}
.owner-switch-control input:checked~.owner-switch-state::after{content:"On"}
.owner-switch-control input:focus-visible~.owner-switch-track{outline:3px solid var(--purple);outline-offset:3px}
.owner-switch-control input:disabled{cursor:not-allowed}
.owner-switch-control input:disabled~span{opacity:.5}
@media(prefers-reduced-motion:reduce){.owner-switch-track,.owner-switch-track::before{transition:none}}
