create-pmos 0.639.0 → 0.641.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 (34) hide show
  1. package/package.json +15 -9
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/design-system/ui/components/Navigation/README.md +3 -1
  4. package/payload/design-system/ui/components/TodayPage/preview.html +1 -1
  5. package/payload/design-system/ui/components/bundle.css +3 -2
  6. package/payload/planning/evals/eval-calibration.md +1 -1
  7. package/payload/planning/okrs/health-budgets.md +1 -1
  8. package/payload/state/discoveries.md +1 -1
  9. package/workspace/changelog.json +14 -8
  10. package/workspace/design-system/ui/components/Navigation/README.md +3 -1
  11. package/workspace/design-system/ui/components/TodayPage/preview.html +1 -1
  12. package/workspace/design-system/ui/components/bundle.css +3 -2
  13. package/workspace/guide/layout.md +5 -2
  14. package/workspace/package-lock.json +2 -2
  15. package/workspace/package.json +1 -1
  16. package/workspace/public/capture.html +8 -9
  17. package/workspace/public/pm/buddy-core.js +3 -3
  18. package/workspace/public/pm/c3-capture.css +21 -23
  19. package/workspace/public/pm/c3-capture.js +35 -24
  20. package/workspace/public/pm/cozy-aud.css +10 -6
  21. package/workspace/public/pm/cozy-buddy.css +33 -34
  22. package/workspace/public/pm/cozy-buddy.js +1 -1
  23. package/workspace/public/pm/cozy-ev.css +12 -20
  24. package/workspace/public/pm/cozy-nav.js +15 -8
  25. package/workspace/public/pm/cozy-rec-tab.css +43 -41
  26. package/workspace/public/pm/cozy-rec-tab.js +1 -0
  27. package/workspace/public/pm/cozy-welcome.css +145 -0
  28. package/workspace/public/pm/ds-bridge.css +19 -0
  29. package/workspace/public/pm/komorebi.css +4 -2
  30. package/workspace/public/pm/premium-welcome.js +6 -1
  31. package/workspace/public/premium-aud.html +9 -4
  32. package/workspace/public/premium-buddy.html +10 -5
  33. package/workspace/public/premium-rec.html +8 -3
  34. package/workspace/public/premium-welcome.html +14 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.639.0",
3
+ "version": "0.641.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.639.0",
38
- "at": "2026-11-20T01:31:43.688Z",
37
+ "v": "0.641.0",
38
+ "at": "2026-11-20T01:40:00.165Z",
39
39
  "f": 4,
40
40
  "prs": [
41
- {
42
- "n": 1422,
43
- "t": "Events and Routine are drawn from the PMOS design system",
44
- "s": "Events and Routine are drawn from the PMOS design system",
45
- "k": "new"
46
- },
47
41
  {
48
42
  "n": 1424,
49
43
  "t": "Goals and Intelligence on the PMOS design system",
50
44
  "s": "Goals and Intelligence on the PMOS design system",
51
45
  "k": "new"
46
+ },
47
+ {
48
+ "n": 1423,
49
+ "t": "Welcome, capture and the meeting pages on the PMOS design system",
50
+ "s": "Welcome, capture and the meeting pages on the PMOS design system",
51
+ "k": "new"
52
+ },
53
+ {
54
+ "n": 1420,
55
+ "t": "The rail of places is the design system's Navigation part",
56
+ "s": "The rail of places is the design system's Navigation part",
57
+ "k": "new"
52
58
  }
53
59
  ]
54
60
  },
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@496c7465
1
+ kernel-source: pmos@4bd093fc
2
2
  assembled: 2026-11-20
3
3
  mode: vendor
@@ -2,11 +2,13 @@
2
2
  type: Reference
3
3
  title: "PMOS design system: Navigation"
4
4
  description: "The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on"
5
- timestamp: 2026-11-19
5
+ timestamp: 2026-11-20
6
6
  ---
7
7
 
8
8
  The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on carries the leaf ring.
9
9
 
10
+ Sizes: the rail is 72 px wide with 60 × 56 links. This is the default on desktop, so two panels and a table still fit at 1440 px. Add `roomy` (`pm-rail roomy`, 92 px with 76 × 64 links) only where there is space to spare, such as a tablet held upright. Both sizes keep the 44 px touch target.
11
+
10
12
  ## Interaction
11
13
 
12
14
  - Click or keys (`g` then `t` for Today, `g` then `w` for Work…) move between pages; the current one carries the leaf ring.
@@ -3,6 +3,6 @@
3
3
  <html>
4
4
  <head><meta charset="utf-8"><title>preview</title></head>
5
5
  <body>
6
- <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS" style="width:72px"><a href="#" aria-current="page" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
6
+ <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS"><a href="#" aria-current="page"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
7
7
  </body>
