Space

A 4 px rhythm holds the system together

Choose every spacing value from the 4 px scale. Density adapts the rhythm to the task: operational tools are compact, while brand surfaces use more space. Both use the same components and roles.

The scale

The base rhythm is 4 px. Component padding usually uses 8 to 24 px. Product grids are tighter than other surfaces: 8 px between columns and 24 px between rows (`.id-card-grid`). Section spacing still uses the fluid section-space token.

space.14 px
space.28 px
space.312 px
space.416 px
space.624 px
space.832 px
space.1248 px
space.1664 px

space.*space.sectionspace.page-gutter

Page grid

Use the named page containers and the fluid page gutter. Structure content with the twelve-column grid or a named split. Product lists use two columns on small screens, three on medium screens, and four on large screens. Use the prose measure for readable text.

space.page-guttermaxWidth.prose

Change density, not components

Use the same card in two densities. Operational tools use the compact setting, while brand surfaces use the spacious setting. Do not introduce a second component to solve a spacing difference.

Operational: md

Compact and calm for data-heavy work.

Brand: lg

The same component with more space.

card padding md/lgsize.control.*

Corners and borders

Shape carries meaning: rectangular controls select values, while buttons are pills. Cards and media frames use their semantic radius tokens. Use space and surface changes for separation on open pages, and borders for dense application interfaces. Shadows are optional and restrained.

radius-role.controlradius-role.cardelevation.raised