create-pmos 0.401.0 → 0.403.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 (127) hide show
  1. package/package.json +25 -30
  2. package/payload/KIT-VERSION +2 -2
  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/payload/state/log.md +1 -1
  7. package/workspace/board-programs-test.js +227 -0
  8. package/workspace/board-shot.js +54 -0
  9. package/workspace/briefing-premium-adddoc-test.js +28 -22
  10. package/workspace/briefing-premium-board-test.js +107 -82
  11. package/workspace/briefing-premium-calendar-2-test.js +23 -10
  12. package/workspace/briefing-premium-calendar-3-test.js +23 -19
  13. package/workspace/briefing-premium-calendar-test.js +20 -15
  14. package/workspace/briefing-premium-initiative-test.js +25 -12
  15. package/workspace/briefing-premium-insights-test.js +31 -18
  16. package/workspace/briefing-premium-metrics-test.js +8 -8
  17. package/workspace/briefing-premium-sources-test.js +15 -10
  18. package/workspace/briefing-premium-test.js +39 -16
  19. package/workspace/changelog.json +24 -0
  20. package/workspace/fixtures/board-premium-facts.js +20 -3
  21. package/workspace/fixtures/briefing-premium-facts.js +18 -2
  22. package/workspace/fixtures/premium-viewer-fixtures.js +24 -2
  23. package/workspace/fixtures/program-ascent.js +101 -0
  24. package/workspace/guide/home.md +11 -7
  25. package/workspace/guide/index.md +1 -0
  26. package/workspace/guide/jira.md +38 -6
  27. package/workspace/guide/programs.md +37 -0
  28. package/workspace/home-rows-test.js +184 -0
  29. package/workspace/lib/briefing-premium-products.js +4 -4
  30. package/workspace/lib/briefing-premium.js +2 -2
  31. package/workspace/lib/calendar-layers.js +8 -4
  32. package/workspace/lib/initiative-layout.js +4 -3
  33. package/workspace/lib/jira-cli.js +17 -12
  34. package/workspace/lib/jira-status.js +1 -1
  35. package/workspace/lib/jira-tickets.js +126 -24
  36. package/workspace/lib/meeting-files.js +58 -0
  37. package/workspace/lib/meeting-learn.js +139 -0
  38. package/workspace/lib/meeting-material.js +12 -5
  39. package/workspace/lib/notes.js +3 -0
  40. package/workspace/lib/programs.js +129 -0
  41. package/workspace/lib/route-modules.js +1 -0
  42. package/workspace/lib/routes-brief-page.js +8 -1
  43. package/workspace/lib/routes-briefing-premium.js +1 -1
  44. package/workspace/lib/routes-calendar-views.js +24 -3
  45. package/workspace/lib/routes-meeting-material.js +38 -0
  46. package/workspace/lib/routes-meeting-points.js +23 -3
  47. package/workspace/lib/routes-programs.js +122 -0
  48. package/workspace/package-lock.json +2 -2
  49. package/workspace/package.json +1 -1
  50. package/workspace/premium-board-actions-test.js +31 -25
  51. package/workspace/premium-chat-context-test.js +1 -1
  52. package/workspace/premium-chat-goal-view-test.js +1 -1
  53. package/workspace/premium-chat-viewer-test.js +1 -1
  54. package/workspace/premium-core-doc-issue-test.js +13 -7
  55. package/workspace/premium-discuss-landing-test.js +83 -0
  56. package/workspace/premium-link-suggest-test.js +103 -0
  57. package/workspace/premium-report-read-test.js +86 -82
  58. package/workspace/premium-vw-backlog-test.js +6 -5
  59. package/workspace/premium-vw-cal-test.js +45 -19
  60. package/workspace/premium-vw-item-test.js +8 -6
  61. package/workspace/premium-vw-jira-test.js +3 -2
  62. package/workspace/premium-vw-meet-test.js +122 -66
  63. package/workspace/premium-vw-notes-test.js +7 -6
  64. package/workspace/premium-vw-rec-test.js +14 -13
  65. package/workspace/premium-vw-slides-test.js +11 -5
  66. package/workspace/program-panel-test.js +152 -0
  67. package/workspace/public/pm/bd-acts.js +24 -15
  68. package/workspace/public/pm/bd-asks.js +111 -30
  69. package/workspace/public/pm/bd-ini-panel.js +229 -0
  70. package/workspace/public/pm/bd-pop.js +2 -2
  71. package/workspace/public/pm/bd-prog-panel.js +436 -0
  72. package/workspace/public/pm/bd-prog.js +191 -0
  73. package/workspace/public/pm/bd-span.js +98 -15
  74. package/workspace/public/pm/bd-views.js +93 -29
  75. package/workspace/public/pm/cozy-board.css +214 -20
  76. package/workspace/public/pm/cozy-evui.js +4 -2
  77. package/workspace/public/pm/cozy-home-rows.css +54 -0
  78. package/workspace/public/pm/cozy-home.css +35 -0
  79. package/workspace/public/pm/cozy-insights.css +1 -2
  80. package/workspace/public/pm/cozy-mtg-present.css +160 -0
  81. package/workspace/public/pm/cozy-panel.css +155 -0
  82. package/workspace/public/pm/cozy-rec-pill.css +12 -0
  83. package/workspace/public/pm/cozy-rec-pill.js +46 -0
  84. package/workspace/public/pm/cozy-today.css +189 -0
  85. package/workspace/public/pm/cozy-viewer.js +307 -43
  86. package/workspace/public/pm/cozy-vw-mtg.css +96 -94
  87. package/workspace/public/pm/cozy-vw-rp.css +40 -25
  88. package/workspace/public/pm/cozy-vw-shell.css +127 -0
  89. package/workspace/public/pm/cozy-xv.css +51 -0
  90. package/workspace/public/pm/cozy-xv.js +34 -0
  91. package/workspace/public/pm/home-app.js +192 -72
  92. package/workspace/public/pm/home-chat.js +17 -4
  93. package/workspace/public/pm/home-data.js +1 -1
  94. package/workspace/public/pm/home-day.js +64 -0
  95. package/workspace/public/pm/home-ini-model.js +1 -1
  96. package/workspace/public/pm/home-ini.js +197 -54
  97. package/workspace/public/pm/home-list.js +100 -27
  98. package/workspace/public/pm/home-mentions.js +187 -0
  99. package/workspace/public/pm/home-rec-row.js +67 -0
  100. package/workspace/public/pm/home-review.js +20 -10
  101. package/workspace/public/pm/home-task.js +19 -18
  102. package/workspace/public/pm/home-today.js +137 -59
  103. package/workspace/public/pm/premium-board.js +294 -288
  104. package/workspace/public/pm/premium-insights.js +118 -82
  105. package/workspace/public/pm/premium-mtg-present.js +408 -100
  106. package/workspace/public/pm/premium-mtg-replay.js +70 -10
  107. package/workspace/public/pm/premium-report-read.js +118 -63
  108. package/workspace/public/pm/premium-vw-cal.js +62 -34
  109. package/workspace/public/pm/premium-vw-mtg.js +348 -192
  110. package/workspace/public/pm/program-model.js +192 -0
  111. package/workspace/public/pm/rec-state.js +63 -0
  112. package/workspace/public/pm/rp-parts.js +33 -8
  113. package/workspace/public/pm/tk-draft.js +107 -0
  114. package/workspace/public/pm/tk-model.js +134 -0
  115. package/workspace/public/pm/tk-send.js +124 -0
  116. package/workspace/public/pm/tk-tasks.css +120 -0
  117. package/workspace/public/premium-board.html +4 -2
  118. package/workspace/server.js +4 -2
  119. package/workspace/skills/jira-push.skill +3 -3
  120. package/workspace/test-lists/board-programs.json +9 -0
  121. package/workspace/test-lists/prd-to-jira.json +6 -0
  122. package/workspace/test-lists/program-hierarchy.json +11 -0
  123. package/workspace/test-lists/program-panel.json +9 -0
  124. package/workspace/test-lists/viewer-home-rows.json +9 -0
  125. package/workspace/test-lists/viewer-meetings.json +9 -0
  126. package/workspace/test-lists/viewer-shell-a.json +15 -0
  127. package/workspace/tk-tasks-test.js +199 -0
