/* One track and one thumb, isolated from legacy checkbox pseudo-elements. */
body:has(#app#app#app#app.owner-workspace) label.tapo-switch{position:relative!important;display:flex!important;align-items:center!important;min-height:44px!important;box-sizing:border-box!important;padding-inline-end:64px!important;gap:12px;cursor:pointer;font-size:13px;font-weight:500}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input[type=checkbox]{position:absolute!important;inset:auto 0 auto auto!important;top:50%!important;transform:translateY(-50%)!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:24px!important;min-height:24px!important;max-height:24px!important;margin:0!important;padding:0!important;opacity:0!important;z-index:2!important;cursor:pointer;appearance:none!important;border:0!important;box-shadow:none!important}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input[type=checkbox]::before,body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input[type=checkbox]::after{content:none!important;display:none!important}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>.tapo-switch-track{position:absolute!important;inset:auto 0 auto auto!important;top:50%!important;transform:translateY(-50%)!important;display:block!important;box-sizing:border-box!important;width:42px!important;height:24px!important;min-width:42px!important;min-height:24px!important;max-width:42px!important;max-height:24px!important;padding:0!important;margin:0!important;border:0!important;border-radius:99px!important;background:#b8bbc0!important;box-shadow:none!important;pointer-events:none!important;transition:background-color .16s}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch .tapo-switch-thumb{position:absolute!important;top:3px!important;left:3px!important;display:block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 2px #0002!important;transform:translateX(0)!important;transition:transform .16s}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input:checked+.tapo-switch-track{background:var(--tapo-success,#137347)!important}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input:checked+.tapo-switch-track .tapo-switch-thumb{transform:translateX(18px)!important}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input:focus-visible+.tapo-switch-track{outline:2px solid #a13d28!important;outline-offset:3px!important}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>input:disabled+.tapo-switch-track{opacity:.45;cursor:default}
body:has(#app#app#app#app.owner-workspace) label.tapo-switch>.receipt-switch-track{display:none!important}
@media(prefers-reduced-motion:reduce){body:has(#app#app#app#app.owner-workspace) .tapo-switch-track,body:has(#app#app#app#app.owner-workspace) .tapo-switch-thumb{transition:none!important}}
