root = Card([header, timeContext, kpiBlock, followUps])
header = CardHeader("Mid-Morning Check-In", "Revenue snapshot as of 10:30 AM")
timeContext = TextContent("Data reflects sales up to **10:30 AM**. Comparison is against the same time window yesterday.")
kpiBlock = SnippetCardBlock([kpiToday, kpiYesterday, kpiChange], "grid", true)
kpiToday = SnippetCardItem("today-revenue", todayLhs, todayRhs)
todayLhs = IconText(todayIcon, "neutral", "m", "Revenue Today", "As of 10:30 AM", false, "horizontal")
todayIcon = Icon("circle-dollar-sign", "finance")
todayRhs = BoldText("number", "$3,240", "+12.1%", "metric")
kpiYesterday = SnippetCardItem("yesterday-revenue", yesterdayLhs, yesterdayRhs)
yesterdayLhs = IconText(yesterdayIcon, "neutral", "m", "Yesterday Same Time", "10:30 AM benchmark", false, "horizontal")
yesterdayIcon = Icon("calendar-clock", "time")
yesterdayRhs = BoldText("number", "$2,890", "Baseline", "text")
kpiChange = SnippetCardItem("change-pct", changeLhs, changeRhs)
changeLhs = IconText(changeIcon, "success", "m", "vs. Yesterday", "Same time comparison", false, "horizontal")
changeIcon = Icon("trending-up", "charts")
changeRhs = BoldText("number", "+12.1%", "$350 absolute", "metric")
followUps = FollowUpBlock([fu1, fu2])
fu1 = FollowUpItem("Show me hourly breakdown")
fu2 = FollowUpItem("Compare with last week")