@@ -1,7 +1,7 @@
1
1
  /* pm/cozy-vw-mtg.css — the meeting, Calendar | Notes and the presenter view as the Meetings artboards draw them (initiative
2
2
  * premium-uncovered-features, area meetings: MtReplay, MtFocus, MtPresent, MtMaterial, MtAfter, MtCalendar, MtNotes, MtPhone).
3
3
  * Added once by premium-vw-mtg.js (mtgStyle) and premium-mtg-present.js. Colours are the cozy tokens of pm/cozy.css only, so dark mode
4
- * follows them. Prefixes: vzm- the meeting card, vzp- Replay, vzx- the presenter view, vzc- Calendar | Notes.
4
+ * follows them. Prefixes: vzm- the meeting card, vzp- Replay, vzc- Calendar | Notes.
5
5
  * Motion: only the recording dot moves (info); nothing else animates. */
6
6
 
7
7
  /* ── the Viewer is wider while it shows a meeting or the calendar (cozy-viewer.js #czViewer; widen() sets data-vzw) ── */
@@ -11,8 +11,8 @@
11
11
  }
12
12
 
13
13
  /* ── shared parts ── */
14
- .vz, .vzx { --vzd: var(--cz-ink); --vzd-on: var(--cz-card); } /* the design's dark button (.btn.dark: ink on card) */
15
- .vz .vzm-fb rect, .vz .vzp-strip rect, .vz .vzp-strip circle, .vz .vzp-phpl rect, .vzx .vzx-bar rect { stroke: none; }
14
+ .vz { --vzd: var(--cz-ink); --vzd-on: var(--cz-card); } /* the design's dark button (.btn.dark: ink on card) */
15
+ .vz .vzm-fb rect, .vz .vzp-strip rect, .vz .vzp-strip circle, .vz .vzp-phpl rect { stroke: none; }
16
16
  .vz .vzm-lbl { margin: 0; font-size: 12px; font-weight: 700; color: var(--cz-ink2); }
17
17
  .vz .vzm-lbl small { font-size: inherit; font-weight: 500; color: var(--cz-ink3); margin-left: 4px; }
18
18
  .vz .vzm-mlbl { margin: 6px 0 2px; font-size: 11.5px; font-weight: 700; color: var(--cz-ink3); }
@@ -53,36 +53,48 @@
53
53
  .vz .vzm-in:focus-within { box-shadow: 0 0 0 1.5px var(--cz-blue); }
54
54
  .vz .vzm-in input:focus-visible { outline: none; }
55
55
 
56
- /* ── the meeting: head (MtReplay, MtFocus) ── */
57
- .vz.vz-mtg { gap: 14px; padding: 18px 22px 28px; }
58
- .vzm-hd { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
59
- .vzm-ht { flex: 1 1 220px; min-width: 0; }
60
- .vzm-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--cz-ink2); }
61
- .vzm-hc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
62
- .vzm-ser { display: inline-flex; align-items: center; min-height: 30px; padding: 0 4px; border-radius: 999px; border: 1px solid var(--cz-hair); }
63
- .vzm-sb { min-width: 22px; height: 26px; border-radius: 999px; display: inline-grid; place-items: center; color: var(--cz-ink3); }
64
- .vzm-sb.vzm-sn { padding: 0 6px; font-size: 12.5px; font-weight: 600; color: var(--cz-ink2); }
56
+ /* ── the meeting in shell A: the summary (czSummary) with its icon presses, then the lines that need you, Replay and the folds ── */
57
+ .vz.vz-mtg { gap: 12px; padding: 0; }
58
+ .vzm-meta .vzm-about { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--cz-hair); text-underline-offset: 3px; }
59
+ .vzm-meta .vzm-about:hover { color: var(--cz-ink); }
60
+ /* phone: the About link keeps its drawn size and takes a 44 px hit area */
61
+ @media (max-width: 640px) { .vzm-meta .vzm-about { position: relative; } .vzm-meta .vzm-about::before { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); } }
62
+ .vzm-acts { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
63
+ .vzm-rb { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: var(--cz-card); color: var(--cz-ink2); }
64
+ .vzm-rb:hover { color: var(--cz-ink); }
65
+ .vzm-rb:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
66
+ .vzm-rb svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
67
+ .vzm-rb[data-tone="red"] { background: var(--cz-red); color: var(--cz-c-ffffff); }
68
+ .vzm-rb[data-tone="red"] svg, .vzm-rb[data-tone="dark"] svg { fill: currentColor; stroke: none; }
69
+ .vzm-rb[data-tone="dark"] { background: var(--cz-solid, var(--cz-ink)); color: var(--cz-onsolid, var(--cz-card)); }
65
70
  .vzm-anc { position: relative; height: 0; }
66
71
  .vzm-pop { position: absolute; right: 0; top: 4px; z-index: 30; width: min(380px, 100%); display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 18px; background: var(--cz-card); border: 1px solid var(--cz-hair); box-shadow: var(--cz-lift); }
67
72
  .vzm-anc[data-pop="mat"] { height: auto; }
68
- .vzm-anc[data-pop="mat"] .vzm-pop { position: relative; top: 0; margin-left: auto; }
69
- .vzm-pop.vzm-pop-s { width: min(300px, 100%); }
73
+ .vzm-anc[data-pop="mat"] .vzm-pop { position: relative; top: 0; width: 100%; }
70
74
  .vzm-pop .vz-empty { font-size: 12.5px; }
71
75
  .vzm-mi2 { display: flex !important; width: 100%; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px !important; border-radius: 10px; font-size: 13.5px; color: var(--cz-ink); }
72
76
  .vzm-mi2.hl, .vzm-mi2[aria-current="true"] { background: var(--cz-well); }
73
- .vzm-mi2 .vzm-k { color: var(--cz-ink3); }
74
- .vzm-menu { position: relative; z-index: 20; }
77
+ .vzm-mi2 .vzm-k { color: var(--cz-ink3); font-size: 12.5px; }
78
+ .vzm-agl { display: flex; flex-direction: column; }
75
79
 
76
- /* ── the recording line ── */
77
- .vzm-rec { background: var(--cz-well); }
78
- .vzm-rec[data-k="stale"] { background: var(--cz-latebg); }
79
-
80
- /* ── tabs ── */
81
- .vzm-tabs { display: inline-flex; gap: 2px; align-self: flex-start; }
82
- .vzm-tab { min-height: 32px; padding: 0 12px !important; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--cz-ink2); }
83
- .vzm-tab[aria-selected="true"] { background: var(--cz-well); color: var(--cz-ink); font-weight: 700; }
84
- .vzm-tab:hover:not([aria-selected="true"]) { color: var(--cz-ink); }
85
- .vzm-pane { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
80
+ /* ── material (XvAMaterial): a row per item, the preview on the row and Present on its icon; Add material and its menu ── */
81
+ .vzm-mats { display: flex; flex-direction: column; }
82
+ .vzm-mrow { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--cz-hair); }
83
+ .vzm-mopen { flex: 1; min-width: 0; display: flex !important; align-items: center; gap: 12px; min-height: 56px; padding: 6px 4px !important; border-radius: 10px; text-align: left; }
84
+ .vzm-mopen .vzm-mi { width: 32px; height: 32px; }
85
+ .vzm-mt small { display: block; font-size: 12px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
86
+ .vzm-mt b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
87
+ .vzm-pres { color: var(--cz-blueink) !important; }
88
+ .vzm-add { display: inline-flex !important; align-items: center; gap: 8px; align-self: flex-start; min-height: 40px; padding: 0 6px !important; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--cz-blueink) !important; }
89
+ .vzm-addm { gap: 0; padding: 6px; }
90
+ .vzm-ar { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; cursor: pointer; }
91
+ .vzm-ar b { flex: 1; font-weight: 600; }
92
+ .vzm-ar input { flex: 1; min-width: 0; min-height: 36px; border: 0; background: transparent; font: inherit; color: var(--cz-ink); outline: none; }
93
+ .vzm-ar input::placeholder { color: var(--cz-ink); }
94
+ .vzm-ar small { font-size: 12px; color: var(--cz-ink3); white-space: nowrap; }
95
+ .vzm-ar:focus-within { background: var(--cz-well); }
96
+ .vzm-addm .vzm-mlbl { margin: 8px 10px 2px; padding-top: 8px; border-top: 1px solid var(--cz-hair); }
97
+ .vzm-scope { padding: 6px 10px 2px; }
86
98
 
