/** Map a tier name to a Badge color. */
export function tierColor(tier: string): 'primary' | 'success' | 'warning' | 'error' | 'running' | 'auto' {
  switch (tier?.toUpperCase()) {
    case 'ENTERPRISE': return 'success';
    case 'PROFESSIONAL': return 'primary';
    case 'STARTER': return 'warning';
    default: return 'auto';
  }
}
