create-pmos 0.639.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.639.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.639.0",
38
- "at": "2026-11-20T01:31:43.688Z",
37
+ "v": "0.640.0",
38
+ "at": "2026-11-20T01:35:34.483Z",
39
39
  "f": 4,
40
40
  "prs": [
41
41
  {
@@ -49,6 +49,12 @@
49
49
  "t": "Goals and Intelligence on the PMOS design system",
50
50
  "s": "Goals and Intelligence on the PMOS design system",
51
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"
52
58
  }
53
59
  ]
54
60
  },
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@496c7465
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:31:39Z"}
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:31:39Z"}
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:31:39Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-20T01:35:30Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
- "v": "0.639.0",
4
- "at": "2026-11-20T01:31:43.688Z",
3
+ "v": "0.640.0",
4
+ "at": "2026-11-20T01:35:34.483Z",
5
5
  "f": 4,
6
6
  "prs": [
7
7
  {
@@ -15,6 +15,12 @@
15
15
  "t": "Goals and Intelligence on the PMOS design system",
16
16
  "s": "Goals and Intelligence on the PMOS design system",
17
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"
18
24
  }
19
25
  ]
20
26
  },
@@ -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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.639.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.639.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.639.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; }
@@ -37,7 +37,7 @@ function draw() {
37
37
  let body = buddyHtml(m);
38
38
  if (!m.listening && !m.paused && S.ev) {
39
39
  body = `<div class="mb-r mb-start"><span class="t"><small>${esc(m.title)}</small>PMOS is not listening to this meeting.</span>`
40
- + `<button type="button" class="mb-ib go" data-mb="listen" aria-label="Start listening in PMOS" title="Start listening in PMOS"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M8 5v14l11-7z"/></svg></button></div>` + body;
40
+ + `<button type="button" class="mb-ib pm-btn go primary" data-mb="listen" aria-label="Start listening in PMOS" title="Start listening in PMOS"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M8 5v14l11-7z"/></svg></button></div>` + body;
41
41
  }
42
42
  if (body !== S.html) { S.html = body; $('mbBody').innerHTML = body; }
43
43
  $('mbAsk').hidden = !S.ev || S.folded;
@@ -1,21 +1,23 @@
1
1
  /* pm/cozy-rec-tab.css — the recording tab (batch 12 item 1; canvas In development, XrtA1Tab, XrtA7Room, XrtA6States, XrtA5PhoneRec).
2
- * Every surface is a rounded card with a 12px gutter. The dark stage is only for a shared screen; in the room the page stays light.
3
- * Token vars from cozy.css only. Motion: the red dot breathes while recording; nothing else moves but the clock. */
2
+ * On the PMOS design system (design-system-meeting-pages): body.pm-ds, a single column of blocks with the system's 12px gutter, panel
3
+ * corner and raise. The dark stage is only for a shared screen: cozy-rec-tab.js then makes .rt-main a Dark-theme island (pm-ds dark),
4
+ * so every token inside it is the dark one; in the room the page stays light. Only system tokens and type roles. Motion: the red dot
5
+ * breathes while recording; nothing else moves but the clock. */
4
6
  body.rt-page { height: 100vh; overflow: hidden; }
5
- .rt { box-sizing: border-box; height: 100vh; padding: 12px; display: flex; gap: 12px; }
6
- .rt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 20px; background: var(--cz-card); box-shadow: var(--cz-vlift); padding: 14px 20px 18px; box-sizing: border-box; }
7
- .rt-side { width: 400px; flex: none; border-radius: 20px; background: var(--cz-card); box-shadow: var(--cz-vlift); overflow: auto; }
7
+ .rt { box-sizing: border-box; height: 100vh; padding: var(--space-12); display: flex; gap: var(--space-12); }
8
+ .rt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: var(--radius-panel); background: var(--card); color: var(--ink); box-shadow: var(--raise); padding: 14px 20px 18px; box-sizing: border-box; }
9
+ .rt-side { width: 400px; flex: none; border-radius: var(--radius-panel); background: var(--card); box-shadow: var(--raise); overflow: auto; }
8
10
  .rt-side[hidden], .rt-ask[hidden], .rt-line[hidden], .rt-bar[hidden], .rt-msg[hidden], .rt-alert[hidden], .rt-past[hidden] { display: none; }
9
11
 
10
12
  /* the dark stage: only while a screen is shared */
11
- .rt[data-mode="screen"] .rt-main { background: var(--cz-c-1b1d21); color: var(--cz-c-eceef1); }
13
+ .rt[data-mode="screen"] .rt-main { background: var(--ground); color: var(--ink); } /* .rt-main is pm-ds dark here: the dark ground */
12
14
 
13
15
  .rt-hd { display: flex; align-items: center; gap: 10px; min-height: 40px; }
14
- .rt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cz-dot-q); flex: none; }
15
- .rt[data-mode="screen"] .rt-dot, .rt[data-mode="room"] .rt-dot { background: var(--cz-dot-red); animation: rt-breathe 2.4s ease-in-out infinite; }
16
- .rt-clock { font-size: var(--fs-row); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; color: var(--cz-ink3); line-height: var(--lh-row); }
17
- .rt[data-mode="screen"] .rt-clock, .rt[data-mode="room"] .rt-clock { color: var(--cz-dot-red); }
18
- .rt.late .rt-clock, .rt-past { color: var(--cz-dot-risk); }
16
+ .rt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
17
+ .rt[data-mode="screen"] .rt-dot, .rt[data-mode="room"] .rt-dot { background: var(--alert); animation: rt-breathe 2.4s ease-in-out infinite; }
18
+ .rt-clock { font-size: var(--fs-row); font-weight: var(--fw-strong); font-variant-numeric: tabular-nums; color: var(--muted); line-height: var(--lh-row); }
19
+ .rt[data-mode="screen"] .rt-clock, .rt[data-mode="room"] .rt-clock { color: var(--alert); }
20
+ .rt.late .rt-clock, .rt-past { color: var(--alert); }
19
21
  .rt-title { margin: 0; font-size: var(--fs-row); font-weight: var(--fw-strong); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: var(--lh-row); }
