:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f5f7;color:#172033}*{box-sizing:border-box}body{margin:0;background:#f4f5f7}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{min-height:100vh;display:flex;flex-direction:column;background:#f4f5f7}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 18% -35%,rgba(65,116,255,.34),transparent 31%),linear-gradient(135deg,#121826,#182235 56%,#263451)}.login-card{width:min(420px,100%);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:24px;background:#fffffff5;box-shadow:0 22px 60px #0f172a42}.login-brand{align-items:flex-start;color:#172033}.login-brand .brand-text p{color:#667085}.login-button{margin-top:22px;width:100%;min-height:42px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:#2563eb;color:#fff;text-decoration:none;font-weight:740}.login-button:hover{background:#1d4ed8}.login-error,.login-muted{margin:22px 0 0;color:#667085;font-size:14px}.login-error{color:#b42318}.topbar{color:#fff;background:radial-gradient(circle at 18% -35%,rgba(65,116,255,.42),transparent 31%),linear-gradient(135deg,#121826,#182235 56%,#263451);box-shadow:0 14px 34px #0f172a33}.topbar-inner{width:min(1320px,100%);margin:0 auto;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#2f6df6,#7c3aed);box-shadow:inset 0 1px #ffffff42,0 12px 26px #2f6df647;font-weight:800;letter-spacing:0}.brand-text h1{margin:0;font-size:19px;line-height:1.12;font-weight:760;letter-spacing:0}.brand-text p{margin:4px 0 0;color:#ffffffa8;font-size:12px}.topbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.count-pill,.source-note{border:1px solid rgba(255,255,255,.16);background:#ffffff17;color:#ffffffdb;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700;white-space:nowrap}.source-note.error{color:#fecaca;border-color:#f8717147}.count-pill.light{color:#475569;background:#f8fafc;border-color:#e2e7ef}.source-sel{min-width:210px;max-width:320px;border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:9px 34px 9px 12px;color:#fff;background:#0f172a57;outline:none}.source-sel option{color:#172033;background:#fff}.page{width:min(1320px,100%);margin:0 auto;padding:24px 28px 64px;display:flex;flex-direction:column;gap:18px}.ba{background:#fff;border:1px solid #e2e7ef;border-radius:8px;box-shadow:0 14px 34px #0f172a0f;overflow:hidden}.ba-head{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #eef2f7}.ba-title{margin:0;color:#111827;font-size:14px;font-weight:780;letter-spacing:0}.ba-sub{margin:3px 0 0;color:#64748b;font-size:12px}.ba-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.ba-card{position:relative;border:0;border-right:1px solid #eef2f7;border-bottom:1px solid #eef2f7;background:#fff;padding:15px 16px 14px;text-align:left;transition:background-color .15s ease,transform .15s ease}.ba-card:hover{background:#f8fbff}.ba-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rank{width:22px;height:22px;border-radius:999px;display:grid;place-items:center;color:#1d4ed8;background:#dbeafe;font-size:11px;font-weight:800;flex:0 0 auto}.ba-company{min-width:0;display:flex;align-items:flex-start;gap:9px}.co{margin:0;color:#111827;font-size:14px;font-weight:760;line-height:1.2}.loc,.muted{color:#64748b}.loc{margin:3px 0 0;font-size:12px}.act{margin:12px 0 0;min-height:38px;color:#334155;font-size:12px;line-height:1.45}.ba-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}.score{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#ecfdf5;color:#047857;font-size:11px;font-weight:750}.chip,.sig-chip{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:4px 8px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:680;line-height:1.15}.sig-chip{background:#eef6ff;color:#1d4ed8}.controls{display:grid;gap:12px;padding:14px;background:#fff;border:1px solid #e2e7ef;border-radius:8px;box-shadow:0 12px 28px #0f172a0d}.searchbar{position:relative}.searchbar svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#94a3b8;pointer-events:none}.search-input{width:100%;height:40px;border:1px solid #dbe2ea;border-radius:8px;background:#f8fafc;color:#172033;padding:0 12px 0 36px;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.search-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f621}.filter-panel{display:grid;gap:8px}.control-label{color:#64748b;font-size:11px;font-weight:780;text-transform:uppercase;letter-spacing:0}.seg,.pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.seg-btn,.pill{min-height:32px;border:1px solid #dbe2ea;border-radius:999px;padding:6px 10px;color:#475569;background:#fff;font-size:12px;font-weight:730;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.seg-btn:hover,.pill:hover{background:#f8fafc}.seg-btn.active,.pill.active{color:#fff;background:#111827;border-color:#111827}.seg-count{margin-left:5px;opacity:.68}.pill.active.status-overdue{background:#dc2626;border-color:#dc2626}.pill.active.status-due-today{background:#ea580c;border-color:#ea580c}.pill.active.status-on-track{background:#2563eb;border-color:#2563eb}.pill.active.status-to-be-contacted{background:#059669;border-color:#059669}.pill.active.status-research-needed{background:#ca8a04;border-color:#ca8a04}.pill.active.status-off-grid{background:#475569;border-color:#475569}.tablewrap{overflow-x:auto;background:#fff;border:1px solid #e2e7ef;border-radius:8px;box-shadow:0 14px 34px #0f172a0f}table.leads{width:100%;min-width:1040px;table-layout:fixed;border-collapse:collapse;color:#172033;font-size:13px}.leads thead{background:#f8fafc;border-bottom:1px solid #e2e7ef}.leads th{padding:12px;color:#64748b;font-size:11px;font-weight:800;text-align:left;text-transform:uppercase;letter-spacing:0;white-space:nowrap}.leads th:nth-child(1),.leads td:nth-child(1){width:28px}.leads th:nth-child(2),.leads td:nth-child(2){width:20%}.leads th:nth-child(3),.leads td:nth-child(3){width:17%}.leads th:nth-child(4),.leads td:nth-child(4){width:13%}.leads th:nth-child(5),.leads td:nth-child(5){width:11%}.leads th:nth-child(6),.leads td:nth-child(6){width:9%}.leads th:nth-child(7),.leads td:nth-child(7){width:27%}.leads th:nth-child(8),.leads td:nth-child(8){width:24px}.leads td{padding:13px 12px;border-bottom:1px solid #eef2f7;vertical-align:middle}.lead-row{cursor:pointer;transition:background-color .15s ease}.lead-row:hover{background:#f8fbff}.lead-row.is-positive{background:#f4fbf7}.signal-cell{width:26px;padding-right:4px!important}.signal-stack{display:flex;flex-direction:column;align-items:center;gap:4px}.signal-dot{width:7px;height:7px;border-radius:999px;display:block}.signal-dot.red{background:#ef4444}.signal-dot.orange{background:#f97316}.signal-dot.yellow{background:#eab308}.company-line{display:flex;align-items:center;min-width:0;width:100%}.company-name{color:#111827;font-weight:790;line-height:1.2;white-space:normal;overflow-wrap:anywhere;word-break:normal}.company-name.truncate-one{overflow:visible;text-overflow:clip;white-space:normal}.company-meta,.muted-cell{margin-top:2px;color:#64748b;font-size:12px}.contact-cell{max-width:220px}.sort-head{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:6px;padding:4px 6px;margin:-4px -6px;color:inherit;background:transparent;font-size:inherit;font-weight:inherit;text-transform:inherit}.sort-head:hover,.sort-head.active{color:#1d4ed8;background:#eef6ff}.truncate-one{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-chip{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#f1f5f9;color:#334155;font-size:11px;font-weight:780;white-space:nowrap}.why-chips{display:flex;flex-wrap:wrap;gap:5px;max-width:100%}.row-go{color:#94a3b8;font-size:22px;text-align:right;width:30px}.empty-state{padding:44px 16px!important;color:#94a3b8;text-align:center}.tp-detail-btn{border:0;border-radius:8px;padding:6px;color:#94a3b8;background:transparent;transition:background-color .15s ease,color .15s ease}.tp-detail-btn:hover{color:#475569;background:#f1f5f9}.tp-detail-btn.has-content{color:#2563eb;background:#eff6ff}.tp-modal-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:18px;background:#0f172a7a}.tp-modal{width:min(720px,100%);max-height:min(88vh,780px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:10px;box-shadow:0 28px 80px #0f172a52}.tp-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid #eef2f7}.tp-modal-title{margin:0;color:#111827;font-size:16px;font-weight:790}.tp-modal-sub{margin:3px 0 0;color:#64748b;font-size:12px}.tp-modal-body{overflow-y:auto;padding:16px 18px 18px;display:grid;gap:14px}.tp-modal-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(140px,.7fr) minmax(150px,.8fr);gap:10px}.tp-field{display:grid;gap:6px}.tp-field label{color:#64748b;font-size:11px;font-weight:780;text-transform:uppercase;letter-spacing:0}.tp-field input,.tp-field select,.tp-field textarea{width:100%;border:1px solid #dbe2ea;border-radius:8px;padding:9px 10px;color:#172033;background:#fff;outline:none}.tp-field textarea{resize:vertical}.tp-field input:focus,.tp-field select:focus,.tp-field textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f621}.tp-modal-foot{display:flex;justify-content:flex-end;padding-top:2px}.btn{min-height:36px;border:1px solid #dbe2ea;border-radius:8px;padding:8px 12px;background:#fff;color:#334155;font-size:13px;font-weight:750}.btn:hover{background:#f8fafc}.btn-dark{border-color:#111827;background:#111827;color:#fff}.btn-dark:hover{background:#1f2937}.icon-btn{border:0;width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#f8fafc;color:#475569}.icon-btn:hover{background:#f1f5f9}@media (max-width: 900px){.topbar-inner,.page{padding-left:16px;padding-right:16px}.topbar-inner{align-items:flex-start;flex-direction:column}.topbar-tools,.source-sel{width:100%}.ba-track{grid-template-columns:1fr}.ba-card{border-right:0}.tp-modal-grid{grid-template-columns:1fr}}@media (max-width: 720px){.col-hide-sm{display:none}table.leads{min-width:760px}}
