.leads-phase{overflow:hidden}.leads-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:18px 20px;border-bottom:1px solid var(--line,#e8ebf1)}.leads-filters>label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted,#68738a)}.leads-filters input,.leads-filters select{min-height:42px;min-width:150px;border:1px solid var(--line,#dfe4ed);border-radius:9px;padding:8px 11px;background:#fff;color:var(--ink,#26334a);font:inherit}.leads-filters label:first-child{flex:1 1 270px}.leads-filters label:first-child input{width:100%}.leads-filter-actions{display:flex;gap:8px;flex-wrap:wrap}.leads-feedback{padding:14px 20px;color:var(--muted,#778196);font-size:13px}.leads-error{display:block;color:#b42318;margin-top:5px}.leads-table-wrap{overflow:auto}.leads-table{border-collapse:collapse;width:100%;min-width:720px}.leads-table th{text-align:left;padding:12px 16px;color:var(--muted,#7a8498);font-size:10px;letter-spacing:.08em;border-bottom:1px solid var(--line,#e8ebf1)}.leads-table td{padding:15px 16px;border-bottom:1px solid var(--line,#eff1f5);font-size:13px;color:var(--ink,#26334a)}.leads-table tr:last-child td{border-bottom:0}.leads-table td:first-child{min-width:200px}.leads-table td:first-child small{display:block;color:var(--muted,#8a93a4);margin-top:4px}.leads-title{border:0;padding:0;background:none;color:var(--ink,#25334b);font:inherit;font-weight:700;text-align:left;cursor:pointer}.leads-title:hover{color:var(--blue,#4668d8);text-decoration:underline}.lead-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#eaf2ff;color:#3659b7}.lead-badge.archived{background:#f1f2f5;color:#646d7d}.lead-badge.converted{background:#e6f6ed;color:#247247}.leads-pages{display:flex;align-items:center;justify-content:center;gap:18px;padding:14px;border-top:1px solid var(--line,#e8ebf1);font-size:13px;color:var(--muted,#778196)}.leads-pages:empty{display:none}.leads-pages button{border:1px solid var(--line,#dfe4ed);background:white;border-radius:8px;padding:8px 12px;color:inherit;cursor:pointer}.leads-pages button:disabled{opacity:.45}.leads-empty{text-align:center;padding:54px 20px 62px}.leads-empty-mark{display:grid;place-items:center;margin:0 auto 14px;width:48px;height:48px;border-radius:15px;background:#eef2ff;color:#506bd0;font-size:24px}.leads-empty h2{font-size:18px;margin:0 0 8px;color:var(--ink,#26334a)}.leads-empty p{max-width:430px;margin:0 auto 18px;color:var(--muted,#778196);line-height:1.55}.leads-dialog-host:empty{display:none}.leads-scrim{position:fixed;z-index:1200;inset:0;background:#15213a70;display:grid;place-items:center;padding:20px}.leads-dialog{width:min(560px,100%);max-height:min(90vh,850px);overflow:auto;background:white;border-radius:16px;box-shadow:0 24px 70px #15213a40;padding:24px;color:var(--ink,#26334a);outline:none}.leads-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid var(--line,#e8ebf1);padding-bottom:17px;margin-bottom:18px}.leads-dialog header h2{font-size:21px;margin:3px 0 0}.leads-dialog header button{border:0;background:none;font-size:25px;color:var(--muted,#778196);cursor:pointer}.leads-dialog .eyebrow{margin:0;font-size:10px;letter-spacing:.12em;color:var(--muted,#778196);font-weight:800}.lead-form,.lead-review{display:grid;gap:14px}.lead-form label,.lead-review label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted,#68738a)}.lead-form input,.lead-form select,.lead-form textarea,.lead-review input,.lead-review select{width:100%;min-height:42px;border:1px solid var(--line,#dfe4ed);border-radius:9px;padding:9px 11px;font:inherit;color:var(--ink,#26334a);background:white}.lead-form textarea{resize:vertical}.lead-form-row{display:grid;grid-template-columns:1fr 130px;gap:12px}.lead-form footer,.lead-detail footer,.lead-review footer{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:5px}.lead-form-error,.lead-detail-error{color:#b42318;font-size:13px;margin:0}.lead-detail-value{font-size:23px;font-weight:750;margin:12px 0}.lead-detail dl,.lead-review dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:9px 12px;font-size:13px;margin:16px 0}.lead-detail dt,.lead-review dt{color:var(--muted,#778196)}.lead-detail dd,.lead-review dd{margin:0;font-weight:600;overflow-wrap:anywhere}.lead-detail h3{font-size:13px;margin:18px 0 7px}.lead-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;color:#4d596d;margin:0}.lead-conversion-note{padding:12px;border-radius:9px;background:#f2f6ff;color:#455d96;font-size:13px;line-height:1.5}.lead-review>p:first-child{margin:0;color:var(--muted,#68738a);line-height:1.5;font-size:13px}.lead-review [data-confirm]:disabled{opacity:.65;cursor:wait}@media(max-width:650px){.leads-filters{padding:14px;display:grid;grid-template-columns:1fr 1fr}.leads-filters label:first-child{grid-column:1/-1}.leads-filters label:first-child input{min-width:0}.leads-filters>label select{min-width:0;width:100%}.leads-filter-actions{grid-column:1/-1}.leads-filter-actions button{flex:1}.leads-table-wrap{overflow-x:auto}.leads-table{min-width:680px}.leads-dialog{padding:18px}.leads-scrim{padding:10px}.lead-form-row{grid-template-columns:minmax(0,1fr) 110px}.lead-detail dl,.lead-review dl{grid-template-columns:100px minmax(0,1fr)}}@media(prefers-reduced-motion:no-preference){.leads-table tbody tr{animation:leads-row-in .16s ease-out}@keyframes leads-row-in{from{opacity:.72}to{opacity:1}}}

/* Keep horizontally scrollable source tables inside the page on narrow screens. */
.leads-phase{min-width:0;max-width:100%}
.leads-table-wrap{max-width:100%;min-width:0}
.leads-title,.leads-table td{overflow-wrap:anywhere}
.leads-dialog>header>div{min-width:0}
.leads-dialog header h2{overflow-wrap:anywhere}
.leads-dialog [disabled]{cursor:wait;opacity:.65}
.leads-phase button:focus-visible,.leads-phase input:focus-visible,.leads-phase select:focus-visible,.leads-phase textarea:focus-visible{outline:3px solid #89a4f5;outline-offset:2px}