20
22
  .rt-past { font-size: var(--fs-row); font-weight: var(--fw-strong); line-height: var(--lh-row); }
21
23
  .rt-ad { display: inline-flex; align-items: center; flex: none; } /* Adler with headphones (AdH5) */
@@ -23,63 +25,63 @@ body.rt-page { height: 100vh; overflow: hidden; }
23
25
  @keyframes rt-breathe { 0%, 100% { opacity: 1 } 50% { opacity: .45 } }
24
26
  @media (prefers-reduced-motion: reduce) { .rt-dot { animation: none !important; } }
25
27
 
26
- .rt-alert { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--cz-riskbg); color: var(--cz-risk); font-weight: var(--fw-strong); font-size: var(--fs-row); line-height: var(--lh-row); }
28
+ .rt-alert { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: var(--radius-md); background: var(--alert-tint); color: var(--alert); font-weight: var(--fw-strong); font-size: var(--fs-row); line-height: var(--lh-row); }
27
29
  .rt-alert span { flex: 1; }
28
30
 
29
31
  .rt-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 10px; position: relative; }
30
32
  .rt-own { flex: 1; min-height: 0; display: flex; }
31
33
  .rt-own:empty { display: none; }
32
- .rt-scr { flex: 1; min-height: 0; border-radius: 12px; background: var(--cz-c-17191c); display: flex; align-items: center; justify-content: center; overflow: hidden; }
34
+ .rt-scr { flex: 1; min-height: 0; border-radius: var(--radius-md); background: var(--ground-night); display: flex; align-items: center; justify-content: center; overflow: hidden; }
33
35
  .rt-scr video { max-width: 100%; max-height: 100%; display: block; }
34
- .rt-scr.off { flex-direction: column; gap: 12px; background: var(--cz-c-2a2d33); }
35
- .rt-scr.off p { margin: 0; font-size: var(--fs-row); font-weight: var(--fw-strong); color: var(--cz-c-9ea4ad); line-height: var(--lh-row); }
36
+ .rt-scr.off { flex-direction: column; gap: var(--space-12); background: var(--card); }
37
+ .rt-scr.off p { margin: 0; font-size: var(--fs-row); font-weight: var(--fw-strong); color: var(--muted); line-height: var(--lh-row); }
36
38
  .rt-wait { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
37
39
  .rt-wait h2 { margin: 0; font-size: var(--fs-panel); font-weight: var(--fw-strong); line-height: var(--lh-panel); }
38
- .rt-wait p { margin: 0 0 8px; font-size: var(--fs-body); color: var(--cz-ink3); max-width: 420px; line-height: var(--lh-body); }
40
+ .rt-wait p { margin: 0 0 8px; font-size: var(--fs-body); color: var(--muted); max-width: 420px; line-height: var(--lh-body); }
39
41
 
40
42
  /* the meeting so far: one mark per highlight, a card with the moment on hover or focus */
41
43
  .rt-line { position: relative; height: 28px; margin: 12px 4px 0; }
42
- .rt-track { position: absolute; left: 0; right: 0; top: 13px; height: 3px; border-radius: 2px; background: var(--cz-hair); }
43
- .rt-track::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--rt-now, 0%); border-radius: 2px; background: color-mix(in srgb, var(--cz-blue) 70%, transparent); }
44
- .rt-nowmark { position: absolute; left: var(--rt-now, 0%); top: 4px; width: 2px; height: 20px; border-radius: 1px; background: var(--cz-dot-red); }
44
+ .rt-track { position: absolute; left: 0; right: 0; top: 13px; height: 3px; border-radius: 2px; background: var(--line); }
45
+ .rt-track::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--rt-now, 0%); border-radius: 2px; background: color-mix(in srgb, var(--blue) 70%, transparent); }
46
+ .rt-nowmark { position: absolute; left: var(--rt-now, 0%); top: 4px; width: 2px; height: 20px; border-radius: 1px; background: var(--alert); }
45
47
  .rt-mk { position: absolute; left: var(--rt-x); top: 0; transform: translateX(-50%); }
46
- .rt-star { width: 28px; height: 28px; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--cz-dot-risk); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
48
+ .rt-star { width: 28px; height: 28px; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
47
49
  .rt-star svg { fill: currentColor; stroke: none; }
48
- .rt-star:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
49
- .rt-hv { display: none; position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 240px; padding: 10px; border-radius: 14px; background: var(--cz-card); color: var(--cz-ink); box-shadow: var(--cz-sheet); font-size: var(--fs-body); z-index: 3; flex-direction: column; gap: 4px; line-height: var(--lh-body); }
50
- .rt-hv b { font-size: var(--fs-meta); color: var(--cz-ink3); line-height: var(--lh-meta); }
51
- .rt-hv img { width: 100%; border-radius: 8px; margin-top: 4px; display: block; }
50
+ .rt-star:focus-visible { outline: none; box-shadow: var(--glow); }
51
+ .rt-hv { display: none; position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 240px; padding: 10px; border-radius: var(--radius-md); background: var(--card); color: var(--ink); box-shadow: var(--lift); font-size: var(--fs-body); z-index: 3; flex-direction: column; gap: 4px; line-height: var(--lh-body); }
52
+ .rt-hv b { font-size: var(--fs-meta); color: var(--muted); line-height: var(--lh-meta); }
53
+ .rt-hv img { width: 100%; border-radius: var(--radius-sm); margin-top: 4px; display: block; }
52
54
  .rt-mk:hover .rt-hv, .rt-mk:focus-within .rt-hv { display: flex; }
53
55
 
54
- .rt-msg { margin: 8px 0 0; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--cz-ink3); text-align: center; line-height: var(--lh-label); }
55
- .rt[data-mode="screen"] .rt-msg { color: var(--cz-c-9ea4ad); }
56
+ .rt-msg { margin: 8px 0 0; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--muted); text-align: center; line-height: var(--lh-label); }
56
57
 
