create-pmos 0.638.0 → 0.640.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 (36) hide show
  1. package/package.json +15 -3
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/briefing-premium-insights-test.js +5 -5
  7. package/workspace/changelog.json +14 -2
  8. package/workspace/guide/intelligence-okr-goals.md +5 -1
  9. package/workspace/guide/layout.md +3 -1
  10. package/workspace/intel-report-ui-test.js +1 -1
  11. package/workspace/intelligence-gaps-ui-test.js +3 -3
  12. package/workspace/package-lock.json +2 -2
  13. package/workspace/package.json +1 -1
  14. package/workspace/public/capture.html +8 -9
  15. package/workspace/public/pm/buddy-core.js +3 -3
  16. package/workspace/public/pm/c3-capture.css +21 -23
  17. package/workspace/public/pm/c3-capture.js +35 -24
  18. package/workspace/public/pm/cozy-aud.css +10 -6
  19. package/workspace/public/pm/cozy-buddy.css +33 -34
  20. package/workspace/public/pm/cozy-buddy.js +1 -1
  21. package/workspace/public/pm/cozy-goals.css +79 -148
  22. package/workspace/public/pm/cozy-insights.css +412 -408
  23. package/workspace/public/pm/cozy-rec-tab.css +43 -41
  24. package/workspace/public/pm/cozy-rec-tab.js +1 -0
  25. package/workspace/public/pm/cozy-welcome.css +145 -0
  26. package/workspace/public/pm/ds-bridge.css +19 -0
  27. package/workspace/public/pm/premium-goals.js +48 -34
  28. package/workspace/public/pm/premium-insights.js +50 -50
  29. package/workspace/public/pm/premium-report-intel.css +30 -30
  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-goals.html +15 -10
  34. package/workspace/public/premium-intelligence.html +17 -11
  35. package/workspace/public/premium-rec.html +8 -3
  36. 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.638.0",
3
+ "version": "0.640.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,8 +34,8 @@
34
34
  ],
