/* Lead card: stage track, status chips and the known details */
.lead-card { display: grid; gap: 14px; }
.lead-card.empty { padding: 6px 0; }
.lc-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.lc-stages li { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; }
.lc-stages li span { width: 100%; height: 6px; border-radius: 999px; background: var(--line); }
.lc-stages li.done span { background: var(--accent); opacity: .5; }
.lc-stages li.now span { background: var(--accent); }
.lc-stages li.now { color: var(--accent); font-weight: 700; }
.lc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--lead); }
.lc-chip.ok { background: #dcfce7; color: #15803d; }
.lc-chip.hot { background: var(--accent-soft); color: var(--accent); }
.lc-chip.win { background: #fef3c7; color: #92400e; font-weight: 700; }
.lc-chip.warn { background: #e0f2fe; color: #0369a1; }
.lc-fields { display: grid; gap: 10px; }
.lc-field { display: flex; gap: 10px; align-items: flex-start; }
.lc-icon { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); font-size: 15px; }
.lc-field small { display: block; color: var(--muted); font-size: 12px; }
.lc-field b { display: block; font-weight: 500; font-size: 14.5px; overflow-wrap: anywhere; }
/* Inside an open conversation: a slim card between the messages and the reply box */
.conv-lead { padding: 12px 16px; border-top: 1px solid var(--line); max-height: 34vh; overflow-y: auto; }
@media (prefers-color-scheme: dark) {
  .lc-chip.ok { background: rgba(22, 163, 74, .18); color: #4ade80; }
  .lc-chip.win { background: rgba(217, 119, 6, .2); color: #fbbf24; }
  .lc-chip.warn { background: rgba(14, 165, 233, .18); color: #7dd3fc; }
}
