f38e67252b
Created src/components/detail/KPIDetail.tsx that renders rich KPI story content inside the detail panel. Wired into DetailPanel so content.type === 'kpi' renders this component. Component displays: - Large headline number (48px, colored by kpi.colorVariant) - KPI label and subtitle - Period badge (if story.period exists) - Context paragraph (story.context) - Your role paragraph (story.role) - Key outcomes as bullet list (story.outcomes) Graceful fallback implemented: if story is undefined, shows kpi.value and kpi.explanation instead. Styling matches dashboard design system with fonts (Elvaro Grotesque, Geist Mono), colors (CSS custom properties), and spacing conventions. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
4.3 KiB
4.3 KiB