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,220 +0,0 @@
1
- ---
2
- type: Reference
3
- title: console3 lift note for Work, Briefing and Calendar
4
- timestamp: 2026-10-10
5
- ---
6
-
7
- # console3 lift note
8
-
9
- Source: `prototype/pmos-console-handoff/mockups/console3.html` (git ref `feat/console3-merge`, 5,241 lines). The mockup is the
10
- UI for the Work, Briefing and Calendar views (PM instruction, reconciliation R4a). This note says what came from where. Line
11
- numbers are lines of that file.
12
-
13
- ## The stylesheet: `pm/console3.css`
14
-
15
- Generated from the mockup's `<style>` block (lines 5 to 966), not hand-copied.
16
-
17
- - Lifted: every rule the three views use. Each selector is prefixed with `.c3`, so a view's root (class `c3`) is the only scope.
18
- The mockup's `.ph` phone class becomes `.c3.ph`; the views toggle it under 640px (`c3Phone` in `pm-work-view.js`).
19
- - Colours: the mockup's own variables map to D38 tokens (`--bg` background, `--fg` foreground, `--mfg` muted-foreground, `--ok`
20
- success, `--warn` warning, `--bad` destructive, `--opp` purple, `--acc` brand-mark). `--card`, `--muted`, `--border`, `--ring`,
21
- `--mono`, `--sans` already share their names with `tokens.css`. The sizes (`--fs-1..6`, `--sp-1..5`), the soft accent
22
- (`--accw`) and the shadows (`--sh1..3`, `--hi`) are declared on `.c3`, with a light variant under `[data-pm-theme="light"]`.
23
- - Kept as written: `#fff` text on the blue accent, shadow and scrim alphas, mask gradients (no token exists).
24
- - Keyframes are renamed `c3-NAME`.
25
- - Left out: the shell, dock, sheets, palette, toast, banner (fixed), phone tray and one-screen phone layout (`.ph1`, `.cph`,
26
- `.tray`, `.tickrow`), and the Initiatives, Reports and Releases classes. None of the three views draws them.
27
- - Added (marked "console3.css addition" at the end of the file): a disabled look for `.slt` and `.pill`, `.xp:not(.open)` content
28
- hidden, and `touch-action:pan-x` on `.fc` so a vertical swipe on a card does not scroll the page.
29
-
30
- Loaded by `ensureC3Css()` in `pm-work-view.js`, called from each of the three view modules (a `<link data-c3>` appended to
31
- `document.head` once, the way `primitives.js` links `components.css`). `index.html` is not edited. The same call places the
32
- mockup's icon sprite (lines 970 to 1026, ids renamed `c3i-*`, plus the `edit` and `trash` symbols of line 4515) in the body.
33
-
34
- ## Work: `pm/pm-work-view.js`
35
-
36
- Lifted (markup and behaviour):
37
- - Lens bar: `.calbar > .seg` with icon, label and `.bdg.g` count, the group toggle as `.ib` (lines 3207, 3281).
38
- - Add line: `.c3add > .form` plus `.chips2` with the live chips: "adds to", `.tag`, `.chip2`, `.fl pN`, `.st.warn` (lines 4573 to 4578).
39
- - Rows: `li.nrow.wrow` with `.rv.l`, `.rv.r`, `.ki(.hot)`, `.nb > .tt + .chips + .xp > .xi`, and `.qa` quick actions (lines 3258 to 3261).
40
- - Swipe: the 8px start, the `--dx` follow, the `.rv` reveal and the 90px commit (lines 2425 to 2438); the `e` and `n` keys (line 2467).
41
- - Case file: `.case > .sit`, `.c3jf` fields, `.c3steps` (`.c3sh`, `li > .c3sg .c3stt .chips2`), `.cft` footer (lines 4595 to 4605, 4651).
42
- - Lens header `.lh`, list `section.card.sect > .sh2`, group-by-job cards, `.fold` empty state, `.brief.sbb > .bcols > .bcol.l/.r` (lines 3262 to 3281, 3348).
43
- - Jobs card: `section.card.sect`, `.nrow` with `.pbar` and a case file (lines 4667 to 4671).
44
- - Undo toast: the mockup's toast-with-Undo, on the real `toast()` primitive and the real `/undo` route.
45
-
46
- Adapted: the data (every row comes from `GET /api/pm-items`, writes go through `pmPost`); the case file fields are the real
47
- edit fields (title, due, priority, waiting on, job) in the `.c3jf` grid; actions are `.pill` buttons; the case file is drawn
48
- only while a row is open and opens in place so the `.xp` transition plays; the lens header has no ring (the API gives no
49
- done count per lens).
50
-
51
- Not lifted: the card deck above the list (`workCards`, `WC`, lines 3283 to 3340) and the hero graphics (lines 3366 to 3405):
52
- their text and numbers are invented sample data. The flow card (line 3344): its counts are not served. The microphone button
53
- of the add line (line 4636): nothing real transcribes. The slide-to-confirm: Work has no outward send. The `Options` pill stays
54
- disabled as before. The phone one-screen layout (line 3411).
55
-
56
- ## Briefing: `pm/briefing-deck.js` (and `pm/briefing-model.js`)
57
-
58
- Lifted:
59
- - Stance bar with the day-part switch: `.stance`, `.ki`, `.seg.dp` (lines 2206, 2332).
60
- - Running line: `.tick > .tkt > .tki`, drawn twice for the loop (lines 539 to 545).
61
- - Banner: the mockup's `.incident` block (line 99) for a pinned Critical, since the mockup's `.banner` is a fixed toast.
62
- - Deck: `.deck`, `.fc` with `.ff`, `.cf` (`.cfa`, `.cfh .hero`, `.cfk .kp`, `.cff .cfx .cfr`), `.flipg`, `.fb` (`.fh`, `.case`), dots `.dk .dkd` (lines 2324 to 2331, 3088, 764 to 768).
63
- - Heroes: `.hn` (line), `.hr` with the ring (ring), `.hbs .hbr` (bars), `.hrw .hrr` (text kinds) (lines 3095 to 3101).
64
- - Case file: `.sit`, `.chgl`, `.opts .opt(.rec)`, `.slt`, `.cft` (lines 2275 to 2294).
65
- - Behaviour: flip with `.fl-out`/`.fl-in` (line 2403), tilt (line 2414), `deckSync` and the dots (line 2163), arrow keys and Escape (lines 2198, 2463).
66
-
67
- Adapted: the cards, ticker, banner and tags come from `GET /api/briefing` through `cardView`; tags map to the mockup's tag
68
- table by `TAG_STYLE` in `briefing-model.js` (line 2207, real token colours), the lens blurb by `PART_STYLE` (line 2206).
69
- `data-tag` carries the mockup's lowercase key (`critical`, `justin`, `opp`, `small`, `big`); the engine's label is in
70
- `data-tag-label`. The swipe is vertical (up opens the case file, down closes it, `swipeDir`), as the mockup's help text says,
71
- on top of the mockup's horizontal scroll deck. The case-file options are read-only text; the slide is a disabled placeholder.
72
-
73
- Not lifted: the clock-driven `PARTS` times and the invented `CARDC` and `focusCards2` content (lines 2206 to 2322, 2306 to 2323);
74
- the needs, review and handled-for-you sections, the time-lens ribbon, the notification sheet and bell (lines 2342 to 2361,
75
- 2472 onwards): other data, other views. The `.cfr` rows use only the engine's suggested move.
76
-
77
- ## Calendar: `pm/calendar-views.js`
78
-
79
- Lifted:
80
- - Zoom bar: `.calbar > .lens > .ib + .seg + .ib`, prev and next `.ib`, the `.tdy` Today chip (lines 2584, 2790 to 2800).
81
- - Lens header `.lh` (line 2582), animation classes `.zi .zo .sn .sp` (lines 558 to 563).
82
- - Day: `.vday` with `.hr`, `.vb`, `.vnow` placed by time (line 1400). Week and quarter or year rows: the `.nrow` day list (line 2620). Month: `.cal > .dh/.cd` with `.heat` (line 1555).
83
- - Gantt: the `svg.pg` chart and `.pgl` legend, rebuilt from `progSVG` (lines 2712 to 2735): label column, day ticks, today column, status text, promised diamond.
84
- - Strategy lens: the direction card `.fc.solo.on.dir` with `.dial` and `.sevs` (lines 2958 to 2966), the key-result rows `.krg`, `.krt`, `.chip-s` (line 2863), and the `.fold` notes.
85
- - Gestures: sideways swipe over 80px, `+` and `-`, `t`, arrow keys (lines 2689 to 2698).
86
-
87
- Adapted: all values come from `GET /api/calendar-views`. The mockup's gantt draws actual progress and a forecast overrun from
88
- sample data; here the planned bar, the forecast bar (coloured by the server's status), the promised date and the slip in days
89
- are drawn, and nothing else. The `.krt` bar shows how far a KR is behind its expected line (the only measure the server
90
- sends), not a position between baseline and target. The dial is derived by the lens's own rules: pivot signal, else early
91
- warning, else (when something is scored) persevere, else no highlight.
92
-
93
- Not lifted: the meeting card, prep pack, stage switch and notes (lines 2586 to 2597): meetings carry no prep or stage data;
94
- the week SVG of meeting hours (line 2606): events have no hours except an optional start; the summary and focus cards (lines
95
- 2762 to 2784): invented text; early signals, synergy, maturity and bets cards (lines 2884 to 2960): no source; pinch zoom and
96
- the ctrl-wheel zoom (lines 2683, 2693).
97
-
98
- # R4b: the remaining views
99
-
100
- Same source (`console3.html`, ref `feat/console3-merge`, 5,241 lines) and the same method. The stylesheet grew by an appended block
101
- ("R4b" in `console3.css`): the same generator run over the mockup's `<style>` block (lines 5 to 966) with only the shell dropped, and
102
- only the rules these views draw added (`.lc` (nine columns), `.lkrow`, `.hx`, `.mk`, `.dpn .dsec .dfi`, `.sntrack .snh`, `.c3rel .c3dt`,
103
- `.c3ag .c3res2 .c3strip .c3mv`). That block supersedes the header's "left out: the Initiatives, Reports and Release classes". Three
104
- deliberate differences: the mockup's `.sn` (a timeline point) is scoped as `.sntrack .sn`, because `.calbody.sn` is the Calendar's animation
105
- class; `.c3.c3e` (an embedded root: block layout, no page-level grid or container) for the views that mount where no `.c3` root exists
106
- (the document rail, the outbox, the slide, the sessions panel, the sheet body); and a few small additions marked "console3.css addition".
107
- Every view calls `ensureC3Css()`. Where a view has its own root (lifecycle, releases, forecast, reports) it carries `c3` and `c3Phone`.
108
- No `innerHTML` is used with real data: the mockup's string templates are `el()` calls. Every `data-*` hook the views already emitted stays.
109
- Press controls stay presses (Allow, Deny, Accept, Revise, Reject, Add, Save, Create): the mockup turns some into slides, but the routes and
110
- tests assume a press, and no outbound channel exists.
111
-
112
- ## Lifecycle lens: `pm/lifecycle-lens.js` (and `lifecycle-lens-model.js`, unchanged)
113
-
114
- Lifted: view bar `.calbar` with the nine stages as `.seg` buttons (icon, label, `.bdg.g` count) and the scope as `.chips2 .pill` (iniHead,
115
- 3576; icons from ILI 3437 and 4686); `.lh` (3579); `.calwrap > .calbody > .brief.sbb > .bcols` (3600); `.cdeck > .deck > .fc` with the dots
116
- `.dk .dkd` (iniDeck 3580; the card is the Briefing's `.ff > .cf > .cfa .cfh .cff`); the lifecycle line `.lc` (3487, nine cells); the stage
117
- list `section.card.sect > .sh2 + ul.list > li.nrow` with a case file in `.xp > .xi` (c3needs 4714, c3parkRow 4719: Park and Kill with a reason).
118
- Adapted: data is the Initiatives ctx rows; the deck has one card per initiative at the stage (five at most, none invented), a ring of
119
- done stages over signalled stages; the lens header says "no signal yet" or "skipped by the lane" from `stageNote`; Park and Kill are `.pill`s
120
- that call `setLifecycle`. Not lifted: the five invented cards per stage (3490 to 3562), the hypothesis, idea, score and chart lists and the
121
- right-hand charts, the case file's "have the agent draft it" options with slides, the Build and Deliver ticket and release lists (4730 to
122
- 4760; Releases is its own view), the phone one-screen layout (3604).
123
-
124
- ## Releases: `pm/releases-view.js`
125
-
126
- Lifted: `.lh` (4941), `.bcols`, the list with a "New release" row (`.ki` with the soft accent and plus) and one `li.nrow` per release with
127
- initiative chips, `.tag` tags, date chips, `.st` flags and the case file `.case > .sit + .c3rel` (c3relRow 4867, c3relList 4869,
128
- C3.cases.rl 4880, c3wizard 4903); the create form as `.c3rel` with initiative pills, type pills and `.c3dt` date and time labels; tag
129
- detection and gap flags as a tag row and `.chgl` rows; the summary lines as `.form.row` (text and source select) with a refused line
130
- flagged. Adapted: all from `GET /api/releases`; "accepted by the PM" replaces the mockup's "shipped" (acceptance is not shipping); the open
131
- rules card says no freeze rule is set and no Jira tag is created from here. Not lifted: the invented releases and Jira tags (C3.REL, C3.JV,
132
- 4851 to 4862), the ticket table `.tbl` (no tickets in the payload), ready-to-ship checks, the freeze chip and its example rule, sync from
133
- Jira and the demo button, the outward options (tag, person update, calendar hold: each needs the slide and an outbox), the promises card,
134
- the "Jira release tags" bars.
135
-
136
- ## Timeline and forecast: `pm/timeline-forecast-view.js`
137
-
138
- Lifted: `.lh`, `.bcols`, the Timeline card `section.card > h3 + .snh + .sntrack + svg.pg + .pgl` (timeLeft 4036, scrubHtml 4015); the Gantt
139
- redrawn from ganttTix (4016): label column with the critical-path dot, Monday ticks, the today column, dependency elbows with arrowheads
140
- (red when both ends are critical), planned bar with the thin forecast bar under it, the red dot where the forecast passes the plan, the status
141
- text on the right; the "what changed" `ul.hx` (4038); capacity as `.hbr` bars (capCard 4442). Adapted: the time machine has five points
142
- (today and four earlier days) instead of the mockup's named plan checks, and Replay steps through them; a point lists the plan as it stood
143
- (`/api/forecast/at` returns items, not forecasts, so the Gantt does not redraw for a past day); the slider of the earlier view is the track.
144
- Apply stays disabled with its title. Not lifted: the dashed "where it was before" ghost bars (no earlier forecast is served), the promised
145
- line (no promise is served), progress fill (none served; a done item is filled), calendar sync, scope-creep and drift charts (4038 to 4040,
146
- invented), the forecast matrix (4042).
147
-
148
- ## Reports: `pm/report-families-view.js`
149
-
150
- Lifted: the family switch `.calbar > .seg` and variant pills (r2head 4320); `.lh` (4330) and the facts row `.lkrow > .chip2` (4324);
151
- `.bcols`; the report card with one `li.nrow` per section (rsRow 4285: `.ki`, `.tt`, traced, stale and needs-input chips, `.xp` for where
152
- the claims come from) ending in the send row with the slide (r2composer 4334); the claims check as `.hbs > .hbr` (r2claims 4341); the
153
- who-holds-what list as `ul.hx` (r2right 4343). Adapted: families, variants and the claims check are the real routes; the send slide is the
154
- disabled placeholder used on Briefing, with `SEND_WHY` as its title. Not lifted: the invented reports, sections and sources (R2R, pjSecs,
155
- pdSecs, 4224 to 4258), audience pills, the card deck (rp1 to pe4), swipe to approve or cut a section (no approve record), the
156
- communications queue (the outbox panel is that), the sent history, the document button, benchmark and portfolio cards.
157
-
158
- ## Slide: `pm/slide-confirm.js`
159
-
160
- Lifted: the markup `.slt > span.lb + button.th` (caseHtml 2290) and the drag (2439 to 2447: thumb follows the pointer, `--p` fills the track,
161
- a short drag nudges and says a tap is not enough). Kept from before: the hash binding, hold Enter and four ArrowRights, `role=slider`,
162
- reduced motion. The control sets `--tc` itself (a bare slide has no `.case`).
163
-
164
- ## Outbox: `pm/outbox-panel.js`
165
-
166
- Lifted: `section.card.sect > .sh2 + ul.list > li.nrow` with `.ki`, `.tt`, `.chips` and the case file `.case > .sit + textarea + .chgl +
167
- .slt` (cmRow 4280, r2queue 4338). Claim check rows are `.chgl`. Not lifted: the swipe on a message row, the draft, held and sent
168
- states and the "external, you approve" chip (the entry carries none of them).
169
-
170
- ## Document panel: `pm/doc-health-panel.js`
171
-
172
- Lifted: `.dpn` with the shield and "N of M checks pass", `ul.chgl` rows (`li.ok` or `li.bad`), the revision list `ul.hx`, the diff as
173
- `.dpn.dfi > .dsec > p` with `ins` and `del` (docPanel 4090 to 4104, diffHtml 4075, history 4102). Fixed on the way: "Fix with the agent" and
174
- "Accept" were built with `disabled: ''`, which leaves a button enabled; they are now truly disabled, with their titles. Not lifted: the
175
- Read, Edit and Relations modes (the rail has its own), per-check fix chips, section flags, the document graph (no relations data here).
176
-
177
- ## New initiative: `pm/new-initiative-sheet.js`
178
-
179
- Lifted: the one-line add `.c3add > .form` with the spark button, the suggestion as `section.card.sect` with `.case > .sit + .chgl` rows
180
- (lane guess, anchor, prior rejection with `.tag`), fields as `.c3jf` label rows (c3niLine 4786, c3niCard 4787). The dialog is still the
181
- real `sheet()`; Cancel and Add stay in its footer. Not lifted: the microphone, "try" example pills, the four-step progress list, the lane
182
- options with slides, anchor pills (the anchor stays a `select`, which the page and its tests set by value), the phone bottom sheet.
183
-
184
- ## Sessions and the agent card: `pm/sessions-panel.js`, `pm/run-card.js`
185
-
186
- Lifted: `section.card.sect > .sh2` with `.bdg.g` counts, `li.nrow > .ki > .mk` (w, n, b) with the agent block in `.xp.open > .xi`, the Automatic
187
- switch as a `.pill` with `aria-pressed` (c3sessList 5183); the agent block `.c3ag` with the working strip `.fold.a` and `.c3spin`, the result
188
- `.c3res2` with claims as `.chgl` plus a `.tag` for the basis, the moves as `.chips2.c3mv` pills with the mockup's icons, the revise and
189
- reject chips, the permission as a case file with the command in `.term` (agBlock 5100, agResultHtml 5082, agMoves 5076, agWorkHtml 5054).
190
- Moves, revise options and reject reasons come from the card, not the mockup's lists. Not lifted: the invented runs and results (AM, table,
191
- deck, diagram, file), the reply tray text field and voice (the host's `onReply`), the Rules and "demo" cards, past-run timelines and
192
- "Continue" (not served), the step strip and helpers (the card has no steps), undo.
193
-
194
- # E2b: the shell strip, bell, banner, recording group, read-aloud, haptics and phone tiles
195
-
196
- Same source and method. Files: `pm/shell-model.js` (pure logic, tested by `scripts/tests/shell-model.test.js`), `shell-ticker.js` (also the one
197
- shared read of `GET /api/briefing`, kept 60 s), `shell-bell.js` (bell, list, banner, popup, `buzz`), `shell-recording.js`, `shell-readaloud.js`,
198
- `shell-phone.js` (the strip and the four tiles). `app.js` has one added line in `setupFrame`: a lazy `import('./shell-phone.js')` that calls
199
- `mountShell({ parent: root, after: bar.node, go })`. The CSS is the "E2b" block at the end of `console3.css`.
200
-
201
- Lifted: ticker `.tick > .tkt > .tki` (lines 539 to 545, 2478 to 2484); bell and `.nbdg` (2476, 2477, 490); the notification list as `.sheet.bs` with
202
- `.scrim`, `.grab`, `.sh2` and `.nli` rows (2503 to 2506, 489 to 505); `.banner` (492, 2507); `.eq` and the speaker control (512, 2518 to 2530);
203
- `.recg`, `.recdot` (916 to 924, 4385 to 4400); `.tickrow`, `.tray`, tile `button.tl` (539 to 552, 2486 to 2492).
204
-
205
- Rewritten (el() calls, never innerHTML): all of it. Data: ticker lines and banner are the route's `ticker` and `banner`; the bell counts cards
206
- (`bellCount`); read-aloud says `readText(card)`: the card's own tag, headline, facts and deadline text, nothing added. Haptics are
207
- `hapticFor(kind, reduced)` and a guarded `navigator.vibrate`. The recording group reads `note-dock.js recordState()` and calls its
208
- `highlightNow`, `pauseNow`, `resumeNow`, `stopNow` and `openDock`; it never starts a recording (that stays the Record control's job).
209
-
210
- Differences, on purpose:
211
- - The strip sits directly under the top bar, not inside it: `topbar.js` rebuilds its children on every update, which would remove a slot
212
- added there. The tools (recording group, speaker, bell) are at the right end of the strip.
213
- - Under prefers-reduced-motion the ticker shows its lines one at a time, the recording dot is static, and haptics are off.
214
- - The phone tiles are Briefing, Calendar, Work and More (the places the phone has), not the mockup's Needs you, Review, Next and Handled, whose
215
- counts are sample data. Calendar and Briefing both open Today. A tile count appears only where a real number exists (cards, My work).
216
- - The tile class `.tl` is scoped `.tray .tl` (the mockup also uses `.tl` for the timeline).
217
- - The red dot is placed on the Notes tab (`[data-fr-dest="notes"]`); this app has no Calendar tab, and the phone's tab bar has no Notes tab, so
218
- on a phone the recording group (in the strip) is the indicator.
219
- - Not lifted: the mockup's invented notifications and timed live arrival; the spoken day-part intro. The read-aloud button reads the top
220
- card of the briefing, because the deck exposes no "open card" hook.
@@ -1,172 +0,0 @@
1
- /**
2
- * cozy-home.js — Home's own parts (initiative premium-agreed-design, H1 and H2; planning/prd/premium-agreed-design-prd.md).
3
- *
4
- * Home is the desk: one list on the left in groups, the chat in the middle and the Viewer on the right (a popup on a phone). The groups reuse the
5
- * cards the Briefing and My work drew (premium.js, premium-work.js); this file adds what is new on Home:
6
- * - the summary line ("Good afternoon. 3 things need you."), drawn from the Needs you count premium.js reads
7
- * - the meeting line: only the current or next meeting, with +N for the rest of the day, which opens the calendar in the Viewer
8
- * - the Initiatives group: each open initiative with its step on the lifecycle and what finishes it, read from GET /api/board-premium
9
- * - the Sessions group's count line, and on a phone the button that opens the session list
10
- * - a fold on each group, remembered on this device
11
- * It writes nothing. A press opens a conversation or a page; every write stays a press in the dialog it opens.
12
- */
13
- import { mountNav } from './cozy-nav.js';
14
- import { $, $$, esc, store, openDlg, loadThread, openChatPage, openSessions, openSessionRow, homeDock, turnA, ptx, kv } from './premium-shell.js';
15
-
16
- mountNav('home');
17
-
18
- /* ── the lifecycle: six stages and two milestones (◆). Ideate counts for Discover, Strategize for Prioritize (PRD L1). ── */
19
- export const STEPS = [
20
- { key: 'triage', label: 'Triage', next: 'the BRD' },
21
- { key: 'discover', label: 'Discover', next: 'the PRD' },
22
- { key: 'plan', label: 'Plan', next: 'scope, timeline and work breakdown; your Commit pushes the tickets to Jira' },
23
- { key: 'prioritize', label: 'Prioritize', next: 'ranked on the roadmap' },
24
- { key: 'build', label: 'Build', next: 'the features delivered, tracked in Jira' },
25
- { key: 'deliver', label: 'Deliver', ms: true, next: 'the release shipped, with your sign-off' },
26
- { key: 'monitor', label: 'Monitor', next: 'the outcome report' },
27
- { key: 'evaluate', label: 'Evaluate', ms: true, next: 'your call: keep, iterate or stop' },
28
- ];
29
- const OLD = { ideate: 'discover', strategize: 'prioritize', strategise: 'prioritize' };
30
- /** The step a stage name stands for, or null when the name is not one of the eight (the raw name is then shown as it is). */
31
- export function stepOf(stage) {
32
- const k = String(stage || '').trim().toLowerCase().replace(/^◆\s*/, '');
33
- const key = OLD[k] || k;
34
- const i = STEPS.findIndex((s) => s.key === key);
35
- return i < 0 ? null : { ...STEPS[i], i };
36
- }
37
- /** The eight-step ladder as cz-ladder marks: done, now, and the milestones as diamonds. */
38
- export function ladderHtml(i) {
39
- return `<span class="cz-ladder" aria-hidden="true">${STEPS.map((s, j) => `<i class="${[s.ms ? 'ms' : '', j < i ? 'done' : j === i ? 'now' : ''].filter(Boolean).join(' ')}"></i>`).join('')}</span>`;
40
- }
41
-
42
- /* ── the summary line ── */
43
- export function greeting(d = new Date()) { const h = d.getHours(); return h < 5 ? 'Good evening' : h < 12 ? 'Good morning' : h < 18 ? 'Good afternoon' : 'Good evening'; }
44
- export function summaryText(n, d = new Date()) {
45
- if (n == null) return 'Reading what needs you.';
46
- return greeting(d) + '. ' + (n === 0 ? 'Nothing needs you.' : n + (n === 1 ? ' thing needs you.' : ' things need you.'));
47
- }
48
- export function drawSummary(n) { const el = $('#hSum'); if (el) el.textContent = summaryText(n); }
49
-
50
- /* ── the meeting line: the current or next meeting only; +N opens the calendar in the Viewer ── */
51
- const hm = (iso) => { const d = new Date(iso); return Number.isNaN(d.getTime()) ? '' : String(d.getHours()).padStart(2, '0') + ':' + String(d.getMinutes()).padStart(2, '0'); };
52
- const CLOCK = '<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>';
53
- const NOTES = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h9l4 4v14H6zM14 3v5h5M9 13h7M9 17h5"/></svg>';
54
- /** The line's words from the brief-page day: { meeting, more, text, aria } or null when no meeting is left today. */
55
- export function meetLineOf(P) {
56
- const t = P && P.ok && Array.isArray(P.today) ? P.today : [];
57
- const left = t.filter((m) => m && m.state !== 'past');
58
- const m = left.find((x) => x.state === 'now') || left.find((x) => x.state === 'next') || left[0];
59
- if (!m) return null;
60
- const todo = (m.before || []).filter((x) => x && !x.done).length;
61
- const note = m.state === 'now' ? 'on now' : todo ? todo + ' to do before' : (m.prepared || []).length ? 'prep ready' : '';
62
- const more = left.length - 1;
63
- return { meeting: m, more, note, text: (m.state === 'now' ? 'Now' : hm(m.start)) + ' ' + m.title,
64
- aria: (m.state === 'now' ? 'Meeting on now: ' : 'Next meeting: ' + hm(m.start) + ' ') + m.title + (note ? ', ' + note : '') };
65
- }
66
- export function drawMeetLine(P, { open } = {}) {
67
- const box = $('#hMeet'); if (!box) return;
68
- if (!P || !P.ok) { box.hidden = true; return; }
69
- const L = meetLineOf(P);
70
- const calBtn = `<button type="button" class="cz-mcal" id="hMeetCal" aria-label="${L && L.more ? 'All meetings and notes: ' + L.more + ' more today' : 'The calendar and notes'}" title="Calendar and notes, in the Viewer">${L && L.more ? '+' + L.more : CLOCK}</button>`;
71
- const notesBtn = `<button type="button" class="cz-mcal" id="hMeetNotes" aria-label="Meeting notes" title="Every meeting note, in the Viewer">${NOTES}</button>`;
72
- box.innerHTML = (L
73
- ? `<button type="button" class="cz-mgo" id="hMeetGo" aria-label="${esc(L.aria)}">${CLOCK}<span><b>${esc(L.meeting.state === 'now' ? 'Now' : hm(L.meeting.start))}</b> ${esc(L.meeting.title)}${L.note ? ` · <em>${esc(L.note)}</em>` : ''}</span></button>`
74
- : '<span class="cz-mgo cz-mnone">No more meetings today</span>') + calBtn + notesBtn;
75
- box.hidden = false;
76
- const go = $('#hMeetGo');
77
- // the Viewer's registry (premium-vw-open.js): the meeting, the calendar and the notes each open in the czViewer card; nothing reloads the page
78
- const V = () => import('./premium-vw-open.js').then(() => window.czViews);
79
- if (go && L) go.onclick = () => V().then((v) => v.openMeeting(L.meeting));
80
- $('#hMeetCal').onclick = () => V().then((v) => v.openCalendar({ view: 'day' }));
81
- $('#hMeetNotes').onclick = () => V().then((v) => v.openNotes());
82
- }
83
-
84
- /* ── the Initiatives group (GET /api/board-premium: the open initiatives the Board lists, late and at-risk first) ── */
85
- const I = { rows: null, err: '', ws: '', board: '', open: new Set(), ses: [] };
86
- const wsQ = () => new URLSearchParams(location.search).get('ws') || '';
87
- const iniHref = (r) => '/premium-initiative.html?' + ['id=' + encodeURIComponent(r.id), I.ws ? 'ws=' + encodeURIComponent(I.ws) : '', I.board ? 'board=' + encodeURIComponent(I.board) : ''].filter(Boolean).join('&');
88
- const dotOf = (r) => (r.late ? 'late m-warn' : r.status === 'at risk' ? 'risk m-info' : r.status === 'blocked' ? 'red m-crit' : r.status === 'done' ? 'ok' : 'q');
89
- /** An initiative's own sessions: a chat whose conversation is about it (init:<id> or board:<id>). */
90
- const sesOf = (id) => I.ses.filter((s) => s.key && (s.key === 'init:' + id || s.key === 'board:' + id || s.key.startsWith('init:' + id + ':')));
91
- function initRowHtml(r) {
92
- const st = stepOf(r.stage), kids = sesOf(r.id), open = I.open.has(r.id);
93
- const where = st ? st.label + (st.ms ? ' · milestone' : '') : r.stage || 'No stage';
94
- const sub = [where, st ? 'Next: ' + st.next : '', r.statusLabel].filter(Boolean).join(' · ');
95
- const kidsLine = kids.length ? kids.length + (kids.length === 1 ? ' session' : ' sessions') : 'More';
96
- return `<li class="cz-row" data-ini="${esc(r.id)}"><button type="button" class="cz-rb" data-iopen="${esc(r.id)}" aria-label="${esc(r.title + ', ' + sub)}"><i class="cz-dot ${dotOf(r)}" aria-hidden="true"></i><span class="cz-rt"><b>${esc(r.title)}</b><small>${esc(sub)}</small>${st ? ladderHtml(st.i) : ''}</span></button>`
97
- + `<button type="button" class="cz-kids" data-ikids="${esc(r.id)}" aria-expanded="${open}" aria-label="${esc((open ? 'Hide' : 'Show') + ' what is inside ' + r.title)}">${esc(kidsLine)}<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></button>`
98
- + (open ? `<ul class="cz-sub">${kids.map((k) => `<li><button type="button" class="cz-rb sm" data-isid="${esc(k.id)}"><i class="cz-dot ${k.state === 'needs' ? 'you m-info' : k.state === 'blocked' ? 'late m-warn' : k.state === 'working' ? 'ok' : 'q'}" aria-hidden="true"></i><span class="cz-rt"><b>${esc(k.name)}</b><small>${esc(k.hint || '')}</small></span></button></li>`).join('')}`
99
- + `<li><button type="button" class="cz-rb sm" data-iask="${esc(r.id)}"><span class="cz-rt"><b>Quick ask</b><small>A new question about ${esc(r.title)}</small></span></button></li>`
100
- + `<li><a class="cz-rb sm" href="${esc(iniHref(r))}"><span class="cz-rt"><b>Open the initiative</b><small>Its page: the ladder, its records and its work</small></span></a></li></ul>` : '')
101
- + '</li>';
102
- }
103
- function drawInit() {
104
- const b = $('#initBody'), cap = $('#initCap'); if (!b) return;
105
- if (I.rows == null) { b.innerHTML = I.err ? `<p class="note" role="status">The initiatives could not be read: ${esc(I.err)}</p>` : ''; cap.textContent = I.err ? 'Not read' : 'Reading'; return; }
106
- cap.textContent = String(I.rows.length);
107
- b.innerHTML = I.rows.length ? `<ul class="cz-list">${I.rows.map(initRowHtml).join('')}</ul>` : '<p class="note">No initiative is open on this board.</p>';
108
- }
109
- async function readInit() {
110
- let r = null;
111
- try { const res = await fetch('/api/board-premium' + (wsQ() ? '?ws=' + encodeURIComponent(wsQ()) : ''), { credentials: 'same-origin' }); r = await res.json(); } catch { r = null; }
112
- if (r && r.state === 'reading') { setTimeout(readInit, 3000); return; } // the board's first read is still running
113
- const m = r && r.ok && r.model;
114
- if (!m || !m.initiatives) { I.rows = null; I.err = (r && r.error) || 'the server did not answer'; drawInit(); return; }
115
- I.ws = m.ws || (m.board && m.board.ws) || wsQ(); I.board = (m.board && (m.board.id || '')) || '';
116
- I.rows = (m.initiatives.list && m.initiatives.list.rows) || []; I.err = '';
117
- drawInit();
118
- }
119
- /** An initiative row opens its conversation in the middle and where it stands in the Viewer (H2). */
120
- function openIni(r) {
121
- const st = stepOf(r.stage), key = 'init:' + r.id;
122
- const pane = `<article class="paper doc cz-ini"><p class="label">Where it stands</p><h3 class="d2">${esc(r.title)}</h3>${st ? ladderHtml(st.i) + `<p><b>${esc(st.label)}${st.ms ? ' <i class="cz-ms" aria-hidden="true"></i>' : ''}</b>. What finishes it: ${esc(st.next)}.</p>` : `<p>Stage: ${esc(r.stage || 'none on record')}.</p>`}`
123
- + kv([['Owner and lane', r.sub], ['Status', r.statusLabel || (r.status ? r.status : '')], ['Finish', r.finish], ['Progress', r.progress != null ? r.progress + '%' : '']])
124
- + `<p><a href="${esc(iniHref(r))}">Open the initiative page</a></p></article>`;
125
- const say = 'Ask about ' + r.title + '. Claude reads its records; it works in a real Claude Code session.';
126
- openDlg({ eye: 'Initiative' + (st ? ' · ' + st.label : ''), title: r.title, sub: r.sub, say, stream: turnA(ptx(say)), noteKey: key, pane, label: 'Status' });
127
- loadThread(key);
128
- }
129
- document.addEventListener('click', (e) => {
130
- const o = e.target.closest('[data-iopen]'), k = e.target.closest('[data-ikids]'), s = e.target.closest('[data-isid]'), a = e.target.closest('[data-iask]');
131
- const row = (id) => (I.rows || []).find((x) => x.id === id);
132
- if (o) { const r = row(o.dataset.iopen); if (r) openIni(r); return; }
133
- if (k) { const id = k.dataset.ikids; I.open.has(id) ? I.open.delete(id) : I.open.add(id); drawInit(); const again = $(`[data-ikids="${CSS.escape(id)}"]`); if (again) again.focus(); return; }
134
- if (s) { openSessionRow(s.dataset.isid); return; }
135
- if (a) { const r = row(a.dataset.iask); if (r) openChatPage('init:' + r.id, r.title); }
136
- });
137
-
138
- /* ── the Sessions group: its count line; on a phone, where the list is not docked, a button opens it ── */
139
- document.addEventListener('pmos:sessions', (e) => {
140
- const m = e.detail; I.ses = (m && m.rows) || [];
141
- const cap = $('#sessCap'); if (cap) cap.textContent = !m || !m.live ? 'None running' : [m.ready ? m.ready + ' ready' : '', m.blocked ? m.blocked + ' may be stuck' : '', m.working ? m.working + ' running' : ''].filter(Boolean).join(' · ') || String(m.live);
142
- if (I.rows && I.open.size) drawInit();
143
- });
144
- if (!homeDock()) {
145
- const h = $('#hSessions');
146
- if (h) { h.innerHTML = '<button type="button" class="cz-chip" id="hSesOpen">Open the session list</button>'; $('#hSesOpen').onclick = () => openSessions(); }
147
- }
148
- { const c = $('#hChat'); if (c) c.onclick = () => openChatPage('chat:main', ''); }
149
-
150
- /* ── a fold on each group, remembered on this device. Every group starts open. ── */
151
- const FOLD_KEY = 'pmos.home.shut';
152
- const GROUPS = ['movesCard', 'aroundCard', 'initGrp', 'sessGrp', 'queue', 'waitCard', 'frCard', 'revCard', 'todayCard'];
153
- let shut;
154
- try { shut = JSON.parse(store.get(FOLD_KEY) || 'null'); } catch { shut = null; }
155
- if (!Array.isArray(shut)) shut = [];
156
- function foldMount(id) {
157
- const c = document.getElementById(id), h = c && c.querySelector(':scope > .ch');
158
- if (!h || h.querySelector('.cz-fold')) return;
159
- const t = h.querySelector('h2'), b = document.createElement('button');
160
- b.type = 'button'; b.className = 'cz-fold'; b.setAttribute('aria-controls', id);
161
- b.innerHTML = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg>';
162
- const set = (s) => { c.classList.toggle('cz-shut', s); b.setAttribute('aria-expanded', String(!s)); b.setAttribute('aria-label', (s ? 'Show ' : 'Fold ') + (t ? t.textContent : 'this group')); };
163
- set(shut.includes(id));
164
- b.onclick = () => { const s = !c.classList.contains('cz-shut'); shut = s ? [...new Set([...shut, id])] : shut.filter((x) => x !== id); try { store.set(FOLD_KEY, JSON.stringify(shut)); } catch { /* no storage */ } set(s); };
165
- h.prepend(b);
166
- }
167
- const foldAll = () => GROUPS.forEach(foldMount);
168
- foldAll(); setTimeout(foldAll, 0); setTimeout(foldAll, 1500); // the Product group (Around you) is added by premium.js after this file runs
169
-
170
- readInit();
171
- setInterval(() => { if (!document.hidden) readInit(); }, 300000);
172
- if (typeof window !== 'undefined') window.__cozyHome = { stepOf, summaryText, meetLineOf };
@@ -1,138 +0,0 @@
1
- /* pm/cozy-initiative.css — the premium initiative page in the Agreed design (initiative premium-agreed-design, I1).
2
- * Builds on pm/cozy.css (tokens, the floating menu) and pm/cozy-viewer.css (the premium tokens re-pointed to the cozy palette on .czi-tok).
3
- * No page header: the header card starts at the top of the panel. Motion: only the cz-dot levels move. */
4
-
5
- /* cozy.css's own dark tokens key on html.dark; the premium pages set data-theme, so this page repeats them for data-theme and the system setting */
6
- :root[data-theme="dark"] body.cz {
7
- --cz-ink: var(--cz-c-eceef1); --cz-ink2: var(--cz-c-c5c9d0); --cz-ink3: var(--cz-c-9ea4ad); --cz-card: var(--cz-c-24262b); --cz-well: var(--cz-c-1b1d21); --cz-well2: var(--cz-c-2a2d33); --cz-hair: rgba(236,238,241,.08);
8
- --cz-blue: var(--cz-c-6aaaf0); --cz-blueink: var(--cz-c-9bc7f4); --cz-bluebg: rgba(106,170,240,.14); --cz-ground: linear-gradient(170deg, var(--cz-c-17191c) 0%, var(--cz-c-1b1d21) 60%, var(--cz-c-1c2430) 100%);
9
- }
10
- @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.cz {
11
- --cz-ink: var(--cz-c-eceef1); --cz-ink2: var(--cz-c-c5c9d0); --cz-ink3: var(--cz-c-9ea4ad); --cz-card: var(--cz-c-24262b); --cz-well: var(--cz-c-1b1d21); --cz-well2: var(--cz-c-2a2d33); --cz-hair: rgba(236,238,241,.08);
12
- --cz-blue: var(--cz-c-6aaaf0); --cz-blueink: var(--cz-c-9bc7f4); --cz-bluebg: rgba(106,170,240,.14); --cz-ground: linear-gradient(170deg, var(--cz-c-17191c) 0%, var(--cz-c-1b1d21) 60%, var(--cz-c-1c2430) 100%);
13
- } }
14
-
15
- .cz #dock { display: none !important; }
16
- .cz .rise { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
17
- .cz .card::before { display: none; }
18
-
19
- /* the panel: one soft white panel with a 16px margin, as the Agreed frames */
20
- .cz main.stage.czi { box-sizing: border-box; max-width: none; margin: 16px; min-height: calc(100vh - 32px); padding: 16px 24px 120px; background: var(--cz-card);
21
- border-radius: 28px; box-shadow: var(--cz-lift); font-family: var(--cz-sans); color: var(--cz-ink); display: flex; flex-direction: column; gap: 14px; }
22
- .cz main.stage.czi > * { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
23
- .cz .czi .hero-slim:has(#brief:empty) { display: none; }
24
-
25
- /* ── the header card ── */
26
- .czi-card { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 20px; background: var(--cz-card); border: 1px solid var(--cz-hair); }
27
- .czi .czi-top { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 6px 4px 8px; flex-wrap: nowrap; margin: 0; }
28
- .czi-flag { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--cz-bluebg); color: var(--cz-blueink); }
29
- .czi-flag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
30
- .czi-where { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
31
- .czi-kind { font-size: 11.5px; color: var(--cz-ink3); min-width: 0; }
32
- .czi-kind .ihead { display: flex; align-items: center; gap: 8px; margin: 0; flex-wrap: wrap; }
33
- .czi-kind .ihm { font-size: 11.5px; color: var(--cz-ink3); }
34
- .czi-kind .chp { height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
35
- .czi .czi-where .where { display: flex; align-items: center; gap: 4px; min-width: 0; }
36
- .czi .czi-where .crumb { display: flex; align-items: center; gap: 2px; min-width: 0; background: none; border: 0; box-shadow: none; padding: 0; height: auto; }
37
- .czi .czi-where #crIni { max-width: none; min-width: 0; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cz-ink); }
38
- .czi .czi-where .crback { order: 3; width: 34px; height: 34px; min-width: 34px; min-height: 34px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--cz-ink3); border-radius: 999px; }
39
- .czi .czi-where .cri { width: 34px; height: 34px; min-width: 34px; border-radius: 999px; color: var(--cz-ink3); }
40
- .czi .czi-where .crback:hover, .czi .czi-where .cri:hover { background: var(--cz-well); }
41
- .czi .czi-top .tools { flex: none; gap: 4px; flex-wrap: nowrap; }
42
- .czi .czi-top .schip { height: 34px; border-radius: 999px; background: var(--cz-well); border: 0; font: 700 12.5px var(--cz-sans); color: var(--cz-ink2); }
43
- .czi .czi-top #moreBtn { width: 38px; height: 38px; min-width: 38px; min-height: 38px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--cz-ink2); }
44
- .czi .czi-top #moreBtn:hover { background: var(--cz-well); }
45
-
46
- .czi-box { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--cz-well); }
47
- .czi-box.you { box-shadow: inset 0 0 0 1.5px var(--cz-blue); }
48
- .czi-row { display: flex; align-items: center; gap: 6px; font-size: 12px; }
49
- .czi-sp { flex: 1; }
50
- .czi-stage { color: var(--cz-ink3); white-space: nowrap; }
51
- .czi-turn { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; font-weight: 800; background: var(--cz-card); color: var(--cz-ink2); }
52
- .czi-turn.you { background: var(--cz-bluebg); color: var(--cz-blueink); }
53
- .czi-turn.stalled { background: transparent; box-shadow: inset 0 0 0 1px var(--cz-dot-late); color: var(--cz-late); }
54
- .czi-lad { display: flex; align-items: center; gap: 6px; font-size: 12px; min-width: 0; }
55
- .czi-lad svg { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--cz-ink3); stroke-width: 2.4; }
56
- .czi-lad b { font-size: 14px; font-weight: 800; white-space: nowrap; }
57
- .czi-prev { color: var(--cz-ok); white-space: nowrap; }
58
- .czi-next { color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
59
- .czi-bars { width: 100%; }
60
- .czi-bars i.done { background: var(--cz-dot-ok); }
61
- .czi-bars i.now { background: var(--cz-blue); }
62
- :root[data-theme="dark"] .czi-bars i:not(.done):not(.now) { background: var(--cz-c-33363c); }
63
-
64
- .czi-items { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
65
- .czi-ckh { display: flex; align-items: center; gap: 6px; font-size: 12px; }
66
- .czi-ckh > span { margin-left: auto; color: var(--cz-ink3); white-space: nowrap; }
67
- .czi-ckt, .czi-fold { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 6px; border-radius: 8px; font: inherit; font-size: 12px; color: var(--cz-ink); background: none; border: 0; cursor: pointer; text-align: left; }
68
- .czi-ckt b, .czi-fold b { font-weight: 800; }
69
- .czi-ckt:hover, .czi-fold:hover, .czi-donerow:hover { background: var(--cz-well2); }
70
- .czi-ckt svg, .czi-fold svg, .czi-donerow svg { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--cz-ink3); stroke-width: 2.2; }
71
- .czi-ckt[aria-expanded="true"] svg, .czi-donerow[aria-expanded="true"] svg { transform: rotate(180deg); }
72
- .czi-fold span { flex: 1; min-width: 0; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
73
- .czi-it { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 2px 6px; border-radius: 8px; font-size: 13px; }
74
- button.czi-it { font: inherit; font-size: 13px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--cz-ink3); width: 100%; }
75
- .czi-it.done { color: var(--cz-ink3); }
76
- .czi-it.you { font-weight: 700; }
77
- .czi-it.risk { font-weight: 700; }
78
- .czi-itl { flex: 1; min-width: 0; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; }
79
- .czi-donerow .czi-itl { white-space: nowrap; }
80
- .czi-mk { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--cz-hair); }
81
- .czi-mk.done { background: var(--cz-dot-ok); color: var(--cz-c-ffffff); box-shadow: none; }
82
- .czi-mk.you { box-shadow: inset 0 0 0 2px var(--cz-blue); background: var(--cz-bluebg); }
83
- .czi-mk.agent { box-shadow: inset 0 0 0 2px var(--cz-dot-ok); }
84
- .czi-mk.jira { background: var(--cz-blueink); color: var(--cz-c-ffffff); box-shadow: none; border-radius: 6px; font-size: 10px; }
85
- .czi-mk.risk { box-shadow: inset 0 0 0 2px var(--cz-dot-late); color: var(--cz-late); }
86
- .czi-tag { flex: none; font-size: 11px; color: var(--cz-ink3); }
87
- .czi-tag.you { padding: 1px 8px; border-radius: 999px; background: var(--cz-blue); color: var(--cz-c-ffffff); font-weight: 800; }
88
- .czi-tag.risk { padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--cz-dot-late); color: var(--cz-late); font-weight: 800; }
89
- .czi-tag.jira { padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--cz-hair); color: var(--cz-ink2); font-weight: 800; }
90
- .czi-none { margin: 0; padding: 4px 6px; font-size: 13px; color: var(--cz-ink3); }
91
- .czi-pay { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--cz-card); font-size: 12px; line-height: 1.4; color: var(--cz-ink2); }
92
- .czi-pay b { color: var(--cz-ink); font-weight: 800; }
93
- .czi-time { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cz-ink3); }
94
- .czi-time.over { color: var(--cz-late); font-weight: 700; }
95
- .czi-time svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
96
- .czi-acts { display: flex; gap: 6px; }
97
- .czi-cta { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 12px; font: 800 14px var(--cz-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 0; cursor: pointer;
98
- background: var(--cz-blueink); color: var(--cz-c-ffffff); }
99
- .czi-cta.alt { background: var(--cz-card); color: var(--cz-ink); box-shadow: inset 0 0 0 1px var(--cz-hair); }
100
- .czi-ov { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--cz-card); border: 0; box-shadow: inset 0 0 0 1px var(--cz-hair); cursor: pointer; }
101
- .czi-ov span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cz-c-d97757); color: var(--cz-c-ffffff); font-size: 12px; font-weight: 800; }
102
-
103
- /* ── the cards below: the premium cards in cozy dress ── */
104
- .czi .card { border-radius: 22px; box-shadow: none; border: 1px solid var(--cz-hair); background: var(--cz-card); padding: 20px 22px; }
105
- .czi .ch { position: static; margin: -20px -22px 0; padding: 18px 22px 10px; background: transparent; box-shadow: none; }
106
- .czi .ch .ic { width: 34px; height: 34px; border-radius: 12px; background: var(--cz-bluebg); color: var(--cz-blueink); }
107
- .czi .ch h2 { font-size: 16px; font-weight: 800; }
108
- .czi .label { font: 800 12px var(--cz-sans); letter-spacing: 0; text-transform: none; color: var(--cz-ink3); }
109
- .czi .seg { background: var(--cz-well); }
110
- .czi .seg .pill { background: var(--cz-card); box-shadow: 0 1px 3px rgba(42,46,53,.12); }
111
- .czi .seg button { font-weight: 700; color: var(--cz-ink3); }
112
- .czi .seg button[aria-pressed="true"] { color: var(--cz-ink); }
113
- .czi .todo { border-radius: 16px; background: var(--cz-well); }
114
- .czi .cta, .czi .fold, .czi .dmcta { border-radius: 999px; font-weight: 800; }
115
- .czi .cta:hover, .czi .round:hover { transform: none; }
116
- .czi .dmr, .czi .tkq, .czi .icd { border-radius: 14px; }
117
- .czi .chp { font-family: var(--cz-sans); }
118
- .czi .empty3, .czi .note { color: var(--cz-ink3); }
119
- .czi .footi { display: flex; justify-content: flex-start; }
120
-
121
- /* the top row's round presses (back, bell, more) are quiet icon buttons, not glass */
122
- .czi .czi-top .round, .czi .czi-top .glass { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--cz-ink2); }
123
- .czi .czi-top .round:hover { background: var(--cz-well); transform: none; }
124
- .czi .czi-where #crBoard.crback { width: 34px; height: 34px; min-width: 34px; min-height: 34px; background: none; border: 0; color: var(--cz-ink3); }
125
- .czi .czi-where #crBoard.crback:hover { background: var(--cz-well); }
126
- .czi .czi-where #crBoard.crback svg { width: 16px; height: 16px; }
127
- .czi .tdw, .czi .todo .tdw { font: 800 12px var(--cz-sans); letter-spacing: 0; text-transform: none; }
128
- .czi-bars i { background: var(--cz-c-dedbd5); }
129
-
130
- /* phone: the panel fills the screen, the card's top row is the one-line bar, the floating menu sits bottom right */
131
- @media (max-width: 720px) {
132
- .cz main.stage.czi { margin: 0; border-radius: 0; min-height: 100vh; padding: 8px 12px 96px; box-shadow: none; }
133
- .czi-card { border: 0; padding: 0; }
134
- .czi .czi-top { min-height: 48px; padding: 0 0 0 2px; }
135
- .czi-kind { display: none; }
136
- .czi .card { padding: 16px 14px; border-radius: 18px; }
137
- .czi .ch { margin: -16px -14px 0; padding: 14px 14px 8px; }
138
- }