57
58
  /* the bar: icon only; Stop is the one red press */
58
- .rt-bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
59
+ .rt-bar { display: flex; align-items: center; justify-content: center; gap: var(--space-12); margin-top: var(--space-12); }
59
60
  .rt-slot { display: contents; }
60
- .rt-b { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
61
+ .rt-b { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
61
62
  .rt-b svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
62
- .rt-b.on { background: var(--cz-ink); color: var(--cz-card); }
63
- .rt-b.dark { background: var(--cz-ink); color: var(--cz-card); border-color: transparent; }
63
+ .rt-b.on { background: var(--ink); color: var(--card); }
64
+ .rt-b.dark { background: var(--ink); color: var(--card); border-color: transparent; }
64
65
  .rt-b.dark svg { fill: currentColor; }
65
- .rt-b.red { width: 64px; border-radius: 26px; background: var(--cz-dot-red); color: var(--cz-onsolid); border-color: transparent; margin-left: 12px; }
66
+ .rt-b.red { width: 64px; border-radius: var(--radius-pill); background: var(--alert); color: var(--card); border-color: transparent; margin-left: var(--space-12); }
66
67
  .rt-b.red svg { fill: currentColor; stroke: none; }
67
68
  .rt-b.big { width: 64px; height: 64px; border-radius: 50%; margin: 0; }
68
- .rt-b:focus-visible, .rt-t:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
69
+ .rt-b:focus-visible, .rt-t:focus-visible { outline: none; box-shadow: var(--glow); }
69
70
  .rt-b:disabled { opacity: .5; cursor: default; }
70
- .rt[data-mode="screen"] .rt-b:not(.red):not(.on) { background: var(--cz-c-33363c); color: var(--cz-c-eceef1); border-color: transparent; }
71
+ .rt[data-mode="screen"] .rt-b:not(.red):not(.on) { background: var(--card); color: var(--ink); border-color: transparent; }
71
72
  .rt-alert .rt-b { width: 36px; height: 36px; background: transparent; border: 0; color: inherit; }
72
- .rt-scr.off .rt-b { background: var(--cz-c-eceef1); color: var(--cz-c-17191c); }
73
+ .rt-scr.off .rt-b { background: var(--ink); color: var(--ground); }
73
74
 
74
75
  /* Stop asks first; the next meeting asks once */
75
- .rt-ask { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--cz-c-17191c) 35%, transparent); z-index: 5; }
76
- .rt-askc { width: min(420px, calc(100vw - 32px)); box-sizing: border-box; padding: 20px; border-radius: 20px; background: var(--cz-card); color: var(--cz-ink); box-shadow: var(--cz-sheet); }
76
+ .rt-ask { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ground-night) 35%, transparent); z-index: 5; }
77
+ .rt-askc { width: min(420px, calc(100vw - 32px)); box-sizing: border-box; padding: 20px; border-radius: var(--radius-card); background: var(--card); color: var(--ink); box-shadow: var(--lift); }
77
78
  .rt-askc b { font-size: var(--fs-body); line-height: var(--lh-body); }
78
- .rt-askc p { margin: 8px 0 0; font-size: var(--fs-body); color: var(--cz-ink2); line-height: var(--lh-body); }
79
- .rt-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
80
- .rt-t { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font: var(--fw-strong) var(--fs-row)/var(--lh-row) var(--cz-sans); cursor: pointer; }
81
- .rt-t.red { background: var(--cz-dot-red); color: var(--cz-onsolid); border-color: transparent; }
82
- .rt-t.blue { background: var(--cz-solid); color: var(--cz-onsolid); border-color: transparent; }
79
+ .rt-askc p { margin: var(--space-8) 0 0; font-size: var(--fs-body); color: var(--ink); line-height: var(--lh-body); }
80
+ .rt-acts { display: flex; justify-content: flex-end; gap: var(--space-8); margin-top: var(--space-16); }
81
+ /* the two answers are the system's Yes / No pair: outline + one filled answer, with words because Stop cannot be undone */
82
+ .rt-t { min-height: 40px; padding: 0 var(--space-16); border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: var(--fw-strong) var(--fs-row)/var(--lh-row) var(--font-sans); cursor: pointer; }
83
+ .rt-t.red { background: var(--alert); color: var(--card); border-color: transparent; }
84
+ .rt-t.blue { background: var(--blue); color: var(--on-blue); border-color: transparent; }
83
85
 
84
86
  /* a phone: the recording view in the same tab; the side card goes under the stage */
