root = Card([header, stats, trendCard, productsCard, actions])
header = CardHeader("Monthly Sales Check", "October 2025 · steady growth")
stats = Card([statRevenue, statConversion], "clear", "row", "l")
statRevenue = Card([revLabel, revValue], "sunk")
revLabel = TextContent("**Revenue this month**", "small")
revValue = TextContent("$84,200", "large-heavy")
statConversion = Card([convLabel, convValue], "sunk")
convLabel = TextContent("**Conversion rate**", "small")
convValue = TextContent("3.42%", "large-heavy")
trendCard = Card([trendHeader, trendChart], "sunk")
trendHeader = CardHeader("Revenue trend", "Last six months")
trendChart = LineChart(["May", "Jun", "Jul", "Aug", "Sep", "Oct"], [revenueSeries], "natural", null, "USD")
revenueSeries = Series("Revenue", [48200, 51200, 55800, 61400, 72800, 84200])
productsCard = Card([productsHeader, productsTable], "sunk")
productsHeader = CardHeader("Best-selling products", "By units sold")
productsTable = Table([productCol, unitsCol, revenueCol])
productCol = Col("Product", ["Pulse Tracker", "Aura Glow", "Nova Pack"])
unitsCol = Col("Units sold", [1240, 986, 742])
revenueCol = Col("Revenue", ["$31,000", "$24,650", "$18,550"])
actions = Buttons([downloadBtn], "row")
downloadBtn = Button("Download numbers", null, "primary")