create-pmos 0.695.0 → 0.697.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 (70) hide show
  1. package/package.json +15 -9
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/design-system/ui/components/bundle.css +35 -35
  4. package/payload/design-system/ui/tokens.css +6 -5
  5. package/payload/planning/evals/eval-calibration.md +1 -1
  6. package/payload/planning/okrs/health-budgets.md +1 -1
  7. package/payload/state/discoveries.md +1 -1
  8. package/workspace/briefing-premium-doc-edit-test.js +5 -5
  9. package/workspace/briefing-premium-insights-test.js +2 -1
  10. package/workspace/changelog.json +14 -8
  11. package/workspace/design-system/ui/components/bundle.css +35 -35
  12. package/workspace/design-system/ui/tokens.css +6 -5
  13. package/workspace/design-token-reach.js +93 -0
  14. package/workspace/guide/cli.md +8 -0
  15. package/workspace/guide/home.md +3 -3
  16. package/workspace/lib/design-system.js +22 -4
  17. package/workspace/lib/premium-console-type.js +2 -1
  18. package/workspace/package-lock.json +2 -2
  19. package/workspace/package.json +1 -1
  20. package/workspace/premium-chat-notes-test.js +3 -3
  21. package/workspace/premium-menu-rows-test.js +2 -1
  22. package/workspace/premium-report-read-test.js +1 -1
  23. package/workspace/premium-vw-item-test.js +2 -0
  24. package/workspace/premium-vw-slides-test.js +3 -3
  25. package/workspace/public/capture.html +1 -0
  26. package/workspace/public/pm/console3.css +1 -1
  27. package/workspace/public/pm/cozy-board.css +3 -10
  28. package/workspace/public/pm/cozy-home.css +3 -5
  29. package/workspace/public/pm/cozy-insights.css +0 -1
  30. package/workspace/public/pm/cozy-viewer.js +1 -7
  31. package/workspace/public/pm/cozy-vw-shell.css +1 -2
  32. package/workspace/public/pm/cozy-vw.css +2 -6
  33. package/workspace/public/pm/cozy.css +3 -15
  34. package/workspace/public/pm/ds-bridge.css +3 -1
  35. package/workspace/public/pm/home-app.js +6 -7
  36. package/workspace/public/pm/home-chat.js +0 -1
  37. package/workspace/public/pm/home-ini.js +4 -4
  38. package/workspace/public/pm/home-more.js +1 -2
  39. package/workspace/public/pm/komorebi.css +44 -40
  40. package/workspace/public/pm/premium-board.js +1 -1
  41. package/workspace/public/pm/premium-mtg-present.js +1 -1
  42. package/workspace/public/pm/premium-report-read.js +3 -5
  43. package/workspace/public/pm/premium-shell.js +6 -10
  44. package/workspace/public/pm/premium-vw-backlog.css +0 -1
  45. package/workspace/public/pm/premium-vw-cal.css +0 -1
  46. package/workspace/public/pm/premium-vw-copy.css +0 -1
  47. package/workspace/public/pm/premium-vw-doc.css +0 -1
  48. package/workspace/public/pm/premium-vw-doc.js +2 -3
  49. package/workspace/public/pm/premium-vw-guide.css +0 -1
  50. package/workspace/public/pm/premium-vw-item.css +0 -1
  51. package/workspace/public/pm/premium-vw-jira.css +0 -1
  52. package/workspace/public/pm/premium-vw-meet.css +0 -1
  53. package/workspace/public/pm/premium-vw-notepad.css +0 -1
  54. package/workspace/public/pm/premium-vw-notes.css +0 -1
  55. package/workspace/public/pm/premium-vw-rec.css +0 -1
  56. package/workspace/public/pm/premium-vw-report.css +0 -1
  57. package/workspace/public/pm/premium-vw-slides.css +0 -1
  58. package/workspace/public/pm/premium-vw-slides.js +5 -6
  59. package/workspace/public/pm/premium.css +0 -1
  60. package/workspace/public/premium-board.html +1 -0
  61. package/workspace/public/premium-events.html +1 -0
  62. package/workspace/public/premium-goals.html +1 -0
  63. package/workspace/public/premium-intelligence.html +1 -0
  64. package/workspace/public/premium-library.html +1 -0
  65. package/workspace/public/premium-present.html +1 -0
  66. package/workspace/public/premium-routine.html +1 -0
  67. package/workspace/public/premium-viewer.html +1 -0
  68. package/workspace/test-lists/design-placeholders.json +9 -0
  69. package/workspace/test-lists/design-token-alias.json +9 -0
  70. package/workspace/public/pm/cozy-placeholder.js +0 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.695.0",
3
+ "version": "0.697.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -34,21 +34,27 @@
34
34
  ],
35
35
  "pmosChanges": [
36
36
  {
37
- "v": "0.695.0",
38
- "at": "2026-11-22T09:50:12.777Z",
37
+ "v": "0.697.0",
38
+ "at": "2026-11-22T09:56:23.025Z",
39
39
  "f": 4,
40
40
  "prs": [
41
- {
42
- "n": 1514,
43
- "t": "Discovery in three questions on a new initiative (A459)",
44
- "s": "Discovery in three questions on a new initiative (A459)",
45
- "k": "new"
46
- },
47
41
  {
48
42
  "n": 1516,
49
43
  "t": "Your move's question list derives the rows once, not once per initiative",
50
44
  "s": "Your move's question list derives the rows once, not once per initiative",
51
45
  "k": "fix"
46
+ },
47
+ {
48
+ "n": 1513,
49
+ "t": "No \"Waiting for design\" tag or card reaches a user (A460)",
50
+ "s": "No \"Waiting for design\" tag or card reaches a user (A460)",
51
+ "k": "new"
52
+ },
53
+ {
54
+ "n": 1498,
55
+ "t": "One Komorebi token change reaches every page (token-first step 1)",
56
+ "s": "One Komorebi token change reaches every page (token-first step 1)",
57
+ "k": "new"
52
58
  }
53
59
  ]
54
60
  },
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@c17d1d1f
1
+ kernel-source: pmos@1add3b6d
2
2
  assembled: 2026-11-22
3
3
  mode: vendor
@@ -1,11 +1,11 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600&family=IBM+Plex+Mono&display=swap");
2
- body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-sans);font-size:15px;line-height:1.6}
2
+ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-sans);font-size:var(--type-body);line-height:1.6}
3
3
  .pm *{box-sizing:border-box}
4
4
  .pm{padding:16px;display:flex;flex-direction:column;gap:12px}
5
5
  .pm-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
