chapter 5
Components
All live in templates/app/app.css, which consumes only tokens.
- Buttons: primary (red, one per view), navy (secondary emphasis on light), default (outline), ghost, small. States: rest, hover, active, focus-visible (2px #176CC5 ring, 2px offset), disabled (40% opacity, no pointer), loading (label stays, spinner replaces icon).
- Talk to AI: an outline button with a red microphone, in every top bar and on every job. Recording starts only after "Start recording", shows a timer and stop, and stays a local draft until saved (V5 handoff rules).
- Milestone chip
.ms(L, P, A, C, I, X for future), three sizes (20, 28, 56), always with a letter. Stage pill.stagefor P1–P10. - Pills: good, warn, crit, info, neutral, each with an icon when it carries status.
- Priority marker: a square plus a word (Urgent, High, Normal).
- Cards with header, body and optional footer; action card (4px red left rule, kicker "Next accountable action", title, facts row, one primary button).
- Verdict strip: navy band, one sentence, three KPIs.
- Tables: 36px header, 40px or 32px rows, numbers right-aligned with tabular figures, row hover on canvas.
- Ring: collection progress, always captioned "collection progress, not physical completion".
- Navigation: navy sidebar with grouped sections, a white logo tile, counts as pills, the current page marked by a 3px red inset bar.