87
99
  /* ── rows: material, decisions, steps, questions ── */
88
100
  .vzm-trow, .vzm-step { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 4px; border-bottom: 1px solid var(--cz-hair); font-size: 13.5px; flex-wrap: wrap; }
@@ -187,6 +199,34 @@
187
199
  .vzp-prow span { flex: 1; min-width: 0; }
188
200
  .vzp-prow .vzp-tm { justify-self: auto; }
189
201
  .vzp-soft { min-height: 30px; padding: 0 12px !important; border-radius: 999px; background: var(--cz-well) !important; font-size: 12.5px; font-weight: 700; }
202
+ /* ── Replay as one card (XvAReplay): the player, then the points of the part playing; a point is a press that corrects it ── */
203
+ .vzp-card { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 20px; background: var(--cz-well); }
204
+ .vzp-card .vzp-pl { padding: 0; background: none; }
205
+ .vzp-card .vzp-shot { background: var(--cz-card); }
206
+ .vzp-pts { display: flex; flex-direction: column; gap: 6px; }
207
+ .vzp-pt { display: grid !important; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 10px !important; border-radius: 12px; background: var(--cz-card) !important; text-align: left; font-size: 13.5px; }
208
+ .vzp-pt:hover { box-shadow: 0 0 0 1px var(--cz-hair); }
209
+ .vzp-pt .vzp-pill { justify-self: center; }
210
+ .vzp-kt { display: flex !important; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
211
+ .vzp-kt b { font-weight: 700; }
212
+ .vzp-kt small { font-size: 12px; color: var(--cz-ink3); }
213
+ .vzp-kr .vzp-kt:hover b { text-decoration: underline; text-decoration-color: var(--cz-hair); }
214
+ .vzp-chk2 { color: var(--cz-late) !important; }
215
+ .vzp-ed { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--cz-card); box-shadow: 0 0 0 2px var(--cz-blue); }
216
+ .vzp-kinds { display: flex; gap: 6px; }
217
+ .vzp-kinds button { min-height: 30px; padding: 0 12px !important; border-radius: 10px; background: var(--cz-well) !important; font-size: 12.5px; font-weight: 700; color: var(--cz-ink2); }
218
+ .vzp-kinds button[aria-checked="true"][data-pk="ok"] { background: var(--cz-okbg) !important; color: var(--cz-ok); box-shadow: inset 0 0 0 1.5px var(--cz-ok); }
219
+ .vzp-kinds button[aria-checked="true"][data-pk="w"] { background: var(--cz-latebg) !important; color: var(--cz-late); box-shadow: inset 0 0 0 1.5px var(--cz-late); }
220
+ .vzp-kinds button[aria-checked="true"][data-pk="y"] { background: var(--cz-bluebg) !important; color: var(--cz-blueink); box-shadow: inset 0 0 0 1.5px var(--cz-blueink); }
221
+ .vzp-was { margin: 0; font-size: 12px; color: var(--cz-ink3); }
222
+ .vzp-eta { width: 100%; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); font: inherit; font-size: 13.5px; line-height: 1.45; color: var(--cz-ink); resize: vertical; }
223
+ .vzp-eta:focus { outline: 2px solid var(--cz-blue); outline-offset: -1px; }
224
+ .vzp-learn { padding: 10px 12px; border-radius: 12px; background: var(--cz-bluebg); font-size: 12.5px; line-height: 1.45; color: var(--cz-ink); }
225
+ .vzp-learn b:empty { display: none; }
226
+ .vzp-ef { display: flex; align-items: center; gap: 10px; }
227
+ .vzp-sp { flex: 1; }
228
+ .vzp-gbtn { min-height: 34px; padding: 0 12px !important; border-radius: 999px; font-size: 13px; font-weight: 700; }
229
+
190
230
  /* one Replay at a time: the phone's below 640px, else the desk's */
191
231
  .vzp.vzp-mb { display: none; }
192
232
  @media (max-width: 640px) {
@@ -194,61 +234,17 @@
194
234
  .vzp.vzp-mb { display: flex; }
195
235
  }
196
236
 