6
- .pm-meta{font-size:13px;line-height:20px;color:var(--muted)}
7
- .pm-h{margin:0;font-size:18px;line-height:24px;font-weight:600}
8
- .pm-h-sm{margin:0;font-size:15px;line-height:24px;font-weight:600}
6
+ .pm-meta{font-size:var(--type-small);line-height:20px;color:var(--muted)}
7
+ .pm-h{margin:0;font-size:var(--type-heading);line-height:24px;font-weight:600}
8
+ .pm-h-sm{margin:0;font-size:var(--type-body);line-height:24px;font-weight:600}
9
9
  .pm-ic{width:16px;height:16px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
10
10
  /* Elements */
11
11
  .pm-btn{width:32px;height:32px;border-radius:var(--radius-sm);border:0;background:none;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background var(--duration-quick) var(--ease-out)}
@@ -17,40 +17,40 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
17
17
  .pm-btn[disabled]{opacity:.4;cursor:default}
18
18
  .pm-input{height:40px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);padding:0 12px;font:inherit;color:var(--ink);width:100%}
19
19
  .pm-input:focus{outline:none;box-shadow:var(--glow)}
20
- .pm-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;white-space:nowrap;background:var(--well);color:var(--muted)}
20
+ .pm-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-sm);font-size:var(--type-small);font-weight:600;white-space:nowrap;background:var(--well);color:var(--muted)}
21
21
  .pm-badge.alert{background:var(--alert-tint);color:var(--alert)}
22
22
  .pm-badge.blue{background:var(--blue-tint);color:var(--blue)}
23
- .pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--blue);color:var(--on-blue);font-size:13px}
23
+ .pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--blue);color:var(--on-blue);font-size:var(--type-small)}
24
24
  .pm-switch{width:40px;height:24px;border-radius:var(--radius-pill);background:var(--line);border:0;position:relative;cursor:pointer;flex-shrink:0}
25
25
  .pm-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:var(--radius-pill);background:var(--card);box-shadow:var(--raise);transition:left var(--duration-quick) var(--ease-out)}
26
26
  .pm-switch[aria-checked="true"]{background:var(--leaf)}
27
27
  .pm-switch[aria-checked="true"]::after{left:19px}
28
28
  .pm-switch:focus-visible{outline:none;box-shadow:var(--glow)}
29
- .pm-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--well);font-size:13px}
30
- .pm-kbd{font-family:var(--font-mono);font-size:13px;min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--well);display:inline-flex;align-items:center;justify-content:center}
29
+ .pm-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--well);font-size:var(--type-small)}
30
+ .pm-kbd{font-family:var(--font-mono);font-size:var(--type-small);min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--well);display:inline-flex;align-items:center;justify-content:center}
31
31
  /* Components */
32
32
  .pm-li{min-height:56px;border-radius:var(--radius-md);display:flex;align-items:center;gap:12px;padding:6px 8px 6px 14px}
33
33
  .pm-li:hover{background:var(--well)}
34
34
  .pm-li .t{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
35
- .pm-li .w{font-size:13px;line-height:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
35
+ .pm-li .w{font-size:var(--type-small);line-height:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
36
36
  .pm-li .txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.4}
37
37
  .pm-li .acts{display:none;gap:2px}
38
38
  .pm-li:hover .acts,.pm-li:focus-within .acts{display:flex}
39
39
  .pm-li.now{background:var(--leaf-tint);box-shadow:inset 0 0 0 2px var(--leaf)}
40
40
  .pm-li.nest{padding-left:38px;min-height:44px}
41
41
  .pm-tabs{display:inline-flex;background:var(--well);border-radius:var(--radius-md);padding:3px;gap:2px}
42
- .pm-tab{height:30px;padding:0 10px;border-radius:var(--radius-sm);border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer}
42
+ .pm-tab{height:30px;padding:0 10px;border-radius:var(--radius-sm);border:0;background:none;font:inherit;font-size:var(--type-small);font-weight:600;color:var(--muted);cursor:pointer}
43
43
  .pm-tab[aria-selected="true"]{background:var(--card);color:var(--ink);box-shadow:var(--raise)}
44
- .pm-field{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:13px;line-height:20px}
44
+ .pm-field{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:var(--type-small);line-height:20px}
45
45
  .pm-field dt{color:var(--muted)}.pm-field dd{margin:0}
46
- .pm-toast{display:inline-flex;flex-direction:column;background:var(--ink);color:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);font-size:13px;overflow:hidden}
46
+ .pm-toast{display:inline-flex;flex-direction:column;background:var(--ink);color:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);font-size:var(--type-small);overflow:hidden}
47
47
  .pm-toast .in{display:inline-flex;align-items:center;gap:10px;padding:4px 4px 4px 14px}
48
48
  .pm-toast .pm-btn{color:var(--card)}
49
49
  .pm-toast .timer{height:2px;background:var(--leaf)}
50
50
  .pm-menu{background:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);padding:4px;min-width:200px;display:flex;flex-direction:column}
51
- .pm-menu button{height:36px;border:0;background:none;text-align:left;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:13px;color:var(--ink);display:flex;align-items:center;gap:8px;cursor:pointer}
51
+ .pm-menu button{height:36px;border:0;background:none;text-align:left;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:var(--type-small);color:var(--ink);display:flex;align-items:center;gap:8px;cursor:pointer}
52
52
  .pm-menu button:hover{background:var(--well)}
53
- .pm-sug{display:flex;align-items:center;gap:10px;background:var(--blue-tint);border-radius:var(--radius-md);padding:4px 4px 4px 12px;font-size:13px}
53
+ .pm-sug{display:flex;align-items:center;gap:10px;background:var(--blue-tint);border-radius:var(--radius-md);padding:4px 4px 4px 12px;font-size:var(--type-small)}
54
54
  .pm-sug .say{flex:1}
55
55
  .pm-star{color:var(--blue)}
56
56
  .pm-sug.x{flex-direction:column;align-items:stretch;gap:10px;padding:14px 16px}
@@ -63,11 +63,11 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
63
63
  .pm-sug.x dd li{margin:0 0 2px}
64
64
  .pm-sug.x dd.src{color:var(--muted)}
65
65
  .pm-sug.x .ans{display:flex;gap:8px;justify-content:flex-end}
66
- .pm-ev{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--raise);padding:6px 10px;display:flex;flex-direction:column;line-height:1.35;font-size:13px}
66
+ .pm-ev{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--raise);padding:6px 10px;display:flex;flex-direction:column;line-height:1.35;font-size:var(--type-small)}
67
67
  .pm-ev b{font-weight:600}
68
68
  .pm-ev.over{background:none;box-shadow:none;border-style:dashed;color:var(--muted)}
69
- .pm-fold{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-top:1px dashed var(--line);background:none;width:100%;font:inherit;font-size:13px;font-weight:600;color:var(--muted);text-align:left;cursor:pointer}
70
- .pm-group{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;background:var(--well);color:var(--muted)}
69
+ .pm-fold{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-top:1px dashed var(--line);background:none;width:100%;font:inherit;font-size:var(--type-small);font-weight:600;color:var(--muted);text-align:left;cursor:pointer}
70
+ .pm-group{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:var(--type-small);font-weight:600;background:var(--well);color:var(--muted)}
71
71
  .pm-group.now{background:var(--leaf-tint);color:var(--ink)}
