/* Binary settings keep their native input and existing form behavior. */
input.sf-switch[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;position:relative!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:24px!important;margin:0 6px 0 0!important;padding:0!important;border:2px solid #78847e!important;border-radius:999px!important;background:#e4e9e6!important;vertical-align:middle;cursor:pointer;box-shadow:none!important;flex:0 0 40px!important}
input.sf-switch[type=checkbox]::before{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#56635a;transition:transform .14s ease}
input.sf-switch[type=checkbox]:checked{background:#326647!important;border-color:#326647!important}
input.sf-switch[type=checkbox]:checked::before{background:white;transform:translateX(16px)}
.sf-switch-state{display:inline-block;min-width:25px;font-size:.8rem;font-weight:700;color:#364b40;margin-right:7px}
.sf-switch-state::before{content:"Uit"}input.sf-switch:checked+.sf-switch-state::before{content:"Aan"}
input.sf-switch:focus-visible,.sf-switch-button:focus-visible{outline:3px solid #956822!important;outline-offset:4px}
input.sf-switch:disabled{opacity:.45;cursor:not-allowed}
.sf-switch-button{display:inline-flex;align-items:center;gap:6px;min-height:32px;border:1px solid #abbcb1;border-radius:9px;padding:4px 7px;background:white;color:#263e30;cursor:pointer}
.sf-switch-track{width:42px;height:24px;border-radius:99px;background:#d4ddd6;position:relative}
.sf-switch-track::after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;background:#56635a;border-radius:50%}
.sf-switch-button[aria-checked=true] .sf-switch-track{background:#326647}.sf-switch-button[aria-checked=true] .sf-switch-track::after{background:#fff;left:21px}
.sf-switch-button:disabled{opacity:.5;cursor:wait}
.tf-class-controls{margin-bottom:14px}.tf-class-switches{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:8px}.tf-class-switches>div{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:7px 10px;border:1px solid #dce6df;border-radius:9px}.tf-class-switches small{grid-column:1/-1;color:#53685a}
.tf-bool{padding:8px 10px;background:#f7faf8;border:1px solid #dce6df;border-radius:9px;display:flex;align-items:center;gap:5px;min-height:44px}.tf-bool label{flex:1;display:flex;flex-direction:row;align-items:center;gap:4px;margin:0!important;font-size:13px}.tf-bool .btn{font-size:17px;min-height:28px;padding:2px 7px;margin-left:auto}.tf-bool .btn[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){input.sf-switch::before{transition:none}}
label:has(>input.sf-switch){display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:6px}
label:has(>input.sf-switch)>.sf-switch-state{flex:0 0 auto}