197
- /* ── the presenter view (MtPresent) ── */
198
- .vzx { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; gap: 14px; padding: 18px 24px 20px; background: var(--cz-ground, var(--cz-card)); color: var(--cz-ink); font-family: var(--cz-sans); outline: none; }
199
- .vzx *, .vzx *::before, .vzx *::after { box-sizing: border-box; }
200
- .vzx button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
201
- .vzx button:disabled { opacity: .4; cursor: default; }
202
- .vzx svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
203
- .vzx p { margin: 0; }
204
- .vzx .vzx-mut { color: var(--cz-ink3); font-size: 12.5px; }
205
- .vzx-sp { flex: 1; }
206
- .vzx-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
207
- .vzx-rec { width: 10px; height: 10px; border-radius: 50%; background: var(--cz-red); }
208
- .vzx-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--cz-okbg); color: var(--cz-ok); }
209
- .vzx-pill[data-k="w"] { background: var(--cz-latebg); color: var(--cz-late); }
210
- .vzx-btn { min-height: 32px; padding: 0 14px !important; border-radius: 999px; border: 1px solid var(--cz-hair) !important; background: var(--cz-card) !important; font-size: 13px !important; font-weight: 700; }
211
- .vzx-btn.vzx-dark { background: var(--vzd) !important; color: var(--vzd-on) !important; border-color: transparent !important; }
212
- .vzx-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; }
213
- .vzx-left { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
214
- .vzx-slot { flex: 1; min-height: 0; display: grid; place-items: center; }
215
- .vzx-box { position: relative; width: calc(960px * var(--bd-k, .5)); height: calc(540px * var(--bd-k, .5)); overflow: hidden; border-radius: 14px; border: 1px solid var(--cz-hair); box-shadow: var(--cz-lift); cursor: pointer; }
216
- .vzx-nav { display: flex; align-items: center; gap: 10px; }
217
- .vzx-ib { width: 32px; height: 32px; border-radius: 50%; display: inline-grid !important; place-items: center; color: var(--cz-ink2); flex: none; }
218
- .vzx-ib.vzx-sm { width: 30px; height: 30px; background: var(--cz-card) !important; }
219
- .vzx-ths { display: flex; gap: 8px; overflow-x: auto; min-width: 0; flex: 0 1 auto; padding: 2px; }
220
- .vzx-tb { position: relative; flex: none; width: 96px; height: 54px; border-radius: 8px; border: 1px solid var(--cz-hair) !important; overflow: hidden; background: var(--cz-card) !important; }
221
- .vzx-tb.on { border: 2px solid var(--cz-blue) !important; }
222
- .vzx-tb b { position: absolute; left: 6px; bottom: 3px; font-size: 11px; font-weight: 700; color: var(--cz-ink2); }
223
- .vzx-mini { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
224
- .vzx-keys { max-width: 220px; line-height: 1.4; }
225
- .vzx-side { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 22px; background: var(--cz-card); border: 10px solid var(--cz-well); }
226
- .vzx-clock { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
227
- .vzx-clock b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
228
- .vzx-bar svg { display: block; }
229
- .vzx-bg { fill: var(--cz-well); }
230
- .vzx-fg { fill: var(--cz-blue); }
231
- .vzx-fg.late { fill: var(--cz-risk); }
232
- .vzx-lbl { margin-top: 6px !important; font-size: 12px; font-weight: 700; color: var(--cz-ink2); }
233
- .vzx-nx { display: grid; place-items: center; height: 150px; }
234
- .vzx-nx .vzx-box { cursor: default; }
235
- .vzx-notes { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--cz-well); font-size: 13px; line-height: 1.45; }
236
- .vzx-need { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--cz-bluebg); font-size: 13px; line-height: 1.45; }
237
- .vzx-need span { flex: 1; }
238
- .vzx-foot { margin-top: auto !important; line-height: 1.5; }
239
- .vzx-audw { margin: 0; background: black; }
240
- .vzx-aud { position: fixed; inset: 0; display: grid; place-items: center; background: black; }
241
- .vzx-aud .vzx-box { border: 0; border-radius: 0; box-shadow: none; cursor: default; }
242
- @media (max-width: 900px) {
243
- .vzx { padding: 12px; overflow: auto; }
244
- .vzx-main { grid-template-columns: 1fr; }
245
- .vzx-slot { min-height: 220px; }
246
- .vzx-keys { display: none; }
247
- }
237
+ /* The presenter view and the audience window: pm/cozy-mtg-present.css. */
248
238
 
249
239
  /* ── Calendar | Notes (MtCalendar, MtNotes, MtPhone right) ── */
250
- .vz.vz-cal { gap: 14px; padding: 18px 22px 22px; }
251
- .vzc-tabs { margin-bottom: -2px; }
240
+ .vz.vz-cal { gap: 12px; padding: 0; }
241
+ /* Calendar | Notes and + (XvACal): a full-width switch, the active half a white pill */
242
+ .vzc-top { display: flex; align-items: center; gap: 8px; }
243
+ .vzc-seg { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 2px; padding: 4px; border-radius: 999px; background: var(--cz-well); }
244
+ .vzc-seg > button { all: unset; cursor: pointer; height: 30px; padding: 0 16px; border-radius: 999px; font: 600 13.5px var(--cz-sans); color: var(--cz-ink2); display: inline-flex; align-items: center; }
245
+ .vzc-seg > button[aria-selected="true"] { background: var(--cz-card); color: var(--cz-ink); box-shadow: 0 1px 3px rgba(42,46,53,.12); }
246
+ .vzc-seg > button:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
247
+ .vz-cal > .czs-sum { margin: 0; }
252
248
  .vzc-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
253
249
  .vzc-head .vzm-h2 { margin-right: 10px; }
254
250
  .vzc-mut { color: var(--cz-ink3); font-size: 12.5px; }
@@ -287,17 +283,23 @@
287
283
  .vzc-sw.un { background: transparent; border: 1px dashed var(--cz-ink3); }
288
284
  /* the day (phone) */
289
285
  .vzc-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
290
- .vzc-dy { display: flex !important; flex-direction: column; align-items: center; gap: 1px; min-height: 46px; padding: 4px 0 !important; border-radius: 14px; background: var(--cz-well) !important; font-size: 13px; text-align: center !important; }
291
- .vzc-dy b { font-weight: 700; }
292
- .vzc-dy[aria-pressed="true"] { background: var(--cz-bluebg) !important; color: var(--cz-blueink); }
293
- .vzc-hr { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px; align-items: start; }
294
- .vzc-t { padding-top: 12px; font-size: 12px; color: var(--cz-ink3); font-variant-numeric: tabular-nums; }
295
- .vzc-de { display: flex !important; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: 58px; padding: 10px 12px !important; border-radius: 14px; background: var(--cz-bluebg) !important; }
296
- .vzc-de > b { flex: 1 1 60%; font-size: 14px; font-weight: 700; }
297
- .vzc-de > small { flex-basis: 100%; order: 3; font-size: 12.5px; color: var(--cz-ink2); }
298
- .vzc-de.un { background: var(--cz-card) !important; border: 1px dashed var(--cz-ink3) !important; }
299
- .vzc-de.ring { box-shadow: 0 0 0 2px var(--cz-blue); }
300
- .vzc-de .vzc-link { order: 4; flex-basis: 100%; background: none; padding: 0; min-height: 0; font-size: 12.5px; }
286
+ .vzc-dy { display: flex !important; flex-direction: column; align-items: center; gap: 2px; min-height: 64px; padding: 10px 8px 8px !important; border-radius: 14px; background: var(--cz-well) !important; border: 1.5px solid transparent !important; font-size: 11px; color: var(--cz-ink2); text-align: center !important; }
287
+ .vzc-dy b { font-size: 16px; font-weight: 700; color: var(--cz-ink); }
288
+ .vzc-dy .vzc-lb { align-self: stretch; margin: 4px 6px 0; height: 3px; background: transparent; }
289
+ .vzc-dy[aria-pressed="true"] { background: var(--cz-bluebg) !important; border-color: var(--cz-blue) !important; color: var(--cz-blueink); }
290
+ .vzc-dy[aria-pressed="true"] b { color: var(--cz-blueink); }
291
+ .vzc-dy[aria-pressed="true"] .vzc-lb i { background: var(--cz-blue); }
292
+ /* the day's list: one card, a row each, hairlines between */
293
+ .vzc-list { display: flex; flex-direction: column; border: 1px solid var(--cz-hair); border-radius: 16px; overflow: hidden; }
294
+ .vzc-de { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px !important; text-align: left !important; }
295
+ .vzc-de + .vzc-de { border-top: 1px solid var(--cz-hair) !important; }
296
+ .vzc-de.past .vzc-dt b { color: var(--cz-ink2); }
297
+ .vzc-t { font-size: 13px; font-weight: 700; color: var(--cz-ink); font-variant-numeric: tabular-nums; }
298
+ .vzc-dt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
299
+ .vzc-dt b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
300
+ .vzc-dt small { font-size: 12px; color: var(--cz-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
301
+ .vzc-de .vzc-link { padding: 4px 10px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink) !important; font-size: 12px; font-weight: 600; }
302
+ .vzc-nx { width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--cz-blue); box-shadow: 0 0 0 3px var(--cz-bluebg); }
301
303
  /* the month */
302
304
  .vzc-mg { border: 1px solid var(--cz-hair); border-radius: 16px; overflow: hidden; }
303
305
  .vzc-mh, .vzc-mb { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
@@ -335,16 +337,16 @@
335
337
  .vzc-dash { border: 1px dashed var(--cz-ink3); background: transparent; margin-left: 4px; }
336
338
  /* a narrow pane: the week scrolls sideways */
337
339
  @media (max-width: 760px) {
338
- .vz.vz-mtg, .vz.vz-cal { padding: 14px 16px 22px; }
340
+ .vz.vz-mtg, .vz.vz-cal { padding: 0; }
339
341
  .vzm-hc { justify-content: flex-start; }
340
342
  .vzm-ag { grid-template-columns: minmax(0, 1fr) 90px 56px; gap: 0 10px; }
341
343
  .vzp-pr { grid-template-columns: 1fr; }
342
344
  .vzc-wk { grid-template-columns: 40px repeat(5, 110px) repeat(2, 64px); }
343
345
  .vzc-leg > span:last-child { flex-basis: 100%; }
344
346
  }
345
- .vz [hidden], .vzx [hidden] { display: none !important; }
347
+ .vz [hidden] { display: none !important; }
346
348
  /* phone: the tabs and the kind chips keep their drawn size and take a 44 px hit area */
347
349
  @media (max-width: 640px) {
348
- .vzc-tabs .vzm-tab, .vzc-chips .vzm-chip { position: relative; overflow: visible; }
349
- .vzc-tabs .vzm-tab::before, .vzc-chips .vzm-chip::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
350
+ .vzc-seg > button, .vzc-chips .vzm-chip { position: relative; overflow: visible; }
351
+ .vzc-seg > button::before, .vzc-chips .vzm-chip::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
350
352
  }
@@ -2,10 +2,8 @@
2
2
  * RpDoc, RpLive, RpPhone). premium-report-read.js adds it once. The cozy tokens of pm/cozy.css only; the canvas's .card, .box, .btn, .lbl,
3
3
  * .pill and .mi are drawn here as rp- parts inside the .vz report panel. */
4
4
  .vz.vz-rp0 { container-type: inline-size; }
5
- .rp-tabs { margin: 0 0 2px; }
6
5
  /* a narrow card (the 500 px Viewer) keeps Slides | Document | Live page as icons, so the bar stays one row */
7
6
  @container (max-width: 600px) { .vz-rp0 .vz-sg button > span.vz-dko { display: none !important; } .rp-lvh > .rp-grow { flex-basis: 100%; } .rp-kp { flex-basis: 90px; } .rp-kp b { font-size: 19px; } }
8
- .rp-tabs .cz-tab { height: 32px; font-size: 13.5px; }
9
7
  .rp-n { height: 18px; padding: 0 7px; font-size: 11px; }
10
8
  .rp-mut { color: var(--cz-ink3); }
11
9
  .rp-grow { flex: 1; min-width: 0; }
@@ -40,8 +38,6 @@
40
38
  .rp-sw { width: 64px; height: 36px; border-radius: 6px; background: var(--cz-well2); flex: none; }
41
39
 
42
40
  /* ── the lock line, the ask card and the cycle menu (RpStates) ── */
43
- .rp-lock { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 16px; background: var(--cz-well); font-size: 12.5px; }
44
- .rp-lock > span { flex: 1; min-width: 0; }
45
41
  .rp-ask { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--cz-card); border: 1px solid var(--cz-hair); border-radius: 16px; padding: 12px 14px;
46
42
  box-shadow: 0 10px 30px -16px rgba(42, 46, 53, .4); font-size: 13.5px; }