72
72
  .pm-dia{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;padding:0;transform:rotate(45deg);background:var(--card);border:2px solid var(--ink);border-radius:2px;box-sizing:border-box;cursor:pointer;z-index:2}
73
73
  .pm-dia.late{border-color:var(--alert)}
@@ -76,28 +76,28 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
76
76
  .pm-dia.n>b{transform:rotate(-45deg);color:var(--card);font-size:11px;line-height:1;font-weight:600}
77
77
  .pm-dia:focus-visible{outline:none;box-shadow:var(--glow)}
78
78
  .pm-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--alert);z-index:1}
79
- .pm-now>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:13px;font-style:normal;font-weight:600;color:var(--alert);white-space:nowrap}
79
+ .pm-now>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:var(--type-small);font-style:normal;font-weight:600;color:var(--alert);white-space:nowrap}
80
80
  .pm-gt{position:relative;height:24px}
81
81
  .pm-gt>.b{position:absolute;top:7px;height:10px;border-radius:var(--radius-pill);background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
82
82
  .pm-gt>.b.dn{background:var(--leaf);box-shadow:none}
83
83
  .pm-gt>.b.nw{background:var(--blue);box-shadow:none}
84
84
  .pm-dline{position:relative;padding:0 40px 0 8px}
85
- .pm-dline .axis{position:relative;height:20px;font-size:13px;color:var(--muted)}
85
+ .pm-dline .axis{position:relative;height:20px;font-size:var(--type-small);color:var(--muted)}
86
86
  .pm-dline .axis .tk{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
87
87
  .pm-dline .line{position:relative;height:calc(24px + var(--rows,1) * 76px);background:linear-gradient(var(--line),var(--line)) 0 12px/100% 1px no-repeat}
88
88
  .pm-dline .line>.pm-now{bottom:auto;height:34px;top:-8px}
89
89
  .pm-dline .ms{position:absolute;top:0;width:0}
90
90
  .pm-dline .ms>.pm-dia{top:12px}
91
- .pm-dline .ms .lb{position:absolute;top:calc(28px + var(--row) * 76px);left:-6px;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:max-content;max-width:200px;height:68px;font-size:13px;line-height:20px;overflow:hidden}
91
+ .pm-dline .ms .lb{position:absolute;top:calc(28px + var(--row) * 76px);left:-6px;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:max-content;max-width:200px;height:68px;font-size:var(--type-small);line-height:20px;overflow:hidden}
92
92
  .pm-dline .ms.flip .lb{left:auto;right:-6px;align-items:flex-end;text-align:right}
93
93
  .pm-dline .ms .lb .hd{display:flex;align-items:center;gap:6px;height:22px}
94
94
  .pm-dline .ms .lb .pm-badge{height:20px;padding:0 6px;font-size:12px}
95
95
  .pm-dline .ms .lb b,.pm-dline .ms .lb .pm-meta{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
96
- .pm-dline .ms .lb b{font-size:15px;line-height:24px;font-weight:600}
96
+ .pm-dline .ms .lb b{font-size:var(--type-body);line-height:24px;font-weight:600}
97
97
  .pm-dline .ms .lb .code{font-family:var(--font-mono);color:var(--muted)}
98
98
  .pm-dline .ms.low::before{content:"";position:absolute;left:0;top:20px;height:calc(var(--row) * 76px + 6px);border-left:1px dashed var(--line)}
99
99
  .pm-dline .ms.late .lb .code{color:var(--alert)}
100
- .pm-more{position:absolute;top:20px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}
100
+ .pm-more{position:absolute;top:20px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;font:inherit;font-size:var(--type-small);color:var(--muted);cursor:pointer}
101
101
  .pm-more.r{right:0}.pm-more.l{left:-8px}
102
102
  .pm-more b{min-width:24px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--ink);color:var(--card);font-size:11px;line-height:20px;font-weight:600}
103
103
  .pm-more:focus-visible{outline:none;box-shadow:var(--glow);border-radius:var(--radius-sm)}
@@ -109,35 +109,35 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
109
109
  .pm-block.list{padding:0;overflow:hidden;gap:0}
110
110
  .pm-block.list .head{padding:14px 16px}
111
111
  .pm-block.list .rows{padding:0 8px 8px}
112
- .pm-table{width:100%;border-collapse:collapse;font-size:13px}
112
+ .pm-table{width:100%;border-collapse:collapse;font-size:var(--type-small)}
113
113
  .pm-table th{text-align:left;font-weight:600;color:var(--muted);padding:8px;border-bottom:1px solid var(--line)}
114
114
  .pm-table td{padding:8px;border-bottom:1px solid var(--line);vertical-align:middle}
115
115
  .pm-table tr:hover td{background:var(--well)}
116
- .pm-num{font-size:26px;line-height:32px;font-weight:600;font-variant-numeric:tabular-nums}
116
+ .pm-num{font-size:var(--type-title);line-height:32px;font-weight:600;font-variant-numeric:tabular-nums}
117
117
  .pm-bar{display:flex;height:10px;border-radius:var(--radius-pill);overflow:hidden;background:var(--well)}
118
- .pm-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:13px}
118
+ .pm-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:var(--type-small)}
119
119
  .pm-cal span{height:32px;line-height:32px;border-radius:var(--radius-sm)}
120
120
  .pm-cal .today{box-shadow:var(--glow);font-weight:600}
121
121
  .pm-cal .has::after{content:"";display:block;width:4px;height:4px;margin:-8px auto 0;border-radius:2px;background:var(--blue)}
122
- .pm-msg{align-self:flex-end;max-width:75%;background:var(--well);border-radius:var(--radius-md);padding:8px 12px;font-size:13px}
123
- .pm-said{display:flex;gap:8px;font-size:13px;line-height:20px;max-width:85%}
124
- .pm-doc{font-size:15px;line-height:26px;max-width:62ch}
125
- .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
126
- .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
122
+ .pm-msg{align-self:flex-end;max-width:75%;background:var(--well);border-radius:var(--radius-md);padding:8px 12px;font-size:var(--type-small)}
123
+ .pm-said{display:flex;gap:8px;font-size:var(--type-small);line-height:20px;max-width:85%}
124
+ .pm-doc{font-size:var(--type-body);line-height:26px;max-width:62ch}
125
+ .pm-doc h3{font-size:var(--type-heading);line-height:24px;margin:0 0 4px}
126
+ .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:var(--type-small)}
127
127
  .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
128
128
  .pm-rail{width:72px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
129
- .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
129
+ .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:var(--type-small);font-weight:600}
130
130
  .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
131
131
  .pm-rail.roomy{width:92px}.pm-rail.roomy a{width:76px;height:64px}
132
132
  .pm-rail .pm-count{position:absolute;top:3px;right:5px}
133
- .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
133
+ .pm-path{display:flex;align-items:center;gap:6px;font-size:var(--type-small)}
134
134
  .pm-path a{color:var(--blue)}
135
135
  .pm-motion-enter{animation:pmEnter var(--duration-enter) var(--ease-out) both}
136
136
  @keyframes pmEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
137
137
  @media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
