.lead-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.lead-filters .field { flex: 1 1 150px; margin-bottom: 0; }
.lead-filters .field:first-child { flex: 2 1 250px; }
.lead-filter-actions { display: flex; gap: .5rem; }
.lead-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lead-details dt { color: #64748b; font-size: .9rem; margin-bottom: .25rem; }
.lead-details dd { font-weight: 600; overflow-wrap: anywhere; }
.lead-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.lead-history { list-style: none; margin: 0; padding: 0; }
.lead-history li { padding: 1rem 0; border-bottom: 1px solid #e2e8f0; }
.lead-history-heading { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.lead-history-heading span { color: #64748b; }
.lead-table { min-width: 680px; }
.lead-table td { overflow-wrap: anywhere; max-width: 320px; }
.lead-status { display: inline-flex; align-items: center; max-width: 100%; padding: .35rem .75rem; border: 1px solid #cbd5e1; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: .875rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.lead-status--new { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }
.lead-status--contacted { background: #f3e8ff; border-color: #d8b4fe; color: #6b21a8; }
.lead-status--interested { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.lead-status--onboarding { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.lead-status--joined { background: #dcfce7; border-color: #86efac; color: #166534; }
.lead-status--not_interested { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.lead-page .buttons form { margin: 0; }
@media (max-width: 600px) { .lead-details { grid-template-columns: 1fr; } }
.lead-page h1 { overflow-wrap: anywhere; }
