{/* Active filters */}
{activeFilters.length > 0 && (
)}
{/* Campaign filter pills */}
{campaigns.length > 0 && (
{campaigns.map(c => {
const isActive = campaignFilter === c.id;
const count = filteredLeads.filter(l => l.campaignId === c.id).length;
return (
);
})}
)}
{/* Table — fills remaining space, scrolls internally */}
{}}
selectedIds={[]}
selectionMode="none"
sortField={sortField}
sortDirection={sortDirection}
onSort={handleSort}
onViewActivity={handleViewActivity}
visibleColumns={visibleColumns}
/>
{/* Pagination — pinned at bottom */}
{totalPages > 1 && (
)}
{/* Activity slideout */}
{activityLead && (