Layout
App shell, grids, page background.
Desktop first: designs are 1440 wide, the shell works down to the 1024 tablet breakpoint. The content area always fills the space next to the rail (width 100 %), never fit-content, or the page shrinks to its cards.
App shell
- Rail 88 at the left, full height. Main items top; Pengaturan + Bantuan at the bottom.
- Top bar 72: page title left; bell, company pill, avatar right.
- Content: padding 24 at the sides, 8 at the top, 40 at the bottom; gap 16 between blocks.
- Page heading row: title + note left, the one primary button right, above the data it acts on.
- Below 1024 the rail items move into a left Sheet opened by a menu button; no bottom tab bar. Phone (<768) is parked.
--breakpoint-desktop--breakpoint-tabletContent patterns · 3, nothing else
Cards in one row always share one height (stretch). Pick the pattern by what the page shows.
A · Tile row
B · Profile column 320 + flex
C · Flex + side 400
Sheet · 480, floating
Toast · bottom centre
Page background
One background for every full page: the app shell, login and invite pages. Never on cards, panels or dialogs. Defined once as --page-gradient; apply bg-page in AppShell and AuthLayout.