138
138
  a{color:var(--blue)}
139
139
  /* Interaction: tooltip, chart */
140
- .pm-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--card);font-size:13px;line-height:20px;padding:6px 10px;border-radius:var(--radius-md);box-shadow:var(--lift);white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity var(--duration-quick) var(--ease-out),transform var(--duration-quick) var(--ease-out);z-index:5}
140
+ .pm-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--card);font-size:var(--type-small);line-height:20px;padding:6px 10px;border-radius:var(--radius-md);box-shadow:var(--lift);white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity var(--duration-quick) var(--ease-out),transform var(--duration-quick) var(--ease-out);z-index:5}
141
141
  .pm-tip.on{opacity:1;transform:none}
142
142
  .pm-tip b{font-weight:600}
143
143
  .pm-chart{position:relative;outline:none;border-radius:var(--radius-md)}
@@ -150,13 +150,13 @@ a{color:var(--blue)}
150
150
  .pm-chart .series{transition:opacity var(--duration-enter) var(--ease-drift)}
151
151
  .pm-chart .series.off{opacity:0}
152
152
  .pm-chart path.line{transition:d var(--duration-enter) var(--ease-drift)}
153
- .pm-leg{display:flex;gap:12px;font-size:13px}
153
+ .pm-leg{display:flex;gap:12px;font-size:var(--type-small)}
154
154
  .pm-leg button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:2px 6px;border-radius:var(--radius-sm);color:var(--ink)}
155
155
  .pm-leg button:hover{background:var(--well)}
156
156
  .pm-leg button:focus-visible{box-shadow:var(--glow)}
157
157
  .pm-leg button[aria-pressed="false"]{color:var(--muted);text-decoration:line-through}
158
158
  .pm-leg i{width:10px;height:3px;border-radius:2px;display:inline-block}
159
- .pm-pick{margin-top:8px;font-size:13px;color:var(--muted);min-height:20px}
159
+ .pm-pick{margin-top:8px;font-size:var(--type-small);color:var(--muted);min-height:20px}
160
160
  .pm-pick a{color:var(--blue);font-weight:600}
161
161
  .pm-bar span{cursor:pointer;transition:filter var(--duration-quick)}
162
162
  .pm-bar span:hover{filter:brightness(1.12)}
@@ -2,8 +2,9 @@
2
2
  :root, [data-theme="light"] {--raise:0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14);--lift:0 10px 28px -10px rgba(42,46,53,.28);--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
3
3
  [data-theme="dark"] {--raise:0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08);--lift:0 10px 28px -10px rgba(0,0,0,.6);--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
4
4
  :root {--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--space-64:64px;--radius-sm:6px;--radius-md:10px;--radius-card:16px;--radius-panel:24px;--radius-pill:999px}
5
- .title{font-family:var(--font-sans);font-size:26px;line-height:32px;font-weight:600}
6
- .heading{font-family:var(--font-sans);font-size:18px;line-height:24px;font-weight:600}
7
- .body{font-family:var(--font-sans);font-size:15px;line-height:24px;font-weight:400}
8
- .small{font-family:var(--font-sans);font-size:13px;line-height:20px;font-weight:400}
9
- .code{font-family:var(--font-mono);font-size:13px;line-height:20px;font-weight:400}
5
+ :root:where(*) {--type-title:26px;--leading-title:32px;--weight-title:600;--type-heading:18px;--leading-heading:24px;--weight-heading:600;--type-body:15px;--leading-body:24px;--weight-body:400;--type-small:13px;--leading-small:20px;--weight-small:400;--type-code:13px;--leading-code:20px;--weight-code:400}
6
+ .title{font-family:var(--font-sans);font-size:var(--type-title);line-height:var(--leading-title);font-weight:var(--weight-title)}
7
+ .heading{font-family:var(--font-sans);font-size:var(--type-heading);line-height:var(--leading-heading);font-weight:var(--weight-heading)}
8
+ .body{font-family:var(--font-sans);font-size:var(--type-body);line-height:var(--leading-body);font-weight:var(--weight-body)}
9
+ .small{font-family:var(--font-sans);font-size:var(--type-small);line-height:var(--leading-small);font-weight:var(--weight-small)}
10
+ .code{font-family:var(--font-mono);font-size:var(--type-code);line-height:var(--leading-code);font-weight:var(--weight-code)}
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Eval calibration log"
4
4
  description: "Append-only record of every PM override of an evaluator verdict."
