@valiify/dashboard-ui 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +211 -3
  2. package/COMPONENTS.md +39 -31
  3. package/README.md +1 -1
  4. package/class-manifest.json +97 -4
  5. package/design-methodology/dashboard.md +676 -308
  6. package/dist/dashboard-ui.css +495 -124
  7. package/dist/index.css +191 -124
  8. package/package.json +2 -2
  9. package/src/components/button.css +11 -10
  10. package/src/components/checkbox.css +4 -2
  11. package/src/components/checklist-group.css +9 -2
  12. package/src/components/composer.css +11 -9
  13. package/src/components/divider.css +1 -1
  14. package/src/components/dropdown-field.css +30 -18
  15. package/src/components/dropdown-menu.css +6 -4
  16. package/src/components/filter-segment.css +2 -1
  17. package/src/components/finding-card.css +4 -1
  18. package/src/components/funding-status.css +3 -2
  19. package/src/components/funding-total.css +6 -2
  20. package/src/components/funding-transaction.css +21 -3
  21. package/src/components/input.css +60 -21
  22. package/src/components/link.css +6 -2
  23. package/src/components/loading-indicator.css +5 -5
  24. package/src/components/menu-item.css +85 -15
  25. package/src/components/modal.css +2 -2
  26. package/src/components/navigation-rail.css +12 -2
  27. package/src/components/pill.css +3 -2
  28. package/src/components/recipient-input.css +4 -4
  29. package/src/components/section-marker.css +4 -3
  30. package/src/components/sensitive-data.css +8 -4
  31. package/src/components/tabs.css +4 -5
  32. package/src/components/tag.css +11 -7
  33. package/src/components/textarea.css +38 -18
  34. package/src/components/toast.css +12 -9
  35. package/src/components/tooltip.css +4 -1
  36. package/src/utility-surface.css +93 -1
  37. package/types/components.d.ts +2 -1
@@ -1,92 +1,138 @@
1
- # Dashboard surface — page composition methodology (hybrid1)
1
+ # Dashboard surface — page composition methodology
2
2
 
3
- **Status:** v1.0 · 2026-09-10 · extracted from Figma `FdcEV83HPv44bzLPAQU1hR` (Valiify-Dashboard-Component-Library) and reconciled against `@valiify/dashboard-ui`. This file holds current rules only. There is no companion decision-history file: `dashboard-decisions.md` was referenced here from the first revision but has never existed in this repo, and `@valiify/shortapp-ui` has no equivalent either — its `design-methodology/` holds only `applicant-portal.md` and `short-app.md`. Decision history, frame↔library deltas and resolved items currently live in CLAUDE.md's per-component notes and in CHANGELOG.md.
4
- **Scope:** how pages on the reviewer/operator surface are *assembled* from library components. Not a component spec — the module shell, field-verification states, override row and audit-log row are documented in the component library and are only referenced here. Component classes named here are the library's; their full specifications, states and markup live in the library's `CLAUDE.md`.
3
+ **Status:** v2.0 · 2026-11-22 · rewritten for the review-surface redesign (Application, Findings panel, KYC, Documents, Rules, Activity) and for `@valiify/dashboard-ui` 0.7.0. Source of the rules: the approved Figma frames in `FdcEV83HPv44bzLPAQU1hR` (Valiify-Dashboard-Component-Library), the designer's "Dashboard design methodology" (2026-11-22), and the library as shipped. v1.0 (2026-09-10, "hybrid1") described the earlier review shell — a 320 summary rail and an 1100 column; that shell is retired for new pages. The queue and CMS shells (§1.3, §1.4) are carried over from v1.0 unchanged, because their frames were not redrawn. This file holds current rules only; decision history is in the library's `CLAUDE.md`, `CHANGELOG.md` and `docs/designer-list.md`.
4
+ **Scope:** how pages on the reviewer/operator surface are *assembled* from library components. Not a component spec: classes named here are the library's, and their full specifications, states and markup live in the library's `CLAUDE.md`. Every component in §10 is named three ways — its Figma node, its package class and its job on this surface — so a designer, a developer and an agent are pointing at the same thing.
5
5
 
6
6
  ## 0. Conventions
7
7
 
8
- **Sources.** 17 linked Figma frames plus the three queue-state frames inside section `693:23214`. Measured values come from the Figma MCP; PNG exports were used only for whole-page composition judgments. `User Management` is held out and was not opened. Every value is expressed in the vocabulary of `@valiify/dashboard-ui` — `src/themes/valiify.css` (the generated token set), `src/components/*.css` (41 components) and `CLAUDE.md`. Where a frame and the library disagree, the library value is the rule and the frame is to be updated in Figma.
8
+ ### 0.1 Principles
9
9
 
