# Parea design system

Paste this block into the AGENTS.md or CLAUDE.md of any Parea product repository.

---

## Design: follow the Parea design system

All interface work in this repository follows the Parea design system at https://brand.parea.health. Before building or changing UI, read https://brand.parea.health/llms-full.txt (one Markdown file, the complete specification, 87,000 characters). If your fetch tool shortens long pages, read the chapters listed in https://brand.parea.health/llms.txt one at a time instead. The essentials:

1. **Two audiences, one system.** `data-audience="patient"` for anything a patient sees: 18px text, 52px controls, one column, one question at a time. The default is `practice`: 15px text, 40px controls, dense and quiet.
2. **The primary action is Tanne.** One primary button per view, filled with `--foreground`. Never a coloured primary button.
3. **Green means selected, done or confirmed.** `--accent` marks the chosen option, the active item, progress and links. It is not decoration.
4. **Flieder belongs to the assistant.** Lilac (`--assistant`) marks content Parea prepared that no person has approved. Nothing else is ever lilac. After approval the lilac disappears.
5. **Parea prepares, people decide.** Nothing the assistant produces is sent, saved to a record or shown to a patient without a named person approving it. Always offer edit and discard next to approve.
6. **Status is never colour alone.** Every status has a word and a dot or icon. Red is only for failure and destruction, amber only for waiting or attention.
7. **Two weights, one family.** Google Sans Flex at 400 and 500. Display lines, page titles and section headings use the rounded cut, everything else the plain cut. No bold, no uppercase, no italics for emphasis.
8. **Identifiers are monospaced.** Insurance numbers, codes, doses and anything a person reads aloud or types is set in Google Sans Code.
9. **Sentence case, formal, short.** German, "Sie", verbs on buttons, no exclamation marks, no em dashes, no jargon for patients.
10. **Austrian formats.** Use `Intl` with `de-AT` and `Europe/Vienna`. Dates for patients are written out ("Dienstag, 12. Jänner 2027"), times are 24 hour ("09:30 Uhr").
11. **Calm motion.** 100 to 360ms, ease out, nothing bounces. Only the two signs of waiting loop: the button spinner and the skeleton. Respect reduced motion.
12. **WCAG 2.2 AA is the floor.** 4.5:1 text, 3:1 control outlines, visible keyboard focus, 44px targets on touch for staff and 48px for patients, works at 320px wide and 200 percent zoom.

Setup in this stack: load `arc-theme.css` (copied from https://brand.parea.health/arc-theme.css) after Arc's `foundation.css`, import `@fontsource-variable/google-sans-flex/rond.css` and `@fontsource-variable/google-sans-code`, and set `lang="de-AT"`, `data-theme` and `data-audience` on `<html>`. Theme Arc by tokens only, never by editing component CSS. Before finishing, run the checklist at https://brand.parea.health/md/checklist.md.

---

Design system version 1.0.0, 2026-11-24.
