create-pmos 0.399.0 → 0.401.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 (425) hide show
  1. package/package.json +30 -25
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/briefing-premium-adddoc-test.js +2 -2
  7. package/workspace/briefing-premium-board-test.js +3 -3
  8. package/workspace/briefing-premium-doc-edit-test.js +2 -8
  9. package/workspace/briefing-premium-sources-test.js +2 -0
  10. package/workspace/briefing-premium-test.js +6 -2
  11. package/workspace/briefing-premium-work-test.js +9 -4
  12. package/workspace/c3-capture-test.js +0 -17
  13. package/workspace/changelog.json +29 -0
  14. package/workspace/guide/briefing-premium.md +2 -2
  15. package/workspace/guide/home.md +24 -3
  16. package/workspace/guide/layout.md +2 -2
  17. package/workspace/guide/notes.md +2 -2
  18. package/workspace/guide/phone-companion.md +1 -1
  19. package/workspace/lib/core-docs.js +2 -2
  20. package/workspace/lib/route-modules.js +1 -9
  21. package/workspace/lib/routes-phone-day.js +18 -9
  22. package/workspace/lib/routes-slash.js +95 -0
  23. package/workspace/package-lock.json +2 -2
  24. package/workspace/package.json +1 -2
  25. package/workspace/premium-chat-goal-view-test.js +1 -1
  26. package/workspace/premium-chat-term-test.js +0 -10
  27. package/workspace/premium-menu-rows-test.js +1 -1
  28. package/workspace/premium-phone-card-test.js +8 -3
  29. package/workspace/premium-vw-cal-test.js +4 -1
  30. package/workspace/premium-vw-doc-test.js +1 -8
  31. package/workspace/premium-work-depth-test.js +2 -3
  32. package/workspace/public/capture.html +23 -0
  33. package/workspace/public/pm/c3-base.js +47 -0
  34. package/workspace/public/pm/c3-capture.js +1 -1
  35. package/workspace/public/pm/c3-ini-ui.js +1 -1
  36. package/workspace/public/pm/c3-sheet.js +1 -1
  37. package/workspace/public/pm/c3-toast.js +1 -1
  38. package/workspace/public/pm/console3.css +3 -0
  39. package/workspace/public/pm/cozy-home.css +21 -6
  40. package/workspace/public/pm/cozy-today.css +4 -3
  41. package/workspace/public/pm/cozy-viewer.js +4 -2
  42. package/workspace/public/pm/cozy.css +9 -0
  43. package/workspace/public/pm/goal-chat.js +5 -1
  44. package/workspace/public/pm/home-app.js +65 -33
  45. package/workspace/public/pm/home-chat.js +34 -29
  46. package/workspace/public/pm/home-data.js +10 -2
  47. package/workspace/public/pm/home-dictate.js +7 -4
  48. package/workspace/public/pm/home-ini.js +13 -3
  49. package/workspace/public/pm/home-list.js +18 -10
  50. package/workspace/public/pm/home-more.js +2 -2
  51. package/workspace/public/pm/home-phone-card.js +9 -4
  52. package/workspace/public/pm/home-review.js +2 -3
  53. package/workspace/public/pm/home-today.js +11 -8
  54. package/workspace/public/pm/home-work.js +13 -8
  55. package/workspace/public/pm/note-dock.js +1 -2
  56. package/workspace/public/pm/notes-links.js +1 -2
  57. package/workspace/public/pm/notes-task.js +3 -4
  58. package/workspace/public/pm/premium-board.js +1 -1
  59. package/workspace/public/pm/premium-initiative-head.js +3 -3
  60. package/workspace/public/pm/premium-vw-doc.css +20 -2
  61. package/workspace/public/pm/premium-vw-doc.js +22 -7
  62. package/workspace/public/pm/premium-vw-item.css +6 -0
  63. package/workspace/public/pm/view-notes.js +2 -2
  64. package/workspace/replaced-tests.json +435 -0
  65. package/workspace/run-tests.js +323 -28
  66. package/workspace/server.js +15 -10
  67. package/workspace/test-files.json +4 -140
  68. package/workspace/test-lists/base.json +1 -2
  69. package/workspace/test-lists/c3-desktop-light-load.json +1 -2
  70. package/workspace/test-lists/c3-initiative-boards.json +1 -2
  71. package/workspace/test-lists/c3-meeting-focus.json +2 -12
  72. package/workspace/test-lists/c3-work-agent.json +1 -2
  73. package/workspace/test-lists/calendar-tidy-up.json +1 -2
  74. package/workspace/test-lists/console3-reports.json +1 -2
  75. package/workspace/test-lists/docs-three-way-sync.json +1 -2
  76. package/workspace/test-lists/extension-capture.json +5 -0
  77. package/workspace/test-lists/jira-wbs.json +1 -2
  78. package/workspace/test-lists/legacy-cleanup-a.json +9 -0
  79. package/workspace/test-lists/meeting-material.json +1 -2
  80. package/workspace/test-lists/meeting-notes.json +2 -36
  81. package/workspace/test-lists/meeting-replay.json +1 -2
  82. package/workspace/test-lists/mm-capture.json +2 -12
  83. package/workspace/test-lists/my-work.json +2 -10
  84. package/workspace/test-lists/onboarding-firstrun.json +2 -12
  85. package/workspace/test-lists/people-directory.json +1 -2
  86. package/workspace/test-lists/run2-a.json +1 -2
  87. package/workspace/test-lists/run2-d.json +2 -19
  88. package/workspace/test-lists/run3-b.json +1 -2
  89. package/workspace/test-lists/run3-c.json +2 -12
  90. package/workspace/test-lists/run4-b.json +1 -2
  91. package/workspace/test-lists/run4-d.json +1 -5
  92. package/workspace/test-lists/run5-c.json +1 -11
  93. package/workspace/test-lists/run6.json +1 -5
  94. package/workspace/test-lists/workspace-launch-flags.json +2 -12
  95. package/workspace/test-lists/workspace-profile-detection.json +2 -10
  96. package/workspace/test-timings.json +242 -123
  97. package/workspace/c3-briefing-test.js +0 -136
  98. package/workspace/c3-core-docs-test.js +0 -170
  99. package/workspace/c3-driver-fixture.js +0 -64
  100. package/workspace/c3-driver-test.js +0 -169
  101. package/workspace/c3-foundation-test.js +0 -163
  102. package/workspace/c3-ib-items-test.js +0 -114
  103. package/workspace/c3-ib-more-test.js +0 -146
  104. package/workspace/c3-ib-triage-backlog-test.js +0 -128
  105. package/workspace/c3-ini-harness.js +0 -66
  106. package/workspace/c3-ini-life-test.js +0 -167
  107. package/workspace/c3-initiatives-test.js +0 -186
  108. package/workspace/c3-light-load-test.js +0 -112
  109. package/workspace/c3-one-home-test.js +0 -149
  110. package/workspace/c3-phone-test.js +0 -289
  111. package/workspace/c3-quiet-test.js +0 -157
  112. package/workspace/c3-report-design-real-test.js +0 -264
  113. package/workspace/c3-report-design-test.js +0 -442
  114. package/workspace/c3-report-setup-test.js +0 -192
  115. package/workspace/c3-report-structure-real-test.js +0 -248
  116. package/workspace/c3-report-structure-test.js +0 -397
  117. package/workspace/c3-reports-test.js +0 -288
  118. package/workspace/c3-scan-test.js +0 -517
  119. package/workspace/c3-sessions-panel-test.js +0 -365
  120. package/workspace/c3-settings-test.js +0 -204
  121. package/workspace/c3-updates-test.js +0 -131
  122. package/workspace/c3-work-test.js +0 -260
  123. package/workspace/cut-stub.js +0 -40
  124. package/workspace/first-paint-audit.js +0 -160
  125. package/workspace/lib/c3-full-console.js +0 -15
  126. package/workspace/lib/engine/derived/trust.js +0 -3
  127. package/workspace/lib/engine/plan-forecast.js +0 -342
  128. package/workspace/lib/engine/report-families.js +0 -175
  129. package/workspace/lib/engine/truth-table.js +0 -57
  130. package/workspace/lib/routes-c3-init.js +0 -54
  131. package/workspace/lib/routes-c3-life.js +0 -120
  132. package/workspace/lib/routes-c3-timeline.js +0 -192
  133. package/workspace/lib/routes-forecast.js +0 -86
  134. package/workspace/lib/routes-releases.js +0 -130
  135. package/workspace/lib/routes-report-facts.js +0 -85
  136. package/workspace/lib/routes-report-families.js +0 -33
  137. package/workspace/lib/routes-signals.js +0 -51
  138. package/workspace/lib/routes-timeline.js +0 -197
  139. package/workspace/public/c3.html +0 -35
  140. package/workspace/public/index.html +0 -156
  141. package/workspace/public/pm/app.js +0 -831
  142. package/workspace/public/pm/bd-board.js +0 -159
  143. package/workspace/public/pm/bd-drag.js +0 -59
  144. package/workspace/public/pm/bd-model.js +0 -152
  145. package/workspace/public/pm/bd-timeline.js +0 -233
  146. package/workspace/public/pm/bd-tree.js +0 -244
  147. package/workspace/public/pm/board-copy.js +0 -59
  148. package/workspace/public/pm/board-read.js +0 -38
  149. package/workspace/public/pm/branches-sheet.js +0 -56
  150. package/workspace/public/pm/breakdown-api.js +0 -58
  151. package/workspace/public/pm/breakdown-copy.js +0 -138
  152. package/workspace/public/pm/briefing-deck.js +0 -441
  153. package/workspace/public/pm/briefing-model.js +0 -251
  154. package/workspace/public/pm/c3-ambient.js +0 -100
  155. package/workspace/public/pm/c3-audience-link.js +0 -21
  156. package/workspace/public/pm/c3-audience.js +0 -46
  157. package/workspace/public/pm/c3-boot.js +0 -13
  158. package/workspace/public/pm/c3-breakdown.js +0 -240
  159. package/workspace/public/pm/c3-brief-data.js +0 -11
  160. package/workspace/public/pm/c3-brief-mentions.js +0 -137
  161. package/workspace/public/pm/c3-brief-needs.js +0 -288
  162. package/workspace/public/pm/c3-brief-pulse.js +0 -112
  163. package/workspace/public/pm/c3-brief-summary.js +0 -139
  164. package/workspace/public/pm/c3-brief-today.js +0 -79
  165. package/workspace/public/pm/c3-brief.js +0 -279
  166. package/workspace/public/pm/c3-cal-strategy.js +0 -529
  167. package/workspace/public/pm/c3-calendar.js +0 -965
  168. package/workspace/public/pm/c3-calpop.js +0 -111
  169. package/workspace/public/pm/c3-case.js +0 -196
  170. package/workspace/public/pm/c3-core-docs.css +0 -18
  171. package/workspace/public/pm/c3-core-docs.js +0 -236
  172. package/workspace/public/pm/c3-daypart.js +0 -176
  173. package/workspace/public/pm/c3-demo-boards.js +0 -764
  174. package/workspace/public/pm/c3-demo-brief-ix.js +0 -350
  175. package/workspace/public/pm/c3-demo-brief-page.js +0 -70
  176. package/workspace/public/pm/c3-demo-cal-ix.js +0 -74
  177. package/workspace/public/pm/c3-demo-cal2.js +0 -66
  178. package/workspace/public/pm/c3-demo-cal3.js +0 -173
  179. package/workspace/public/pm/c3-demo-cal4.js +0 -169
  180. package/workspace/public/pm/c3-demo-cal5.js +0 -52
  181. package/workspace/public/pm/c3-demo-coredocs.js +0 -221
  182. package/workspace/public/pm/c3-demo-data.js +0 -552
  183. package/workspace/public/pm/c3-demo-focus.js +0 -181
  184. package/workspace/public/pm/c3-demo-init.js +0 -430
  185. package/workspace/public/pm/c3-demo-life.js +0 -77
  186. package/workspace/public/pm/c3-demo-material.js +0 -58
  187. package/workspace/public/pm/c3-demo-misc2.js +0 -34
  188. package/workspace/public/pm/c3-demo-phone.js +0 -48
  189. package/workspace/public/pm/c3-demo-plan2.js +0 -30
  190. package/workspace/public/pm/c3-demo-rd.js +0 -432
  191. package/workspace/public/pm/c3-demo-rep-ix.js +0 -126
  192. package/workspace/public/pm/c3-demo-rep2.js +0 -130
  193. package/workspace/public/pm/c3-demo-rep3.js +0 -138
  194. package/workspace/public/pm/c3-demo-rs.js +0 -287
  195. package/workspace/public/pm/c3-demo-term.js +0 -153
  196. package/workspace/public/pm/c3-demo-time.js +0 -49
  197. package/workspace/public/pm/c3-demo-work-ix.js +0 -32
  198. package/workspace/public/pm/c3-demo.js +0 -131
  199. package/workspace/public/pm/c3-design-studio.js +0 -369
  200. package/workspace/public/pm/c3-doc-formats.js +0 -153
  201. package/workspace/public/pm/c3-doc-sheet.js +0 -1230
  202. package/workspace/public/pm/c3-dock.js +0 -206
  203. package/workspace/public/pm/c3-docs.js +0 -291
  204. package/workspace/public/pm/c3-driver-work.js +0 -110
  205. package/workspace/public/pm/c3-driver.css +0 -18
  206. package/workspace/public/pm/c3-driver.js +0 -298
  207. package/workspace/public/pm/c3-focus.css +0 -304
  208. package/workspace/public/pm/c3-focus.js +0 -983
  209. package/workspace/public/pm/c3-ib-docs.js +0 -92
  210. package/workspace/public/pm/c3-ib-initiatives.js +0 -201
  211. package/workspace/public/pm/c3-ib-items.js +0 -210
  212. package/workspace/public/pm/c3-ib-releases.js +0 -48
  213. package/workspace/public/pm/c3-ib-sprints.js +0 -201
  214. package/workspace/public/pm/c3-ib-triage.js +0 -177
  215. package/workspace/public/pm/c3-ii-tabs.js +0 -252
  216. package/workspace/public/pm/c3-ini-life.css +0 -34
  217. package/workspace/public/pm/c3-ini-life.js +0 -379
  218. package/workspace/public/pm/c3-ini-records.js +0 -197
  219. package/workspace/public/pm/c3-ini-timeline.js +0 -278
  220. package/workspace/public/pm/c3-ini-work.js +0 -139
  221. package/workspace/public/pm/c3-init-extras.js +0 -170
  222. package/workspace/public/pm/c3-initiatives.js +0 -852
  223. package/workspace/public/pm/c3-lifecycle-panels.js +0 -479
  224. package/workspace/public/pm/c3-look.js +0 -27
  225. package/workspace/public/pm/c3-material.css +0 -22
  226. package/workspace/public/pm/c3-material.js +0 -321
  227. package/workspace/public/pm/c3-md.js +0 -3
  228. package/workspace/public/pm/c3-misc-panels.js +0 -89
  229. package/workspace/public/pm/c3-new-session.js +0 -110
  230. package/workspace/public/pm/c3-notes.js +0 -751
  231. package/workspace/public/pm/c3-phone-boot.js +0 -47
  232. package/workspace/public/pm/c3-phone-detail.js +0 -97
  233. package/workspace/public/pm/c3-phone-model.js +0 -3
  234. package/workspace/public/pm/c3-phone.css +0 -66
  235. package/workspace/public/pm/c3-phone.js +0 -444
  236. package/workspace/public/pm/c3-plan-panels.js +0 -163
  237. package/workspace/public/pm/c3-plan.js +0 -193
  238. package/workspace/public/pm/c3-quiet.css +0 -113
  239. package/workspace/public/pm/c3-quiet.js +0 -177
  240. package/workspace/public/pm/c3-replay.css +0 -133
  241. package/workspace/public/pm/c3-replay.js +0 -429
  242. package/workspace/public/pm/c3-report-deck.css +0 -163
  243. package/workspace/public/pm/c3-report-deck.js +0 -598
  244. package/workspace/public/pm/c3-report-frame.css +0 -20
  245. package/workspace/public/pm/c3-report-print.css +0 -20
  246. package/workspace/public/pm/c3-report-setup.css +0 -67
  247. package/workspace/public/pm/c3-report-setup.js +0 -298
  248. package/workspace/public/pm/c3-report-store.js +0 -244
  249. package/workspace/public/pm/c3-report-structure.css +0 -44
  250. package/workspace/public/pm/c3-report-structure.js +0 -473
  251. package/workspace/public/pm/c3-reports.css +0 -68
  252. package/workspace/public/pm/c3-reports.js +0 -377
  253. package/workspace/public/pm/c3-roadmap.js +0 -249
  254. package/workspace/public/pm/c3-scan-api.js +0 -167
  255. package/workspace/public/pm/c3-scan-next.js +0 -248
  256. package/workspace/public/pm/c3-scan-setup.js +0 -313
  257. package/workspace/public/pm/c3-scan-words.js +0 -41
  258. package/workspace/public/pm/c3-scan.css +0 -74
  259. package/workspace/public/pm/c3-scan.js +0 -93
  260. package/workspace/public/pm/c3-session-chat.js +0 -103
  261. package/workspace/public/pm/c3-session-conv.js +0 -165
  262. package/workspace/public/pm/c3-session-term.js +0 -216
  263. package/workspace/public/pm/c3-settings.css +0 -85
  264. package/workspace/public/pm/c3-settings.js +0 -1045
  265. package/workspace/public/pm/c3-shell.js +0 -628
  266. package/workspace/public/pm/c3-signals.js +0 -196
  267. package/workspace/public/pm/c3-strategy-panels.js +0 -45
  268. package/workspace/public/pm/c3-swipe.js +0 -230
  269. package/workspace/public/pm/c3-terminal-data.js +0 -48
  270. package/workspace/public/pm/c3-terminal-edge.js +0 -91
  271. package/workspace/public/pm/c3-terminal-icons.js +0 -40
  272. package/workspace/public/pm/c3-terminal-results.js +0 -141
  273. package/workspace/public/pm/c3-terminal.js +0 -52
  274. package/workspace/public/pm/c3-tickets.js +0 -163
  275. package/workspace/public/pm/c3-timeline.js +0 -201
  276. package/workspace/public/pm/calendar-views.js +0 -1049
  277. package/workspace/public/pm/console3-lift.md +0 -220
  278. package/workspace/public/pm/cozy-home.js +0 -172
  279. package/workspace/public/pm/cozy-initiative.css +0 -138
  280. package/workspace/public/pm/cycle-review.js +0 -125
  281. package/workspace/public/pm/data.js +0 -1577
  282. package/workspace/public/pm/dest-board.js +0 -444
  283. package/workspace/public/pm/dest-docs.js +0 -530
  284. package/workspace/public/pm/dest-initiatives.js +0 -162
  285. package/workspace/public/pm/dest-mywork.js +0 -307
  286. package/workspace/public/pm/dest-notes.js +0 -537
  287. package/workspace/public/pm/dest-people.js +0 -449
  288. package/workspace/public/pm/dest-reports.js +0 -383
  289. package/workspace/public/pm/dest-settings.js +0 -601
  290. package/workspace/public/pm/dest-today.js +0 -267
  291. package/workspace/public/pm/display-word.js +0 -56
  292. package/workspace/public/pm/doc-editor.js +0 -473
  293. package/workspace/public/pm/doc-graph.js +0 -272
  294. package/workspace/public/pm/doc-health-panel.js +0 -110
  295. package/workspace/public/pm/doc-rail.js +0 -167
  296. package/workspace/public/pm/doc-remote.js +0 -180
  297. package/workspace/public/pm/dock-sessions.js +0 -472
  298. package/workspace/public/pm/dock.js +0 -216
  299. package/workspace/public/pm/fixture.js +0 -821
  300. package/workspace/public/pm/flag-picker.js +0 -104
  301. package/workspace/public/pm/frame-copy.js +0 -278
  302. package/workspace/public/pm/freshness-line.js +0 -149
  303. package/workspace/public/pm/handoff-box.js +0 -82
  304. package/workspace/public/pm/initiative-list.js +0 -235
  305. package/workspace/public/pm/initiative-sheet.js +0 -331
  306. package/workspace/public/pm/initiatives-api.js +0 -95
  307. package/workspace/public/pm/initiatives-copy.js +0 -287
  308. package/workspace/public/pm/initiatives-timeline-copy.js +0 -59
  309. package/workspace/public/pm/initiatives-timeline.js +0 -410
  310. package/workspace/public/pm/initiatives-ui.js +0 -291
  311. package/workspace/public/pm/item-sheet.js +0 -268
  312. package/workspace/public/pm/keep-card.js +0 -204
  313. package/workspace/public/pm/lifecycle-lens-model.js +0 -246
  314. package/workspace/public/pm/lifecycle-lens.js +0 -276
  315. package/workspace/public/pm/lifecycle.js +0 -111
  316. package/workspace/public/pm/mobile.css +0 -366
  317. package/workspace/public/pm/mobile.js +0 -581
  318. package/workspace/public/pm/modes-live.js +0 -453
  319. package/workspace/public/pm/modes.js +0 -147
  320. package/workspace/public/pm/my-work-card.js +0 -51
  321. package/workspace/public/pm/my-work-data.js +0 -36
  322. package/workspace/public/pm/new-initiative-sheet.js +0 -169
  323. package/workspace/public/pm/next-step-ui.js +0 -190
  324. package/workspace/public/pm/outbox-panel.js +0 -125
  325. package/workspace/public/pm/palette-copy.js +0 -55
  326. package/workspace/public/pm/palette.js +0 -343
  327. package/workspace/public/pm/panel-breakdown.js +0 -702
  328. package/workspace/public/pm/panel-cockpit.js +0 -425
  329. package/workspace/public/pm/panel-detail.js +0 -1513
  330. package/workspace/public/pm/panel-initiatives.js +0 -929
  331. package/workspace/public/pm/panel-newsess.js +0 -709
  332. package/workspace/public/pm/panel-repos.js +0 -741
  333. package/workspace/public/pm/panel-tabs.js +0 -1506
  334. package/workspace/public/pm/panel-trees.js +0 -204
  335. package/workspace/public/pm/people-link.js +0 -106
  336. package/workspace/public/pm/phone-deck.js +0 -167
  337. package/workspace/public/pm/pm-work-view.js +0 -1533
  338. package/workspace/public/pm/portfolio-report.js +0 -61
  339. package/workspace/public/pm/premium-acts.js +0 -280
  340. package/workspace/public/pm/premium-brief.js +0 -111
  341. package/workspace/public/pm/premium-chat.js +0 -22
  342. package/workspace/public/pm/premium-doc-sheet.js +0 -312
  343. package/workspace/public/pm/premium-initiative.js +0 -324
  344. package/workspace/public/pm/premium-insights.css +0 -228
  345. package/workspace/public/pm/premium-metric-tiles.js +0 -68
  346. package/workspace/public/pm/premium-report-brief.js +0 -132
  347. package/workspace/public/pm/premium-vw-rec.js +0 -67
  348. package/workspace/public/pm/premium-wide.css +0 -30
  349. package/workspace/public/pm/print.css +0 -44
  350. package/workspace/public/pm/provider-cards.js +0 -136
  351. package/workspace/public/pm/registry.js +0 -203
  352. package/workspace/public/pm/release-card.js +0 -110
  353. package/workspace/public/pm/releases-view.js +0 -248
  354. package/workspace/public/pm/report-families-view.js +0 -505
  355. package/workspace/public/pm/report-slides.js +0 -438
  356. package/workspace/public/pm/report-tab.js +0 -33
  357. package/workspace/public/pm/report-view.js +0 -337
  358. package/workspace/public/pm/reports-copy.js +0 -134
  359. package/workspace/public/pm/roadmap.js +0 -294
  360. package/workspace/public/pm/run-card.js +0 -260
  361. package/workspace/public/pm/sessions-panel.js +0 -219
  362. package/workspace/public/pm/sheet-jira.js +0 -353
  363. package/workspace/public/pm/shell-bell.js +0 -163
  364. package/workspace/public/pm/shell-model.js +0 -83
  365. package/workspace/public/pm/shell-phone.js +0 -124
  366. package/workspace/public/pm/shell-readaloud.js +0 -53
  367. package/workspace/public/pm/shell-recording.js +0 -274
  368. package/workspace/public/pm/shell-ticker.js +0 -90
  369. package/workspace/public/pm/sig-watch.js +0 -41
  370. package/workspace/public/pm/slide-confirm.js +0 -163
  371. package/workspace/public/pm/slides-copy.js +0 -52
  372. package/workspace/public/pm/status-banner.js +0 -95
  373. package/workspace/public/pm/tab-doc.js +0 -859
  374. package/workspace/public/pm/tab-gone.js +0 -21
  375. package/workspace/public/pm/tab-term.js +0 -1210
  376. package/workspace/public/pm/tab-web.js +0 -90
  377. package/workspace/public/pm/timeline-copy.js +0 -48
  378. package/workspace/public/pm/timeline-forecast-view.js +0 -164
  379. package/workspace/public/pm/today-agenda.js +0 -331
  380. package/workspace/public/pm/today-cards.js +0 -244
  381. package/workspace/public/pm/today-copy.js +0 -506
  382. package/workspace/public/pm/today-day.js +0 -1371
  383. package/workspace/public/pm/today-goals.js +0 -297
  384. package/workspace/public/pm/today-jobs.js +0 -84
  385. package/workspace/public/pm/today-mentions.js +0 -50
  386. package/workspace/public/pm/topbar.js +0 -202
  387. package/workspace/public/pm/triage-card.js +0 -60
  388. package/workspace/public/pm/undo-hold.js +0 -103
  389. package/workspace/public/pm/view-addrepo.js +0 -208
  390. package/workspace/public/pm/view-files.js +0 -197
  391. package/workspace/public/pm/view-livenotes.js +0 -399
  392. package/workspace/public/pm/view-today.js +0 -13
  393. package/workspace/public/pm/view-validate.js +0 -171
  394. package/workspace/public/pm/welcome.js +0 -391
  395. package/workspace/public/pm/work-place.js +0 -68
  396. package/workspace/public/pm/xlsx-read.js +0 -117
  397. package/workspace/public/welcome.html +0 -22
  398. package/workspace/test-lists/browser-suites-green.json +0 -5
  399. package/workspace/test-lists/c3-core-docs.json +0 -9
  400. package/workspace/test-lists/c3-doc-sheet-rich.json +0 -6
  401. package/workspace/test-lists/c3-doc-sheet-size.json +0 -6
  402. package/workspace/test-lists/c3-doc-sheet-v2.json +0 -6
  403. package/workspace/test-lists/c3-ib-items.json +0 -9
  404. package/workspace/test-lists/c3-ib-more.json +0 -9
  405. package/workspace/test-lists/c3-ib-triage-backlog.json +0 -9
  406. package/workspace/test-lists/c3-ini-life.json +0 -9
  407. package/workspace/test-lists/c3-meeting-board.json +0 -5
  408. package/workspace/test-lists/c3-meeting-card.json +0 -5
  409. package/workspace/test-lists/c3-notes-place.json +0 -5
  410. package/workspace/test-lists/c3-notes-series.json +0 -5
  411. package/workspace/test-lists/calendar-time-page.json +0 -5
  412. package/workspace/test-lists/calpop.json +0 -4
  413. package/workspace/test-lists/console3-briefing.json +0 -9
  414. package/workspace/test-lists/console3-foundation.json +0 -9
  415. package/workspace/test-lists/console3-work-page.json +0 -9
  416. package/workspace/test-lists/premium-brief-parity.json +0 -9
  417. package/workspace/test-lists/report-design-studio-ui.json +0 -5
  418. package/workspace/test-lists/report-structure-ui.json +0 -11
  419. package/workspace/test-lists/report-workspace-ui.json +0 -5
  420. package/workspace/test-lists/run3-a.json +0 -5
  421. package/workspace/test-lists/run3-d.json +0 -6
  422. package/workspace/test-lists/run4-c.json +0 -13
  423. package/workspace/test-lists/today-goals-jobs-ui.json +0 -5
  424. package/workspace/test-lists/today-mentions-cards.json +0 -5
  425. package/workspace/test-lists/workspace-tabs-declutter.json +0 -13
