/** CRM müşteri adayı durumları (pipeline). */
export const CONTACT_STATUS: { id: string; label: string; tone: string }[] = [
  { id: 'yeni', label: 'Yeni', tone: 'bg-paper-2 text-ink' },
  { id: 'ilgileniyor', label: 'İlgileniyor', tone: 'bg-signal-soft text-ink' },
  { id: 'gorusuluyor', label: 'Görüşülüyor', tone: 'bg-signal text-ink' },
  { id: 'satildi', label: 'Satıldı', tone: 'bg-ink text-white' },
  { id: 'kaybedildi', label: 'Kaybedildi', tone: 'bg-paper-3 text-ink-soft' },
];
export const STATUS_IDS = CONTACT_STATUS.map((s) => s.id);
export const statusLabel = (id?: string | null) => CONTACT_STATUS.find((s) => s.id === id)?.label ?? 'Yeni';
export const statusTone = (id?: string | null) => CONTACT_STATUS.find((s) => s.id === id)?.tone ?? CONTACT_STATUS[0].tone;
