/** Map a lead stage code to a badge style. */
export function stageBadge(code: string): string {
  switch (code) {
    case 'won': return 'badge--won';
    case 'lost': return 'badge--lost';
    case 'wizard_incomplete': return 'badge--muted';
    case 'qualified_awaiting_contact':
    case 'contacted':
    case 'proposal_sent':
    case 'negotiation': return 'badge--warm';
    default: return 'badge--new';
  }
}
