@valiify/dashboard-ui 0.1.2 → 0.2.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 (76) hide show
  1. package/CHANGELOG.md +411 -4
  2. package/CLAUDE.md +809 -768
  3. package/COMPONENTS.md +520 -520
  4. package/GETTING_STARTED.md +14 -14
  5. package/QUICK_REFERENCE.md +22 -22
  6. package/README.md +28 -6
  7. package/TROUBLESHOOTING.md +6 -6
  8. package/class-manifest.json +664 -0
  9. package/design-methodology/dashboard.md +496 -0
  10. package/dist/dashboard-ui.css +4897 -0
  11. package/dist/index.css +502 -502
  12. package/examples/basic/index.html +8 -8
  13. package/examples/daisyui-starter/README.md +35 -0
  14. package/examples/daisyui-starter/check-no-bleed.mjs +81 -0
  15. package/examples/daisyui-starter/index.html +45 -0
  16. package/examples/daisyui-starter/package-lock.json +2221 -0
  17. package/examples/daisyui-starter/package.json +22 -0
  18. package/examples/daisyui-starter/postcss.config.js +1 -0
  19. package/examples/daisyui-starter/src/styles.css +20 -0
  20. package/examples/daisyui-starter/tailwind.config.js +12 -0
  21. package/examples/postcss-starter/index.html +8 -8
  22. package/examples/postcss-starter/package.json +1 -1
  23. package/examples/vite-starter/README.md +4 -4
  24. package/examples/vite-starter/package.json +1 -1
  25. package/examples/vite-starter/src/main.js +41 -41
  26. package/package.json +19 -4
  27. package/src/build/components.css +29 -0
  28. package/src/build/utilities.css +42 -0
  29. package/src/components/ICON-SYSTEM.md +39 -39
  30. package/src/components/alert.css +26 -26
  31. package/src/components/avatar.css +9 -9
  32. package/src/components/breadcrumbs.css +15 -15
  33. package/src/components/button.css +21 -21
  34. package/src/components/card.css +10 -10
  35. package/src/components/checkbox.css +21 -21
  36. package/src/components/chip.css +43 -43
  37. package/src/components/data-row.css +19 -19
  38. package/src/components/divider.css +23 -23
  39. package/src/components/dropdown-field.css +34 -34
  40. package/src/components/dropdown-menu.css +12 -12
  41. package/src/components/field-verification.css +25 -25
  42. package/src/components/filter-segment.css +20 -20
  43. package/src/components/icon-button.css +11 -11
  44. package/src/components/icon.css +18 -18
  45. package/src/components/input.css +29 -29
  46. package/src/components/link.css +28 -28
  47. package/src/components/loading-indicator.css +20 -20
  48. package/src/components/loading-inline.css +8 -8
  49. package/src/components/menu-item.css +28 -28
  50. package/src/components/modal.css +36 -36
  51. package/src/components/navigation-rail.css +95 -95
  52. package/src/components/pagination-item.css +22 -22
  53. package/src/components/pagination.css +24 -24
  54. package/src/components/pill.css +14 -14
  55. package/src/components/progress-bar.css +28 -28
  56. package/src/components/radio-select.css +13 -13
  57. package/src/components/section-marker.css +12 -12
  58. package/src/components/segment-selector.css +9 -9
  59. package/src/components/sensitive-data.css +8 -8
  60. package/src/components/skeleton.css +29 -29
  61. package/src/components/step.css +14 -14
  62. package/src/components/stepper.css +15 -15
  63. package/src/components/switch.css +12 -12
  64. package/src/components/tabs.css +40 -40
  65. package/src/components/tag.css +20 -20
  66. package/src/components/text-button.css +24 -24
  67. package/src/components/textarea.css +23 -23
  68. package/src/components/toast.css +29 -29
  69. package/src/components/tooltip.css +11 -11
  70. package/src/icons/README.md +16 -10
  71. package/src/icons/sprite.svg +1 -1
  72. package/src/themes/valiify-tokens.css +285 -0
  73. package/src/themes/valiify-type-prefixed.css +37 -0
  74. package/src/utilities/index.css +1 -1
  75. package/src/utility-surface.css +321 -0
  76. package/types/components.d.ts +235 -236
