diff --git a/src/components/insights/insight-advisor-card.tsx b/src/components/insights/insight-advisor-card.tsx index 20246da2b..af74dafef 100644 --- a/src/components/insights/insight-advisor-card.tsx +++ b/src/components/insights/insight-advisor-card.tsx @@ -402,13 +402,20 @@ export function InsightAdvisorCard({ )} - {/* Primary Recommendation */} + {/* Primary Recommendation — prose first, then any inline charts the + * model emitted via `metric:` tokens. Tokens are stripped from + * the visible text so they never leak into the hero card. */} {insight.primaryRecommendation && ( -
+

{t("insights.keyTakeaway")}

-

{insight.primaryRecommendation}

+

+ {stripChartTokens(insight.primaryRecommendation)} +

+
)}