5
- generated: {by: process:create-pmos, at: "2026-11-22T09:50:09Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T09:56:19Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Health budgets"
4
4
  description: "Closed registry of health-budget anchors (D59), edited only by the PM."
5
- generated: {by: process:create-pmos, at: "2026-11-22T09:50:09Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T09:56:19Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-11-22T09:50:09Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T09:56:19Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
  /* briefing-premium-doc-edit-test.js — editing a document and its proposals (initiative briefing-premium-doc-edit; planning/prd/briefing-premium-doc-edit-prd.md E1 to E8),
4
4
  * re-pointed to the Agreed design (initiative premium-agreed-design): the document opens as a page in the Home Viewer (pm/premium-vw-doc.js) from the
5
- * initiative's Files row. Edit is the page's Markdown mode and save row; the Edit log and the Proposals list are a plain section under the page marked
6
- * "Waiting for design" until the design draws them. The page-level Keep and Undo all are in premium-vw-doc-test.js.
5
+ * initiative's Files row. Edit is the page's Markdown mode and save row; the Edit log and the Proposals list are a plain section under the page, with no
6
+ * marker (remove-design-placeholders). The page-level Keep and Undo all are in premium-vw-doc-test.js.
7
7
  * Serves the real page from the real server. The initiative model and the /api/doc-sheet routes are answered by a small stateful stand-in, so each press can be
8
8
  * read off the request the page sent. The routes' own behaviour (the file, the log, stale, 403) is in briefing-premium-doc-edit.test.js, on a scratch repository.
9
9
  * E1 tabs · E2 edit · E3 ask · E4 proposals · E5 after a write · E6 held · E7 honesty · E8 fidelity and floors */
@@ -96,7 +96,7 @@ const prop = (o) => Object.assign({ id: 'prop-a', state: 'proposed', prompt: 'ad
96
96
  ok('0 the document opens as a page in the Viewer', !!(await p.evaluate(() => document.querySelector('#czViewer:not([hidden]) .obody.vw[data-vw="doc:planning/prd/self-serve-v2-prd.md"]'))));
97
97
  /* E1 the page's modes and the section under it */
98
98
  ok('E1 the page offers Page, Edit and Markdown', await p.evaluate((v) => [...document.querySelectorAll(v + ' .vwseg')].map((b) => b.textContent.trim()).join('|') === 'Page|Edit|Markdown', V));
99
- ok('E1 under the page are Edit log and Proposals with the open count, marked Waiting for design', await p.evaluate((v) => { const s = document.querySelector(v + ' .vwside'); return !!s && /Waiting for design/.test(s.querySelector('.hx-wait').textContent) && [...s.querySelectorAll('[data-vd^="side:"]')].map((b) => b.textContent.replace(/\s+/g, ' ').trim()).join('|') === 'Edit log|Proposals 1'; }, V));
99
+ ok('E1 under the page are Edit log and Proposals with the open count, with no Waiting for design marker', await p.evaluate((v) => { const s = document.querySelector(v + ' .vwside'); return !!s && !/Waiting for design/.test(s.textContent) && [...s.querySelectorAll('[data-vd^="side:"]')].map((b) => b.textContent.replace(/\s+/g, ' ').trim()).join('|') === 'Edit log|Proposals 1'; }, V));
100
100
  ok('E7 the page never says it is read-only', !/Read-only/i.test(await txt(p, V)));
101
101
 
102
102
  /* E2 edit (the file as Markdown; editing in place is in premium-vw-doc-test.js) */
@@ -179,8 +179,8 @@ const prop = (o) => Object.assign({ id: 'prop-a', state: 'proposed', prompt: 'ad
179
179
  for (const t of ['log', 'props']) {
180
180
  await side(R.page, t);
181
181
  if (t === 'props') await R.page.click(`${V} [data-vd="prej:prop-a"]`);
182
- const f = await R.page.evaluate(([v, phone]) => { const bad = []; const root = document.querySelector(v + ' .vwside'); for (const e of root.querySelectorAll('button,input,textarea')) { const r = e.getBoundingClientRect(); if (r.width && r.height && r.height < (phone ? 44 : 32)) bad.push(e.textContent.trim() || e.id); } return { sx: document.documentElement.scrollWidth - innerWidth, bad, out: [...root.querySelectorAll('.vwprop,input,button')].filter((e) => e.getBoundingClientRect().right > innerWidth + 1).length, wait: getComputedStyle(root.querySelector('.hx-wait')).borderRadius }; }, [V, w < 761]);
183
- ok(`E8 ${t} at ${w} px ${theme}: no sideways scroll, no small target, nothing past the edge, the cozy marker`, f.sx <= 0 && f.bad.length === 0 && f.out === 0 && f.wait !== '0px', JSON.stringify(f));
182
+ const f = await R.page.evaluate(([v, phone]) => { const bad = []; const root = document.querySelector(v + ' .vwside'); for (const e of root.querySelectorAll('button,input,textarea')) { const r = e.getBoundingClientRect(); if (r.width && r.height && r.height < (phone ? 44 : 32)) bad.push(e.textContent.trim() || e.id); } return { sx: document.documentElement.scrollWidth - innerWidth, bad, out: [...root.querySelectorAll('.vwprop,input,button')].filter((e) => e.getBoundingClientRect().right > innerWidth + 1).length, wait: !!root.querySelector('.hx-wait') }; }, [V, w < 761]);
183
+ ok(`E8 ${t} at ${w} px ${theme}: no sideways scroll, no small target, nothing past the edge, no marker`, f.sx <= 0 && f.bad.length === 0 && f.out === 0 && !f.wait, JSON.stringify(f));
184
184
  }
185
185
  await R.ctx.close();
186
186
  }
@@ -653,7 +653,8 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
653
653
  const f = await R.page.evaluate(() => { const cs = (s) => getComputedStyle(document.querySelector(s)); const main = cs('main.ins'), tab = cs('#viewChip'), strip = cs('#insHero'), row = document.querySelector('#goalTbl .ins-row').getBoundingClientRect();
654
654
  return { font: cs('body').fontFamily, radius: main.borderTopLeftRadius, bg: main.backgroundColor, tabBg: tab.backgroundColor, tabR: tab.borderTopLeftRadius, tabW: tab.fontWeight, stripR: strip.borderTopLeftRadius, stripBg: strip.backgroundColor, rowH: Math.round(row.height), over: document.documentElement.scrollWidth > innerWidth, fab: document.querySelector('#czFab').getBoundingClientRect().width, rail: document.querySelector('#czMenu.ev-rail') ? Math.round(document.querySelector('#czMenu.ev-rail').getBoundingClientRect().width) : 0, fabX: Math.round(document.querySelector('#czFab').getBoundingClientRect().left) }; });
655
655
  const phone = w < 720;
656
- ok(`I11 the page wears the Agreed design at ${w} px: Plus Jakarta Sans, the white panel, the pill View chip, the finding as a white Block (board IntelligenceDS), the 44 px ⋯ at the top right on a phone (phone design, Ph2_menu), the 72 px rail of places on a desktop (slice 1)`, /^"?Plus Jakarta Sans/.test(f.font) && f.radius === (phone ? '0px' : '28px') && (phone || f.bg === 'rgb(255, 255, 255)') && f.tabBg === 'rgb(244, 243, 240)' && f.tabR === '999px' && +f.tabW >= 600 && (phone || (f.stripR === '16px' && f.stripBg === 'rgb(255, 255, 255)' && f.rowH >= 60)) && !f.over && (phone ? f.fab === 44 && f.fabX > 300 : f.rail === 72), JSON.stringify(f));
656
+ // the View chip's well is Komorebi's --well (#F4F2EE) since the page loads ds-bridge.css (token-first-design-system)
657
+ ok(`I11 the page wears the Agreed design at ${w} px: Plus Jakarta Sans, the white panel, the pill View chip, the finding as a white Block (board IntelligenceDS), the 44 px ⋯ at the top right on a phone (phone design, Ph2_menu), the 72 px rail of places on a desktop (slice 1)`, /^"?Plus Jakarta Sans/.test(f.font) && f.radius === (phone ? '0px' : '28px') && (phone || f.bg === 'rgb(255, 255, 255)') && f.tabBg === 'rgb(244, 242, 238)' && f.tabR === '999px' && +f.tabW >= 600 && (phone || (f.stripR === '16px' && f.stripBg === 'rgb(255, 255, 255)' && f.rowH >= 60)) && !f.over && (phone ? f.fab === 44 && f.fabX > 300 : f.rail === 72), JSON.stringify(f));
657
658
  if (!phone) {
658
659
  await toTrends(R.page);
659
660
  const t = await R.page.evaluate(() => { const tiles = [...document.querySelectorAll('#bmBody [data-tile]')].map((x) => x.getBoundingClientRect()); return { n: tiles.length, tileH: tiles.length ? Math.round(tiles[0].height) : 0, over: document.documentElement.scrollWidth > innerWidth }; });
@@ -1,20 +1,26 @@
1
1
  [
2
2
  {
3
- "v": "0.695.0",
4
- "at": "2026-11-22T09:50:12.777Z",
3
+ "v": "0.697.0",
4
+ "at": "2026-11-22T09:56:23.025Z",
5
5
  "f": 4,
6
6
  "prs": [
7
- {
8
- "n": 1514,
9
- "t": "Discovery in three questions on a new initiative (A459)",
10
- "s": "Discovery in three questions on a new initiative (A459)",
11
- "k": "new"
12
- },
13
7
  {
14
8
  "n": 1516,
15
9
  "t": "Your move's question list derives the rows once, not once per initiative",
16
10
  "s": "Your move's question list derives the rows once, not once per initiative",
17
11
  "k": "fix"
12
+ },
13
+ {
14
+ "n": 1513,
15
+ "t": "No \"Waiting for design\" tag or card reaches a user (A460)",
16
+ "s": "No \"Waiting for design\" tag or card reaches a user (A460)",
17
+ "k": "new"
18
+ },
19
+ {
20
+ "n": 1498,
21
+ "t": "One Komorebi token change reaches every page (token-first step 1)",
22
+ "s": "One Komorebi token change reaches every page (token-first step 1)",
23
+ "k": "new"
18
24
  }
19
25
  ]
20
26
  },
@@ -1,11 +1,11 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600&family=IBM+Plex+Mono&display=swap");
2
- body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-sans);font-size:15px;line-height:1.6}
2
+ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-sans);font-size:var(--type-body);line-height:1.6}
3
3
  .pm *{box-sizing:border-box}
4
4
  .pm{padding:16px;display:flex;flex-direction:column;gap:12px}
5
5
  .pm-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
6
- .pm-meta{font-size:13px;line-height:20px;color:var(--muted)}
7
- .pm-h{margin:0;font-size:18px;line-height:24px;font-weight:600}
8
- .pm-h-sm{margin:0;font-size:15px;line-height:24px;font-weight:600}
6
+ .pm-meta{font-size:var(--type-small);line-height:20px;color:var(--muted)}
7
+ .pm-h{margin:0;font-size:var(--type-heading);line-height:24px;font-weight:600}
8
+ .pm-h-sm{margin:0;font-size:var(--type-body);line-height:24px;font-weight:600}
9
9
  .pm-ic{width:16px;height:16px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
10
10
  /* Elements */
11
11
  .pm-btn{width:32px;height:32px;border-radius:var(--radius-sm);border:0;background:none;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background var(--duration-quick) var(--ease-out)}
@@ -17,40 +17,40 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
17
17
  .pm-btn[disabled]{opacity:.4;cursor:default}
18
18
  .pm-input{height:40px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);padding:0 12px;font:inherit;color:var(--ink);width:100%}
19
19
  .pm-input:focus{outline:none;box-shadow:var(--glow)}
20
- .pm-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;white-space:nowrap;background:var(--well);color:var(--muted)}
20
+ .pm-badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-sm);font-size:var(--type-small);font-weight:600;white-space:nowrap;background:var(--well);color:var(--muted)}
21
21
  .pm-badge.alert{background:var(--alert-tint);color:var(--alert)}
22
22
  .pm-badge.blue{background:var(--blue-tint);color:var(--blue)}
23
- .pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--blue);color:var(--on-blue);font-size:13px}
23
+ .pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--blue);color:var(--on-blue);font-size:var(--type-small)}
24
24
  .pm-switch{width:40px;height:24px;border-radius:var(--radius-pill);background:var(--line);border:0;position:relative;cursor:pointer;flex-shrink:0}
