/* TG1 2026-10-29 — one clear toggle style app-wide: ON = green track + "On", OFF = grey track + "Off". */
.switch:not(:has(.knob)) input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:50px!important;height:24px!important;min-width:50px;border-radius:999px!important;background:#c9ccd8!important;border:1px solid #b3b7c6!important;position:relative!important;cursor:pointer;transition:background .2s,border-color .2s;box-shadow:none!important;opacity:1!important}
.switch:not(:has(.knob)) input[type=checkbox]::after{content:""!important;position:absolute!important;top:2px!important;left:2px!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.3)!important;transition:transform .2s!important;transform:none}
.switch:not(:has(.knob)) input[type=checkbox]::before{content:"Off";position:absolute;right:6px;top:0;line-height:22px;font:800 9px/22px Inter,system-ui,sans-serif;letter-spacing:.04em;color:#3d4256;text-transform:uppercase}
.switch:not(:has(.knob)) input[type=checkbox]:checked{background:#12a150!important;border-color:#0f8a44!important}
.switch:not(:has(.knob)) input[type=checkbox]:checked::after{transform:translateX(26px)!important}
.switch:not(:has(.knob)) input[type=checkbox]:checked::before{content:"On";left:8px;right:auto;color:#fff}
.switch input[type=checkbox]:disabled,.switch:has(input:disabled) .knob{opacity:.5;cursor:not-allowed}
.switch input[type=checkbox]:focus-visible{outline:2px solid #B8945A!important;outline-offset:2px}
.switch .knob{width:50px!important;flex:0 0 50px!important;height:24px!important;background:#c9ccd8!important;border:1px solid #b3b7c6;box-sizing:border-box}
.switch .knob::after{top:2px!important;left:2px!important;width:18px!important;height:18px!important}
.switch .knob::before{content:"Off";position:absolute;right:6px;top:0;font:800 9px/22px Inter,system-ui,sans-serif;letter-spacing:.04em;color:#3d4256;text-transform:uppercase}
.switch input:checked+.knob{background:#12a150!important;border-color:#0f8a44}
.switch input:checked+.knob::after{transform:translateX(26px)!important}
.switch input:checked+.knob::before{content:"On";left:8px;right:auto;color:#fff}
.es-sw[role=switch]{width:52px!important;height:26px!important;background:#c9ccd8!important;border:1px solid #b3b7c6!important}
.es-sw[role=switch]::before{content:"Off";position:absolute;right:7px;top:0;font:800 9px/24px Inter,system-ui,sans-serif;color:#3d4256;text-transform:uppercase}
.es-sw[role=switch][aria-checked=true]{background:#12a150!important;border-color:#0f8a44!important}
.es-sw[role=switch][aria-checked=true]::before{content:"On";left:8px;right:auto;color:#fff}
.es-sw[role=switch][aria-checked=true]::after{left:28px!important}
.tgl:not(.on){background:#c9ccd8!important}.tgl.on{background:#12a150!important}
[data-theme=dark] .switch:not(:has(.knob)) input[type=checkbox]:not(:checked),[data-theme=dark] .switch input:not(:checked)+.knob,[data-theme=dark] .es-sw[role=switch]:not([aria-checked=true]),.dark .switch:not(:has(.knob)) input[type=checkbox]:not(:checked),.dark .switch input:not(:checked)+.knob{background:#4a4f66!important;border-color:#5d627a!important}
[data-theme=dark] .switch:not(:has(.knob)) input[type=checkbox]:not(:checked)::before,[data-theme=dark] .switch input:not(:checked)+.knob::before,[data-theme=dark] .es-sw[role=switch]:not([aria-checked=true])::before,.dark .switch input:not(:checked)+.knob::before,.dark .switch:not(:has(.knob)) input[type=checkbox]:not(:checked)::before{color:#e6e8f2}
.switch:has(.swl) .knob::before{content:none!important}
.tgl{position:relative}.tgl::before{content:"Off";position:absolute;right:8px;top:50%;transform:translateY(-50%);font:800 9px/1 Inter,system-ui,sans-serif;letter-spacing:.04em;color:#3d4256;text-transform:uppercase;pointer-events:none}.tgl.on::before{content:"On";left:6px;right:auto;color:#fff}[data-theme=dark] .tgl:not(.on),.dark .tgl:not(.on){background:#4a4f66!important}[data-theme=dark] .tgl:not(.on)::before,.dark .tgl:not(.on)::before{color:#e6e8f2}