47
43
  .rp-ask > p { flex: 1 1 220px; }
@@ -53,19 +49,18 @@
53
49
  .vz-pop-dl { right: 0; top: 46px; width: 260px; }
54
50
  .vz-pop-dl a.vz-mi { text-decoration: none; color: inherit; }
55
51
 
56
- /* ── the paper document (RpDoc) ── */
57
- .rp-paperwell { background: var(--cz-well2); border-radius: 18px; padding: 14px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
58
- .rp-paperbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--cz-ink3); background: var(--cz-well2); padding: 4px 0; }
59
- .rp-pg { background: var(--cz-c-ffffff); color: var(--cz-c-2a2e35); border-radius: 6px; box-shadow: 0 1px 3px rgba(42, 46, 53, .12), 0 20px 40px -30px rgba(42, 46, 53, .4);
60
- padding: 44px 56px 28px; display: flex; flex-direction: column; gap: 12px; min-height: 640px; position: relative; }
61
- .rp-pg h1 { font-size: 26px; font-weight: 800; margin: 0; line-height: 1.2; }
62
- .rp-pg h2 { font-size: 16px; font-weight: 800; margin: 8px 0 0; }
52
+ /* ── the paper document (RpDoc; XvAReportDoc: the sheets on the card, "Page n of N" under them) ── */
53
+ .rp-paperwell { display: flex; flex-direction: column; gap: 14px; }
54
+ .rp-pg { background: var(--cz-c-ffffff); color: var(--cz-c-2a2e35); border-radius: 14px; box-shadow: 0 0 0 1px var(--cz-hair), 0 10px 24px -18px rgba(42, 46, 53, .4);
55
+ padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
56
+ .rp-pg h1 { font-size: 21px; font-weight: 800; margin: 0; line-height: 1.25; }
57
+ .rp-pg h2 { font-size: 14px; font-weight: 800; margin: 6px 0 0; }
63
58
  .rp-pg p, .rp-pg li { font-size: 13.5px; line-height: 1.55; }
64
59
  .rp-pg ul { margin: 0; padding-left: 20px; }
65
60
  .rp-pg .rp-mut { color: var(--cz-c-646a74); }
66
- .rp-eye { font-size: 11px !important; font-weight: 800; color: var(--cz-c-646a74); letter-spacing: .04em; }
67
- .rp-minute { background: var(--cz-c-eef5fc); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
68
- .rp-mh { font-weight: 800; font-size: 12px !important; color: var(--cz-c-2f5fb3); }
61
+ .rp-eye { font-size: 10.5px !important; font-weight: 800; color: var(--cz-c-2f5fb3); letter-spacing: .06em; }
62
+ .rp-minute { background: var(--cz-c-f4f3f0); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
63
+ .rp-mh { font-weight: 800; font-size: 13.5px !important; color: var(--cz-c-2a2e35); }
69
64
  .rp-tbl { overflow-x: auto; }
70
65
  .rp-tbl table { border-collapse: collapse; font-size: 12.5px; width: 100%; }
71
66
  .rp-tbl td, .rp-tbl th { border-bottom: 1px solid rgba(42, 46, 53, .1); padding: 6px 4px; text-align: left; }
@@ -73,7 +68,6 @@
73
68
  .rp-tbl .al-r { text-align: right; } .rp-tbl .al-c { text-align: center; }
74
69
  .rp-fn { font-size: 11px; color: var(--cz-c-646a74); border-top: 1px solid rgba(42, 46, 53, .1); padding-top: 8px; margin-top: auto; }
75
70
  .rp-fn p, .rp-fn li { font-size: 11px; line-height: 1.5; }
76
- .rp-pno { position: absolute; right: 24px; bottom: 10px; font-size: 10px !important; color: var(--cz-c-9aa1ab); }
77
71
 
78
72
  /* ── the live page (RpLive) ── */
79
73
  .rp-live { background: var(--cz-card); border-radius: 18px; border: 1px solid var(--cz-hair); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
@@ -122,25 +116,20 @@
122
116
  .rp-tb.on { box-shadow: inset 0 0 0 2px var(--cz-blue); color: var(--cz-ink); }
123
117
  .rp-hint { font-size: 12.5px; }
124
118
 
125
- /* ── phone (RpPhone) ── */
126
- .rp-pho { display: none !important; }
119
+ /* ── phone (XvAPhReport: the same shell, full screen) ── */
127
120
  @media (max-width: 760px) {
128
- .rp-pho { display: flex !important; }
129
- .vz-sg button.vz-dko { display: none !important; }
130
- .rp-swipe { justify-content: center; font-size: 12.5px; color: var(--cz-ink3); }
131
- .vz-rp0[data-view="deck"] .vz-thumbs, .vz-rp0[data-view="deck"] .rp-dkn { display: none; }
132
- .rp-present { width: 100%; height: 48px !important; justify-content: center; font-size: 14px !important; margin-top: auto; }
133
121
  .rp-card { flex-wrap: wrap; }
134
122
  .rp-card .rp-btn { height: 44px; }
135
123
  .rp-kv { grid-template-columns: 96px minmax(0, 1fr); }
136
- .rp-paperwell { padding: 10px; }
137
- .rp-pg { padding: 24px 20px 28px; min-height: 0; }
124
+ .rp-pg { padding: 22px 18px 24px; }
138
125
  .rp-ex { grid-template-columns: 18px minmax(0, 1fr) 96px; }
139
126
  .rp-ex > span:nth-of-type(1), .rp-ex > span:nth-of-type(2) { display: none; }
140
127
  .rp-hint { display: none; }
141
128
  .vz-pres.rp-pres { padding: 12px; }
129
+ .rp-a .vz-rpb { padding: 4px 16px 16px; }
130
+ .rp-strip > .vz-ib { width: 44px; height: 44px; }
142
131
  }
143
- @media print { .rp-paperbar, .rp-ask { display: none; } }
132
+ @media print { .rp-ask, .rp-pops { display: none; } }
144
133
 
145
134
  /* ── the look conversation's card (RpDesign): Current beside New look ── */
146
135
  .rp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@@ -150,3 +139,29 @@
150
139
  .rp-tf iframe { position: absolute; left: 0; top: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; background: var(--cz-c-ffffff); }
151
140
  .rp-std { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--cz-ink3); }
152
141
  .rp-tl { padding: 6px 10px; border-top: 1px solid var(--cz-hair); font-size: 12.5px; }
142
+
143
+ /* ── Viewer shell A (XvAReport, XvAReportMore, XvAReportIssue, XvAPhReport): the summary card, the report, the strip; the popovers ⋯ opens ── */
144
+ .vz.rp-a { position: relative; padding: 0; gap: 0; }
145
+ .rp-a .vz-rpb { padding: 8px 16px 16px; gap: 12px; }
146
+ .rp-pops { position: sticky; top: 0; height: 0; z-index: 6; } /* the popover stays under the header while the card scrolls */
147
+ .rp-pops > .vz-pop.vz-pop { left: auto; right: 12px; top: 4px; width: min(300px, calc(100% - 24px)); max-height: calc(100vh - 120px); overflow: auto; }
148
+ .rp-pops > .vz-pop-share.vz-pop-share, .rp-pops > .vz-pop-sched.vz-pop-sched { width: min(360px, calc(100% - 24px)); }
149
+ .rp-a .vz-slide { box-shadow: none; background: var(--cz-well); }
150
+ .rp-a .vz-slide:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
151
+ .rp-strip { display: flex; align-items: center; gap: 6px; }
152
+ .rp-strip > .vz-ib { border-radius: 999px; }
153
+ .rp-thumbs.rp-thumbs { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
154
+ .rp-th.rp-th { flex: 1 0 48px; aspect-ratio: 16 / 9; padding: 0 !important; border-radius: 8px; background: var(--cz-well); box-shadow: none; display: block !important; position: relative; overflow: hidden; }
155
+ .rp-th.rp-tt { background: var(--cz-c-2546b8); }
156
+ .rp-th[aria-current="true"] { box-shadow: 0 0 0 2px var(--cz-blueink); }
157
+ .rp-th > span { position: absolute; inset: 0; }
158
+ .rp-a .rp-count { text-align: center; font-size: 12.5px; color: var(--cz-ink3); }
159
+ .vz-conf.rp-cfm { background: var(--cz-bluebg); border-radius: 20px; padding: 14px 16px; gap: 8px; margin: 0; }
160
+ .rp-cfm > b { font-size: 15px; font-weight: 800; }
161
+ .rp-cfm li { align-items: flex-start; font-size: 13.5px; }
162
+ .rp-cfm li span:first-child { width: auto; height: auto; border-radius: 0; background: none !important; box-shadow: none !important; color: var(--cz-ok); margin-top: 1px; }
163
+ .rp-cfm li[data-ok="false"] span:first-child { color: var(--cz-risk); }
164
+ .rp-cfm .vz-note { font-size: 12.5px; }
165
+ .rp-sec { height: 40px; padding: 0 14px !important; border-radius: 999px; background: var(--cz-card) !important; font-size: 13.5px; font-weight: 700; color: var(--cz-ink2); }
166
+ .rp-back { display: flex; align-items: center; gap: 4px; margin-left: -8px; }
167
+ .rp-back b { font-size: 15px; font-weight: 800; }
@@ -0,0 +1,127 @@
1
+ /* pm/cozy-vw-shell.css — the Viewer's shell A (initiative viewer-shell-a V1, V2; canvas XvOptADoc, XvOptAJira, XvOptAPhone, XvOptBRead, xvWidth).
2
+ * cozy-viewer.js loads it once, after cozy.css (.cz-vw…), and these rules win over the older card look there.
3
+ * Token vars only (cozy.css :root holds every raw value). Motion: none here; a summary's dot takes the cz-dot levels from cozy.css. */
4
+
5
+ /* the card: white, 24px round, no hairline under the header, the grip on its left edge */
6
+ .cz-vw { border: 0; box-shadow: var(--cz-vlift); }
7
+ @media (min-width: 761px) { .cz-vw:not(.cz-vw-float) { position: relative; } }
8
+ @media (min-width: 761px) { .cz-vw.cz-vw-float { width: min(560px, calc(100vw - 32px)); box-shadow: var(--cz-sheet); } }
9
+ .cz-vw-hd { gap: 2px; min-height: 60px; padding: 10px 8px 0 14px; border-bottom: 0; }
10
+ .cz-vw-tile { width: 32px; height: 32px; margin-right: 8px; }
11
+ .cz-vw-tile svg { width: 17px; height: 17px; }
12
+ .cz-vw-t { display: block; }
13
+ .cz-vw-kind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* say it once: the kind is for a screen reader */
14
+ .cz-vw-title { font-size: 16px; font-weight: 800; }
15
+ .cz-vw-ib { border-radius: 999px; }
16
+ .cz-vw-ib svg { width: 18px; height: 18px; }
17
+ .cz-vw-ib[aria-pressed="true"] { background: var(--cz-bluebg); color: var(--cz-blueink); }
18
+ .cz-vw-hd [data-cz-vw="back"] { margin-left: -6px; }
19
+ .cz-vw-body { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
20
+ .cz-vw-body:has(> .cz-ph) { padding: 0; }
21
+
22
+ /* the grip (xvWidth): drag, double-click to reset, arrows from the keyboard */
23
+ .cz-vw-grip { position: absolute; left: 0; top: 50%; margin-top: -32px; width: 16px; height: 64px; display: flex; align-items: center; justify-content: center; cursor: col-resize; z-index: 4; touch-action: none; border-radius: 8px; }
24
+ .cz-vw-grip i { display: block; width: 5px; height: 40px; border-radius: 3px; background: color-mix(in srgb, var(--cz-ink3) 35%, var(--cz-card)); }
25
+ .cz-vw-grip:hover i, .cz-vw-grip:focus-visible i { background: var(--cz-ink3); }
26
+ .cz-vw-grip:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
27
+ body.cz-vw-drag, body.cz-vw-drag * { cursor: col-resize !important; user-select: none; }
28
+
29
+ /* the ⋯ menu: change it, look back, stop or remove (red, last) */
30
+ .cz-vw-menu { position: absolute; right: 56px; top: 54px; width: 250px; background: var(--cz-card); border-radius: 16px; box-shadow: var(--cz-sheet), 0 0 0 1px var(--cz-hair); padding: 6px; z-index: 6; display: flex; flex-direction: column; }
31
+ .cz-vw-menu button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; font: 600 13.5px var(--cz-sans); color: var(--cz-ink); background: none; border: 0; text-align: left; cursor: pointer; }
32
+ .cz-vw-menu button:hover:not(:disabled), .cz-vw-menu button:focus-visible { background: var(--cz-well); outline: none; }
33
+ .cz-vw-menu button:disabled { color: var(--cz-ink3); cursor: default; }
34
+ .cz-vw-menu button svg { color: var(--cz-ink2); flex: none; }
35
+ .cz-vw-menu hr { border: 0; border-top: 1px solid var(--cz-hair); margin: 4px 6px; }
36
+ .cz-vw-menu .k { margin-left: auto; color: var(--cz-ink3); font-size: 12px; }
37
+ .cz-vw-menu .bad { color: var(--cz-red); }
38
+
39
+ /* the summary card: one state line, the words, one quiet meta line, one primary */
40
+ .czs-sum { background: color-mix(in srgb, var(--cz-well) 60%, var(--cz-card)); border-radius: 20px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
41
+ .czs-line { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--cz-ink2); }
42
+ .czs-line.you { color: var(--cz-blueink); }
43
+ .czs-line.warn { color: var(--cz-risk); }
44
+ .czs-line.live { color: var(--cz-red); }
45
+ .czs-line.ok { color: var(--cz-ok); }
46
+ .czs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-blue); flex: none; }
47
+ .czs-line.warn .czs-dot { background: var(--cz-dot-risk); }
48
+ .czs-line.live .czs-dot { background: var(--cz-dot-red); }
49
+ .czs-r { margin-left: auto; font-weight: 600; color: var(--cz-ink3); white-space: nowrap; }
50
+ .czs-p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--cz-ink); }
51
+ .czs-meta { margin: 0; font-size: 12.5px; color: var(--cz-ink3); }
52
+ .czs-acts { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
53
+ .czs-pri { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--cz-solid); color: var(--cz-onsolid); font: 700 14px var(--cz-sans); display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; }
54
+ .czs-pri:disabled { opacity: .5; cursor: default; }
55
+ .czs-sec2 { height: 40px; padding: 0 14px; border-radius: 999px; background: var(--cz-card); border: 0; font: 700 13.5px var(--cz-sans); color: var(--cz-ink2); cursor: pointer; }
56
+ .czs-sec2:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
57
+ .czs-ib { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--cz-card); color: var(--cz-ink2); display: inline-grid; place-items: center; cursor: pointer; }
58
+ .czs-ib:hover:not(:disabled) { color: var(--cz-blueink); }
59
+ .czs-ib:disabled { opacity: .45; cursor: default; }
60
+ .czs-ib:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
61
+ .czs-pri:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
62
+
63
+ /* the folding rows: title, a count (none at 0), a chevron; the open row draws its body below */
64
+ .czs-secs { border-radius: 18px; border: 1px solid var(--cz-hair); overflow: hidden; flex: none; }
65
+ .czs-sec { position: relative; }
66
+ .czs-sec + .czs-sec::before { content: ""; position: absolute; left: 14px; right: 12px; top: 0; height: 1px; background: var(--cz-hair); }
67
+ .czs-row { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 12px 0 14px; background: none; border: 0; font: inherit; color: var(--cz-ink); text-align: left; cursor: pointer; }
68
+ .czs-row:disabled { cursor: default; }
69
+ .czs-row:hover:not(:disabled) { background: color-mix(in srgb, var(--cz-well) 40%, var(--cz-card)); }
70
+ .czs-row:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; border-radius: 12px; }
71
+ .czs-row b { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
72
+ .czs-n { font-size: 13px; color: var(--cz-ink3); font-weight: 600; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
73
+ .czs-cv { color: var(--cz-ink3); display: inline-flex; flex: none; }
74
+ .czs-body { padding: 0 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.45; }
75
+ .czs-body[hidden] { display: none; }
76
+ .czs-body > p { margin: 0; }
77
+ /* one item in a row's body (XvOptADoc .it): a soft well, the words, a quiet line under them */
78
+ .czs-it { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--cz-well) 40%, var(--cz-card)); }
79
+ .czs-it .w { flex: 1; min-width: 0; }
80
+ .czs-it .w span { display: block; font-size: 12.5px; color: var(--cz-ink3); }
81
+ /* a row's leading tile (XvATask): a document glyph on the well, or the Jira J on blue */
82
+ .ut-tki { width: 28px; height: 28px; border-radius: 9px; background: var(--cz-well); color: var(--cz-ink2); display: inline-grid; place-items: center; flex: none; }
83
+ .ut-tki.j { background: var(--cz-blueink); color: var(--cz-onsolid); font-size: 11px; font-weight: 800; }
84
+ .czs-it:has(.ut-tki) { align-items: center; }
85
+ .ut-tki.dash { background: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cz-ink3) 45%, var(--cz-card)); }
86
+ .czs-amb { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-dot-risk); flex: none; align-self: center; margin-left: 8px; }
87
+ .hi-v2 { display: flex; flex-direction: column; gap: 12px; }
88
+ .hi-v2 .hi-drow { display: block; padding: 0; border-radius: 0; background: none; }
89
+ .hi-v2 .hi-drow.later { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
90
+ button.czs-it { width: 100%; border: 0; text-align: left; font: inherit; color: var(--cz-ink); cursor: pointer; }
91
+ button.czs-it:hover { background: var(--cz-well); }
92
+ button.czs-it:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 1px; }
93
+ .czs-it .w .flag { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--cz-riskbg); color: var(--cz-risk); font-size: 11.5px; font-weight: 700; }
94
+
95
+ /* dragged wide (XvOptBRead): the summary and the contents in a 300px column, the text beside it at a readable line */
96
+ .cz-vw-w2 .cz-vw-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 20px; align-content: start; }
97
+ .cz-vw-w2 .cz-vw-body > .czs-sum { grid-column: 1; }
98
+ .cz-vw-w2 .cz-vw-body > :not(.czs-sum) { grid-column: 2; max-width: 75ch; }
99
+ .cz-vw-w2 .cz-vw-body > .czs-sum + * { grid-row: 1 / span 6; }
100
+ .cz-vw-w2 .cz-vw-body > :only-child, .cz-vw-w2 .cz-vw-body > .cz-ph { grid-column: 1 / -1; max-width: none; }
101
+
102
+ /* the list folded to a rail (xvWidth): "Show the list", then the groups' tiles */
103
+ body.cz-vw-rail [data-cz-vw-list], body.cz-vw-rail #hmList { flex: 0 0 64px !important; width: 64px !important; padding: 12px 8px !important; }
104
+ body.cz-vw-rail [data-cz-vw-list] > :not(.cz-vw-railbar), body.cz-vw-rail #hmList > :not(.cz-vw-railbar) { display: none !important; }
105
+ .cz-vw-railbar { display: flex; flex-direction: column; align-items: center; gap: 10px; }
106
+ .cz-vw-railtiles { display: flex; flex-direction: column; align-items: center; gap: 10px; }
107
+ .cz-vw-railtile { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 9px; }
108
+ .cz-vw-railtile:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
109
+
110
+ /* a phone: the same shell, full screen; ← in place of ×, no grip */
111
+ @media (max-width: 760px) {
112
+ .cz-vw-grip { display: none; }
113
+ .cz-vw-hd { padding: 8px 4px 0 6px; }
114
+ .cz-vw-hd [data-cz-vw="back"] { margin-left: 0; }
115
+ .cz-vw-body { padding: 4px 16px 16px; }
116
+ .cz-vw-menu { right: 8px; }
117
+ .cz-vw-menu button, .czs-ib { min-height: 44px; }
118
+ .czs-pri, .czs-sec2 { height: 44px; min-height: 44px; }
119
+ .czs-ib { width: 44px; }
120
+ }
121
+ /* a touch screen wider than a phone (a tablet, a phone held sideways) keeps the 44 px presses too */
122
+ @media (pointer: coarse) {
123
+ .cz-vw-menu button, .czs-ib { min-height: 44px; }
124
+ .czs-pri, .czs-sec2 { height: 44px; min-height: 44px; }
125
+ .czs-ib { width: 44px; }
126
+ }
127
+ @media (prefers-reduced-motion: reduce) { .cz-vw * { transition: none !important; } }
@@ -0,0 +1,51 @@
1
+ /* pm/cozy-xv.css — the small parts inside the Viewer's shell A on the Board and Insights (initiative viewer-shell-a, V9; canvas XvABoard,
2
+ * XvOptAJira, XvAInsight), drawn by pm/cozy-xv.js and the panels that use it. Token vars from cozy.css only; cozy-vw-shell.css draws the
3
+ * header, the summary card and the folding rows. No motion. */
4
+
5
+ /* the stage bar under the summary (XvABoard .stg): passed soft blue, the current one blue, a skipped one hatched */
6
+ .xv-stg { display: flex; gap: 3px; align-items: center; flex: none; }
7
+ .xv-stg i { flex: 1; height: 5px; border-radius: 3px; background: var(--cz-well2); display: block; }
8
+ .xv-stg i.on { background: color-mix(in srgb, var(--cz-blue) 45%, var(--cz-card)); }
9
+ .xv-stg i.now { background: var(--cz-blue); }
10
+ .xv-stg i.sk { background: repeating-linear-gradient(135deg, var(--cz-well2) 0 3px, transparent 3px 6px); }
11
+ .xv-skip { margin-top: -6px !important; }
12
+
13
+ /* one row in a section (XvABoard .lr): a mark, a title, one quiet line; a ticket row is a press */
14
+ .xv-lr { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-radius: 12px; font: inherit; font-size: 13.5px; color: var(--cz-ink); background: none; border: 0; width: 100%; box-sizing: border-box; text-align: left; }
15
+ .xv-lr + .xv-lr { border-top: 1px solid var(--cz-hair); border-radius: 0; }
16
+ button.xv-lr { cursor: pointer; }
17
+ @media (hover: hover) { button.xv-lr:hover { background: color-mix(in srgb, var(--cz-well) 50%, var(--cz-card)); border-radius: 12px; } }
18
+ button.xv-lr:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; border-radius: 12px; }
19
+ .xv-lr .w { flex: 1; min-width: 0; }
20
+ .xv-lr .w b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
21
+ .xv-lr .w b em { font-style: normal; font-weight: 800; color: var(--cz-ink2); }
22
+ .xv-lr .w span { display: block; font-size: 12.5px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
23
+ .xv-lr .r { font-size: 12.5px; color: var(--cz-ink3); font-weight: 600; white-space: nowrap; }
24
+ .xv-mk { width: 8px; height: 8px; border-radius: 50%; flex: none; }
25
+ .xv-mk.warn { background: var(--cz-dot-risk); }
26
+ .xv-mk.you { background: var(--cz-blue); }
27
+ .xv-mk.done { background: var(--cz-done); }
28
+
29
+ /* quiet words, chips, a small secondary press */
30
+ .xv-q { margin: 0; font-size: 12.5px; color: var(--cz-ink3); line-height: 1.45; }
31
+ .xv-q b { color: var(--cz-ink2); }
32
+ .xv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
33
+ .xv-chip { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--cz-well); font: 700 12.5px var(--cz-sans); color: var(--cz-ink2); display: inline-flex; align-items: center; border: 0; }
34
+ button.xv-chip { cursor: pointer; }
35
+ button.xv-chip:focus-visible, .xv-mini:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
36
+ .xv-mini { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--cz-bluebg); color: var(--cz-blueink); font: 700 12.5px var(--cz-sans); border: 0; cursor: pointer; }
37
+
38
+ /* dates and trend: three boxes, then the progress bar */
39
+ .xv-dg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
40
+ .xv-box { background: color-mix(in srgb, var(--cz-well) 50%, var(--cz-card)); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
41
+ .xv-box > span { font-size: 12px; color: var(--cz-ink3); }
42
+ .xv-box > b { font-size: 14px; font-weight: 800; }
43
+ .xv-box.late > b { color: var(--cz-risk); }
44
+ .xv-bh { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
45
+ .xv-bh span { color: var(--cz-ink3); }
46
+ .xv-seg { padding: 2px 0 4px; }
47
+
48
+ @media (max-width: 760px) {
49
+ .xv-dg { grid-template-columns: 1fr 1fr; }
50
+ .xv-lr { min-height: 48px; }
51
+ }
@@ -0,0 +1,34 @@
1
+ /* pm/cozy-xv.js — what the Board, program and Insights panels share inside the Viewer's shell A (initiative viewer-shell-a, V9; canvas
2
+ * XvABoard, XvOptAJira, XvAInsight, PgProgram re-shelled). The shell (pm/cozy-viewer.js) owns the header, the width, the ⋯ menu, the
3
+ * summary card (czSummary) and the folding rows (czSections); these are the small parts inside the rows, so the three panels look the same.
4
+ * The look is in pm/cozy-xv.css, loaded here once.
5
+ *
6
+ * lr({ title, sub, right, mk, tk, attrs }) one row in a section: a mark (mk 'warn' | 'done' | 'you' | 'task' | 'late'), the title (markup),
7
+ * one quiet line, an end value; tk makes it a press that opens that Jira ticket
8
+ * stageBar(steps, k, skipped, nowTitle) one segment per step: the passed ones soft blue, the current one blue, the skipped ones hatched;
9
+ * nowTitle is the current one's tooltip (its days in the step, and the usual days)
10
+ * chips(list) a wrap of quiet chips (markup strings)
11
+ * copyText(text, said) copies the text and says so in the page's toast (setSay) */
12
+ import { esc, toast } from './premium-shell.js';
13
+
14
+ const CSS = '/pm/cozy-xv.css';
15
+ if (typeof document !== 'undefined' && !document.querySelector(`link[href="${CSS}"]`)) {
16
+ const l = document.createElement('link'); l.rel = 'stylesheet'; l.href = CSS; document.head.appendChild(l);
17
+ }
18
+ export const lr = (o) => {
19
+ const tag = o.tk ? 'button type="button"' : 'div', end = o.tk ? 'button' : 'div';
20
+ return `<${tag} class="xv-lr${o.tk ? ' go' : ''}"${o.tk ? ` data-tk="${esc(o.tk)}"` : ''}${o.attrs || ''}><span class="xv-mk${o.mk ? ' ' + o.mk : ''}" aria-hidden="true"></span>`
21
+ + `<span class="w"><b>${o.title}</b>${o.sub ? `<span>${esc(o.sub)}</span>` : ''}</span>${o.right ? `<span class="r">${o.right}</span>` : ''}</${end}>`;
22
+ };
23
+ export function stageBar(steps, k, skipped, nowTitle) {
24
+ const S = steps || [], sk = new Set(skipped || []);
25
+ const label = k >= 0 && S[k] ? 'Stage ' + (k + 1) + ' of ' + S.length + ', ' + S[k].label : 'No stage on record';
26
+ return `<div class="xv-stg" role="img" aria-label="${esc(label)}">${S.map((s, j) => `<i class="${[j < k && !sk.has(j) ? 'on' : '', j === k ? 'now' : '', sk.has(j) ? 'sk' : ''].filter(Boolean).join(' ')}" title="${esc(j === k && nowTitle ? nowTitle : s.label)}"></i>`).join('')}</div>`;
27
+ }
28
+ export const chips = (list) => (list && list.length ? `<div class="xv-chips">${list.join('')}</div>` : '');
29
+ let say = toast;
30
+ /** The page's own toast (the Board draws its own pill). */
31
+ export function setSay(fn) { if (typeof fn === 'function') say = fn; }
32
+ export async function copyText(text, said) {
33
+ try { await navigator.clipboard.writeText(String(text || '')); say(said || 'Copied.'); } catch { say('This browser did not allow the copy.'); }
34
+ }