25
25
  .pm-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:var(--radius-pill);background:var(--card);box-shadow:var(--raise);transition:left var(--duration-quick) var(--ease-out)}
26
26
  .pm-switch[aria-checked="true"]{background:var(--leaf)}
27
27
  .pm-switch[aria-checked="true"]::after{left:19px}
28
28
  .pm-switch:focus-visible{outline:none;box-shadow:var(--glow)}
29
- .pm-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--well);font-size:13px}
30
- .pm-kbd{font-family:var(--font-mono);font-size:13px;min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--well);display:inline-flex;align-items:center;justify-content:center}
29
+ .pm-chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:var(--radius-pill);background:var(--well);font-size:var(--type-small)}
30
+ .pm-kbd{font-family:var(--font-mono);font-size:var(--type-small);min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--well);display:inline-flex;align-items:center;justify-content:center}
31
31
  /* Components */
32
32
  .pm-li{min-height:56px;border-radius:var(--radius-md);display:flex;align-items:center;gap:12px;padding:6px 8px 6px 14px}
33
33
  .pm-li:hover{background:var(--well)}
34
34
  .pm-li .t{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
35
- .pm-li .w{font-size:13px;line-height:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
35
+ .pm-li .w{font-size:var(--type-small);line-height:20px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
36
36
  .pm-li .txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.4}
37
37
  .pm-li .acts{display:none;gap:2px}
38
38
  .pm-li:hover .acts,.pm-li:focus-within .acts{display:flex}
39
39
  .pm-li.now{background:var(--leaf-tint);box-shadow:inset 0 0 0 2px var(--leaf)}
40
40
  .pm-li.nest{padding-left:38px;min-height:44px}
41
41
  .pm-tabs{display:inline-flex;background:var(--well);border-radius:var(--radius-md);padding:3px;gap:2px}
42
- .pm-tab{height:30px;padding:0 10px;border-radius:var(--radius-sm);border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer}
42
+ .pm-tab{height:30px;padding:0 10px;border-radius:var(--radius-sm);border:0;background:none;font:inherit;font-size:var(--type-small);font-weight:600;color:var(--muted);cursor:pointer}
43
43
  .pm-tab[aria-selected="true"]{background:var(--card);color:var(--ink);box-shadow:var(--raise)}
44
- .pm-field{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:13px;line-height:20px}
44
+ .pm-field{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:var(--type-small);line-height:20px}
45
45
  .pm-field dt{color:var(--muted)}.pm-field dd{margin:0}
46
- .pm-toast{display:inline-flex;flex-direction:column;background:var(--ink);color:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);font-size:13px;overflow:hidden}
46
+ .pm-toast{display:inline-flex;flex-direction:column;background:var(--ink);color:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);font-size:var(--type-small);overflow:hidden}
47
47
  .pm-toast .in{display:inline-flex;align-items:center;gap:10px;padding:4px 4px 4px 14px}
48
48
  .pm-toast .pm-btn{color:var(--card)}
49
49
  .pm-toast .timer{height:2px;background:var(--leaf)}
50
50
  .pm-menu{background:var(--card);border-radius:var(--radius-md);box-shadow:var(--lift);padding:4px;min-width:200px;display:flex;flex-direction:column}
51
- .pm-menu button{height:36px;border:0;background:none;text-align:left;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:13px;color:var(--ink);display:flex;align-items:center;gap:8px;cursor:pointer}
51
+ .pm-menu button{height:36px;border:0;background:none;text-align:left;padding:0 10px;border-radius:var(--radius-sm);font:inherit;font-size:var(--type-small);color:var(--ink);display:flex;align-items:center;gap:8px;cursor:pointer}
52
52
  .pm-menu button:hover{background:var(--well)}
53
- .pm-sug{display:flex;align-items:center;gap:10px;background:var(--blue-tint);border-radius:var(--radius-md);padding:4px 4px 4px 12px;font-size:13px}
53
+ .pm-sug{display:flex;align-items:center;gap:10px;background:var(--blue-tint);border-radius:var(--radius-md);padding:4px 4px 4px 12px;font-size:var(--type-small)}
54
54
  .pm-sug .say{flex:1}
