---
version: alpha
name: "Fellrise"
description: "Design system generated by OpenDesigner"
colors:
  primary: "#c8ff2e"
  on-primary: "#222428"
  surface: "#fcfdff"
  on-surface: "#222428"
  error: "#d93834"
typography:
  body-md: { fontFamily: "Archivo", fontSize: 17px, lineHeight: 24px }
rounded:
  control: 2px
  container: 8px
spacing:
  unit: 4px
---

# Fellrise

**Fellrise** is a design system; what it is for is not recorded yet (Q-scope-01).

- **For:** people who use it now and then, often on a phone
- **Screens:** not asked yet
- **Runs on:** watch
- **Feel:** energetic, bold, futuristic (playful, bold, modern; picked for you)
- **Brand color:** Your brand color (#C8FF2E) is on the buttons exactly, with dark text on it, because white text would be too faint.
- **Decided:** 5 answers you gave, 3 picked for you; everything else uses sourced defaults
- **Standards:** 193 house standards followed (locked, house standards v2), 1 overridden by you; see the Standards section
- **Next:** zoom into Colors, Typography, Layout, or stop here: each level works
- **Licence risks:** Archivo: confirm the web licence (record it with engine.py set raw.fontLicence).

> Generated by the OpenDesigner engine 1.0.0 from `opendesigner/state.json` and `opendesigner/decisions.md`; `opendesigner/tokens/` is the source of truth. Change the system with `engine.py set ...` and `engine.py build`, not by editing this file (notes inside `<!-- od:keep -->` blocks survive). Each section opens with one plain sentence; open **More** for the designer and engineer detail.

## Overview

> Zoom: sketch (0 of 3), 5 decisions in this area. To zoom in, answer Q-dir-01, Q-dir-02.
<!-- od:zoom area=overview level=0 -->

**Fellrise feels playful, bold and modern. Screens are roomy, in a flat style.**
Designers: visual style: flat, tonal, glass · Code: `preset in state.json`

<details><summary>More</summary>

**Intent.** A design system generated from eight dials and a few raw inputs.

- Audience: people who use it now and then, often on a phone
- The memorable thing: not recorded yet (Q-brand-02)
- Surfaces: not recorded yet (Q-scope-06)
- Platforms: watch; inputs: pointer, touch
- Direction: preset flat2 (the default until Q-dir-01 is answered); feel playful, bold, modern (words picked for you: energetic, bold, futuristic)

**Principles (ranked).**
No principles recorded yet (Q-brand-07). Until they are, the dials act as the tie-breakers below.

**Dial positions.** Three posture dials set the overall stance. Five character dials fine-tune it.

- **Expression 80/100** (productive to expressive: expressive): type ratio 1.333, hero moments: 1-2-per-product, expressive motion: throughout, brand color role: brand-chrome-allowed, containment: visible-containers.
- **Brand presence 85/100** (native to brand-led: brand-led): typeface suggestion: proprietary-brand-face, brand color placement: large-surfaces+custom-components, native component share about 24%, voice guidance: full.
- **Density 25/100** (spacious to compact: spacious): body 16px on the web, default control 48px, density mode spacious, icons 24px; hit areas never shrink.
- **Energy 90/100** (calm to energetic: energetic): standard easing [0.77, 0, 0.175, 1], duration multiplier 1.16, spring damping 1.0, heading weight 750, navigation: colored-if-expression-allows.
- **Roundness 15/100** (sharp to soft: sharp): control radius 2, icon corners default, caps square.
- **Depth 10/100** (flat to deep: flat): depth model: borders.
- **Colorfulness 60/100** (monochrome to vivid: leaning vivid): scheme tonalSpot, accent chroma 80.3 (HCT), 3 accent(s), surfaces: tinted-containers.
- **Warmth 35/100** (cool/formal to warm/friendly: leaning cool/formal): neutral tint chroma 0.016 at hue 264, borders: default, sentence-case, contractions allowed.

**Zoom by area** (sketch, broad, defined, detailed). You can stop at any level; each one works.

| Area | Zoom | Next questions |
|---|---|---|
| Colors | sketch | Q-color-02 |
| Typography | sketch | Q-type-01 |
| Layout | sketch | Q-space-01, Q-space-02, Q-space-03 |
| Elevation & Depth | sketch | Q-depth-01 |
| Shapes | sketch | Q-shape-01 |
| Components | sketch | Q-comp-01, Q-comp-02, Q-state-01 |
| Motion | sketch | Q-motion-01 |
| Modes and Themes | defined | Q-theme-02, Q-theme-04 |
| Iconography and Imagery | sketch | Q-icon-01, Q-icon-02, Q-icon-06 |
| Content and Voice | sketch | Q-voice-01, Q-voice-02, Q-voice-03 |
| Accessibility | sketch | Q-aud-02, Q-aud-03, Q-aud-04 |
| Platforms and Devices | sketch | Q-plat-05, Q-plat-10, Q-plat-08 |

The tokens in `opendesigner/tokens/` (DTCG 2025.10 with `opendesigner.resolver.json`) are the source of truth. This file is a generated view.

Decisions: D-0002 (answers.Q-aud-01), D-0006 (macros), D-0016 (dials.expression), D-0017 (dials.brandPresence), D-0018 (dials.density).

</details>

## Colors

> Zoom: sketch (0 of 3), 5 decisions in this area. To zoom in, answer Q-color-02.
<!-- od:zoom area=color level=0 -->

**Three accent colors: your brand color `#c8ff2e` (exactly) marks buttons, links and focus; `#008479`, `#ab6500` add highlights.** Everything else stays neutral.
Designers: primary or brand accent · Code: `color.bg.accent`

<details><summary>More</summary>

**Your answers here** (each one either sets tokens or is a rule for this section):
- How dark should dark mode be: pure black, near-black, or charcoal? **Pure black #000** (chosen; tokens; Q-color-21)

**Intent.** Brand color `#c8ff2e` drives the accent ramp's hue; the Colorfulness dial (60) sets its chroma (scheme tonalSpot, peak HCT chroma 80.28). The brand's role is **brand-chrome-allowed** and it sits closest to accent step 9. Your brand color #C8FF2E is on the buttons exactly (dark text on it, because white text would be too faint).

**How ramps are built.** Each hue gets twelve steps in OKLCH, placed by contrast. Step 8 reaches at least 3:1 (edges and focus). Steps 10 and 11 reach the text minimum on backgrounds 1-4. Step 12 reaches at least 7:1. Steps 2-6 are spaced evenly in lightness between step 1 and step 7. Light and dark ramps are solved separately. Dark solids are lighter and carry dark text (dark mode is a separate mapping, never an inversion). Text minimum: 4.5:1 (WCAG 2.2 AA).

| Ramp | Light steps 1-12 | Solid carries |
|---|---|---|
| `accent` | `#fbfdf8` `#f1f5eb` `#e6eed9` `#dbe8c6` `#cfe1b3` `#c4da9f` `#b9d38b` `#73902d` `#c8ff2e` `#bfe966` `#536d00` `#2a3902` | dark |
| `accent2` | `#f9fefd` `#ecf6f4` `#daf0ec` `#c6eae4` `#b3e4dc` `#9eded4` `#88d8cc` `#0a968a` `#008479` `#00776d` `#00635a` `#003b35` | light |
| `accent3` | `#fffcfa` `#faf3ed` `#f7e9dd` `#f5dfcb` `#f3d5ba` `#f1cba8` `#efc196` `#b27a41` `#ab6500` `#9b5b00` `#814b00` `#4a2d0f` | light |
| `danger` | `#fffcfc` `#fff1ef` `#ffe6e3` `#ffdbd6` `#ffcfc9` `#ffc4bc` `#ffb8af` `#d76258` `#d93834` `#c72f2c` `#a82321` `#5c201c` | light |
| `info` | `#fbfdff` `#eaf6ff` `#d9efff` `#c7e7ff` `#b5e0ff` `#a3d8ff` `#8fd1ff` `#008ed0` `#007cb7` `#0070a6` `#005c8a` `#003755` | light |
| `neutral` | `#fcfdff` `#f2f4f7` `#e9ebf0` `#e0e3e8` `#d7dae1` `#ced2da` `#c5cad2` `#81868f` `#71767f` `#60646e` `#535760` `#222428` | light |
| `success` | `#f9fef9` `#ebf7ed` `#d9f1dd` `#c6eccc` `#b2e7bc` `#9de2ab` `#87dc9a` `#089a47` `#00883d` `#007b36` `#00652c` `#003d17` | light |
| `warning` | `#fffcf8` `#f8f4ec` `#f5ead9` `#f1e1c6` `#eed8b3` `#ebce9f` `#e7c58b` `#aa7f2c` `#efb239` `#dda331` `#845d00` `#463001` | dark |

**Step-distance guarantee** (neutral, light; WCAG contrast of a foreground step on background steps 1-5):

| Foreground | on 1 | on 2 | on 3 | on 4 | on 5 |
|---|---|---|---|---|---|
| neutral 8 | 3.59 | 3.32 | 3.07 | 2.84 | 2.61 |
| neutral 9 | 4.49 | 4.14 | 3.83 | 3.55 | 3.26 |
| neutral 10 | 5.82 | 5.38 | 4.97 | 4.60 | 4.23 |
| neutral 11 | 7.11 | 6.57 | 6.07 | 5.63 | 5.17 |
| neutral 12 | 15.27 | 14.11 | 13.03 | 12.08 | 11.11 |

**States.** Hover is at least 1.15:1 from its fill and pressed at least 1.3:1, as shade steps (DC-L01-17). Where a color is unknown at design time, use the state opacities in `opacity.state.*`.

| Fill | Base | Hover | Pressed |
|---|---|---|---|
| `color.bg.action.primary` | `#c8ff2e` | `#bfe966` (1.18:1) | `#b3dc59` (1.34:1) |
| `color.bg.accent.bold` | `#c8ff2e` | `#bfe966` (1.18:1) | `#b3dc59` (1.34:1) |

**Semantic roles** (use these, never the ramps):

| Token | Light | Dark | Use |
|---|---|---|---|
| `color.bg.accent.bold` | `#c8ff2e` | `#c8ff2e` | Solid accent fill. |
| `color.bg.accent.bold-hover` | `#bfe966` | `#bee95d` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.accent.bold-pressed` | `#b3dc59` | `#b2dd4f` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.accent.subtle` | `#e6eed9` | `#111804` | Selected rows, accent badges. |
| `color.bg.accent.subtle-hover` | `#dbe8c6` | `#192301` | Hover on accent subtle fills. |
| `color.bg.accent.subtle-pressed` | `#cfe1b3` | `#212e00` | Pressed accent subtle fills. |
| `color.bg.accent2.bold` | `#008479` | `#008479` | accent2 solid fill. |
| `color.bg.accent2.bold-hover` | `#00776d` | `#009285` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.accent2.bold-pressed` | `#006e64` | `#009c8f` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.accent2.subtle` | `#daf0ec` | `#061916` | accent2 subtle fill. |
| `color.bg.accent3.bold` | `#ab6500` | `#a46928` | accent3 solid fill. |
| `color.bg.accent3.bold-hover` | `#9b5b00` | `#b17536` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.accent3.bold-pressed` | `#8f5400` | `#bb7e3f` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.accent3.subtle` | `#f7e9dd` | `#1e140a` | accent3 subtle fill. |
| `color.bg.action.primary` | `#c8ff2e` | `#c8ff2e` | Primary action. One per view (DC-L15-03, L15 P08). |
| `color.bg.action.primary-hover` | `#bfe966` | `#bee95d` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.action.primary-pressed` | `#b3dc59` | `#b2dd4f` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.brand` | `#c8ff2e` | `#c8ff2e` | Brand fill for signature surfaces; carries text.on-brand (brandAnchor rule, DC-L01-09). |
| `color.bg.danger.bold` | `#d93834` | `#c94c44` | Danger solid fill. |
| `color.bg.danger.bold-hover` | `#c72f2c` | `#d8594f` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.danger.bold-pressed` | `#bc2323` | `#e26358` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.danger.subtle` | `#ffe6e3` | `#26100e` | Danger banner and badge background. |
| `color.bg.disabled` | `#e9ebf0` | `#111316` | Disabled control fill. |
| `color.bg.field` | `#ffffff` | `#010101` | Text field fill: outlined fields sit on the raised surface (Q-form-01). |
| `color.bg.info.bold` | `#007cb7` | `#007db9` | Info solid fill. |
| `color.bg.info.bold-hover` | `#0070a6` | `#008acb` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.info.bold-pressed` | `#006799` | `#0094d9` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.info.subtle` | `#d9efff` | `#001828` | Info banner and badge background. |
| `color.bg.inverse` | `#222428` | `#d7dadf` | Tooltips and toasts: the inverted surface. |
| `color.bg.neutral.subtle` | `#e9ebf0` | `#1e2125` | Secondary buttons, chips, hovered rows. |
| `color.bg.neutral.subtle-hover` | `#e0e3e8` | `#2d3035` | Hover: +1 step (DC-L01-17). |
| `color.bg.neutral.subtle-pressed` | `#d7dae1` | `#3c3f46` | Pressed or selected: +2 steps (DC-L01-17). |
| `color.bg.success.bold` | `#00883d` | `#00893d` | Success solid fill. |
| `color.bg.success.bold-hover` | `#007b36` | `#009744` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.success.bold-pressed` | `#007132` | `#00a14a` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.success.subtle` | `#d9f1dd` | `#061a0b` | Success banner and badge background. |
| `color.bg.warning.bold` | `#efb239` | `#e6b55d` | Warning solid fill. |
| `color.bg.warning.bold-hover` | `#dda331` | `#f7c56e` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.warning.bold-pressed` | `#d29921` | `#ffd388` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.warning.subtle` | `#f5ead9` | `#1d1507` | Warning banner and badge background. |
| `color.border.accent` | `#73902d` | `#607d00` | Selected card or accent outline. |
| `color.border.danger` | `#d76258` | `#bd5249` | Danger boundary, for example an invalid field (3:1). |
| `color.border.default` | `#c5cad2` | `#3c3f46` | Outline buttons and table grids (decorative; the label carries meaning). |
| `color.border.focus` | `#536d00` | `#c9f373` | Focus ring (3:1 against every surface, DC-L04-09). |
| `color.border.info` | `#008ed0` | `#007bb5` | Info boundary, for example an invalid field (3:1). |
| `color.border.input` | `#81868f` | `#676c75` | Text field and select borders (3:1, DC-L01-16). |
| `color.border.separator` | `#e0e3e8` | `#1e2125` | Hairlines between table rows and list items, lighter than border.subtle; decorative, so never the only cue (DC-L23-05). |
| `color.border.strong` | `#81868f` | `#676c75` | Boundaries that are the only cue: inputs, checkboxes, switches (3:1, WCAG 1.4.11). |
| `color.border.subtle` | `#ced2da` | `#2d3035` | Dividers and card edges (decorative). |
| `color.border.success` | `#089a47` | `#00863c` | Success boundary, for example an invalid field (3:1). |
| `color.border.warning` | `#aa7f2c` | `#956d1e` | Warning boundary, for example an invalid field (3:1). |
| `color.icon.accent` | `#536d00` | `#c9f373` | Selected and interactive icons. |
| `color.icon.default` | `#535760` | `#9498a1` | Icons beside text; same color as secondary text (DC-L05-08). |
| `color.icon.on-accent` | `#222428` | `#000000` | Icons on solid accent fills. |
| `color.icon.subtle` | `#60646e` | `#7b808a` | Decorative icons. |
| `color.overlay.scrim` | `#222428 @0.45` | `#000000` | Modal backdrop (DC-L04-18; Q-depth-06). |
| `color.surface.base` | `#fcfdff` | `#000000` | The page background. |
| `color.surface.nav` | `#c8ff2e` | `#c8ff2e` | Colored navigation (Energy 67+ with brand chrome allowed by Expression 67+). |
| `color.surface.overlay` | `#ffffff` | `#050608` | Menus, popovers, dialogs; always with elevation.floating or elevation.overlay. |
| `color.surface.raised` | `#ffffff` | `#010101` | Cards and panels on the page. |
| `color.surface.sunken` | `#f2f4f7` | `#000000` | Wells, code blocks, page gutters. |
| `color.surface.tinted` | `#f1f5eb` | `#0a0e05` | Tinted container (Colorfulness 50+, L09 X rubric; Q-color-05). |
| `color.text.accent` | `#536d00` | `#c9f373` | Accent text and selected labels. |
| `color.text.accent2` | `#00635a` | `#36afa2` | accent2 text. |
| `color.text.accent3` | `#814b00` | `#cb9158` | accent3 text. |
| `color.text.danger` | `#a82321` | `#f37a6f` | Danger text and icons; pair with an icon or label (DC-L01-15). |
| `color.text.disabled` | `#81868f` | `#676c75` | Disabled labels; exempt from contrast minimums (WCAG 1.4.3 exception). |
| `color.text.info` | `#005c8a` | `#00a7f4` | Info text and icons; pair with an icon or label (DC-L01-15). |
| `color.text.inverse` | `#ffffff` | `#000000` | Text on color.bg.inverse (tooltips, toasts). |
| `color.text.link` | `#536d00` | `#c9f373` | Links. Underline them in running text so color is not the only cue. |
| `color.text.on-accent` | `#222428` | `#000000` | Text and icons on color.bg.accent.bold* (auto-picked light or dark, S-L06-094). |
| `color.text.on-accent2` | `#ffffff` | `#000000` | Text on accent2 solid. |
| `color.text.on-accent3` | `#ffffff` | `#000000` | Text on accent3 solid. |
| `color.text.on-action` | `#222428` | `#000000` | Text on the primary action fill. |
| `color.text.on-brand` | `#222428` | `#000000` | Text on color.bg.brand. |
| `color.text.on-danger` | `#ffffff` | `#000000` | Text on bg.danger.bold. |
| `color.text.on-info` | `#ffffff` | `#000000` | Text on bg.info.bold. |
| `color.text.on-success` | `#ffffff` | `#000000` | Text on bg.success.bold. |
| `color.text.on-warning` | `#222428` | `#000000` | Text on bg.warning.bold. |
| `color.text.primary` | `#222428` | `#d7dadf` | Body copy, headings, labels (guaranteed >= 7:1 on steps 1-5). |
| `color.text.secondary` | `#535760` | `#9498a1` | Supporting text (guaranteed >= the text minimum on surfaces and neutral fills 1-4). |
| `color.text.success` | `#00652c` | `#35b45e` | Success text and icons; pair with an icon or label (DC-L01-15). |
| `color.text.tertiary` | `#60646e` | `#7b808a` | Captions and placeholders (still meets the text minimum on surfaces 1-4). |
| `color.text.warning` | `#845d00` | `#fecf7f` | Warning text and icons; pair with an icon or label (DC-L01-15). |

**Use / avoid.**
- Use one solid accent fill per view for the primary action; spend chroma on small, meaningful elements.
- Avoid gray text on colored fills; use the matching `text.on-*` role.
- Avoid color as the only signal: pair status colors with an icon or label.
- Charts: no chart palette yet (Q-color-19). Take chart colors from the status and accent hues, and check them separately.

**Tailwind classes:** `bg-action-primary`, `hover:bg-action-primary-hover`, `active:bg-action-primary-pressed`, `text-on-action`, `bg-surface-base`, `bg-surface-raised`, `text-fg-primary`, `text-fg-secondary`, `text-fg-link`, `border-line-subtle`, `border-line-input`, `outline-line-focus`, `bg-danger-bold`.

Decisions: D-0004 (raw.brandColor), D-0010 (answers.Q-theme-01), D-0011 (answers.Q-color-21), D-0022 (dials.colorfulness), D-0023 (dials.warmth).

</details>

## Typography

> Zoom: sketch (0 of 3), 2 decisions in this area. To zoom in, answer Q-type-01.
<!-- od:zoom area=typography level=0 -->

**Body text is 17px, and each larger size is about 1.333 times the one below.**
Designers: type scale: base size and ratio · Code: `font.size.14`

<details><summary>More</summary>

**Intent.** Body text is 17px; sizes follow `round(17 x 1.333^n)` for n from -2 to 3, reaching about 2.5x body (product surfaces only). Sizes: 13, 17, 23, 30, 40px.

- Text face: Archivo, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif. Licence status (hook H-type): **pending**.
- Licence by platform: text: Archivo: licensed for nothing recorded; not recorded for web, apps, self-hosting.
- On iOS the Swift file uses Dynamic Type text styles (body 17 pt), so text follows the person's text size setting; Compose uses sp, which follows the Android font scale.
- Weights: body 400, label 500, heading 750, display 850 (two or three distinct weights per view).
- Emphasized variants (Expression 80, on from 67): 9 styles under `text.emphasized.*`, the same size one weight heavier, for the selected item, key actions and headlines (DC-L02-11).
- Line heights snap to a 4px grid: 1.5 up to 17px, 1.4 to 26px, 1.25 to 44px, 1.12 above.
- Letter spacing: +0.02em at 11-12px, -0.01em from 32px, -0.02em from 48px.
- Text scaling: CSS sizes are rem, line heights unitless, so text scales to 200% (WCAG 1.4.4); containers must grow with it.
- Scripts: Latin only; add scripts in raw.scripts to get per-script line heights (DC-L02-25).

| Style | Size/line (px) | Weight | Tracking | Use |
|---|---|---|---|---|
| `text.body.lg` | 23/32 | 400 | 0em | Long-form reading, onboarding copy. |
| `text.body.md` | 17/24 | 400 | 0em | Default UI text: forms, tables, descriptions. |
| `text.body.sm` | 13/20 | 400 | 0em | Helper text, timestamps, captions. |
| `text.code.md` | 17/24 | 400 | 0em | Code blocks, token names. |
| `text.code.sm` | 13/20 | 400 | 0em | Inline values, dense code rows. |
| `text.headline.sm` | 40/48 | 750 | -0.01em | Page and section titles. |
| `text.label.lg` | 17/24 | 500 | 0em | Button and control labels. |
| `text.label.md` | 13/20 | 500 | 0em | Small control labels, badges, dense tabs. |
| `text.label.sm` | 13/20 | 500 | 0.05em caps | Overlines in capitals with wide tracking (DC-L02-18). |
| `text.title.lg` | 30/36 | 750 | 0em | Card, panel and group titles. |
| `text.title.md` | 23/32 | 750 | 0em | Card, panel and group titles. |
| `text.title.sm` | 17/24 | 750 | 0em | Table headers, field-group titles. |

**Use / avoid.**
- Use at most three sizes and two weights in one view; let color and weight carry hierarchy before size.
- Avoid all caps for sentences and in scripts without case; use weight for emphasis there.

**Tailwind classes:** `text-body-md`, `text-label-lg`, `text-title-md`.

Decisions: D-0014 (raw.textFace), D-0015 (raw.baseSize).

</details>

## Layout

> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-space-01, Q-space-02, Q-space-03.
<!-- od:zoom area=layout level=0 -->

**Spacing comes in steps of 4px, and screens use spacious spacing by default.**
Designers: spacing scale, 0 to 96 · Code: `space.0 to space.96`

<details><summary>More</summary>

**Intent.** Everything sits on a 4px unit: ladder 0, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96. Density is a mode on the semantic layer (default **spacious**). Primitives and minimum tap areas never change.

| Density | inset xs/sm/md/lg/xl | section sm/md/lg | control sm/md/lg | row sm/md/lg/two-line | outer:inner |
|---|---|---|---|---|---|
| spacious (default) | 6 / 12 / 16 / 20 / 32 | 64 / 80 / 96 | 40 / 48 / 56 | 52 / 56 / 64 / 80 | 3.5 |
| comfortable | 4 / 8 / 12 / 16 / 24 | 32 / 40 / 64 | 32 / 40 / 48 | 44 / 48 / 56 / 72 | 2.5 |
| compact | 2 / 6 / 8 / 12 / 20 | 16 / 24 / 40 | 24 / 32 / 40 | 36 / 40 / 48 / 64 | 2.0 |

- Target sizes: pointer 24px, touch 44px; `size.target.min` is the floor for the primary input, and `space.target.gap` separates adjacent targets.
- Inner gaps stay below outer gaps (at least half), so grouping reads without borders (L15 P16).
- Breakpoints and grid: not generated yet; use the platform defaults and keep layout spacing independent of density (DC-L03-17).

**Use / avoid.**
- Parents own spacing (padding and gap); children never set outer margins.
- Avoid values off the ladder; if one is needed, add it as a decision.

Decisions: D-0018 (dials.density).

</details>

## Elevation & Depth

> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-depth-01.
<!-- od:zoom area=elevation level=0 -->

**Surfaces are separated by thin borders, with no shadows.**
Designers: flat, shadowed, tonal or glass · Code: `$extensions.opendesigner.model`

<details><summary>More</summary>

**Intent.** Depth 10/100 selects the **borders** model. Shadow alpha in light mode is 0.0; dark mode doubles it and lifts surfaces by lightness instead (sunken, base, raised, overlay).

| Token | Layers (x y blur spread) | Use |
|---|---|---|
| `elevation.raised` | none | Cards that lift on hover, sticky headers, dragged rows. |
| `elevation.floating` | none | Menus, popovers, dropdowns. |
| `elevation.overlay` | none | Dialogs and sheets (with color.overlay.scrim). |

- Borders: 1px default, 2px selected and focus, 4px emphasis; width changes use an inset shadow so layout does not jump.
- Stacking: page < raised < floating (menus) < overlay (dialogs with `color.overlay.scrim`).
- No materials or glass in this system.

Decisions: D-0021 (dials.depth).

</details>

## Shapes

> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-shape-01.
<!-- od:zoom area=shape level=0 -->

**Buttons and fields have 2px corners; cards have 8px corners.**
Designers: corner radius, sharp to pill · Code: `radius.control, CSS border-radius`

<details><summary>More</summary>

**Intent.** Roundness 15/100 gives controls a **2** radius; details 2px, containers 8px, overlays 12px, people full. Controls under 32px tall use `radius.control-sm` (0).

- Nested radius: inner = max(outer - padding, smallest step). Here it is 2px inside a container with `space.inset.lg` padding. Equal radii on nested shapes look uneven (DC-L04-05).
- Focus ring: 2px, 2px offset, radius = control radius + offset (4).
- Icons: default corners, square caps. On iOS, use continuous corners (DC-L04-04).
- Signature shapes: none generated; a brand shape library is a designer asset (hook H-motif).

Decisions: D-0020 (dials.roundness).

</details>

## Components

> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-comp-01, Q-comp-02, Q-state-01.
<!-- od:zoom area=components level=0 -->

**Version 1 plans 25 components, all built from these tokens.**
Designers: core set of about 25 components · Code: `button.* (proposed), APG pattern`

<details><summary>More</summary>

**Intent.** v1 components use the semantic tokens only. Base: not chosen yet (Q-comp-01). Buttons are 48px tall (spacious), 2 radius, `text.label.lg`; one primary action per view.

| Component | Status |
|---|---|
| button | planned (tokens ready) |
| text-field | planned (tokens ready) |
| textarea | planned (tokens ready) |
| select | planned (tokens ready) |
| checkbox | planned (tokens ready) |
| radio | planned (tokens ready) |
| switch | planned (tokens ready) |
| slider | planned (tokens ready) |
| tabs | planned (tokens ready) |
| tooltip | planned (tokens ready) |
| popover | planned (tokens ready) |
| dialog | planned (tokens ready) |
| menu | planned (tokens ready) |
| progress-bar | planned (tokens ready) |
| spinner | planned (tokens ready) |
| banner | planned (tokens ready) |
| badge | planned (tokens ready) |
| avatar | planned (tokens ready) |
| card | planned (tokens ready) |
| list | planned (tokens ready) |
| table | planned (tokens ready) |
| link | planned (tokens ready) |
| breadcrumbs | planned (tokens ready) |
| side-navigation | planned (tokens ready) |
| accordion | planned (tokens ready) |

**Contested policies:** Validation timing and disabled submit: pending; Field style: pending; Toasts: pending; Undo versus confirm: pending; Danger actions: pending; Button emphasis levels: pending.

**Use / avoid.**
- Every interactive component shows hover, pressed, focus-visible and disabled states from the tokens.
- Inputs keep a 3:1 boundary (`color.border.input`); signifier strength: minimal-allowed.
- Component docs belong in `opendesigner/components/<name>.md` (spec 7.8).

Decisions: none recorded yet; values are defaults from references/levers.json.

</details>

## Do's and Don'ts

**These rules keep screens clear and easy to read.** The engine checks the ones it can.
Designers: guardrails and design linting · Code: `engine.py validate, engine.py review`

<details><summary>More</summary>

**Enforced by construction.** The generator cannot break these:
- text contrast 4.5:1, and 3:1 for edges, in every mode
- text on colored fills picked automatically
- tap areas pointer 24px, touch 44px
- a 2px focus ring with a 2px offset
- a reduced-motion mode
- inner spacing smaller than outer spacing, three text colors, and nested radii

**Do**
- Use semantic tokens; never raw hex, px or ms values in components.
- Keep one primary action per view and at most three type sizes per view.
- Pair every status color with an icon or label; underline links in running text.

**Don't**
- Don't shrink hit areas in dense layouts; shrink visuals and extend the hit area.
- Don't use motion as the only signal, or flash more than three times a second.
- Don't copy another brand's identity from a reference (colors, typeface, logo, imagery, copy).

**Current validation findings:** warn: light: color.bg.action.primary (#c8ff2e) on color.surface.base (#fcfdff) is 1.16:1, needs 3.0:1, warn: light: color.bg.action.primary (#c8ff2e) on color.surface.raised (#ffffff) is 1.18:1, needs 3.0:1

**Waivers:** none.

</details>

## Standards

**Follow these rules when you build.** They come from sources marked non-negotiable, their values are locked, and `engine.py review` checks the ones it can.

House standards v2: 193 rules followed in this project; 1 overridden.

**Don't break these:**
- No motion on 100+ times-a-day actions (STD-when-to-animate-05).
- Never use ease-in on UI (STD-easing-duration-03).
- Never enter from scale(0) (STD-enter-exit-origin-01).
- Never block input during transitions (STD-springs-gestures-13).
- Never rely on haptics alone (STD-accessibility-motion-20).

**Overridden in this project**
- ~~Colors adapt to light and dark~~ Overridden in this project: "Brief: smartwatch app, black background edge-to-edge (watch platform convention, OLED); no light mode" (D-0009). The house rule: Make interface colors adapt to light and dark mode: give each color role a light value and a dark value. (STD-visual-details-24).

<details><summary>Every theme (137 rules)</summary>

- **When to animate** (14 rules, 12 must): Decide whether to animate first; Name a valid purpose for every animation; Scale motion down as frequency rises; No motion on 100+ times-a-day actions; Never animate keyboard-initiated actions; Remove or shrink motion seen tens-of-times daily; Spend delight only on rare moments; Explanatory motion only in marketing, onboarding; and 4 more must rules. Locks `motion.duration.instant` 0ms.
- **Easing and duration** (12 rules, 10 must): Pick easing by the motion's job; Strong custom curves, not built-in keywords; Never use ease-in on UI; UI motion under 300ms unless justified; Duration budget for each element; Nothing over 1s unless illustrative; Duration grows with size and distance; Slow deliberate phase, snappy response; and 2 more must rules. Locks `motion.easing.linear` [0, 0, 1, 1], `motion.easing.hover` [0.25, 0.1, 0.25, 1], `motion.easing.enter` [0.23, 1, 0.32, 1], `motion.easing.exit` [0.23, 1, 0.32, 1], `motion.easing.standard` [0.77, 0, 0.175, 1], `motion.duration.micro` 100ms, `motion.duration.short` 150ms, `motion.duration.medium` 200ms, `motion.duration.long` 250ms.
- **Enter, exit and origin** (7 rules, 4 must): Never enter from scale(0); No opacity-only fade entrances; Exit the way it entered; Stagger group entrances 30–80ms. Locks `motion.scale.enter` 0.95, `motion.duration.stagger` 50ms.
- **Springs and gestures** (28 rules, 19 must): Springs for anything a finger drives; Default springs are critically damped; Bounce only after a momentum gesture; Keep bounce subtle, 0.1 to 0.3; Sheet and drawer spring values; Every animation can be grabbed mid-flight; Never block input during transitions; Start from the on-screen value; and 11 more must rules. Locks `motion.spring.spatial.dampingRatio` 1.0, `motion.spring.spatial.stiffness` 246.7, `motion.spring.momentum` a composite value (see standards.md), `motion.spring.sheet` a composite value (see standards.md), `motion.spring.rotation` a composite value (see standards.md), `motion.gesture.deceleration-rate` 0.998, `motion.gesture.dismiss-velocity` 0.11, `motion.gesture.rubberband-constant` 0.55, `motion.gesture.direction-threshold` 10px.
- **Performance and properties** (2 rules, 1 must): Treat dropped frames as a regression.
- **Accessibility in motion** (9 rules, 5 must): Ship reduced motion with the animation; Reduced motion is gentler, never zero; Scale layout with the user's text size; Never rely on haptics alone; Never trap the user in an overlay. Locks `raw.reducedMotion` "replace", `motion.duration.reduced-fade` 200ms, `reduced:motion.transition.enter` a composite value (see standards.md), `reduced:motion.transition.exit` a composite value (see standards.md), `reduced:motion.transition.expand` a composite value (see standards.md).
- **Toasts, drawers and overlays** (7 rules, 2 must): Drawer curve: cubic-bezier(0.32, 0.72, 0, 1); Feedback on press, commit on release. Locks `component.toast.duration` 4000ms, `motion.easing.drawer` [0.32, 0.72, 0, 1], `motion.gesture.drag-lock-after-scroll` 100ms.
- **Mobile and touch** (5 rules, 3 must): Press feedback scales to 0.97, briefly; Touch targets 44pt on iOS, 48dp on Android; Ignore extra fingers during a drag. Locks `motion.scale.press` 0.97, `motion.duration.micro` 100ms (STD-easing-duration-07 wins), `size.target.touch` 44px, `size.target.min` 44px.
- **Visual details** (40 rules, 13 must): Tabular digits for changing numbers; Use the ellipsis character; Loosen tracking on uppercase labels; Make letter-spacing specific to size; Reserve underlines for links; Never stack light translucent surfaces; Restrained look with no project; Use and extend existing tokens; and 5 more must rules.
- **Process, review and taste** (13 rules, 7 must): Motion that merely runs is not done; Self-check motion before finishing; Report review findings as one table; Close every motion review with Block or Approve; Make the motion call yourself; Keep the motion note to a few lines; Say when feel can't be judged from code.

</details>

Every rule, with its values, reasons and sources: `opendesigner/standards.md` (it also has the 56 rules this file leaves out). Read the themes you touch before you build.

## Motion

> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-motion-01.
<!-- od:zoom area=motion level=0 -->

**Most movements take 200ms.** They turn into fades when a person asks for less motion.
Designers: motion system: duration, easing, springs · Code: `motion.duration.*, motion.easing.*`

<details><summary>More</summary>

**Intent.** Energy 90/100: the duration multiplier x1.16 scales the extra step (standards fix medium, long). Standard easing `cubic-bezier(0.77, 0, 0.175, 1)`, enter `cubic-bezier(0.23, 1, 0.32, 1)`, exit `cubic-bezier(0.23, 1, 0.32, 1)`. Spatial spring: damping 1.0, stiffness 246.7 (Apple duration 0.4s, bounce 0.0; web `linear()` sample over 590ms).

| Token | Value | Note |
|---|---|---|
| `motion.duration.instant` | 0ms | set by house standard STD-when-to-animate-05 |
| `motion.duration.micro` | 100ms | set by house standard STD-easing-duration-07 |
| `motion.duration.short` | 150ms | set by house standard STD-easing-duration-07 |
| `motion.duration.medium` | 200ms | set by house standard STD-easing-duration-07 |
| `motion.duration.long` | 250ms | set by house standard STD-easing-duration-07 |
| `motion.duration.extra` | 810ms | illustrative and marketing motion only, never UI (STD-easing-duration-06) |
| `motion.duration.medium-exit` | 160ms | derived: about 0.8 x medium |
| `motion.duration.long-exit` | 200ms | derived: about 0.8 x long |
| `motion.duration.reduced-fade` | 200ms | set by house standard STD-accessibility-motion-02 |
| `motion.duration.stagger` | 50ms | set by house standard STD-enter-exit-origin-13 |

- Exits are derived, not set on their own: each is about 20% shorter than the entrance in force (medium-exit 160ms from medium 200ms, long-exit 200ms from long 250ms; STD-easing-duration-11). Change an entrance and its exit follows. Linear easing only for spinners and progress.
- Reduced motion (`prefers-reduced-motion` or `data-motion="reduced"`): travel becomes opacity, feedback stays, `motion.transition.move` is 0ms.
- Springs are stored as damping and stiffness in `$extensions.opendesigner.spring` because DTCG 2025.10 has no spring type.
- Haptics: strong intensity where the platform has them; sound: hook H-sound is pending.

Decisions: D-0008 (25 values, standards), D-0019 (dials.energy).

</details>

## Modes and Themes

> Zoom: defined (2 of 3), 1 decision in this area. To zoom in, answer Q-theme-02, Q-theme-04.
<!-- od:zoom area=modes level=2 -->

**The system has light and dark color modes, three spacing densities and a reduced-motion mode.**
Designers: modes: light, dark, density, motion · Code: `resolver modifiers, Figma collection modes`

<details><summary>More</summary>

**Your answers here** (each one either sets tokens or is a rule for this section):
- Should the app have light and dark modes that follow the device, or just one mode? **Dark only** (chosen; tokens; Q-theme-01)

**Intent.** Modes live in the DTCG resolver (`opendesigner/tokens/opendesigner.resolver.json`); modifiers are orthogonal, so no two set the same token.

| Modifier | Contexts | Default |
|---|---|---|
| theme | light, dark | dark |
| density | spacious, comfortable, compact | spacious |
| motion | standard, reduced | standard |

- Web: `prefers-color-scheme` with a `[data-theme]` override; `[data-density]`; `prefers-reduced-motion` with `[data-motion]` (see `opendesigner/build/css/tokens.css`).
- High-contrast themes are not generated; set `raw.contrastTarget` to AAA for 7:1 text everywhere.
- A second brand or a client re-skin may override the color primitives and `color.bg.brand`; semantic names never change.

Decisions: D-0010 (answers.Q-theme-01).

</details>

## Iconography and Imagery

> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-icon-01, Q-icon-02, Q-icon-06.
<!-- od:zoom area=iconography level=0 -->

**Icons are 24px by default.** The logo, photos and custom icons come from a person, not from the engine.
Designers: icon system: style, sizes, color · Code: `size.icon.*, icon.stroke.*, color.icon.*`

<details><summary>More</summary>

**Intent.** Default icon size 24px; sizes 16/20/24 pair with 14/16/20px text. Stroke follows the label weight: 1.5px at 16, 2.0px at 20, 2.5px at 24. Rest style: filled-or-colored.

| Asset | Hook | Status |
|---|---|---|
| Logo and marks | H-logo | pending |
| Favicon set | H-favicon | pending |
| App icon | H-appicon | pending |
| Custom icons | H-icons | pending |
| Illustration | H-illus | pending |
| Photography | H-photo | pending |
| Motifs and brand shapes | H-motif | pending |

- Placeholders are labelled as placeholders. A generated stand-in is never shown as a finished brand asset.
- Icon-only buttons need an accessible name and a hit area of `size.target.min`.

Decisions: none recorded yet; values are defaults from references/levers.json.

</details>

## Content and Voice

> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-voice-01, Q-voice-02, Q-voice-03.
<!-- od:zoom area=content level=0 -->

**Words stay plain and short, and every button says what it does.**
Designers: content: voice, tone, microcopy · Code: `DESIGN.md Content and Voice section`

<details><summary>More</summary>

**Intent.** Draft: voice guidance level **full** (Brand presence 85); **sentence-case**; contractions **allowed** (Warmth 35). Voice guide hook H-voice: pending.

- Buttons say what they do in two to four words; errors say what happened and how to fix it.
- Reading level: plain language; avoid jargon in UI copy.
- Word list: not recorded yet (Q-voice-03).

Decisions: none recorded yet; values are defaults from references/levers.json.

</details>

## Accessibility

> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-aud-02, Q-aud-03, Q-aud-04.
<!-- od:zoom area=accessibility level=0 -->

**Text passes WCAG 2.2 AA contrast in every mode, and focus is always visible.**
Designers: WCAG 2.2 AA target · Code: `raw.contrastTarget`

<details><summary>More</summary>

**Your answers here** (each one either sets tokens or is a rule for this section):
- Who uses it, and how often: all day for work, often, or now and then on the go? **Now and then, on a phone or in public** (delegated; tokens; Q-aud-01)

**Intent.** Standard: WCAG 2.2 AA. APCA is reported as advice only.

**The system guarantees:**
- text and edge contrast in every mode
- visible focus (2px ring, 2px offset, 3:1)
- minimum target sizes for each kind of input
- a reduced-motion mode
- rem-based type, so text scales to 200%
- text on colored fills chosen automatically

**Product teams own:** accessible names and labels, alt text, reading and focus order, and never using color alone. Also: clear error messages, dialogs that can be closed, no pre-checked consent boxes, and captions for media.

**Test on each platform:**
- keyboard only
- a screen reader (VoiceOver, NVDA or TalkBack)
- 200% zoom
- forced colors (Windows High Contrast)
- reduced motion
- touch on a phone, for every surface that allows touch

Decisions: none recorded yet; values are defaults from references/levers.json.

</details>

## Platforms and Devices

> Zoom: sketch (0 of 3), 3 decisions in this area. To zoom in, answer Q-plat-05, Q-plat-10, Q-plat-08.
<!-- od:zoom area=platforms level=0 -->

**It runs on watch, and each platform keeps its own navigation.**
Designers: target platforms · Code: `raw.platforms; size.target.min`

<details><summary>More</summary>

**Your answers here** (each one either sets tokens or is a rule for this section):
- Where will it run first: web, iOS, Android or desktop? **watch** (delegated; tokens; Q-plat-01)
- Which devices must work great on day one, which only need to work, and which are out? **Watch** (chosen; tokens; Q-plat-02)
- Will anyone use this while driving, walking, or in a headset? **On the wrist** (chosen; tokens; Q-plat-04)

**Intent.** Platforms: watch. Inputs: pointer, touch. Brand presence 85: each platform keeps its own shapes and materials: no; each platform keeps its own body text size: no.

- Navigation, back, sheets and pickers stay native on every platform (DC-L10-02).
- Swift and Compose files in `opendesigner/build/` use the same names as the CSS variables (Figma code syntax matches them).
- Fonts by platform: text: Archivo: licensed for nothing recorded; not recorded for web, apps, self-hosting.

Decisions: D-0005 (answers.Q-plat-01), D-0012 (answers.Q-plat-02), D-0013 (answers.Q-plat-04).

</details>

## Decisions

**24 decisions so far.** Each one says who set it and why.
Designers: decision history with reasons · Code: `opendesigner/decisions.md`

<details><summary>More</summary>

Your own decisions first (the newest value per path), then your changes to standards, then one row per standards batch. Full log: [opendesigner/decisions.md](opendesigner/decisions.md).

| Id | Path | Value | Set by | Reason |
|---|---|---|---|---|
| D-0002 | `answers.Q-aud-01` | "large" | delegated | sketch: picked for them |
| D-0003 | `context.audience` | "people who use it now and then, often on a phone" | delegated | sketch: plain words for Q-aud-01, picked for them |
| D-0004 | `raw.brandColor` | "#c8ff2e" | chosen | sketch: Level 0 answer |
| D-0005 | `answers.Q-plat-01` | ["watch"] | delegated | sketch: picked for them |
| D-0006 | `macros` | ["playful", "bold", "modern"] | delegated | sketch: picked for them (feel words: energetic, bold, futuristic) |
| D-0007 | `taste.feelWords` | ["energetic", "bold", "futuristic"] | delegated | sketch: feel words picked for them |
| D-0010 | `answers.Q-theme-01` | "dark-only" | chosen | watch app: black edge-to-edge, per the brief |
| D-0011 | `answers.Q-color-21` | "black" | chosen | watch: pure black OLED edge-to-edge |
| D-0012 | `answers.Q-plat-02` | "watch" | chosen | the product is a watch app |
| D-0013 | `answers.Q-plat-04` | "watch" | chosen | used on the wrist, in seconds |
| D-0014 | `raw.textFace` | "Archivo" | chosen | open-licence face picked for the direction |
| D-0015 | `raw.baseSize` | 17 | chosen | watchOS Body at the xLarge default for 44/45/49 mm is 17 pt (HIG typography, watchOS Dynamic Type) |
| D-0016 | `dials.expression` | 80 | delegated | bold mid-run energy |
| D-0017 | `dials.brandPresence` | 85 | delegated | the acid green is the identity |
| D-0018 | `dials.density` | 25 | delegated | glanceable at arm's length; few items |
| D-0019 | `dials.energy` | 90 | delegated | race-day urgency |
| D-0020 | `dials.roundness` | 15 | delegated | angular, cut corners like rock strata |
| D-0021 | `dials.depth` | 10 | delegated | flat OLED; no shadows on black |
| D-0022 | `dials.colorfulness` | 60 | delegated | one loud accent plus status |
| D-0023 | `dials.warmth` | 35 | delegated | cool-neutral so the green burns |
| D-0024 | `name` | "Fellrise" | delegated | round 3: Ridgeline is a real product name (Honda Ridgeline), so the trail app is renamed Fellrise (no app or product of that name found) |
| D-0009 | standards | override STD-visual-details-24 (house standard) | chosen, overrides STD-visual-details-24 | Brief: smartwatch app, black background edge-to-edge (watch platform convention, OLED); no light mode |
| D-0008 | standards | House standards v2: 194 applied | standard (locked) | OpenDesigner's house standards (sources marked non-negotiable) are applied without asking and locked. Change one only when the person asks: engine.py... |

</details>

## Open Items

**These parts are still defaults, guesses, or waiting for a person.**

- Still defaults (zoom 0, sketch): Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Motion, Iconography and Imagery, Content and Voice, Accessibility, Platforms and Devices
- Assets not final: Logo, wordmark, symbol, lockups (H-logo): pending; App icon (H-appicon): pending; Favicon set (H-favicon): pending; Custom icons, pictograms, spot icons (H-icons): pending; Illustration, characters, empty-state art (H-illus): pending; Photography and art direction (H-photo): pending; Brand typeface files (H-type): pending; Fixed brand colors (H-color): pending; Motion signature and rich media (H-motion): pending; Graphic devices, patterns, textures, brand gradients, signature shape (H-motif): pending; UI sounds and sonic logo (H-sound): pending; Custom haptic patterns (H-haptic): pending; Voice and tone guide (H-voice): pending; Brand guidelines PDF (H-brandbook): pending
- Answers taken on assumption or delegated: answers.Q-aud-01 (delegated), context.audience (delegated), answers.Q-plat-01 (delegated), macros (delegated), taste.feelWords (delegated), dials.expression (delegated), dials.brandPresence (delegated), dials.density (delegated), dials.energy (delegated), dials.roundness (delegated), dials.depth (delegated), dials.colorfulness (delegated), dials.warmth (delegated), name (delegated)
- Waivers: none.
- Licence risks: Archivo: confirm the web licence (record it with engine.py set raw.fontLicence).
- Validation: 0 errors, 2 warnings.

## For Agents

**AI agents: read this file and the tokens before you change any screen.**

1. Before any visual work, read this file, PRODUCT.md and `opendesigner/tokens/` (start at `opendesigner/tokens/opendesigner.resolver.json`).
2. Use tokens, never raw values: CSS `var(--ds-...)`, Tailwind classes from `opendesigner/build/tailwind/theme.css`, `DS.*` in Swift. In Compose: colors from `LocalDsColors.current` (provide `DsLightColors` or `DsDarkColors`), then `DsSpace`, `DsType` and `DsMotion`.
3. Do not change a locked decision without asking the owner.
4. To change the system: `engine.py set <path> <value> --why "..."`, then `engine.py generate`, `engine.py validate`, `engine.py design-md`.
5. To extend: add a decision (never hand-edit tokens or this file). Keep semantic names the same across modes. Deprecate instead of deleting.
6. After any implementation, run `engine.py review` and re-read this file.
7. Follow the Standards section. Change a standard only when the person explicitly asks: `engine.py standard override <id> --why "<their words>"`.

**Tailwind v4 classes** (one import: `@import "tailwindcss"; @import "<path>/opendesigner/build/tailwind/theme.css";`; Tailwind's default colors, text sizes, radii and shadows are switched off, so only these exist):

| Area | Classes |
|---|---|
| Color | `bg-action-primary`, `hover:bg-action-primary-hover`, `active:bg-action-primary-pressed`, `text-on-action`, `bg-surface-base`, `bg-surface-raised`, `text-fg-primary`, `text-fg-secondary`, `text-fg-link`, `border-line-subtle`, `border-line-input`, `outline-line-focus`, `bg-danger-bold` |
| Layout | `p-inset-md`, `gap-stack-md`, `gap-inline-sm`, `h-control-md`, `size-icon-md`, `min-h-target-min` |
| Shape | `rounded-control`, `rounded-container`, `rounded-overlay`, `rounded-full` |
| Elevation | `shadow-raised`, `shadow-floating`, `shadow-overlay` |
| Type | `text-body-md`, `text-label-lg`, `text-title-md` |
| Motion | `transition-feedback`, `ease-enter`, `ease-exit`, `ease-hover` |