8
8
  </html>
@@ -83,9 +83,10 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
83
83
  .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
84
84
  .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}
85
85
  .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
86
- .pm-rail{width:92px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
87
- .pm-rail a{position:relative;width:76px;height:64px;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}
86
+ .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}
87
+ .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}
88
88
  .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
89
+ .pm-rail.roomy{width:92px}.pm-rail.roomy a{width:76px;height:64px}
89
90
  .pm-rail .pm-count{position:absolute;top:3px;right:5px}
90
91
  .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
91
92
  .pm-path a{color:var(--blue)}
@@ -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-20T01:31:39Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:39:57Z"}
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-20T01:31:39Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:39:57Z"}
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-20T01:31:39Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:39:57Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,20 +1,26 @@
1
1
  [
2
2
  {
3
- "v": "0.639.0",
4
- "at": "2026-11-20T01:31:43.688Z",
3
+ "v": "0.641.0",
4
+ "at": "2026-11-20T01:40:00.165Z",
5
5
  "f": 4,
6
6
  "prs": [
7
- {
8
- "n": 1422,
9
- "t": "Events and Routine are drawn from the PMOS design system",
10
- "s": "Events and Routine are drawn from the PMOS design system",
11
- "k": "new"
12
- },
13
7
  {
14
8
  "n": 1424,
15
9
  "t": "Goals and Intelligence on the PMOS design system",
16
10
  "s": "Goals and Intelligence on the PMOS design system",
17
11
  "k": "new"
12
+ },
13
+ {
14
+ "n": 1423,
15
+ "t": "Welcome, capture and the meeting pages on the PMOS design system",
16
+ "s": "Welcome, capture and the meeting pages on the PMOS design system",
17
+ "k": "new"
18
+ },
19
+ {
20
+ "n": 1420,
21
+ "t": "The rail of places is the design system's Navigation part",
22
+ "s": "The rail of places is the design system's Navigation part",
23
+ "k": "new"
18
24
  }
19
25
  ]
20
26
  },
@@ -2,11 +2,13 @@
2
2
  type: Reference
3
3
  title: "PMOS design system: Navigation"
4
4
  description: "The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on"
5
- timestamp: 2026-11-19
5
+ timestamp: 2026-11-20
6
6
  ---
7
7
 
8
8
  The frame around every page: the rail (side menu; bottom bar on phones), the path at the top of the second panel, the sessions list in chat. The page you are on carries the leaf ring.
9
9
 
10
+ Sizes: the rail is 72 px wide with 60 × 56 links. This is the default on desktop, so two panels and a table still fit at 1440 px. Add `roomy` (`pm-rail roomy`, 92 px with 76 × 64 links) only where there is space to spare, such as a tablet held upright. Both sizes keep the 44 px touch target.
11
+
10
12
  ## Interaction
11
13
 
12
14
  - Click or keys (`g` then `t` for Today, `g` then `w` for Work…) move between pages; the current one carries the leaf ring.
@@ -3,6 +3,6 @@
3
3
  <html>
4
4
  <head><meta charset="utf-8"><title>preview</title></head>
5
5
  <body>
6
- <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS" style="width:72px"><a href="#" aria-current="page" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#" style="width:60px"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
6
+ <div class="pm"><div style="display:flex;gap:12px"><nav class="pm-rail" aria-label="PMOS"><a href="#" aria-current="page"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3v2M12 19v2M5 5l1.4 1.4M17.6 17.6L19 19M3 12h2M19 12h2M5 19l1.4-1.4M17.6 6.4L19 5M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>Today</a><a href="#"><svg class="pm-ic " width="18" height="18" viewBox="0 0 24 24" aria-hidden="true"><path d="M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01"/></svg>Work</a></nav><div style="flex:1;display:flex;flex-direction:column;gap:12px;min-width:0"><div><span class="pm-meta">Thursday 19 November · 21:46 · evening light</span><h2 style="margin:0;font-size:26px;line-height:32px">Good evening</h2></div><section class="pm-block"><h3 class="pm-h-sm pm-row"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg>Overview</h3><p style="margin:0">55 lines are open, 28 of them for today.</p><div class="pm-sug" role="group" aria-label="PMOS suggests"><svg class="pm-ic pm-star" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3l1.8 5.4L19 10.2l-5.2 1.8L12 17.4l-1.8-5.4L5 10.2l5.2-1.8z"/></svg><span class="say">Drop the 2 checks due more than 60 days ago</span><button type="button" class="pm-btn primary" aria-label="Yes" title="Yes"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button><button type="button" class="pm-btn outline" aria-label="No" title="No"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div></section><section class="pm-block list"><div class="head"><h3 class="pm-h">Today’s log</h3></div><div class="pm-group now">Do first</div><div class="rows"><div class="pm-li now"><span class="pm-meta" style="display:inline-flex"><svg class="pm-ic " width="16" height="16" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 5h14v14H5z"/></svg></span><span class="txt"><span class="t">Tech blueprint approved</span><span class="w">for Tender new CIAM</span></span><span class="pm-badge alert" title="Due 29 Oct">21 days late</span></div></div><button class="pm-fold">Later <span style="font-weight:400">27 can wait</span></button></section></div><div style="width:230px;display:flex;flex-direction:column;gap:12px"><section class="pm-block flat"><h3 class="pm-h">Today</h3><div class="pm-ev"><b>CRSM 2.0 Sprint Planning</b><span class="pm-meta">14:00</span></div></section></div></div></div>
7
7
  </body>
8
8
  </html>
@@ -83,9 +83,10 @@ body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-s
83
83
  .pm-doc h3{font-size:18px;line-height:24px;margin:0 0 4px}
84
84
  .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}
