/* Shared checkbox treatment. Native inputs retain keyboard and form behavior. */
:is(label.check, label.lead-import-option, label.lead-auto-sync,
    label:not([class]):has(> input[type="checkbox"]):not(.label-pick label)) {
  display:flex; flex-direction:row; align-items:flex-start; gap:12px;
  min-height:46px; box-sizing:border-box; padding:12px 14px; margin:0 0 10px;
  border:1px solid var(--line,#e5e7eb); border-radius:12px;
  background:var(--card,#fff); color:var(--text,#1f2430);
  font-size:14px; font-weight:500; line-height:1.7; text-align:start;
  overflow-wrap:anywhere; cursor:pointer;
}
:is(label.check, label.lead-import-option, label.lead-auto-sync,
    label:not([class]):has(> input[type="checkbox"]):not(.label-pick label)) > input[type="checkbox"],
.secret-clear > input[type="checkbox"],
:is(td,th) > input[type="checkbox"], input.chk[type="checkbox"] {
  appearance:auto; -webkit-appearance:checkbox; position:static; opacity:1;
  flex:0 0 20px; width:20px; min-width:20px; height:20px; min-height:20px;
  padding:0; margin:2px 0 0; box-sizing:border-box;
  accent-color:var(--blue,#6262ac); cursor:pointer; vertical-align:middle;
}
label.check > :is(span,div) { min-width:0; }
:is(label.check,label.lead-import-option,label.lead-auto-sync):has(> input:checked) {
  border-color:var(--blue,#6262ac); color:var(--text,#1f2430); background:var(--card,#fff);
}
:is(label.check,label.lead-import-option,label.lead-auto-sync):has(> input:focus-visible) {
  outline:2px solid var(--blue,#6262ac); outline-offset:3px;
}
:is(label.check,label.lead-import-option,label.lead-auto-sync):has(> input:disabled) { opacity:.6; cursor:not-allowed; }
.secret-clear { display:inline-flex; align-items:center; gap:8px; min-height:36px; line-height:1.6; }
:is(td,th) > input[type="checkbox"], input.chk[type="checkbox"] { margin:0; }
:is(td,th).chk-col { min-width:44px; text-align:center; }
.form > label.switch:not(.sm):not(.pf-active) { padding:12px 14px; min-height:46px; box-sizing:border-box; border:1px solid var(--line,#e5e7eb); border-radius:12px; background:var(--card,#fff); line-height:1.7; }
label.switch:has(> input:disabled), label.security-toggle:has(> input:disabled) { opacity:.6; cursor:not-allowed; }
@media(hover:hover) { label.check:not(:has(> input:disabled)):hover { border-color:var(--blue,#6262ac); } }
@media(max-width:480px) { label.check { padding:11px 12px; font-size:13px; } }
