"use client"; type TrackForecast = { actual: number; forecast: number; variance: number; variance_percent?: number; unit: string; }; type UnifiedForecast = { revenue: TrackForecast; partnerships: { actual_count: number; target_count: number; variance: number; unit: string }; ma: { deals_in_progress: number; pipeline_target: number; variance: number; unit: string }; expansion: { markets_launched: number; markets_planned: number; variance: number; unit: string }; }; function TrackRow({ label, labelAr, actual, target, variance, unit }: { label: string; labelAr: string; actual: number; target: number; variance: number; unit: string; }) { const pct = target > 0 ? Math.round((actual / target) * 100) : 0; const color = pct >= 90 ? "text-emerald-500" : pct >= 70 ? "text-yellow-500" : "text-red-500"; return (