85
87
  @media (max-width: 760px) {
@@ -105,6 +105,7 @@ function drawStage() {
105
105
  const own = mine || Object.assign(document.createElement('div'), { className: 'rt-own' });
106
106
  if (!mine) st.prepend(own);
107
107
  $('rt').dataset.mode = S.mode;
108
+ { const main = $('rt').querySelector('.rt-main'); if (main) main.classList.toggle('dark', S.mode === 'screen'); } // a shared screen: the stage is a Dark-theme island (pm-ds dark)
108
109
  const scr = C.screen();
109
110
  if (S.mode === 'screen') {
110
111
  if (scr.track) {
@@ -0,0 +1,145 @@
1
+ /* pm/cozy-welcome.css — the Welcome page (premium-welcome.html, premium-welcome.js; initiative premium-welcome), on the PMOS design
2
+ * system (design-system-meeting-pages). The page no longer loads premium.css: body.pm-ds, the single-column layout, one pm-block per
3
+ * step, the system's inputs and Bar. Every colour, corner, space and shadow is a system token; sizes and weights are the type roles.
4
+ * The step buttons keep their words: a first-run step needs to say where it goes (Next, Import 12 initiatives, Open Home). The
5
+ * Claude-setup panel (cozy-claude-setup.js, cs-*) is drawn here too, so its rules moved with the page. */
6
+ body.pm-ds.wl-page { min-height: 100vh; font-variant-numeric: tabular-nums; overflow-x: hidden; }
7
+ .wl-page h1, .wl-page h2, .wl-page h3, .wl-page p { margin: 0; }
8
+ :where(.wl-page) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
9
+ .wl-page :focus-visible { outline: none; box-shadow: var(--glow); }
10
+ .wl-page .i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
11
+ .wl-page .note { font-size: var(--fs-meta); color: var(--muted); line-height: var(--lh-meta); }
12
+ .wl-page .mono, .wl-page code { font-family: var(--font-mono); }
13
+ .wl-page .chip { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-8); border-radius: var(--radius-pill); background: var(--well); color: var(--muted); font-size: var(--fs-badge); font-weight: var(--fw-regular); line-height: var(--lh-badge); white-space: nowrap; }
14
+
15
+ /* the toast: the system's Toast, ink on the page */
16
+ .wl-page .toast { position: fixed; z-index: 50; left: 50%; bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 24px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: var(--space-12); padding: 10px var(--space-16); border-radius: var(--radius-md); background: var(--ink); color: var(--card); box-shadow: var(--lift); font-size: var(--fs-meta); line-height: var(--lh-meta); transition: opacity var(--duration-enter) var(--ease-out), transform var(--duration-enter) var(--ease-out); }
17
+ .wl-page .toast:empty { display: none; }
18
+ .wl-page .toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
19
+ .wl-page .toast span { overflow-wrap: anywhere; }
20
+
21
+ /* the column */
22
+ .wl-in { position: relative; max-width: 700px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top, 0px)) var(--space-16) calc(40px + env(safe-area-inset-bottom, 0px)); }
23
+ .wl-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); }
24
+ .wl-brand { height: 44px; display: inline-flex; align-items: center; gap: var(--space-12); font-weight: var(--fw-strong); }
25
+ .wl-brand small { font-size: var(--fs-meta); font-weight: var(--fw-regular); line-height: var(--lh-meta); color: var(--muted); }
26
+
27
+ /* the step buttons: primary blue, outline for the second choice, quiet for Not now and Back */
28
+ .wl-page .wl-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); height: 40px; padding: 0 var(--space-16); border-radius: var(--radius-sm); background: var(--blue); color: var(--on-blue); font-size: var(--fs-row); font-weight: var(--fw-strong); line-height: var(--lh-row); white-space: nowrap; transition: background var(--duration-quick) var(--ease-out); }
29
+ .wl-page .wl-btn:active { transform: translateY(1px); }
30
+ .wl-page .wl-btn:disabled { opacity: .4; pointer-events: none; }
31
+ .wl-page .wl-btn.alt { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
32
+ .wl-page .wl-btn.quiet { background: none; color: var(--ink); padding: 0 var(--space-12); }
33
+ @media (hover: hover) { .wl-page .wl-btn.alt:hover, .wl-page .wl-btn.quiet:hover { background: var(--well); } }
34
+ .wl-page .wl-btn svg { width: 16px; height: 16px; }
35
+
36
+ /* the steps: the system's Bar, one per step; the step you are on is the one lit (leaf) */
37
+ .wl-steps { display: flex; gap: var(--space-8); list-style: none; margin: var(--space-24) 0 0; padding: 0; }
38
+ .wl-steps li { flex: 1; min-width: 0; }
39
+ .wl-steps b { display: block; height: 4px; border-radius: var(--radius-pill); background: var(--well); margin-bottom: var(--space-8); overflow: hidden; }
40
+ .wl-steps b i { display: block; height: 100%; width: 0; background: var(--muted); border-radius: var(--radius-pill); transition: width var(--duration-leaf) var(--ease-drift); }
41
+ .wl-steps li[data-s="done"] b i { width: 100%; background: var(--muted); }
42
+ .wl-steps li[data-s="now"] b i { width: 100%; background: var(--leaf); }
43
+ .wl-steps span { display: block; font-size: var(--fs-label); font-weight: var(--fw-strong); line-height: var(--lh-label); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
44
+ .wl-steps li[data-s="now"] span { color: var(--ink); }
45
+ @media (prefers-reduced-motion: reduce) { .wl-steps b i { transition: none; } }
46
+
47
+ /* the step: one block */
48
+ .pm-ds .wl-card.pm-block { margin-top: var(--space-16); padding: var(--space-32); display: block; }
49
+ .wl-card h1 { font-size: var(--fs-page); line-height: var(--lh-page); font-weight: var(--fw-strong); text-wrap: balance; }
50
+ .wl-lede { margin-top: 10px; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
51
+ .wl-lede:empty { display: none; }
52
+ .wl-sec { display: flex; align-items: center; gap: 10px; margin: var(--space-32) 0 10px; font-size: var(--fs-section); font-weight: var(--fw-strong); line-height: var(--lh-section); color: var(--ink); }
53
+ .wl-sec .chip { margin-left: auto; }
54
+ .wl-sec0 { margin: 0; }
55
+
56
+ /* fields: the system's Input */
57
+ .wl-f { display: grid; gap: var(--space-16); margin-top: var(--space-24); }
58
+ .wl-f label, .wl-edit label { display: grid; gap: 6px; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--ink); line-height: var(--lh-label); }
59
+ .wl-f label em { font-style: normal; font-weight: var(--fw-regular); color: var(--muted); margin-left: 4px; }
60
+ .wl-f input, .wl-f select, .wl-f textarea, .wl-edit input, .wl-edit select, .wl-q select, .wl-q input, .wl-first-task input {
61
+ height: 40px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); padding: 0 var(--space-12); font: inherit; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink); min-width: 0; width: 100%; }
62
+ .wl-f textarea { height: auto; min-height: 118px; padding: var(--space-12); resize: vertical; }
63
+ .wl-f input:focus, .wl-f select:focus, .wl-f textarea:focus, .wl-edit input:focus, .wl-edit select:focus, .wl-q select:focus, .wl-q input:focus, .wl-first-task input:focus { outline: none; box-shadow: var(--glow); }
64
+ @media (pointer: coarse) { .wl-f input, .wl-f select, .wl-edit input, .wl-edit select, .wl-q select, .wl-q input, .wl-first-task input { font-size: var(--fs-field); min-height: 44px; } }
65
+
66
+ /* rows: the system's ListRow on the well */
67
+ .wl-list { display: grid; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
68
+ .wl-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px var(--space-16); border-radius: var(--radius-md); background: var(--well); width: 100%; text-align: left; }
69
+ @media (hover: hover) { button.wl-row:hover { box-shadow: inset 0 0 0 1px var(--line); } }
70
+ .wl-row > .wl-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink); }
71
+ .wl-row b { display: block; font-weight: var(--fw-strong); overflow-wrap: anywhere; }
72
+ .wl-row small { display: block; margin-top: 2px; font-size: var(--fs-meta); color: var(--muted); line-height: var(--lh-meta); }
73
+ .wl-row .path { font: var(--fw-regular) var(--fs-meta)/var(--lh-meta) var(--font-mono); color: var(--muted); overflow-wrap: anywhere; }
74
+ .wl-row.off { opacity: .62; }
75
+ .wl-page .wl-tog { min-height: 32px; padding: 0 var(--space-12); border-radius: var(--radius-pill); display: inline-flex; align-items: center; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-label); font-weight: var(--fw-strong); line-height: var(--lh-label); white-space: nowrap; }
76
+ button.wl-row[aria-pressed="true"] .wl-tog { background: var(--leaf); color: var(--card); box-shadow: none; } /* chosen: the switch's leaf */
77
+ .wl-n, .wl-row .wl-ic.wl-n { font: var(--fw-strong) var(--fs-label)/var(--lh-label) var(--font-mono); color: var(--ink); }
78
+ .wl-edit { display: grid; gap: 10px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin: 10px 0 0; }
79
+ .wl-ed { background: var(--well); border-radius: var(--radius-md); padding: 14px var(--space-16); }
80
+ .wl-ed .wl-row { padding: 0; background: none; border-radius: 0; }
81
+ .wl-ed .acts { display: flex; gap: 6px; align-items: center; }
82
+ .wl-ed.off b { text-decoration: line-through; text-decoration-color: var(--muted); }
83
+ .wl-page .wl-ed .wgo, .wl-page .wl-q .wgo { flex: none; white-space: nowrap; min-height: 32px; padding: 0 var(--space-12); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-label); font-weight: var(--fw-strong); line-height: var(--lh-label); }
84
+ @media (pointer: coarse) { .wl-ed .wgo, .wl-q .wgo { min-height: 44px; padding: 0 var(--space-16); } .wl-page .wl-btn.quiet { min-height: 44px; } }
85
+
86
+ /* what PMOS will set: the Detail block's fields, flat and dashed (later) */
87
+ .wl-def { margin-top: var(--space-24); border-radius: var(--radius-md); border: 1px dashed var(--line); padding: var(--space-16) 18px; }
88
+ .wl-def dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; margin: 10px 0 0; font-size: var(--fs-meta); line-height: var(--lh-meta); }
89
+ .wl-def dt { color: var(--muted); font-weight: var(--fw-regular); }
90
+ .wl-def dd { margin: 0; color: var(--ink); }
91
+
92
+ .wl-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: var(--space-32); flex-wrap: wrap; }
93
+ .wl-foot .r { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
94
+ .wl-lock { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; }
95
+ .wl-lock svg { width: 16px; height: 16px; margin-top: 2px; }
96
+ .wl-scan { display: grid; gap: var(--space-12); margin-top: var(--space-24); }
97
+ .wl-scan div { display: flex; gap: var(--space-12); align-items: center; color: var(--ink); }
98
+ .wl-scan svg { width: 18px; height: 18px; color: var(--muted); }
99
+ .wl-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blue); animation: wl-spin .8s linear infinite; flex: none; } /* PMOS working: the one loop allowed */
100
+ @keyframes wl-spin { to { transform: rotate(360deg); } }
101
+ @media (prefers-reduced-motion: reduce) { .wl-spin { animation: none; } }
102
+ .wl-about { margin-top: 18px; }
103
+ .wl-about summary { cursor: pointer; font-size: var(--fs-label); font-weight: var(--fw-strong); color: var(--ink); padding: var(--space-8) 0; line-height: var(--lh-label); }
104
+ .wl-about ul { margin: var(--space-8) 0 0; padding-left: 18px; font-size: var(--fs-meta); color: var(--muted); line-height: var(--lh-meta); display: grid; gap: 6px; }
105
+ .wl-about code { font: var(--fw-regular) var(--fs-meta)/var(--lh-meta) var(--font-mono); }
106
+ .wl-first { margin-top: var(--space-24); }
107
+ .wl-first-note { margin: var(--space-12) 0 14px; }
108
+ .wl-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
109
+ .wl-err, .wl-bad, .wl-first-err { color: var(--alert); font-size: var(--fs-meta); line-height: var(--lh-meta); margin: var(--space-12) 0 0; }
110
+ .wl-add { margin-top: 10px; }
111
+ .wl-bh { display: flex; align-items: center; gap: 10px; margin: 14px 0 var(--space-8); }
112
+ .wl-qs { display: grid; gap: 14px; margin-top: 14px; }
113
+ .wl-q { display: grid; gap: var(--space-8); }
114
+ .wl-q .wgo { justify-self: start; }
115
+ .wl-in h1:focus { outline: none; box-shadow: none; }
116
+ .wl-ad { max-width: 420px; margin: 0 0 var(--space-12); }
117
+ .wl-hi { margin: 0 0 6px; font-weight: var(--fw-strong); color: var(--ink); }
118
+ .wl-first-task { display: grid; gap: var(--space-12); margin: var(--space-16) 0; }
119
+ .wl-first-task label { display: grid; gap: 6px; }
120
+ .wl-source-progress { margin: var(--space-12) 0; }
121
+
122
+ /* the Claude-setup panel (cozy-claude-setup.js), drawn inside a step */
123
+ .cs-panel { display: grid; gap: 14px; max-width: 100%; }
124
+ .cs-panel p { margin: 0; }
125
+ .cs-label { display: grid; gap: 6px; }
126
+ .cs-label select { max-width: 100%; min-height: 44px; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-8); font: inherit; }
127
+ .cs-actions { display: flex; flex-wrap: wrap; gap: var(--space-8); }
128
+ .cs-term { height: 320px; width: 100%; min-width: 0; overflow: hidden; border-radius: var(--radius-md); }
129
+ .cs-term .xterm { height: 100%; }
130
+ .cs-checklist { padding: var(--space-16); margin: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-md); font-size: var(--fs-body); line-height: var(--lh-body); }
131
+ .cs-checklist p { margin: var(--space-8) 0; }
132
+ .cs-checklist a { display: inline-block; min-height: 44px; padding: 10px 0; color: var(--blue); text-decoration: underline; }
133
+
134
+ @media (max-width: 640px) {
135
+ .pm-ds .wl-card.pm-block { padding: 22px 18px; border-radius: var(--radius-card); }
136
+ .wl-brand small { display: none; }
137
+ .wl-edit { grid-template-columns: minmax(0, 1fr); }
138
+ .wl-row { grid-template-columns: auto minmax(0, 1fr); }
139
+ .wl-row > :nth-child(3) { grid-column: 2; justify-self: start; }
140
+ .wl-row > :nth-child(3):empty { display: none; }
141
+ .wl-foot { position: sticky; bottom: 0; margin: 28px -18px -22px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-card) var(--radius-card); z-index: 2; }
142
+ .wl-foot .r { flex: 1; justify-content: flex-end; }
143
+ .wl-foot .wl-btn { flex: 1; }
144
+ .wl-foot .wl-btn.quiet { flex: 0 0 auto; }
145
+ }
@@ -0,0 +1,19 @@
1
+ /* ds-bridge.css: the bridge from the cozy tokens to the PMOS design system (initiative design-system-meeting-pages).
2
+ * A page that has moved to the system loads brand.css, charts.css and komorebi.css, puts pm-ds on its root, then loads this sheet.
3
+ * Shared modules (rows, sheets, the nav, the presenter) still name the old --cz-* tokens. Here those names point at the system's
4
+ * tokens, so what the shared modules draw on a moved page follows the system too. Only on body.pm-ds: a page without pm-ds is
5
+ * unchanged. Selectors are one step stronger than cozy.css's dark block so the bridge holds in both themes. Remove a name when no
6
+ * shared module uses it any more. */
7
+ :root body.pm-ds, :root body.pm-ds .cz, :root body.pm-ds .pm-ds { /* a nested pm-ds (a Dark-theme island) resolves the names again */
8
+ --cz-ink: var(--ink); --cz-ink2: var(--ink); --cz-ink3: var(--muted);
9
+ --cz-card: var(--card); --cz-well: var(--well); --cz-well2: var(--well); --cz-hair: var(--line);
10
+ --cz-blue: var(--blue); --cz-blueink: var(--blue); --cz-bluebg: var(--blue-tint);
11
+ --cz-late: var(--alert); --cz-latebg: var(--alert-tint); --cz-risk: var(--alert); --cz-riskbg: var(--alert-tint);
12
+ --cz-red: var(--alert); --cz-redbg: var(--alert-tint); --cz-ok: var(--muted); --cz-okbg: var(--well);
13
+ --cz-dot-late: var(--alert); --cz-dot-risk: var(--alert); --cz-dot-red: var(--alert); --cz-dot-ok: var(--muted); --cz-dot-q: var(--line);
14
+ --cz-ground: var(--ground);
15
+ --cz-lift: var(--lift); --cz-float: var(--lift); --cz-sheet: var(--lift); --cz-vlift: var(--raise);
16
+ --cz-sans: var(--font-sans); --cz-mono: var(--font-mono);
17
+ --cz-done: var(--blue); --cz-bubble: var(--blue-tint); --cz-solid: var(--blue); --cz-onsolid: var(--on-blue);
18
+ }
19
+ :root body.pm-ds :focus-visible { outline: none; box-shadow: var(--glow); }
@@ -103,7 +103,12 @@ const notNow = () => run('dismiss', async () => {
103
103
  });
