.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 td { overflow-wrap: anywhere; max-width: 320px; }
.lead-page .buttons form { margin: 0; }
@media (max-width: 600px) { .lead-details { grid-template-columns: 1fr; } }
.lead-page h1 { overflow-wrap: anywhere; }