10
- **Value notation.** Utility first, with the token and hex in parentheses on first mention in a section — `vd:bg-surface-frame` (`--color-surface-frame`: #f0f3f7) — then utility alone. Components are named by class: `.vd-data-row`, `.vd-tab vd-tab-chip`. Spacing has no tokens by design; Tailwind's scale is the token (4px → `1`, 8px → `2`, 16px → `4`, 28px → `7`); half-pixels take arbitrary values (`vd:py-[12.5px]`). A value that has no token yet is written raw and marked `[raw — planned, §12]`; the token or variant is a decided library addition and the raw value is the rule only until it ships. This document does not invent token names.
10
+ The dashboard should feel calm, organised and hand-made. Every change is judged against these eight, and each later section is one of them applied.
11
11
 
12
- Type utilities (`vd:text-body-dense`, `vd:text-supporting-caption`, …) carry size, line-height, weight and tracking but **not** font-family or text-transform: monospace roles need `vd:font-mono` alongside (`vd:text-data-compact vd:font-mono`), and uppercase labels use the bundled `type-label-*` utilities rather than bare `text-label-*`.
12
+ 1. **Swiss structure, Japanese ma, MUI softness.** Organised and natural, never brutalist. No heavy black rules, square corners or solid black controls. Space does the separating; hairlines only where needed. (§1, §4)
13
+ 2. **Reduce before adding.** The review pages are too busy by default. A change should remove something, merge two things or say something once. Documents is the reference for "reduced enough". (§3)
14
+ 3. **Evaluation and action, not data display.** The page exists so a reviewer can judge and act. Actions sit on the row or item they affect, as quick inline decisions, instead of in separate lists, modals or pages. (§5)
15
+ 4. **One place for what blocks approval.** Findings, checklist items and limits all live in the Findings panel. No "Needs attention" list, no blocking modal, no separate review mode. (§2.1)
16
+ 5. **Never hide data.** A workflow or step view can guide, but the full record is always reachable on the same surface. (§3)
17
+ 6. **Consistency beats novelty.** If the system already shows something one way, use that way. A new container, row style, filter or marker needs a reason that applies to more than one page. (§5, §9)
18
+ 7. **Every line should read on its own.** A reviewer should know what is wrong from the collapsed line, without opening it. (§3, §8)
19
+ 8. **External inspiration only lightly.** Linear, Claude and others can inform a detail. Copies, or anything that looks AI-generated, get rejected. (§9.2)
13
20
 
14
- **Closed set and the scanner.** `dist/dashboard-ui.css` ships only the utilities this document cites, and Tailwind's scanner only sees **complete literal strings**: a class assembled at runtime — `vd:h-control-${step}`, `` `vd-btn-${size}` `` — is never compiled and renders as nothing, silently. Spell every utility and every modifier out in full where it is used (the Control Heights Foundations story rendered five 16px boxes on its first run for exactly this reason). A name that is never written never ships.
21
+ ### 0.2 How a change is made
15
22
 
16
- **Rule format.** `rule` → **Evidence:** node ids / screen names → **Confidence:** high / medium / low. Open items are collected in §13.
23
+ A change moves through the same steps every time, and nothing reaches Figma until it has been seen working. The library and this file are the last two steps, not the first.
17
24
 
18
- **Screen inventory.**
25
+ 1. **Explore on the canvas first.** Concepts go on the design canvas, one board per idea, placed beside related boards. Variants must differ in approach; a rearranged copy of the same layout is not a new concept. Application concepts always show collapsed and expanded.
26
+ 2. **Prototype what needs to be felt.** Anything with interaction — zoom, scrolling, selection, menus, dialogs, timing — gets a clickable prototype built from real system patterns before it is approved.
27
+ 3. **Review and narrow.** The designer approves, adjusts or rejects. When something seems off, ask one question; do not produce more variants.
28
+ 4. **Update Figma in place.** Edit the existing frames, then place each additional state beside them. Never rebuild a page as a copy.
29
+ 5. **Cover every state.** Default, hover, open, selected, empty, loading or running, error or failed, confirmation, success message, and Onyx. A page is not ready for development until its states exist as frames (§6.6).
30
+ 6. **Write the ticket.** Simple scope and plain bullet acceptance criteria for experienced developers, no pixel sizes, and Figma links only to the frames in scope. The prototype is linked for behaviour. The Application section is grouped this way in the file (§0.5).
31
+ 7. **Audit after every sweep.** A change to a shared component ripples. Check every page that uses it, because items often get missed.
32
+ 8. **Take the gaps to the library, then update this file.** A part a page needs and the library lacks becomes library work — a new component, or a variant or property on an existing one — never page-level styling. The 2026-11 redesign followed this loop: the Application page was built once from the library as a test; everything it had to work around was listed as a library bug, a difference between a shipped component and the frames, a missing part, or a difference on the page itself; 0.6.0 and 0.7.0 closed that list (36 new components); the page was rebuilt with no workarounds; and this file was rewritten from the result. A rule appears here only once the library can express it; what it cannot yet express is in §12 (decided, with an interim class) or §13 (open — a stop).
33
+
34
+ ### 0.3 What wins when sources disagree
35
+
36
+ - **Composition and language: the approved design wins.** Which sections a page has, where an action sits, which marker a state takes and what a line says come from the approved frames and from §2–§9.
37
+ - **Values: the library wins.** A colour, type style, height, radius or gap comes from `@valiify/dashboard-ui` — `src/themes/valiify.css` (the generated token set), `src/components/*.css` (77 components) and `CLAUDE.md`. Where a frame and the library disagree on a value, the library value is the rule and the difference goes on `docs/designer-list.md`.
38
+ - **Where a shipped component lags an approved decision** (the Funding row's worded status, §12), a page composes the approved form from shipped parts only if §11 or §12 gives the recipe. Otherwise it is a stop.
39
+ - **Both themes are in scope.** Every colour is a token with a Light and an Onyx value; a page that is correct in Light and unread in Onyx is not finished. Onyx is `data-theme="onyx"` on `<html>` or a subtree.
40
+
41
+ ### 0.4 Value notation
42
+
43
+ Utility first, with the token and hex in parentheses on first mention in a section — `vd:bg-surface-frame` (`--color-surface-frame`: #f0f3f7) — then utility alone. Hex values are Light; the Onyx value is the token's. Components are named by class: `.vd-data-row`, `.vd-tab vd-tab-chip`. Spacing has no tokens by design; Tailwind's scale is the token (4px → `1`, 8px → `2`, 16px → `4`, 24px → `6`); half-pixels take arbitrary values (`vd:py-[12.5px]`). A value that has no token yet is written raw and marked `[raw — planned, §12]`; the raw value is the rule only until the addition ships. This document does not invent token names.
44
+
45
+ Type utilities (`vd:text-body-dense`, `vd:text-supporting-caption`, …) carry size, line-height, weight and tracking but **not** font-family or text-transform. Monospace roles need `vd:font-mono` alongside (`vd:text-data-compact vd:font-mono`). No text style carries a transform and the library has no casing utility: caps are typed into the string where Figma types them.
46
+
47
+ **Closed set and the scanner.** `dist/dashboard-ui.css` ships only the utilities this document cites, and the generator only sees **complete literal strings**: a class assembled at runtime — `vd:h-control-${step}`, `` `vd-btn-${size}` `` — is never compiled and renders as nothing, silently. Spell every utility and every modifier out in full where it is used. A name that is never written never ships. The reverse also holds: removing a citation from this file removes the utility from the next bundle, which is why Appendix B keeps the v1.0 spellings that pages already in production use.
48
+
49
+ **Rule format.** `rule` → **Evidence:** Figma node ids / frame names → **Confidence:** high / medium / low. A rule from the designer's methodology with no measured value is cited as *designer methodology 2026-11-22*. Open items are collected in §13.
50
+
51
+ ### 0.5 Screen inventory
52
+
53
+ Pages are designed at 1920 wide. Node ids are in file `FdcEV83HPv44bzLPAQU1hR`; a frame URL is `https://www.figma.com/design/FdcEV83HPv44bzLPAQU1hR/?node-id=<id with - for :>`.
54
+
55
+ **Review surface (redesigned 2026-11) — page `Dashboard` (1857:94808)**
56
+
57
+ | Page | Section | Frames |
58
+ |---|---|---|
59
+ | Application | 1857:94809, grouped by ticket | **Ticket 2 · App shell and left navigation** (2141:39317): C2 nav collapsed to rail 2016:50507 · C3a nav hidden 2027:31797 · C3b hidden, hover left edge (peek) 2016:50646 · C5 small window (1280) 2016:50924 · C6 sidebar menu open 2215:84950 · D5 account menu, dark-mode toggle 2016:51619 |
60
+ | | | **Ticket 3 · Application page** (2141:39318): A0 collapsed 1857:94810 · A0 expanded 1857:95062 · B1 funding pending 2016:49673 · B2 refund confirm 2016:49812 · B3 add funds 2016:49951 · B4 funding failed 2016:50090 · B5 editing Business 2016:50229 · B6 expanded, funded 2023:29209 |
61
+ | | | **Ticket 4 · Findings panel** (2141:39320): F1 default 2145:39587 · F2 finding open, choosing 2145:40635 · F3 requesting 2145:41481 · F4 after acting 2145:42732 · F5 checklist group open 2145:43655 · F6 item skipped 2145:44637 · F7 ready to sign off 2145:45888 · F8 signed off 2145:47145 · F9 Documents group 2145:48202 · F10 all clear 2145:49294 · F11 panel collapsed 2016:50368 |
62
+ | | | **Ticket 5 · Header: actions, lifecycle states, assign** (2141:39319): A1 new, not submitted 2016:48839 · A2 waiting on applicant 2016:48978 · A3 approved and booked 2016:49117 · A4 declined 2016:49256 · A5 withdrawn 2016:49395 · A6 expired 2016:49534 · D1 ellipsis menu 2016:51063 · D2 Run KYC submenu 2016:51202 · D3 assign, search 2016:51341 · D4 assign, filtered 2016:51480 |
63
+ | | | **Ticket 6 · Comments panel** (2141:39321): CM1 list 2016:50785 · CM2 none yet 2147:79284 · CM3 writing 2147:80291 · CM4 tagged to a section 2147:81185 · CM5 could not post 2147:82079 · CM6 just posted 2147:82973 |
64
+ | KYC | 1857:100586 | KYC 1857:110835 · expanded 1857:112288 · not verified yet 1937:44319 · re-run, re-check 2212:80298 · re-run, new ID and selfie 2212:80449 · re-running 2212:80602 · re-run finished 2212:81450 · waiting on a new ID and selfie 2212:81732 · board **KYC Components** 1925:12994 |
65
+ | Documents | 1857:100837 | Documents 1857:114000 · all requested 1937:49204 · archived open 2139:68659 · card menu and pulls 2139:70500 · re-pull, one subject 2162:56814 · re-pull, choose people 2162:56930 · remind, confirm email 2162:57086 · upload, choose files 2162:57203 · upload, new document 2162:57352 · upload, answers a request 2162:57513 · request a document 2162:57689 · request, other document 2162:57861 · preview, uploaded file 2162:58043 · preview, report 2162:58178 · reminder sent 2162:58327 · move to section 2162:58773 · focused on one person 2162:71814 · board **Documents Components** 1922:12564 |
66
+ | Rules | 1857:101140 | Rules 1857:115558 · not run yet 1937:47236 · everyone 2171:71985 · owner selected 2171:72039 · rule open 2171:72093 · hover, override 2171:72147 · override, reason needed 2171:72201 · reason entered 2171:72255 · overridden, undo 2171:72309 · overridden rule open 2171:72363 · remove override 2171:72417 · failed filter 2171:72471 · passed open 2171:72525 · re-run confirm 2171:72579 · re-running 2171:72633 · board **Rules Components** 1920:43105 |
67
+ | Activity | 1857:101440 | Activity 1857:119856 · owners, event selected 2138:37243 · focus one person 2155:53473 · day zoom, scrolling 2155:54671 · hour zoom, event selected 2155:55901 · board **Activity Components** 1917:12011 |
68
+ | KYB | — | **not redrawn — unverified** (§2.4) |
69
+
70
+ **Carried over from v1.0 (hybrid1 frames, not redrawn)**
19
71
 
20
72
  | Archetype | Node | Frame name | State / role |
21
73
  |---|---|---|---|
22
- | Detail / review | 533:13959 | Application Container | Application tab, collapsed, owner ⋯ menu open |
23
- | Detail / review | 408:11201 | Application Expand | Application tab, all modules expanded (1920×3997) |
24
- | Detail / review | 549:13911 | Container | KYB tab, collapsed |
25
- | Detail / review | 383:8701 | KYB Expanded | KYB tab, expanded (1920×2336) |
26
- | Detail / review | 534:16879 | KYC Collapsed | KYC tab, collapsed |
27
- | Detail / review | 383:7815 | Main Screen | KYC tab, expanded (1920×2338) — frame name misleading |
28
- | Detail / review | 533:15689 | Documents | Documents tab, collapsed |
29
- | Detail / review | 480:9026 | Documents | Documents tab, expanded incl. e-sign envelopes (1920×2305) |
30
- | Detail / review | 534:17372 | Top Container | Rules tab, first critical rule expanded with override form |
31
- | Detail / review | 549:15099 | Rules | Rules tab, full (1920×2775) |
32
- | Detail / review | 533:14548 | Activity | Activity tab |
33
74
  | Queue | 693:25606 | Application List | filters open (Filter dropdown + Status menu) |
34
- | Queue | 693:22560, 705:27038, 705:27460 | Application List | queue-state variants (no PNGs) |
75
+ | Queue | 693:22560, 705:27038, 705:27460 | Application List | queue-state variants |
35
76
  | CMS builder | 753:22560 | Email | template index + preview |
36
77
  | CMS builder | 782:33269 | Build | template editor |
37
78
  | CMS builder | 777:31311 | Recipients | send wizard, step 1 |
38
79
  | CMS builder | 778:32145 | Review & Send | send wizard, step 2 |
39
- | Business profile | — | — | **no screens provided, unverified** |
40
- | Funding review | — | — | **no screens provided, unverified** |
41
- | Settings & user management | — | — | **no screens provided, unverified** (Figma page exists, held out) |
42
- | Reporting | — | — | **no screens provided, unverified** |
80
+ | Business profile · Settings & user management · Reporting | — | — | **no screens in scope — unverified** (§2.4) |
81
+
82
+ **The component library — page `Components` (0:1)**, numbered sections in one column: 00 · Tokens 2220:114216 · 01 · Foundations 2047:67020 · 02 · Actions & controls 2047:67021 · 03 · Inputs & forms 2047:67022 · 04 · Navigation 2047:67023 · 05 · Menus & overlays 2047:67024 · 06 · Record & data display 2047:67025 · 07 · Findings & review 2047:67026 · 08 · Funding 2047:67027 · 99 · Reference & explorations 2047:67028. §10 follows the same order.
43
83
 
44
84
  ---
45
85
 
46
86
  ## 1. Layout skeleton
47
87
 
48
- There are **three shells**, not one. They share a chrome vocabulary (canvas, floating workspace card, 48px breadcrumb bar, hairline seams) but differ in rail width, presence and width of a right rail, and where the persistent actions live.
88
+ There are **three shells**. They share a chrome vocabulary (canvas, a floating paper surface, a breadcrumb bar, hairline seams) but differ in what sits beside the content. Every page uses the same frame, column and section rules, so pages line up with each other.
49
89
 
50
90
  ### 1.1 Shared chrome (all archetypes)
51
91
 
52
- - The page is a flat canvas `vd:bg-surface-frame` (`--color-surface-frame`: #f0f3f7) with one floating **workspace card**: `vd:bg-surface-paper` (`--color-surface-paper`: #ffffff), stroke `vd:border vd:border-[length:var(--border-thin)] vd:border-stroke-divider` (`--border-thin`: 0.5px · `--color-stroke-divider`: #141428 @8%), `vd:rounded-surface` (`--radius-surface`: 8px), drop shadow `0 4 4 #000 @8%` `[raw — planned, §12]`, inset `vd:py-2` (8px) top and bottom (card is 1064 tall in a 1080 viewport). **Evidence:** 533:13962, 693:25609, 782:33272. **Confidence:** high.
53
- - A **nav rail** sits left of the card, outside it, on the canvas. It is the library's `.vd-nav-rail` (`.vd-nav-rail-collapsed` for the narrow state). Collapsed rail = 60 (`.vd-nav-item-collapsed` 44px icon column `vd:w-11` + the rail's `vd:px-2` each side); expanded rail = 240 (224 + `vd:px-2`). Rail items are `.vd-nav-item` at 32 (`vd:h-8`) on a 4px grid; the collapse toggle / `.vd-nav-title` is 46 (`vd:h-11.5`) at the top; section headers are `.vd-nav-group` at 26 (`vd:h-6.5`); Settings and Collapse are pinned to the bottom in `.vd-nav-rail-footer` (64 block). **The rail state is the user's, not the page's** — any page may show either width; the workspace card absorbs the 180px difference. **Evidence:** 788:35712 (60), 782:33271 (240), I789:35990;728:20529; designer decision. **Confidence:** high.
54
- - First row inside the card is always a **48px bar**: `vd:h-12 vd:py-2.5 vd:px-4` (10/16), bottom hairline `vd:border-b vd:border-b-[length:var(--border-thin)] vd:border-stroke-divider`. Left: `.vd-breadcrumbs` (`vd:text-body-dense`, 13px — the migrated component). Right: page-level actions. **Evidence:** 533:13963, 782:33273, 693:25610 (the queue uses the 48 bar for filters instead — §1.3). **Confidence:** high.
55
- - Every region boundary is a **hairline** — `--border-thin` (0.5px) in `stroke-divider` (#141428 @8%) — never a solid divider, never a filled band. Seams appear as bottom-strokes on the region above (header bar, tab row, module Display, rail cards) or as a left-stroke on the summary rail; write them side-specific (`vd:border-b vd:border-b-[length:var(--border-thin)]`), because `border-[length:…]` alone sets all four sides. Chrome paints the 0.5px stroke as a full 1px and it adds to the box, so bordered regions are sized with `height`, not `min-height`. The standalone `.vd-divider` component is a 1px `vd:bg-stroke-divider` background rule by design, not a border — §2.1 for where it applies. **Evidence:** 533:13963, 533:13978, 533:14065, 533:14073, Rules Display frames. **Confidence:** high.
56
- - Text is never placed against the canvas. All content lives inside the workspace card; the canvas is only a gutter. **Evidence:** every frame. **Confidence:** high.
57
- - Every interactive element takes the library-wide `vd:focus-ring` on `:focus-visible` — 2px `Primary/Main` (`--ring-focus-width` · `--ring-focus-color`) with a negative offset so the ring's outer edge is the control's outer edge. The frames draw no focus states; this is a library rule the page inherits. **Confidence:** high (library).
92
+ - The page is a flat canvas `vd:bg-surface-frame` (`--color-surface-frame`: #f0f3f7) carrying one floating paper surface, `vd:bg-surface-paper` (`--color-surface-paper`: #ffffff), `vd:rounded-surface` (`--radius-surface`: 8px), with a hairline edge in `vd:border-stroke-divider` (`--color-stroke-divider`: #141428 @8%). On the review shell that surface is the **sheet**, inset 6 from the canvas (§1.2); on the queue and CMS shells it is the v1.0 workspace card (§1.3, §1.4). **Evidence:** 1857:94810; 693:25609, 782:33272. **Confidence:** high.
93
+ - **The left navigation sits outside the paper surface, on the canvas, and has three states, all the user's choice and never the page's:** expanded (240 — `.vd-nav-rail vd-nav-rail-sidebar`, a 224 column inside `vd:px-2`), collapsed to icons (60 — the same rail with the `-collapsed` parts: `.vd-nav-title-collapsed`, `.vd-nav-group-collapsed`, `.vd-nav-item-collapsed`, `.vd-nav-session-collapsed`, `.vd-nav-user-collapsed`), or hidden (the native `hidden` attribute). Hidden **peeks**: pointing at the left edge floats the expanded rail over the page (`.vd-nav-rail-peek`) above a darker backdrop (`.vd-overlay-scrim`). A quiet toggle in the header opens a menu to choose between the three. The paper surface absorbs the width difference. **Evidence:** C2 2016:50507, C3a 2027:31797, C3b 2016:50646, C6 2215:84950; Nav Sidebar 2045:39747, Nav Rail 728:20677. **Confidence:** high.
94
+ - **The rail's contents, top to bottom:** `.vd-nav-title` (46), then `.vd-nav-rail-actions` (`.vd-nav-jump` over `.vd-nav-split`), sections of `.vd-nav-section-header` or `.vd-nav-group` over `.vd-nav-item` rows (32) and `.vd-nav-session` rows (43), and `.vd-nav-user` (44) pinned to the bottom. Give the rail a height: its own height is 100%, so in an auto-height parent the footer stops being bottom-pinned. **Evidence:** 2045:39747, 1663:43012–1663:43061, 2042:36234. **Confidence:** high.
95
+ - **Both side seams can be resized** with `.vd-resize-handle` (a `role="separator"` with a value; click collapses, drag resizes, arrow keys resize). The widths are the user's and the host application's state. **Evidence:** Resize Handle 2053:96322; C5 2016:50924. **Confidence:** high.
96
+ - **Every region boundary is a hairline** — `--border-thin` (0.5px) in `stroke-divider` — never a solid divider, never a filled band. Seams are bottom-strokes on the region above or a left-stroke on a side region; write them side-specific (`vd:border-b vd:border-b-[length:var(--border-thin)] vd:border-stroke-divider`), because `vd:border-[length:var(--border-thin)]` alone sets all four sides. Chrome paints the 0.5px stroke as a full 1px and it adds to the box, so bordered regions are sized with `height`, not `min-height`. The standalone `.vd-divider` is a 1px `vd:bg-stroke-divider` background rule by design, not a border. **Evidence:** every frame; library `CLAUDE.md` (border widths). **Confidence:** high.
97
+ - **Header and tabs stay fixed; only the content scrolls.** Scroll regions that are not the page take `.vd-scrollbar` — a subtle 6px thumb (`Overlay/Scrollbar`). **Evidence:** A0 expanded 1857:95062 (1920×3653 frame, fixed header); Scrollbar 2038:33066. **Confidence:** high.
98
+ - Text is never placed against the canvas. All content lives inside the paper surface; the canvas is only a gutter. **Confidence:** high.
99
+ - Every interactive element takes the library-wide `vd:focus-ring` on `:focus-visible` — 2px `Primary/Main` with a negative offset so the ring's outer edge is the control's outer edge. The frames draw no focus states; this is a library rule the page inherits. **Confidence:** high (library).
58
100
 
59
101
  ### 1.2 Detail / review shell
60
102
 
61
103
  ```
62
- ┌ canvas #f0f3f7 ───────────────────────────────────────────────────────────────┐
63
- │ rail │┌ workspace card (1852 wide when rail=60) ────────────────────────────┐│
64
- │ 60 ││ 48 breadcrumb ‹ Applications / Entity / #ID · Product ⋯ Reject Approve ││
65
- │ │├─────────────────────────────────────────────┬────────────────────────┤│
66
- │ ││ 40 tab row Application KYB KYC Docs Rules Activity │ 32 Summary Comments Activity ⧉ ││
67
- │ ││ 40 (optional) sub-toolbar: filter chips … right small buttons │ ││
68
- │ ││ │ 320 summary rail ││
69
- │ ││ 216 │◄────── 1100 content column ──────►│ 216 (fixed, scrolls ││
70
- │ ││ │ 140 label │ 960 display (28 pad) │ independently) ││
71
- │ ││ │ ││
72
- │ ││ 1532 main (scrolls) │ ││
73
- │ │└─────────────────────────────────────────────┴────────────────────────┘│
74
- └───────────────────────────────────────────────────────────────────────────────┘
104
+ ┌ canvas · Surface/Frame ────────────────────────────────────────────────────────────────┐
105
+ │ nav │┌ sheet · Surface/Paper · inset 6 · hairline edge ─────────────────────────┐ │
106
+ │ 240 / 60 ││ 52 ▤ ‹ Applications / Entity / #ID · Product Assignee ⋯ Decline Approve │
107
+ │ / hidden │├────────────────────────────────────────────────┬─────────────────────────┤ │
108
+ │ ││ 40 chip tabs Application KYB KYC Documents … │ 40 panel tabs ⧉ │ │
109
+ │ ││ │ │ │
110
+ │ ││ gutter │ content column │ Findings panel │ │
111
+ │ ││ 112 │ ≤ 960 wide, crunches to 820 │ 360 default · 280 min │ │
112
+ │ ││ title │ sections → rows → one status column │ Status │ │
113
+ │ ││ + line │ │ Findings │ │
114
+ │ ││ │ (only this region scrolls) │ Checklist │ │
115
+ │ ││ │ │ Resolved (pinned) │ │
116
+ │ │└────────────────────────────────────────────────┴─────────────────────────┘ │
117
+ └────────────────────────────────────────────────────────────────────────────────────────┘
75
118
  ```
76
119
 
77
- - **Main/rail split is fixed at 1532 / 320** — `vd:w-[1532px]` / `vd:w-80`. The rail has a left hairline (`vd:border-l vd:border-l-[length:var(--border-thin)] vd:border-stroke-divider`) and does not shrink; it is not a card, it is a region. **Evidence:** 533:13977 (1532), 533:14065 (320, left stroke 0.5). **Confidence:** high.
78
- - **Content column is 1100 wide, centered in main** — `vd:w-[1100px] vd:mx-auto`. Left offset is 216 = (1532 − 1100)/2; the main container has `vd:py-3 vd:px-10` (12/40) padding but the column ignores the 40 and centers. The 216 gutter is empty — the *margin column* is inside the 1100, not the gutter. **Evidence:** 533:13985 (pad 12/40/12/40), every module at x=216 w=1100. **Confidence:** high.
79
- - **When the summary rail is collapsed, main becomes the full card width and the 1100 column re-centers in it.** The column never stays anchored at x=216 with a wide right gutter. The library has no collapsed form for the summary rail (§12); the collapsed state is the rail's header row only, with its `.vd-icon-button vd-icon-button-md` toggle. **Evidence:** designer decision 2026-09-10. **Confidence:** high (rule) / medium (collapsed rail rendering — no frame).
80
- - **Every module is 140 + 960.** Left 140 = margin label column `vd:w-35 vd:pt-7 vd:pr-6 vd:gap-1.5 vd:text-right` (padding top 28, right 24, gap 6). Right 960 = "Display" `vd:w-60 vd:pt-7 vd:pb-7 vd:pl-7 vd:pr-0` (28/0/28/28) → 932 inner width. This is the MA axis: the 140/960 seam is the one vertical alignment line every module shares. **Evidence:** 451:7706/451:7708, 533:15729/533:15730, Rules "Event Icon"/"Display", Activity "Event status"/"Event detail". **Confidence:** high.
81
- - **Tab row is 40** with a bottom hairline; the tabs are the library's chip type: `.vd-tabs vd-tabs-chip` › `.vd-tab vd-tab-chip`. The container is `vd:py-1.5 vd:px-3 vd:gap-3` (6/12, gap 12); the 40 row height with its hairline is the page's, not the component's. Each tab is `vd:h-control-sm vd:px-3 vd:rounded-control vd:text-action-compact` (24 tall — `--height-control-sm`; was 26 before the 2026-09-24 rescale; radius 6, pad 0/12, 12/16/500 — Rev3 `Action/Compact`, which replaced the retired `text-action-s`); the active tab (`aria-selected="true"`) is the only one with a fill — `vd:bg-action-selected` (`--color-action-selected`: #141428 @8%) — and a hairline (`vd:border-[length:var(--border-thin)] vd:border-stroke-border`). **Evidence:** 533:13978, 533:13979 vs 533:13984. **Confidence:** high. **Footnote (2026-09-25, library 0.4.0):** the 40 is page chrome, not a hug — Figma binds the Navigation chip container to a Fixed 40 = `Height/Control/XL` with the 24px chips (`Height/Control/SM`) inset 8, so the row did not follow the chips when they went 26 → 24 (a hugging container would have dropped it to 38, which one export briefly showed before the binding was made; the segment container is bound MD 28 and the underline container LG 32). Pages keep the row at 40; the chips sit at y+8. **Evidence:** 533:13978 / 408:11220 after 2026-09-25, `tokens/control-heights.json`. **Confidence:** high.
82
- - **Sub-toolbar (40, `vd:py-1.75 vd:px-4 vd:gap-3`) appears only when the tab has its own filters or re-run action.** Present on KYC (person chips + Re-Run KYC), Documents (status/person chips + Upload/Request Document), Rules (severity/category chips + Re-Run Rules), Activity (actor chips + Export Activity). Absent on Application and KYB. Left = filter chips: `.vd-tag vd-tag-md` (24 tall, `vd:rounded-pill`, hairline at rest, `.vd-tag-count` slot (Inter `vd:text-action-compact` since Rev3 — no longer mono), active `aria-pressed="true"` = `vd:bg-primary vd:text-content-contrast`); right = `.vd-btn vd-btn-outline vd-btn-sm` (`vd:h-6 vd:px-2 vd:rounded-control vd:text-action-compact-active` — 24 tall, pad 8, radius 6, label 12/16/600 since 0.5.0) with `icon-size-13`. **Evidence:** 546:18950, 533:15715, 549:15123, 533:14572; absence in 533:13985 and 549:13945's parent. **Confidence:** high.
83
- - **Persistent decision controls live in the 48 bar, top-right, on every detail tab:** `⋯` = `.vd-icon-button vd-icon-button-md` (28) → `Reject` = `.vd-btn vd-btn-outline` (md default, `vd:h-7 vd:px-3 vd:text-action-default`, 28 tall, label 13/18/500 since 0.5.0) with `icon-size-14` `#x` → `Approve` = `.vd-btn vd-btn-primary` (`vd:bg-primary`, `--color-primary`: #1e4d8c) with `#check`, `vd:gap-2` (8). They never move into the content or the rail, and never change position between tabs. Reject's hover and confirmation are in §5. **Evidence:** 533:13972 and the same "Actions" frame at x=1617 in all 11 detail frames. **Confidence:** high.
84
- - **The summary rail is the same on every tab.** Header 32 (`vd:h-8`) with tabs Summary / Comments / Activity as `.vd-tabs` › `.vd-tab vd-tab-underline` — the active one carries the 2px `vd:border-primary` rule (`--border-micro`) — plus a collapse `.vd-icon-button vd-icon-button-md` (28) at right; body `vd:px-5` (20) → 280 inner; stacked cards each `vd:py-5` (20/0) with a bottom hairline. Card order: Status block → Review Checklist → Product → Rules roll-up → Key Indicators. The type chips (`New Business · Online · Middesk · INC · Manual Review · OFAC Passed`) are `.vd-tag` (sm, 20 tall, hairline, `vd:text-action-compact` — the migrated Tag label, never pressed) and are always present when the rail is open. **Evidence:** 533:14066–533:14136 and the identical structure in 534:17408, 534:16933, 533:15755; designer decision. **Confidence:** high.
85
- - **The Review Checklist is page-scoped.** On the Application tab it is the grouped roll-up of every other tab (`KYB 4/5 › · KYC 2/4 › · Documents Reviewed 0/3 › · Rules Review 1/1 ›` + hairline + `Final Approval`); on any other tab it lists that tab's own items flat (`Entity in good standing · TIN Verified · KYB Reviewed …`). Rows are `.vd-checkbox` (label `vd:text-supporting-caption`, chevrons `icon-size-14` `#chevron-right`); auto-satisfied items (`Rules Review 1/1`) render checked and dimmed — the library's own behaviour, since `.vd-checkbox-label` steps to `vd:text-content-tertiary` when checked. **Evidence:** 408:11201 rail vs 549:15099 rail; designer decision. **Confidence:** high.
86
- - **Fixed vs scrolling.** Rail, 48 bar, tab row and sub-toolbar are fixed; only the content column scrolls. The tall frames (2336–3997) keep the 48/40/40 stack at the top and the rail content at 885px while main runs to 3893. The 200px `#d9d9d9` `Spacing` rectangle at the end of every content container in the frames is a design artefact and is never shipped. **Evidence:** 408:11227 (h=3893) vs 408:11205 (h=48), 533:14064; designer decision. **Confidence:** high.
120
+ - **The sheet is inset 6 from the canvas** on the top, right and bottom (`vd:my-1.5 vd:mr-1.5`), and on the left too when the nav is hidden (`vd:ml-1.5`). It has a light hairline edge and **no drop shadow**. **Evidence:** 1857:94810, 2027:31797. **Confidence:** high.
121
+ - **Header bar, 52** (`vd:h-13 vd:px-4 vd:gap-4`, bottom hairline). Left, in this order: a quiet sidebar toggle (an `.vd-icon-button` that opens the nav-state menu), the back arrow (`.vd-icon-button`), then `.vd-breadcrumbs` ending in the ID and the product (§7). Right: the assignee control, `⋯` (`.vd-icon-button`), `Decline`, `Approve` (§5). They never move into the content or the panel, and never change position between tabs. **Evidence:** 1857:94810; Page Breadcrumbs 2042:35242; D1 2016:51063, D3 2016:51341; C6 2215:84950. **Confidence:** high (order and parts) / medium (the toggle's size and ink — the designer's rule is "a small faint toggle", with a large icon and a divider rejected; C6 has not been extracted, §13).
122
+ - **Tab row, 40**, below the header, with a bottom hairline (`vd:h-10 vd:px-4`). The tabs are the library's chip type, never underline: `.vd-tabs vd-tabs-chip` › `.vd-tab vd-tab-chip` (24 tall, `Height/Control/SM`; the active tab alone has a fill and a hairline). A count after a tab label is the tab's badge slot (`.vd-badge vd-badge-neutral`). **Evidence:** 1857:94810, 1857:114000, 1857:115558; Tabs 108:653, Navigation 994:31364. **Confidence:** high.
123
+ - **The content column is 960 at most and crunches to 820.** It is centred in the main region with `vd:px-10` either side (`vd:mx-auto vd:box-content vd:max-w-[960px] vd:min-w-[820px] vd:px-10 vd:pt-3`). Below 820 the main region scrolls sideways and the **gutter titles stay visible** (the gutter is `vd:sticky vd:left-0`). **Evidence:** A0 1857:94810 (960 since 2026-11-19); C5 2016:50924 (1280×800). **Confidence:** high.
124
+ - **Every section is a gutter plus a content column.** The gutter is 112 (`vd:w-28`) and holds the section's `.vd-summary-preview` — its title, left-aligned, tracked and semibold, with a short secondary line under it. The content column takes the rest (828 at full width, after a `vd:pl-5`) and carries `.vd-record`, the grid every row in it shares. **Evidence:** 1857:94810; Summary Preview 548:22173. **Confidence:** high.
125
+ - **A full-width table can take over the gutter as its first column** — the KYC owners table and the Rules parties table. The gutter is then the table's leading cell, not a title. **Evidence:** KYC 1857:110835; Rules 2171:71985. **Confidence:** high (rule) / low (composition — both tables are page-board components, §13).
126
+ - **Sections are separated by a 0.5 hairline under the content column only** — it does not run under the gutter — with 24 above and below their content (`vd:pt-6`). **Rows have a hover state, so there are no dividers between rows.** **Evidence:** 1857:94810, 1857:95062. **Confidence:** high.
127
+ - **Statuses sit in one fixed column** that lines up across every row, section and table on the page, open or closed. In the 828 row that column starts at x 556 (a 536 text column + 16 + 4 of row padding); `.vd-record` keeps it aligned as the column crunches (§4). **Evidence:** 1857:95062; library `CLAUDE.md` (Record, Owner Row). **Confidence:** high.
128
+ - **The Findings panel never fully hides; it collapses to a strip.** Default width 360 (`vd:w-90`), minimum 280 (`vd:min-w-70`), then a 48 strip (`vd:w-12`) of `.vd-panel-strip-button`s. It has a left hairline and is a region, not a card. Its own tab row is 40. **Evidence:** F1 2145:39587, F11 2016:50368, C5 2016:50924; Findings Panel 1839:60150. **Confidence:** high.
129
+ - **On a small window the nav collapses first, then the panel shrinks to its minimum, then it collapses.** The content column gives way last. **Evidence:** C5 2016:50924; designer methodology 2026-11-22. **Confidence:** high.
130
+ - **Expanding something never resizes the page drastically or animates roughly.** A section or row expands in place and pushes what is below; there is no lift, drop shadow or drill-in (§9.2). **Confidence:** high.
87
131
 
88
132
  ### 1.3 Queue shell
89
133
 
134
+ > Carried over from v1.0: the frames below (page `Application List`, 658:14296) were not redrawn in the 2026-11 redesign. The chrome is the v1.0 workspace card, not the sheet.
135
+
90
136
  ```
91
137
  │ rail 60 │┌ workspace card 1868 ─────────────────────────────────────────────┐
92
138
  │ ││ 103 KPI band: 5 cards 356×71, gap 12, pad 16/20 │
@@ -97,13 +143,15 @@ There are **three shells**, not one. They share a chrome vocabulary (canvas, flo
97
143
  ```
98
144
 
99
145
  - **No right rail.** The queue uses the full card width (1868, `vd:w-[1868px]`). **Evidence:** 693:25609 has no summary child. **Confidence:** high.
100
- - **The 48 bar is repurposed as the filter bar**, not a breadcrumb bar (queue is a root page). It sits *below* the KPI band. Left: search = `.vd-input-field vd-input-md` (29 tall, `vd:bg-surface-paper`) with `.vd-input-icon-left` `#search`, `vd:w-60` (240); `Filter` = `.vd-btn vd-btn-outline` with `aria-pressed="true"` (the toggle attribute since 0.5.0; the old aria-selected is still styled) — `vd:bg-primary-soft vd:text-primary vd:border-primary` (`--color-primary-soft`: #1e4d8c @8%, 0.5 stroke #1e4d8c), 92×28 — plus a `.vd-badge vd-badge-primary` count; applied-filter groups = `.vd-filter-segments` › `.vd-filter-segment vd-filter-segment-first vd-filter-segment-md` · `.vd-filter-segment vd-filter-segment-md` · … · `.vd-filter-segment vd-filter-segment-last vd-filter-segment-md` wrapping an `.vd-icon-button vd-icon-button-inline` `#x` (`field · operator · value · ×`, 28 tall — the library's own FilterSegment example); `Clear All` = `.vd-text-button vd-text-button-text`. Right: a single column-settings `.vd-icon-button vd-icon-button-md`. **Evidence:** 693:25610–693:25625. **Confidence:** high.
146
+ - **The 48 bar is repurposed as the filter bar**, not a breadcrumb bar (queue is a root page). It sits *below* the KPI band. Left: search = `.vd-input-field vd-input-md` (28 tall, `vd:bg-surface-paper`) with `.vd-input-icon-left` `#search`, `vd:w-60` (240); `Filter` = `.vd-btn vd-btn-outline` with `aria-pressed="true"` (the toggle attribute since 0.5.0; the old aria-selected is still styled) — `vd:bg-primary-soft vd:text-primary vd:border-primary` (`--color-primary-soft`: #1e4d8c @8%, 0.5 stroke #1e4d8c), 92×28 — plus a `.vd-badge vd-badge-primary` count; applied-filter groups = `.vd-filter-segments` › `.vd-filter-segment vd-filter-segment-first vd-filter-segment-md` · `.vd-filter-segment vd-filter-segment-md` · … · `.vd-filter-segment vd-filter-segment-last vd-filter-segment-md` wrapping an `.vd-icon-button vd-icon-button-inline` `#x` (`field · operator · value · ×`, 28 tall — the library's own FilterSegment example); `Clear All` = `.vd-text-button vd-text-button-text`. Right: a single column-settings `.vd-icon-button vd-icon-button-md`. **Evidence:** 693:25610–693:25625. **Confidence:** high.
101
147
  - **KPI band is 103 tall** (`vd:h-[103px] vd:py-4 vd:px-5`, cards `vd:gap-3`). Cards `vd:w-[356px] vd:h-[71px] vd:py-3 vd:px-4 vd:rounded-control` — **no library component**: `.vd-card` is placeholder scaffolding and must not be used; compose from tokens (§11). Label `vd:text-supporting-caption-strong vd:text-content-secondary` (Rev3 `Supporting/Caption Strong`, following four of the five cards — the first binds `Body/Dense`; decided 2026-10-01, designer-list item 50 still open), value `vd:text-heading-page vd:text-content-primary` (`--text-heading-page`: Inter Semi Bold 19/24 · #16161a — every card binds `Heading/Page`, 705:27436–705:27440). The **selected** card is filled `vd:bg-primary-soft` (#1e4d8c @8%) with a `1.5px` `vd:border-primary` stroke `[raw — planned, §12]`; unselected cards carry the hairline only, `vd:border-[length:var(--border-thin)] vd:border-stroke-divider`. Status cards carry a `.vd-dot` before the label: In Progress `.vd-dot-neutral` (`vd:bg-neutral-strong` #4e4e59), Pending `.vd-dot-warning`, Rejected `.vd-dot-critical`, Approved `.vd-dot-success`. **Evidence:** 705:27434–705:27440, Application_List.png. **Confidence:** high.
102
148
  - **Rows are 44** (`vd:h-11`; cells `vd:py-3 vd:px-2 vd:gap-1`), table `vd:px-1.5`, no zebra, no vertical rules, no visible header row in any of the four queue frames. **No Table or Cell component exists yet** (Cell is on the library's planned list) — compose the row from tokens (§11). Cell type roles: name `vd:text-body-dense-strong vd:text-content-primary` (Inter Medium 13/18, #16161a — Rev3 `Body/Dense Strong`); ID `vd:text-data-compact vd:font-mono vd:text-content-secondary` (JetBrains Mono 12, #5b5b68); email `vd:text-body-dense vd:text-content-secondary` (Rev3 `Body/Dense`); tags as `.vd-tag`; relative + absolute time `vd:text-data-compact vd:font-mono` (`25d ago | 7/4/26, 11:00 PM`); `.vd-avatar vd-avatar-md`; kebab `.vd-icon-button vd-icon-button-inline`. **Evidence:** 693:25626–693:25636. **Confidence:** high.
103
- - **Footer 52** (`vd:h-13 vd:py-3 vd:px-5`): pager = `.vd-pagination` › `.vd-pagination-pages` › `.vd-pagination-item vd-pagination-item-nav` · `.vd-pagination-item vd-pagination-item-active` (`vd:bg-primary`) · `.vd-pagination-item vd-pagination-item-nav` (32×32, Inter `Action/Default` since Rev3 — the cells left mono) + `.vd-pagination-summary` (Inter `Action/Compact` `vd:text-content-secondary`, `1 - 7 of 7`); right = page-size `.vd-dropdown-field vd-dropdown-field-sm` (25 tall). **Evidence:** 695:26556–695:26563. **Confidence:** high.
149
+ - **Footer 52** (`vd:h-13 vd:py-3 vd:px-5`): pager = `.vd-pagination` › `.vd-pagination-pages` › `.vd-pagination-item vd-pagination-item-nav` · `.vd-pagination-item vd-pagination-item-active` (`vd:bg-primary`) · `.vd-pagination-item vd-pagination-item-nav` (32×32, Inter `Action/Default` since Rev3 — the cells left mono) + `.vd-pagination-summary` (Inter `Action/Compact` `vd:text-content-secondary`, `1 - 7 of 7`); right = page-size `.vd-dropdown-field vd-dropdown-field-sm` (24 tall). **Evidence:** 695:26556–695:26563. **Confidence:** high.
104
150
 
105
151
  ### 1.4 CMS builder shell
106
152
 
153
+ > Carried over from v1.0: the frames below (page `CMS`, 752:15948) were not redrawn in the 2026-11 redesign.
154
+
107
155
  ```
108
156
  │ rail 240 (expanded, labeled, sectioned) │┌ workspace card 1672 ──────────────────────┐
109
157
  │ ││ 48 Communications / Emails / Refinance Offer / Send [Beta] │
@@ -115,7 +163,7 @@ There are **three shells**, not one. They share a chrome vocabulary (canvas, flo
115
163
  ```
116
164
 
117
165
  - **The CMS frames happen to show the rail expanded (240); this is not a CMS rule** (§1.1). The expanded `.vd-nav-rail` shows `.vd-nav-item-label`s and `.vd-nav-group` section headers (`Analytics`, `CRM`, `Automation & CMS`) with `.vd-nav-badge` (`Beta`) on beta items; every measurement below assumes 240 and shifts by 180 when collapsed. **Evidence:** 782:33271; designer decision. **Confidence:** high.
118
- - **Right rail is a preview panel, not a summary rail:** `vd:w-[622px]` on Build/Recipients/Review & Send, `vd:w-[500px]` on the template index. Header 48 (`vd:h-12 vd:px-5`) with the `Preview` label (`vd:text-label-compact vd:text-content-tertiary` — Rev3 types it mixed-case, 782:33329); body `vd:p-5 vd:gap-3`; the rendered email sits on a `vd:bg-surface-card vd:rounded-control` surface (`--color-surface-card`: #fafafb, radius 6); a `.vd-divider` separates it from `SAMPLE DATA` (label + `vd:text-supporting-caption vd:text-content-tertiary` instructions — Inter Regular 12/18, #727280 — + editable `.vd-input-field` fields). **Evidence:** 782:33327–782:33330, 753:22884. **Confidence:** high.
166
+ - **Right rail is a preview panel, not a summary rail:** `vd:w-[622px]` on Build/Recipients/Review & Send, `vd:w-[500px]` on the template index. Header 48 (`vd:h-12 vd:px-5`) with the `Preview` label (`vd:text-label-compact vd:text-content-tertiary` — Rev3 types it mixed-case, 782:33329); body `vd:p-5 vd:gap-3`; the rendered email sits on a `vd:bg-surface-card vd:rounded-control` surface (`--color-surface-card`: #fafafb, radius 6); a `.vd-divider` separates it from `SAMPLE DATA` (label + `vd:text-supporting-caption vd:text-content-tertiary` instructions — Inter Regular 12/18, #6a6a78 — + editable `.vd-input-field` fields). **Evidence:** 782:33327–782:33330, 753:22884. **Confidence:** high.
119
167
  - **Editor content column is 1050,** each section `vd:py-6 vd:px-10` (24/40) with a `vd:w-30` (120) step column (`vd:text-data-compact vd:font-mono vd:text-content-secondary` `01` / `Details`) and a `vd:w-[600px]` fields column (`vd:gap-5` for simple fields, `vd:gap-3` between field groups). Fields are `.vd-input-container` / `.vd-textarea-container` / `.vd-dropdown-field-container`; field groups are hairline-bordered `vd:rounded-tight` containers (`--radius-tight`: 4px). **Evidence:** 782:33283, 782:33596. **Confidence:** high.
120
168
  - **Wizard stepper row is 40** (`vd:h-10 vd:py-2.5 vd:px-5`) and is the library's `.vd-stepper` › `.vd-stepper-steps` › `.vd-step` / `.vd-step vd-step-active` / `.vd-step vd-step-upcoming` joined by `.vd-stepper-connector` (`.vd-stepper-connector-complete` once passed). `.vd-step-marker` is 24px; completed = solid `vd:bg-primary` with a 12px `#check`; active = `vd:bg-surface-paper` with a 2px `vd:border-primary` ring and the number; upcoming = paper with a 1px `vd:border-content-faint`; connectors `vd:flex-1`, 2px. Labels `.vd-step-label`. **Evidence:** 778:32157–778:32164, 777:32081. **Confidence:** high.
121
169
  - **Footer bar 44** (`vd:h-11 vd:py-2.5 vd:px-5`) with `.vd-btn vd-btn-sm` (24px) buttons: left = secondary utility (`Test Send to Myself`, `.vd-btn vd-btn-outline vd-btn-sm` with icon); right = `Cancel`/`Back` `.vd-btn vd-btn-outline vd-btn-sm` then `.vd-btn vd-btn-primary vd-btn-sm` (`Save`+`Send…`, `Review`, `Send 6 Emails`). The footer spans whatever region it commits: the 1050 editor column on Build, the full 1672 card on the wizard steps. This is permitted variance — the footer follows the content region, not the shell. **Evidence:** 782:33322 (w=1050) vs 782:34613 / 777:32059 (w=1672); designer decision. **Confidence:** high.
@@ -126,28 +174,77 @@ There are **three shells**, not one. They share a chrome vocabulary (canvas, flo
126
174
 
127
175
  ### 2.1 Application detail / review
128
176
 
129
- One archetype, six tab views. The tab is a *lens*, not a page: URL, breadcrumb, decision controls, and summary rail are constant; only the content column and the optional sub-toolbar change.
130
-
131
- **Tab → module inventory** (order top to bottom, margin label as shown):
132
-
133
- | Tab | Modules (margin label → display) |
134
- |---|---|
135
- | Application | SNAPSHOT (5 KPI metrics) → BUSINESS (entity + Registration / Address / Profile) → BSA (expected use) → CONTACT → OWNERSHIP (%, bar, owner rows) |
136
- | KYB | RISK OVERVIEW (vendor · n/m checks · pass/review/fail rows) → TIN / IRS MATCH → SECRETARY OF STATE → ADDRESS VERIFICATION → PEOPLE → SCREENING → RECORDS → INDUSTRY |
137
- | KYC (per person) | RISK OVERVIEW → SMS VERIFICATION → IDENTITY → DOCUMENT → SELFIE CHECK → WATCHLIST |
138
- | Documents | FORMATION & REGISTRATION → OWNERSHIP & CONTROL → IDENTIFICATION → SIGNED DOCUMENTS |
139
- | Rules | CRITICAL → WARNING → NO DATA → OVERRIDDEN → PASSED (severity groups; passed group collapsed by default) |
140
- | Activity | date groups newest first (SEP 12 → SEP 11 → SEP 10), events within a day listed newest first |
141
-
142
- - **A module is one row of the 140/960 grid.** Its margin label names the module — `vd:text-label-compact vd:text-content-tertiary` (`--text-label-compact`: Inter Semi Bold 12/16, +8% tracking, **no transform**: Rev3 types the labels mixed-case — `SnapShot`, `Critical`, 451:7706, 549:15133) — and a small secondary line under it (`vd:text-supporting-caption vd:text-content-secondary`, 12px — `3 rules`, 549:15133) carries a count or state (`3 rules`, `5 Events`, `4 Documents / 2 Pending`, comment count `💬 1`). **Evidence:** 451:7706, 549:15133 children, 533:14548 "Event status". **Confidence:** high.
143
- - **The first module on every tab is the roll-up** (Snapshot, Risk Overview, or for Documents/Rules/Activity the highest-priority group). Nothing decorative precedes it; there is no page title inside the content column — the breadcrumb is the title. **Evidence:** first child of every Sub Content Container. **Confidence:** high.
144
- - **Sub-sections inside a module are separated by a `.vd-divider` + 16px (`vd:gap-4`), never by nested cards.** (Data list → `.vd-divider` → 16 → next data list.) The library's `.vd-divider` is a 1px `vd:bg-stroke-divider` background rule by construction. **Evidence:** I408:11267;215:8542 at y=335 between lists ending 319 and starting 351. **Confidence:** high.
145
- - **Expansion is in place.** Collapsed modules are ~80px rows (`vd:h-20`) with an `.vd-icon-button vd-icon-button-inline` `#chevron-down` at the right edge; expanded modules grow to hundreds of px and push everything below. No modal, drawer, or side panel is used for *detail* anywhere on the six tabs; the only modal on the surface is the terminal-decision confirmation (§5). **Evidence:** 534:17399 (376) vs 534:17400 (80); 533:13959 vs 408:11201. **Confidence:** high.
177
+ One archetype, six tab views plus the panel beside them. The tab is a *lens*, not a page: the URL, breadcrumb, decision controls and Findings panel are constant; only the content column changes. Each page has a settled pattern; a change extends it and does not replace it.
178
+
179
+ **What the library covers.** Application and the Findings panel are fully in `@valiify/dashboard-ui` (0.6.0–0.7.0). KYC, Documents, Rules and Activity are settled in Figma, but their page-specific parts live on each page's own board and are **not in the package yet** (§13). A brief for one of those four pages can compose its shell, sections, markers, dialogs, menus and toasts from this file; a block that needs a board component is a `no-component` stop until that component is approved for the library.
180
+
181
+ #### Application — 1857:94809 (Ticket 3, 2141:39318)
182
+
183
+ - **Sections, in this order: Snapshot → Business → Funding → BSA → Contact → Ownership.** Funding sits directly under Business. **Evidence:** A0 1857:94810, 1857:95062. **Confidence:** high.
184
+ - **A section collapses to a single summary line that tallies its rows**, shows all its information without truncating, and expands in place. The line is a `.vd-content-row`: title and one-line summary, the status column, hover tools and a chevron. Its text wraps when it must; it never truncates. A section with open findings shows a count in the status column — a marker plus a number, no words (`.vd-severity-count vd-severity-count-flush`). **Evidence:** Content Row 168:845; Severity Count 2016:43181. **Confidence:** high.
185
+ - **Snapshot** is a strip of `.vd-snapshot-metric`s (label over value, `vd:gap-10` apart) with no card chrome. **Business** opens with `.vd-entity-header` (tile, name, entity chip, facts). **Evidence:** Snapshot Metric 2042:34359; Entity Header 2042:35637. **Confidence:** high.
186
+ - **An expanded row shows its fields as `.vd-data-row`s inside a `.vd-data-list`** — a header (`.vd-data-list-header`, with an optional `View KYC Checks`-style action) and group headings (`.vd-data-list-heading`). Each field is label, value and a compact status (`.vd-field-verification … vd-field-verification-compact`) in the shared status column. Masked values are `.vd-sensitive-data`. **Evidence:** 1857:95062; Data Row 165:678; frames 235:2913, 215:7576. **Confidence:** high.
187
+ - **Editing happens a whole section at a time**, in a `.vd-section-edit` that replaces the section's rows: the applicant field types, grouped, with a **required reason** and an optional note in the footer. There is no per-field edit. **A changed value shows the old one struck through on its right** (`.vd-data-row-previous`, in an `<s>` with a visually hidden "was"). **Evidence:** B5 2016:50229; Section Edit 2038:34369. **Confidence:** high.
188
+ - **Funding** is a `.vd-funding-total` over `.vd-funding-transaction` rows on the record's column grid. **Add funds is kept quiet** — never a primary button; it opens `.vd-add-funds-form` in place — and **Refund is confirmed inline** with `.vd-inline-confirm` (`.vd-btn-critical` confirm), never in a modal. A transaction's status is a marker in the status column with no word beside it (§6.1; the shipped row still nests a worded status — §12). **Evidence:** B1 2016:49673, B2 2016:49812, B3 2016:49951, B4 2016:50090, B6 2023:29209; section 08 2047:67027. **Confidence:** high.
189
+ - **Ownership is a table** with Identity, Application and Documents columns: `.vd-ownership` (the declared-share summary, bar and legend) above an `.vd-owner-table-header` and one `.vd-owner-row` per owner, inside a `role="table"`. **The business-owner (entity) row uses the same three columns** as a person row; a person takes the square Avatar, an entity the tile. The chevron is the row's only control — editing ownership is section-level. An application can have up to 5 owners, so the list has to hold 5. **Evidence:** User Preview 245:6002, Entity Preview 254:7453, Owner Table Header 2042:35106, Ownership Summary 2045:35230. **Confidence:** high.
190
+ - **A row linked from a finding gets a thin 2px left stroke with no fill** (`.vd-data-row-linked`, `.vd-content-row-linked`, `.vd-owner-row-linked`). **Evidence:** F2 2145:40635; library `CLAUDE.md`. **Confidence:** high.
191
+
192
+ #### Findings panel — 1839:60150 (Ticket 4, 2141:39320; comments Ticket 6, 2141:39321)
193
+
194
+ The panel is a composition of library parts, not a component of its own.
195
+
196
+ - **Order: Status first, then Findings, Checklist and Resolved, each collapsible.** Status is a `.vd-panel-status` (a dot and a label). Each group opens with a `.vd-panel-section-header` (title, mono count, a disclosure Icon Button). **Resolved is pinned to the bottom and collapsed.** **Evidence:** F1 2145:39587. **Confidence:** high.
197
+ - **Findings is one flat list** of `.vd-finding-row`s — a severity marker and a line that says what is wrong. No grouping by severity or by tab. **Evidence:** F1 2145:39587; Finding Row 2038:36911. **Confidence:** high.
198
+ - **A finding opens in place without changing its title row.** The open form is a `.vd-finding-card`; **resolution choices are radios** (`.vd-radio-select vd-finding-option`), and the fields a choice needs (Document, From, a note) appear under them. Waive requires a note before the confirm enables. **Evidence:** F2 2145:40635, F3 2145:41481, F4 2145:42732; Finding Card 2038:37176. **Confidence:** high.
199
+ - **A jump arrow on hover takes you to the row** the finding is about: an `.vd-icon-button vd-icon-button-inline` in the card header. It expands the row's section, scrolls to it and marks it linked. **Evidence:** F2 2145:40635. **Confidence:** high.
200
+ - **Checklist groups look like finding rows, with no chevrons** on the group line: `.vd-checklist-group` (a `.vd-progress-circle vd-progress-circle-sm`, the name, a mono count), opening into `.vd-checklist-task`s. **Items can be skipped, and Undo is never the primary colour.** A task held by an open finding is locked (`.vd-checklist-task-held`) and blocks the group's sign-off. Signing off replaces the tasks with the record of who and when. **Evidence:** F5–F9 2145:43655–2145:48202; Checklist Group 1848:59498, Checklist Task 1848:59085. **Confidence:** high.
201
+ - **The last line of the checklist is `.vd-final-decision`** — what unlocks the decision. **Evidence:** 1839:59387. **Confidence:** high.
202
+ - **Approve waits on both** the open findings and the unsigned checklist groups (§5). Decision gating beyond that is deferred (§13). **Evidence:** A0 1857:94810 ("Approve · blocked" 1857:94854); decided 2026-11-19. **Confidence:** high.
203
+ - **Collapsed, the panel is a 48 strip** of `.vd-panel-strip-button`s with the open count on the Findings button. **All clear** (no open findings, every group signed off) is a state of the same panel, not a different view. **Evidence:** F11 2016:50368, F10 2145:49294. **Confidence:** high.
204
+ - **Comments** are a second tab of the panel: `.vd-comment-date` separators, `.vd-comment-item`s (round Avatar — staff), section tags as `.vd-tag vd-tag-label`, and a `.vd-composer` pinned at the bottom. A comment can be tagged to a section; the gutter's comment counts (`.vd-summary-preview-count`) filter the list. **Evidence:** CM1–CM6 2016:50785, 2147:79284–2147:82973. **Confidence:** high.
205
+ - **Summary** (`.vd-summary-panel`, with `.vd-scoring-details`) is built in the library, but whether the tab stays in the panel is open (§13).
206
+
207
+ #### KYC — 1857:100586
208
+
209
+ - **The owners table spans the gutter**: a radio, the owner, and six check columns, with the selected row filled and barred. Selection is a radio, never a row chevron or a per-owner switch in the gutter.
210
+ - **The owner line** has "1 of 3", previous and next, and Re-run KYC.
211
+ - **The license front and back sit beside the selfie and watchlist cards.** The comparison and the license checks use the same comparison row.
212
+ - KYC returns only a confirmation for the selfie and ID match: there is no face-comparison view and no highlighting on document images (§8.2).
213
+ - **Board components, Figma only** (KYC Components 1925:12994): KYC / Owner Row 1925:13119 · KYC / Owner Line 2130:35592 · KYC / Check Card 1925:13272 · KYC / Comparison Row 1925:14006 · KYC / Waiting Note 2212:79943 · KYC / Re-run Dialog 2212:80297.
214
+ - **Evidence:** 1857:110835, 1857:112288, 2212:80298–2212:81732; designer methodology 2026-11-22. **Confidence:** high (pattern) / not extracted (values).
215
+
216
+ #### Documents — 1857:100837
217
+
218
+ - **A grid of cards grouped in sections**, with pulled reports filed alongside uploads — never a separate list layout for reports, and no filter tabs per type: the sections already separate.
219
+ - **Signing cards** show segmented progress, the signed count and who is waiting — not a row of signer avatars, which does not scale to 5 owners.
220
+ - **Archived is one collapsed section line at the bottom**, never a Show / Hide button.
221
+ - **Upload and Request share one dialog** with two tabs; "new document" versus "answering a request" is a segment control at the top of the form.
222
+ - There is no document review: a document is requested, received or signed, never approved or rejected (§8.2).
223
+ - **Board components, Figma only** (Documents Components 1922:12564): Document Card 1922:12822 · Menu / Document actions 2139:70280 · Menu / Move to section 2161:56909 · Documents / Confirm Re-pull 2159:56405 · Documents / Confirm Remind 2159:56527 · Documents / Add Document Dialog 2161:56852 · Documents / Preview Drawer 2162:56712.
224
+ - **Evidence:** 1857:114000 and the 16 state frames in §0.5; designer methodology 2026-11-22. **Confidence:** high (pattern) / not extracted (values).
225
+
226
+ #### Rules — 1857:101140
227
+
228
+ - **The parties table works like the KYC owners table**, and selecting a party filters the rules. No party chip repeats the selection.
229
+ - **Rules are grouped: Needs a decision → No data → Overridden → Passed** (Passed collapsed).
230
+ - **Each line says what was flagged** (§8.1), with Override on hover at the row's right. A rule opens in place into rows on the rule's own columns — Expected against Found — never a bordered box, an inline alert or a source column.
231
+ - Override asks for a reason and confirms; an overridden rule offers Undo and Remove override.
232
+ - **Board components, Figma only** (Rules Components 1920:43105): Rules / Rule Row 2168:71831 (replaces Rule Row 1920:43306) · Rules / Party Row 2168:72019 · Rules / Rule Detail 2168:73050 · Rules / Run Progress 2168:73051 · Rules / Confirm Dialog 2168:73390.
233
+ - **Evidence:** 1857:115558, 2171:71985–2171:72633; designer methodology 2026-11-22. **Confidence:** high (pattern) / not extracted (values).
234
+
235
+ #### Activity — 1857:101440
236
+
237
+ - **A timeline on the page grid**: lane names in the gutter, a status lane, and a hairline at both edges.
238
+ - **Fit, Day and Hour zoom**, sideways scrolling, and a subtle scrollbar.
239
+ - **Clicking a name focuses that person.** Selecting an event and selecting its row are linked.
240
+ - **Every event is its own dot**; numbered stacks of grouped events are not used.
241
+ - **Board components, Figma only** (Activity Components 1917:12011): Activity / Timeline 2138:35951 · Activity / Event Marker 1917:12063 · Activity / Event Row 1917:12121 · Activity / Status Segment 2153:82322 · Activity / Scroll Thumb 2153:82327 · Activity / Event Tooltip 2153:82328 · Activity / Focus Chip 2154:54240.
242
+ - **Evidence:** 1857:119856, 2138:37243, 2155:53473, 2155:54671, 2155:55901; designer methodology 2026-11-22. **Confidence:** high (pattern) / not extracted (values).
146
243
 
147
244
  ### 2.2 Application list / queue
148
245
 
149
246
  - Composition top-down: **KPI band → filter bar → table → pager.** The KPI band doubles as a status filter (selected card is highlighted). **Evidence:** 693:25606; the four section variants differ only in filter-bar content and menus. **Confidence:** high.
150
- - Filter authoring is a **two-level popover**: a `.vd-dropdown` › `.vd-dropdown-panel` › `.vd-dropdown-menu` category list of `.vd-menu-item`s (`Status · 1 Selected ›` = `.vd-menu-item-title` + `.vd-menu-item-right-text` + `#chevron-right`; `Product`, `Created`, `Member & Channel`, `Tags`, `Clear All · 2 Active`) opening a secondary panel per category. The Status panel groups values by lifecycle (`NEW / IN PROGRESS / SIGNING & FUNDING / CLOSED` as `vd:text-label-compact vd:text-content-tertiary` group labels, +10% tracking), each with `Select all` (`.vd-text-button vd-text-button-cell`), tags carrying counts (`.vd-tag vd-tag-md` + `.vd-tag-count`), and an `Is any of / Is none of` toggle (`.vd-segment-selector` › `.vd-tab vd-tab-segment` with `aria-checked`). Zero-count tags are dimmed (`disabled` — `.vd-tag` dims the label only), not hidden. **Evidence:** 693:26004, 693:26205 (+ Application_List.png). **Confidence:** high.
247
+ - Filter authoring is a **two-level popover**: a `.vd-dropdown` › `.vd-dropdown-panel` › `.vd-dropdown-menu` category list of `.vd-menu-item`s opening a secondary panel per category. Each row leads with its glyph in `.vd-menu-item-icon` — `#circle-dot` Status, `#box` Product, `#calendar` Created, `#id-card` Member & Channel, `#tag` Tags — and ends in `#chevron-right` as `.vd-menu-item-chevron`; `Status · 1 Selected ›` adds `.vd-menu-item-right-text`, and `Clear All · 2 Active` closes the list. The row draws the icons (size, stroke and Neutral/Main colour per menu size), so the call site does not size or colour them (693:26004, 2026-11-30). The Status panel groups values by lifecycle (`NEW / IN PROGRESS / SIGNING & FUNDING / CLOSED` as `vd:text-label-compact vd:text-content-tertiary` group labels, +10% tracking), each with `Select all` (`.vd-text-button vd-text-button-cell`), tags carrying counts (`.vd-tag vd-tag-md` + `.vd-tag-count`), and an `Is any of / Is none of` toggle (`.vd-segment-selector` › `.vd-tab vd-tab-segment` with `aria-checked`). Zero-count tags are dimmed (`disabled` — `.vd-tag` dims the label only), not hidden. **Evidence:** 693:26004, 693:26205 (+ Application_List.png). **Confidence:** high.
151
248
  - Popover surfaces are the library's `.vd-dropdown-menu`: `vd:bg-surface-paper`, `vd:border-[length:var(--border-thin)] vd:border-stroke-divider`, `vd:rounded-surface` (8), `vd:shadow-panel` (`--shadow-panel`: 0 12px 34px −12px #000 @25%), `vd:p-1` (4). This is the only place a large shadow is used on this surface. **Evidence:** 693:26205, 693:26004, 556:22379. **Confidence:** high.
152
249
 
153
250
  ### 2.3 CMS builder
@@ -160,349 +257,620 @@ Three page types under one shell: **index** (template table + preview), **editor
160
257
 
161
258
  ### 2.4 Unverified archetypes
162
259
 
163
- **Business profile, funding review, settings & user management, reporting — no screens provided, unverified.** Do not infer their composition from this document. A brief targeting any of them is a stop: ask the reviewer for frames or a decision before composing.
260
+ **KYB tab, business profile, settings & user management, reporting — no approved frames in scope, unverified.** Do not infer their composition from this document or from the sibling tabs. A brief targeting any of them is a stop: ask for frames or a decision before composing. The queue and CMS archetypes (§2.2, §2.3) are verified only against their v1.0 frames; when they are redrawn, §0.1 and §0.2 apply and their sections here are rewritten.
164
261
 
165
262
  ---
166
263
 
167
264
  ## 3. Hierarchy rules
168
265
 
169
- - **Decision first, evidence second, history last — at three scales.** Page: decision controls in the 48 bar; evidence in the content column; history in the Activity tab / rail Activity tab. Tab: the roll-up module is first (Snapshot, Risk Overview, Critical). Module: the header row shows the verdict (`Verified` / `2 Conflicts` / `Pass 23/24`), the data list shows the evidence, the attribution line (`Nicholas Cooper · Jun 24, 9:20 AM`) is last. **Evidence:** 533:13972; first children of every Sub Content Container; Rules override block order (Requirement → Finding → Source → On → Override Reason → attribution). **Confidence:** high.
170
- - **The rail is the roll-up of roll-ups.** Status/Created/Assigned, checklist progress `n/5`, product codes, rules by severity with counts, key indicators. It repeats nothing from the content column at field level — only counts, statuses, and codes. **Evidence:** 533:14073–533:14136. **Confidence:** high.
171
- - **Above the fold, always:** breadcrumb with ID, Reject/Approve, tab row, the first module's header, the rail Status block and Review Checklist. **Never above the fold:** any individual field value that isn't inside the first module; the Passed rules group (collapsed at the bottom of Rules); Signed Documents (last group). **Evidence:** the 1080 frames (533:13959, 549:13911, 534:16879, 533:15689, 534:17372, 533:14548). **Confidence:** high.
172
- - **Three heading levels only.** (1) module label — `vd:text-label-compact vd:text-content-tertiary` (Inter Semi Bold 12/16, +8% tracking, mixed-case as typed, #727280), right-aligned in the 140 column; (2) sub-group label inside a data list — `vd:text-label-compact vd:text-content-tertiary` (`--text-label-compact`: Inter Semi Bold 12/16, +8%, mixed-case — `Volume & Deposits`, 215:7576) with an `icon-size-16` glyph, on a 36px row (`vd:h-9 vd:py-2.5 vd:px-1`); (3) row title — `vd:text-body-dense-strong vd:text-content-primary` (`--text-body-dense-strong`: Inter Medium 13/18, #16161a) with a `vd:text-supporting-caption vd:text-content-secondary` (12px, #5b5b68) description beneath (`TIN / legal name match` over `No IRS match…`, 549:15133). There is no display-size heading in the content column; the one exception is the entity name in BUSINESS (larger, semi-bold — treated as content, not heading; unmeasured, §13). **Evidence:** 451:7707, I408:11267;215:7576 "Row Text", Rules "Descriptor Title". **Confidence:** high.
173
- - **Section delimiting is hairline-first, whitespace-second, surface-never.** Modules: bottom hairline on Display. Sub-lists: `.vd-divider` + 16. Rows in a data list: whitespace only (`.vd-data-row` is `vd:rounded-tight` with no stroke; the radius exists for hover). Only two things get a filled surface at rest: an input or override-reason area (`.vd-textarea-field vd-textarea-bg-neutral` / `.vd-input-field vd-input-bg-neutral` = `vd:bg-surface-card` #fafafb), and a requested-but-missing document row. Row fill otherwise appears only on hover (§6). **Evidence:** Display strokes, Data Item nodes (r=4, no stroke), Override Field Container #fafafb, 480:9059; designer decision. **Confidence:** high.
174
- - **Severity ordering is fixed and is also the visual order:** Critical → Warning → No Data → Overridden → Passed, in the rail, in the Rules tab groups, and in the Rules filter chips. **Evidence:** 533:14109 rows, 549:15133 groups, 549:15123 chips. **Confidence:** high.
266
+ - **Judge first, evidence second, history last — at three scales.** Page: the decision controls are in the header and what blocks them is in the Findings panel; the evidence is the content column; history is the Activity tab. Section: the collapsed line carries the verdict; its rows carry the evidence. Row: the status marker is the verdict; the fields under it are the evidence. **Evidence:** 1857:94810, F1 2145:39587. **Confidence:** high.
267
+ - **Reduce before adding.** Before a page gains a control, list or container, look for the thing it can replace, merge with or make unnecessary. A control that repeats something already on screen — filter tabs over sections that already separate, a party chip next to a selected row, a "Show archived" button over a collapsed section line — is removed, not restyled. **Evidence:** Documents 1857:114000 (the reference for "reduced enough"); §9.2. **Confidence:** high.
268
+ - **Every collapsed line reads on its own.** A section line tallies its rows; a finding line says what is wrong; a rule line names the rule and what was found. Opening a line adds detail, never the first statement of the problem. **Evidence:** Content Row 168:845; Finding Row 2038:36911; Rules 2171:71985. **Confidence:** high.
269
+ - **Never hide data.** A guided view (a checklist, a filter, a focused person) narrows attention, and the full record stays reachable on the same surface: every section expands in place, Passed and Archived are collapsed lines and not removed, and a filter never leaves a count that no longer reconciles. **Confidence:** high.
270
+ - **The Findings panel is the roll-up of everything that blocks approval** — findings, checklist items and limits. It repeats nothing from the content column at field level; it points at rows (the jump arrow) and the rows point back (the linked stroke). There is no second list of problems anywhere on the page. **Evidence:** F1–F10; §9.2. **Confidence:** high.
271
+ - **Above the fold, always:** the header with the ID and the decision controls, the tab row, the first section's line, and the panel's Status and open findings. **Never above the fold by default:** Passed rules, Resolved findings, Archived documents — each is the last, collapsed line of its list. **Evidence:** 1857:94810, 2171:71985, 2139:68659. **Confidence:** high.
272
+ - **Three heading levels only.** (1) the gutter title — `.vd-summary-preview-label` (`Label/Compact`, `vd:text-content-secondary`) with `.vd-summary-preview-subtitle` under it; (2) a group heading inside an expanded row — `.vd-data-list-heading-title` (`Label/Compact`, `vd:text-content-tertiary`) with a 16px glyph, or a panel group title — `.vd-panel-section-header-title`; (3) the row's own title — `.vd-content-row-title` (`Body/Default Strong`) with `.vd-content-row-summary` beside it. There is no page title in the content column — the breadcrumb is the title — and no display-size heading; the entity name (`.vd-entity-header-name`, `Heading/Section`) and the Snapshot values are content, not headings. **Evidence:** 548:22173, 215:7576, 2038:38947, 168:845, 2042:35637. **Confidence:** high.
273
+ - **Section delimiting is hairline-first, whitespace-second, surface-never.** Sections: one hairline under the content column. Groups inside an expanded row: the Data List's own heading rule. Rows: whitespace and hover only. A filled surface at rest is reserved for things that are a different kind of object: an open Finding Card and an open Checklist Group (`Surface/Card`), a decision or sign-off record (`Surface/Neutral`), an Inline Confirm, and form fields. **Evidence:** 1857:95062; Finding Card 2038:37176; Checklist Group 1848:59498; Inline Confirm 2038:32951. **Confidence:** high.
274
+ - **Group order is fixed and is also the visual order.** Findings panel: Status → Findings → Checklist → Resolved. Rules: Needs a decision → No data → Overridden → Passed. Application: Snapshot → Business → Funding → BSA → Contact → Ownership. **Evidence:** §2.1. **Confidence:** high.
175
275
 
176
276
  ---
177
277
 
178
278
  ## 4. Density and spacing rhythm
179
279
 
180
- The surface runs on a 4px grid — Tailwind's spacing scale expresses it directly — with a few half-pixel type-alignment offsets (12.5px padding, 0.5px strokes) that are deliberate and take arbitrary values or `--border-thin`.
280
+ The surface runs on a 4px grid — Tailwind's spacing scale expresses it directly — with half-pixel hairlines that take `--border-thin`. Heights marked *(component)* are the library's and are never restated on a page; the page supplies only the utilities shown.
281
+
282
+ **Review shell (§1.2)**
283
+
284
+ | Relationship | Utility / class | Evidence |
285
+ |---|---|---|
286
+ | Canvas inset around the sheet | `vd:my-1.5 vd:mr-1.5` (6); `vd:ml-1.5` when the nav is hidden | 1857:94810, 2027:31797 |
287
+ | Nav → sheet | 0 (`.vd-nav-rail` carries its own `vd:px-2`); nav column `vd:py-1.5` | 1857:94810 |
288
+ | Header bar | `vd:h-13 vd:px-4 vd:gap-4` (52); actions `vd:gap-2` | 1857:94810 |
289
+ | Tab row | `vd:h-10 vd:px-4` (40) around `.vd-tabs vd-tabs-chip` | 1857:94810 |
290
+ | Content region | `vd:px-10 vd:pt-3 vd:pb-50`; column `vd:max-w-[960px] vd:min-w-[820px] vd:mx-auto` | 1857:94810, 2016:50924 |
291
+ | Gutter | `vd:w-28` (112) on the gutter **and** on the `.vd-summary-preview` in it — the component's own column is 140 and every page instance is 112, so the width is the host's | 1857:94810; 548:22173 |
292
+ | Section content | `vd:pt-6 vd:pb-4 vd:pl-5` + bottom hairline; `.vd-record` on the same element | 1857:94810 |
293
+ | Section → section | 0 (hairline seam under the content column only; 24 above and below the content) | 1857:95062 |
294
+ | Section line | `.vd-content-row` — 48 *(component)*, 64 when its text wraps to two lines | 168:845 |
295
+ | Field row | `.vd-data-row` — 44 *(component)*, 46 with a Sensitive Data value; label 200 · value 320 · status · actions | 165:678 |
296
+ | Fields header / group heading | `.vd-data-list-header` 32 · `.vd-data-list-heading` 36 *(component)* | 235:2913, 215:7576 |
297
+ | Snapshot metrics | `.vd-snapshot-metric` 120 wide *(component)*; strip `vd:gap-10 vd:pb-2` | 2042:34359 |
298
+ | Owner row / header | `.vd-owner-row` 64 · `.vd-owner-table-header` 33 *(component)*; three status columns are thirds of a fixed 236 | 245:6002, 2042:35106 |
299
+ | Funding rows | `.vd-funding-transaction` 48 · `.vd-funding-total` 54 *(component)* | 2016:48814, 2038:32814 |
300
+ | Panel | `vd:w-90` default · `vd:min-w-70` minimum · strip `vd:w-12 vd:py-2 vd:gap-1` | 2145:39587, 2016:50368 |
301
+ | Panel tab row | `vd:h-10 vd:pl-3 vd:pr-5` + bottom hairline | 2145:39587 |
302
+ | Panel Status block | `vd:px-5 vd:py-4 vd:gap-3` + bottom hairline | 2145:39587 |
303
+ | Panel group block | `vd:px-2 vd:py-3 vd:gap-0.5` + bottom hairline | 2145:39587 |
304
+ | Panel group header | `.vd-panel-section-header` 24 *(component)* | 2038:38947 |
305
+ | Finding line / open finding | `.vd-finding-row` 36 · `.vd-finding-card` hugs its blocks (298 choosing, 352 requesting) *(component)* | 2038:36911, 2038:37176 |
306
+ | Checklist group / task | `.vd-checklist-group` 36 closed, 40 header open · `.vd-checklist-task` 30, 50 with a detail *(component)* | 1848:59498, 1848:59085 |
307
+ | Resolved | `.vd-resolved-row` 57 *(component)*; list `vd:max-h-80 vd:overflow-y-auto vd:gap-1.5` | 2038:35880 |
308
+ | Final decision | `.vd-final-decision` 52 *(component)* | 1839:59387 |
309
+ | Comments | list `vd:px-4`; composer region `vd:px-4 vd:pt-3 vd:pb-2` + top hairline | 2016:50785 |
310
+
311
+ **Queue and CMS shells (§1.3, §1.4) — v1.0 values**
181
312
 
182
313
  | Relationship | Utility / class | Evidence |
183
314
  |---|---|---|
184
- | Canvas inset around workspace card | canvas `vd:py-2` (8 top/bottom; 0 left, rail abuts) | 533:13960 |
185
- | Rail → card | 0 (`.vd-nav-rail` carries its own `vd:px-2`) | 788:35712 |
186
- | 48 bar padding | `vd:h-12 vd:py-2.5 vd:px-4` | 533:13963 |
187
- | Tab row padding / gap | `.vd-tabs vd-tabs-chip` = `vd:py-1.5 vd:px-3 vd:gap-3`; row `vd:h-10` | 533:13978 |
188
- | Content region padding | `vd:py-3 vd:px-10`; column `vd:w-[1100px] vd:mx-auto` | 533:13985 |
189
- | Module → module | 0 (hairline seam; Display `vd:pb-7` + next `vd:pt-7` = 56 optical) | Rules Display frames |
190
- | Margin label column | `vd:w-35 vd:pt-7 vd:pr-6 vd:gap-1.5` | 451:7706 |
191
- | Display padding | `vd:w-60 vd:pt-7 vd:pb-7 vd:pl-7 vd:pr-0` | 451:7708 |
192
- | Module header row → data list | `vd:gap-4` (16) | 451:7708 |
193
- | Sub-list → hairline → sub-list | `vd:gap-4` either side of `.vd-divider` | I408:11267;215:8542 |
194
- | Sub-group header row | `vd:h-9 vd:py-2.5 vd:px-1` (36) | I408:11267;215:7576 |
195
- | Data item row | `.vd-data-row` = `vd:h-[38px] vd:py-[12.5px] vd:px-1 vd:gap-4`; `.vd-data-row-field` `vd:w-50`, `.vd-data-row-value` `vd:w-100`, `.vd-data-row-status` `vd:flex-1`, `.vd-data-row-action` 18 | I408:11267;215:7521 |
196
- | Rules detail row (Requirement/Finding/Source/On) | `vd:h-[38px]` — the same box as `.vd-data-row` | Rules "Data List Item" |
197
- | Rules action row | `vd:h-11 vd:py-2.5 vd:px-1` (44) | Rules "Data List Item" |
198
- | Activity event row | `vd:h-11` | 533:14548 |
199
- | Owner row (Ownership) | `vd:h-[55px]` | 533:14061 |
200
- | Collapsed module row | `vd:h-20` (80) | 534:17400 |
201
- | Snapshot metrics | `vd:w-30` each, `vd:gap-10` | 451:7709 |
202
- | Rail card padding / row pitch | `vd:py-5`; rows `vd:h-[18px] vd:gap-3` (30 pitch) | 533:14073 |
203
- | Rail label → first row | label `vd:h-5` + `vd:gap-3` (32) | 533:14094 |
315
+ | Canvas inset around workspace card | canvas `vd:py-2` (8 top/bottom; 0 left, rail abuts) | 693:25609 |
316
+ | 48 bar padding | `vd:h-12 vd:py-2.5 vd:px-4` | 693:25610 |
204
317
  | Queue KPI card | `vd:w-[356px] vd:h-[71px] vd:py-3 vd:px-4`; band `vd:gap-3` | 705:27436 |
205
318
  | Queue row | `vd:h-11`; cells `vd:py-3 vd:px-2` | 693:25628 |
206
319
  | CMS section padding | `vd:py-6 vd:px-10` | 782:33283 |
207
320
  | CMS field stack gap | `vd:gap-5` simple · `vd:gap-3` groups · `vd:gap-0.25` inside a group | 782:33283, 782:33596 |
208
- | Buttons | `.vd-btn` (`vd:h-control-md`, 28) · `.vd-btn-sm` (`vd:h-control-sm`, 24) · `.vd-tab-chip` (`vd:h-control-sm`, 24) · `.vd-chip` (`vd:h-5`, 20 — a mark, not a control) | throughout |
209
- | Icon buttons | `.vd-icon-button-md` (`vd:h-control-md vd:aspect-square`, 28, 16px icon — the base) · `.vd-icon-button-inline` (`vd:size-[18px]`, 18, 14px icon; below the ladder) | 533:13973, Data Item icon |
321
+ | Buttons | `.vd-btn` (`vd:h-control-md`, 28) · `.vd-btn-sm` (`vd:h-control-sm`, 24) · `.vd-tab-chip` (`vd:h-control-sm`, 24) · `.vd-chip` (`vd:h-control-xs`, 20) | throughout |
322
+ | Icon buttons | `.vd-icon-button-md` (`vd:h-control-md vd:aspect-square`, 28, 16px icon — the base) · `.vd-icon-button-sm` (24, 14px icon) · `.vd-icon-button-inline` (`vd:size-[18px]`, 18, 14px icon; below the ladder) | throughout |
210
323
 
211
- - **Density rule: the row is the unit, not the card.** Rows are 36 / 38 / 44 / 55; nothing on the review surface is a padded card except the queue KPI tiles and the CMS field groups. **Confidence:** high.
212
- - **Vertical rhythm inside a module is 16** (`vd:gap-4`). Header → list = 16, list → `.vd-divider` → list = 16/16, Display gap = 16. **Confidence:** high.
213
- - **Between-module rhythm is 56 optical (28+28, `vd:pb-7` + `vd:pt-7`) with a hairline at the midpoint.** **Confidence:** high.
214
- - **Horizontal rhythm inside a row is 16** (`.vd-data-row` `vd:gap-4`) with `vd:px-1` inset padding so hover backgrounds outdent the text by 4. **Confidence:** high.
215
-
216
- ---
324
+ - **Density rule: the row is the unit, not the card.** Rows are 36 / 44 / 48 / 64; nothing in the content column is a padded card. The only boxed objects are the ones §3 names. **Confidence:** high.
325
+ - **The record grid is one grid.** Every record row is `4 + text + 16 + status + 16 + 78 + 4`. Inside a `.vd-record` the text column is 536 while the container allows and gives way below 742, so the status column never squeezes to nothing and stays aligned between a section line and the fields under it. The owner list keeps its own fixed 268 at the right edge; at the 828 row its statuses start on the same x. A page never sets these widths itself. **Evidence:** library `CLAUDE.md` (Record, Owner Row). **Confidence:** high.
326
+ - **Between-section rhythm is 24 above and 24 below the content, with a hairline at the seam.** **Confidence:** high.
327
+ - **Spacing must match between pages.** Tab rows, top padding, section padding and dividers on KYC, Documents, Rules and Activity are the Application page's; a page that drifts from them is a defect, not a variation (§9.1). **Confidence:** high.
217
328
 
218
329
  ### 4.1 The control ladder and how controls nest
219
330
 
220
- - **Every control height is a step on `--height-control-*`** — xs 20 / sm 24 / md 28 / lg 32 / xl 40, authored in Figma as `Height/Control/XS..XL` and bound on every in-scope variant. Cite steps as `vd:h-control-*` (pinned controls) or `vd:min-h-control-*` (floor components: Text Area, Menu Item, Comment Composer, Recipient Input). Never a raw px or a spacing multiplier for a control height — `verify:height-scale` fails the library on either, and a page that writes `vd:h-7` for a button is one spacing edit from drifting off the ladder. **Page chrome stays arbitrary**: `vd:h-[103px]` KPI band, `vd:h-[71px]` card, `vd:h-[55px]` owner row, `vd:h-[30px]` CMS row, `vd:h-[18px]` rail rows and `vd:h-[38px]` data rows are row geometry, not controls; `.vd-data-row` is 38 by design and 38 is not a step. **Evidence:** 67:3409 variables; tokens/control-heights.json. **Confidence:** high.
331
+ - **Every control height is a step on `--height-control-*`** — xs 20 / sm 24 / md 28 / lg 32 / xl 40, authored in Figma as `Height/Control/XS..XL` and bound on every in-scope variant. Cite steps as `vd:h-control-*` (pinned controls) or `vd:min-h-control-*` (floor components: Text Area, Menu Item, Comment Composer, Recipient Input). Never a raw px or a spacing multiplier for a control height — `verify:height-scale` fails the library on either, and a page that writes `vd:h-7` for a button is one spacing edit from drifting off the ladder. **Page chrome stays arbitrary**: the `vd:h-[103px]` KPI band, the `vd:h-[71px]` card and the `vd:h-[30px]` CMS row are row geometry, not controls. Record rows are not on the ladder either, and their heights are the components' own — Content Row 48, Data Row 44, Owner Row 64 — never restated on a page. **Evidence:** 67:3409 variables; tokens/control-heights.json. **Confidence:** high.
221
332
  - **A control inside a control uses the step two below its host, and the difference is split as inset.** A 32 host holds a 24 control with 4px above and below; a 40 host holds a 32 with 4/4; a 28 host holds a 20 with 4/4. This is why the Comment Composer footer's `.vd-btn-sm` and `.vd-icon-button-sm` (24) sit inside its 40 shell rows and why the Filter Segment's inline icon (18) sits in the 28 segment. Two library exceptions, faithful to Figma and on the designer list: Recipient Input lg (32) holds Tag sm (20 — three below, 5px inset after the floor rule) and xl (40) holds Tag lg (32 — one below, 3px). **Confidence:** medium — the rule is inferred from the file, the exceptions are measured.
222
333
  - **Floor components subtract the rendered 1px hairline per side from their vertical padding; height-bound components don't need to, height clamps.** Chrome floors the 0.5px hairline to 1px and adds it to a content-driven box (the CSS twin of Figma's `strokesIncludedInLayout: false`), so Figma's padding-y would put every one-line floor ~2px over its token. Text Area is `vd:py-0.5 / 1 / 0.75 / 1.25 / 2.25` (2/4/3/5/9), Recipient Input lg 5 / xl 3, Composer shell 9; Menu Item has no border and keeps Figma's values. A page composing a bordered floor box of its own applies the same subtraction. **Evidence:** measured 2026-09-24, one-line floors exact. **Confidence:** high.
223
334
  - **The full set, spelled out** (the closed set only carries what is written here, literally): `vd:h-control-xs` · `vd:h-control-sm` · `vd:h-control-md` · `vd:h-control-lg` · `vd:h-control-xl` · `vd:min-h-control-xs` · `vd:min-h-control-sm` · `vd:min-h-control-md` · `vd:min-h-control-lg` · `vd:min-h-control-xl` · `vd:aspect-square` (square controls: Icon Button, Pagination Item).
224
335
  - **The deprecated 26px chip-tab height spelling was removed from the closed utility set in 0.5.0.** Write `vd:h-control-sm` (24); the codemod's `--utilities` reports the old spelling, since the box shrinks 2px.
225
336
 
337
+ ---
338
+
226
339
  ## 5. Component selection rules
227
340
 
228
- - **Data list (`.vd-data-row` — label / value / verification) for anything the reviewer reads field by field; table only for a homogeneous queue of records.** The review surface uses zero tables; the queue and the CMS index use tables — for which the library has no component yet (§11). **Evidence:** all detail tabs vs 693:25626 and 777:30892. **Confidence:** high.
229
- - **KPI cards only for counts at the top of a list page** (queue; a token composition, not `.vd-card` — §11). On the review surface the equivalent is the borderless Snapshot metric strip — label (`vd:text-label-compact vd:text-content-secondary` — Rev3 binds `Label/Compact`: `KYB`, `Bizchex`, `Ownership`, 451:7709) over value (`vd:text-heading-section vd:text-content-primary`, `--text-heading-section`: Inter Semi Bold 17/22), no card chrome. **Evidence:** 705:27436 vs 451:7709. **Confidence:** high.
230
- - **Inline expansion, never modal, for detail.** `.vd-icon-button vd-icon-button-inline` chevron on the row's right edge; expanded state grows the row in place. Popovers (`.vd-dropdown-menu` menus and filter panels) are the only overlays for content. **Evidence:** §2.1; 556:22379, 693:26205. **Confidence:** high.
231
- - **Terminal decisions confirm in a modal; reversible actions confirm inline.** `Reject` / `Decline` open the library's `.vd-modal` (`<dialog>`, backdrop, `.vd-btn-critical` confirm — the library's own *Decline this application?* example). Reversible confirmations stay in the module: "Cancel this override? The rule returns to Warning and the cancellation is recorded to the activity log." renders as a 44px row (`vd:h-11`) with `Keep` / `Cancel Override` as `.vd-btn vd-btn-outline vd-btn-sm`, both neutral at rest. **Evidence:** Rules "Override Row" y=147; designer decision 2026-09-10. **Confidence:** high.
232
- - **Tabs for lenses on one object; stepper for a linear, committed flow.** Detail tabs and the CMS index tabs are `.vd-tabs vd-tabs-chip` lenses; the send wizard is a `.vd-stepper` with a footer. Numbered sections (`01 Details / 02 Message`) are a stepper *without* progression — all sections visible at once — and are plain `vd:text-data-compact vd:font-mono` numbers, not `.vd-step` markers. **Evidence:** 533:13978, 777:31076 vs 778:32157, 782:33283. **Confidence:** high.
233
- - **Filter state is a `.vd-tag`; type chips are also `.vd-tag`.** Sub-toolbar filter chips are `.vd-tag vd-tag-md` (24 tall, `vd:rounded-pill`, hairline at rest, `.vd-tag-count` after the label (Inter `vd:text-action-compact` since Rev3 — no longer mono); active `aria-pressed="true"` = `vd:bg-primary vd:text-content-contrast`); type chips in the rail (`New Business`, `Online`, `Middesk`, `INC`) are `.vd-tag` (21 tall, `vd:rounded-pill`) and never pressed. The radius-6 26-tall element is `.vd-tab-chip`, not a chip. **Not `.vd-pill`** — the library's Pill (17 tall, 12px `Supporting/Caption Strong` since Rev3) matches neither. **Evidence:** 546:18952 (active), 533:15717–533:15723, 533:14088–533:14092. **Confidence:** high.
234
- - **Action placement.** Primary decision: 48 bar top-right (`Approve` = `.vd-btn vd-btn-primary`). Page utility: sub-toolbar right (Re-Run KYC, Upload, Request Document, Export Activity) as `.vd-btn vd-btn-outline vd-btn-sm` (24). Row-level actions: inline `.vd-text-button vd-text-button-cell` or `.vd-btn vd-btn-outline vd-btn-sm` at the row's right (`Remind`, `Override Rule`, `View KYC Checks`) or a kebab `.vd-icon-button vd-icon-button-inline` opening a `.vd-dropdown-menu`. Destructive: **neutral at rest, destructive on hover, red in menus.** `Reject` is a `.vd-btn vd-btn-outline` with an `#x` icon at rest and takes the critical treatment on hover `[planned variant, §12]`, then confirms in `.vd-modal`; `Remove` is the last `.vd-menu-item` in the kebab menu after a `.vd-dropdown-menu-divider`, in `vd:text-critical` (the library's destructive-row treatment). No red *fill* appears in a resting state anywhere on the surface; `.vd-btn-critical` appears only inside the modal. **Evidence:** 533:13974, 546:18955, 556:22379 (menu: Edit / Re-Run KYC / Re-send Invite / Copy Invite Link / Remove); designer decisions. **Confidence:** high.
235
- - **Cross-links are `.vd-text-button vd-text-button-primary` (`vd:text-action-compact vd:text-primary` — the migrated Text Button, hover `vd:text-primary-dark`) with an `icon-size-12` `#arrow-right`, prefixed by a verb and suffixed with the path:** `Go to source · KYB · TIN check`, `View KYC Checks →`, `View in KYB →`, `Review discrepancy →`. Warning-context links take `vd:text-warning` (`--color-warning`: #c9881f) `[planned variant, §12]`. **Evidence:** Rules "Outline Data" label #1e4d8c; KYB "Review Action" #c9881f. **Confidence:** high.
236
- - **When a module deviates from the 140/960 shell:** (a) the Ownership module adds a full-width `.vd-progress-bar` (`.vd-progress-bar-track` / `.vd-progress-bar-fill`, unaccounted remainder as the track, `.vd-progress-bar-legend` carrying `8% · unaccounted` on a `.vd-progress-bar-legend-swatch-neutral`) and owner rows of 55 with three inline check columns (`Application ✓ Identity ✓ Documents ✓` as `.vd-section-marker vd-section-marker-approve`) — justified by the row being a *person*, not a field; (b) the Documents "Requested" row uses a filled surface + dashed icon because the object does not exist yet; (c) the Signature Card row adds a colored progress bar (complete = `.vd-progress-bar vd-progress-bar-success`; partial = warning scheme `[planned variant, §12]`) and signer sub-rows; (d) KYC DOCUMENT and SELFIE embed image thumbnails on a `vd:bg-surface-card` well with FRONT/BACK `vd:text-label-compact` labels and expand/download `.vd-icon-button vd-icon-button-inline`s. In all cases the 140/960 grid and the header-row anatomy are kept. **Evidence:** 533:14038, 480:9059, Signature Card in Documents-1.png, Main_Screen.png. **Confidence:** high.
341
+ The Figma library and `@valiify/dashboard-ui` are the source of truth; pages compose them and do not invent parts.
342
+
343
+ - **Check the library first.** Use an existing component, or extend one with a new variant or property, before making anything new. §10 is the full list, with the Figma node and the package class for each. **Confidence:** high.
344
+ - **Every object is a component.** No loose frames, text or shapes on a page in Figma; anything new becomes a named component on the right board before it is used. In code the same rule reads: no markup that is not a library component, a §11 composition or a §12 interim. **Confidence:** high.
345
+ - **Reuse the established pattern for the job:**
346
+
347
+ | Job | Use | Never |
348
+ |---|---|---|
349
+ | A dialog | `.vd-modal` (Modal 908:1580) | a hand-built dialog |
350
+ | A section line | `.vd-content-row` (Content Row 168:845) | a new row style, a bordered box |
351
+ | A field | `.vd-data-row` (Data Row 165:678) inside `.vd-data-list` | a table cell, a card |
352
+ | An owner or party | `.vd-owner-row` + `.vd-owner-table-header` (245:6002, 254:7453, 2042:35106) | a row of avatars, a per-owner card |
353
+ | A lens on one object | `.vd-tabs vd-tabs-chip` › `.vd-tab vd-tab-chip` (Tabs 108:653) | underline tabs in the tab row |
354
+ | A choice that changes what a form means | `.vd-segment-selector` › `.vd-tab vd-tab-segment` (784:34686), at the top of the form | a checkbox, two dialogs |
355
+ | An applied filter | `.vd-filter-segments` › `.vd-filter-segment` (678:21020) | a new chip |
356
+ | A tag | `.vd-tag vd-tag-label` — a flat grey chip with a group dot (Tag 79:251) | a tinted state tag, tags in the tab row, a plain text line |
357
+ | A status | a marker from §6.1 in the status column | a word beside the marker, an inline alert, a status pill in a row |
358
+ | A message | `.vd-toast` (Toast 880:31121) | a banner, a second toast style |
359
+ | A menu | `.vd-dropdown-menu` › `.vd-menu-item` (139:798, 1304:35667) | a custom popover |
360
+ | An icon that acts | `.vd-icon-button` (Icon Button 78:210) | a raw glyph with a click handler |
361
+ | A disclosure | `.vd-icon-button vd-icon-button-inline` holding `#chevron-down`, with `aria-expanded` | a second chevron style, a plus/minus |
362
+
363
+ - **Use tokens, never raw values.** Colours come from the Valiify variables — `Stroke/Divider` for most borders. Text is a soft grey (`Content/Secondary`, `Content/Tertiary`), with near-black `Content/Primary` reserved for the value a reviewer reads. The accent is the muted blue (`Primary/Main`, #1e4d8c), used only for selection, primary actions and links. **Confidence:** high.
364
+ - **Decision controls live in the header, top-right, on every tab.** `Decline` is a plain bordered button with no icon — `.vd-btn vd-btn-outline` — and confirms in `.vd-modal vd-modal-destructive` (`.vd-btn-critical` appears only there). `Approve` is `.vd-btn vd-btn-primary`. **A blocked Approve uses the disabled grey, with a compact count and a hover breakdown**: `.vd-btn vd-btn-blocked` with `aria-disabled="true"` (so it stays focusable), a `.vd-badge vd-badge-neutral` carrying the open-finding count, and a `.vd-tooltip` on hover and on focus that lists what is left ("Clear 5 findings · sign off 3 groups"). Approve never opens a list or splits into two buttons. **Evidence:** 1857:94810, 1857:94854; A4 2016:49256; decided 2026-11-19. **Confidence:** high.
365
+ - **Secondary actions live in the ellipsis menu, not as extra header buttons.** The menu is the Application actions recipe (Menu / Application actions 2038:33106; Run KYC submenu 2038:34112); the assignee control opens the Assign recipe (Menu / Assign 2038:33853). **Evidence:** D1 2016:51063, D2 2016:51202, D3 2016:51341. **Confidence:** high.
366
+ - **A row's action appears on hover in the row's right side, and stays while the row is open.** Override, Retry, Remove override, Refund, Edit: an Icon Button or Text Button in the row's action group, revealed on hover **and** on focus (`.vd-data-row-action`, `.vd-content-row-action`, `.vd-funding-transaction-action`). An expanded row keeps its actions visible. **Evidence:** 168:845, 165:678, 2016:48814; Rules 2171:72147. **Confidence:** high.
367
+ - **Inline expansion, never a drill-in, for detail.** Modals are for confirmations and for the one shared Upload / Request dialog; a document preview is the Documents page's drawer (a board component, §13). Nothing else leaves the page. **Evidence:** §2.1. **Confidence:** high.
368
+ - **Reversible or row-scoped decisions confirm inline; anything that reaches outside the record confirms in a Modal** (§6.3). Refund → `.vd-inline-confirm`. Re-pull, remind, re-run, override, remove, decline → `.vd-modal`. **Evidence:** B2 2016:49812; 2162:56814, 2162:57086, 2171:72579, 2212:80298. **Confidence:** high.
369
+ - **A component change ripples.** Changing a shared component means checking every page that uses it, and clearing the instance overrides that would hide the change. Clipped text, a wrapped label or an overridden instance is fixed in the component, so every page benefits — never patched on the one page that showed it. **Confidence:** high.
370
+ - **Do not bloat the package.** A one-off component stays on its page's board (§2.1) until it is approved for the library. Until then it is not composable from this file. **Confidence:** high.
371
+ - **Data list for anything read field by field; a table only for a homogeneous set of records** — owners, parties, the queue. **Confidence:** high.
237
372
 
238
373
  ---
239
374
 
240
375
  ## 6. State handling
241
376
 
242
- - **Verification state is a `.vd-field-verification` text + icon pair in the third column of every data row, never a colored cell.** `Verified`, `Reviewed`, `Complete`, `KYC Matched`, `Matches Applicant`, `Active · good standing`, `OTP Verified` → `.vd-field-verification-verified` (`.vd-section-marker vd-section-marker-approve` `#check` in `Approved/Main` green + `vd:text-content-tertiary` label); `Applicant stated`, `Not screened`, `Not provided`, `Unverified` → `.vd-field-verification-pending` (`#circle`) / `.vd-field-verification-none` (`#minus`), `vd:text-content-tertiary` / `vd:text-content-faint` (#727280 / #c4c4ce) — neutral, not a failure; `Does not match KYB`, `1 Conflict`, `1 Rule Flagged`, `Enhanced Due Diligence`, `Review discrepancy →` → warning state, `vd:text-warning` (#c9881f) `[planned variant, §12]`; `2 Conflicts`, `Rejected` → `.vd-field-verification-mismatch` (`vd:text-critical`, `--color-critical`: #c5303c, on icon and label, 15px `#triangle-alert`); `Rule already noted` → info text `#415472` `[raw — planned, §12]`; `Pending Signature` → pending amber `#ad751b` `[raw — planned, §12]`. Source is embedded in the state text (`.vd-field-verification-label`; mono detail lines are `.vd-field-verification-detail`): `Middesk · IRS name match`, `Middesk · location_frequency · Moderate frequency…`. **Evidence:** Data Item nodes across 408:11201, 383:8701, 480:9026; designer decisions. **Confidence:** high.
243
- - **Roll-up to page level happens in four places, all worst-state:** (1) rail Status (`● Pending Review`); (2) rail Rules card counts by severity; (3) rail Key Indicators (`KYB Status ● Review · 14/16`); (4) queue KPI cards and the row's status tags. Roll-up to tab level: module header verdict (`Middesk · 14 / 16 checks passed`, `⚠ 2 Conflicts`, `⚠ 1 Rule Flagged`). Roll-up to module level: the Risk Overview list of pass/review/fail `.vd-chip`s. **Evidence:** 533:14075–533:14149, 383:8701 headers, 534:16925 chips. **Confidence:** high.
244
- - **Status pills are `.vd-chip` (xs default since 0.5.0: `vd:h-control-xs vd:px-1.5 vd:rounded-pill vd:text-action-compact` — 20 tall) and use the semantic `-soft` tint with the full color as text:** `Pass` = `.vd-chip vd-chip-success` (`vd:text-approved` #157d61 on `vd:bg-approved-soft` #1a9b78 @9%); `Review` = `.vd-chip vd-chip-warning`; `Failed` = `.vd-chip vd-chip-critical` (`vd:text-critical` on `vd:bg-critical-soft` #d8434f @9%). Pills appear only in Risk Overview lists and the recipient `Duplicate` flag — not in data rows. **Evidence:** 534:16879 chips; Review___Send.png. **Confidence:** high.
245
- - **Severity is always `.vd-dot` + icon + label + count** in the rail (count `vd:text-data-compact vd:font-mono`) and dot + label in the margin column; the dot colors are the only place severity color appears as a fill. Dot palette: critical `.vd-dot-critical` (`vd:bg-critical` #c5303c), warning `.vd-dot-warning` (#c9881f), no-data `.vd-dot-neutral` (`vd:bg-neutral-strong` #4e4e59), overridden = purple `.vd-dot` variant on `--color-misc-purple` (#7b5ea7) `[planned variant, §12]`, passed `.vd-dot-success` (`vd:bg-approved` #157d61). **Evidence:** dot census on 549:15099 (4 / 6 / 3 / 3 / 12). **Confidence:** high.
246
- - **Empty is a real row, not a blank.** A missing document is a `Requested · 3 days ago` row with a dashed clock icon, `Remind` (`.vd-btn vd-btn-outline vd-btn-sm`) and dismiss (`.vd-icon-button vd-icon-button-inline` `#x`); a missing owner field is `Incomplete Data` with a hollow warning ring `[planned variant, §12]`; an unaccounted ownership share is the gray remainder of the `.vd-progress-bar-track` with `8% · unaccounted` in the legend. **Evidence:** 480:9059, 533:14038, Application_Container.png. **Confidence:** high.
247
- - **Disabled is the brand fill at 40% with white text** — `.vd-btn vd-btn-primary` `:disabled` = `vd:bg-primary-disabled` (`--color-primary-disabled`: #1e4d8c @40%) (`Confirm Override` before a reason is typed). Auto-completed checklist items are checked and dimmed (`Rules Review 1/1`) — `.vd-checkbox`'s checked label is `vd:text-content-tertiary` by design. **Evidence:** Rules "Disabled Action"; Documents.png rail. **Confidence:** high.
248
- - **Validation is by help text under the field, before the action** — `vd:text-supporting-caption vd:text-content-tertiary` (12/18): "The reason is attached to this rule and recorded to the activity log under your name. The rule will count as cleared. The override can be cancelled later." The field itself is `.vd-textarea-field vd-textarea-bg-neutral`. **Evidence:** 534:17399 override block. **Confidence:** high.
249
- - **Every completed action is announced with a `.vd-toast` and recorded in the activity log.** Overrides, cancellations, re-runs, document requests, sends and decisions all raise a toast (`.vd-toast vd-toast-success` for completions; the library's *Document request sent* example) and leave a durable record: a completed override becomes an `OVERRIDE REASON` block with attribution and a `Cancel Override` action; a completed check becomes a green-dot event in Activity. Toasts are the only banner-type feedback on the surface. **Evidence:** Rules overridden group; Activity.png; designer decision 2026-09-10. **Confidence:** high.
250
- - **Every data row has a hover state** — `.data-row:hover` = `vd:bg-action-subtle` (#141428 @3%) on the row's `vd:rounded-tight` box, with the `vd:px-1` inset so the fill outdents the text by 4. There is no separate resting attention fill on rows; a filled row in a frame is a captured hover. **Evidence:** Data Item nodes (r=4, pad x 4); `data-row.css`; designer decision. **Confidence:** high.
251
- - **Roll-up counts must reconcile across every level** — rail `n/m`, tab filter `All n`, group headers, and margin counts must agree, because each is a worst-state summary of the same set. The sample data in the frames does not reconcile; production and handoff data must. **Confidence:** high (as a requirement).
252
- - **Loading, error, and network-failure states are composed inside the established shell** — same nav rail, 48 bar, tab row, and summary rail; the skeleton or failure occupies the content column (and, where the failure is rail-scoped, the rail body), following the "empty is a real row" principle. Loading = `.vd-skeleton vd-skeleton-line vd-skeleton-md` / `.vd-skeleton vd-skeleton-heading vd-skeleton-md` rows inside a container carrying `role="status" aria-busy="true"` and a label (each skeleton `aria-hidden`), or `.vd-loading-inline` for a single row. A failed module = a module row whose Display holds an `.vd-alert vd-alert-critical` (3px `critical` rail, `vd:bg-critical-soft`, `#triangle-alert`) with a `.vd-text-button vd-text-button-primary` retry action — not a full-page interstitial. Whole-page and network failures = a dedicated page inside the workspace card on the canvas. **Evidence:** designer decision 2026-09-10; no frames. **Confidence:** high (rule) / medium (visual detail).
377
+ ### 6.1 The status language
378
+
379
+ A status is a small marker in its column, the same marker everywhere, with no words beside it. The shape carries the meaning, so it survives without colour.
380
+
381
+ | State | Marker | Library form | Figma |
382
+ |---|---|---|---|
383
+ | Passed, confirmed, funded | Thin green check — the only green check; no grey checks | `.vd-field-verification vd-field-verification-verified vd-field-verification-compact` (a `.vd-section-marker vd-section-marker-approve` holding a 14px `#check`, `Approved/Main`) | Field Verification 142:350 (Display=Compact); Section Marker 141:1071 |
384
+ | Critical, failed | Red diamond | `.vd-severity-marker vd-severity-marker-critical` (`Critical/Main`) | Severity Marker 2016:43156 |
385
+ | Review, pending | Amber dot | `.vd-severity-marker vd-severity-marker-review` (`Warning/Main`) | Severity Marker 2016:43156 |
386
+ | Info, no data, waiting | Hollow grey ring | `.vd-severity-marker vd-severity-marker-info` (`Neutral/Main`) | Severity Marker 2016:43156 |
387
+ | Overridden, not applicable | Faint dash | `.vd-field-verification vd-field-verification-none vd-field-verification-compact` (a `.vd-section-marker` holding a 14px `#minus`) | Field Verification 142:350 (State=none) |
388
+ | Refunded | Return arrow, neutral grey — its own icon, never the dash | a 14px `#undo-2` in `vd:text-content-tertiary` (interim composition, §12) | Funding Transaction 2016:48814 (State=Refunded) |
389
+ | Running | The library loading spinner | `.vd-loading-indicator` (12px, the default) | Loading Indicator 1028:1992 |
390
+ | Count of issues | Marker plus a number — used on section lines; no words | `.vd-severity-count` (`vd-severity-count-flush` in a status column) | Severity Count 2016:43181 |
391
+
392
+ - **The marker is the message; detail goes in the row text.** No word beside a marker, no inline alert under a row, no "Funded" label, no tinted state tag. The accessible name carries the word: a marker takes `role="img"` and an `aria-label`, or `aria-hidden` when the row text already says it; a compact Field Verification keeps its label in the DOM, visually hidden. **Evidence:** 1857:95062, 2016:48814; §9.2. **Confidence:** high.
393
+ - **Every marker sits in the status column** and lines up with the column above it, on a closed line, an open row, a table and a funding row alike. A status drawn anywhere else is a defect (§9.1). **Confidence:** high.
394
+ - **Status dots are for objects, not for rows:** `.vd-dot` marks the application's status in `.vd-panel-status`, a session in the nav, a tag's group. Severity never appears as a `.vd-dot`. **Evidence:** Panel Status 2038:39256. **Confidence:** high.
395
+ - **Counts must reconcile** — filter counts, gutter counts, party counts and the Approve count agree after every action, because each is a summary of the same set (§8.1). **Confidence:** high (as a requirement).
396
+
397
+ ### 6.2 Hover, open, selected, linked
398
+
399
+ - **Every row has a hover state** — `vd:bg-action-subtle` on Content Row, Data Row and Owner Row, one step deeper (`Action/Hover`) on a Funding Transaction, as drawn — and that is why rows need no dividers. There is no resting attention fill on a row; a filled row in a frame is a captured hover. **Evidence:** 168:845, 165:678, 2016:48814. **Confidence:** high.
400
+ - **Chevrons point down when closed and up when open, everywhere.** Use the library Icon Button chevron: `#chevron-down` in an `.vd-icon-button vd-icon-button-inline` whose `aria-expanded` turns it over. The panel's group headers are the one set drawn open with `#chevron-up`; the library turns that one over when closed. **Evidence:** 168:845, 2038:38947. **Confidence:** high.
401
+ - **Open-finding emphasis is a soft colour change on the card and the 2px linked stroke on the row** — never a left accent bar on the card, a ring on the count or a fill on the row. **Evidence:** F2 2145:40635; §9.2. **Confidence:** high.
402
+ - **Selected is the control's own state**: a radio row in the KYC and Rules tables (filled and barred), `aria-selected` / `aria-checked` on a tab, a check on a menu row. A selected thing is never also restated by a chip beside it. **Evidence:** 1857:110835, 2171:72039. **Confidence:** high.
403
+
404
+ ### 6.3 Confirmations
405
+
406
+ - **Anything with a side effect asks first:** re-pull, remind, override, re-run, remove, decline, refund. **Confidence:** high.
407
+ - **The dialog says exactly what will happen** — who it runs for, the email address it goes to, and that it shows in the applicant portal. Never a generic "Are you sure". **Evidence:** 2162:57086 (remind, confirm email), 2162:56930, 2171:72579. **Confidence:** high.
408
+ - **With several people to choose from, nobody is ticked to start and the main button stays disabled. With one person, show them with no checkbox.** A default never acts for the user. **Evidence:** 2162:56930 vs 2162:56814. **Confidence:** high.
409
+ - **The main button names the result:** "Re-pull for 2", "Send 2 emails", "Send request", "Refund $300.00". **Confidence:** high.
410
+ - **Dialogs are built from the library Modal** (`.vd-modal` on a native `<dialog>`; `-destructive`, `-positive` or `-neutral` by what the action does). The page-specific dialogs on the boards (§2.1) are Modal compositions, not new components. **Evidence:** Modal 908:1580. **Confidence:** high.
411
+
412
+ ### 6.4 Messages
413
+
414
+ - **Toasts use the library Toast, show at the top of the screen, stay about 6 seconds and pause on hover and on focus.** Reversible actions offer **Undo** (a `.vd-text-button vd-text-button-primary` in the toast footer); a toast that carries an action must stay until it is dismissed or the action must exist elsewhere. Every toast is `role="status"`, in a region that exists before the message is injected. Bottom of the screen and 5 seconds were rejected: easy to miss. **Evidence:** 2162:58327 (reminder sent), CM6 2147:82973; Toast 880:31121. **Confidence:** high.
415
+ - **Tooltips are the library Tooltip** (`.vd-tooltip`, an inverse surface). In Onyx the designer's rule is a dark raised surface, never white; the shipped `Inverse/Surface` is near-white in Onyx — open, §13. **Evidence:** Tooltip 880:31125. **Confidence:** high (component) / open (Onyx value).
416
+ - **A failed action says so where it happened** — the composer's error state on a comment that could not post, a failed funding row with the critical marker — and never only in a toast. **Evidence:** CM5 2147:82079, B4 2016:50090. **Confidence:** high.
417
+
418
+ ### 6.5 Menus
419
+
420
+ - **Built from library Menu Items** in a `.vd-dropdown-menu`. A destructive row is the last one, after a `.vd-dropdown-menu-divider`, with `.vd-menu-item-critical`.
421
+ - **A second-level menu starts with a back row** (`.vd-menu-item-chevron-left` leading the row).
422
+ - **Single choices are radios; multiple choices are checkboxes. Never checkboxes for a single choice.** One-of-N rows are `role="menuitemradio"` with `aria-checked` and a `.vd-menu-item-check`; N-of-many rows carry `.vd-menu-item-checkbox`. A selected row needs its check — the row itself draws nothing for selected.
423
+ - **When a choice changes the meaning of a form** (a new document versus answering a request), it is a segment control at the top, not a menu and not a checkbox.
424
+ - **Evidence:** D1 2016:51063, D2 2016:51202, D3 2016:51341, 2139:70500, 2162:57352 vs 2162:57513; Menu Item 1304:35667. **Confidence:** high.
425
+
426
+ ### 6.6 State coverage
427
+
428
+ A page is not ready for development until each of these exists as a frame, and a build is not finished until each is reachable:
429
+
430
+ | State | What it looks like on this surface |
431
+ |---|---|
432
+ | Default | the collapsed page |
433
+ | Hover | row fill, revealed row actions |
434
+ | Open | a section, row, finding or checklist group expanded in place |
435
+ | Selected | a radio row, a tab, a focused person |
436
+ | Empty | a real line, not a blank — "No comments yet" (CM2), "Not run yet" (Rules 1937:47236), "Not verified yet" (KYC 1937:44319), "All requested" (Documents 1937:49204), "All clear" (F10) |
437
+ | Loading or running | `.vd-loading-indicator` in the status column for a running check; `.vd-skeleton` lines inside a `role="status" aria-busy="true"` container for content not yet loaded; "Re-running" (2171:72633, 2212:80602) |
438
+ | Error or failed | a failed check: the critical marker on the row, the reason in the row text. Content that failed to *load* (not a failed check): an `.vd-alert vd-alert-critical` with a retry in the section's place — never a full-page interstitial (carried from v1.0; no frame) |
439
+ | Confirmation | §6.3 |
440
+ | Success message | §6.4 |
441
+ | Lifecycle | the header's states — new, waiting on applicant, approved and booked, declined, withdrawn, expired (A1–A6) |
442
+ | Onyx | every one of the above under `data-theme="onyx"` |
443
+
444
+ - **Disabled** is the control's own disabled state (`:disabled` or `aria-disabled="true"`); a primary button that cannot run yet for a reason the user can fix is `.vd-btn-blocked`, which stays focusable so the reason can be read. **Confidence:** high.
445
+ - **Validation is by help text under the field, before the action** — a full sentence that states the consequence. **Confidence:** high.
253
446
 
254
447
  ---
255
448
 
256
449
  ## 7. Navigation and progression
257
450
 
258
- - **Queue → detail:** clicking a row opens the detail on the Application tab; the breadcrumb becomes `‹ Applications / Northgate Logistics, INC / #853081 Business Checking · BC001` — root, entity, then ID (mono) and product. In library terms: a `.vd-breadcrumbs` row (`vd:gap-2`) of `.vd-breadcrumb` ancestors (`vd:text-body-dense vd:text-content-secondary`), `.vd-breadcrumb-separator` slashes (`aria-hidden`), and two `.vd-breadcrumb vd-breadcrumb-current` items (`vd:text-body-dense-strong vd:text-content-primary`) joined by a `.vd-breadcrumb-separator-dot`; the ID crumb takes `vd:font-mono` at the call site. The entity crumb is required. The `‹` `.vd-icon-button vd-icon-button-md` and the `Applications` crumb are the back path; there is no separate Back button. **Evidence:** 408:11206–408:11213; designer decision. **Confidence:** high.
259
- - **Tabs do not change the breadcrumb.** The breadcrumb identifies the object; tabs are not part of the path. **Evidence:** identical breadcrumb frames across all 11 detail frames. **Confidence:** high.
260
- - **Evidence cross-links are bidirectional and name their target.** Application → KYB (`View in KYB →` on the Address conflict), Application → KYC (`View KYC Checks →` on an owner), Rules → source (`Go to source · KYB · TIN check`) — all `.vd-text-button vd-text-button-primary`; rail Review Checklist rows carry an `icon-size-14` `#chevron-right` to their tab. **Evidence:** §5 cross-link nodes; 533:14095 checklist items with chevrons. **Confidence:** high.
261
- - **The activity log is reachable three ways:** the Activity content tab (`.vd-tab vd-tab-chip`), the rail's Activity tab (`.vd-tab vd-tab-underline`), and the `Export Activity` `.vd-btn vd-btn-outline vd-btn-sm` on the tab's sub-toolbar. Every override and cancellation text says it is "recorded to the activity log". **Evidence:** 533:13978 tab 6, 533:14070, 533:14572, Rules help text. **Confidence:** high.
262
- - **CMS progression:** Content / Emails index → `New Template` or row edit → Build (Save · Send…) → Send wizard step 1 Recipients (Cancel · Review) → step 2 Review & Send (Back · Send 6 Emails). Breadcrumb grows one crumb per step (`… / Refinance Offer / Send`). Save/exit lives in the footer bar (`.vd-btn vd-btn-sm`), never in the header. `Test Send to Myself` persists in the footer across Build and both wizard steps. **Evidence:** 782:33322, 777:32059, 782:34613 and breadcrumbs 782:33274 → 777:31316. **Confidence:** high.
263
- - **Rail tabs (Summary / Comments / Activity) are a second, independent navigation axis.** They can be switched without leaving the current content tab. **Evidence:** 533:14067 present on all detail frames. **Confidence:** high.
451
+ - **Queue → detail:** clicking a row opens the detail on the Application tab. The breadcrumb is root, entity, then the ID and product: `.vd-breadcrumbs` of `.vd-breadcrumb` ancestors, `.vd-breadcrumb-separator` slashes (`aria-hidden`), and two current items joined by `.vd-breadcrumb-separator vd-breadcrumb-separator-dot`, the last carrying `aria-current="page"`. The back arrow and the root crumb are the back path; there is no separate Back button. **Evidence:** Page Breadcrumbs 2042:35242; 1857:94810. **Confidence:** high.
452
+ - **Tabs do not change the breadcrumb.** The breadcrumb identifies the object; tabs are lenses on it. **Confidence:** high.
453
+ - **Finding ↔ row is the page's main cross-link**, and it runs both ways: the jump arrow on an open finding goes to the row; the row shows the 2px linked stroke; a section line with open findings shows their count. A rule links a finding only when the finding is about that rule (§8.1). **Evidence:** F2 2145:40635. **Confidence:** high.
454
+ - **The panel's tabs are a second, independent axis** — Findings, Comments, Summary — switchable without leaving the content tab. **Evidence:** 2145:39587, 2016:50785. **Confidence:** high.
455
+ - **Selecting a person filters the page it is on** — a KYC owner row, a Rules party row, a name on the Activity timeline, "Focused on" in Documents — and the selection is visible in the control that made it, not in a second chip. **Evidence:** 2171:72039, 2155:53473, 2162:71814. **Confidence:** high.
456
+ - **The nav's state control is one quiet toggle with a menu** (expanded, collapsed, hidden), in the header. A large icon with a divider was rejected as too distracting. **Evidence:** C6 2215:84950. **Confidence:** high.
457
+ - **Keyboard:** the tablist contract (arrow keys, roving tabindex) is the application's to wire wherever `role="tab"` is used; menus open on click, focus moves into them and Escape closes them. The library ships no JavaScript. **Confidence:** high (library).
458
+ - **CMS progression** is unchanged from v1.0: index → Build → Recipients → Review & Send, one crumb per step, save and exit in the footer bar. **Evidence:** 782:33322, 777:32059. **Confidence:** high.
264
459
 
265
460
  ---
266
461
 
267
462
  ## 8. Copy and tone
268
463
 
269
- - **Labels are sentence case; section/module headings and rail card titles use `vd:text-label-compact`, which since Rev3 carries **no** text-transform — Figma types those labels mixed-case (`SnapShot`, `Critical`, `Volume & Deposits`), so casing lives in the string — never add a `vd:uppercase` to make a label shout.** Data labels: `Annual Revenue`, `Date of Birth`, `Alt. names on TIN`. Module labels as the Rev3 frames type them: `SnapShot`, `Critical`, `Volume & Deposits`, `BSA` (before Rev3 the label utility uppercased them — `SNAPSHOT`, `RISK OVERVIEW` — and the frames still carry a few typed in caps, e.g. `Risk OVerview`, a typo). **Evidence:** Data Item labels; Category texts; 451:7706, 549:15133, 215:7576, 296:4412 (re-read 2026-10-01). **Confidence:** high.
270
- - **Button verbs are imperative and specific:** `Approve`, `Reject`, `Re-Run Rules`, `Re-Run KYC`, `Request Document`, `Upload`, `Remind`, `Export Activity`, `Override Rule`, `Confirm Override`, `Cancel Override`, `Keep`, `Test Send to Myself`, `Send 6 Emails`, `New Template`. Primary buttons that commit name the count of what they commit. No `OK`, `Submit`, `Yes/No`. **Evidence:** button labels across frames. **Confidence:** high.
271
- - **Counts ride on the label with a middot:** `Review Checklist · 2/5`, `Product · 2`, `Rules · 14/17`, `Plaid · 23 / 24 checks passed`, `5 Recipients · 1 Skipped`. Middot (`·`) is the universal separator for inline metadata: `Nicholas Cooper · Jun 24, 9:20 AM`, `John Smith · Primary Contact`, `40% · Controlling Manager · Beneficial Owner`, `Middesk · KYB · TIN check`. The library's `.vd-divider-metadata` is the component form of this for key/value rows. **Evidence:** 533:14094, 533:14110, Rules attribution, Activity "By" row. **Confidence:** high.
272
- - **Every verified fact names its source in the verification column** (`Middesk · matches SOS Filing`, `Applicant stated`, `Plaid`). The source is a proper noun first, then the check. **Evidence:** Application Expand data items. **Confidence:** high.
273
- - **Reviewer attribution is `Name · Date, time`** with an `.vd-avatar vd-avatar-md`, placed *after* the content it attributes (override reason block), and in Activity as `avatar Name` + mono time (`vd:text-data-compact vd:font-mono`) on the right. System actions are attributed to `System` with a pulse icon, never anonymous. **Evidence:** Rules override blocks, 533:14548 events. **Confidence:** high.
274
- - **Help text is a full sentence, `vd:text-supporting-caption vd:text-content-tertiary` (12/18, #727280), directly under the control it explains, and states the consequence** ("recorded to the activity log under your name", "This only affects the preview; real recipients are chosen at send."). **Evidence:** 534:17399, 782:33330. **Confidence:** high.
275
- - **Findings are written as a statement of fact with the compared values:** `No match: TIN 82-4471902 did not match "Northgate Logistics LLC" at the IRS.` Requirements are written as the rule: `The federal TIN on the application must match IRS registration records for the legal entity name.` **Evidence:** Rules.png. **Confidence:** high.
276
- - **Monospace is reserved for verifiable identifiers and quantities** — `vd:text-data-compact vd:font-mono` (`--text-data-compact`: JetBrains Mono 12/16.5) for IDs (`#853081`, `BC001`, `ENV-8888-CARD`), counts in the rail, timestamps in Activity and the queue, wizard step numbers, rule category tags (`Entity`, `Sanctions`), vendor field keys (`location_frequency`), and `vd:text-data-dense vd:font-mono` (13/19.5) for the breadcrumb ID (`#853081`, 533:14548) — the pager summary and pager items. `vd:font-mono` is mandatory — the `--text-data-*` tokens carry no family and render in Inter without it. Prose and labels are never mono. **Evidence:** 533:13970, 533:14105, 533:14115, Activity timestamp, 782:33283 step number. **Confidence:** high.
277
- - **Times are absolute in detail (`Jun 23, 2026 · 1:15 PM`) and relative + absolute in the queue (`25d ago | 7/4/26, 11:00 PM`).** Activity groups by day (`SEP 12`, `vd:text-label-compact`) with mono clock times. **Evidence:** Rules "On" rows; 693:25626; 533:14548. **Confidence:** high.
464
+ Words tell the reviewer what is actually happening, with the real values, in plain terms.
465
+
466
+ ### 8.1 Wording
467
+
468
+ - **Say exactly what was flagged.** A rule line names the rule, then what was found: "IRS has no record of TIN 82-4471902 under Northgate Logistics, INC", not "TIN mismatch". Opening it shows expected against found. **Evidence:** 2171:72093. **Confidence:** high.
469
+ - **Say what an action will do.** "Emails john.smith@northgate.com and adds the request to John's applicant portal", not "Send reminder". **Evidence:** 2162:57086. **Confidence:** high.
470
+ - **Only link what is related.** A rule links a finding only when the finding is about that rule. **Confidence:** high.
471
+ - **Use the reviewer's words.** Waive or Override, never Accept. Decline, not Reject. Request is a general action with its own follow-up steps. **Confidence:** high.
472
+ - **Spell correctly.** A copy error in a frame is a mistake, never intent; it is corrected on the way into code and reported, not reproduced. **Confidence:** high.
473
+ - **Show time where it matters.** Document previews show the date and time added or pulled. Signing shows the exact time each person signed. Times are absolute in detail and relative plus absolute in the queue. **Confidence:** high.
474
+ - **Counts must reconcile.** Filter counts, gutter counts, party counts and the Approve count agree after every action. Sample data in a frame may not reconcile; production and handoff data must. **Confidence:** high.
475
+ - **Button verbs are imperative and name the result:** `Approve`, `Decline`, `Re-run KYC`, `Request`, `Remind`, `Override`, `Remove override`, `Refund $300.00`, `Send 2 emails`, `Re-pull for 2`. No `OK`, `Submit`, `Yes` / `No`. **Confidence:** high.
476
+ - **Casing is typed, never styled.** Labels are sentence case. No text style carries a transform; where Figma shows caps they are typed into the string, and nothing adds an uppercase transform. Keep an `aria-label` in natural case even when the visible string is typed in caps. **Confidence:** high (library).
477
+ - **Middot is the separator for inline metadata:** `40% · Authorized Signer · Beneficial Owner`, `Document accepted · N. Cooper · Mar 15`. Mark a literal separator `aria-hidden` where it is its own element. **Confidence:** high.
478
+ - **Monospace is reserved for verifiable identifiers and quantities** — `vd:text-data-compact vd:font-mono` for IDs, counts in a panel header and timestamps. `vd:font-mono` is mandatory: the `--text-data-*` tokens carry no family and render in Inter without it. Prose and labels are never mono. **Confidence:** high.
479
+ - **Help text is a full sentence under the control it explains, and states the consequence.** **Confidence:** high.
480
+
481
+ ### 8.2 Product constraints that shape wording and features
482
+
483
+ - **Communication with the applicant is limited to requests and reminders.** Do not design broader contact.
484
+ - **There is no document review:** documents are requested, received or signed, never approved or rejected.
485
+ - **KYC returns only a confirmation for the selfie and ID match.** There is no face-comparison view and no highlighting on document images.
486
+ - **An application can have up to 5 owners,** so anything listing people has to scale to 5.
487
+
488
+ A brief that asks for something these rule out is a stop (§9), not a design problem to solve.
278
489
 
279
490
  ---
280
491
 
281
492
  ## 9. Anti-patterns
282
493
 
283
- ### 9.1 Failure modes this surface avoids (page-level)
494
+ ### 9.1 Check before showing any work
284
495
 
285
- | Failure mode | What the screens do instead | Evidence |
286
- |---|---|---|
287
- | Bad density | Rows 36–55, 16px internal rhythm, no card padding around field lists; one 1100 column, never two content columns | §4 |
288
- | Ambiguous status | Every status is text + icon (+ dot); severity vocabulary is fixed and ordered; `Not screened` is visibly neutral, not failed | §6 |
289
- | Hidden decision state | Approve/Reject in the same place on every tab; rail Status + checklist `n/5` always visible | §1.2, §3 |
290
- | Buried evidence | Roll-up module first, evidence rows directly under it, `Go to source` on every finding | §3, §7 |
291
- | Unsourced verification | Third column names the vendor and check (`Middesk · TIN Match`) or says `Applicant stated` | §6, §8 |
292
- | Anonymous history | Every event and override carries avatar + name + time; system actions say `System` | §8 |
293
- | Color-only status | Color is only ever added to a dot, pill, or icon that already has text | §6 |
294
-
295
- ### 9.2 Things the designer never does on this surface
296
-
297
- - Never a filled/colored band, header, or hero. The only saturated fills are `vd:bg-primary` (the primary button, the active `.vd-tag`, `.vd-pagination-item-active`, the completed stepper marker) and the ≤9% tints (`action-*`, `primary-soft`, the status `-soft` ramp).
298
- - Never a destructive red fill at rest; `Reject` reveals the critical treatment on hover and confirms in `.vd-modal`; `Remove` is red text in a menu. `.vd-btn-critical` appears only inside the modal.
299
- - Never a card inside the content column on review pages; never nested cards anywhere.
300
- - **Never a `<button>` inside a `<button>`.** A Menu Item row that carries a trailing `.vd-menu-item-action` (Icon Button inline), a Filter Segment that hosts an Icon Button, a Tag with a Remove control — the host must be a `<div role="menuitem">`, `<span>` or `<a>`, and the Icon Button inside is the focusable. Nested buttons are invalid HTML and the browser drops the inner one; the visual harness caught it on the Menu Item Slots story.
301
- - Never a modal or drawer for *detail*; modal only for terminal-decision confirmation (§5).
496
+ These mistakes came up repeatedly during the redesign.
497
+
498
+ - [ ] **A new container or row style where one already exists.** Bordered boxes, new list layouts, new chips.
499
+ - [ ] **Extra controls that repeat something already on screen.** Filter tabs over sections, a party chip next to a selected row, "Show archived" buttons.
500
+ - [ ] **Inline alerts or words next to markers.** The marker is the message; detail goes in the row text.
501
+ - [ ] **Markers out of their column.** Every status lines up with the column above it.
502
+ - [ ] **Columns too narrow for their labels.** Headers running together, or columns not centred over their markers.
503
+ - [ ] **Inconsistent spacing between pages.** Tab rows, top padding, section padding and dividers must match the Application page.
504
+ - [ ] **Raw icons, loose text or shapes in Figma.** Icons go through Icon Button and everything is a component.
505
+ - [ ] **Hand-built versions of library components.** Dialogs, toasts, menus and rows.
506
+ - [ ] **Vague copy.** Lines that do not say what is wrong, and confirmations that do not say who, where or what happens.
507
+ - [ ] **Defaults that act for the user.** Pre-ticked people in a multi-select, or a checkbox where one person is implied.
508
+ - [ ] **Distracting chrome.** Large icons, dividers, keyboard hints and loud colours on secondary actions.
509
+ - [ ] **Rearranged copies presented as new concepts,** or concepts that skip the expanded state.
510
+ - [ ] **Fixing the symptom only.** Clipped text, a wrapped label or an overridden instance should be fixed in the component so every page benefits.
511
+
512
+ ### 9.2 Approved and rejected
513
+
514
+ The same question tends to come back, so this records what won and why the alternatives lost. A brief asking for something in the Rejected column is a stop.
515
+
516
+ | Topic | Approved | Rejected | Why |
517
+ |---|---|---|---|
518
+ | What blocks approval | One Findings panel with findings, checklist and limits | Needs-attention list, blocking modal, split Approve, Approve opening a list | One surface; no extra layers |
519
+ | Opening items | Expand in place, aligned with closed rows | Drill-in, lift or drop shadow, heavy animation | Keeps context and calm |
520
+ | Open finding emphasis | Soft colour change, 2px linked stroke on the row | Left accent bar, ring on the count, fill on the row | The others felt "way too AI" |
521
+ | Finding to row | Jump arrow on hover | "View on page" link, crosshair icons | Quieter, same weight as other icons |
522
+ | Markers | Shapes in one column, no words | Words beside markers, inline alerts, grey checks, a Funded label | One language for status |
523
+ | Tags | Flat grey chips with a group dot | Tags in the tab row, a plain text line, tinted state tags | Readable without competing |
524
+ | Record organisation | Fixed sections with summary lines | Organising by work state, Swiss oversizing, Discord or Linear copies | Universally worse or off-brand |
525
+ | Documents | Card grid in sections; reports filed with uploads | A list layout for reports, filter tabs per type, Show / Hide archived buttons | Sections already separate |
526
+ | Signing | Segmented progress, count and who is waiting | A row of signer avatars | Does not scale to 5 owners |
527
+ | Rule details | Rows on the rule's own columns, Expected against Found | A bordered box, an inline alert, a source column | Matches the Application rows |
528
+ | KYC owners | Radio rows in a table spanning the gutter | Row chevrons, a per-owner switch in the gutter | Simple selection, aligned columns |
529
+ | Activity events | Every event its own dot | Numbered stacks of grouped events | Not needed yet |
530
+ | Dialogs | Library Modal; say who and where | Hand-built dialogs; generic "Are you sure" | Consistency and clarity |
531
+ | Toasts | Top of the screen, 6 seconds, pause on hover | Bottom of the screen; 5 seconds | Easy to miss |
532
+ | Sidebar control | A small faint toggle with a menu | A large icon with a divider | Too distracting |
533
+ | Upload and Request | One dialog with two tabs; a segment for new versus answering | Separate dialogs; keyboard hints; checkboxes for single choices | Simpler, honest controls |
534
+
535
+ **Superseded from v1.0.** Not design debates — these are the v1.0 rules the redesign replaced, listed so a page built on the old shell is recognised for what it is and not copied.
536
+
537
+ | v1.0 (hybrid1) | v2.0 |
538
+ |---|---|
539
+ | 320 summary rail of roll-up cards (Status, Review Checklist, Product, Rules, Key Indicators) | The Findings panel: Status, Findings, Checklist, Resolved (§2.1) |
540
+ | 1100 content column with a right-aligned 140 margin-label column | 960 column (crunching to 820) with a 112 gutter of left-aligned titles (§1.2) |
541
+ | Workspace card with a drop shadow, canvas inset 8 | The sheet: inset 6, hairline edge, no shadow (§1.2) |
542
+ | 48 breadcrumb bar | 52 header: toggle, back, breadcrumbs, product; assignee and actions right (§1.2) |
543
+ | A 40 sub-toolbar of filter tags and re-run buttons under the tab row | Filters are the page's own table or sections; re-run sits on the line it re-runs (§2.1) |
544
+ | Status as an icon plus words in the verification column; status pills in Risk Overview | A marker in one column, no words (§6.1) |
545
+ | `Reject` with an `x` icon, critical on hover | `Decline`, a plain bordered button with no icon (§5) |
546
+ | Modules collapsed to an 80 row | Sections collapse to a summary line that tallies its rows (§2.1) |
547
+ | Rules grouped Critical → Warning → No Data → Overridden → Passed | Needs a decision → No data → Overridden → Passed (§2.1) |
548
+
549
+ ### 9.3 Things that never appear on this surface
550
+
551
+ - Never a filled or coloured band, header or hero. The only saturated fills are `vd:bg-primary` (the primary button, a selected `.vd-tag`, `.vd-pagination-item-active`, a completed step marker) and the soft tints.
552
+ - Never heavy black rules, square corners or solid black controls.
553
+ - Never a destructive red fill at rest; `.vd-btn-critical` appears only inside a confirmation.
554
+ - Never a card inside the content column on review pages except the boxed objects §3 names; never nested cards anywhere. `.vd-card` is placeholder scaffolding and is never used.
555
+ - Never a modal or drawer for *detail* that could expand in place.
556
+ - Never a second list of what blocks approval.
557
+ - Never a status word, pill or alert in a row's status column — the marker only (§6.1).
558
+ - Never a grey check.
302
559
  - Never a page title in the content column; the breadcrumb is the title.
303
- - Never a table with vertical rules or zebra striping; hairlines are `--border-thin` (0.5px) in `stroke-divider`, except where the element *is* the `.vd-divider` component, whose 1px background rule is deliberate.
560
+ - Never a table with vertical rules or zebra striping.
304
561
  - Never a serif face; Inter and JetBrains Mono only.
305
- - Never a misspelling shipped from a frame: copy defects in the source are accidents and are corrected on extraction, never reproduced.
306
- - Never a colored value cell — color lives in the verification column only.
307
- - Never an icon without a text label except the fixed 28px `.vd-icon-button-md`s (⋯, collapse, column settings, pager arrows) and the 18px `.vd-icon-button-inline` row icons — every one of which needs an `aria-label`.
308
- - Never a status word alone for a partial state — always `n/m` or `n of m` alongside.
309
- - Never a resting fill on a data row; fill is hover only.
310
- - Never the `#d9d9d9` scroll-placeholder block from the frames.
562
+ - Never a colour that is not a token, and never a page that was only checked in Light.
563
+ - **Never a `<button>` inside a `<button>`.** A Menu Item row that carries a trailing action, a Filter Segment that hosts an Icon Button, a Tag with a Remove control — the host must be a `<div role="menuitem">`, `<span>` or `<a>`, and the Icon Button inside is the focusable.
564
+ - Never an icon-only control without an `aria-label`.
565
+ - Never a misspelling shipped from a frame.
311
566
 
312
- ### 9.3 Applicant-side tokens and patterns that must not leak in
567
+ ### 9.4 Applicant-side tokens and patterns that must not leak in
313
568
 
314
- The consumer/applicant surface uses a different palette and layout language. None of the following appears in any dashboard frame or in the dashboard token set, and none should:
315
-
316
- - **Consumer brand crimson and the warm paper background** (`#A6192E`, `#FAFAF9`). **Verified absent from `valiify.css`** — no dashboard token resolves to either. The dashboard canvas is cool `surface-frame` (#f0f3f7) and its accent is `primary` (#1e4d8c).
317
- - **Brand-derived tints for status.** Dashboard status colors are the semantic tokens (`critical` #c5303c / `warning` #c9881f / `approved` #157d61 / `misc-purple` #7b5ea7 / `neutral-strong` #4e4e59) and are never derived from the brand accent; the brand accent is used only for actions, selection, and links.
318
- - **Single 560px reading column, 60px sticky header, large display type, hero/marketing spacing.** The dashboard uses a 48px bar, a 1100 column with a 140 margin axis, a 320 rail, and 10.5–13px type; the largest text on the review surface is the 17–19px KPI value (`vd:text-heading-section` / `vd:text-heading-page`) — `vd:text-display-metric` is never used here.
319
- - **Warm grays.** All dashboard grays are `#141428`-based alphas (`stroke-*`, `action-*`) or the `content-primary / -secondary / -tertiary / -faint` ramp (#16161a / #5b5b68 / #727280 / #c4c4ce) — blue-black, not warm.
320
- - **Filled status pills in data rows, emoji, illustrative icons, rounded-full cards.** `.vd-chip`s exist only in Risk Overview lists; cards only as queue KPI tiles.
321
- - **Applicant-facing copy voice** ("Good news, you're pre-qualified…"). That voice is correct *inside* the CMS email preview (it is applicant content) and nowhere else in the chrome.
569
+ The applicant surface uses a different palette and layout language. None of the following appears in any dashboard frame or in the dashboard token set: the consumer brand crimson and warm paper background; brand-derived tints for status (dashboard status colours are the semantic tokens and never derive from the accent); a single 560 reading column, a 60 sticky header, large display type or hero spacing (`vd:text-display-metric` is never used here); warm greys; emoji and illustrative icons; and the applicant-facing voice, which is correct *inside* a CMS email preview and nowhere else in the chrome.
322
570
 
323
571
  ---
324
572
 
325
573
  ## 10. Component map
326
574
 
327
- Every pattern in §1–§8 that the library ships, with the class to use. Slots and states follow the library's `CLAUDE.md`.
575
+ Every component `@valiify/dashboard-ui` 0.7.0 ships, in the order of the Figma **Components** page (0:1). Each row names the Figma component (node id in file `FdcEV83HPv44bzLPAQU1hR`), the package class to write, and the job it does on this surface. Slots, states and markup are in the library's `CLAUDE.md` under the heading in the first column; the same node ids are in `val/registry/components.json` (`figmaNodeIds`), which is what lets an instance in a frame be matched to its component exactly.
328
576
 
329
- | Pattern | Library |
330
- |---|---|
331
- | Nav rail; items; title / collapse toggle; section headers; Beta badge; collapsed rail | `.vd-nav-rail` (`.vd-nav-rail-collapsed`), `.vd-nav-item` (`aria-current="page"`), `.vd-nav-title`, `.vd-nav-group`, `.vd-nav-badge`, `.nav-*-collapsed` |
332
- | Breadcrumb bar | `.vd-breadcrumbs` › `.vd-breadcrumb` (`vd:text-body-dense vd:text-content-secondary`), `.vd-breadcrumb-current` (`vd:text-body-dense-strong vd:text-content-primary`), `.vd-breadcrumb-separator`, `.vd-breadcrumb-separator-dot`; `vd:font-mono` on the ID at the call site |
333
- | Tab row / tabs | `.vd-tabs vd-tabs-chip` › `.vd-tab vd-tab-chip` (`aria-selected` → `vd:bg-action-selected`) |
334
- | Rail header tabs | `.vd-tabs` › `.vd-tab vd-tab-underline` (32) |
335
- | `Is any of / Is none of`, Rich Text / HTML | `.vd-segment-selector` › `.vd-tab vd-tab-segment` (`aria-checked`) |
336
- | 28px bar buttons; 24px sub-toolbar / footer / inline buttons | `.vd-btn vd-btn-outline` / `.vd-btn vd-btn-primary` (md, `vd:text-action-default` 13/18); `.vd-btn … vd-btn-sm` (`vd:text-action-compact-active` 12/16/600) |
337
- | `Filter` button with soft fill, primary hairline, count | `.vd-btn btn-outline[aria-pressed="true"]` + `.vd-badge vd-badge-primary` |
338
- | Disabled `Confirm Override` | `.vd-btn btn-primary:disabled` → `vd:bg-primary-disabled` |
339
- | Terminal-decision confirmation | `.vd-modal` (`<dialog>` + `showModal()`, `.modal-notice-*`, `.vd-btn-critical` confirm) |
340
- | Action feedback | `.vd-toast` (`.vd-toast-success` for completions) |
341
- | 28px icon buttons; 18px inline icons; 12px label help | `.vd-icon-button vd-icon-button-md` / `-md` (`vd:p-0.5`) / `-xs` |
342
- | Applied filter `field · operator · value · ×` | `.vd-filter-segments` › `.vd-filter-segment vd-filter-segment-first / -md / -last` |
343
- | Rail type chips (21, never active) | `.vd-tag` |
344
- | Sub-toolbar filter chips (count, active solid) | `.vd-tag vd-tag-md` + `.vd-tag-count`, `aria-pressed` |
345
- | Status pills `Pass / Review / Failed`, `Duplicate` | `.vd-chip vd-chip-success / vd-chip-warning / vd-chip-critical` |
346
- | Severity / status dots | `.vd-dot vd-dot-critical / vd-dot-warning / vd-dot-success / vd-dot-neutral`; purple variant planned (§12) |
347
- | Search field; editable sample-data fields | `.vd-input-field vd-input-md` (+ `.vd-input-icon-left`); `vd:bg-surface-paper`, or `.vd-input-bg-neutral` for `surface-card` |
348
- | Page-size dropdown | `.vd-dropdown-field vd-dropdown-field-sm` (25) |
349
- | Override reason area | `.vd-textarea-field vd-textarea-bg-neutral` |
350
- | Review Checklist rows | `.vd-checkbox` (checked label dims to `content-tertiary`) |
351
- | Data item row | `.vd-data-row` › `.vd-data-row-field`, `.vd-data-row-value`, `.vd-data-row-status`, `.vd-data-row-action`; hover `vd:bg-action-subtle` |
352
- | Verification column | `.vd-field-verification-verified / -pending / -none / -mismatch` (+ `.vd-section-marker`); warning variant planned (§12) |
353
- | Masked SSN / DOB / account | `.vd-sensitive-data` |
354
- | Owner check columns | `.vd-section-marker vd-section-marker-approve` |
355
- | Ownership / signature progress | `.vd-progress-bar` (+ `.vd-progress-bar-success`, legend, neutral swatch); warning scheme planned (§12) |
356
- | Kebab / filter popovers | `.vd-dropdown` › `.vd-dropdown-panel` › `.vd-dropdown-menu` (`vd:p-1`) › `.vd-menu-item`, `.vd-dropdown-menu-divider`; destructive rows `vd:text-critical` |
357
- | Cross-links; `Clear All`; `Select all` | `.vd-text-button vd-text-button-primary` / `-text` / `-cell`; warning variant planned (§12) |
358
- | Wizard stepper | `.vd-stepper` › `.vd-stepper-steps` › `.vd-step` / `.vd-step-active` / `.vd-step-upcoming`, `.stepper-connector(-complete)` |
359
- | Pager | `.vd-pagination` › `.vd-pagination-pages` › `.pagination-item(-nav / -active)`, `.vd-pagination-summary` |
360
- | Module sub-list seams; rail card seams; metadata rows | `.vd-divider`, `.vd-divider-labeled`, `.vd-divider-metadata` |
361
- | Attribution / row avatars | `.vd-avatar vd-avatar-md` |
362
- | Loading; module failure | `.vd-skeleton …`, `.vd-loading-inline`; `.vd-alert vd-alert-critical` + `.vd-text-button vd-text-button-primary` |
363
- | Help icon | `.vd-icon-button vd-icon-button-xs` + `#custom-help`, `.vd-tooltip` |
364
- | Keyboard focus | `vd:focus-ring` utility on every interactive element |
365
-
366
- Shipped components that no in-scope frame uses: `.vd-pill`, `.vd-card` (scaffolding — never use). Do not map by analogy.
577
+ **00 · Tokens** (2220:114216) — Colors · Light 2042:36357 · Colors · Onyx 2042:36523. In the package: `src/themes/valiify.css` — 108 colours in two themes, 5 radii, 3 border widths, 5 control heights, 5 textarea heights, 21 text styles, 4 shadows. Cite them as utilities (Appendix A).
578
+
579
+ **01 · Foundations** (2047:67020)
580
+
581
+ | Component (`CLAUDE.md`) | Figma | Package class | On this surface |
582
+ |---|---|---|---|
583
+ | Icon | Icon Container 69:6944 | `.vd-icon` + `.vd-icon-size-10` … `.vd-icon-size-24`; sprite `#name` | every glyph; an icon that acts goes through Icon Button |
584
+ | Avatar | Avatar 79:230 | `.vd-avatar` + `-xs` / `-sm` / `-md` / `-lg` / `-xl`; `.vd-avatar-square` | round = staff (assignee, comments, user row); square = an applicant or owner |
585
+ | Chip | Chip 79:275 | `.vd-chip`, `.vd-badge`, `.vd-dot` + `-warning` / `-critical` / `-success` / `-neutral` / `-primary`; `-misc` + `.vd-misc-<hue>` | `.vd-badge` = a count (tab, Approve, strip button); `.vd-dot` = an object's status or a tag's group. Not a row status (§6.1) |
586
+ | Tag | Tag 79:251 | `.vd-tag` + `-xs` / `-sm` / `-md` / `-lg`; `.vd-tag-label`, `.vd-tag-recipient`, `.vd-tag-empty`, `.vd-tag-external` | `.vd-tag vd-tag-label` = the flat grey tag with a group dot; `.vd-tag vd-tag-sm` = the entity chip |
587
+ | Pill | Pill 91:505 | `.vd-pill`, `.vd-pill-chevron` | the selector slot in a Summary Preview; nowhere else |
588
+ | SeverityMarker | Severity Marker 2016:43156 | `.vd-severity-marker` + `-critical` / `-review` / `-info` | the status markers (§6.1) |
589
+ | Divider | Divider 880:31270 | `.vd-divider`, `.vd-divider-labeled`, `.vd-divider-metadata` | a rule inside a region; section seams are hairline borders, not this |
590
+ | LoadingIndicator | Loading Indicator 1028:1992 | `.vd-loading-indicator` + `-sm` / `-md` / `-lg`; `-dots` | the Running marker |
591
+ | LoadingInline | Loading Inline 1028:2013 | `.vd-loading-inline` | "Re-running…" beside a label |
592
+ | Skeleton | Skeleton 1063:24034 | `.vd-skeleton` + shape + size | content not yet loaded |
593
+ | ProgressBar | Progress Bar 1032:1991 | `.vd-progress-bar` (+ `-success`) and parts | ownership (as `.vd-ownership`), signing progress |
594
+ | ProgressCircle | Progress Circle 1628:17711 | `.vd-progress-circle` + size; `--progress`; `-complete` | a checklist group's progress |
595
+
596
+ **02 · Actions & controls** (2047:67021)
597
+
598
+ | Component | Figma | Package class | On this surface |
599
+ |---|---|---|---|
600
+ | Button | Button 73:180 | `.vd-btn` + `-primary` / `-outline` / `-empty` / `-critical`; `-xs` … `-xl`; `.vd-btn-blocked` | Approve (primary; blocked while findings or sign-offs are open), Decline (outline, no icon), dialog and form actions |
601
+ | IconButton | Icon Button 78:210 | `.vd-icon-button` + `-xs` / `-inline` / `-sm` / `-md` / `-lg` / `-xl` | ⋯, back, the sidebar toggle, every chevron, row tools, the jump arrow |
602
+ | TextButton | Text Button 679:21601 | `.vd-text-button` + `-cell` / `-text` / `-primary` | Refund, Reopen, Edit, Undo, Skip — row- and line-level actions |
603
+ | Link | Link 880:31368 | `.vd-link` + `-quiet` / `-monospace` / `-critical`; `.vd-link-inline` | navigation to another page; an action is a Text Button |
604
+ | Switch | Switch 108:563 | `.vd-switch`, `.vd-switch-input` | a setting (the dark-mode toggle in the account menu; Section Edit toggles) |
605
+ | Checkbox | Checkbox 108:607 | `.vd-checkbox` and parts | multiple choice; checklist tasks nest its control |
606
+ | RadioSelect | Radio 139:1049 | `.vd-radio-select` and parts | single choice; finding resolutions; table row selection |
607
+ | FilterSegment | Filter Segment 678:21020 | `.vd-filter-segments` › `.vd-filter-segment` + `-first` / `-last`, `-sm` / `-md` | an applied filter (queue) |
608
+
609
+ **03 · Inputs & forms** (2047:67022)
610
+
611
+ | Component | Figma | Package class | On this surface |
612
+ |---|---|---|---|
613
+ | Input | Input Field 854:24665 · Search Field 854:24901 | `.vd-input-container` › `.vd-input-field` › `.vd-input`; `.vd-input-search`; sizes `-xs` … `-xl` | Section Edit and Add Funds fields; the Assign menu's search |
614
+ | Textarea | Text Area 854:24876 | `.vd-textarea-container` › `.vd-textarea-field` › `.vd-textarea` | a note or a reason |
615
+ | DropdownField | Dropdown Field 854:24966 | `.vd-dropdown-field-container` › `.vd-dropdown-field` + sizes; opens a `.vd-dropdown-menu` | a select (Document, From, reason) |
616
+ | Composer | Comment Composer 1289:3690 | `.vd-composer` and parts; `.vd-composer-rows-1` / `-3` / `-5` | the Comments tab's composer |
617
+ | RecipientInput | Recipient Input 1290:4812 | `.vd-recipient-input` + `-lg` / `-xl` | CMS recipients |
618
+ | SensitiveData | Sensitive Data 296:5303 | `.vd-sensitive-data`, `.vd-sensitive-data-value` | a masked SSN, DOB or account number in a field row |
619
+ | SectionEdit | Section Edit / Business 2038:34369 | `.vd-section-edit` and parts | a section in edit mode |
620
+
621
+ **04 · Navigation** (2047:67023)
622
+
623
+ | Component | Figma | Package class | On this surface |
624
+ |---|---|---|---|
625
+ | NavigationRail | Nav Sidebar 2045:39747 · Nav Rail 728:20677 · Nav Section Header 2042:36234 · Nav / New Split 1663:43012 · Nav / Jump To 1663:43022 · Nav / Session Row 1663:43038 · Nav / Session Tile 1663:43061 · Nav / User Row 1663:43051 | `.vd-nav-rail` (+ `-sidebar`, `-peek`), `.vd-nav-title`, `.vd-nav-group`, `.vd-nav-section-header`, `.vd-nav-item`, `.vd-nav-badge`, `.vd-nav-split`, `.vd-nav-jump`, `.vd-nav-session`, `.vd-nav-user`, and the `-collapsed` parts | the left navigation in its three states (§1.1) |
626
+ | Keycap | Nav / Keycap 1663:43064 | `.vd-keycap` (on a `<kbd>`) | the shortcut hint in Jump To; keyboard hints are not added elsewhere (§9.2) |
627
+ | ResizeHandle | Resize Handle 2053:96322 | `.vd-resize-handle` and parts; `-dragging` | the nav and panel seams |
628
+ | Tabs | Tabs 108:653 · Navigation 994:31364 | `.vd-tabs` (+ `-chip`) › `.vd-tab` + `-chip` / `-underline` / `-segment`; `.vd-tab-label` | the page's chip tabs; the panel's tabs |
629
+ | SegmentSelector | Segment Selector 784:34686 | `.vd-segment-selector` (+ `-fill`) › `.vd-tab vd-tab-segment` | a choice that changes what a form means; a zoom or mode switch |
630
+ | Breadcrumbs | Breadcrumbs 880:31218 · Breadcrumb Item 1046:22649 · Breadcrumb Separator 1046:22654 | `.vd-breadcrumbs` › `.vd-breadcrumb`, `-current`, `-home`, `.vd-breadcrumb-separator` (+ `-dot`) | the header's path (recipe: Page Breadcrumbs 2042:35242) |
631
+ | Pagination | Pagination 880:31248 | `.vd-pagination` and parts | the queue footer; "1 of 3" stepping uses its simple type |
632
+ | PaginationItem | Pagination Item 894:1495 | `.vd-pagination-item` + `-active` / `-ellipsis` / `-nav` | a pager cell |
633
+ | Step · Stepper | Step 1032:2012 · Stepper 1032:2013 | `.vd-step` + `-active` / `-upcoming`; `.vd-stepper` and parts | a linear, committed flow (the CMS send wizard) |
634
+ | SectionMarker | Section Marker 141:1071 | `.vd-section-marker` + `-approve` / `-mismatch` / `-unverified` | the 16px box inside a compact Field Verification |
635
+
636
+ **05 · Menus & overlays** (2047:67024)
637
+
638
+ | Component | Figma | Package class | On this surface |
639
+ |---|---|---|---|
640
+ | DropdownMenu | Dropdown Menu 139:798 · _Menu Header 1306:34968 · _Menu Divider 1306:34966 | `.vd-dropdown` › `.vd-dropdown-panel` › `.vd-dropdown-menu`; `-search`, `-header`, `-divider`, `-footer` | every menu |
641
+ | MenuItem | Menu Item 1304:35667 · _Menu Leading 1304:4764 · _Menu Trailing 1304:4844 | `.vd-menu-item` + `-sm` / `-md` / `-lg`, `-critical`; leading `-icon` / `-tile` / `-avatar` / `-checkbox`; trailing `-check` / `-chevron` / `-shortcut` / `-switch` / `-action` | every menu row (§6.5) |
642
+ | Modal | Modal 908:1580 | `.vd-modal` + `-destructive` / `-positive` / `-neutral` and parts | every confirmation and the Upload / Request dialog |
643
+ | Toast | Toast 880:31121 | `.vd-toast` + `-success` / `-error` / `-info`; `.vd-toast-simple` | every completed-action message (§6.4) |
644
+ | Tooltip | Tooltip 880:31125 | `.vd-tooltip` and parts | the blocked-Approve breakdown; help |
645
+ | Alert | Alert 880:31080 | `.vd-alert` + `-critical` / `-warning` / `-success` / `-info` / `-neutral` | content that failed to load; never beside a marker |
646
+ | Scrollbar | Scrollbar 2038:33066 | `.vd-scrollbar` | a scroll region inside the page (panel lists, the timeline) |
647
+ | OverlayScrim | Overlay Scrim 2038:33062 | `.vd-overlay-scrim` | the backdrop behind a peeking nav |
648
+ | *(recipes, no new classes)* | Menu / Application actions 2038:33106 · Menu / Run KYC 2038:34112 · Menu / Assign 2038:33853 · Menu / Account 2038:34225 | Dropdown Menu + Menu Item, as written in `COMPONENTS.md` | the ellipsis menu, its Run KYC submenu, the assignee menu, the account menu |
649
+
650
+ **06 · Record & data display** (2047:67025)
651
+
652
+ | Component | Figma | Package class | On this surface |
653
+ |---|---|---|---|
654
+ | Record | *(library decision — no Figma component)* | `.vd-record` | the column grid every record row shares; on each section's content element |
655
+ | SummaryPreview | Summary Preview 548:22173 | `.vd-summary-preview`, `-label`, `-subtitle`, `-count` | the gutter title, its secondary line and its comment count |
656
+ | ContentRow | Content Row 168:845 | `.vd-content-row` and parts; `-linked` | a section's collapsed summary line |
657
+ | DataRow | Data Row 165:678 | `.vd-data-row`, `-field`, `-value`, `-previous`, `-status`, `-actions`, `-action`; `-linked` | one field |
658
+ | DataList | *(frames 235:2913, 215:7576 — not a component)* | `.vd-data-list`, `-header`, `-heading` | the fields under an expanded row |
659
+ | FieldVerification | Field Verification 142:350 | `.vd-field-verification` + `-verified` / `-pending` / `-none` / `-warning` / `-critical` / `-resolved`; `-compact` | compact: the check and the dash in the status column. Full: a finding's title and reason |
660
+ | SeverityCount | Severity Count 2016:43181 | `.vd-severity-count` (+ `-flush`) holding a `.vd-severity-marker` | a marker plus a number on a section line or owner cell |
661
+ | EntityHeader | Entity Header 2042:35637 | `.vd-entity-header` and parts | the identity block opening Business |
662
+ | SnapshotMetric | Snapshot Metric 2042:34359 | `.vd-snapshot-metric` and parts | one figure in Snapshot |
663
+ | Ownership | Ownership Summary 2045:35230 · Bar 2042:36155 · Breakdown 2045:35359 · Unaccounted 2045:35715 | `.vd-progress-bar vd-ownership`, `.vd-ownership-summary` | how much ownership is declared |
664
+ | OwnerTableHeader | Owner Table Header 2042:35106 | `.vd-owner-table-header`, `-cell` | Identity · Application · Documents column labels |
665
+ | OwnerRow | User Preview 245:6002 · Entity Preview 254:7453 | `.vd-owner-row` and parts; `-linked` | one owner — a person or a business |
666
+ | SummaryPanel | Summary 1606:98568 · Summary Assignee Row 1774:53470 | `.vd-summary-panel` and parts | the panel's Summary tab (open: §13) |
667
+ | ScoringDetails | Scoring details 1627:102932 | `.vd-scoring-details` and parts | where a risk score came from |
668
+
669
+ **07 · Findings & review** (2047:67026) — the panel itself (Findings Panel 1839:60150) is a composition of these.
670
+
671
+ | Component | Figma | Package class | On this surface |
672
+ |---|---|---|---|
673
+ | PanelStatus | Panel Status 2038:39256 | `.vd-panel-status` + a `.vd-dot vd-dot-sm` | the application's status, first in the panel |
674
+ | PanelSectionHeader | Panel Section Header 2038:38947 | `.vd-panel-section-header`, `-title`, `-count` | Findings / Checklist / Resolved group headers |
675
+ | PanelStripButton | Panel Strip Button 2038:39320 | `.vd-panel-strip-button` (+ `-count` on a badge) | the collapsed panel's buttons |
676
+ | FindingRow | Finding Row 2038:36911 | `.vd-finding-row`, `-label` | one finding, closed |
677
+ | FindingCard | Finding Card 2038:37176 | `.vd-finding-card` and parts; `.vd-finding-card-note` | one finding, open |
678
+ | FindingOption | Finding Option 2038:36876 | `.vd-finding-option` on a `.vd-radio-select` | a resolution choice |
679
+ | ResolvedRow | Resolved Row 2038:35880 | `.vd-resolved-row` and parts | one resolved finding |
680
+ | ChecklistGroup | Checklist Group 1848:59498 | `.vd-checklist-group` (+ `-open`) and parts | a group of tasks with a sign-off |
681
+ | ChecklistTask | Checklist Task 1848:59085 | `.vd-checklist-task` and parts; `-held`, `-skipped` | one task |
682
+ | FinalDecision | Final decision 1839:59387 *(a frame in Findings Panel)* | `.vd-final-decision` and parts | the last line of the checklist |
683
+ | CommentItem | Comment / Item 2038:34772 | `.vd-comment-item` and parts | one comment |
684
+ | CommentDate | Comment / Date divider 2038:34763 | `.vd-comment-date`, `-label` | a day separator |
685
+
686
+ **08 · Funding** (2047:67027)
687
+
688
+ | Component | Figma | Package class | On this surface |
689
+ |---|---|---|---|
690
+ | FundingTotal | Funding Total 2038:32814 | `.vd-funding-total` and parts | the funding section's total |
691
+ | FundingTransaction | Funding Transaction 2016:48814 | `.vd-funding-transaction` and parts; `-refunded` | one transaction (status: §12) |
692
+ | FundingStatus | Funding Status 2016:43198 | `.vd-funding-status` + `-pending` / `-funded` / `-refunded` / `-failed` | a worded status — **not used in a row** since the marker-only decision (§12, §13) |
693
+ | AddFundsForm | Add Funds Form 2038:32986 | `.vd-add-funds-form` and parts | add funds, in place |
694
+ | InlineConfirm | Inline Confirm 2038:32951 | `.vd-inline-confirm`, `-message` | the refund confirmation |
695
+
696
+ **Utility** — `vd:focus-ring` on every interactive element the library does not already ring.
697
+
698
+ **In Figma, not in the package** — not composable from this file: the four page boards in §2.1 (KYC, Documents, Rules, Activity components); Empty State 1937:44293; Cell 693:22377; Selectable row 397:10661; Checkbox container 397:10721; Checklist 1608:100311 and Checklist Item 1630:103872 (superseded by Checklist Group / Task, not shipped by decision); Small nav 1588:97836; Card 880:31190 (the package's `.vd-card` predates it and is not that component). See §13.
699
+
700
+ Shipped components that no in-scope frame uses: `.vd-card` (scaffolding — never use). Do not map by analogy.
367
701
 
368
702
  ---
369
703
 
370
704
  ## 11. Patterns with no component
371
705
 
372
- Compose these from tokens and the primitives above.
706
+ Compose these from tokens and the components above. They are the only sanctioned non-component markup. Hairline = `vd:border-b vd:border-b-[length:var(--border-thin)] vd:border-stroke-divider` (or the `-t` / `-l` side form).
707
+
708
+ **Review shell (§1.2)**
709
+
710
+ | Pattern | Composition |
711
+ |---|---|
712
+ | App shell | `vd:relative vd:flex vd:h-full vd:overflow-hidden vd:bg-surface-frame vd:text-content-primary`; nav column `vd:relative vd:h-full vd:shrink-0 vd:py-1.5` holding `.vd-nav-rail` |
713
+ | Sheet | `vd:my-1.5 vd:mr-1.5 vd:flex vd:min-w-0 vd:flex-1 vd:flex-col vd:overflow-hidden vd:rounded-surface vd:border vd:border-[length:var(--border-thin)] vd:border-stroke-divider vd:bg-surface-paper`; `vd:ml-1.5` when the nav is hidden |
714
+ | Header bar | `vd:flex vd:h-13 vd:shrink-0 vd:items-center vd:justify-between vd:gap-4 vd:px-4` + bottom hairline; left group and right group each `vd:flex vd:items-center vd:gap-2`, the right one `vd:shrink-0` |
715
+ | Blocked Approve | `vd:relative` wrapper holding `.vd-btn vd-btn-blocked` (`aria-disabled="true"`, `aria-describedby` the breakdown, a `.vd-badge vd-badge-neutral` count inside) and a `.vd-tooltip` anchored `vd:absolute vd:right-0 vd:z-50`, shown on hover and focus |
716
+ | Body | `vd:flex vd:min-h-0 vd:flex-1`; main `vd:flex vd:min-w-0 vd:flex-1 vd:flex-col` |
717
+ | Tab row | `vd:flex vd:h-10 vd:shrink-0 vd:items-center vd:px-4` + bottom hairline, wrapping `.vd-tabs vd-tabs-chip` |
718
+ | Scroll region | `vd:min-h-0 vd:flex-1 vd:overflow-auto` |
719
+ | Content column | `vd:mx-auto vd:box-content vd:max-w-[960px] vd:min-w-[820px] vd:px-10 vd:pt-3 vd:pb-50` |
720
+ | Section | `vd:flex`; gutter `vd:sticky vd:left-0 vd:z-10 vd:w-28 vd:shrink-0 vd:self-stretch vd:bg-surface-paper` holding `.vd-summary-preview vd:w-28`; content `.vd-record vd:min-w-0 vd:flex-1 vd:pt-6 vd:pb-4 vd:pl-5` + bottom hairline (none on the last section) |
721
+ | Snapshot strip | `vd:flex vd:gap-10 vd:pb-2` of `.vd-snapshot-metric` |
722
+ | Fields under a row | `.vd-data-list` + bottom hairline `vd:pb-1` (none on the last) |
723
+ | Owners table | a `role="table"` wrapping `.vd-owner-table-header` and `.vd-owner-row`s; an expanded owner's fields in a second `role="row"` holding one `role="cell"` |
724
+ | Menu anchor | `vd:relative` on the trigger's wrapper (`.vd-dropdown`); a submenu `vd:absolute vd:z-50` beside its row, opening with a back row |
725
+ | Panel | wrapper `vd:relative vd:flex vd:shrink-0`; panel `vd:flex vd:h-full vd:w-90 vd:min-w-70 vd:flex-col` + left hairline |
726
+ | Panel tab row | `vd:flex vd:h-10 vd:shrink-0 vd:items-center vd:pl-3 vd:pr-5` + bottom hairline: the same chip tabs as the page (`.vd-tabs` › `.vd-tab vd-tab-chip`), then the collapse `.vd-icon-button vd-icon-button-inline` pushed to the far end (`vd:ml-auto`) |
727
+ | Panel Status block | `vd:flex vd:flex-col vd:gap-3 vd:px-5 vd:py-4` + bottom hairline, holding `.vd-panel-status` and the tags (`.vd-tag vd-tag-label`) |
728
+ | Panel group | `vd:flex vd:flex-col vd:gap-0.5 vd:px-2 vd:py-3` + bottom hairline: `.vd-panel-section-header`, then the list (`vd:flex vd:flex-col vd:gap-0.5`) of `.vd-finding-row` / `.vd-finding-card`, or `.vd-checklist-group`s ending in `.vd-final-decision` |
729
+ | Resolved (pinned) | `vd:shrink-0` + top hairline; list `vd:max-h-80 vd:overflow-y-auto vd:gap-1.5 vd:pt-1` of `.vd-resolved-row` |
730
+ | Collapsed panel strip | `vd:flex vd:h-full vd:w-12 vd:shrink-0 vd:flex-col vd:items-center vd:gap-1 vd:py-2` of `.vd-panel-strip-button` |
731
+ | Comments tab | list `vd:flex vd:flex-col vd:px-4` of `.vd-comment-date` / `.vd-comment-item`; composer region `vd:shrink-0 vd:px-4 vd:pt-3 vd:pb-2` + top hairline holding `.vd-composer` |
732
+ | Toast region | `vd:pointer-events-none vd:fixed vd:top-6 vd:left-1/2 vd:z-50 vd:-translate-x-1/2`, present before any toast is injected |
733
+ | Peek | `.vd-overlay-scrim` under `.vd-nav-rail vd-nav-rail-sidebar vd-nav-rail-peek` |
734
+
735
+ **Queue and CMS shells (§1.3, §1.4) — v1.0 compositions**
373
736
 
374
737
  | Pattern | Composition |
375
738
  |---|---|
376
739
  | Workspace card | `vd:bg-surface-paper vd:rounded-surface vd:border vd:border-[length:var(--border-thin)] vd:border-stroke-divider` + shadow `0 4 4 #000 @8%` `[raw — planned, §12]`; canvas `vd:py-2` |
377
- | 48 bar | `vd:h-12 vd:py-2.5 vd:px-4 vd:flex vd:items-center vd:justify-between vd:border-b vd:border-b-[length:var(--border-thin)] vd:border-stroke-divider` |
378
- | Tab row | `vd:h-10 vd:border-b` hairline wrapping `.vd-tabs vd-tabs-chip` |
379
- | Sub-toolbar | `vd:h-10 vd:py-1.75 vd:px-4 vd:flex vd:items-center vd:gap-3 vd:justify-between` |
380
- | Summary rail | `vd:w-80 vd:border-l vd:border-l-[length:var(--border-thin)] vd:border-stroke-divider`; header `vd:h-8 vd:flex vd:items-center vd:justify-between` (`.vd-tabs` › `.vd-tab-underline` + `.vd-icon-button-md`); body `vd:px-5`; cards `vd:py-5 vd:border-b` hairline |
381
- | Rail Status block / Key Indicators | `vd:py-5` card, `.vd-divider` seams; label `vd:h-5 vd:text-label-compact vd:text-content-tertiary`; rows `vd:h-[18px] vd:gap-3 vd:flex`; `.vd-divider-metadata` where the row is key · value |
382
- | Review Checklist card | `.vd-checkbox` rows + `icon-size-14` `#chevron-right`; `n/m` counts `vd:text-data-compact vd:font-mono` |
383
- | Module shell (140 / 960) | `vd:grid` `vd:w-35 vd:pt-7 vd:pr-6 vd:gap-1.5 vd:text-right` + `vd:w-60 vd:pt-7 vd:pb-7 vd:pl-7`, `vd:border-b` hairline on the Display; label `vd:text-label-compact vd:text-content-tertiary`, secondary `vd:text-supporting-caption vd:text-content-secondary` |
384
- | Collapsed module | `vd:h-20` row; `.vd-icon-button vd-icon-button-inline` `#chevron-down` right |
385
- | Snapshot metric strip | five `vd:w-30` columns, `vd:gap-10`; label `vd:text-label-compact vd:text-content-secondary` over `vd:text-heading-section vd:text-content-primary` |
386
- | Risk Overview roll-up row | not a `.vd-data-row`: `vd:h-[38px] vd:px-1 vd:gap-4 vd:flex vd:items-center vd:justify-between`; left = check name `vd:text-supporting-caption vd:text-content-primary` (Rev3 `Supporting/Caption` — `TIN / IRS Match`, 296:4412) (+ optional `vd:text-supporting-caption vd:text-content-secondary` detail — Rev3 `Supporting/Caption`, the successor `micro-l` took for regular text elsewhere; no Rev3 instance draws the line, so this is a decision, 2026-10-01, and designer-list item 51 stays open); right = `.vd-chip vd-chip-success / vd-chip-warning / vd-chip-critical`. Module header carries the verdict (`Middesk · 14 / 16 checks passed`). The only place a `.vd-chip` sits in a row; never place a `.vd-chip` in `.vd-data-row-status` |
387
- | Sub-group header | `vd:h-9 vd:py-2.5 vd:px-1 vd:flex vd:items-center vd:gap-2 vd:text-label-compact vd:text-content-tertiary` + `icon-size-16` |
388
- | Inline confirmation row | `vd:h-11 vd:flex vd:items-center vd:gap-2`; `.vd-btn vd-btn-outline vd-btn-sm` × 2 |
389
- | Requested-document row | `.vd-data-row` box with `vd:bg-surface-card` fill, dashed clock icon, `Remind` `.vd-btn vd-btn-outline vd-btn-sm`, `.vd-icon-button-inline` `#x` |
390
- | Owner row | `vd:h-[55px]` row: `.vd-avatar vd-avatar-md`, name `vd:text-supporting-caption-strong` (Rev3 binds `Supporting/Caption Strong` — `John Smith`, 533:14061; it was 13px), `vd:text-supporting-caption` meta, three `.vd-section-marker vd-section-marker-approve` columns |
391
- | Queue KPI card | `vd:w-[356px] vd:h-[71px] vd:py-3 vd:px-4 vd:rounded-control`; label `vd:text-supporting-caption-strong vd:text-content-secondary` (Rev3 `Supporting/Caption Strong`, following four of the five cards — the first binds `Body/Dense`; decided 2026-10-01, designer-list item 50 still open); value `vd:text-heading-page vd:text-content-primary`; `.vd-dot` prefix; rest `vd:border-[length:var(--border-thin)] vd:border-stroke-divider`; selected `vd:bg-primary-soft` + `1.5px vd:border-primary` `[raw — planned, §12]` |
740
+ | 48 bar | `vd:h-12 vd:py-2.5 vd:px-4 vd:flex vd:items-center vd:justify-between` + bottom hairline |
741
+ | Queue KPI card | `vd:w-[356px] vd:h-[71px] vd:py-3 vd:px-4 vd:rounded-control`; label `vd:text-supporting-caption-strong vd:text-content-secondary`; value `vd:text-heading-page vd:text-content-primary`; `.vd-dot` prefix; rest `vd:border-[length:var(--border-thin)] vd:border-stroke-divider`; selected `vd:bg-primary-soft` + `1.5px vd:border-primary` `[raw — planned, §12]` |
392
742
  | Queue table / row / cells | `vd:h-11` rows, cells `vd:py-3 vd:px-2 vd:gap-1`, table `vd:px-1.5`; type per §1.3; no header row |
393
743
  | CMS index row | `vd:h-[30px]`; inline `.vd-icon-button-inline` actions |
394
744
  | CMS field group | `vd:border-[length:var(--border-thin)] vd:border-stroke-divider vd:rounded-tight`, children `vd:gap-0.25` |
395
745
  | CMS block toolbar | `vd:flex vd:gap-2`: `.vd-segment-selector`, `.vd-btn vd-btn-outline vd-btn-sm`, `.vd-icon-button-inline` × 3 |
396
746
  | Wizard / editor footer | `vd:h-11 vd:py-2.5 vd:px-5 vd:border-t` hairline, `vd:flex vd:justify-between`; `.vd-btn … vd-btn-sm` |
397
- | Preview panel | `vd:w-[622px]` / `vd:w-[500px]`; header `vd:h-12 vd:px-5 vd:text-label-compact vd:text-content-tertiary`; body `vd:p-5 vd:gap-3`; email on `vd:bg-surface-card vd:rounded-control`; `.vd-divider` before `SAMPLE DATA` |
398
- | Whole-page error / network failure | workspace card on canvas; `.vd-alert vd-alert-critical` block centered in the card with `.vd-text-button vd-text-button-primary` retry |
747
+ | Preview panel | `vd:w-[622px]` / `vd:w-[500px]`; header `vd:h-12 vd:px-5 vd:text-label-compact vd:text-content-tertiary`; body `vd:p-5 vd:gap-3`; email on `vd:bg-surface-card vd:rounded-control`; `.vd-divider` before the sample-data fields |
748
+ | Whole-page error / network failure | the paper surface on the canvas; `.vd-alert vd-alert-critical` centred in it with a `.vd-text-button vd-text-button-primary` retry |
399
749
 
400
750
  ---
401
751
 
402
752
  ## 12. Planned library additions
403
753
 
404
- Decided 2026-09-10; repo work outside this document (Figma variable or component change first, then `tokens/figma-tokens.json` → `npm run build:theme`, or a component modifier). Until each ships, pages use the **interim class** below, spelled exactly this way everywhere so the swap is a find-and-replace; once shipped, the row moves into §10.
754
+ Decided, but not yet in the package. Repo work happens outside this document (Figma first, then `tokens/figma-tokens.json` → `npm run build:theme`, or a component change). Until each ships, pages use the **interim class** below, spelled exactly this way everywhere so the swap is a find-and-replace; once shipped, the row moves into §10. The v1.0 rows whose additions shipped (the warning verification state, the Info ramp) or whose design was superseded (Reject hover, the collapsed summary rail, the overridden dot, the warning cross-link, progress and ring, the pending-amber and info-text colours) are gone; their utilities are kept in Appendix B for pages already built.
405
755
 
406
756
  | Addition | Spec from the frames | Interim class (use verbatim) | Library home |
407
757
  |---|---|---|---|
408
- | Info text colour | `#415472` (`Rule already noted`) | `vd:text-[#415472]` | `--color-info` shipped with Revision 3, but as `#4c6285` — not the frame's `#415472`; keep the interim until the designer confirms which |
409
- | Pending amber | `#ad751b` (`Pending Signature`) | `vd:text-[#ad751b]` | new token (distinct hue from `--color-warning`) |
410
- | Overridden dot | `--color-misc-purple` #7b5ea7 | `.vd-dot` + `vd:bg-misc-purple` (token exists) | `.vd-dot-overridden` variant |
411
- | Workspace-card shadow | `0 4 4 #000 @8%` | `vd:shadow-[0_4px_4px_rgb(0_0_0/0.08)]` | new `--shadow-card` token |
412
- | Selected-KPI stroke | 1.5px `vd:border-primary` | `vd:border-[1.5px] vd:border-primary` | new border-width token |
413
- | Warning verification state | `vd:text-warning` icon + label | `.vd-field-verification` structure with `vd:text-warning` on icon and label | `.vd-field-verification-warning` variant |
414
- | Warning cross-link | `vd:text-warning` | `.vd-text-button` + `vd:text-warning`. Warning at rest only: on hover the Text Button's own rule (specificity 0,4,0) steps the ink to Content/Primary, and no utility can outrank it — a hover-variant warning utility on this element never applies (measured), so don't add one | `.vd-text-button-warning` variant |
415
- | Warning progress | amber partial fill | `.vd-progress-bar` with `.vd-progress-bar-fill` + `vd:bg-warning` | `.vd-progress-bar-warning` scheme |
416
- | Hollow warning ring | `Incomplete Data` marker | `.vd-section-marker-unverified` + `vd:border-warning` | warning colour variant |
417
- | Reject hover | `.vd-btn-outline` neutral at rest, critical border/text on hover | `.vd-btn vd-btn-outline vd:hover:border-critical vd:hover:text-critical` | `.vd-btn-outline` critical-hover modifier |
418
- | Collapsed summary rail | header row only, content re-centers (§1.2) | rail `vd:w-80` → header-only; main `vd:w-full`, column `vd:mx-auto` | rail collapsed state |
758
+ | Funding row status as a marker | Funding Transaction 2016:48814, redrawn after 0.7.0: the status slot holds a marker and no word — Review dot (pending), compact check (funded), critical diamond (failed) | in `.vd-funding-transaction-status`: `.vd-severity-marker vd-severity-marker-review` · `.vd-field-verification vd-field-verification-verified vd-field-verification-compact` · `.vd-severity-marker vd-severity-marker-critical`, each with its accessible name | re-extract FundingTransaction; retire or re-scope FundingStatus |
759
+ | Refunded marker | a 14px `#undo-2` in `Content/Tertiary` (2016:48814, State=Refunded) | `.vd-icon vd-icon-size-14` + `vd:text-content-tertiary`, with `role="img"` and an `aria-label` | a refunded form on the marker FundingTransaction nests |
760
+ | Workspace-card shadow (queue, CMS) | `0 4 4 #000 @8%` | `vd:shadow-[0_4px_4px_rgb(0_0_0/0.08)]` | new `--shadow-card` token |
761
+ | Selected-KPI stroke (queue) | 1.5px `vd:border-primary` | `vd:border-[1.5px] vd:border-primary` | new border-width token |
419
762
 
420
763
  ---
421
764
 
422
765
  ## 13. Open items
423
766
 
424
- Anything a page needs from this list is unspecified; do not infer it.
767
+ Anything a page needs from this list is unspecified; do not infer it. A brief that touches one is a stop.
768
+
769
+ **From the designer's methodology (2026-11-22)**
770
+
771
+ - **Run KYC from the header** — should the header's Run KYC menu open the same Re-run KYC dialog as the KYC page?
772
+ - **The inverse surface in Onyx** — should its Onyx value change, so tooltips and toasts are dark in dark mode everywhere? The shipped `Inverse/Surface` is near-white in Onyx; a tooltip or simple toast composed today renders light there.
773
+ - **Which page-specific components join the library and the npm package** — the Activity, Documents, Rules and KYC boards (§2.1) and the record sections — and which stay on their boards. Until decided, those four pages cannot be fully composed from this file.
774
+ - **Library clean-up** — the duplicate `badge` (724:18701) and `Badge` (153:908), the unused Funding Status (2016:43198), and the older Small nav (1588:97836) and Navigation.
775
+ - **Who decides when an application can be approved** — decision gating beyond "no open findings and every group signed off" is deferred to a larger workflow change.
776
+ - **Whether the Summary tab stays in the panel at all.**
777
+ - **Parked on purpose:** what changed since you last looked, handoff notes between analyst and approver, and session replay on the Activity timeline.
778
+
779
+ **From reconciling the library with the frames**
425
780
 
426
- - **Business profile, funding review, settings & user management, reporting** — no screens; any brief targeting them is a stop.
427
- - **Collapsed summary rail rendering** — rule decided (§1.2); no frame shows it.
428
- - **Entity name in BUSINESS** — larger semi-bold, unmeasured; no token asserted.
429
- - **Queue table header row** — none drawn in any frame; whether a header exists is undecided.
430
- - **Recipients tab strip and Review & Send `TIMING` control** — frames overlap their own headers / show wrong labels; not extracted; needs design refinement before use.
781
+ - **KYB tab, business profile, settings & user management, reporting** — no approved frames; any brief targeting them is a stop.
782
+ - **The dash's ink** — §6.1 calls the overridden / not-applicable marker a *faint* dash; the shipped compact `.vd-field-verification-none` draws its `#minus` in `Content/Tertiary`. Which one the status column takes is unconfirmed.
783
+ - **Resizable widths** — the nav and panel widths are dragged with `.vd-resize-handle`, which needs a width set at runtime. This file gives the default and minimum classes (§11); the runtime width is the host application's and is not expressible as a class.
784
+ - **The header's sidebar toggle and back arrow sizes**, the assignee control's closed form, and the lifecycle states' header treatment (A1–A6) — drawn, not yet extracted into rules.
785
+ - **Empty State (1937:44293)** — drawn in Foundations, not in the package; §6.6's empty lines are plain row text until it ships.
786
+ - **Queue table header row** — none drawn in any v1.0 frame; whether a header exists is undecided.
787
+ - **Recipients tab strip and Review & Send `TIMING` control** — v1.0 frames overlap their own headers; needs design refinement before use.
788
+ - **Queue and CMS under the redesign** — not redrawn; §1.3, §1.4, §2.2 and §2.3 describe the v1.0 frames.
431
789
  - **Library follow-ups (§12)** — decided but not yet built.
432
790
 
433
791
  ---
434
792
 
435
793
  ## Appendix A — Value ledger
436
794
 
437
- **Color**
795
+ Hex values are Light. Every colour token also has an Onyx value (`[data-theme="onyx"]`); cite the token, never the hex.
796
+
797
+ **Colour**
438
798
 
439
799
  | Role | Token / utility |
440
800
  |---|---|
441
801
  | Canvas | `--color-surface-frame` (#f0f3f7) · `vd:bg-surface-frame` |
442
- | Workspace / card surface | `--color-surface-paper` (#ffffff) · `vd:bg-surface-paper` |
443
- | Subtle field / preview well / override reason / requested row | `--color-surface-card` (#fafafb) · `vd:bg-surface-card` (`.vd-textarea-bg-neutral`, `.vd-input-bg-neutral`) |
802
+ | Sheet / workspace card / panel | `--color-surface-paper` (#ffffff) · `vd:bg-surface-paper` |
803
+ | Open finding, open checklist group, inline confirm, neutral field | `--color-surface-card` (#fafafb) · `vd:bg-surface-card` |
804
+ | Decision and sign-off record | `--color-surface-neutral` (#f1f1f4) — set by the component |
444
805
  | Hairline / stroke | `--color-stroke-divider` (#141428 @8%) + `--border-thin` (0.5px) · `vd:border-[length:var(--border-thin)] vd:border-stroke-divider` |
445
- | Active-tab hairline | `--color-stroke-border` (#141428 @13%) · `vd:border-stroke-border` |
446
- | Row hover | `--color-action-subtle` (#141428 @3%) · `vd:bg-action-subtle` (`.data-row:hover`) |
806
+ | Boxed objects, active-tab hairline | `--color-stroke-border` (#141428 @13%) · `vd:border-stroke-border` |
807
+ | Row hover | `--color-action-subtle` (#141428 @3%) · `vd:bg-action-subtle` |
447
808
  | Active tab / selected overlay | `--color-action-selected` (#141428 @8%) · `vd:bg-action-selected` |
448
- | Text primary | `--color-content-primary` (#16161a) · `vd:text-content-primary` |
449
- | Text secondary | `--color-content-secondary` (#5b5b68) · `vd:text-content-secondary` |
450
- | Text muted / labels / headings | `--color-content-tertiary` (#727280) · `vd:text-content-tertiary` |
451
- | Text placeholder / pending | `--color-content-faint` (#c4c4ce) · `vd:text-content-faint` |
452
- | Brand / action / link / selection | `--color-primary` (#1e4d8c) · `vd:bg-primary` / `vd:text-primary` / `vd:border-primary` |
453
- | Brand tint | `--color-primary-soft` (#1e4d8c @8%) · `vd:bg-primary-soft` |
454
- | Brand disabled | `--color-primary-disabled` (#1e4d8c @40%) · `vd:bg-primary-disabled` |
455
- | Badge text (Beta) / link hover | `--color-primary-dark` (#163a6b) · `vd:text-primary-dark` |
456
- | Info text | `#415472` `[raw — planned, §12]` |
457
- | Success dot / pill text / verified icon | `--color-approved` (#157d61) · `vd:text-approved` / `vd:bg-approved` |
458
- | Rail "Passed" text | `--color-approved-strong` (#168567) · `vd:text-approved-strong` |
459
- | Success tint | `--color-approved-soft` (#1a9b78 @9%) · `vd:bg-approved-soft` |
460
- | Warning dot / text / links | `--color-warning` (#c9881f) · `vd:text-warning` / `vd:bg-warning` |
461
- | Warning tint | `--color-warning-soft` (#c9881f @9%) · `vd:bg-warning-soft` |
462
- | Pending-signature text | `#ad751b` `[raw — planned, §12]` |
463
- | Critical dot / text / mismatch | `--color-critical` (#c5303c) · `vd:text-critical` / `vd:bg-critical` |
809
+ | The value a reviewer reads | `--color-content-primary` (#16161a) · `vd:text-content-primary` |
810
+ | Soft grey text — summaries, meta, gutter titles | `--color-content-secondary` (#5b5b68) · `vd:text-content-secondary` |
811
+ | Quiet text — labels, group headings, the refunded marker | `--color-content-tertiary` (#6a6a78) · `vd:text-content-tertiary` |
812
+ | Placeholder / the faint dash | `--color-content-faint` (#c4c4ce) · `vd:text-content-faint` |
813
+ | Accent — selection, primary actions, links, the linked stroke | `--color-primary` (#1e4d8c) · `vd:bg-primary` / `vd:text-primary` / `vd:border-primary` |
814
+ | Accent tint | `--color-primary-soft` (#1e4d8c @8%) · `vd:bg-primary-soft` |
815
+ | Accent disabled | `--color-primary-disabled` (#1e4d8c @40%) · `vd:bg-primary-disabled` |
816
+ | Link hover | `--color-primary-dark` (#163a6b) · `vd:text-primary-dark` |
817
+ | Passed — the green check | `--color-approved` (#157d61) · `vd:text-approved` / `vd:bg-approved` |
818
+ | Passed tint | `--color-approved-soft` (#1a9b78 @9%) · `vd:bg-approved-soft` |
819
+ | Review — the amber dot | `--color-warning` (#c9881f) · `vd:text-warning` / `vd:bg-warning` |
820
+ | Review tint | `--color-warning-soft` (#c9881f @9%) · `vd:bg-warning-soft` |
821
+ | Critical — the red diamond | `--color-critical` (#c5303c) · `vd:text-critical` / `vd:bg-critical` |
464
822
  | Critical tint | `--color-critical-soft` (#d8434f @9%) · `vd:bg-critical-soft` |
465
- | Overridden dot | `--color-misc-purple` (#7b5ea7) — `.vd-dot` variant planned (§12) |
466
- | No-data dot | `--color-neutral-strong` (#4e4e59) · `.vd-dot-neutral` |
467
- | White on fills | `--color-content-contrast` (#ffffff) · `vd:text-content-contrast` |
468
- | Shadow (card) | `0 4 4 #000 @8%` `[raw — planned, §12]` |
469
- | Shadow (popover) | `--shadow-panel` · `vd:shadow-panel` (0 12px 34px −12px #000 @25%) |
823
+ | Info — the hollow ring; neutral dots | `--color-neutral` / `--color-neutral-strong` (#4e4e59) · `vd:bg-neutral-strong` |
824
+ | Ink on an accent fill | `--color-content-contrast` (#ffffff Light, dark in Onyx) · `vd:text-content-contrast` |
825
+ | Tooltip and simple toast | `--color-inverse-surface` / `-content` / `-muted` — set by the component |
826
+ | Backdrop / scrollbar thumb | `--color-overlay-scrim` / `--color-overlay-scrollbar` — set by the component |
827
+ | Tag group dots | the misc palette — `.vd-dot vd-dot-misc` + `.vd-misc-<hue>` |
828
+ | Shadow (menus, peek) | `--shadow-panel` · `vd:shadow-panel` |
829
+ | Shadow (queue / CMS card) | `0 4 4 #000 @8%` `[raw — planned, §12]` |
470
830
  | Focus ring | `--ring-focus-width` 2px · `--ring-focus-color` `Primary/Main` · `vd:focus-ring` |
471
831
 
472
832
  **Type**
473
833
 
474
834
  | Role | Utility |
475
835
  |---|---|
476
- | Module / rail / section label | `vd:text-label-compact vd:text-content-tertiary` (Inter Semi Bold 12/16, +8%, mixed-case as typed — no transform; UPPERCASE) |
477
- | Data-list sub-group label; menu group label | `vd:text-label-compact vd:text-content-tertiary` (Inter Semi Bold 10/12, +10%, UPPERCASE) |
478
- | Row title | `vd:text-body-dense-strong vd:text-content-primary` (Inter Medium 13/18) |
479
- | Row description / margin count | `vd:text-supporting-caption vd:text-content-secondary` (12) |
480
- | Data label / value | `vd:text-body-dense` (the migrated Data Row) — `.vd-data-row-field` `vd:text-content-tertiary` / `.vd-data-row-value` `vd:text-content-primary` (12.5) |
836
+ | Gutter title; group heading; panel group title | `vd:text-label-compact` (Inter Semi Bold 12/16, +8%, mixed-case as typed) — set by the component |
837
+ | Section-line title / summary | `vd:text-body-default-strong` / `vd:text-body-default` (Inter 14/20, 500 / 400) — set by the component |
838
+ | Field label / value | `vd:text-body-dense` (13/18) label · `vd:text-body-default` (14/20) value — set by the component |
839
+ | Secondary line, help, meta | `vd:text-supporting-caption vd:text-content-secondary` (12/18) |
840
+ | Entity name; Snapshot value | `vd:text-heading-section` (Inter Semi Bold 18/24) — set by the component |
841
+ | Queue KPI value | `vd:text-heading-page` (Inter Semi Bold 19/24) |
842
+ | Queue KPI label | `vd:text-supporting-caption-strong vd:text-content-secondary` |
481
843
  | Queue name cell | `vd:text-body-dense-strong vd:text-content-primary` |
482
- | Rail rows, help | `vd:text-supporting-caption` (12/18). Verification text is `.vd-field-verification` (14px `Body/Default` since Rev3); chips are `.vd-chip` (`Action/Compact`) |
483
- | Button label — 24px | `vd:text-action-compact-active` (12/16/600, `.vd-btn-sm`) |
484
- | Button label — 28px | `vd:text-action-default` (13/18, `.vd-btn`) |
485
- | Breadcrumb | `vd:text-body-dense vd:text-content-secondary`; current `vd:text-body-dense-strong vd:text-content-primary` |
486
- | KPI value (queue) | `vd:text-heading-page` (Inter Semi Bold 19/24) |
487
- | Snapshot value | `vd:text-heading-section` (Inter Semi Bold 17/22) |
488
- | Snapshot label | `vd:text-label-compact vd:text-content-secondary` |
489
- | KPI label | `vd:text-supporting-caption-strong vd:text-content-secondary` (Rev3 `Supporting/Caption Strong`, following four of the five cards — the first binds `Body/Dense`; decided 2026-10-01, designer-list item 50 still open) |
490
- | Status pill label | `vd:text-action-compact` (`.vd-chip`) |
491
- | Identifiers, counts, times, step numbers, category tags | `vd:text-data-compact vd:font-mono` (JetBrains Mono 12/16.5) — the pager summary left mono in Rev3 |
492
- | Breadcrumb ID | `vd:text-data-dense vd:font-mono` (13/19.5) — pager items left mono in Rev3 |
844
+ | Button label — 20, 24 / 28 and up | `vd:text-supporting-caption-strong` (12/18/500, xs and sm since 2026-11-30) / `vd:text-action-default` (13/18/500) — set by the component |
845
+ | Tab, tag, chip, text-button label | `vd:text-action-compact` (12/16/500) — set by the component |
846
+ | Identifiers, counts, times | `vd:text-data-compact vd:font-mono` (JetBrains Mono 12/16.5) |
847
+ | Breadcrumb ID | `vd:text-data-dense vd:font-mono` (13/19.5) at the call site |
493
848
 
494
849
  **Dimensions**
495
850
 
496
851
  | Element | Utility / class |
497
852
  |---|---|
498
- | Viewport / card | 1920×1080 / 1064 tall · `vd:py-2` canvas inset |
499
- | Nav rail | `.vd-nav-rail` (240) / `.vd-nav-rail-collapsed` (60) · `.vd-nav-item` `vd:h-8` · `.vd-nav-title` `vd:h-11.5` · `.vd-nav-group` `vd:h-6.5` |
500
- | Detail main / rail | `vd:w-[1532px]` / `vd:w-80` (rail collapsed: main = card width, column re-centers) |
501
- | Content column / margin col / display | `vd:w-[1100px] vd:mx-auto` / `vd:w-35` / `vd:w-60` |
502
- | Data row columns | `.vd-data-row-field` `vd:w-50` / `.vd-data-row-value` `vd:w-100` / `.vd-data-row-status` `vd:flex-1` / `.vd-icon-button-inline` |
853
+ | Viewport | 1920 wide; the small-window frame is 1280×800 |
854
+ | Nav | `.vd-nav-rail` 240 expanded / 60 collapsed / hidden (peek) |
855
+ | Sheet inset | `vd:my-1.5 vd:mr-1.5` (6) |
856
+ | Bars | `vd:h-13` review header (52) · `vd:h-10` tab row and panel tab row (40) · `vd:h-12` queue / CMS bar (48) · `vd:h-11` CMS footer · `vd:h-13` queue footer · `vd:h-[103px]` KPI band |
857
+ | Content column | `vd:max-w-[960px] vd:min-w-[820px] vd:mx-auto`; gutter `vd:w-28` (112) |
858
+ | Panel | `vd:w-90` (360) default · `vd:min-w-70` (280) minimum · `vd:w-12` (48) strip |
859
+ | Record grid | `.vd-record` — text 536, status, actions 78; never set on a page |
503
860
  | CMS editor / preview | `vd:w-[1050px]` / `vd:w-[622px]` (index `vd:w-[500px]`) |
504
861
  | Queue card | `vd:w-[1868px]` |
505
- | Bars | `vd:h-12` header · `vd:h-10` tab · `vd:h-10` sub-toolbar · `vd:h-8` rail header · `vd:h-11.5` CMS tab strip · `vd:h-11` CMS footer · `vd:h-13` queue footer · `vd:h-[103px]` KPI band |
506
- | Controls | **The control ladder** `--height-control-{xs,sm,md,lg,xl}` = 20 / 24 / 28 / 32 / 40, cited as `vd:h-control-*` (pinned) or `vd:min-h-control-*` (floors: Text Area, Menu Item, Comment Composer, Recipient Input). md is the base of every control. `.vd-btn` / `.vd-icon-button-md` / `.vd-input-md` / `.vd-dropdown-field-md` (28) · `.vd-tab-chip` / `.vd-tab-segment` / `.vd-btn-sm` / `.vd-tag-md` / `.vd-input-sm` / `.vd-dropdown-field-sm` / `.vd-breadcrumbs` row (24) · `.vd-tag` / `.vd-filter-segment` / `.vd-btn-xs` (20) · `.vd-btn-lg` / `.vd-input-lg` / `.vd-pagination-item` / `.vd-tab-underline` (32) · `.vd-btn-xl` / `.vd-input-xl` (40) · below the ladder: `.vd-icon-button-inline` (18), `.vd-tag-xs` (20 — raw, denser sm since 0.5.0), `.vd-chip` (20, a mark), `.vd-step-marker` (24, a marker) |
507
- | Radii | `vd:rounded-surface` (8: card/popover) · `vd:rounded-control` (6: button/tab/chip/input) · `vd:rounded-tight` (4: row/field-group) · `vd:rounded-micro` (2: badge) · `vd:rounded-pill` |
508
- | Strokes | `--border-thin` (0.5 hairline) · `--border-line` (1: `.vd-divider`, upcoming step) · `--border-micro` (2: underline / active step) · 1.5 KPI selected `[raw — planned, §12]` |
862
+ | Controls | **The control ladder** `--height-control-{xs,sm,md,lg,xl}` = 20 / 24 / 28 / 32 / 40, cited as `vd:h-control-*` (pinned) or `vd:min-h-control-*` (floors). md is the base of every control. Below the ladder: `.vd-icon-button-inline` (18), `.vd-severity-marker` (16), `.vd-chip` (20, a mark) |
863
+ | Radii | `vd:rounded-surface` (8: sheet, card, menu, finding card) · `vd:rounded-control` (6: button, tab, input) · `vd:rounded-tight` (4: tag, field group) · `vd:rounded-micro` (2) · `vd:rounded-pill` |
864
+ | Strokes | `--border-thin` (0.5 hairline) · `--border-line` (1: `.vd-divider`, boxed objects) · `--border-micro` (2: the linked stroke, focus ring) · 1.5 KPI selected `[raw — planned, §12]` |
865
+
866
+ ## Appendix B — Utilities retained for pages built on v1.0
867
+
868
+ The closed utility set is generated from this file: a utility that stops being cited here stops shipping in `dist/dashboard-ui.css`, and a page that uses it renders that class as nothing, with no error. The utilities below were cited by v1.0 (40) or by a later revision of this file (1), so pages built on the hybrid1 shell may use them. They are listed so they keep shipping. **New pages do not use them** — every one belongs to a pattern §9.2 lists as superseded — and none is a recommendation. Removing a row is a breaking change to the package and belongs in a major or minor release with a changelog entry, never in an edit to this file alone.
869
+
870
+ | Belongs to | Utilities |
871
+ |---|---|
872
+ | v1.0 detail shell — 1532 main, 1100 column, 320 summary rail, 140 / 960 module | `vd:w-[1532px]` · `vd:w-[1100px]` · `vd:w-80` · `vd:w-35` · `vd:w-50` · `vd:w-100` · `vd:w-11` · `vd:w-full` · `vd:grid` · `vd:text-right` · `vd:border-l` · `vd:border-l-[length:var(--border-thin)]` |
873
+ | v1.0 rows and padding | `vd:h-[18px]` · `vd:h-[38px]` · `vd:h-[55px]` · `vd:h-5` · `vd:h-6` · `vd:h-6.5` · `vd:h-8` · `vd:h-9` · `vd:h-11.5` · `vd:h-20` · `vd:p-0.5` · `vd:px-1` · `vd:px-3` · `vd:py-1.75` · `vd:py-5` · `vd:pt-7` · `vd:pb-7` · `vd:pl-7` · `vd:pr-0` · `vd:pr-6` |
874
+ | v1.0 interim classes (§12 rows since shipped or superseded) | `vd:text-[#415472]` · `vd:text-[#ad751b]` · `vd:bg-misc-purple` · `vd:border-warning` · `vd:hover:border-critical` · `vd:hover:text-critical` · `vd:text-approved-strong` |
875
+ | cited in v1.0 only to forbid it | `vd:uppercase` |
876
+ | Button xs / sm label before 2026-11-30 (the component sets its own type; kept so a page that named it still renders) | `vd:text-action-compact-active` |