104
104
 
105
105
  /* ── views ─────────────────────────────────────────────────────────────────────────────────────── */
106
- const btn = (act, label, o = {}) => `<button class="wl-btn${o.alt ? ' alt' : ''}${o.quiet ? ' quiet' : ''}" type="button" data-w="${act}"${o.attrs || ''}${dis(o.off || (S.busy && !o.free))}${S.busy === o.busy ? ' aria-busy="true"' : ''}>${S.busy === o.busy && o.busyText ? spin(o.busyText) : (o.lead || '') + label}</button>`;
106
+ /* Icon-only for a step that can be taken back (Komorebi Button v7): Open Home and Back show an icon, the label is the tooltip and
107
+ * aria-label. The answers to a step that cannot be undone (Import 12 initiatives) keep their words. */
108
+ const ICON_ONLY = { finish: '<svg class="pm-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 11l9-7 9 7"/><path d="M5 10v10h14V10"/></svg>', back: '<svg class="pm-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M19 12H5M11 6l-6 6 6 6"/></svg>' };
109
+ const btn = (act, label, o = {}) => ICON_ONLY[act] && !(S.busy === o.busy && o.busyText)
110
+ ? `<button class="pm-btn ${act === 'finish' ? 'primary' : 'outline'}" type="button" data-w="${act}" aria-label="${esc(label)}" title="${esc(label)}"${o.attrs || ''}${dis(o.off || (S.busy && !o.free))}>${ICON_ONLY[act]}</button>`
111
+ : `<button class="wl-btn${o.alt ? ' alt' : ''}${o.quiet ? ' quiet' : ''}" type="button" data-w="${act}"${o.attrs || ''}${dis(o.off || (S.busy && !o.free))}${S.busy === o.busy ? ' aria-busy="true"' : ''}>${S.busy === o.busy && o.busyText ? spin(o.busyText) : (o.lead || '') + label}</button>`;
107
112
  const foot = (left, right) => `<div class="wl-foot"><div>${left}</div><div class="r">${right}</div></div>`;