@@ -0,0 +1,496 @@
1
+ # Dashboard surface — page composition methodology (hybrid1)
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`.
5
+
6
+ ## 0. Conventions
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.
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.
11
+
12
+ Type utilities (`vd:text-body-1`, `vd:text-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-xs vd:font-mono`), and uppercase labels use the bundled `type-label-*` utilities rather than bare `text-label-*`.
13
+
14
+ **Rule format.** `rule` → **Evidence:** node ids / screen names → **Confidence:** high / medium / low. Open items are collected in §13.
15
+
16
+ **Screen inventory.**
17
+
18
+ | Archetype | Node | Frame name | State / role |
19
+ |---|---|---|---|
20
+ | Detail / review | 533:13959 | Application Container | Application tab, collapsed, owner ⋯ menu open |
21
+ | Detail / review | 408:11201 | Application Expand | Application tab, all modules expanded (1920×3997) |
22
+ | Detail / review | 549:13911 | Container | KYB tab, collapsed |
23
+ | Detail / review | 383:8701 | KYB Expanded | KYB tab, expanded (1920×2336) |
24
+ | Detail / review | 534:16879 | KYC Collapsed | KYC tab, collapsed |
25
+ | Detail / review | 383:7815 | Main Screen | KYC tab, expanded (1920×2338) — frame name misleading |
26
+ | Detail / review | 533:15689 | Documents | Documents tab, collapsed |
27
+ | Detail / review | 480:9026 | Documents | Documents tab, expanded incl. e-sign envelopes (1920×2305) |
28
+ | Detail / review | 534:17372 | Top Container | Rules tab, first critical rule expanded with override form |
29
+ | Detail / review | 549:15099 | Rules | Rules tab, full (1920×2775) |
30
+ | Detail / review | 533:14548 | Activity | Activity tab |
31
+ | Queue | 693:25606 | Application List | filters open (Filter dropdown + Status menu) |
32
+ | Queue | 693:22560, 705:27038, 705:27460 | Application List | queue-state variants (no PNGs) |
33
+ | CMS builder | 753:22560 | Email | template index + preview |
34
+ | CMS builder | 782:33269 | Build | template editor |
35
+ | CMS builder | 777:31311 | Recipients | send wizard, step 1 |
36
+ | CMS builder | 778:32145 | Review & Send | send wizard, step 2 |
37
+ | Business profile | — | — | **no screens provided, unverified** |
38
+ | Funding review | — | — | **no screens provided, unverified** |
39
+ | Settings & user management | — | — | **no screens provided, unverified** (Figma page exists, held out) |
40
+ | Reporting | — | — | **no screens provided, unverified** |
41
+
42
+ ---
43
+
44
+ ## 1. Layout skeleton
45
+
46
+ 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.
47
+
48
+ ### 1.1 Shared chrome (all archetypes)
49
+
50
+ - 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.
51
+ - 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.
52
+ - 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-1`, 13px). Right: page-level actions. **Evidence:** 533:13963, 782:33273, 693:25610 (the queue uses the 48 bar for filters instead — §1.3). **Confidence:** high.
53
+ - 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.
54
+ - 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.
55
+ - 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).
56
+
57
+ ### 1.2 Detail / review shell
58
+
59
+ ```
60
+ ┌ canvas #f0f3f7 ───────────────────────────────────────────────────────────────┐
61
+ │ rail │┌ workspace card (1852 wide when rail=60) ────────────────────────────┐│
62
+ │ 60 ││ 48 breadcrumb ‹ Applications / Entity / #ID · Product ⋯ Reject Approve ││
63
+ │ │├─────────────────────────────────────────────┬────────────────────────┤│
64
+ │ ││ 40 tab row Application KYB KYC Docs Rules Activity │ 32 Summary Comments Activity ⧉ ││
65
+ │ ││ 40 (optional) sub-toolbar: filter chips … right small buttons │ ││
66
+ │ ││ │ 320 summary rail ││
67
+ │ ││ 216 │◄────── 1100 content column ──────►│ 216 (fixed, scrolls ││
68
+ │ ││ │ 140 label │ 960 display (28 pad) │ independently) ││
69
+ │ ││ │ ││
70
+ │ ││ 1532 main (scrolls) │ ││
71
+ │ │└─────────────────────────────────────────────┴────────────────────────┘│
72
+ └───────────────────────────────────────────────────────────────────────────────┘
73
+ ```
74
+
75
+ - **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.
76
+ - **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.
77
+ - **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-lg` toggle. **Evidence:** designer decision 2026-09-10. **Confidence:** high (rule) / medium (collapsed rail rendering — no frame).
78
+ - **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.
79
+ - **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-[26px] vd:px-3 vd:rounded-control vd:text-action-s` (26 tall, radius 6, pad 0/12, 12/14/500); 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.
80
+ - **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 in `vd:text-data-xs vd:font-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-s` — 24 tall, pad 8, radius 6) with `icon-size-13`. **Evidence:** 546:18950, 533:15715, 549:15123, 533:14572; absence in 533:13985 and 549:13945's parent. **Confidence:** high.
81
+ - **Persistent decision controls live in the 48 bar, top-right, on every detail tab:** `⋯` = `.vd-icon-button vd-icon-button-lg` (28) → `Reject` = `.vd-btn vd-btn-outline` (md default, `vd:h-7 vd:px-3 vd:text-action-m`, 28 tall) 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.
82
+ - **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-lg` (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, 21 tall, hairline, `vd:text-micro-l`, 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.
83
+ - **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-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.
84
+ - **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.
85
+
86
+ ### 1.3 Queue shell
87
+
88
+ ```
89
+ │ rail 60 │┌ workspace card 1868 ─────────────────────────────────────────────┐
90
+ │ ││ 103 KPI band: 5 cards 356×71, gap 12, pad 16/20 │
91
+ │ ││ 48 filter bar: search 240 · Filter(2) · [Product · is any of · X] · Clear All ⧉ │
92
+ │ ││ 861 table: rows 44, no header row in these frames │
93
+ │ ││ 52 footer: ‹ 1 › 1 - 7 of 7 25 a page ▾│
94
+ │ │└───────────────────────────────────────────────────────────────────┘
95
+ ```
96
+
97
+ - **No right rail.** The queue uses the full card width (1868, `vd:w-[1868px]`). **Evidence:** 693:25609 has no summary child. **Confidence:** high.
98
+ - **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-selected="true"` — `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-md` `#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-lg`. **Evidence:** 693:25610–693:25625. **Confidence:** high.
99
+ - **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-body-2 vd:text-content-secondary` (`--text-body-2`: Inter Regular 12.5 · `--color-content-secondary`: #5b5b68), value `vd:text-h1 vd:text-content-primary` (`--text-h1`: Inter Semi Bold 19/21.8 · #16161a). 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.
100
+ - **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-2-bold vd:text-content-primary` (Inter Medium 12.5, #16161a); ID `vd:text-data-xs vd:font-mono vd:text-content-secondary` (JetBrains Mono 12, #5b5b68); email `vd:text-body-2 vd:text-content-secondary`; tags as `.vd-tag`; relative + absolute time `vd:text-data-xs vd:font-mono` (`25d ago | 7/4/26, 11:00 PM`); `.vd-avatar vd-avatar-md`; kebab `.vd-icon-button vd-icon-button-md`. **Evidence:** 693:25626–693:25636. **Confidence:** high.
101
+ - **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, `vd:text-data-s vd:font-mono`) + `.vd-pagination-summary` (`vd:text-data-xs vd:font-mono 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.
102
+
103
+ ### 1.4 CMS builder shell
104
+
105
+ ```
106
+ │ rail 240 (expanded, labeled, sectioned) │┌ workspace card 1672 ──────────────────────┐
107
+ │ ││ 48 Communications / Emails / Refinance Offer / Send [Beta] │
108
+ │ ││ 40 (wizard only) ● Recipients ── ② Review & Send │
109
+ │ ││ 1050 editor / step content │ 622 preview panel │
110
+ │ ││ 120 step col │ 600 fields │ PREVIEW / SAMPLE DATA│
111
+ │ ││ 44 footer: Test Send to Myself Back · Send 6 Emails │
112
+ │ │└────────────────────────────────────────────┘
113
+ ```
114
+
115
+ - **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.
116
+ - **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 uppercase `PREVIEW` label (`vd:type-label-l-bold vd:text-content-tertiary`); 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-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.
117
+ - **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-xs 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.
118
+ - **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.
119
+ - **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.
120
+
121
+ ---
122
+
123
+ ## 2. Archetypes
124
+
125
+ ### 2.1 Application detail / review
126
+
127
+ 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.
128
+
129
+ **Tab → module inventory** (order top to bottom, margin label as shown):
130
+
131
+ | Tab | Modules (margin label → display) |
132
+ |---|---|
133
+ | Application | SNAPSHOT (5 KPI metrics) → BUSINESS (entity + Registration / Address / Profile) → BSA (expected use) → CONTACT → OWNERSHIP (%, bar, owner rows) |
134
+ | KYB | RISK OVERVIEW (vendor · n/m checks · pass/review/fail rows) → TIN / IRS MATCH → SECRETARY OF STATE → ADDRESS VERIFICATION → PEOPLE → SCREENING → RECORDS → INDUSTRY |
135
+ | KYC (per person) | RISK OVERVIEW → SMS VERIFICATION → IDENTITY → DOCUMENT → SELFIE CHECK → WATCHLIST |
136
+ | Documents | FORMATION & REGISTRATION → OWNERSHIP & CONTROL → IDENTIFICATION → SIGNED DOCUMENTS |
137
+ | Rules | CRITICAL → WARNING → NO DATA → OVERRIDDEN → PASSED (severity groups; passed group collapsed by default) |
138
+ | Activity | date groups newest first (SEP 12 → SEP 11 → SEP 10), events within a day listed newest first |
139
+
140
+ - **A module is one row of the 140/960 grid.** Its margin label names the module in uppercase — `vd:type-label-l-bold vd:text-content-tertiary` (`--text-label-l-bold`: Inter Semi Bold 10.5/19.6, +10% tracking; the utility bundles the uppercase) — and a small secondary line under it (`vd:text-micro-l vd:text-content-secondary`, 11px) 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.
141
+ - **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.
142
+ - **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.
143
+ - **Expansion is in place.** Collapsed modules are ~80px rows (`vd:h-20`) with an `.vd-icon-button vd-icon-button-md` `#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.
144
+
145
+ ### 2.2 Application list / queue
146
+
147
+ - 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.
148
+ - 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:type-label-s-bold 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.
149
+ - 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.
150
+
151
+ ### 2.3 CMS builder
152
+
153
+ Three page types under one shell: **index** (template table + preview), **editor** (numbered sections + live preview), **send wizard** (two steps + preview + footer).
154
+
155
+ - The **index** header row is a 46px tab strip (`Emails 2 · SMS · Portal · Sent Log`) using the same `.vd-tabs vd-tabs-chip` › `.vd-tab vd-tab-chip` as the detail tabs, with the count in the tab's badge slot (`.vd-badge vd-badge-neutral`); the table area has `vd:p-5` (20) padding, a title in the library's heading type (the frame's serif is a stray), search (`.vd-input-field vd-input-md`) + `n templates` (`vd:text-caption vd:text-content-secondary`) + `New Template` (`.vd-btn vd-btn-primary`), then rows of `30`. The 30px row is intentional: content lists (templates) run lighter than applicant records (44). Row actions are inline `.vd-icon-button vd-icon-button-md`s (send, edit, kebab) on the right. **Evidence:** 777:31076, 777:30892, Email.png; designer decision. **Confidence:** high.
156
+ - The **editor** is a numbered vertical form (`01 Details`, `02 Message` — numbers `vd:text-data-xs vd:font-mono`); blocks (TEXT, BUTTON) are hairline `vd:rounded-tight` containers with a per-block toolbar (Rich Text / HTML as a `.vd-segment-selector`, `{} Insert Variable` as `.vd-btn vd-btn-outline vd-btn-sm`, move up/down and delete as `.vd-icon-button vd-icon-button-md`) and an `+ Add Block` `.vd-btn vd-btn-outline vd-btn-sm` opening a `.vd-dropdown-menu` at the end. Preview is live on the right. **Evidence:** 782:33596, Build.png. **Confidence:** high.
157
+ - The **wizard** uses the `.vd-stepper` row, a full-width footer, and step content that is itself a two-pane list (`Recipients`: report list 373 + recipient list 1299) or a numbered summary (`Review & Send`: `01 Email`, `02 Recipients`, `03 Delivery`). The primary button names the consequence (`Send 6 Emails`) and the recipient list flags `Duplicate` inline with a `.vd-chip vd-chip-warning` (20 tall, `vd:bg-warning-soft vd:text-warning`); the count line says `5 Recipients · 1 Skipped` (`vd:text-caption vd:text-content-secondary`). **Evidence:** 777:31638/777:31726, 778:32557, Review___Send.png. **Confidence:** high.
158
+
159
+ ### 2.4 Unverified archetypes
160
+
161
+ **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.
162
+
163
+ ---
164
+
165
+ ## 3. Hierarchy rules
166
+
167
+ - **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.
168
+ - **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.
169
+ - **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.
170
+ - **Three heading levels only.** (1) module label — `vd:type-label-l-bold vd:text-content-tertiary` (Inter Semi Bold 10.5/19.6, +10% tracking, UPPERCASE, #727280), right-aligned in the 140 column; (2) sub-group label inside a data list — `vd:type-label-s-bold vd:text-content-tertiary` (`--text-label-s-bold`: Inter Semi Bold 10/12, +10%, UPPERCASE) 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-1-bold vd:text-content-primary` (`--text-body-1-bold`: Inter Medium 13/19.5, #16161a) with a `vd:text-micro-l vd:text-content-secondary` (11px, #5b5b68) description beneath. 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.
171
+ - **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.
172
+ - **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.
173
+
174
+ ---
175
+
176
+ ## 4. Density and spacing rhythm
177
+
178
+ 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`.
179
+
180
+ | Relationship | Utility / class | Evidence |
181
+ |---|---|---|
182
+ | Canvas inset around workspace card | canvas `vd:py-2` (8 top/bottom; 0 left, rail abuts) | 533:13960 |
183
+ | Rail → card | 0 (`.vd-nav-rail` carries its own `vd:px-2`) | 788:35712 |
184
+ | 48 bar padding | `vd:h-12 vd:py-2.5 vd:px-4` | 533:13963 |
185
+ | 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 |
186
+ | Content region padding | `vd:py-3 vd:px-10`; column `vd:w-[1100px] vd:mx-auto` | 533:13985 |
187
+ | Module → module | 0 (hairline seam; Display `vd:pb-7` + next `vd:pt-7` = 56 optical) | Rules Display frames |
188
+ | Margin label column | `vd:w-35 vd:pt-7 vd:pr-6 vd:gap-1.5` | 451:7706 |
189
+ | Display padding | `vd:w-60 vd:pt-7 vd:pb-7 vd:pl-7 vd:pr-0` | 451:7708 |
190
+ | Module header row → data list | `vd:gap-4` (16) | 451:7708 |
191
+ | Sub-list → hairline → sub-list | `vd:gap-4` either side of `.vd-divider` | I408:11267;215:8542 |
192
+ | Sub-group header row | `vd:h-9 vd:py-2.5 vd:px-1` (36) | I408:11267;215:7576 |
193
+ | 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 |
194
+ | Rules detail row (Requirement/Finding/Source/On) | `vd:h-[38px]` — the same box as `.vd-data-row` | Rules "Data List Item" |
195
+ | Rules action row | `vd:h-11 vd:py-2.5 vd:px-1` (44) | Rules "Data List Item" |
196
+ | Activity event row | `vd:h-11` | 533:14548 |
197
+ | Owner row (Ownership) | `vd:h-[55px]` | 533:14061 |
198
+ | Collapsed module row | `vd:h-20` (80) | 534:17400 |
199
+ | Snapshot metrics | `vd:w-30` each, `vd:gap-10` | 451:7709 |
200
+ | Rail card padding / row pitch | `vd:py-5`; rows `vd:h-[18px] vd:gap-3` (30 pitch) | 533:14073 |
201
+ | Rail label → first row | label `vd:h-5` + `vd:gap-3` (32) | 533:14094 |
202
+ | Queue KPI card | `vd:w-[356px] vd:h-[71px] vd:py-3 vd:px-4`; band `vd:gap-3` | 705:27436 |
203
+ | Queue row | `vd:h-11`; cells `vd:py-3 vd:px-2` | 693:25628 |
204
+ | CMS section padding | `vd:py-6 vd:px-10` | 782:33283 |
205
+ | CMS field stack gap | `vd:gap-5` simple · `vd:gap-3` groups · `vd:gap-0.25` inside a group | 782:33283, 782:33596 |
206
+ | Buttons | `.vd-btn` (`vd:h-7`, 28) · `.vd-btn-sm` (`vd:h-6`, 24) · `.vd-tab-chip` (`vd:h-[26px]`) · `.vd-chip` (`vd:h-5`, 20) | throughout |
207
+ | Icon buttons | `.vd-icon-button-lg` (`vd:size-7 vd:p-1.5`, 16px icon) · `.vd-icon-button-md` (`vd:size-[18px] vd:p-0.5`, 14px icon) | 533:13973, Data Item icon |
208
+
209
+ - **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.
210
+ - **Vertical rhythm inside a module is 16** (`vd:gap-4`). Header → list = 16, list → `.vd-divider` → list = 16/16, Display gap = 16. **Confidence:** high.
211
+ - **Between-module rhythm is 56 optical (28+28, `vd:pb-7` + `vd:pt-7`) with a hairline at the midpoint.** **Confidence:** high.
212
+ - **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.
213
+
214
+ ---
215
+
216
+ ## 5. Component selection rules
217
+
218
+ - **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.
219
+ - **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-body-2 vd:text-content-secondary`) over value (`vd:text-h2 vd:text-content-primary`, `--text-h2`: Inter Semi Bold 17/19.5), no card chrome. **Evidence:** 705:27436 vs 451:7709. **Confidence:** high.
220
+ - **Inline expansion, never modal, for detail.** `.vd-icon-button vd-icon-button-md` 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.
221
+ - **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.
222
+ - **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-xs vd:font-mono` numbers, not `.vd-step` markers. **Evidence:** 533:13978, 777:31076 vs 778:32157, 782:33283. **Confidence:** high.
223
+ - **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 in `vd:text-data-xs vd:font-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, `vd:text-statecap`) matches neither. **Evidence:** 546:18952 (active), 533:15717–533:15723, 533:14088–533:14092. **Confidence:** high.
224
+ - **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-md` 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.
225
+ - **Cross-links are `.vd-text-button vd-text-button-primary` (`vd:text-caption vd:text-primary`, 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.
226
+ - **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:type-label-s-bold` labels and expand/download `.vd-icon-button vd-icon-button-md`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.
227
+
228
+ ---
229
+
230
+ ## 6. State handling
231
+
232
+ - **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.
233
+ - **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.
234
+ - **Status pills are `.vd-chip` (sm default: `vd:h-5 vd:px-2.25 vd:py-1.25 vd:rounded-pill vd:text-micro-s-bold` — 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.
235
+ - **Severity is always `.vd-dot` + icon + label + count** in the rail (count `vd:text-data-xs 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.
236
+ - **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-md` `#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.
237
+ - **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.
238
+ - **Validation is by help text under the field, before the action** — `vd:text-caption vd:text-content-tertiary` (12/18; **not** `vd:text-help-caption`, which is 12/14 and belongs to Modal): "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.
239
+ - **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.
240
+ - **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.
241
+ - **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).
242
+ - **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).
243
+
244
+ ---
245
+
246
+ ## 7. Navigation and progression
247
+
248
+ - **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-1 vd:text-content-secondary`), `.vd-breadcrumb-separator` slashes (`aria-hidden`), and two `.vd-breadcrumb vd-breadcrumb-current` items (`vd:text-body-1-bold 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-lg` and the `Applications` crumb are the back path; there is no separate Back button. **Evidence:** 408:11206–408:11213; designer decision. **Confidence:** high.
249
+ - **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.
250
+ - **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.
251
+ - **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.
252
+ - **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.
253
+ - **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.
254
+
255
+ ---
256
+
257
+ ## 8. Copy and tone
258
+
259
+ - **Labels are sentence case; only section/module headings and rail card titles are uppercase — via the `vd:type-label-l-bold` / `vd:type-label-s-bold` utilities, which bundle the text-transform with the 10% tracking (never a bare `vd:uppercase` on body type).** Data labels: `Annual Revenue`, `Date of Birth`, `Alt. names on TIN`. Module labels: `SNAPSHOT`, `RISK OVERVIEW`, `OVERRIDE REASON`. **Evidence:** Data Item labels; Category texts. **Confidence:** high.
260
+ - **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.
261
+ - **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.
262
+ - **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.
263
+ - **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-xs 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.
264
+ - **Help text is a full sentence, `vd:text-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.
265
+ - **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.
266
+ - **Monospace is reserved for verifiable identifiers and quantities** — `vd:text-data-xs vd:font-mono` (`--text-data-xs`: 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`), the pager summary; `vd:text-data-s vd:font-mono` (13/19.5) for the breadcrumb ID 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.
267
+ - **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:type-label-s-bold`) with mono clock times. **Evidence:** Rules "On" rows; 693:25626; 533:14548. **Confidence:** high.
268
+
269
+ ---
270
+
271
+ ## 9. Anti-patterns
272
+
273
+ ### 9.1 Failure modes this surface avoids (page-level)
274
+
275
+ | Failure mode | What the screens do instead | Evidence |
276
+ |---|---|---|
277
+ | Bad density | Rows 36–55, 16px internal rhythm, no card padding around field lists; one 1100 column, never two content columns | §4 |
278
+ | Ambiguous status | Every status is text + icon (+ dot); severity vocabulary is fixed and ordered; `Not screened` is visibly neutral, not failed | §6 |
279
+ | Hidden decision state | Approve/Reject in the same place on every tab; rail Status + checklist `n/5` always visible | §1.2, §3 |
280
+ | Buried evidence | Roll-up module first, evidence rows directly under it, `Go to source` on every finding | §3, §7 |
281
+ | Unsourced verification | Third column names the vendor and check (`Middesk · TIN Match`) or says `Applicant stated` | §6, §8 |
282
+ | Anonymous history | Every event and override carries avatar + name + time; system actions say `System` | §8 |
283
+ | Color-only status | Color is only ever added to a dot, pill, or icon that already has text | §6 |
284
+
285
+ ### 9.2 Things the designer never does on this surface
286
+
287
+ - 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).
288
+ - 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.
289
+ - Never a card inside the content column on review pages; never nested cards anywhere.
290
+ - Never a modal or drawer for *detail*; modal only for terminal-decision confirmation (§5).
291
+ - Never a page title in the content column; the breadcrumb is the title.
292
+ - 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.
293
+ - Never a serif face; Inter and JetBrains Mono only.
294
+ - Never a misspelling shipped from a frame: copy defects in the source are accidents and are corrected on extraction, never reproduced.
295
+ - Never a colored value cell — color lives in the verification column only.
296
+ - Never an icon without a text label except the fixed 28px `.vd-icon-button-lg`s (⋯, collapse, column settings, pager arrows) and the 18px `.vd-icon-button-md` row icons — every one of which needs an `aria-label`.
297
+ - Never a status word alone for a partial state — always `n/m` or `n of m` alongside.
298
+ - Never a resting fill on a data row; fill is hover only.
299
+ - Never the `#d9d9d9` scroll-placeholder block from the frames.
300
+
301
+ ### 9.3 Applicant-side tokens and patterns that must not leak in
302
+
303
+ 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:
304
+
305
+ - **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).
306
+ - **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.
307
+ - **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-h2` / `vd:text-h1`) — `vd:text-display` is never used here.
308
+ - **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.
309
+ - **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.
310
+ - **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.
311
+
312
+ ---
313
+
314
+ ## 10. Component map
315
+
316
+ Every pattern in §1–§8 that the library ships, with the class to use. Slots and states follow the library's `CLAUDE.md`.
317
+
318
+ | Pattern | Library |
319
+ |---|---|
320
+ | 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` |
321
+ | Breadcrumb bar | `.vd-breadcrumbs` › `.vd-breadcrumb` (`vd:text-body-1 vd:text-content-secondary`), `.vd-breadcrumb-current` (`vd:text-body-1-bold vd:text-content-primary`), `.vd-breadcrumb-separator`, `.vd-breadcrumb-separator-dot`; `vd:font-mono` on the ID at the call site |
322
+ | Tab row / tabs | `.vd-tabs vd-tabs-chip` › `.vd-tab vd-tab-chip` (`aria-selected` → `vd:bg-action-selected`) |
323
+ | Rail header tabs | `.vd-tabs` › `.vd-tab vd-tab-underline` (32) |
324
+ | `Is any of / Is none of`, Rich Text / HTML | `.vd-segment-selector` › `.vd-tab vd-tab-segment` (`aria-checked`) |
325
+ | 28px bar buttons; 24px sub-toolbar / footer / inline buttons | `.vd-btn vd-btn-outline` / `.vd-btn vd-btn-primary` (md, `vd:text-action-m` 12.5/14); `.vd-btn … vd-btn-sm` (`vd:text-action-s` 12/14) |
326
+ | `Filter` button with soft fill, primary hairline, count | `.vd-btn btn-outline[aria-selected="true"]` + `.vd-badge vd-badge-primary` |
327
+ | Disabled `Confirm Override` | `.vd-btn btn-primary:disabled` → `vd:bg-primary-disabled` |
328
+ | Terminal-decision confirmation | `.vd-modal` (`<dialog>` + `showModal()`, `.modal-notice-*`, `.vd-btn-critical` confirm) |
329
+ | Action feedback | `.vd-toast` (`.vd-toast-success` for completions) |
330
+ | 28px icon buttons; 18px inline icons; 12px label help | `.vd-icon-button vd-icon-button-lg` / `-md` (`vd:p-0.5`) / `-xs` |
331
+ | Applied filter `field · operator · value · ×` | `.vd-filter-segments` › `.vd-filter-segment vd-filter-segment-first / -md / -last` |
332
+ | Rail type chips (21, never active) | `.vd-tag` |
333
+ | Sub-toolbar filter chips (count, active solid) | `.vd-tag vd-tag-md` + `.vd-tag-count`, `aria-pressed` |
334
+ | Status pills `Pass / Review / Failed`, `Duplicate` | `.vd-chip vd-chip-success / vd-chip-warning / vd-chip-critical` |
335
+ | Severity / status dots | `.vd-dot vd-dot-critical / vd-dot-warning / vd-dot-success / vd-dot-neutral`; purple variant planned (§12) |
336
+ | 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` |
337
+ | Page-size dropdown | `.vd-dropdown-field vd-dropdown-field-sm` (25) |
338
+ | Override reason area | `.vd-textarea-field vd-textarea-bg-neutral` |
339
+ | Review Checklist rows | `.vd-checkbox` (checked label dims to `content-tertiary`) |
340
+ | 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` |
341
+ | Verification column | `.vd-field-verification-verified / -pending / -none / -mismatch` (+ `.vd-section-marker`); warning variant planned (§12) |
342
+ | Masked SSN / DOB / account | `.vd-sensitive-data` |
343
+ | Owner check columns | `.vd-section-marker vd-section-marker-approve` |
344
+ | Ownership / signature progress | `.vd-progress-bar` (+ `.vd-progress-bar-success`, legend, neutral swatch); warning scheme planned (§12) |
345
+ | 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` |
346
+ | Cross-links; `Clear All`; `Select all` | `.vd-text-button vd-text-button-primary` / `-text` / `-cell`; warning variant planned (§12) |
347
+ | Wizard stepper | `.vd-stepper` › `.vd-stepper-steps` › `.vd-step` / `.vd-step-active` / `.vd-step-upcoming`, `.stepper-connector(-complete)` |
348
+ | Pager | `.vd-pagination` › `.vd-pagination-pages` › `.pagination-item(-nav / -active)`, `.vd-pagination-summary` |
349
+ | Module sub-list seams; rail card seams; metadata rows | `.vd-divider`, `.vd-divider-labeled`, `.vd-divider-metadata` |
350
+ | Attribution / row avatars | `.vd-avatar vd-avatar-md` |
351
+ | Loading; module failure | `.vd-skeleton …`, `.vd-loading-inline`; `.vd-alert vd-alert-critical` + `.vd-text-button vd-text-button-primary` |
352
+ | Help icon | `.vd-icon-button vd-icon-button-xs` + `#custom-help`, `.vd-tooltip` |
353
+ | Keyboard focus | `vd:focus-ring` utility on every interactive element |
354
+
355
+ Shipped components that no in-scope frame uses: `.vd-pill`, `.vd-card` (scaffolding — never use). Do not map by analogy.
356
+
357
+ ---
358
+
359
+ ## 11. Patterns with no component
360
+
361
+ Compose these from tokens and the primitives above.
362
+
363
+ | Pattern | Composition |
364
+ |---|---|
365
+ | 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` |
366
+ | 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` |
367
+ | Tab row | `vd:h-10 vd:border-b` hairline wrapping `.vd-tabs vd-tabs-chip` |
368
+ | Sub-toolbar | `vd:h-10 vd:py-1.75 vd:px-4 vd:flex vd:items-center vd:gap-3 vd:justify-between` |
369
+ | 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-lg`); body `vd:px-5`; cards `vd:py-5 vd:border-b` hairline |
370
+ | Rail Status block / Key Indicators | `vd:py-5` card, `.vd-divider` seams; label `vd:h-5 vd:type-label-l-bold vd:text-content-tertiary`; rows `vd:h-[18px] vd:gap-3 vd:flex`; `.vd-divider-metadata` where the row is key · value |
371
+ | Review Checklist card | `.vd-checkbox` rows + `icon-size-14` `#chevron-right`; `n/m` counts `vd:text-data-xs vd:font-mono` |
372
+ | 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:type-label-l-bold vd:text-content-tertiary`, secondary `vd:text-micro-l vd:text-content-secondary` |
373
+ | Collapsed module | `vd:h-20` row; `.vd-icon-button vd-icon-button-md` `#chevron-down` right |
374
+ | Snapshot metric strip | five `vd:w-30` columns, `vd:gap-10`; label `vd:text-body-2 vd:text-content-secondary` over `vd:text-h2 vd:text-content-primary` |
375
+ | 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-body-2 vd:text-content-primary` (+ optional `vd:text-micro-l vd:text-content-secondary` detail); 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` |
376
+ | Sub-group header | `vd:h-9 vd:py-2.5 vd:px-1 vd:flex vd:items-center vd:gap-2 vd:type-label-s-bold vd:text-content-tertiary` + `icon-size-16` |
377
+ | Inline confirmation row | `vd:h-11 vd:flex vd:items-center vd:gap-2`; `.vd-btn vd-btn-outline vd-btn-sm` × 2 |
378
+ | 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-md` `#x` |
379
+ | Owner row | `vd:h-[55px]` row: `.vd-avatar vd-avatar-md`, name `vd:text-body-1-bold`, `vd:text-micro-l` meta, three `.vd-section-marker vd-section-marker-approve` columns |
380
+ | Queue KPI card | `vd:w-[356px] vd:h-[71px] vd:py-3 vd:px-4 vd:rounded-control`; label `vd:text-body-2 vd:text-content-secondary`; value `vd:text-h1 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]` |
381
+ | 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 |
382
+ | CMS index row | `vd:h-[30px]`; inline `.vd-icon-button-md` actions |
383
+ | CMS field group | `vd:border-[length:var(--border-thin)] vd:border-stroke-divider vd:rounded-tight`, children `vd:gap-0.25` |
384
+ | CMS block toolbar | `vd:flex vd:gap-2`: `.vd-segment-selector`, `.vd-btn vd-btn-outline vd-btn-sm`, `.vd-icon-button-md` × 3 |
385
+ | 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` |
386
+ | Preview panel | `vd:w-[622px]` / `vd:w-[500px]`; header `vd:h-12 vd:px-5 vd:type-label-l-bold 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` |
387
+ | 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 |
388
+
389
+ ---
390
+
391
+ ## 12. Planned library additions
392
+
393
+ 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.
394
+
395
+ | Addition | Spec from the frames | Interim class (use verbatim) | Library home |
396
+ |---|---|---|---|
397
+ | Info text colour | `#415472` (`Rule already noted`) | `vd:text-[#415472]` | new `--color-info` token |
398
+ | Pending amber | `#ad751b` (`Pending Signature`) | `vd:text-[#ad751b]` | new token (distinct hue from `--color-warning`) |
399
+ | Overridden dot | `--color-misc-purple` #7b5ea7 | `.vd-dot` + `vd:bg-misc-purple` (token exists) | `.vd-dot-overridden` variant |
400
+ | Workspace-card shadow | `0 4 4 #000 @8%` | `vd:shadow-[0_4px_4px_rgb(0_0_0/0.08)]` | new `--shadow-card` token |
401
+ | Selected-KPI stroke | 1.5px `vd:border-primary` | `vd:border-[1.5px] vd:border-primary` | new border-width token |
402
+ | 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 |
403
+ | Warning cross-link | `vd:text-warning` | `.vd-text-button` + `vd:text-warning vd:hover:text-warning` | `.vd-text-button-warning` variant |
404
+ | Warning progress | amber partial fill | `.vd-progress-bar` with `.vd-progress-bar-fill` + `vd:bg-warning` | `.vd-progress-bar-warning` scheme |
405
+ | Hollow warning ring | `Incomplete Data` marker | `.vd-section-marker-unverified` + `vd:border-warning` | warning colour variant |
406
+ | 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 |
407
+ | 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 |
408
+
409
+ ---
410
+
411
+ ## 13. Open items
412
+
413
+ Anything a page needs from this list is unspecified; do not infer it.
414
+
415
+ - **Business profile, funding review, settings & user management, reporting** — no screens; any brief targeting them is a stop.
416
+ - **Collapsed summary rail rendering** — rule decided (§1.2); no frame shows it.
417
+ - **Entity name in BUSINESS** — larger semi-bold, unmeasured; no token asserted.
418
+ - **Queue table header row** — none drawn in any frame; whether a header exists is undecided.
419
+ - **Recipients tab strip and Review & Send `TIMING` control** — frames overlap their own headers / show wrong labels; not extracted; needs design refinement before use.
420
+ - **Library follow-ups (§12)** — decided but not yet built.
421
+
422
+ ---
423
+
424
+ ## Appendix A — Value ledger
425
+
426
+ **Color**
427
+
428
+ | Role | Token / utility |
429
+ |---|---|
430
+ | Canvas | `--color-surface-frame` (#f0f3f7) · `vd:bg-surface-frame` |
431
+ | Workspace / card surface | `--color-surface-paper` (#ffffff) · `vd:bg-surface-paper` |
432
+ | Subtle field / preview well / override reason / requested row | `--color-surface-card` (#fafafb) · `vd:bg-surface-card` (`.vd-textarea-bg-neutral`, `.vd-input-bg-neutral`) |
433
+ | Hairline / stroke | `--color-stroke-divider` (#141428 @8%) + `--border-thin` (0.5px) · `vd:border-[length:var(--border-thin)] vd:border-stroke-divider` |
434
+ | Active-tab hairline | `--color-stroke-border` (#141428 @13%) · `vd:border-stroke-border` |
435
+ | Row hover | `--color-action-subtle` (#141428 @3%) · `vd:bg-action-subtle` (`.data-row:hover`) |
436
+ | Active tab / selected overlay | `--color-action-selected` (#141428 @8%) · `vd:bg-action-selected` |
437
+ | Text primary | `--color-content-primary` (#16161a) · `vd:text-content-primary` |
438
+ | Text secondary | `--color-content-secondary` (#5b5b68) · `vd:text-content-secondary` |
439
+ | Text muted / labels / headings | `--color-content-tertiary` (#727280) · `vd:text-content-tertiary` |
440
+ | Text placeholder / pending | `--color-content-faint` (#c4c4ce) · `vd:text-content-faint` |
441
+ | Brand / action / link / selection | `--color-primary` (#1e4d8c) · `vd:bg-primary` / `vd:text-primary` / `vd:border-primary` |
442
+ | Brand tint | `--color-primary-soft` (#1e4d8c @8%) · `vd:bg-primary-soft` |
443
+ | Brand disabled | `--color-primary-disabled` (#1e4d8c @40%) · `vd:bg-primary-disabled` |
444
+ | Badge text (Beta) / link hover | `--color-primary-dark` (#163a6b) · `vd:text-primary-dark` |
445
+ | Info text | `#415472` `[raw — planned, §12]` |
446
+ | Success dot / pill text / verified icon | `--color-approved` (#157d61) · `vd:text-approved` / `vd:bg-approved` |
447
+ | Rail "Passed" text | `--color-approved-strong` (#168567) · `vd:text-approved-strong` |
448
+ | Success tint | `--color-approved-soft` (#1a9b78 @9%) · `vd:bg-approved-soft` |
449
+ | Warning dot / text / links | `--color-warning` (#c9881f) · `vd:text-warning` / `vd:bg-warning` |
450
+ | Warning tint | `--color-warning-soft` (#c9881f @9%) · `vd:bg-warning-soft` |
451
+ | Pending-signature text | `#ad751b` `[raw — planned, §12]` |
452
+ | Critical dot / text / mismatch | `--color-critical` (#c5303c) · `vd:text-critical` / `vd:bg-critical` |
453
+ | Critical tint | `--color-critical-soft` (#d8434f @9%) · `vd:bg-critical-soft` |
454
+ | Overridden dot | `--color-misc-purple` (#7b5ea7) — `.vd-dot` variant planned (§12) |
455
+ | No-data dot | `--color-neutral-strong` (#4e4e59) · `.vd-dot-neutral` |
456
+ | White on fills | `--color-content-contrast` (#ffffff) · `vd:text-content-contrast` |
457
+ | Shadow (card) | `0 4 4 #000 @8%` `[raw — planned, §12]` |
458
+ | Shadow (popover) | `--shadow-panel` · `vd:shadow-panel` (0 12px 34px −12px #000 @25%) |
459
+ | Focus ring | `--ring-focus-width` 2px · `--ring-focus-color` `Primary/Main` · `vd:focus-ring` |
460
+
461
+ **Type**
462
+
463
+ | Role | Utility |
464
+ |---|---|
465
+ | Module / rail / section label | `vd:type-label-l-bold vd:text-content-tertiary` (Inter Semi Bold 10.5/19.6, +10%, UPPERCASE) |
466
+ | Data-list sub-group label; menu group label | `vd:type-label-s-bold vd:text-content-tertiary` (Inter Semi Bold 10/12, +10%, UPPERCASE) |
467
+ | Row title | `vd:text-body-1-bold vd:text-content-primary` (Inter Medium 13/19.5) |
468
+ | Row description / margin count | `vd:text-micro-l vd:text-content-secondary` (11) |
469
+ | Data label / value | `vd:text-body-2` — `.vd-data-row-field` `vd:text-content-tertiary` / `.vd-data-row-value` `vd:text-content-primary` (12.5) |
470
+ | Queue name cell | `vd:text-body-2-bold vd:text-content-primary` |
471
+ | Verification text, rail rows, chips, help | `vd:text-caption` (12/18; not `vd:text-help-caption`, 12/14, which belongs to Modal) |
472
+ | Button label — 24px | `vd:text-action-s` (12/14, `.vd-btn-sm`) |
473
+ | Button label — 28px | `vd:text-action-m` (12.5/14, `.vd-btn`) |
474
+ | Breadcrumb | `vd:text-body-1 vd:text-content-secondary`; current `vd:text-body-1-bold vd:text-content-primary` |
475
+ | KPI value (queue) | `vd:text-h1` (Inter Semi Bold 19/21.8) |
476
+ | Snapshot value | `vd:text-h2` (Inter Semi Bold 17/19.5) |
477
+ | KPI / snapshot label | `vd:text-body-2 vd:text-content-secondary` |
478
+ | Status pill label | `vd:text-micro-s-bold` (`.vd-chip`) |
479
+ | Identifiers, counts, times, step numbers, category tags, pager summary | `vd:text-data-xs vd:font-mono` (JetBrains Mono 12/16.5) |
480
+ | Breadcrumb ID; pager items | `vd:text-data-s vd:font-mono` (13/19.5) |
481
+
482
+ **Dimensions**
483
+
484
+ | Element | Utility / class |
485
+ |---|---|
486
+ | Viewport / card | 1920×1080 / 1064 tall · `vd:py-2` canvas inset |
487
+ | 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` |
488
+ | Detail main / rail | `vd:w-[1532px]` / `vd:w-80` (rail collapsed: main = card width, column re-centers) |
489
+ | Content column / margin col / display | `vd:w-[1100px] vd:mx-auto` / `vd:w-35` / `vd:w-60` |
490
+ | 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-md` |
491
+ | CMS editor / preview | `vd:w-[1050px]` / `vd:w-[622px]` (index `vd:w-[500px]`) |
492
+ | Queue card | `vd:w-[1868px]` |
493
+ | 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 |
494
+ | Controls | `.vd-btn` / `.vd-icon-button-lg` (28) · `.vd-tab-chip` (26) · `.vd-btn-sm` / `.vd-tag-md` (24) · `.vd-tag` (21) · `.vd-chip` (20) · `.vd-icon-button-md` (18) · `.vd-pagination-item` (32) · `.vd-dropdown-field-sm` (25) · `.vd-input-md` (29) · `.vd-step-marker` (24) |
495
+ | 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` |
496
+ | 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]` |