root = Card([header, navButtons, statsCard, nextCard, scheduleCard, roomsCard], "card", "column", "l")
header = CardHeader("Front Desk — Day View", "Tuesday, March 12 · 8:00 AM – 5:00 PM")
navButtons = Buttons([prevBtn, todayBtn, nextBtn], "row")
prevBtn = Button("← Previous day", null, "secondary")
todayBtn = Button("Today", null, "secondary")
nextBtn = Button("Next day →", null, "secondary")
statsCard = Card([expectedStat, noShowStat, freeStat], "clear", "row", "m")
expectedStat = Card([expectedValue, expectedLabel], "sunk")
expectedValue = Heading("18", "h2")
expectedLabel = TextContent("Patients expected today", "small")
noShowStat = Card([noShowValue, noShowLabel], "sunk")
noShowValue = Heading("8%", "h2")
noShowLabel = TextContent("No-show rate this month", "small")
freeStat = Card([freeValue, freeLabel], "sunk")
freeValue = Heading("3", "h2")
freeLabel = TextContent("Rooms free right now", "small")
nextCard = Card([nextCallout, checkinButtons], "sunk", "column", "m")
nextCallout = Callout("info", "Next patient", "Sarah Johnson — scheduled 9:15 AM · Room 5")
checkinButtons = Buttons([checkinBtn, noShowBtn], "row")
checkinBtn = Button("Check in Sarah Johnson", null, "primary")
noShowBtn = Button("Mark as no-show", null, "secondary")
scheduleCard = Card([scheduleHeading, appointmentsTable], "sunk", "column", "m")
scheduleHeading = Heading("Today's appointments", "h3")
appointmentsTable = Table([timeCol, patientCol, roomCol, statusCol])
timeCol = Col("Time", ["08:00 AM", "08:30 AM", "09:00 AM", "09:15 AM", "10:00 AM", "10:30 AM", "11:00 AM", "01:00 PM"])
patientCol = Col("Patient", ["Michael Chen", "Anna Reyes", "David Okafor", "Sarah Johnson", "Lena Fischer", "Tom Novak", "Priya Sharma", "Grace Kim"])
roomCol = Col("Room", ["Room 1", "Room 2", "Room 3", "Room 5", "Room 1", "Room 5", "Room 2", "Room 3"])
statusCol = Col("Status", ["Checked in", "Checked in", "In session", "Waiting", "Checked in", "Waiting", "Scheduled", "Scheduled"])
roomsCard = Card([roomsHeading, freeRoomsText, freeRoomsTags], "sunk", "column", "m")
roomsHeading = Heading("Room availability", "h3")
freeRoomsText = TextContent("Available right now:", "small")
freeRoomsTags = TagBlock(["Room 4", "Room 6", "Room 7"])