108
113
  const err = () => (S.error ? `<p class="wl-err" role="alert">${esc(S.error)}</p>` : '');
109
114
 
@@ -7,16 +7,21 @@
7
7
  <title>Audience · PMOS</title>
8
8
  <!-- The audience tab (batch 12 item 1, S3; canvas XrtA9Present): what the call sees while the PM presents from the recording tab. It shows
9
9
  the stage only. The recording tab's presenter (pm/cozy-rec-present.js) says what to show over BroadcastChannel('pmos-present');
10
- this page reads the material itself and draws it (pm/cozy-aud.js). It has no controls and writes nothing. -->
10
+ this page reads the material itself and draws it (pm/cozy-aud.js). It has no controls and writes nothing.
11
+ It is on the PMOS design system (design-system-meeting-pages): pm-ds, always in the dark theme, a single-column Stage. -->
11
12
  <link rel="preload" href="/vendor/plus-jakarta-sans-var.woff2" as="font" type="font/woff2" crossorigin />
12
13
  <link rel="stylesheet" href="/pm/cozy.css" />
14
+ <link rel="stylesheet" href="/pm/brand.css" />
15
+ <link rel="stylesheet" href="/pm/charts.css" />
16
+ <link rel="stylesheet" href="/pm/komorebi.css" />
17
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
13
18
  <link rel="stylesheet" href="/pm/premium-vw-slides.css" />
