.prospect-section { min-width: 0; }
.prospect-section [hidden] { display: none !important; }
.prospect-source { display: inline-flex; gap: 8px; align-items: center; color: var(--crm-green-dark); font-weight: 600; white-space: nowrap; }
.prospect-filters { padding: 24px 0; border-bottom: 1px solid var(--crm-line); }
.prospect-filter-grid { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(190px, 1.2fr) minmax(170px, 1fr) minmax(230px, 1.5fr); gap: 20px; }
.prospect-filter { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.prospect-filter label, .prospect-summary-label, .prospect-limit-label { color: var(--crm-ink); font-size: 13px; font-weight: 700; }
.prospect-filter input, .prospect-filter select, #prospect-summary, #prospect-limit { min-width: 0; width: 100%; height: 42px; padding: 10px 12px; border: 1px solid var(--crm-line); border-radius: 6px; background: white; color: var(--crm-ink); font-size: 14px; }
.prospect-filter select { text-overflow: ellipsis; }
.prospect-filter input:focus, .prospect-filter select:focus { outline: 2px solid var(--crm-green); outline-offset: 2px; }
.prospect-selected { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; max-height: 160px; overflow: auto; }
.prospect-chip { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #b7dcd5; border-radius: 4px; background: #e8f5f0; padding: 5px 7px; color: #075f53; font-size: 12px; }
.prospect-chip span { overflow-wrap: anywhere; }
.prospect-chip button { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
.prospect-chip button:hover { background: #cce8df; }
.prospect-filter-footer { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; margin-top: 22px; }
.prospect-summary-label { display: grid; flex: 1; gap: 8px; min-width: 0; }
.prospect-limit-label { display: grid; flex: 0 0 108px; gap: 8px; }
#prospect-limit { font-weight: 600; font-variant-numeric: tabular-nums; }
#prospect-summary { background: #f8fbfa; font-weight: 400; text-overflow: ellipsis; }
.prospect-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prospect-section .btn { border-radius: 6px; min-height: 42px; white-space: normal; }
.prospect-section button:disabled { opacity: .55; cursor: not-allowed; }
.prospect-status { padding: 18px 0; margin: 0; color: var(--crm-muted); font-size: 14px; overflow-wrap: anywhere; }
.prospect-loading-icon { display: inline-block; width: 16px; margin-right: 8px; color: var(--crm-green-dark); text-align: center; }
@media (prefers-reduced-motion: reduce) { .prospect-loading-icon { animation: none; } }
.prospect-status[data-error="true"] { color: #b32d39; }
.prospect-results-heading { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 12px 0 18px; }
.prospect-results-heading h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 18px; color: var(--crm-ink); }
#prospect-count { display: inline-block; margin-left: 6px; color: var(--crm-green-dark); font-size: 15px; }
.prospect-table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--crm-line); border-radius: 6px; background: white; }
.prospect-table { width: 100%; min-width: 880px; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.prospect-table th { padding: 14px 12px; text-align: left; background: #edf5f3; color: var(--crm-ink); font-weight: 700; }
.prospect-table td { padding: 15px 12px; vertical-align: top; border-top: 1px solid var(--crm-line); color: var(--crm-ink); overflow-wrap: anywhere; }
.prospect-table th:first-child { width: 26%; }
.prospect-table th:nth-child(2) { width: 15%; }
.prospect-table th:nth-child(3) { width: 12%; }
.prospect-table th:nth-child(4) { width: 19%; }
.prospect-table th:nth-child(5) { width: 12%; }
.prospect-table th:nth-child(6) { width: 16%; }
.prospect-table td strong { display: block; font-weight: 600; }
.prospect-table td small { display: block; margin-top: 5px; color: var(--crm-muted); font-size: 12px; }
.prospect-table tbody tr:hover { background: #f6faf9; }
.prospect-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--crm-muted); font-size: 13px; }
.prospect-pagination > div { display: grid; grid-template-columns: 42px 116px 42px; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--crm-line); border-radius: 6px; background: var(--crm-white); }
.prospect-pagination .btn { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; min-height: 42px; padding: 0; margin: 0; border: 1px solid transparent; background: transparent; color: var(--crm-green-dark); box-shadow: none; line-height: 1; transform: none; }
.prospect-pagination .btn:hover:not(:disabled) { border-color: #b7dcd5; background: #e8f5f0; color: #075f53; }
.prospect-pagination .btn:disabled { opacity: 1; color: #a8b8b3; background: #f6f9f8; }
.prospect-pagination .btn i { display: block; margin: 0; line-height: 1; font-size: 14px; }
#prospect-page { display: grid; place-items: center; height: 42px; color: var(--crm-ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1250px) { .prospect-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .prospect-filter-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .prospect-filter-footer { flex-direction: column; align-items: stretch; }
    .prospect-limit-label { flex: none; }
    .prospect-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .prospect-source { font-size: 13px; }
    .prospect-results-heading .btn { width: 100%; }
    .prospect-pagination { justify-content: center; gap: 12px; }
    #prospect-range { flex: 0 0 100%; text-align: center; }
}