// Tela: Pipeline de Vendas — kanban de leads + modal Novo Lead + drawer detalhe const { useState: usePipeState } = React; function TempPill({ temp, big }) { const map = { frio: { cls: "pill-blue", label: "FRIO" }, morno: { cls: "pill-yellow", label: "MORNO" }, quente: { cls: "pill-pink", label: "QUENTE" }, }; const m = map[temp] || map.morno; return ( {m.label} ); } function LeadCard({ lead, onOpen, onWhatsApp, onDragStart, onDragEnd, isDragging }) { const statusIcon = lead.status?.toLowerCase().includes('aguard') ? ICN.mic : ICN.phone; const hasAi = lead.status?.toLowerCase() === 'em conversa'; const isGanho = lead.etapa === 'fechado' && lead.status === 'Ganho'; const BoltIcon = () => ( ); return (