# Pro Exteriors APP2 Design System v1.0

The design system for APP2, the job-management platform Pro Exteriors owns, which replaces AccuLynx for the office, sales reps and crews. Version 1.0 · November 22, 2026 · source repository `Clvrwrk/app2-design-system` (private).

How to read this document: **measured** means the value came from a live page, a font file or a computation in this repository. **Recommended** means we chose it and Chris confirmed it in the interview (brief/interview-log.md). Every AI-generated image is labelled AI RENDER · CONCEPT. All people, jobs, addresses and money in mockups are sample data.

## 0. First principles

### 0.1 The company in first principles

Pro Exteriors sells finished exteriors: roofs, gutters and siding for homes and commercial buildings across 16 states, from offices in Wichita, Kansas and the Dallas–Fort Worth area. APP2 exists to run that work. Its fundamental units are:

**job × milestone × days in stage × dollars (approved value, collected, balance due)**, with roof squares × trade and crew-days underneath.

The claim every APP2 screen must let a reader test: **Every job, every dollar, one screen, owned by Pro Exteriors.**

What already exists: a public website (proexteriorsus.com) in navy and red with Inter, and a product direction (the V5 CRM reviews of November 13–15, 2026) that Chandler Milliken reviewed and asked to keep. This system **codifies V5** for APP2 and uses AccuLynx only as the reference for workflow and data parity. It does not change the marketing site.

### 0.2 Five design laws

