root = Card([header, coverageSection, updatesSection, blockedSection, postSection], "card", "column", "l")
header = CardHeader("Async Standup", "Friday, June 6 · 6 teammates")
coverageSection = Card([coverageHeading, coverageCallout, coverageProgress], "sunk", "column", "m")
coverageHeading = Heading("Coverage", "h3")
coverageCallout = Callout("warning", "2 updates still missing", "Jordan Kim and Sam Ortiz haven't checked in yet.")
coverageProgress = Progress(66, "4 of 6 teammates have posted")
updatesSection = Card([updatesHeading, updatesList], "clear", "column", "m")
updatesHeading = Heading("Today's updates", "h3")
updatesList = ListBlock([alexItem, priyaItem, marcusItem, sofiaItem], "image")
alexItem = ListItem("Alex Chen", "Shipped onboarding v2. Waiting on API credentials for production.", [alexImg], "Blocked")
alexImg = "https://picsum.photos/seed/alex/64/64"
priyaItem = ListItem("Priya Patel", "Payments integration complete; all 42 unit tests passing.", [priyaImg])
priyaImg = "https://picsum.photos/seed/priya/64/64"
marcusItem = ListItem("Marcus Lee", "Drafted Q3 roadmap and kicked off the performance audit.", [marcusImg])
marcusImg = "https://picsum.photos/seed/marcus/64/64"
sofiaItem = ListItem("Sofia Rodriguez", "Customer feedback analysis done. Landing page blocked on design review.", [sofiaImg], "Blocked")
sofiaImg = "https://picsum.photos/seed/sofia/64/64"
blockedSection = Card([blockedHeading, blockedAlex, blockedSofia], "sunk", "column", "m")
blockedHeading = Heading("Blocked", "h3")
blockedAlex = Callout("error", "Alex Chen is blocked", "Waiting on API credentials from IT — pinged #it-help this morning.")
blockedSofia = Callout("error", "Sofia Rodriguez is blocked", "Needs design sign-off from Maya on the new landing page before deploy.")
postSection = Card([postHeading, form], "clear", "column", "m")
postHeading = Heading("Post your update", "h3")
form = Form("standup-form", formButtons, [updateField, blockedField])
updateField = FormControl("Your update", updateInput, "What did you work on? What's next?")
updateInput = TextArea("update", "e.g., Shipped onboarding v2, started perf audit…", 3)
blockedField = FormControl("Blocked?", blockedCheckbox, "Tick this if something is stalling you")
blockedCheckbox = CheckBoxGroup("blocked", [blockedOption])
blockedOption = CheckBoxItem("I'm blocked", "Briefly describe the blocker above", "blocked")
formButtons = Buttons([postBtn, cancelBtn])
postBtn = Button("Post update", null, "primary")
cancelBtn = Button("Cancel", null, "tertiary")