Spacing and layout

Spacing

A 4 px base. Compact: most gaps are 8, 12 or 16.

TokenValueUse
space-12Hairline gaps (segmented control)
space-24Icon to label inside a chip
space-36Gap between chips, menu items
space-48Gap inside a row, between bubbles of one speaker
space-512Gap between rows and cards
space-616Card padding, screen side margin on phones
space-720Gap between bubbles of different speakers
space-824Screen side margin on wide screens
space-932Between sections
space-1048Big empty states

Corners

Large, soft corners. Inner corners are smaller than outer ones (outer = inner + padding).

TokenValueUse
radius-xs6Inline code, bubble tail corner
radius-sm10Small buttons, selects, menu items
radius-md14Inputs, tiles, tool-step boxes
radius-lg20Chat bubbles, setting rows
radius-xl22Cards
radius-2xl30Tab bar, sheets (top corners)
radius-full999Pills, chips, switches, round buttons

Size

TokenValueUse
touch-min44 (48 on Android)Smallest tap area, even if the drawn thing is smaller
control-h40Buttons and inputs in compact density
row-h52One-line list row
read-max680Widest reading column

Breakpoints

They match Android's window size classes, so the phone, a tablet, a folded phone and the desktop page all switch at the same widths.

NameWidthLayout
Compact< 600One column. Floating tab bar at the bottom. Sheets come up from the bottom.
Medium600-839Nav rail on the left. One main column, max read-max. Sheets become centred dialogs.
Expanded840-1199Rail + two panes: list and detail (chats and chat; Plan and the open day).
Large≥ 1200Rail + main + side pane. The side pane shows context: today's plan, the open approval, what the assistant is doing.

Grid

Rules

Gaps

Live: spacing and corners

Spacing scale

space-1 · 2px
space-2 · 4px
space-3 · 6px
space-4 · 8px
space-5 · 12px
space-6 · 16px
space-7 · 20px
space-8 · 24px
space-9 · 32px
space-10 · 48px

Corner radii

radius-6 6
radius-10 10
radius-14 14
radius-20 20
radius-22 22
radius-30 30