1. **The urgent number is the loudest thing on the screen.** If 72 invoices are overdue, that number outranks everything that is zero.
2. **One accountable next action per view.** Every page names the action, its owner and its due date, with the evidence beside it (V5's daily path: open the blocker → inspect the evidence → take the permitted action → verify the result).
3. **Red is for action.** Pro Exteriors red (#C62836) marks the one primary action or the one blocker in a view. It is never decoration.
4. **The milestone is always spelled.** Lead, Prospect, Approved, Completed and Invoiced are never shown by colour alone. The letter sits inside the chip and the name or stage sits beside it.
5. **Money is shown with its tier.** A dollar figure is Measured (from the ledger), Entered (typed by staff) or Estimated (a projection), and a figure without a tier is a defect.

When a situation is not covered here, apply the laws.

### 0.3 The decomposition ladder

| Rung | The reader's question | What the surface shows | Type |
|---|---|---|---|
| Verdict | What needs me today? | One sentence, one number, one action (verdict strip) | 20/28 bold on navy |
| Units | How much, in which stage? | Pipeline chips with counts and dollars | KPI 24–32px, tabular |
| Evidence | Why do you say so? | Action items, aging, the job's evidence | Tables, 14/20 |
| Assumptions | What is this based on? | Tier tags, data dates, "collection progress, not physical completion" | 12px tertiary |
| Falsifier | What would prove it wrong? | The audit trail: history, status changes, linked payments | History table |

The dashboard and the job page are the verdict and units rungs. Lists and the scheduler are evidence rungs. History and invoice status logs are the falsifier.

### 0.4 Evidence tiers

| Tier | Meaning | Visual tag |
|---|---|---|
| Measured | From the accounting ledger, payment record or supplier invoice | No tag (the default) |
| Entered | Typed by staff, not reconciled yet | `pill neutral` "Entered" |
| Estimated | Projection or estimate, not contracted | `pill info` "Est." or the EST. ring |

A number shown without a tier is a defect.

### 0.5 What changed

| Area | Before (AccuLynx, measured) | Now (APP2) |
|---|---|---|
| Body text | 12px Open Sans, normal leading | 14px/20px Inter, 13px compact mode |
| Headings | Roboto 300 | Inter 700, negative tracking |
| Chrome | Blue #24476C / #4680BF, orange KPIs | Navy #0B1734, red primary actions |
| Dashboard | Same-weight tiles, zero counts as loud as 72 | Verdict strip, zero queues collapsed |
| Milestones | Five bright bubbles | Same order and hues, retuned, ringed, lettered; P1–P10 stepper |
| Modes | Light only | Light / Dark / System |

## 1. Colour management system

**The colour law: navy is the structure, white is the work surface, red is the one action.**

Colours are authored in sRGB. The source of truth is `tokens/tokens.json` (W3C DTCG); `tokens/tokens.css` and `tokens/semantic.css` are generated by `color_system.py` and `tokens/derive_semantic.py`. Nothing generated is edited by hand.

### Core palette

| Token | Hex | Role | Source |
|---|---|---|---|
| `--pe-color-field-950` | #0B1734 | Sidebar, headers, verdict strip, heading text | Measured, V5 |
| `--pe-color-field-800` | #183653 | Secondary navy | Measured, V5 |
| `--pe-accent` | #C62836 | Primary action, blocker, overdue | Measured, V5 |
| `--pe-surface` (light) | #F3F5F9 | Page canvas | Measured, V5 |
| `--pe-card` (light) | #FFFFFF | Cards and tables | Measured, V5 |
| `--pe-text` (light) | #0B1734 | Body and headings | Computed, 16.22:1 |
| `--pe-text-secondary` | #3E485F | Secondary text | Computed, 8.38:1 |
| `--pe-text-tertiary` | #687083 | Labels, metadata | Computed, 4.54:1 on canvas |
| `--pe-focus` | #176CC5 | Focus ring | Measured (V5), 4.82:1 |

The focus ring is blue on purpose (recommended): a red ring would read as an error.

### Milestone set (recommended, confirmed round 1)

Same hue order as AccuLynx so staff recognise it, retuned so the navy letter reads on every chip and a ring gives the chip edge 3:1 against white.

| Milestone | Fill | Letter | Letter contrast | Ring | Text-on-white |
|---|---|---|---|---|---|
| L Lead | #EEC604 | #0B1734 | 10.72:1 | #A98C00 | #897100 |
| P Prospect | #E69029 | #0B1734 | 7.07:1 | #C47500 | #9F5E00 |
| A Approved | #72AF00 | #0B1734 | 6.61:1 | #5E9200 | #4B7500 |
| C Completed | #2AA7E1 | #0B1734 | 6.50:1 | #008BC1 | #00709C |
| I Invoiced | #FA67B0 | #0B1734 | 6.43:1 | #DF4296 | #B8327A |

Invoiced moved from AccuLynx red to pink so it never reads as the brand's action red. The smallest perceptual gap between any two fills is ΔE(OKLab) 13.8 (L/P); all values are in `tokens/milestones.json`.

### Status and data-viz

Status (light): good #008321, warning #906600, serious #AC5853, critical #CF4851, info #3F69D3, each paired with a distinct icon silhouette (circle-check, triangle, octagon, square-i, slashed circle). Data-viz (light): #A2274C, #A77600, #504CB4, #008FA9, chosen by search for the widest worst-pair separation under protan, deutan and tritan simulation (worst pair ΔE 13.8 dark, 14.8 overall). Fixed order, never cycled.

### Dark mode

Dark uses the same tokens with `[data-mode="dark"]`: surface #0B1734, raised #152240, text #F3F5F9. Red as small text on dark fails (3.17:1), so red text in dark uses `--pe-accent-text` #F03746 (4.5:1). The logo tile stays white in both modes.

### Print and usage ratios

Process starting builds are in `tokens/print.csv` (naive conversions; proof against the printer's profile, ΔE2000 ≤ 3). Usage in product views: navy 10–20%, white and canvas 70–85%, red ≤ 2%, status and milestone colour ≤ 6%.

Full contrast matrix: `tokens/report.md`. All colour maths: `tokens/color_math.json`.

## 2. Logo, mark and usage

The logo is a roof shape over PRO and EXTERIORS LLC with two rule lines. It existed only as a 360×84 raster, so it was traced to SVG (recommended; **awaiting Chris's side-by-side approval**: `logo/trace/compare.png`). The logo keeps its own colours (navy #11153E, red #B92023 measured from the raster) and is never recoloured to the UI tokens.

| File | Colourway | Use |
|---|---|---|
| `logo/pe-logo-full-color.svg` | Navy + red | White or light backgrounds, the sidebar tile, print |
| `logo/pe-logo-navy.svg` | Navy | One-colour print, embossing, watermark |
| `logo/pe-logo-white.svg` | White | Navy or photo backgrounds (matches the company's own dark-background file) |
| `logo/pe-mark-navy.svg`, `pe-mark-white.svg` | Roof mark | Where the full logo is under 120px wide |
| `logo/pe-app-icon.svg` + `logo/png/favicon-*.png` | Navy tile, white roof, red bar | App icon and favicon (recommended proposal) |

**Clear space:** the height of the E in EXTERIORS (one third of the logo height) on every side. **Minimum sizes:** full logo 120px wide on screen, 32mm in print, 2.5in embroidery; below that use the roof mark. **Never:** recolour to UI navy, add effects, set the wordmark in Inter, place the full-colour logo on navy without the white tile, or stretch it.

![Traced logo next to the original raster](logo/trace/compare.png)

## 3. Typography

One family: **Inter** (SIL Open Font License), served as woff2 at weights 400, 500, 600 and 700. Measured from the served files: cap height 0.728 em, x-height 0.546 em, ascender 0.969, descender −0.241, tabular figures available. The fallback `@font-face` uses Arial with `size-adjust: 105%`, measured from the x-height ratio.

| Step | Size / line | Weight | Tracking | Use |
|---|---|---|---|---|
| display | 40/44 | 700 | −0.025em | Rare: empty states |
| h1 | 32/40 | 700 | −0.02em | Page title, job name |
| h2 | 24/32 (20/28 in cards) | 700 | −0.015em | Action titles, section titles |
| h3 | 16–18/24 | 600 | −0.01em | Card headers |
| body | 14/20 | 400 | 0 | Default |
| body-compact | 13/20 | 400 | +0.003em | Compact density |
| label | 12/16 | 600 | +0.01em | Field labels, table headers |
| kicker | 11/16 caps | 600 | +0.16em | Section kickers (uppercase via CSS) |
| kpi | 32/36 | 700 | −0.02em | Numbers; always `tabular-nums` |

Every line height is a multiple of 4 and clears the measured 1.21em ascender-to-descender floor. Money and job numbers always use tabular figures so columns align.

## 4. Layout, spacing, grids and image sizing

Base unit 4px. Scale: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80. Inside a component, spacing is at most its padding; between components it is at least the larger padding.

**Product grid:** sidebar 240px (V5 measured 234px, rounded), top bar 64px, content max 1440px, 12 columns with 20px gutters, 24px page padding. **Density:** comfortable rows 40px (default), compact rows 32px (`data-density="compact"`), mobile targets 44px. **Breakpoints:** 390, 768, 1024, 1280, 1440. At 1024 and below the sidebar collapses to icons, and at 768 to a bottom bar (V5 mobile). 200% zoom and 320px reflow must hold.

Radii: 6px small controls, 10px buttons and inputs, 16px cards, 20px mobile sheets, pills full. Two shadows only.

| Surface | Aspect | Size 1× / 2× | Notes |
|---|---|---|---|
| Job location photo | 4:3 | 320×240 / 640×480 | Subject centred, no text overlay |
| Photo grid thumb | 1:1 | 160 / 320 | Crop to centre |
| Empty-state photo | 3:2 | 480×320 / 960×640 | Calm half for text |

## 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** `.stage` for 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.

## 6. Websites and landing pages

Out of scope for v1 (confirmed, round 1): proexteriorsus.com stays as it is. APP2's design-system site (this guide, served at `/ds`) follows the product tokens. When the marketing site is next revised, adopt the logo SVG masters and resolve audit items W2–W4.

## 7. Functional apps

APP2's screens, written as the question each one answers:

| Screen | The user's question | Reference render |
|---|---|---|
| Dashboard | What needs me today, and where is the pipeline? | [Open dashboard mockup](../templates/app/dashboard.html) |
| Job | What is this job's next action, and who owns it? | [Open job mockup](../templates/app/job.html) |
| Jobs list | Which jobs match, and which is stuck? | [Open jobs mockup](../templates/app/jobs.html) |
| Scheduler | Which crew is where, and what is not scheduled? | [Open schedule mockup](../templates/app/schedule.html) |
| Worksheet and invoices | What is owed on this job, and what do I do about it? | [Open invoices mockup](../templates/app/invoices.html) |

Every screen handles: loading (shimmer rows), empty (one sentence and one action), error (what failed and a retry), no permission (what the role can see instead), and stale data (the data date beside the number). Role starting points follow V5: Executive, Sales, Operations and Field each get their own home. Field users never see pricing, ledgers or commissions.

![APP2 dashboard concept mockup](templates/app/png/dashboard-light.png)

![Job page concept mockup](templates/app/png/job-light.png)

![Jobs list concept mockup](templates/app/png/jobs-light.png)

![Production scheduler concept mockup](templates/app/png/schedule-light.png)

![Invoices concept mockup, dark mode](templates/app/png/invoices-dark.png)

## 8. Dashboards (after Tufte)

| Principle | Rule in APP2 |
|---|---|
| Data-ink | No 3D, no gradients on data, gridlines only where they guide reading |
| Chartjunk | No icons inside bars, no decorative backgrounds |
| Lie factor | Bars start at zero, and aging bars are proportional to dollars |
| Small multiples | Per-office or per-rep comparisons repeat one chart, not several kinds |
| Words, numbers, pictures | Every chart has a sentence that states its finding |
| Content over interface | The verdict strip comes before any chart |

The dashboard reads top to bottom: verdict → pipeline → action items → money (aging, leaderboard) → schedule, with the activity feed beside it. Queues at zero collapse into one line. Each number has a unit and a data date. Never: gauges, pie charts with more than three slices, animated counters, auto-rotating carousels.

## 9. Data visualisation

| Job | Form | Not |
|---|---|---|
| Part of a total (A/R aging) | Single stacked bar + table | Pie, donut with many slices |
| Rank (leaderboard) | Horizontal bars, sorted | Vertical columns with rotated labels |
| Change over time | Line or column | Area stacks with more than three series |
| Progress (collected) | Ring with caption, or bar | Gauge |

Series colours come from the data-viz set in fixed order. Red is reserved for the one series that needs action (e.g. over 90 days). Labels go on the data, not in a legend, when there are three series or fewer. Every chart has a table alternative.

## 10. Infographics, one-pagers, brochures, slides, documents

In scope only as **printed work orders and invoices** (office laser print, US Letter, 0.5in margins, Inter, the full-colour logo top-left, black text, a navy rule, no red except "Past due"). Brochures and slides are out of scope for v1 (confirmed). Pre-flight: logo from the SVG master, totals in tabular figures, the page number and job number on every page.

## 11. Swag and physical objects

Out of scope for APP2 v1 (confirmed). Three concept renders show the logo on job-site objects so the masters can be checked in context. They are AI RENDER · CONCEPT: the model's lettering is never sent to a vendor, and vendors get the SVG masters.

![Yard sign with the Pro Exteriors logo (AI render, concept)](media/mockups/yard-sign.png)

![Crew truck door decal (AI render, concept)](media/mockups/truck-door.png)

![Hard hat with logo decal (AI render, concept)](media/mockups/hard-hat.png)

Keep: yard sign (logo faithful). Change: the truck render re-draws the roof slightly, so check against the master before any vehicle wrap. Keep: hard hat (second attempt; the first re-lettered the logo and was rejected).

## 12. Imagery, illustration and alt text

**Photography rules:** real Pro Exteriors work on Kansas and Texas sites, commercial membrane and residential shingle, crews in real PPE (hard hats, hi-vis, harnesses on pitched roofs). Light is natural daylight with a neutral grade: clean whites, cool slate shadows, no golden-hour orange. No posed handshakes, no stock smiles. Screens shown on devices carry the real APP2 screens, never invented UI.

**AI imagery policy:** every generated image is labelled AI RENDER · CONCEPT wherever it is shown outside the team, is never presented as a real site, crew or customer, and has its prompt, model and hash in `media/prompt_log.json`. Real job photography replaces renders as it is collected.

![Photography contact sheet (AI renders, concept)](media/contact-photography.png)

![Device and object mockups (AI renders, concept)](media/contact-mockups.png)

**Alt text:** decorative images get `alt=""`. Informative images get 125 characters or fewer and lead with what matters. Functional images state the action. Charts state the finding and link a table. AI renders say "AI render, concept". Icons next to a label are `aria-hidden`.

## 13. Accessibility, motion and interaction states

Target: WCAG 2.2 AA. The minimums: text contrast 4.5:1 (all text tokens pass on their surfaces; text-faint is for large text only), non-text 3:1 (milestone rings, focus ring, input borders), never colour alone (milestones lettered, statuses with icons, priorities with words), keyboard reach for every action, focus visible, 44px targets on mobile, `prefers-reduced-motion` honoured, 200% zoom and 320px reflow.

Testing: axe on every template, keyboard-only pass, VoiceOver pass on the job page, and the review checklist in chapter 15.

## 14. Voice and content

**Voice in one line: plain, direct and calm, with the number first.**

| Attribute | In practice |
|---|---|
| Plain | "Send the order by Wednesday", not "Material procurement action required" |
| Direct | Name the owner and the date |
| Respectful | No blame in system copy ("Payment not linked yet", not "You forgot") |
| Calm under pressure | No exclamation marks, no all-caps alerts |
| Numbers-first | "72 overdue invoices · $214,980", not "There are many overdue invoices" |

**Use:** job, lead, prospect, approved, completed, invoiced, closed, crew, squares, balance due, overdue. **Avoid:** AccuLynx, AccuFi, synergy, cutting-edge. **Canonical line:** #BuiltOnFaith is for marketing only, never in app chrome. Numbers: dollars as whole dollars in lists and cents on financial screens, thin space before units, dates as "Nov 25", durations as "6 d" in tables and "6 days" in prose. Sentence case everywhere. Uppercase only on kickers, via CSS.

## 15. Governance

**Source of truth:** `tokens/tokens.json` → `color_system.py` → `tokens.css`; `derive_semantic.py` → `semantic.css`; `icons/icon-spec.json` → `build_icons.py`; `templates/app/src` → `build.py`. Generated files are never hand-edited.

**Versioning:** major means a core colour, typeface or logo change; minor means tokens or surfaces added; patch means corrections. **Change process:** open a PR in `Clvrwrk/app2-design-system`, re-run the generators, attach before and after renders, and get Chris's approval for anything that touches a brief decision.

**Review checklist (every surface):** one question answered at the top · ladder in order · every number with unit, source, date and tier · one red moment per view · tokens only · type from the scale · contrast pairs from the matrix · charts by job with a table alternative · alt text per chapter 12 · keyboard, focus, reduced motion, zoom, reflow · logo from the SVG master · copy free of avoided words.

**Defect classes.** Blocking: contrast failure, colour-only status, red text under 4.5:1, a number without a unit or source, an AI render shown as real. Major: off-token colour, a second red action, the wrong font. Minor: casing, one off-grid value.

**Open items (v1.0):**
- Chris to approve the traced logo against the raster (`logo/trace/compare.png`), or supply the designer's original vector.
- The app icon (navy tile, white roof, red bar) is a proposal.
- Icons `handshake` and `drone` are weak at 16px; redraw in v1.1.
- Truck-door render redraws the roof slightly; check before any wrap.
- Real job photography to replace AI renders.
- Mobile (390px) screens and role homes to be rendered in v1.1 from the V5 mobile reference.

**Changelog:** 1.0, Nov 22, 2026: first release.

## 16. Motion library

Motion is a signal, never decoration. Tokens: fast 120ms, base 200ms, slow 320ms, ease-out `cubic-bezier(.16,1,.3,1)`, ease-in-out `cubic-bezier(.65,0,.35,1)`. Source: `tokens/motion.css`.

| Motion | What moves | Duration · easing | Where | Reduced motion |
|---|---|---|---|---|
| pulse | Live dot opacity | 2200ms loop | Talk to AI recording, sync dot | Static dot |
| hover | Colour, border | 120ms out | Buttons, rows | Instant |
| arrow | Trailing arrow, 3px | 120ms out | Links with arrows | None |
| enter | 4px rise + fade | 200ms out | Menus, tooltips | Instant |
| sheet | Drawer slides in | 320ms in-out | Evidence drawer, mobile sheets | Instant |
| toast | 8px rise | 200 / 120ms | Toasts | Instant |
| shimmer | Gradient sweep | 1600ms loop | Loading rows | Static grey |
| count | Fade 40→100% | 200ms | Changed values | Instant |
| stage | Ring flash once | 640ms | Milestone advanced | None |

Never: chart draw-ins, parallax, carousels, page slides, numbers that count up, bounce.

## 17. Custom icon library

70 icons drawn for Pro Exteriors' work on a 24px grid with a 1.75px stroke, round caps and joins: 34 UI, 5 status, 31 topic (roofs, shingles, membrane, metal roof, gutters, siding, ladder, hard hat, crew truck, drone, hail, tape measure, roof squares, estimate, contract, work order, invoice, payment, balance due, inspection, warranty, insurance claim, material delivery, dumpster, permit, photos, pipeline, lead, prospect meeting, production schedule). Every icon has three versions:

- **mono** (`icons/pe-icons.svg` sprite): `currentColor`, the default in UI.
- **duo** (`icons/pe-icons-duo.svg`): navy primary, red secondary on the part that carries the meaning. Treat one duo icon as the view's red moment.
- **motion** (`icons/motion/`): the meaningful part moves (the truck nudges, the check draws, the hail falls), paused by default, played on hover or event, and stopped under reduced motion.

Usage: `<svg class="pe-icon" aria-hidden="true"><use href="pe-icons.svg#pe-gutter"/></svg>`. To add an icon, draw it in `icons/make_spec.py`, rebuild, check at 16px on light and dark, and confirm lint is clean.

![Icon library, duo on light](icons/contact-duo-light.png)

![Icon library at 16, 20 and 24px](icons/contact-sizes.png)

## 18. Social library

Out of scope for APP2 (confirmed, round 1). Pro Exteriors' social presence follows the marketing site. If APP2 screenshots are ever shared publicly, use sample data only and the "Sample data" pill.

## 19. Advertising library

Out of scope for APP2 (confirmed, round 1).

## 20. Email

APP2 sends **notification email** (assignments, @mentions, overdue reminders, invoice emails). Anatomy: a white 600px table-based body, the full-colour logo at 160px wide, one sentence stating what happened, the job number and name, one red button for the one action, and a plain-text twin. Inline styles only, Inter with an Arial fallback, 16px body. Subjects state the job and the action ("WI-1052 · Materials need ordering by Wed"). Never more than one red element per email. Test in Outlook, Gmail and Apple Mail, light and dark, before release.