55
55
  .pm-star{color:var(--blue)}
56
56
  .pm-sug.x{flex-direction:column;align-items:stretch;gap:10px;padding:14px 16px}
@@ -63,11 +63,11 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
63
63
  .pm-sug.x dd li{margin:0 0 2px}
64
64
  .pm-sug.x dd.src{color:var(--muted)}
65
65
  .pm-sug.x .ans{display:flex;gap:8px;justify-content:flex-end}
66
- .pm-ev{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--raise);padding:6px 10px;display:flex;flex-direction:column;line-height:1.35;font-size:13px}
66
+ .pm-ev{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--raise);padding:6px 10px;display:flex;flex-direction:column;line-height:1.35;font-size:var(--type-small)}
67
67
  .pm-ev b{font-weight:600}
68
68
  .pm-ev.over{background:none;box-shadow:none;border-style:dashed;color:var(--muted)}
69
- .pm-fold{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-top:1px dashed var(--line);background:none;width:100%;font:inherit;font-size:13px;font-weight:600;color:var(--muted);text-align:left;cursor:pointer}
70
- .pm-group{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;background:var(--well);color:var(--muted)}
69
+ .pm-fold{height:44px;display:flex;align-items:center;gap:8px;padding:0 14px;border:0;border-top:1px dashed var(--line);background:none;width:100%;font:inherit;font-size:var(--type-small);font-weight:600;color:var(--muted);text-align:left;cursor:pointer}
70
+ .pm-group{height:32px;display:flex;align-items:center;gap:8px;padding:0 14px;font-size:var(--type-small);font-weight:600;background:var(--well);color:var(--muted)}
71
71
  .pm-group.now{background:var(--leaf-tint);color:var(--ink)}
72
72
  .pm-dia{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;padding:0;transform:rotate(45deg);background:var(--card);border:2px solid var(--ink);border-radius:2px;box-sizing:border-box;cursor:pointer;z-index:2}
73
73
  .pm-dia.late{border-color:var(--alert)}
@@ -76,28 +76,28 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
76
76
  .pm-dia.n>b{transform:rotate(-45deg);color:var(--card);font-size:11px;line-height:1;font-weight:600}
77
77
  .pm-dia:focus-visible{outline:none;box-shadow:var(--glow)}
78
78
  .pm-now{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--alert);z-index:1}
79
- .pm-now>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:13px;font-style:normal;font-weight:600;color:var(--alert);white-space:nowrap}
79
+ .pm-now>span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:var(--type-small);font-style:normal;font-weight:600;color:var(--alert);white-space:nowrap}
80
80
  .pm-gt{position:relative;height:24px}
81
81
  .pm-gt>.b{position:absolute;top:7px;height:10px;border-radius:var(--radius-pill);background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
82
82
  .pm-gt>.b.dn{background:var(--leaf);box-shadow:none}
83
83
  .pm-gt>.b.nw{background:var(--blue);box-shadow:none}
84
84
  .pm-dline{position:relative;padding:0 40px 0 8px}
85
- .pm-dline .axis{position:relative;height:20px;font-size:13px;color:var(--muted)}
85
+ .pm-dline .axis{position:relative;height:20px;font-size:var(--type-small);color:var(--muted)}
86
86
  .pm-dline .axis .tk{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
87
87
  .pm-dline .line{position:relative;height:calc(24px + var(--rows,1) * 76px);background:linear-gradient(var(--line),var(--line)) 0 12px/100% 1px no-repeat}
88
88
  .pm-dline .line>.pm-now{bottom:auto;height:34px;top:-8px}
89
89
  .pm-dline .ms{position:absolute;top:0;width:0}
90
90
  .pm-dline .ms>.pm-dia{top:12px}
91
- .pm-dline .ms .lb{position:absolute;top:calc(28px + var(--row) * 76px);left:-6px;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:max-content;max-width:200px;height:68px;font-size:13px;line-height:20px;overflow:hidden}
91
+ .pm-dline .ms .lb{position:absolute;top:calc(28px + var(--row) * 76px);left:-6px;display:flex;flex-direction:column;align-items:flex-start;gap:0;width:max-content;max-width:200px;height:68px;font-size:var(--type-small);line-height:20px;overflow:hidden}
92
92
  .pm-dline .ms.flip .lb{left:auto;right:-6px;align-items:flex-end;text-align:right}
93
93
  .pm-dline .ms .lb .hd{display:flex;align-items:center;gap:6px;height:22px}
94
94
  .pm-dline .ms .lb .pm-badge{height:20px;padding:0 6px;font-size:12px}
95
95
  .pm-dline .ms .lb b,.pm-dline .ms .lb .pm-meta{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
96
- .pm-dline .ms .lb b{font-size:15px;line-height:24px;font-weight:600}
96
+ .pm-dline .ms .lb b{font-size:var(--type-body);line-height:24px;font-weight:600}
97
97
  .pm-dline .ms .lb .code{font-family:var(--font-mono);color:var(--muted)}
98
98
  .pm-dline .ms.low::before{content:"";position:absolute;left:0;top:20px;height:calc(var(--row) * 76px + 6px);border-left:1px dashed var(--line)}
99
99
  .pm-dline .ms.late .lb .code{color:var(--alert)}
100
- .pm-more{position:absolute;top:20px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}
100
+ .pm-more{position:absolute;top:20px;display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;font:inherit;font-size:var(--type-small);color:var(--muted);cursor:pointer}
101
101
  .pm-more.r{right:0}.pm-more.l{left:-8px}
102
102
  .pm-more b{min-width:24px;height:20px;padding:0 6px;border-radius:var(--radius-pill);background:var(--ink);color:var(--card);font-size:11px;line-height:20px;font-weight:600}
103
103
  .pm-more:focus-visible{outline:none;box-shadow:var(--glow);border-radius:var(--radius-sm)}
@@ -109,35 +109,35 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
109
109
  .pm-block.list{padding:0;overflow:hidden;gap:0}
110
110
  .pm-block.list .head{padding:14px 16px}
111
111
  .pm-block.list .rows{padding:0 8px 8px}
112
- .pm-table{width:100%;border-collapse:collapse;font-size:13px}
112
+ .pm-table{width:100%;border-collapse:collapse;font-size:var(--type-small)}
113
113
  .pm-table th{text-align:left;font-weight:600;color:var(--muted);padding:8px;border-bottom:1px solid var(--line)}
114
114
  .pm-table td{padding:8px;border-bottom:1px solid var(--line);vertical-align:middle}
115
115
  .pm-table tr:hover td{background:var(--well)}
116
- .pm-num{font-size:26px;line-height:32px;font-weight:600;font-variant-numeric:tabular-nums}
116
+ .pm-num{font-size:var(--type-title);line-height:32px;font-weight:600;font-variant-numeric:tabular-nums}
117
117
  .pm-bar{display:flex;height:10px;border-radius:var(--radius-pill);overflow:hidden;background:var(--well)}
118
- .pm-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:13px}
118
+ .pm-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:var(--type-small)}
119
119
  .pm-cal span{height:32px;line-height:32px;border-radius:var(--radius-sm)}
120
120
  .pm-cal .today{box-shadow:var(--glow);font-weight:600}
121
121
  .pm-cal .has::after{content:"";display:block;width:4px;height:4px;margin:-8px auto 0;border-radius:2px;background:var(--blue)}
122
- .pm-msg{align-self:flex-end;max-width:75%;background:var(--well);border-radius:var(--radius-md);padding:8px 12px;font-size:13px}
123
- .pm-said{display:flex;gap:8px;font-size:13px;line-height:20px;max-width:85%}
124
- .pm-doc{font-size:15px;line-height:26px;max-width:62ch}
125
- .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
126
- .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
122
+ .pm-msg{align-self:flex-end;max-width:75%;background:var(--well);border-radius:var(--radius-md);padding:8px 12px;font-size:var(--type-small)}
123
+ .pm-said{display:flex;gap:8px;font-size:var(--type-small);line-height:20px;max-width:85%}
124
+ .pm-doc{font-size:var(--type-body);line-height:26px;max-width:62ch}
125
+ .pm-doc h3{font-size:var(--type-heading);line-height:24px;margin:0 0 4px}
126
+ .pm-stage{background:var(--well);border-radius:var(--radius-md);aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:var(--type-small)}
127
127
  .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
128
128
  .pm-rail{width:72px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
129
- .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
129
+ .pm-rail a{position:relative;width:60px;height:56px;border-radius:var(--radius-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--ink);text-decoration:none;font-size:var(--type-small);font-weight:600}
130
130
  .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
131
131
  .pm-rail.roomy{width:92px}.pm-rail.roomy a{width:76px;height:64px}
132
132
  .pm-rail .pm-count{position:absolute;top:3px;right:5px}
133
- .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
133
+ .pm-path{display:flex;align-items:center;gap:6px;font-size:var(--type-small)}
134
134
  .pm-path a{color:var(--blue)}
135
135
  .pm-motion-enter{animation:pmEnter var(--duration-enter) var(--ease-out) both}
136
136
  @keyframes pmEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
137
137
  @media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
138
138
  a{color:var(--blue)}
139
139
  /* Interaction: tooltip, chart */
140
- .pm-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--card);font-size:13px;line-height:20px;padding:6px 10px;border-radius:var(--radius-md);box-shadow:var(--lift);white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity var(--duration-quick) var(--ease-out),transform var(--duration-quick) var(--ease-out);z-index:5}
140
+ .pm-tip{position:absolute;pointer-events:none;background:var(--ink);color:var(--card);font-size:var(--type-small);line-height:20px;padding:6px 10px;border-radius:var(--radius-md);box-shadow:var(--lift);white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity var(--duration-quick) var(--ease-out),transform var(--duration-quick) var(--ease-out);z-index:5}
141
141
  .pm-tip.on{opacity:1;transform:none}