@@ -1,429 +0,0 @@
1
- /* pm/c3-replay.js — the meeting replay of console3 (initiative meeting-material-replay, part 2; the mockup the PM approved on 2026-10-14, #replay).
2
- * openReplay({ note, event, date }) closeReplay() window.C3Replay = { open, close, state }
3
- * Focus played back, full screen over console3 like Focus (inside #c3-root; the header, tabs and dock stay in the DOM, set inert).
4
- * One read, GET /api/meeting-replay: the note (transcript, decisions, next steps, questions), the Focus state (topics, stretches, PMOS's notes)
5
- * and the kept shots. The page plays the note's audio (GET /api/notes/recording) and ticks every 500 ms:
6
- * header title and time, Back 10 s, Play or Pause, 1x 1.5x 2x; the topic track as the scrub bar: stretches numbered by topic, a mark for each
7
- * decision, question and next step (amber when it needs you: no owner, still open), a dot for each PMOS note, the playhead
8
- * now line the topic the room was on, what is on screen, the count of key points
9
- * stage the shot on screen at the playing time (a press opens it large), the strip of shots, "N set aside"
10
- * key points decisions, next steps and questions, each with the time to play from; Confirm all makes a task of each next step
11
- * topics minutes and the first time each came up
12
- * conversation the transcript lines and PMOS's notes in time order; the current line is marked and followed; All, Key points, PMOS; search
13
- * A press on a stretch, a mark, a key point, a topic, a shot or a line plays from there. Without audio (none was kept) the page keeps its own
14
- * clock, so the track, the shots and the lines still follow. Everything stays on this machine. */
15
- import { el } from './dom.js';
16
- import { pmGet } from './http.js';
17
- import { ensureC3Css } from './pm-work-view.js';
18
- import { ensureComponentsCss } from './primitives.js';
19
- import { icon, sect, pbtn, lk, btn, nrow, put, geo } from './c3-ini-ui.js';
20
- import { toast } from './c3-toast.js';
21
- import { openShot, whyText, shotIndexAt } from './notes-screen-view.js';
22
-
23
- const TICK_MS = 500;
24
- const NEAR_KEY_MS = 30000; // a key point is "now" this long after its line
25
- const BACK_MS = 10000;
26
- const KIC = { decision: 'scale', action: 'todo', question: 'reply' };
27
- const KWORD = { decision: 'Decision', action: 'Next step', question: 'Question' };
28
- const KPLURAL = { decision: 'Decisions', action: 'Next steps', question: 'Questions' };
29
- const pad = (n) => String(n).padStart(2, '0');
30
- const NO_NOTE = 'That replay link does not match a note on this computer. It may be from another computer, or the note was deleted. Open it from Calendar, Notes.';
31
- /** A note id, as lib/notes-audio.js names it. The ?replay= link is checked against this before any request is made. Pure. */
32
- export const NOTE_ID_RE = /^n-[0-9a-z]{4,16}-[0-9a-f]{4}$/;
33
- /** The gap that holds time t (the recording was off), or null. Pure. */
34
- export const gapAt = (gaps, t) => (gaps || []).find((g) => t >= g.from_ms && t < g.to_ms) || null;
35
-
36
- /** 3:07, or 1:03:07 from an hour on. Pure. */
37
- export function mmss(ms) {
38
- const s = Math.max(0, Math.round((Number(ms) || 0) / 1000));
39
- const h = Math.floor(s / 3600);
40
- return (h ? h + ':' + pad(Math.floor(s / 60) % 60) : String(Math.floor(s / 60))) + ':' + pad(s % 60);
41
- }
42
- /** The index of the stretch the room was in at the time: the last stretch that began at or before it, or -1 before the first. Pure. */
43
- export function runIndexAt(runs, t) {
44
- let at = -1;
45
- (runs || []).forEach((r, i) => { if (r.from_ms <= t) at = i; });
46
- return at;
47
- }
48
- /** The index of the last line said at or before the time, or -1. Pure. */
49
- export function lineIndexAt(lines, t) {
50
- let lo = 0; let hi = (lines || []).length - 1; let at = -1;
51
- while (lo <= hi) { const mid = (lo + hi) >> 1; if (lines[mid].t <= t) { at = mid; lo = mid + 1; } else hi = mid - 1; }
52
- return at;
53
- }
54
-
55
- let S = null; // the open page
56
-
57
- function ensureCss() {
58
- ensureC3Css(); ensureComponentsCss();
59
- if (document.querySelector('link[data-c3-replay]')) return;
60
- const l = document.createElement('link');
61
- l.rel = 'stylesheet'; l.href = new URL('./c3-replay.css', import.meta.url).href; l.setAttribute('data-c3-replay', '');
62
- document.head.appendChild(l);
63
- }
64
-
65
- /* ── open and close ───────────────────────────────────────────────────────────────────────────────────────────── */
66
-
67
- export function closeReplay() {
68
- if (!S) return;
69
- const s = S; S = null;
70
- clearInterval(s.timer);
71
- try { s.audio.pause(); s.audio.removeAttribute('src'); s.audio.load(); } catch { /* no audio */ }
72
- s.root.remove();
73
- const host = document.getElementById('c3-root');
74
- if (host) host.classList.remove('rpl-open');
75
- const grid = host && host.querySelector('.c3grid'); if (grid) grid.inert = false;
76
- const comp = host && host.querySelector('[data-c3ph]'); if (comp) comp.inert = false;
77
- if (s.opener && document.contains(s.opener) && typeof s.opener.focus === 'function') { try { s.opener.focus({ preventScroll: true }); } catch { /* not focusable */ } }
78
- }
79
-
80
- export function openReplay({ note, event, date } = {}) {
81
- closeReplay();
82
- ensureCss();
83
- const host = document.getElementById('c3-root') || document.body;
84
- const root = el('div', { class: 'c3replay', role: 'region', 'aria-label': 'Meeting replay', 'data-c3replay': '', 'data-rpl-state': 'loading' },
85
- el('div', { class: 'rpl-page' }, el('div', { class: 'fold', 'data-rpl': 'status' }, icon('clock', 'sm'), 'Reading the meeting …')));
86
- S = { root, note: String(note || ''), event: event && (event.id || event) ? String(event.id || event) : '', date: String(date || ''), data: null, t: 0, play: false, speed: 1, filter: 'all', q: '',
87
- audio: null, soundOff: false, timer: null, done: new Set(), r: {}, ix: { run: -2, shot: -2, line: -2 },
88
- opener: document.activeElement && document.activeElement !== document.body ? document.activeElement : null };
89
- host.classList.add('rpl-open');
90
- host.append(root);
91
- const grid = host.querySelector && host.querySelector('.c3grid'); if (grid) grid.inert = true;
92
- const comp = host.querySelector && host.querySelector('[data-c3ph]'); if (comp) comp.inert = true;
93
- load(S);
94
- }
95
-
96
- async function load(s) {
97
- if (!s.note && !s.event) { fail(s, NO_NOTE); return; } // a ?replay= link that is not a note id: no request is made
98
- const p = new URLSearchParams();
99
- if (s.note) p.set('note', s.note);
100
- if (s.event) p.set('event', s.event);
101
- if (s.date) p.set('date', s.date);
102
- let d = null;
103
- try { d = await pmGet('/api/meeting-replay?' + p.toString()); } catch (e) { d = { ok: false, error: String((e && e.message) || e) }; }
104
- if (S !== s) return;
105
- if (!d || !d.ok) { fail(s, d && d.error === 'no such note' ? NO_NOTE : (d && d.error) || 'The replay could not be read.'); return; }
106
- s.data = d;
107
- s.root.dataset.rplState = 'ok';
108
- if (d.audio) {
109
- s.audio = el('audio', { preload: 'metadata', src: d.audio.url, 'data-rpl': 'audio' });
110
- s.audio.addEventListener('ended', () => { if (S === s) { s.play = false; paintTop(s); } });
111
- s.audio.addEventListener('error', () => { if (S === s) s.soundOff = true; });
112
- }
113
- build(s);
114
- s.timer = setInterval(() => tick(s), TICK_MS);
115
- const back = s.root.querySelector('[data-rpl="leave"]'); if (back) back.focus({ preventScroll: true });
116
- }
117
-
118
- function fail(s, message) {
119
- s.root.dataset.rplState = 'error';
120
- put(s.root, el('div', { class: 'rpl-page' }, el('div', { class: 'fold', 'data-rpl': 'status' }, icon('alert', 'sm'), message),
121
- el('div', { class: 'iacts' }, pbtn('ghost', 'Back', 'prev', { 'data-rpl': 'close' }))));
122
- }
123
-
124
- /* ── time ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
125
-
126
- const lenOf = (s) => Math.max(1, s.data.length_ms || 0);
127
- const wall = (s, ms) => (s.data.start_ms == null ? mmss(ms) : (() => { const d = new Date(s.data.start_ms + ms); return pad(d.getHours()) + ':' + pad(d.getMinutes()); })());
128
- const pct = (s, ms) => Math.max(0, Math.min(100, ms / lenOf(s) * 100));
129
-
130
- function playNow(s) {
131
- s.play = true;
132
- if (s.audio && !s.soundOff) {
133
- s.audio.playbackRate = s.speed;
134
- const p = s.audio.play();
135
- if (p && typeof p.catch === 'function') p.catch(() => { s.soundOff = true; });
136
- }
137
- }
138
- function pauseNow(s) { s.play = false; if (s.audio) { try { s.audio.pause(); } catch { /* none */ } } }
139
-
140
- /** Move the playhead. `andPlay`: start playing from there (a track, a key point, a topic, a shot or a line); Back 10 s keeps the state. */
141
- function seek(s, ms, andPlay) {
142
- const len = lenOf(s);
143
- s.t = Math.max(0, Math.min(len, Math.round(ms)));
144
- if (s.audio && !s.soundOff) { try { s.audio.currentTime = s.t / 1000; } catch { /* not ready yet */ } }
145
- if (andPlay) playNow(s);
146
- paintTop(s);
147
- paintTime(s, true);
148
- }
149
-
150
- function tick(s) {
151
- if (S !== s || !s.data) return;
152
- const len = lenOf(s);
153
- if (s.play) {
154
- if (s.audio && !s.soundOff && !s.audio.paused) s.t = Math.round(s.audio.currentTime * 1000);
155
- else s.t = Math.min(len, s.t + TICK_MS * s.speed); // no sound (none kept, or it cannot play): the page keeps the time
156
- const gp = gapAt(s.data.gaps, s.t);
157
- if (gp && s.t < len) { s.t = gp.to_ms; if (s.audio && !s.soundOff) { try { s.audio.currentTime = s.t / 1000; } catch { /* not ready */ } } } // the recording was off: play on from where it began again
158
- if (s.t >= len) { s.t = len; s.play = false; if (s.audio) { try { s.audio.pause(); } catch { /* none */ } } paintTop(s); }
159
- }
160
- paintTime(s, false);
161
- }
162
-
163
- /* ── building ─────────────────────────────────────────────────────────────────────────────────────────────────── */
164
-
165
- function build(s) {
166
- const r = s.r;
167
- r.top = el('header', { class: 'card rpl-top', 'aria-label': 'Meeting replay' });
168
- r.now = el('div', { class: 'rpl-nowl', 'data-rpl': 'now-line' });
169
- r.stage = el('div', { class: 'rpl-stagewrap' });
170
- r.keys = el('div', { class: 'rpl-keywrap' });
171
- r.topics = el('div', { class: 'rpl-topwrap' });
172
- r.convo = el('section', { class: 'rpl-cv', 'aria-label': 'What was said, with PMOS\'s notes' });
173
- put(s.root, el('div', { class: 'rpl-page' }, r.top, r.now,
174
- el('div', { class: 'rpl-main' }, el('div', { class: 'rpl-s' }, r.stage, r.keys, r.topics), el('aside', { class: 'rpl-w', 'aria-label': 'Conversation' }, r.convo)), s.audio));
175
- buildTop(s);
176
- buildKeys(s);
177
- buildTopics(s);
178
- buildConvo(s);
179
- s.ix = { run: -2, shot: -2, line: -2 };
180
- paintTime(s, true);
181
- }
182
-
183
- function chipsOf(s) {
184
- const d = s.data;
185
- const start = d.meeting.at ? new Date(d.meeting.at) : null;
186
- const day = start && Number.isFinite(start.getTime()) ? start.toLocaleDateString(undefined, { weekday: 'short', day: 'numeric', month: 'short' }) : '';
187
- const len = Math.round(lenOf(s) / 60000);
188
- const kept = d.shots.length;
189
- return el('div', { class: 'chips2 dim mono' },
190
- el('span', null, [day, d.start_ms != null ? wall(s, 0) + ' to ' + wall(s, lenOf(s)) : '', len + ' min'].filter(Boolean).join(' · ')),
191
- d.meeting.attendees.length ? el('span', null, d.meeting.attendees.length + (d.meeting.attendees.length === 1 ? ' person' : ' people')) : null,
192
- el('span', { title: 'Audio and screen shots are kept on this machine' }, icon('lock', 'sm'), (d.audio ? 'audio' : 'no audio') + (kept ? ' and ' + kept + (kept === 1 ? ' screen shot' : ' screen shots') : '')),
193
- (d.recordings || 1) > 1 ? el('span', { class: 'tag warn', 'data-rpl': 'recordings', title: 'The recording was stopped and started again. The gap is marked on the track.' }, icon('alert', 'sm'), d.recordings + ' recordings') : null,
194
- d.aside_count ? lk({ 'data-rpl': 'aside', class: 'rpl-warnc', title: 'Shots that looked like another app. They are not in the replay.' }, d.aside_count + ' set aside') : null);
195
- }
196
-
197
- /** '7 min', or '40 s' under a minute. Pure. */
198
- export const gapText = (ms) => (ms < 60000 ? Math.max(1, Math.round(ms / 1000)) + ' s' : Math.round(ms / 60000) + ' min');
199
-
200
- function trackOf(s) {
201
- const d = s.data;
202
- const marks = d.keys.filter((k) => k.t != null).map((k) => {
203
- const b = btn({ class: 'rpl-mkdot k-' + k.k + (k.warn ? ' warn' : ''), 'data-rpl-seek': String(k.t), 'data-rpl-mark': k.id, title: KWORD[k.k] + ' at ' + wall(s, k.t) + ': ' + k.text, 'aria-label': KWORD[k.k] + ' at ' + wall(s, k.t) }, icon(KIC[k.k], 'sm'));
204
- return geo(b, { '--fc-left': pct(s, k.t) + '%' });
205
- });
206
- const pms = d.notes.map((n) => geo(btn({ class: 'rpl-mkdot pm', 'data-rpl-seek': String(n.t), 'data-rpl-pm': n.id, title: 'PMOS note at ' + wall(s, n.t) + ': ' + n.body, 'aria-label': 'PMOS note at ' + wall(s, n.t) }), { '--fc-left': pct(s, n.t) + '%' }));
207
- const topicText = (id) => (d.topics.find((t) => t.id === id) || {}).text || '';
208
- const runs = d.runs.map((rn, i) => {
209
- const w = (rn.to_ms - rn.from_ms) / lenOf(s) * 100;
210
- const b = btn({ class: 'rpl-run', 'data-rpl-seek': String(rn.from_ms), 'data-rpl-run': String(i), title: (rn.n ? rn.n + '. ' : '') + topicText(rn.topic) + ' · ' + wall(s, rn.from_ms) + ' · ' + Math.max(1, Math.round((rn.to_ms - rn.from_ms) / 60000)) + ' min' }, w >= 5 && rn.n ? String(rn.n) : '');
211
- return geo(b, { '--fc-left': pct(s, rn.from_ms) + '%', '--fc-width': Math.max(0.5, w) + '%' });
212
- });
213
- const gaps = (d.gaps || []).map((g, i) => geo(btn({ class: 'rpl-gap', 'data-rpl-seek': String(g.to_ms), 'data-rpl-gap': String(i), title: 'Not recorded ' + wall(s, g.from_ms) + ' to ' + wall(s, g.to_ms) + ' (' + gapText(g.to_ms - g.from_ms) + '). A press plays from where the recording began again.', 'aria-label': 'Not recorded ' + wall(s, g.from_ms) + ' to ' + wall(s, g.to_ms) }),
214
- { '--fc-left': pct(s, g.from_ms) + '%', '--fc-width': Math.max(0.6, (g.to_ms - g.from_ms) / lenOf(s) * 100) + '%' }));
215
- const head = geo(el('span', { class: 'rpl-now', 'data-rpl': 'head' }), { '--fc-left': '0%' });
216
- const ticks = [0, 15, 30, 45, 60, 75, 90].map((m) => m * 60000).filter((ms) => ms < lenOf(s) * 0.92)
217
- .map((ms) => geo(el('span', { class: 'rpl-tick' }, wall(s, ms)), { '--fc-left': pct(s, ms) + '%' }));
218
- return el('div', { class: 'rpl-track', role: 'group', 'aria-label': 'The meeting by topic, with decisions, questions and next steps. Press a stretch or a mark to play from there.' },
219
- el('div', { class: 'rpl-rail', 'data-rpl': 'rail' }, el('div', { class: 'rpl-mks' }, ...marks), el('div', { class: 'rpl-runs', 'data-rpl': 'bar' }, ...runs, ...gaps), el('div', { class: 'rpl-pms' }, ...pms), head),
220
- el('div', { class: 'rpl-ticks dim mono' }, ...ticks, el('span', { class: 'end' }, wall(s, lenOf(s)))));
221
- }
222
-
223
- function buildTop(s) {
224
- const d = s.data;
225
- const legend = el('div', { class: 'rpl-legend dim' },
226
- ...['decision', 'question', 'action'].map((k) => el('span', { class: 'rpl-lg k-' + k }, icon(KIC[k], 'sm'), KPLURAL[k])),
227
- el('span', { class: 'rpl-lg pm' }, el('i', { class: 'rpl-lgdot' }), 'PMOS notes'), el('span', { class: 'rpl-lg warn' }, el('i', { class: 'rpl-lgdot' }), 'needs you'));
228
- put(s.r.top,
229
- el('div', { class: 'rpl-id' },
230
- pbtn('ghost', 'Back to the note', 'prev', { 'data-rpl': 'leave', title: 'Back to the note in Calendar' }),
231
- el('div', { class: 'rpl-tt' }, el('h1', null, d.meeting.title), chipsOf(s))),
232
- el('div', { class: 'rpl-clock' }, el('div', null, el('b', { class: 'mono', 'data-rpl': 't' }, mmss(s.t)),
233
- el('span', { class: 'dim mono' }, 'of ' + mmss(lenOf(s)) + ' · ', el('span', { 'data-rpl': 'clk' }, wall(s, s.t))))),
234
- el('div', { class: 'rpl-acts', 'data-rpl': 'acts' }),
235
- trackOf(s), legend,
236
- (d.gaps || []).length ? el('div', { class: 'rpl-gapnote dim', 'data-rpl': 'gapnote' }, el('i', { class: 'rpl-gapkey', 'aria-hidden': 'true' }),
237
- d.gaps.map((g) => 'Not recorded ' + wall(s, g.from_ms) + ' to ' + wall(s, g.to_ms) + ' (' + gapText(g.to_ms - g.from_ms) + ').').join(' ') + ' You stopped the recording and started it again. Playing across a gap skips it.') : null);
238
- paintTop(s);
239
- }
240
-
241
- /** The play controls: they change with Play, Pause and the speed, so they are drawn on their own. */
242
- function paintTop(s) {
243
- const acts = s.r.top && s.r.top.querySelector('[data-rpl="acts"]');
244
- if (!acts) return;
245
- const play = pbtn('primary', s.play ? 'Pause' : 'Play', s.play ? 'pause' : 'play', { 'data-rpl': 'play', 'aria-pressed': String(s.play) });
246
- put(acts, pbtn('ghost', 'Back 10 s', 'undo', { 'data-rpl': 'back' }), play,
247
- el('div', { class: 'seg ini-seg', role: 'group', 'aria-label': 'Speed' }, ...[1, 1.5, 2].map((v) => btn({ 'aria-pressed': String(s.speed === v), 'data-rpl-speed': String(v) }, v + '×'))));
248
- }
249
-
250
- function nowLine(s) {
251
- const d = s.data;
252
- const ri = runIndexAt(d.runs, s.t);
253
- const run = ri >= 0 ? d.runs[ri] : null;
254
- const tp = run ? d.topics.find((t) => t.id === run.topic) : null;
255
- const si = shotIndexAt(d.shots, s.t);
256
- const need = d.keys.filter((k) => k.warn).length;
257
- return [el('span', { class: 'rpl-nowt' }, el('span', { class: 'ki hot' }, icon('play', 'sm')),
258
- tp ? [el('span', { class: 'mono dim' }, run.n || ''), el('b', { 'data-rpl': 'topic' }, tp.text), el('span', { class: 'mono dim' }, wall(s, run.from_ms) + ' to ' + wall(s, run.to_ms))] : el('span', { class: 'dim' }, d.topics.length ? 'Before the first topic' : 'No topics were kept for this meeting')),
259
- el('span', { class: 'rpl-grow' }),
260
- d.shots.length ? el('span', { class: 'chip2', 'data-rpl': 'shot-state' }, icon('eye', 'sm'), si >= 0 ? 'Screen shot from ' + wall(s, d.shots[si].t) : 'Nothing shared yet') : null,
261
- d.keys.length ? lk({ 'data-rpl': 'keys' }, icon('check', 'sm'), d.keys.length + (d.keys.length === 1 ? ' key point' : ' key points') + (need ? ' · ' + need + ' need you' : '')) : null];
262
- }
263
-
264
- function stageNode(s) {
265
- const d = s.data;
266
- const si = shotIndexAt(d.shots, s.t);
267
- const sh = si >= 0 ? d.shots[si] : null;
268
- const strip = d.shots.map((x, i) => btn({ class: 'chip2' + (i === si ? ' on' : ''), 'data-rpl-seek': String(x.t), 'data-rpl-shot': String(x.t), 'aria-pressed': String(i === si), title: whyText(x.why) }, wall(s, x.t)));
269
- const screen = sh
270
- ? btn({ class: 'rpl-shotb', 'data-rpl': 'open-shot', title: 'Open this shot large' },
271
- el('img', { class: 'rpl-shot', src: '/api/notes/screen?id=' + encodeURIComponent(d.note.id) + '&t=' + Math.round(sh.t), alt: sh.text ? 'Screen at ' + mmss(sh.t) + ': ' + sh.text.slice(0, 200) : 'Screen at ' + mmss(sh.t), 'data-rpl-img': String(sh.t) }))
272
- : el('div', { class: 'fold', 'data-rpl': 'no-shot' }, icon('moon', 'sm'), d.shots.length ? 'Nothing was shared yet. The first screen shot is at ' + wall(s, d.shots[0].t) + '.' : 'No screen shots were kept for this meeting.');
273
- return sect({ ic: 'eye', title: 'On screen', attrs: { class: 'rpl-stage', 'data-rpl': 'stage' }, right: sh ? el('span', { class: 'dim mono' }, (whyText(sh.why) ? whyText(sh.why) + ' · ' : '') + wall(s, sh.t)) : null },
274
- el('div', { class: 'rpl-screen' }, screen),
275
- d.shots.length || d.aside_count ? el('div', { class: 'rpl-strip', role: 'group', 'aria-label': 'Screen shots kept, by time' }, ...strip, el('span', { class: 'rpl-grow' }),
276
- d.aside_count ? pbtn('ghost', d.aside_count + ' set aside', 'eye', { 'data-rpl': 'aside' }) : null) : null);
277
- }
278
-
279
- function buildKeys(s) {
280
- const d = s.data;
281
- const col = (k) => {
282
- const items = d.keys.filter((x) => x.k === k);
283
- return el('div', { class: 'rpl-col' }, el('div', { class: 'rpl-lbl' }, icon(KIC[k], 'sm'), ' ' + KPLURAL[k] + ' ', el('span', { class: 'bdg g' }, String(items.length))),
284
- items.length ? el('ul', { class: 'list', role: 'list' }, ...items.map((x) => keyRow(s, x))) : el('div', { class: 'dim rpl-none' }, 'None caught.'));
285
- };
286
- put(s.r.keys, d.keys.length ? sect({ ic: 'check', title: 'Key points', attrs: { 'data-rpl': 'keys-sect' }, right: d.keys.some((x) => x.k === 'action') ? pbtn('primary', 'Confirm all', 'check', { 'data-rpl': 'confirm', title: 'Make a task of each next step on the note\'s initiative' }) : null },
287
- el('div', { class: 'rpl-cap' }, col('decision'), col('action'), col('question')),
288
- el('p', { class: 'dim rpl-src' }, 'Each one plays from the moment it was said. Confirm all makes a task of each next step on the note\'s initiative.')) : null);
289
- }
290
- function keyRow(s, x) {
291
- const made = s.done.has(x.id);
292
- const meta = x.k === 'decision' ? x.by : x.k === 'action' ? [x.owner, x.due && 'due ' + x.due].filter(Boolean).join(' · ') : x.state === 'answered' ? 'answered' : 'still open';
293
- return nrow({ title: x.text, ic: KIC[x.k], hot: x.warn, cls: 'rpl-key', attrs: { 'data-rpl-key': x.id, ...(x.t != null ? { 'data-rpl-keyt': String(x.t) } : {}) },
294
- chips: [x.t != null ? lk({ class: 'mono', 'data-rpl-seek': String(x.t), 'data-rpl-play': x.id, title: 'Play from ' + wall(s, x.t) }, icon('play', 'sm'), wall(s, x.t)) : null,
295
- x.state === 'owner' ? el('span', { class: 'tag rpl-warn' }, icon('user', 'sm'), 'no owner') : meta ? el('span', { class: 'tag' + (x.state === 'open' ? ' rpl-warn' : '') }, meta) : null,
296
- made ? el('span', { class: 'tag' }, 'task made') : x.k !== 'question' ? el('span', { class: 'tag' }, 'draft') : null] });
297
- }
298
-
299
- function buildTopics(s) {
300
- const d = s.data;
301
- const rows = d.topics.map((t) => el('li', { class: 'nrow rpl-topic', 'data-rpl-topic': t.id },
302
- el('span', { class: 'ki' }, t.n ? el('span', { class: 'mono' }, String(t.n)) : icon('clock', 'sm')),
303
- el('div', { class: 'nb' }, el('span', { class: 'tt' }, t.text),
304
- el('div', { class: 'chips' },
305
- t.first_t != null ? lk({ class: 'mono', 'data-rpl-seek': String(t.first_t), title: 'Play from the first time it came up' }, icon('play', 'sm'), wall(s, t.first_t)) : null,
306
- t.parked ? el('span', { class: 'tag rpl-warn' }, 'parked') : t.first_t == null ? el('span', { class: 'tag' }, 'not reached') : el('span', { class: 'tag' }, (t.minutes < 1 ? 'under 1 min' : t.minutes + ' min') + (t.stretches > 1 ? ' in ' + t.stretches + ' stretches' : '')),
307
- t.by ? el('span', { class: 'tag' }, 'added by ' + t.by) : null)),
308
- el('span')));
309
- put(s.r.topics, d.topics.length ? sect({ ic: 'todo', title: 'Topics', count: d.topics.length, attrs: { 'data-rpl': 'topics-sect' } }, el('ul', { class: 'list', role: 'list' }, ...rows)) : null);
310
- }
311
-
312
- /* the conversation: built when the filter or the search changes; the current line is marked in place as time moves */
313
- function buildConvo(s) {
314
- const d = s.data;
315
- const q = s.q.trim().toLowerCase();
316
- const items = [...d.lines.map((l) => ({ t: l.t, l })), ...d.notes.map((n) => ({ t: n.t, n }))].sort((a, b) => a.t - b.t || (a.n ? 1 : 0) - (b.n ? 1 : 0))
317
- .filter((x) => s.filter === 'all' || (s.filter === 'key' ? x.l && x.l.key : x.n))
318
- .filter((x) => !q || (x.l ? x.l.text : x.n.body).toLowerCase().includes(q));
319
- const rows = items.map((x) => {
320
- if (x.n) {
321
- return el('li', { class: 'rpl-pm', 'data-rpl-pmt': String(x.t) }, btn({ class: 'rpl-lb', 'data-rpl-seek': String(x.t) },
322
- el('span', { class: 'rpl-cvwho' }, el('span', { class: 'fc-avdot', 'aria-hidden': 'true' }, icon('spark', 'sm')), el('b', { class: 'mono' }, 'PMOS'), el('span', { class: 'rpl-cat' }, x.n.cat), el('span', { class: 'dim mono rpl-time' }, wall(s, x.t))),
323
- el('span', { class: 'rpl-pb' }, x.n.body)));
324
- }
325
- const l = x.l;
326
- const k = l.key ? d.keys.find((z) => z.id === l.key.id) : null;
327
- return el('li', { class: 'rpl-l', 'data-rpl-line': String(l.i), 'data-rpl-linet': String(l.t) }, btn({ class: 'rpl-lb', 'data-rpl-seek': String(l.t) },
328
- el('span', { class: 'rpl-lh' }, el('b', null, l.who || 'You'), el('span', { class: 'dim mono' }, wall(s, l.t)), k ? el('span', { class: 'tag rpl-kt k-' + k.k }, icon(KIC[k.k], 'sm'), KWORD[k.k]) : null),
329
- el('span', { class: 'rpl-lt' }, l.text)));
330
- });
331
- const seg = el('div', { class: 'seg ini-seg', role: 'group', 'aria-label': 'Show' }, ...[['all', 'All'], ['key', 'Key points'], ['pm', 'PMOS']].map(([k, label]) => btn({ 'aria-pressed': String(s.filter === k), 'data-rpl-filter': k }, label)));
332
- const input = el('input', { type: 'search', 'data-rpl-q': '', 'aria-label': 'Search what was said', placeholder: 'Search what was said', value: s.q });
333
- put(s.r.convo, el('div', { class: 'rpl-cvh' }, el('b', null, 'Conversation'), seg),
334
- el('ol', { class: 'rpl-cvs', role: 'list', 'data-rpl': 'list' }, rows.length ? rows : el('li', { class: 'dim' }, d.lines.length || d.notes.length ? 'Nothing matches.' : 'No words were kept for this meeting.')),
335
- el('form', { class: 'rpl-cvin', onSubmit: (e) => e.preventDefault() }, input, icon('search', 'sm')));
336
- s.ix.line = -2;
337
- }
338
-
339
- /* ── painting the time ────────────────────────────────────────────────────────────────────────────────────────── */
340
-
341
- function paintTime(s, force) {
342
- const d = s.data; const root = s.root;
343
- const set = (k, v) => { const n = root.querySelector('[data-rpl="' + k + '"]'); if (n && n.textContent !== v) n.textContent = v; };
344
- set('t', mmss(s.t)); set('clk', wall(s, s.t));
345
- const head = root.querySelector('[data-rpl="head"]'); if (head) head.style.setProperty('--fc-left', pct(s, s.t) + '%');
346
- root.dataset.rplT = String(Math.round(s.t));
347
- const ri = runIndexAt(d.runs, s.t); const si = shotIndexAt(d.shots, s.t); const li = lineIndexAt(d.lines, s.t);
348
- if (force || ri !== s.ix.run) {
349
- root.querySelectorAll('.rpl-run').forEach((b) => b.classList.toggle('c', Number(b.dataset.rplRun) === ri));
350
- const cur = ri >= 0 ? d.runs[ri].topic : null;
351
- root.querySelectorAll('.rpl-topic').forEach((n) => n.classList.toggle('cur', n.dataset.rplTopic === cur));
352
- }
353
- if (force || ri !== s.ix.run || si !== s.ix.shot) put(s.r.now, nowLine(s));
354
- if (force || si !== s.ix.shot) put(s.r.stage, stageNode(s));
355
- s.ix.run = ri; s.ix.shot = si;
356
- root.querySelectorAll('.rpl-key[data-rpl-keyt]').forEach((n) => n.classList.toggle('cur', s.t >= Number(n.dataset.rplKeyt) && s.t - Number(n.dataset.rplKeyt) < NEAR_KEY_MS));
357
- const list = root.querySelector('[data-rpl="list"]');
358
- if (list && (force || li !== s.ix.line)) {
359
- let curNode = null;
360
- list.querySelectorAll('.rpl-l').forEach((n) => { const at = Number(n.dataset.rplLinet); const on = Number(n.dataset.rplLine) === li; n.classList.toggle('on', on); n.classList.toggle('fut', at > s.t); if (on) { curNode = n; n.setAttribute('aria-current', 'true'); } else n.removeAttribute('aria-current'); });
361
- list.querySelectorAll('.rpl-pm').forEach((n) => n.classList.toggle('fut', Number(n.dataset.rplPmt) > s.t));
362
- if (!curNode) { // under a filter the current line may be hidden: follow the last one shown that is not in the future
363
- const shown = [...list.querySelectorAll('.rpl-l, .rpl-pm')].filter((n) => Number(n.dataset.rplLinet != null ? n.dataset.rplLinet : n.dataset.rplPmt) <= s.t);
364
- curNode = shown[shown.length - 1] || null;
365
- }
366
- if (curNode) list.scrollTop = Math.max(0, curNode.offsetTop - list.offsetTop - list.clientHeight / 3);
367
- s.ix.line = li;
368
- }
369
- }
370
-
371
- /* ── presses ──────────────────────────────────────────────────────────────────────────────────────────────────── */
372
-
373
- async function confirmAll(s) {
374
- const d = s.data;
375
- const todo = d.keys.filter((k) => k.k === 'action' && !s.done.has(k.id));
376
- if (!todo.length) { toast('Every next step is already a task.'); return; }
377
- const { makeTask } = await import('./notes-task.js');
378
- const n = { id: d.note.id, title: d.note.title, initiative: d.note.initiative, ws: d.note.ws };
379
- for (const k of todo) {
380
- const id = await makeTask(n, { text: k.text, owner: k.owner, due: k.due });
381
- if (!id) break; // makeTask has said why (no initiative, no stage); the rest wait
382
- s.done.add(k.id);
383
- if (S !== s) return;
384
- }
385
- buildKeys(s); paintTime(s, true);
386
- }
387
-
388
- function asideSheet(s) {
389
- const aside = window.NotesAside;
390
- if (aside && typeof aside.open === 'function') { aside.open(s.data.note.id); return; }
391
- toast(s.data.aside_count + (s.data.aside_count === 1 ? ' shot' : ' shots') + ' looked like another app and ' + (s.data.aside_count === 1 ? 'is' : 'are') + ' not in the replay. They are deleted after 7 days.');
392
- }
393
-
394
- function onClick(ev) {
395
- if (!S || !S.data) { if (S && ev.target.closest && ev.target.closest('[data-rpl="close"]')) closeReplay(); return; }
396
- const s = S;
397
- if (!s.root.contains(ev.target)) return;
398
- const t = ev.target.closest('[data-rpl-seek],[data-rpl-speed],[data-rpl-filter],[data-rpl]');
399
- const rail = ev.target.closest('[data-rpl="rail"]');
400
- if (!t && !rail) return;
401
- if (t && t.dataset.rplSeek !== undefined) { ev.preventDefault(); seek(s, Number(t.dataset.rplSeek), true); return; }
402
- if (t && t.dataset.rplSpeed) { s.speed = Number(t.dataset.rplSpeed); if (s.audio) s.audio.playbackRate = s.speed; paintTop(s); return; }
403
- if (t && t.dataset.rplFilter) { s.filter = t.dataset.rplFilter; buildConvo(s); paintTime(s, true); return; }
404
- const k = t && t.dataset.rpl;
405
- if (k === 'play') { if (s.play) pauseNow(s); else { if (s.t >= lenOf(s)) seek(s, 0, false); playNow(s); } paintTop(s); return; }
406
- if (k === 'back') { seek(s, s.t - BACK_MS, false); return; }
407
- if (k === 'leave') { const id = s.data.note.id; closeReplay(); window.dispatchEvent(new CustomEvent('c3-open-note', { detail: { id } })); return; }
408
- if (k === 'keys') { const n = s.root.querySelector('.rpl-cap'); if (n && n.scrollIntoView) n.scrollIntoView({ behavior: 'smooth', block: 'center' }); return; }
409
- if (k === 'open-shot') { const i = shotIndexAt(s.data.shots, s.t); if (i >= 0) openShot({ id: s.data.note.id, frames: s.data.shots, index: i, seek: (ms) => seek(s, ms, true) }); return; }
410
- if (k === 'aside') { asideSheet(s); return; }
411
- if (k === 'confirm') { confirmAll(s); return; }
412
- // a press on the empty rail scrubs: the time under the pointer
413
- if (rail) { const b = rail.getBoundingClientRect(); if (b.width > 0) seek(s, (ev.clientX - b.left) / b.width * lenOf(s), true); }
414
- }
415
- function onInput(ev) {
416
- if (!S || !S.data) return;
417
- const q = ev.target.closest && ev.target.closest('[data-rpl-q]'); if (!q || !S.root.contains(q)) return;
418
- const s = S; s.q = q.value; const p = q.selectionStart;
419
- buildConvo(s); paintTime(s, true);
420
- const n = s.root.querySelector('[data-rpl-q]'); if (n) { n.focus(); try { n.setSelectionRange(p, p); } catch { /* not a text field */ } }
421
- }
422
- document.addEventListener('click', onClick);
423
- document.addEventListener('input', onInput);
424
-
425
- if (typeof window !== 'undefined') {
426
- window.C3Replay = { open: openReplay, close: closeReplay,
427
- /** What the page is doing, for a test and for the entry points: { open, t, playing, speed } */
428
- state: () => (S ? { open: true, t: S.t, playing: S.play, speed: S.speed, loaded: !!S.data, sound: !!S.audio && !S.soundOff } : { open: false }) };
429
- }
@@ -1,163 +0,0 @@
1
- /* pm/c3-report-deck.css — the deck view, Present, the notes, the Design studio and the design brief (initiative report-design-studio). The mockup's
2
- 42-reportdeck.css under real class names: .mk-dk is .rd-dk, .mk-dks is .rd-dks, the mockup's .mk-btn/.mk-log/.mk-sync/.mk-stale are the document
3
- sheet's .ds-btn/.ds-log/.ds-sync/.ds-stale. The slide is a render in a sandboxed frame (.rd-card > iframe), scaled with --rp-scale.
4
- Tokens only. Corners: 6px on a control, 8px on a container, 50% only on a dot. c3-report-deck.js links it once. */
5
- .c3 .sheet.rd-wide { width: min(1320px, calc(100% - 24px)); max-width: none; }
6
- /* the Design studio's width control (Half, 3/4, Whole), as a session's terminal sheet has it; a phone sheet is already full width */
7
- @media (min-width: 761px) {
8
- .c3 .sheet.rd-wide.rdsz-half { width: 50vw; }
9
- .c3 .sheet.rd-wide.rdsz-three-quarters { width: 75vw; }
10
- .c3 .sheet.rd-wide.rdsz-whole { width: calc(100vw - 24px); }
11
- }
12
- .c3 .rd-dks-size { flex: none; }
13
- .c3 .rd-dks-size button { padding: 4px 8px; }
14
- .c3.ph .rd-dks-size { display: none; }
15
- .c3 .rd-dk { display: grid; gap: var(--sp-3); min-width: 0; }
16
- .c3 .rd-dk > * { min-width: 0; }
17
- .c3 .rd-wrap { flex-wrap: wrap; min-width: 0; }
18
- .c3 .rd-small { font-size: var(--fs-2); }
19
- .c3 .rd-m0 { margin: 0; }
20
- .c3 .rd-fg { color: var(--foreground); }
21
- .c3 .rd-hide { display: none; }
22
- .c3 .rd-stack { display: grid; gap: 6px; min-width: 0; }
23
- .c3 .rd-between { justify-content: space-between; }
24
- .c3 .rd-warn { color: var(--warning); }
25
- .c3 .rd-on { color: var(--acc); border-color: var(--acc); }
26
- .c3 .rd-dk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
27
- .c3 .rd-dk-bar .seg { max-width: 100%; overflow-x: auto; }
28
- .c3 .rd-dk-bar .seg button { white-space: nowrap; }
29
- .c3 .rd-dk-caps { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
30
- .c3 .rd-dk-caps .dim { font-size: var(--fs-1); margin-right: 4px; }
31
- .c3 .rd-dk-diff p { margin: 0; }
32
-
33
- /* a slide: the render in a sandboxed frame, 1280 x 720, scaled to the card's width */
34
- .c3 .rd-card { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--slide-bg); box-shadow: 0 0 0 1px var(--border); border-radius: 6px; }
35
- .c3 .rd-card > .rd-if { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; border: 0; transform: scale(var(--rp-scale, 0.5)); transform-origin: top left; background: var(--slide-bg); }
36
- .c3 .rd-thumb > .rd-if { pointer-events: none; }
37
- .c3 .rd-big.placing, .c3 .rd-docf.placing { box-shadow: 0 0 0 2px var(--acc); }
38
- .c3 .rd-big.placing > .rd-if, .c3 .rd-docf.placing > .rd-if { cursor: crosshair; }
39
- .c3 .rd-docf { position: relative; border: 1px solid var(--border); border-radius: 8px; background: var(--slide-bg); overflow: hidden; }
40
- .c3 .rd-docf > .rd-if { display: block; width: 100%; height: var(--rp-h, 480px); border: 0; background: var(--slide-bg); }
41
- .c3 .rd-docf.sm { max-height: 520px; overflow: auto; }
42
- .c3 .rd-doclayer { position: absolute; inset: 0; pointer-events: none; }
43
- .c3 .rd-doclayer > * { pointer-events: auto; }
44
- .c3 .rd-tip { position: absolute; z-index: 4; left: var(--rp-x, 0); top: var(--rp-y, 0); transform: translate(-50%, calc(-100% - 6px)); max-width: 280px; padding: 4px 8px; border-radius: 6px; background: var(--foreground); color: var(--background); font: 500 var(--fs-2) var(--sans); pointer-events: none; white-space: normal; }
45
- .c3 .rd-tip[hidden] { display: none; }
46
-
47
- /* the deck: filmstrip, current slide, notes */
48
- .c3 .rd-dk-main { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: var(--sp-3); align-items: start; }
49
- .c3 .rd-dk-strip { display: grid; gap: 8px; align-content: start; max-height: calc(100vh - 230px); overflow: auto; position: sticky; top: 0; padding: 3px; }
50
- .c3 .rd-dk-strip.h { grid-auto-flow: column; grid-auto-columns: 120px; max-height: none; position: static; overflow-x: auto; overflow-y: hidden; }
51
- .c3 .rd-dk-th { position: relative; display: block; width: 100%; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; }
52
- .c3 .rd-dk-th[aria-current="true"] { outline: 2px solid var(--acc); outline-offset: 2px; }
53
- .c3 .rd-dk-thn { position: absolute; left: 4px; bottom: 4px; font: var(--fs-1) var(--mono); background: var(--card); color: var(--foreground); border-radius: 6px; padding: 0 4px; }
54
- .c3 .rd-dk-thp { position: absolute; right: 4px; top: 4px; display: inline-flex; gap: 2px; align-items: center; font: var(--fs-1) var(--mono); background: var(--acc); color: var(--background); border-radius: 6px; padding: 0 4px; }
55
- .c3 .rd-dk-thp .ic { width: 10px; height: 10px; }
56
- .c3 .rd-dk-stage { display: grid; gap: var(--sp-2); min-width: 0; }
57
- .c3 .rd-dk-cap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
58
- .c3 .rd-dk-under { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--sp-3); align-items: start; }
59
- .c3 .rd-dk-ncol { display: grid; gap: var(--sp-3); min-width: 0; }
60
- .c3 .rd-spk { min-height: 96px; resize: vertical; width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--foreground); font: var(--fs-3)/1.5 var(--sans); }
61
- .c3 .rd-carry { display: grid; gap: 6px; padding: 8px 10px; border: 1px dashed var(--border); border-radius: 8px; color: var(--muted-foreground); }
62
- .c3 .rd-carry p { margin: 0; font-size: var(--fs-3); font-style: italic; }
63
- /* pins: a numbered dot on the slide; yours blue, PMOS's purple and dashed while it is a proposal */
64
- .c3 .rd-pindot { position: absolute; z-index: 2; left: var(--rp-x, 50%); top: var(--rp-y, 50%); transform: translate(-50%, -50%); width: 26px; height: 26px; min-width: 0; min-height: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; place-content: center; font: 600 var(--fs-1) var(--mono); color: var(--background); background: var(--acc); border: 2px solid var(--slide-bg); box-shadow: 0 2px 6px color-mix(in oklab, var(--slide-fg) 30%, transparent); cursor: pointer; }
65
- .c3 .rd-pindot.a { background: var(--agent); }
66
- .c3 .rd-pindot.prop { border-style: dashed; }
67
- .c3 .rd-pindot.on { box-shadow: 0 0 0 4px color-mix(in oklab, var(--acc) 35%, transparent); }
68
- .c3 .rd-pindot.a.on { box-shadow: 0 0 0 4px color-mix(in oklab, var(--agent) 35%, transparent); }
69
- .c3 .rd-notes .rd-pindot { position: static; transform: none; border-color: var(--card); box-shadow: none; }
70
- .c3 .rd-notes > li.rd-note { grid-template-columns: 28px minmax(0, 1fr); padding: 6px; margin: 0 -6px; border-radius: 8px; }
71
- .c3 .rd-notes > li.rd-note::before { display: none; }
72
- .c3 .rd-notes > li.rd-note.on { background: var(--muted); }
73
- .c3 .rd-clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-foreground); }
74
- .c3 .rd-cmpg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--sp-3); }
75
- .c3 .rd-cmph { flex-wrap: wrap; margin-bottom: 6px; }
76
- .c3 .rd-cmpc { min-width: 0; }
77
- .c3 .rd-none { min-height: 120px; align-content: center; }
78
-
79
- /* Present: the audience view is the product's .rp-deck; the presenter view lays cards on the same stage */
80
- .c3 .rd-ovhost { position: fixed; inset: 0; z-index: 60; }
81
- .c3 .rp-deck.rd-ov { z-index: 60; display: flex; flex-direction: column; gap: 0; }
82
- .c3 .rd-ovframe { overflow: hidden; }
83
- .c3 .rd-ovframe > .rd-if { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; border: 0; transform: scale(var(--rp-scale, 1)); transform-origin: top left; background: var(--slide-bg); }
84
- .c3 .rd-pg { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; padding: 16px; overflow: auto; align-items: start; }
85
- .c3 .rd-pmain, .c3 .rd-pside { display: grid; gap: 12px; min-width: 0; }
86
- .c3 .rd-pp { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--foreground); }
87
- .c3 .rd-plab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
88
- .c3 .rd-ph { display: flex; gap: 6px; align-items: center; font: 500 var(--fs-1) var(--mono); color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .06em; }
89
- .c3 .rd-pnote { margin: 0; font-size: var(--fs-4); line-height: 1.5; }
90
- .c3 .rd-ptime { grid-template-columns: 1fr 1fr; }
91
- .c3 .rd-timer { font: 600 var(--fs-6) var(--mono); }
92
- .c3 .rd-jump { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 260px; overflow: auto; }
93
- .c3 .rd-jump button { display: flex; gap: 8px; align-items: center; justify-content: flex-start; width: 100%; height: auto; text-align: left; background: none; border: 0; padding: 5px 8px; border-radius: 6px; font-size: var(--fs-2); }
94
- .c3 .rd-jump button[aria-current="true"] { background: color-mix(in oklab, var(--acc) 14%, transparent); color: var(--acc); font-weight: 500; }
95
- .c3 .rd-jump .mono { color: var(--muted-foreground); font-size: var(--fs-1); }
96
- .c3 .rd-ov .rp-deck__bar { flex-wrap: wrap; }
97
- @media (hover: hover) {
98
- .c3 .rd-jump button:hover { background: var(--muted); }
99
- .c3 .rd-dks-opt:hover { background: var(--muted); }
100
- }
101
-
102
- /* the Design studio: the conversation left, the live result right */
103
- .c3 .rd-dks { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
104
- .c3 .rd-dks-chat { display: grid; gap: var(--sp-2); position: sticky; top: 0; max-height: calc(100vh - 220px); grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-columns: minmax(0, 1fr); min-width: 0; }
105
- .c3 .rd-dks-chat > *, .c3 .rd-dks-desc > * { min-width: 0; }
106
- .c3 .rd-dks-desc { display: grid; gap: 6px; grid-template-columns: minmax(0, 1fr); }
107
- /* a long sample name (a pasted link) stays in the conversation column */
108
- .c3 .rd-dks-desc .chip2 { display: block; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
109
- /* the studio stacks when its sheet is narrow (Half, or a small window) */
110
- .c3 .rd-dks-wrap { container-type: inline-size; }
111
- @container (max-width: 820px) {
112
- .c3 .rd-dks { grid-template-columns: minmax(0, 1fr); }
113
- .c3 .rd-dks-chat { position: static; max-height: none; }
114
- .c3 .rd-dks-log { max-height: 420px; }
115
- }
116
- .c3 .rd-dks-desc .dim { font-size: var(--fs-1); }
117
- .c3 .rd-dks-log { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 12px; align-content: start; overflow: auto; min-height: 120px; }
118
- .c3 .rd-dks-msg { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; }
119
- .c3 .rd-dks-msg .bub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; justify-items: start; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); min-width: 0; }
120
- .c3 .rd-dks-msg.you .bub { background: color-mix(in oklab, var(--acc) 7%, var(--card)); border-color: color-mix(in oklab, var(--acc) 25%, var(--border)); }
121
- .c3 .rd-dks-msg.err .bub { border-color: color-mix(in oklab, var(--warning) 50%, var(--border)); }
122
- .c3 .rd-dks-msg .who { font: 500 var(--fs-1) var(--mono); color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .06em; }
123
- .c3 .rd-dks-msg p { margin: 0; font-size: var(--fs-3); line-height: 1.5; overflow-wrap: anywhere; }
124
- .c3 .rd-dks-ver { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
125
- .c3 .rd-dks-ver[aria-pressed="true"] { color: var(--acc); border-color: var(--acc); }
126
- .c3 .rd-dks-smp { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); }
127
- .c3 .rd-dks-smp b { display: flex; gap: 6px; align-items: center; font-size: var(--fs-2); overflow-wrap: anywhere; }
128
- .c3 .rd-dks-smp .mono { font-size: var(--fs-1); }
129
- .c3 .rd-dks-smp p { margin: 2px 0 0; font-size: var(--fs-2); line-height: 1.4; }
130
- .c3 .rd-dks-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); }
131
- .c3 .rd-dks-thumb.img { padding: 0; object-fit: cover; }
132
- .c3 .rd-dks-thumb i { display: block; height: 3px; background: var(--slide-track); }
133
- .c3 .rd-dks-thumb.deck i:first-child { height: 6px; background: var(--slide-brand); }
134
- .c3 .rd-dks-thumb.deck i:nth-child(2) { width: 70%; }
135
- .c3 .rd-dks-thumb.page { aspect-ratio: 3 / 4; width: 40px; justify-self: center; }
136
- .c3 .rd-dks-thumb.page i:first-child { width: 60%; background: var(--slide-fg); }
137
- .c3 .rd-dks-panel { display: grid; gap: 8px; padding: 10px; border: 1px dashed var(--border); border-radius: 8px; }
138
- .c3 .rd-dks-opt { display: flex; gap: 10px; align-items: center; justify-content: flex-start; width: 100%; height: auto; text-align: left; white-space: normal; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--foreground); font: inherit; font-size: var(--fs-3); cursor: pointer; }
139
- .c3 .rd-dks-in { display: grid; gap: 8px; padding-top: var(--sp-2); border-top: 1px solid var(--border); }
140
- .c3 .rd-dks-in textarea { min-height: 64px; resize: vertical; width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--foreground); font: var(--fs-3)/1.5 var(--sans); }
141
- .c3 .rd-dks-out { display: grid; gap: var(--sp-2); min-width: 0; }
142
- .c3 .rd-dks-vers { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
143
- .c3 .rd-dks-vers .seg button { display: inline-flex; gap: 4px; align-items: center; }
144
- .c3 .rd-dks-mk { z-index: 3; }
145
- /* the saved design: a brief, not a template */
146
- .c3 .rd-dks-q { margin: 0; padding: 8px 12px; border-left: 3px solid var(--acc); background: var(--muted); border-radius: 0; font-size: var(--fs-3); line-height: 1.5; }
147
- .c3 .rd-dks-ref { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
148
- .c3 .rd-dks-rule { display: grid; gap: 4px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; }
149
- .c3 .rd-dks-rule b { font-size: var(--fs-3); }
150
- .c3 .rd-dks-rule ul { margin: 0; padding-left: 18px; font-size: var(--fs-3); line-height: 1.5; }
151
- @media (max-width: 900px) {
152
- .c3 .rd-dk-main { grid-template-columns: minmax(0, 1fr); }
153
- .c3 .rd-dk-strip { grid-auto-flow: column; grid-auto-columns: 104px; max-height: none; position: static; overflow-x: auto; overflow-y: hidden; }
154
- .c3 .rd-pg { grid-template-columns: minmax(0, 1fr); padding: 12px; }
155
- .c3 .rd-dks { grid-template-columns: minmax(0, 1fr); }
156
- .c3 .rd-dks-chat { position: static; max-height: none; }
157
- .c3 .rd-dks-log { max-height: 420px; }
158
- }
159
-
160
- /* meeting-material-replay-gaps: the audience window shows the slides only, so the toolbar is hidden; a window with no deck says why in one line */
161
- body.c3-aud-win { margin: 0; }
162
- body.c3-aud-win .rd-ov .rp-deck__bar { display: none; }
163
- .c3.aud-msg { display: grid; place-items: center; min-height: 100vh; padding: var(--sp-3); text-align: center; }