35
35
  "pmosChanges": [
36
36
  {
37
- "v": "0.638.0",
38
- "at": "2026-11-20T01:26:44.343Z",
37
+ "v": "0.640.0",
38
+ "at": "2026-11-20T01:35:34.483Z",
39
39
  "f": 4,
40
40
  "prs": [
41
41
  {
@@ -43,6 +43,18 @@
43
43
  "t": "Events and Routine are drawn from the PMOS design system",
44
44
  "s": "Events and Routine are drawn from the PMOS design system",
45
45
  "k": "new"
46
+ },
47
+ {
48
+ "n": 1424,
49
+ "t": "Goals and Intelligence on the PMOS design system",
50
+ "s": "Goals and Intelligence on the PMOS design system",
51
+ "k": "new"
52
+ },
53
+ {
54
+ "n": 1423,
55
+ "t": "Welcome, capture and the meeting pages on the PMOS design system",
56
+ "s": "Welcome, capture and the meeting pages on the PMOS design system",
57
+ "k": "new"
46
58
  }
47
59
  ]
48
60
  },
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@1025b98b
1
+ kernel-source: pmos@7215e7a9
2
2
  assembled: 2026-11-20
3
3
  mode: vendor
@@ -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:26:40Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
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:26:40Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
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:26:40Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -145,11 +145,11 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
145
145
 
146
146
  /* G1 the Goals table (re-pointed back, batch 18 item 11 gap: the agreed goals dashboard is Iq8Overview again, GcJ2FirstMonday and GcJ4Full;
147
147
  * the budget over its cap also keeps the one red, pulsing dot of a broken limit) */
148
- { const g = await p.evaluate(() => { const r = [...document.querySelectorAll('#goalTbl .ins-grp')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), a = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { groups: r, title: a.querySelector('.nm b').textContent, type: a.querySelector('.ins-type').textContent, sub: a.querySelector('.ins-sub').textContent, val: a.querySelector('.val b').textContent, of: a.querySelector('.val .note').textContent, today: !!a.querySelector('.ins-bar1 .today'), spark: !!a.querySelector('svg.ins-spark .pj'), pace: a.querySelector('.pace').textContent, moves: [...a.querySelectorAll('.ins-ini')].map((m) => m.querySelector('.n').textContent + ':' + m.querySelectorAll('.ins-trk i').length + ':' + [...m.querySelectorAll('.ins-trk i')].findIndex((i) => i.classList.contains('c')) + ':' + m.querySelectorAll('.ins-trk i.m').length + ':' + ((m.querySelector('.cz-pill') || {}).textContent || '')) }; });
148
+ { const g = await p.evaluate(() => { const r = [...document.querySelectorAll('#goalTbl .ins-grp')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), a = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { groups: r, title: a.querySelector('.nm b').textContent, type: a.querySelector('.ins-type').textContent, sub: a.querySelector('.ins-sub').textContent, val: a.querySelector('.val b').textContent, of: a.querySelector('.val .note').textContent, today: !!a.querySelector('.ins-bar1 .today'), spark: !!a.querySelector('svg.ins-spark .pj'), pace: a.querySelector('.pace').textContent, moves: [...a.querySelectorAll('.ins-ini')].map((m) => m.querySelector('.n').textContent + ':' + m.querySelectorAll('.ins-trk i').length + ':' + [...m.querySelectorAll('.ins-trk i')].findIndex((i) => i.classList.contains('c')) + ':' + m.querySelectorAll('.ins-trk i.m').length + ':' + ((m.querySelector('.pm-badge') || {}).textContent || '')) }; });
149
149
  ok('G1 key results are grouped by objective, then Health budgets; Delivery trends moved to ⋯ (Iq8Overview)', g.groups.length === 3 && /^Objective 1 · Growth Q4 2026/.test(g.groups[0]) && /3 of 3 behind/.test(g.groups[0]) && /^Objective 2 · Reliability/.test(g.groups[1]) && /^Health budgets always on, judged every week/.test(g.groups[2]), JSON.stringify(g.groups));
150
150
  ok('G1 a goal row has its type, direction and start, value of target with the today mark, the so-far line with its pace, and the pace said by its date', g.title === 'Partner activation' && g.type === 'Percentage' && g.sub === 'up is better · from 20% on Jul 1' && g.val === '28%' && g.of === 'of 50%' && g.today && g.spark && /^≈34% by Dec 31/.test(g.pace) && /16 pts short at this pace/.test(g.pace), JSON.stringify(g));
151
151
  ok('G1 what moves it is on the lifecycle track with its milestones, and its pill is a delivery fact (ships soon, days over)', g.moves.join() === 'SSO for partners:8:5:2:Ships in 5 days,Self-serve onboarding v2:8:4:2:8 days over', JSON.stringify(g.moves));
152
- const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.cz-pill') || {}).textContent || ''])));
152
+ const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.pm-badge') || {}).textContent || ''])));
153
153
  ok('G1 an initiative with no owner says No owner; one that has shipped is not "days over" and never "in -N days"', pills['First call kit'] === 'No owner' && pills['Audit log export'] === 'On track' && !Object.values(pills).some((x) => /-\d/.test(x)), JSON.stringify(pills));
154
154
  const leg = await p.evaluate(() => document.querySelector('#goalTbl .ins-th .ins-mvh').textContent.replace(/\s+/g, ' '));
155
155
  ok('G1 the Moved by header carries the legend: skipped and milestone', /Skipped/.test(leg) && /Milestone/.test(leg), leg);
@@ -479,7 +479,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
479
479
  const m = await q.evaluate(() => { const vis = (b) => !b.closest('[hidden]') && b.getBoundingClientRect().height > 0; /* re-pointed (insights fix, AgInsPhone): a control keeps the design's size and its 44 px hit area is its ::after */
480
480
  const hit = (b) => Math.max(b.getBoundingClientRect().height, parseFloat(getComputedStyle(b, '::after').height) || 0);
481
481
  const small = [...document.querySelectorAll('#insBar button, #askWhy, #goalCards .ins-card, #czFab')].filter((b) => vis(b) && hit(b) < 44).map((b) => (b.id || b.className) + ':' + Math.round(hit(b)));
482
- return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + ((c.querySelector('.ins-ch .cz-pill') || {}).textContent || '')).join() }; });
482
+ return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + ((c.querySelector('.ins-ch .pm-badge') || {}).textContent || '')).join() }; });
483
483
  ok(`I11 at 390 px (${theme}) the goals are cards with their status, the table is hidden, there is no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0 && m.table === 'none' && m.cards === 'krm-act:Behind,krm-up:Ahead,krm-ttfc:Behind,krm-nps:Behind', JSON.stringify(m)); // re-pointed (U3): krm-churn has no reading, so it is in the waiting list, not a card
484
484
  await R.ctx.close();
485
485
  }
@@ -597,13 +597,13 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
597
597
  await R.ctx.close();
598
598
  }
599
599
 
600
- /* I11 fidelity to the Agreed design (AgInsGoals, AgInsPhone): Plus Jakarta Sans, the cozy panel, the pill tabs, the table, the strip and the six tiles */
600
+ /* I11 fidelity to the Agreed design (AgInsGoals, AgInsPhone): Plus Jakarta Sans, the cozy panel, the pill tabs, the table, the strip (the design system's well, #F4F2EE) and the six tiles */
601
601
  for (const [w, h] of [[1440, 900], [390, 844]]) {
602
602
  const R = await open({ w, h }); await sleep(300);
603
603
  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();
604
604
  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) }; });
605
605
  const phone = w < 720;
606
- ok(`I11 the page wears the Agreed design at ${w} px: Plus Jakarta Sans, the white panel, the pill View chip, the well strip, 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(244, 243, 240)' && f.rowH >= 60)) && !f.over && (phone ? f.fab === 44 && f.fabX > 300 : f.rail === 72), JSON.stringify(f));
606
+ ok(`I11 the page wears the Agreed design at ${w} px: Plus Jakarta Sans, the white panel, the pill View chip, the well strip, 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(244, 242, 238)' && f.rowH >= 60)) && !f.over && (phone ? f.fab === 44 && f.fabX > 300 : f.rail === 72), JSON.stringify(f));
607
607
  if (!phone) {
608
608
  await toTrends(R.page);
609
609
  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,7 +1,7 @@
1
1
  [
2
2
  {
3
- "v": "0.638.0",
4
- "at": "2026-11-20T01:26:44.343Z",
3
+ "v": "0.640.0",
4
+ "at": "2026-11-20T01:35:34.483Z",
5
5
  "f": 4,
6
6
  "prs": [
7
7
  {
@@ -9,6 +9,18 @@
9
9
  "t": "Events and Routine are drawn from the PMOS design system",
10
10
  "s": "Events and Routine are drawn from the PMOS design system",
11
11
  "k": "new"
12
+ },
13
+ {
14
+ "n": 1424,
15
+ "t": "Goals and Intelligence on the PMOS design system",
16
+ "s": "Goals and Intelligence on the PMOS design system",
17
+ "k": "new"
18
+ },
19
+ {
20
+ "n": 1423,
21
+ "t": "Welcome, capture and the meeting pages on the PMOS design system",
22
+ "s": "Welcome, capture and the meeting pages on the PMOS design system",
23
+ "k": "new"
12
24
  }
13
25
  ]
14
26
  },
@@ -2,13 +2,17 @@
2
2
  type: Guide
3
3
  title: "Intelligence: goals, forecasts and the Horizon scan"
4
4
  description: "The goal list from the OKR file, what waits on a source, what the numbers mean, forecasts, and the Horizon scan of the portfolio."
5
- timestamp: 2026-11-08
5
+ timestamp: 2026-11-20
6
6
  ---
7
7
 
8
8
  # Intelligence
9
9
 
10
10
  Intelligence (`/premium-intelligence.html`) uses the OKR file of a product as its goal list. It reads `pmos/planning/okrs/okrs-*.md` in the product repository, or `planning/okrs/` in PMOS itself. When a file says `Supersedes x.md`, Intelligence does not read `x.md`.
11
11
 
12
+ ## How Goals and Intelligence look
13
+
14
+ Goals and Intelligence use the PMOS design system (see [Layout](layout.md#the-design-system)). On Goals, the North Star is one block. When PMOS drafted it, the draft is a suggestion with ✓ and ✕. The goals are one table: objective, key result, actual and target, days left, levers and initiative. On a phone, the table becomes a list under each objective. On both pages, red means late or at risk, blue means PMOS speaks or waits on you, and a goal on track has no colour.
15
+
12
16
  ## The goal list
13
17
 
14
18
  - **The period.** The first period in the period chip is the period of the OKR file, for example H2 2026. It is the default, so a filter for one quarter does not hide a goal of the half.
@@ -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,6 +23,8 @@ 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.
@@ -102,7 +102,7 @@ const FINDING = { id: 'rf-0123456789', name: 'Partner numbers to Lee', why: 'You
102
102
  /* ── H: the header icon and its menu ── */
103
103
  const A = await open();
104
104
  const p = A.page;
105
- const hd = await p.evaluate(() => { const ids = [...document.querySelectorAll('#insBar .ins-tools button.cz-ib')].map((b) => b.id); const b = document.querySelector('#repB'); return { ids, label: b && b.getAttribute('aria-label'), text: b && b.textContent.trim(), svg: !!(b && b.querySelector('svg[aria-hidden="true"]')) }; });
105
+ const hd = await p.evaluate(() => { const ids = [...document.querySelectorAll('#insBar .ins-tools button.pm-btn')].map((b) => b.id); const b = document.querySelector('#repB'); return { ids, label: b && b.getAttribute('aria-label'), text: b && b.textContent.trim(), svg: !!(b && b.querySelector('svg[aria-hidden="true"]')) }; });
106
106
  ok('H the report icon sits between Filter and +, icon-only with a label', hd.ids.indexOf('repB') === hd.ids.indexOf('filtB') + 1 && hd.ids.indexOf('newB') === hd.ids.indexOf('repB') + 1 && hd.label === 'Make a report from this' && !hd.text && hd.svg, JSON.stringify(hd));
107
107
  await p.click('#repB');
108
108
  const mn = await p.evaluate(() => [...document.querySelectorAll('#repMenu [role="menuitem"]')].map((x) => x.querySelector('span').firstChild.textContent));
@@ -91,15 +91,15 @@ const WEEKLY = { view: 'view', weeks: 3, day: 'Mon', opens: 4 };
91
91
  const p = A.page;
92
92
  // the ✦ line about the goals comes first (batch 16 item 6, GsM1–M5); the finding with its drafted move is the next page
93
93
  await until(() => p.evaluate(() => !!document.querySelector('#insPg [data-ins="1"]')), 5000); await p.click('#insPg [data-ins="1"]');
94
- const s0 = await until(() => p.evaluate(() => { const m = document.querySelector('#insMv'); const b = document.querySelector('#insAct [data-mv="apply"]'); return m && !m.hidden && b ? { mv: m.textContent, label: b.getAttribute('aria-label'), text: b.textContent.trim(), solid: b.classList.contains('solid'), two: document.querySelector('#insHero').classList.contains('mv') } : null; }), 5000);
95
- ok('S the drafted move is said under the finding, with a solid ✓ that is icon-only', !!s0 && s0.mv === MOVE.text && s0.label === MOVE.label && !s0.text && s0.solid && s0.two, JSON.stringify(s0));
94
+ const s0 = await until(() => p.evaluate(() => { const m = document.querySelector('#insMv'); const b = document.querySelector('#insAct [data-mv="apply"]'); return m && !m.hidden && b ? { mv: m.textContent, label: b.getAttribute('aria-label'), text: b.textContent.trim(), solid: b.classList.contains('primary'), two: document.querySelector('#insHero').classList.contains('mv') } : null; }), 5000);
95
+ ok('S the drafted move is said under the finding, with a primary ✓ that is icon-only', !!s0 && s0.mv === MOVE.text && s0.label === MOVE.label && !s0.text && s0.solid && s0.two, JSON.stringify(s0));
96
96
  await shot(p, 'gap1-strip-move', '#insHero');
97
97
  await p.click('#insAct [data-mv="apply"]');
98
98
  await until(() => A.posts.some((x) => x.path === '/api/insight-moves/apply'), 3000);
99
99
  const ap = A.posts.find((x) => x.path === '/api/insight-moves/apply');
100
100
  ok('S ✓ posts the move\'s sig only, with the product', !!ap && ap.body.sig === MOVE.sig && ap.body.ws === MODEL.board.ws && Object.keys(ap.body).sort().join() === 'board,sig,ws', JSON.stringify(ap));
101
101
  ok('S the toast says what changed, with Undo', await until(() => p.evaluate((said) => { const t = document.querySelector('#toast'); return t && t.textContent.includes(said) && /Undo/.test(t.textContent); }, MOVE.said), 3000));
102
- const s1 = await until(() => p.evaluate(() => { const u = document.querySelector('#insAct [data-mv="undo"]'); return u ? { pill: (document.querySelector('#insAct .cz-pill') || {}).textContent, dn: document.querySelector('#insMv').classList.contains('dn'), apply: !!document.querySelector('#insAct [data-mv="apply"]') } : null; }), 4000);
102
+ const s1 = await until(() => p.evaluate(() => { const u = document.querySelector('#insAct [data-mv="undo"]'); return u ? { pill: (document.querySelector('#insAct .pm-badge') || {}).textContent, dn: document.querySelector('#insMv').classList.contains('dn'), apply: !!document.querySelector('#insAct [data-mv="apply"]') } : null; }), 4000);
103
103
  ok('S read again, the move is Done with Undo and no ✓', !!s1 && s1.pill === 'Done' && s1.dn && !s1.apply, JSON.stringify(s1));
104
104
  await shot(p, 'gap1-strip-done', '#insHero');
105
105
  await p.click('#insAct [data-mv="undo"]');
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.638.0",
3
+ "version": "0.640.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.638.0",
9
+ "version": "0.640.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.638.0",
3
+ "version": "0.640.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 */
@@ -1,52 +1,51 @@
1
1
  /* cozy-buddy.css — the meeting buddy (initiative meeting-buddy; pm/buddy-core.js draws it, pm/cozy-buddy.js mounts the page).
2
2
  * The page is the PMOS panel over a Meet call (a 360 × 520 frame), and the same rows sit in the recording tab's Now panel.
3
- * Colours are the cozy tokens only, so the dark theme follows cozy.css. Every class starts with mb-. */
3
+ * On the PMOS design system (design-system-meeting-pages): both pages are body.pm-ds, the buttons are the system's Button (pm-btn,
4
+ * primary for the one main action), and every colour, corner and space here is a system token. Every class starts with mb-. */
4
5
 
5
- /* the rows, shared by the Meet panel and the recording tab */
6
- .mb-r { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--cz-hair); font-size: var(--fs-label); line-height: var(--lh-label); color: var(--cz-ink); }
6
+ /* the rows, shared by the Meet panel and the recording tab: the system's Summary rows, one line apart */
7
+ .mb-r { display: flex; align-items: flex-start; gap: var(--space-12); padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink); }
7
8
  .mb-r .t { flex: 1; min-width: 0; line-height: 1.4; }
8
- .mb-r .t small { display: block; font-size: var(--fs-label); font-weight: var(--fw-regular); color: var(--cz-ink3); }
9
- .mb-r.bad .t { color: var(--cz-late); }
9
+ .mb-r .t small { display: block; font-size: var(--fs-meta); font-weight: var(--fw-regular); color: var(--muted); }
10
+ .mb-r.bad .t { color: var(--alert); }
10
11
  .mb-top { font-size: var(--fs-body); align-items: center; }
11
- .mb-sm { font-size: var(--fs-label); color: var(--cz-ink3); }
12
- .mb-src { display: block; font-size: var(--fs-label); color: var(--cz-ink3); margin-top: 2px; }
13
- .mb-spark { color: var(--cz-blueink); flex: none; padding-top: 2px; }
14
- .mb-nudge { background: var(--cz-riskbg); }
15
- .mb-draft, .mb-consent { background: var(--cz-well); }
16
- .mb-line { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--cz-card); color: var(--cz-ink2); quotes: none; }
17
- .mb-acts { display: flex; gap: 6px; flex: none; }
18
- .mb-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--cz-ink3); flex: none; opacity: .6; }
19
- .mb-dot.ok { background: var(--cz-ok); opacity: 1; }
20
- .mb-dot.warn { background: var(--cz-risk); opacity: 1; }
12
+ .mb-sm { font-size: var(--fs-meta); color: var(--muted); }
13
+ .mb-src { display: block; font-size: var(--fs-meta); color: var(--muted); margin-top: 2px; }
14
+ .mb-spark { color: var(--blue); flex: none; padding-top: 2px; } /* ✦ is PMOS speaking: always blue */
15
+ .mb-nudge { background: var(--alert-tint); }
16
+ .mb-draft, .mb-consent { background: var(--blue-tint); } /* PMOS suggests: the Suggestion tint */
17
+ .mb-line { display: block; margin-top: 6px; padding: var(--space-8) 10px; border-radius: var(--radius-md); background: var(--card); color: var(--ink); quotes: none; }
18
+ .mb-acts { display: flex; gap: 2px; flex: none; }
19
+ .mb-dot { display: inline-block; width: 10px; height: 10px; border-radius: var(--radius-pill); background: var(--line); flex: none; }
20
+ .mb-dot.ok { background: var(--leaf); } /* listening now: the one lit thing */
21
+ .mb-dot.warn { background: var(--alert); }
21
22
  .mb-r .mb-dot { margin-top: 4px; }
22
- .mb-ib { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink2); display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; cursor: pointer; font: inherit; text-decoration: none; }
23
- .mb-ib.go { background: var(--cz-solid); border-color: var(--cz-solid); color: var(--cz-onsolid); }
24
- .mb-ib:disabled { opacity: .5; cursor: default; }
25
- .mb-ib:focus-visible, .mb-pick:focus-visible, .mb-undo:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
26
- @media (hover: hover) { .mb-ib:hover { background: var(--cz-well); } .mb-ib.go:hover { background: var(--cz-blueink); } }
27
- @media (pointer: coarse) { .mb-ib { width: 44px; height: 44px; } }
28
- .mb-undo { border: 0; background: none; padding: 0; font: inherit; font-weight: var(--fw-strong); color: var(--cz-blueink); cursor: pointer; }
23
+ /* the buttons are pm-btn (komorebi.css); a link styled as one keeps no underline */
24
+ .mb-ib { text-decoration: none; padding: 0; }
25
+ @media (pointer: coarse) { .pm-ds .mb-ib.pm-btn { width: 44px; height: 44px; } }
26
+ .mb-undo { border: 0; background: none; padding: 0; font: inherit; font-weight: var(--fw-strong); color: var(--blue); cursor: pointer; }
27
+ .mb-undo:focus-visible, .mb-pick:focus-visible { outline: none; box-shadow: var(--glow); }
29
28
 
30
- /* the page over the call */
31
- .mb-page, .cz.mb-page { margin: 0; height: 100vh; overflow: hidden; background: var(--cz-card); }
32
- .mb { height: 100%; display: flex; flex-direction: column; color: var(--cz-ink); }
33
- .mb-h { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; min-height: 44px; box-sizing: border-box; border-bottom: 1px solid var(--cz-hair); font-size: var(--fs-body); }
29
+ /* the page over the call: the system's single column, on a card */
30
+ body.pm-ds.mb-page { margin: 0; height: 100vh; overflow: hidden; background: var(--card); }
31
+ .mb { height: 100%; display: flex; flex-direction: column; color: var(--ink); }
32
+ .mb-h { display: flex; align-items: center; gap: var(--space-8); padding: 6px var(--space-8) 6px 14px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: var(--fs-body); }
34
33
  .mb-h .mb-sm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
35
- .mb-h .mb-ib { border: 0; background: none; }
36
34
  .mb-b { flex: 1; min-height: 0; overflow-y: auto; }
37
35
  .mb-b > :last-child { border-bottom: 0; }
38
- .mb-msg { margin: 0; padding: 8px 14px; font-size: var(--fs-label); color: var(--cz-ink2); border-top: 1px solid var(--cz-hair); }
36
+ .mb-msg { margin: 0; padding: var(--space-8) 14px; font-size: var(--fs-meta); color: var(--ink); border-top: 1px solid var(--line); }
39
37
  .mb-msg[hidden], .mb-ask[hidden] { display: none; }
40
- .mb-ask { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--cz-hair); }
41
- .mb-ask input { flex: 1; min-width: 0; height: 32px; border-radius: 6px; border: 0; background: var(--cz-well); padding: 0 12px; font: inherit; font-size: var(--fs-label); color: var(--cz-ink); }
42
- .mb-ask input::placeholder { color: var(--cz-ink3); }
43
- .mb-pick { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--cz-hair); background: none; font: inherit; font-size: var(--fs-label); color: var(--cz-ink); text-align: left; cursor: pointer; }
38
+ .mb-ask { display: flex; align-items: center; gap: var(--space-8); padding: 10px 14px; border-top: 1px solid var(--line); }
39
+ .pm-ds .mb-ask .pm-input { flex: 1; min-width: 0; height: 32px; font-size: var(--fs-meta); }
40
+ .mb-ask .pm-input::placeholder { color: var(--muted); }
41
+ .mb-pick { display: flex; align-items: center; gap: var(--space-8); width: 100%; min-height: 44px; padding: var(--space-8) 14px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: var(--fs-label); color: var(--ink); text-align: left; cursor: pointer; }
42
+ @media (hover: hover) { .mb-pick:hover { background: var(--well); } }
44
43
  .mb-pick b { flex: 1; min-width: 0; }
45
44
  .mb-none { padding: 14px; margin: 0; }
46
45
  .folded .mb-b, .folded .mb-msg { display: none; }
47
46
  .folded .mb-h { border-bottom: 0; }
48
47
 
49
- /* in the recording tab's Now panel: the rows sit in one card */
50
- .mb-card { border-radius: 8px; background: var(--cz-card); box-shadow: 0 0 0 1px var(--cz-hair); overflow: hidden; }
48
+ /* in the recording tab's Now panel: the rows sit in one block */
49
+ .mb-card { border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--raise); overflow: hidden; }
51
50
  .mb-card > :last-child { border-bottom: 0; }
52
51
  .mb-clip { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }