/* 04.60.0 — additive native UI. Preserves all accepted Settings and Leads styles. */
.sw-main.cf-mode>.sw-scroll,.sw-main.cf-mode>.sw-empty-state{display:none!important}
.cf-settings{padding:22px 24px 44px;overflow:auto;flex:1;min-height:0;color:var(--text,#142a24)}
.cf-settings .cf-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-radius:20px;background:linear-gradient(115deg,#e8f6ef,#f4f8ff);border:1px solid #cce5dc;margin-bottom:18px}
.cf-kicker{font-size:.68rem;letter-spacing:.12em;font-weight:800;color:#338572}
.cf-intro h2{margin:4px 0 7px;font-size:1.4rem;color:#174d40}.cf-intro p{margin:0;line-height:1.5;max-width:650px;color:#46695f}
.cf-settings button,.cf-lead button{cursor:pointer}.cf-settings button:disabled,.cf-lead button:disabled{cursor:not-allowed;opacity:.5}
.cf-settings .primary-button,.cf-lead .primary-button{background:#147f6d;color:white;border:1px solid #126a5b;border-radius:11px;padding:11px 15px;font-weight:750}
.cf-settings .cf-list{border:1px solid var(--border,#dce7e2);border-radius:18px;background:var(--surface,#fff);overflow:hidden}
.cf-list>header{display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--surface-muted,#f5f9f7);padding:16px 19px;border-bottom:1px solid var(--border,#e0e8e4);flex-wrap:wrap}
.cf-list>header span{margin-left:auto;color:var(--text-muted,#70817a);font-size:.85rem}
.cf-list button,.cf-row-actions button,.cf-form button:not(.primary-button),.cf-lead button:not(.primary-button){border:1px solid var(--border,#d4e0dc);background:var(--surface,#fff);border-radius:9px;padding:7px 10px;color:inherit;font-weight:600}
.cf-row{display:flex;align-items:center;gap:14px;padding:15px 18px;border-bottom:1px solid var(--border,#edf1ef)}.cf-row:last-child{border-bottom:0}.cf-row.cf-inactive{opacity:.67}
.cf-number{display:grid;place-items:center;background:#eff7f4;color:#178372;border-radius:9px;min-width:34px;height:34px;font-weight:800;font-size:.8rem}
.cf-row-main{flex:1;min-width:170px}.cf-row-main strong{display:block}.cf-row-main span{display:block;font-size:.8rem;color:var(--text-muted,#6b7f76);margin-top:3px}.cf-row-main p{margin:4px 0 0;font-size:.84rem;color:var(--text-muted,#6b7f76)}.cf-row-main code{font-size:.78rem}
.cf-pill{font-size:.73rem;border-radius:100px;background:#e0f5eb;color:#147a57;padding:5px 9px}.cf-inactive .cf-pill{background:#eff1f3;color:#67747c}
.cf-row-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.cf-form{border:1px solid #c9ddd5;background:var(--surface,#fff);border-radius:18px;margin-top:19px;padding:22px}.cf-form>p{color:var(--text-muted,#6b7f76)}.cf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.cf-form label,.cf-value-form label{display:grid;gap:6px;font-size:.85rem;font-weight:650}
.cf-form input:not([type="checkbox"]),.cf-form select,.cf-form textarea,.cf-value-form input,.cf-value-form select{width:100%;max-width:100%;border:1px solid var(--border,#cbdad4);border-radius:10px;padding:10px;background:var(--surface,#fff);color:inherit;font:inherit}
.cf-form textarea{resize:vertical}.cf-toggles,.cf-form-actions{display:flex;align-items:center;gap:16px;margin-top:17px;flex-wrap:wrap}.cf-toggles label{display:flex;gap:8px;align-items:center}.cf-footer{font-size:.8rem;color:var(--text-muted,#6b7f76);margin-top:18px;line-height:1.5}
.cf-note{background:#e8f8ee;border-radius:10px;color:#206e48;padding:10px 13px}.cf-error{background:#fff0ed;color:#a33d2d;padding:12px 14px;border-radius:10px;line-height:1.5}.cf-empty,.cf-muted{color:var(--text-muted,#647a71);font-size:.86rem;line-height:1.5}.cf-empty{padding:18px}
.cf-readonly{font-size:.85rem;color:#6b7b74}
.cf-lead{margin-top:22px;padding:18px;border:1px solid var(--border,#dce5df);background:var(--surface,#fff);border-radius:16px}
.cf-lead>header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid var(--border,#edf1ee);padding-bottom:12px;margin-bottom:9px}.cf-lead h3{margin:3px 0 5px;font-size:1.05rem}.cf-lead header p{color:var(--text-muted,#6b7f76);font-size:.79rem;line-height:1.4;margin:0}
.cf-lead-row{padding:11px 0;border-bottom:1px solid var(--border,#edf1ee);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.cf-lead-row:last-child{border-bottom:0}.cf-lead-title{min-width:160px;flex:1}.cf-lead-title strong{display:block;font-size:.84rem}.cf-lead-title span,.cf-lead-title small{display:block;margin-top:3px;font-size:.85rem;color:var(--text-muted,#677b70);overflow-wrap:anywhere}.cf-lead-title sup{font-size:.6rem;color:#aa6942}
.cf-lead-actions{display:flex;gap:6px;align-items:flex-start}.cf-value-form{width:100%;margin-top:9px;display:grid;gap:10px;padding:12px;background:var(--surface-muted,#f5f8f7);border-radius:11px}.cf-value-form>div{display:flex;align-items:center;gap:7px}
.sw-nav button[data-value="crm_fields"]{border-left:3px solid transparent}.sw-nav button[data-value="crm_fields"].active{border-left-color:#179984}
[data-theme="dark"] .cf-settings .cf-intro,.dark .cf-settings .cf-intro{background:linear-gradient(110deg,#193a31,#202f43);border-color:#38564a}
[data-theme="dark"] .cf-intro h2,.dark .cf-intro h2{color:#b7f0dd}
[data-theme="dark"] .cf-intro p,.dark .cf-intro p{color:#c2d7ce}
[data-theme="dark"] .cf-number,.dark .cf-number{background:#1a3d35;color:#84e6ca}
@media(max-width:760px){.cf-settings{padding:14px}.cf-settings .cf-intro,.cf-row{flex-wrap:wrap}.cf-form-grid{grid-template-columns:1fr}.cf-row-actions{width:100%;justify-content:flex-start}.cf-lead{padding:12px}}