85
85
  .pm-set{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
86
- .pm-rail{width:92px;background:var(--well);border-radius:var(--radius-panel);padding:8px 0;display:flex;flex-direction:column;align-items:center;gap:4px}
87
- .pm-rail a{position:relative;width:76px;height:64px;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}
86
+ .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}
87
+ .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}
88
88
  .pm-rail a[aria-current="page"]{background:var(--card);box-shadow:var(--glow)}
89
+ .pm-rail.roomy{width:92px}.pm-rail.roomy a{width:76px;height:64px}
89
90
  .pm-rail .pm-count{position:absolute;top:3px;right:5px}
90
91
  .pm-path{display:flex;align-items:center;gap:6px;font-size:13px}
91
92
  .pm-path a{color:var(--blue)}
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Layout and first run: the places, the navigation, the Viewer, the launcher and Adler"
4
4
  description: "The places, the navigation at the left, the Viewer, the keys and the phone; the first run; when features appear; the PMOS app; and Adler."
5
- timestamp: 2026-11-19
5
+ timestamp: 2026-11-20
6
6
  ---
7
7
 
8
8
  # Layout and first run
@@ -23,13 +23,16 @@ Read `design-system/README.md` first. Each kit gets a copy in `pmos/design-syste
23
23
 
24
24
  The workspace has one stylesheet for each part: `pm/brand.css`, `pm/charts.css`, `pm/komorebi.css`, `pm/documents.css` and `pm/slides.css`. They are made from those files. A page moves to the UI system when it loads brand, charts and komorebi, in that order, and puts `pm-ds` on its root. Pages move one at a time, and a page that has not moved looks as it did.
25
25
 
26
+ These pages are on the UI system: the meeting buddy, the recording tab, the audience tab, the extension's capture popup and the Welcome page. On a moved page, `pm/ds-bridge.css` points the old colour names at the system's colours, so the parts that other modules draw there follow the system too. While a screen is shared, the recording tab's stage uses the Dark theme.
27
+
26
28
  ## The navigation
27
29
 
28
30
  On a computer, one thin panel at the left edge of every page holds the places. It is the same on every page. Press a place to go there.
29
31
 
30
32
  - At its foot: the chat icon, **Search**, **Guide** and **Settings**.
31
33
  - A number on Today says how many lines of Today's log are for today (Do first and what waits today). It shows on every place. A number on the chat icon says how many sessions wait for you.
32
- - A blue dot on a place means that it has something new to show. An amber dot on Settings means that a source is stale.
34
+ - A blue dot on a place means that it has something new to show. A rust-coloured dot on Settings means that a source is stale.
35
+ - The place you are on has a green ring. The rail is the design system's Navigation part.
33
36
  - Settings opens over the page you are on. The navigation stays.
34
37
  - The navigation does not count as a panel.
35
38
  - The product choice is at the top left of Work and Goals. It is one choice for both. It shows the product's full name, "All products", or the first name and "+2".
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.639.0",
3
+ "version": "0.641.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.639.0",
9
+ "version": "0.641.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/sdk": "^1.3.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.639.0",
3
+ "version": "0.641.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -7,16 +7,15 @@
7
7
  <title>PMOS capture</title>
8
8
  <!-- The popup of the PMOS Chrome extension (extension/popup.js frames /console.html?capture=1&pop=1). The console is
9
9
  deleted (workspace-legacy-cleanup); the server serves this page for that address only, and pm/c3-capture.js is the
10
- whole page. The nonce meta is filled by the server, so Add carries it. -->
11
- <link rel="stylesheet" href="/pm/tokens.css" />
12
- <style>
13
- html { background: var(--background); }
14
- body { margin: 0; background: var(--background); color: var(--foreground); }
15
- noscript { display: block; padding: 16px; font-family: var(--font-mono, monospace); }
16
- </style>
10
+ whole page. The nonce meta is filled by the server, so Add carries it. It is on the PMOS design system (design-system-meeting-pages):
11
+ brand, charts and komorebi, pm-ds on the body, one Summary block; c3-capture.css holds its few page rules on system tokens. -->
12
+ <link rel="stylesheet" href="/pm/brand.css" />
13
+ <link rel="stylesheet" href="/pm/charts.css" />
14
+ <link rel="stylesheet" href="/pm/komorebi.css" />
15
+ <link rel="stylesheet" href="/pm/c3-capture.css" />
17
16
  </head>
18
- <body>
19
- <div id="c3-root" class="c3 c3pg" data-pm-theme="light"></div>
17
+ <body class="pm-ds cap-page">
18
+ <div id="c3-root" class="cap-root"></div>
20
19
  <noscript>This page needs JavaScript.</noscript>
21
20
  <script type="module" src="/pm/c3-capture.js"></script>
22
21
  </body>
@@ -29,8 +29,8 @@ const P = {
29
29
  undo: 'M9 7L4 12l5 5M4 12h10a6 6 0 0 1 0 12', x: 'M6 6l12 12M18 6L6 18', open: 'M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5',
30
30
  copy: 'M8 8h12v12H8zM16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2', spark: 'M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z',
31
31
  };
32
- const svg = (d, n = 16) => `<svg aria-hidden="true" width="${n}" height="${n}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
33
- const ib = (act, label, d, attrs = '', cls = '') => `<button type="button" class="mb-ib${cls ? ' ' + cls : ''}" data-mb="${act}"${attrs} aria-label="${esc(label)}" title="${esc(label)}">${svg(d)}</button>`;
32
+ const svg = (d, n = 16) => `<svg class="pm-ic" aria-hidden="true" width="${n}" height="${n}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
33
+ const ib = (act, label, d, attrs = '', cls = '') => `<button type="button" class="mb-ib pm-btn${cls === 'go' ? ' go primary' : cls ? ' ' + cls : ''}" data-mb="${act}"${attrs} aria-label="${esc(label)}" title="${esc(label)}">${svg(d)}</button>`;
34
34
  const KIND_WORD = { decision: 'decision', action: 'action', question: 'open question' };
35
35
  const FROM_WORDS = { talk: 'the talk', screen: 'the screen', prep: 'the prep', last: 'last time' };
36
36
 
@@ -140,7 +140,7 @@ export function filedHtml(m) {
140
140
  + (m.filedMore ? `<div class="mb-r mb-more"><span class="mb-sm">${esc(m.filedMore + ' more filed in the notes')}</span></div>` : '');
141
141
  }
142
142
  export function contextHtml(m) {
143
- return m.context.map((c) => row(c.label, esc(c.text), c.href ? `<a class="mb-ib" href="${esc(c.href)}" target="_blank" rel="noopener noreferrer" aria-label="Open it" title="Open it">${svg(P.open)}</a>` : '')).join('');
143
+ return m.context.map((c) => row(c.label, esc(c.text), c.href ? `<a class="mb-ib pm-btn" href="${esc(c.href)}" target="_blank" rel="noopener noreferrer" aria-label="Open it" title="Open it">${svg(P.open)}</a>` : '')).join('');
144
144
  }
145
145
  export function draftsHtml(m) {
146
146
  return m.drafts.map((d) => `<div class="mb-r mb-draft" data-draft="${esc(d.id)}" data-sw-right="copy" data-sw-left="chat-x"><span class="t"><small>Draft for the call chat</small>${esc(d.text)}</span>`
@@ -1,23 +1,21 @@
1
- /* pm/c3-capture.css — the page the PMOS Chrome extension frames in its popup (c3-capture.js). Mockup 42-reportdeck.css .mk-cx-pop and friends. */
2
- .c3.c3-cap { min-height: 0; padding: 8px; background: var(--background); }
3
- .c3 .cap-pop { display: grid; gap: 10px; padding: 12px; box-sizing: border-box; }
4
- .c3 .cap-head { display: flex; gap: 8px; align-items: center; font-size: var(--fs-section); font-weight: var(--fw-strong); line-height: var(--lh-section); }
5
- .c3 .cap-head b { font-size: var(--fs-meta); color: var(--acc); line-height: var(--lh-meta); }
6
- .c3 .cap-head span { flex: 1; min-width: 0; }
7
- .c3 .cap-what { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); }
8
- .c3 .cap-what b { display: flex; gap: 6px; align-items: center; font-size: var(--fs-meta); overflow-wrap: anywhere; line-height: var(--lh-meta); }
9
- .c3 .cap-what .mono { font-size: var(--fs-meta); overflow-wrap: anywhere; line-height: var(--lh-meta); }
10
- .c3 .cap-thumb { display: grid; gap: 3px; align-content: start; width: 56px; aspect-ratio: 16 / 9; padding: 4px; box-sizing: border-box; border: 1px solid var(--slide-border); border-radius: 6px; background: var(--slide-bg); }
11
- .c3 .cap-thumb i { display: block; height: 3px; background: var(--slide-track); }
12
- .c3 .cap-thumb.deck i:first-child { height: 6px; background: var(--slide-brand); }
13
- .c3 .cap-thumb.page { aspect-ratio: 3 / 4; width: 40px; justify-self: center; }
14
- .c3 .cap-f { display: grid; gap: 4px; }
15
- .c3 .cap-f select { width: 100%; box-sizing: border-box; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--background); color: var(--foreground); font: inherit; font-size: var(--fs-body); line-height: var(--lh-body); }
16
- .c3 .cap-lbl { font-size: var(--fs-meta); line-height: var(--lh-meta); }
17
- .c3 .cap-line { font-size: var(--fs-meta); line-height: 1.5; }
18
- .c3 .cap-step { font-size: var(--fs-meta); line-height: var(--lh-meta); }
19
- .c3 .cap-acts { display: flex; gap: 8px; flex-wrap: wrap; }
20
- .c3 .cap-msg { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: var(--fs-body); line-height: 1.5; }
21
- .c3 .cap-msg .ic { flex: 0 0 auto; margin-top: 4px; }
22
- .c3 .cap-prog { height: 6px; border-radius: 6px; background: var(--muted); overflow: hidden; }
23
- .c3 .cap-prog i { display: block; width: var(--rp-w, 6%); height: 100%; background: var(--acc); }
1
+ /* pm/c3-capture.css — the page the PMOS Chrome extension frames in its popup (capture.html, c3-capture.js). On the PMOS design system
2
+ * (design-system-meeting-pages): body.pm-ds, the popup is one pm-block with a head, and its parts are pm-btn, pm-input, pm-badge and
3
+ * pm-meta. These rules only place the parts; every colour, corner and size is a system token. */
4
+ body.pm-ds.cap-page { min-height: 0; padding: var(--space-8); background: var(--ground); }
5
+ body.pm-ds.cap-page noscript { display: block; padding: var(--space-16); }
6
+ .pm-ds .cap-pop { padding: var(--space-16); }
7
+ .pm-ds .cap-head .pm-h-sm { flex: 1; min-width: 0; }
8
+ .pm-ds .pm-block.cap-what { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-12); align-items: start; padding: var(--space-8) var(--space-12); } /* a flat block: the system's well and corner */
9
+ .pm-ds .cap-what b { display: flex; gap: 6px; align-items: center; font-weight: var(--fw-strong); overflow-wrap: anywhere; }
10
+ .pm-ds .cap-what .pm-meta { display: block; overflow-wrap: anywhere; }
11
+ .pm-ds .cap-thumb { display: grid; gap: 3px; align-content: start; width: 56px; aspect-ratio: 16 / 9; padding: 4px; border: 1px solid var(--line); background: var(--card); }
12
+ .pm-ds .cap-thumb i { display: block; height: 3px; background: var(--line); }
13
+ .pm-ds .cap-thumb.deck i:first-child { height: 6px; background: var(--blue); }
14
+ .pm-ds .cap-thumb.page { aspect-ratio: 3 / 4; width: 40px; justify-self: center; }
15
+ .pm-ds .cap-f { display: grid; gap: 4px; }
16
+ .pm-ds .cap-acts { display: flex; gap: var(--space-8); justify-content: flex-end; }
17
+ .pm-ds .cap-msg { display: flex; gap: var(--space-8); align-items: flex-start; margin: 0; }
18
+ .pm-ds .cap-msg .pm-ic { margin-top: 4px; }
19
+ .pm-ds .cap-msg[data-cap="error"], .pm-ds .cap-msg[data-cap="none"] .pm-ic { color: var(--alert); }
20
+ .pm-ds .pm-bar.cap-prog { height: 6px; } /* the system's Bar: its pill corner and well */
21
+ .pm-ds .cap-prog i { display: block; width: var(--rp-w, 6%); height: 100%; background: var(--blue); }
@@ -9,9 +9,9 @@
9
9
  * Messages in: only from window.parent, only from a chrome-extension:// origin or this page's own origin, only these words, and 'data' only while a
10
10
  * request is waiting. Messages out: to the parent's origin, never '*'. Nothing here sends anything outside the workspace. */
11
11
  import { el } from './dom.js';
12
- import { icon, pbtn, plural } from './c3-ini-ui.js';
12
+ import { iconButton } from './primitives.js';
13
+ import { svgIcon, plural } from './c3-ini-ui.js';
13
14
  import { pmGet, pmPost } from './http.js';
14
- import { ensureC3Css } from './c3-base.js';
15
15
 
16
16
  const q = new URLSearchParams(location.search);
17
17
  const KIND = ['deck', 'doc', 'page'].includes(q.get('pkind')) ? q.get('pkind') : 'page';
@@ -27,6 +27,21 @@ if (!parentOrigin) { try { parentOrigin = new URL(document.referrer).origin; } c
27
27
  const trusted = (o) => !!o && (o.startsWith('chrome-extension://') || o === location.origin) && (!parentOrigin || o === parentOrigin);
28
28
  const say = (m) => { if (window.parent !== window && parentOrigin) { try { window.parent.postMessage(m, parentOrigin); } catch { /* the popup is gone */ } } };
29
29
 
30
+ /* The PMOS design system's parts (design-system-meeting-pages): an icon with pm-ic, and the icon-only Button whose label is its
31
+ * aria-label and tooltip. kind: '' (ghost), 'primary' or 'outline'. */
32
+ const ICONS = {
33
+ notes: ['M6 3h9l4 4v14H6z', 'M14 3v5h5M9 13h7M9 17h5'], img: ['M3 6a2 2 0 012-2h14a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2z', 'M9 8a2 2 0 100 4 2 2 0 000-4zM21 16l-5-5-9 9'],
34
+ alert: ['M12 3l10 18H2z', 'M12 10v5M12 18v.5'], check: ['M5 12l5 5 9-10'], undo: ['M4 12a8 8 0 108-8', 'M4 4v6h6'],
35
+ spark: ['M12 3l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'], plus: ['M12 5v14M5 12h14'],
36
+ };
37
+ const ic = (name) => svgIcon(ICONS[name] || ICONS.plus, 'pm-ic');
38
+ const dsBtn = (kind, label, name, attrs) => { // primitives.js iconButton, in the system's pm-btn look, with the system's icon
39
+ const { onclick, ...rest } = attrs || {};
40
+ const b = iconButton({ icon: name, ariaLabel: label, onClick: onclick, attrs: { ...rest, class: 'pm-btn' + (kind ? ' ' + kind : '') } });
41
+ b.replaceChildren(ic(name));
42
+ return b;
43
+ };
44
+
30
45
  const S = { st: 'load', reports: [], rep: null, last: null, err: '', step: 0, of: 1, text: '', got: '', waiting: false, root: null };
31
46
 
32
47
  const WHAT = {
@@ -37,12 +52,12 @@ const WHAT = {
37
52
  const whatLine = () => (KIND === 'page' ? [host || 'Web page', SCREENS ? 'about ' + plural(SCREENS, 'screen') + ' long' : ''].filter(Boolean).join(', ') : WHAT[KIND].what);
38
53
 
39
54
  function whatCard() {
40
- return el('div', { class: 'cap-what', 'data-cap': 'page' },
55
+ return el('div', { class: 'pm-block flat cap-what', 'data-cap': 'page' },
41
56
  el('span', { class: 'cap-thumb ' + (KIND === 'page' ? 'page' : 'deck'), 'aria-hidden': 'true' }, el('i'), el('i'), el('i')),
42
- el('div', null, el('b', null, icon(KIND === 'page' ? 'notes' : 'img', 'sm'), TITLE), el('span', { class: 'dim mono' }, whatLine())));
57
+ el('div', null, el('b', null, ic(KIND === 'page' ? 'notes' : 'img'), TITLE), el('span', { class: 'pm-meta' }, whatLine())));
43
58
  }
44
59
  function head() {
45
- return el('div', { class: 'cap-head' }, el('b', { class: 'mono' }, 'PMOS'), el('span', null, 'Add this page to a report design'));
60
+ return el('div', { class: 'head cap-head' }, el('b', { class: 'pm-badge blue' }, 'PMOS'), el('h1', { class: 'pm-h-sm' }, 'Add this page to a report design'));
46
61
  }
47
62
  const repOf = () => S.reports.find((r) => r.key === S.rep) || null;
48
63
 
@@ -51,28 +66,28 @@ function bar(pct) { const i = el('i'); i.style.setProperty('--rp-w', pct + '%');
51
66
  function draw() {
52
67
  const r = repOf();
53
68
  let body;
54
- if (S.st === 'load') body = [el('p', { class: 'dim mono cap-msg', role: 'status' }, 'Reading your reports.')];
55
- else if (S.st === 'none') body = [whatCard(), el('p', { class: 'cap-msg', 'data-cap': 'none' }, icon('alert', 'sm'), el('span', null, 'There is no report set up in PMOS yet. Set one up in Reports, then add this page to its design.'))];
56
- else if (S.st === 'error') body = [el('p', { class: 'cap-msg', role: 'alert', 'data-cap': 'error' }, icon('alert', 'sm'), el('span', null, S.err)), el('div', { class: 'cap-acts' }, pbtn('outline', 'Try again', 'undo', { 'data-cap': 'retry', onclick: () => { S.st = 'ready'; draw(); } }))];
69
+ if (S.st === 'load') body = [el('p', { class: 'pm-meta cap-msg', role: 'status' }, 'Reading your reports.')];
70
+ else if (S.st === 'none') body = [whatCard(), el('p', { class: 'cap-msg', 'data-cap': 'none' }, ic('alert'), el('span', null, 'There is no report set up in PMOS yet. Set one up in Reports, then add this page to its design.'))];
71
+ else if (S.st === 'error') body = [el('p', { class: 'cap-msg', role: 'alert', 'data-cap': 'error' }, ic('alert'), el('span', null, S.err)), el('div', { class: 'cap-acts' }, dsBtn('outline', 'Try again', 'undo', { 'data-cap': 'retry', onclick: () => { S.st = 'ready'; draw(); } }))];
57
72
  else if (S.st === 'sending') {
58
73
  const pct = Math.max(6, Math.min(100, Math.round((S.step / Math.max(1, S.of)) * 100)));
59
74
  body = [whatCard(), el('p', { class: 'cap-msg', 'data-cap': 'saving' }, el('b', null, WHAT[KIND].saving)),
60
- el('div', { class: 'cap-prog', role: 'progressbar', 'aria-label': WHAT[KIND].saving, 'aria-valuenow': String(pct), 'aria-valuemin': '0', 'aria-valuemax': '100' }, bar(pct)),
61
- el('div', { class: 'dim mono cap-step' }, (S.text || 'Starting') + '. Keep this popup open.')];
75
+ el('div', { class: 'pm-bar cap-prog', role: 'progressbar', 'aria-label': WHAT[KIND].saving, 'aria-valuenow': String(pct), 'aria-valuemin': '0', 'aria-valuemax': '100' }, bar(pct)),
76
+ el('div', { class: 'pm-meta cap-step' }, (S.text || 'Starting') + '. Keep this popup open.')];
62
77
  } else if (S.st === 'done') {
63
- body = [el('p', { class: 'cap-msg ok', 'data-cap': 'done' }, icon('check', 'sm'), el('b', null, 'Added to ' + (r ? r.name : 'the report'))),
64
- el('div', { class: 'dim cap-line' }, TITLE + ', ' + S.got + '. PMOS reads its look on your next turn in the studio.'),
65
- el('div', { class: 'cap-acts' }, pbtn('primary', 'Open the studio', 'spark', { 'data-cap': 'studio', onclick: openStudio }))];
78
+ body = [el('p', { class: 'cap-msg ok', 'data-cap': 'done' }, ic('check'), el('b', null, 'Added to ' + (r ? r.name : 'the report'))),
79
+ el('div', { class: 'pm-meta cap-line' }, TITLE + ', ' + S.got + '. PMOS reads its look on your next turn in the studio.'),
80
+ el('div', { class: 'cap-acts' }, dsBtn('primary', 'Open the studio', 'spark', { 'data-cap': 'studio', onclick: openStudio }))];
66
81
  } else {
67
82
  body = [whatCard(),
68
- el('label', { class: 'cap-f' }, el('span', { class: 'dim cap-lbl' }, 'Report'),
69
- el('select', { 'data-cap-rep': '', 'aria-label': 'Report', onchange: (e) => { S.rep = e.target.value; draw(); } },
83
+ el('label', { class: 'cap-f' }, el('span', { class: 'pm-meta cap-lbl' }, 'Report'),
84
+ el('select', { class: 'pm-input', 'data-cap-rep': '', 'aria-label': 'Report', onchange: (e) => { S.rep = e.target.value; draw(); } },
70
85
  ...S.reports.map((x) => el('option', { value: x.key, selected: x.key === S.rep }, x.label)))),
71
- S.rep === S.last ? el('div', { class: 'dim cap-lbl' }, 'The report whose studio you opened last.') : null,
72
- el('div', { class: 'dim cap-line' }, WHAT[KIND].how),
73
- el('div', { class: 'cap-acts' }, pbtn('primary', 'Add as a sample', 'plus', { 'data-cap': 'send', onclick: send }))];
86
+ S.rep === S.last ? el('div', { class: 'pm-meta cap-lbl' }, 'The report whose studio you opened last.') : null,
87
+ el('div', { class: 'pm-meta cap-line' }, WHAT[KIND].how),
88
+ el('div', { class: 'cap-acts' }, dsBtn('primary', 'Add as a sample', 'plus', { 'data-cap': 'send', onclick: send }))];
74
89
  }
75
- S.root.replaceChildren(el('div', { class: 'card cap-pop', role: 'dialog', 'aria-label': 'PMOS extension' }, head(), ...body.filter(Boolean)));
90
+ S.root.replaceChildren(el('div', { class: 'pm-block cap-pop', role: 'dialog', 'aria-label': 'PMOS extension' }, head(), ...body.filter(Boolean)));
76
91
  requestAnimationFrame(() => say({ pmosCapture: 'resize', height: Math.max(120, Math.min(600, Math.ceil(S.root.getBoundingClientRect().height) + 8)) }));
77
92
  }
78
93
 
@@ -141,11 +156,7 @@ async function load() {
141
156
  function boot() {
142
157
  S.root = document.getElementById('c3-root');
143
158
  const theme = q.get('theme') === 'dark' || (typeof matchMedia === 'function' && matchMedia('(prefers-color-scheme: dark)').matches && q.get('theme') !== 'light') ? 'dark' : 'light';
144
- document.documentElement.setAttribute('data-pm-page-theme', theme);
145
- S.root.setAttribute('data-pm-theme', theme);
146
- S.root.classList.add('c3-cap');
147
- ensureC3Css();
148
- const l = document.createElement('link'); l.rel = 'stylesheet'; l.href = new URL('./c3-capture.css', import.meta.url).href; document.head.appendChild(l);
159
+ document.body.classList.toggle('dark', theme === 'dark'); // the system's Dark theme (brand.css .pm-ds.dark)
149
160
  draw();
150
161
  load().then(() => say({ pmosCapture: 'ready' }), () => { S.st = 'none'; draw(); say({ pmosCapture: 'ready' }); });
151
162
  }
@@ -1,9 +1,13 @@
1
- /* pm/cozy-aud.css — the audience tab (premium-aud.html, cozy-aud.js; batch 12 item 1, S3). The stage rules are cozy-mtg-present.css's
2
- * .vzx-aud; these add what that window did not have: a PDF page, one document section at a time, and the quiet wait line. */
3
- .vzx-aud .aud-pdf { width: 100%; height: 100%; border: 0; background: var(--cz-c-ffffff); }
4
- .vzx-aud .aud-sec { width: 100%; height: 100%; overflow: auto; padding: 56px 8vw; background: var(--cz-c-ffffff); color: var(--cz-c-2a2e35); }
1
+ /* pm/cozy-aud.css — the audience tab (premium-aud.html, cozy-aud.js; batch 12 item 1, S3). The page is on the PMOS design system
2
+ * (design-system-meeting-pages): body.pm-ds.dark, the main is the system's Stage, the foot line is pm-meta. The stage placement rules
3
+ * are cozy-mtg-present.css's .vzx-aud; these give it the system's ground and type, and add what that window did not have: a PDF page,
4
+ * one document section at a time, and the quiet wait line. Only the system's tokens. */
5
+ body.pm-ds.vzx-audw { min-height: 100vh; background: var(--ground); color: var(--ink); } /* the call sees a dark stage to its edge */
6
+ .pm-ds .vzx-aud.pm-stage { aspect-ratio: auto; border-radius: 0; background: var(--ground); color: var(--muted); }
7
+ .pm-ds .vzx-ft.pm-meta { color: var(--muted); }
8
+ .vzx-aud .aud-pdf { width: 100%; height: 100%; border: 0; background: var(--card); }
9
+ .vzx-aud .aud-sec { width: 100%; height: 100%; overflow: auto; padding: var(--space-48) 8vw; background: var(--card); color: var(--ink); }
5
10
  .vzx-aud .aud-sec .vzx-page { margin: 0 auto; font-size: 24px; }
6
11
  .vzx-aud .aud-sec .vzx-page h1, .vzx-aud .aud-sec .vzx-page h2, .vzx-aud .aud-sec .vzx-page h3 { font-size: 32px; }
7
- .vzx-aud .aud-wait { font-size: var(--fs-body); color: var(--cz-c-9aa1ab); line-height: var(--lh-body); }
12
+ .vzx-aud .aud-wait { margin: 0; font-size: var(--fs-body); color: var(--muted); line-height: var(--lh-body); }
8
13
  .vzx-aud .aud-img { max-width: 100%; max-height: 100%; display: block; }
9
- body.cz.vzx-audw { min-height: 100vh; background: var(--cz-c-17191c); } /* the cozy page ground is light; the audience tab is dark to its edge */