142
142
  .pm-tip b{font-weight:600}
143
143
  .pm-chart{position:relative;outline:none;border-radius:var(--radius-md)}
@@ -150,13 +150,13 @@ a{color:var(--blue)}
150
150
  .pm-chart .series{transition:opacity var(--duration-enter) var(--ease-drift)}
151
151
  .pm-chart .series.off{opacity:0}
152
152
  .pm-chart path.line{transition:d var(--duration-enter) var(--ease-drift)}
153
- .pm-leg{display:flex;gap:12px;font-size:13px}
153
+ .pm-leg{display:flex;gap:12px;font-size:var(--type-small)}
154
154
  .pm-leg button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:2px 6px;border-radius:var(--radius-sm);color:var(--ink)}
155
155
  .pm-leg button:hover{background:var(--well)}
156
156
  .pm-leg button:focus-visible{box-shadow:var(--glow)}
157
157
  .pm-leg button[aria-pressed="false"]{color:var(--muted);text-decoration:line-through}
158
158
  .pm-leg i{width:10px;height:3px;border-radius:2px;display:inline-block}
159
- .pm-pick{margin-top:8px;font-size:13px;color:var(--muted);min-height:20px}
159
+ .pm-pick{margin-top:8px;font-size:var(--type-small);color:var(--muted);min-height:20px}
160
160
  .pm-pick a{color:var(--blue);font-weight:600}
161
161
  .pm-bar span{cursor:pointer;transition:filter var(--duration-quick)}
162
162
  .pm-bar span:hover{filter:brightness(1.12)}
@@ -2,8 +2,9 @@
2
2
  :root, [data-theme="light"] {--raise:0 1px 2px rgba(42,46,53,.08), 0 4px 14px -6px rgba(70,80,50,.14);--lift:0 10px 28px -10px rgba(42,46,53,.28);--glow:0 0 0 2px #5F7A45, 0 0 0 5px rgba(95,122,69,.10)}
3
3
  [data-theme="dark"] {--raise:0 1px 2px rgba(0,0,0,.4), 0 4px 14px -6px rgba(169,196,140,.08);--lift:0 10px 28px -10px rgba(0,0,0,.6);--glow:0 0 0 2px #A9C48C, 0 0 0 5px rgba(169,196,140,.12)}
4
4
  :root {--space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--space-64:64px;--radius-sm:6px;--radius-md:10px;--radius-card:16px;--radius-panel:24px;--radius-pill:999px}
5
- .title{font-family:var(--font-sans);font-size:26px;line-height:32px;font-weight:600}
6
- .heading{font-family:var(--font-sans);font-size:18px;line-height:24px;font-weight:600}
7
- .body{font-family:var(--font-sans);font-size:15px;line-height:24px;font-weight:400}
8
- .small{font-family:var(--font-sans);font-size:13px;line-height:20px;font-weight:400}
9
- .code{font-family:var(--font-mono);font-size:13px;line-height:20px;font-weight:400}
5
+ :root:where(*) {--type-title:26px;--leading-title:32px;--weight-title:600;--type-heading:18px;--leading-heading:24px;--weight-heading:600;--type-body:15px;--leading-body:24px;--weight-body:400;--type-small:13px;--leading-small:20px;--weight-small:400;--type-code:13px;--leading-code:20px;--weight-code:400}
6
+ .title{font-family:var(--font-sans);font-size:var(--type-title);line-height:var(--leading-title);font-weight:var(--weight-title)}
7
+ .heading{font-family:var(--font-sans);font-size:var(--type-heading);line-height:var(--leading-heading);font-weight:var(--weight-heading)}
8
+ .body{font-family:var(--font-sans);font-size:var(--type-body);line-height:var(--leading-body);font-weight:var(--weight-body)}
9
+ .small{font-family:var(--font-sans);font-size:var(--type-small);line-height:var(--leading-small);font-weight:var(--weight-small)}
10
+ .code{font-family:var(--font-mono);font-size:var(--type-code);line-height:var(--leading-code);font-weight:var(--weight-code)}