14
19
  <link rel="stylesheet" href="/pm/cozy-mtg-present.css" />
15
20
  <link rel="stylesheet" href="/pm/cozy-aud.css" />
16
21
  </head>
17
- <body class="cz vzx-audw">
18
- <main class="vzx-aud" id="aud" data-kind="" aria-live="polite"></main>
19
- <div class="vzx-ft" id="audFt"><span></span><span></span></div>
22
+ <body class="cz pm-ds dark vzx-audw">
23
+ <main class="vzx-aud pm-stage" id="aud" data-kind="" aria-live="polite"></main>
24
+ <div class="vzx-ft pm-meta" id="audFt"><span></span><span></span></div>
20
25
  <script type="module" src="/pm/cozy-aud.js"></script>
21
26
  </body>
22
27
  </html>
@@ -7,20 +7,25 @@
7
7
  <title>PMOS · Meeting buddy</title>
8
8
  <!-- The meeting buddy (initiative meeting-buddy; Exploring 2, "Meeting buddy and one-press start", boards 1, 2 and 4). The PMOS extension frames
9
9
  it over a Google Meet call: /premium-buddy.html?meet=<abc-defg-hij>&mtitle=<tab title>. It can also name its meeting: ?event=<id>&date=YYYY-MM-DD.
10
- Only the PM sees it. Its links open in a new tab, so the call never navigates away. pm/cozy-buddy.js draws it. -->
10
+ Only the PM sees it. Its links open in a new tab, so the call never navigates away. pm/cozy-buddy.js draws it. It is on the PMOS design system (design-system-meeting-pages): pm-ds, the Summary block
11
+ in a single column, pm-btn buttons and a pm-input ask line. -->
11
12
  <base target="_blank" />
12
13
  <link rel="preload" href="/vendor/plus-jakarta-sans-var.woff2" as="font" type="font/woff2" crossorigin />
13
14
  <link rel="stylesheet" href="/pm/cozy.css" />
15
+ <link rel="stylesheet" href="/pm/brand.css" />
16
+ <link rel="stylesheet" href="/pm/charts.css" />
17
+ <link rel="stylesheet" href="/pm/komorebi.css" />
18
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
14
19
  <link rel="stylesheet" href="/pm/cozy-buddy.css" />
15
20
  </head>
16
- <body class="cz mb-page">
21
+ <body class="cz pm-ds mb-page">
17
22
  <main class="mb" id="mb">
18
23
  <header class="mb-h"><i class="mb-dot" id="mbDot" aria-hidden="true"></i><b>PMOS</b><span class="mb-sm" id="mbHead">Looking for the meeting</span>
19
- <button type="button" class="mb-ib" id="mbFold" aria-expanded="true" aria-label="Fold PMOS" title="Fold PMOS"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg></button></header>
24
+ <button type="button" class="mb-ib pm-btn" id="mbFold" aria-expanded="true" aria-label="Fold PMOS" title="Fold PMOS"><svg class="pm-ic" aria-hidden="true" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg></button></header>
20
25
  <section class="mb-b" id="mbBody" aria-live="polite"></section>
21
26
  <p class="mb-msg" id="mbMsg" role="status" hidden></p>
