.switch{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}label.switch input[type=checkbox]{appearance:none;box-sizing:border-box;background:var(--surface-3);cursor:pointer;border:0;border-radius:999px;flex:none;width:38px;min-width:38px;height:22px;margin:0;transition:background .15s;position:relative}label.switch input[type=checkbox]:after{content:"";background:var(--fg);border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:3px;left:3px}label.switch input[type=checkbox]:checked{background:var(--p-fill)}label.switch input[type=checkbox]:checked:after{background:var(--on-p);transform:translate(16px)}label.switch input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}