22
- <form class="mb-ask" id="mbAsk" hidden><input type="text" id="mbQ" autocomplete="off" aria-label="Ask PMOS. Only you see this." placeholder="Ask PMOS. Only you see this." maxlength="1000" />
23
- <button type="submit" class="mb-ib go" aria-label="Ask PMOS" title="Ask PMOS"><svg aria-hidden="true" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l16-8-6 16-3-7z"/></svg></button></form>
27
+ <form class="mb-ask" id="mbAsk" hidden><input type="text" class="pm-input" id="mbQ" autocomplete="off" aria-label="Ask PMOS. Only you see this." placeholder="Ask PMOS. Only you see this." maxlength="1000" />
28
+ <button type="submit" class="mb-ib pm-btn go primary" aria-label="Ask PMOS" title="Ask PMOS"><svg class="pm-ic" aria-hidden="true" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l16-8-6 16-3-7z"/></svg></button></form>
24
29
  </main>
25
30
  <script type="module" src="/pm/cozy-buddy.js"></script>
26
31
  </body>
@@ -6,15 +6,20 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
7
  <title>PMOS · Recording</title>
8
8
  <!-- The recording tab (batch 12 item 1): ?note=<id>[&ws=][&go=1]. It holds the recorder and never navigates away, so its links open
9
- in the other PMOS tab (named pmos-main by rec-tab-core.js). pm/cozy-rec-tab.js draws it. -->
9
+ in the other PMOS tab (named pmos-main by rec-tab-core.js). pm/cozy-rec-tab.js draws it. It is on the PMOS design system (design-system-meeting-pages): pm-ds, a single
10
+ column of Stage, Summary and List blocks; while a screen is shared the stage is a Dark-theme island (.rt-main.pm-ds.dark). -->
10
11
  <base target="pmos-main" />
11
12
  <link rel="preload" href="/vendor/plus-jakarta-sans-var.woff2" as="font" type="font/woff2" crossorigin />
12
13
  <link rel="stylesheet" href="/pm/cozy.css" />
14
+ <link rel="stylesheet" href="/pm/brand.css" />
15
+ <link rel="stylesheet" href="/pm/charts.css" />
16
+ <link rel="stylesheet" href="/pm/komorebi.css" />
17
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
13
18
  <link rel="stylesheet" href="/pm/cozy-rec-tab.css" />
14
19
  </head>
15
- <body class="cz rt-page">
20
+ <body class="cz pm-ds rt-page">
16
21
  <main class="rt" id="rt" data-mode="idle">
17
- <div class="rt-main">
22
+ <div class="rt-main pm-ds">
18
23
  <header class="rt-hd"><span class="rt-dot" aria-hidden="true"></span><b class="rt-clock" id="rtClock">0:00</b><h1 class="rt-title" id="rtTitle">Meeting</h1><span class="rt-ad" id="rtAd" hidden></span><span class="rt-past" id="rtPast" hidden></span></header>
19
24
  <p class="rt-alert" id="rtAlert" role="alert" hidden></p>
20
25
  <section class="rt-stage" id="rtStage" aria-label="The meeting"></section>
@@ -5,17 +5,23 @@
5
5
  <meta name="pmos-nonce" content="" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
7
7
  <title>PMOS · Welcome</title>
8
- <!-- The premium Welcome (initiative premium-welcome). The first-run flow in the Briefing's shell: About you, Your sources, What PMOS found, then the premium Briefing. It reads and writes only through the onboarding routes (lib/routes-onboarding.js) and the proactive settings, every press behind the launch nonce. -->
9
- <link rel="preload" href="/vendor/geist-var.woff2" as="font" type="font/woff2" crossorigin />
10
- <link rel="stylesheet" href="/pm/premium.css" />
8
+ <!-- The premium Welcome (initiative premium-welcome). The first-run flow in the Briefing's shell: About you, Your sources, What PMOS found, then the premium Briefing. It reads and writes only through the onboarding routes (lib/routes-onboarding.js) and the proactive settings, every press behind the launch nonce.
9
+ It is on the PMOS design system (design-system-meeting-pages): pm-ds, a single column, one pm-block per step; cozy-welcome.css
10
+ is its only page sheet (it no longer loads premium.css). -->
11
+ <link rel="preload" href="/vendor/plus-jakarta-sans-var.woff2" as="font" type="font/woff2" crossorigin />
12
+ <link rel="stylesheet" href="/pm/cozy.css" />
13
+ <link rel="stylesheet" href="/pm/brand.css" />
14
+ <link rel="stylesheet" href="/pm/charts.css" />
15
+ <link rel="stylesheet" href="/pm/komorebi.css" />
16
+ <link rel="stylesheet" href="/pm/ds-bridge.css" />
17
+ <link rel="stylesheet" href="/pm/cozy-welcome.css" />
11
18
  </head>
12
- <body>
13
- <div class="sky"><i class="a"></i><i class="b"></i><i class="c"></i></div>
14
- <div class="toast glass" id="toast" role="status"></div>
19
+ <body class="pm-ds wl-page">
20
+ <div class="toast" id="toast" role="status"></div>
15
21
  <main class="wl-in" id="wlRoot">
16
- <div class="wl-top"><span class="glass wl-brand">PMOS <small id="wlCount">Set up</small></span><button class="wl-btn quiet" id="wlSkip" type="button" data-w="skip">Not now</button></div>
22
+ <div class="wl-top"><span class="wl-brand">PMOS <small id="wlCount">Set up</small></span><button class="wl-btn quiet" id="wlSkip" type="button" data-w="skip">Not now</button></div>
17
23
  <ol class="wl-steps" id="wlSteps" aria-label="Setup steps"></ol>
18
- <section class="card wl-card" id="wlCard" aria-live="polite" aria-busy="true"><h1 id="wlH" tabindex="-1">Welcome to PMOS</h1><p class="wl-lede">Reading this folder.</p></section>
24
+ <section class="pm-block wl-card" id="wlCard" aria-live="polite" aria-busy="true"><h1 id="wlH" tabindex="-1">Welcome to PMOS</h1><p class="wl-lede">Reading this folder.</p></section>
19
25
  </main>
20
26
  <noscript>This page needs JavaScript.</noscript>
21
27
  <script type="module" src="/pm/premium-welcome.js"></script>