create-pmos 0.396.0 → 0.398.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 (177) hide show
  1. package/package.json +25 -25
  2. package/payload/KIT-VERSION +2 -2
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/scripts/nine-stages.js +49 -20
  6. package/payload/state/discoveries.md +1 -1
  7. package/payload/state/log.md +1 -1
  8. package/workspace/briefing-premium-adddoc-test.js +103 -74
  9. package/workspace/briefing-premium-board-test.js +316 -154
  10. package/workspace/briefing-premium-calendar-2-test.js +135 -195
  11. package/workspace/briefing-premium-calendar-3-test.js +143 -413
  12. package/workspace/briefing-premium-calendar-test.js +86 -185
  13. package/workspace/briefing-premium-doc-edit-test.js +95 -83
  14. package/workspace/briefing-premium-initiative-test.js +166 -294
  15. package/workspace/briefing-premium-insights-test.js +351 -214
  16. package/workspace/briefing-premium-metrics-test.js +53 -118
  17. package/workspace/briefing-premium-products-test.js +40 -27
  18. package/workspace/briefing-premium-sources-test.js +91 -52
  19. package/workspace/briefing-premium-test.js +150 -633
  20. package/workspace/briefing-premium-work-test.js +88 -269
  21. package/workspace/changelog.json +24 -0
  22. package/workspace/fixtures/board-premium-facts.js +2 -1
  23. package/workspace/fixtures/board-premium-jira.js +28 -0
  24. package/workspace/fixtures/board-premium-trail.js +32 -0
  25. package/workspace/fixtures/initiative-premium-facts.js +2 -1
  26. package/workspace/fixtures/initiatives-api/list.json +30 -42
  27. package/workspace/fixtures/initiatives-api/roadmap.json +40 -56
  28. package/workspace/fixtures/initiatives-api/sheet.json +10 -14
  29. package/workspace/fixtures/insights-premium-facts.js +11 -2
  30. package/workspace/fixtures/premium-viewer-fixtures.js +182 -0
  31. package/workspace/guide/briefing-premium.md +3 -1
  32. package/workspace/guide/home.md +47 -0
  33. package/workspace/guide/index.md +2 -0
  34. package/workspace/guide/lifecycle.md +51 -0
  35. package/workspace/home-shot.js +38 -0
  36. package/workspace/lib/agent-roles.js +71 -0
  37. package/workspace/lib/board-premium.js +160 -3
  38. package/workspace/lib/board-trail.js +223 -0
  39. package/workspace/lib/engine/boards.js +15 -14
  40. package/workspace/lib/engine/nine-stages.js +49 -20
  41. package/workspace/lib/engine/signals/detectors.js +13 -11
  42. package/workspace/lib/home-work-item.js +58 -0
  43. package/workspace/lib/insights-goals.js +196 -0
  44. package/workspace/lib/insights-premium.js +126 -1
  45. package/workspace/lib/insights-records.js +101 -0
  46. package/workspace/lib/jira-tickets.js +1 -1
  47. package/workspace/lib/route-modules.js +4 -0
  48. package/workspace/lib/routes-board-premium.js +3 -2
  49. package/workspace/lib/routes-board-trail.js +33 -0
  50. package/workspace/lib/routes-home-desk.js +176 -0
  51. package/workspace/lib/routes-initiatives.js +1 -1
  52. package/workspace/lib/routes-insights-premium.js +19 -3
  53. package/workspace/lib/routes-insights-records.js +129 -0
  54. package/workspace/lib/routes-notes.js +1 -0
  55. package/workspace/lib/routes-viewer.js +108 -0
  56. package/workspace/lib/transcript-steps.js +123 -0
  57. package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
  58. package/workspace/lib/viewer-meeting.js +205 -0
  59. package/workspace/lib/viewer-report.js +89 -0
  60. package/workspace/package-lock.json +2 -2
  61. package/workspace/package.json +1 -1
  62. package/workspace/premium-agreed-viewer-shots.js +76 -0
  63. package/workspace/premium-board-actions-test.js +85 -73
  64. package/workspace/premium-briefing-depth-test.js +66 -53
  65. package/workspace/premium-chat-attach-test.js +54 -63
  66. package/workspace/premium-chat-chart-tab-test.js +35 -36
  67. package/workspace/premium-chat-context-test.js +22 -19
  68. package/workspace/premium-chat-goal-view-test.js +28 -26
  69. package/workspace/premium-chat-notes-test.js +29 -33
  70. package/workspace/premium-chat-report-tab-test.js +35 -25
  71. package/workspace/premium-chat-term-test.js +16 -14
  72. package/workspace/premium-chat-viewer-test.js +60 -53
  73. package/workspace/premium-core-doc-issue-test.js +50 -41
  74. package/workspace/premium-html-viewer-test.js +17 -18
  75. package/workspace/premium-phone-card-test.js +8 -2
  76. package/workspace/premium-phone-room-test.js +42 -31
  77. package/workspace/premium-report-read-test.js +115 -197
  78. package/workspace/premium-viewer-download-test.js +19 -22
  79. package/workspace/premium-viewer-flicker-test.js +11 -16
  80. package/workspace/premium-viewer-share-test.js +6 -9
  81. package/workspace/premium-viewer-test.js +41 -60
  82. package/workspace/premium-vw-backlog-test.js +53 -31
  83. package/workspace/premium-vw-cal-test.js +82 -123
  84. package/workspace/premium-vw-copy-test.js +17 -33
  85. package/workspace/premium-vw-doc-test.js +12 -11
  86. package/workspace/premium-vw-item-test.js +50 -48
  87. package/workspace/premium-vw-jira-test.js +55 -26
  88. package/workspace/premium-vw-meet-test.js +118 -187
  89. package/workspace/premium-vw-notes-test.js +85 -107
  90. package/workspace/premium-vw-rec-test.js +72 -193
  91. package/workspace/premium-vw-slides-test.js +46 -50
  92. package/workspace/premium-welcome-test.js +3 -2
  93. package/workspace/premium-work-depth-test.js +63 -51
  94. package/workspace/public/pm/bd-acts.js +305 -0
  95. package/workspace/public/pm/bd-span.js +224 -0
  96. package/workspace/public/pm/bd-stages.js +47 -0
  97. package/workspace/public/pm/c3-doc-sheet.js +1 -1
  98. package/workspace/public/pm/c3-md.js +3 -395
  99. package/workspace/public/pm/c3-phone-detail.js +1 -1
  100. package/workspace/public/pm/c3-phone-model.js +3 -68
  101. package/workspace/public/pm/chat-term.js +3 -3
  102. package/workspace/public/pm/cozy-board.css +640 -0
  103. package/workspace/public/pm/cozy-home.css +580 -0
  104. package/workspace/public/pm/cozy-home.js +172 -0
  105. package/workspace/public/pm/cozy-initiative.css +138 -0
  106. package/workspace/public/pm/cozy-insights.css +421 -0
  107. package/workspace/public/pm/cozy-md.js +396 -0
  108. package/workspace/public/pm/cozy-nav.js +65 -0
  109. package/workspace/public/pm/cozy-placeholder.js +26 -0
  110. package/workspace/public/pm/cozy-viewer.css +143 -0
  111. package/workspace/public/pm/cozy-viewer.js +144 -0
  112. package/workspace/public/pm/cozy-vw.css +485 -0
  113. package/workspace/public/pm/cozy.css +254 -0
  114. package/workspace/public/pm/home-adddoc.js +48 -0
  115. package/workspace/public/pm/home-app.js +905 -0
  116. package/workspace/public/pm/home-around.js +515 -0
  117. package/workspace/public/pm/home-chat.js +459 -0
  118. package/workspace/public/pm/home-data.js +312 -0
  119. package/workspace/public/pm/home-draft.js +68 -0
  120. package/workspace/public/pm/home-more.js +249 -0
  121. package/workspace/public/pm/home-phone-card.js +109 -0
  122. package/workspace/public/pm/home-work.js +519 -0
  123. package/workspace/public/pm/lifecycle-lens-model.js +45 -27
  124. package/workspace/public/pm/lifecycle-lens.js +22 -11
  125. package/workspace/public/pm/phone-moment.js +69 -0
  126. package/workspace/public/pm/pm-work-view.js +1 -1
  127. package/workspace/public/pm/premium-attach.js +4 -0
  128. package/workspace/public/pm/premium-board.js +544 -253
  129. package/workspace/public/pm/premium-brief.js +1 -1
  130. package/workspace/public/pm/premium-chart-tab.js +110 -62
  131. package/workspace/public/pm/premium-chat.js +17 -10
  132. package/workspace/public/pm/premium-deck.js +3 -3
  133. package/workspace/public/pm/premium-first.js +25 -21
  134. package/workspace/public/pm/premium-initiative-head.js +138 -0
  135. package/workspace/public/pm/premium-initiative.js +28 -4
  136. package/workspace/public/pm/premium-insights.js +950 -440
  137. package/workspace/public/pm/premium-meeting.js +61 -549
  138. package/workspace/public/pm/premium-notes.js +1 -1
  139. package/workspace/public/pm/premium-report-frame.css +20 -0
  140. package/workspace/public/pm/premium-report-read.js +509 -480
  141. package/workspace/public/pm/premium-report-tab.js +87 -63
  142. package/workspace/public/pm/premium-shell.js +107 -124
  143. package/workspace/public/pm/premium-viewer.js +27 -1
  144. package/workspace/public/pm/premium-vw-cal.js +187 -48
  145. package/workspace/public/pm/premium-vw-doc.css +6 -0
  146. package/workspace/public/pm/premium-vw-doc.js +40 -2
  147. package/workspace/public/pm/premium-vw-file.js +2 -2
  148. package/workspace/public/pm/premium-vw-jira-model.js +22 -5
  149. package/workspace/public/pm/premium-vw-jira.css +11 -0
  150. package/workspace/public/pm/premium-vw-jira.js +11 -4
  151. package/workspace/public/pm/premium-vw-meet.js +6 -83
  152. package/workspace/public/pm/premium-vw-mtg.js +731 -0
  153. package/workspace/public/pm/premium-vw-notes.js +56 -69
  154. package/workspace/public/pm/premium-vw-open.js +35 -0
  155. package/workspace/public/pm/premium-vw-page.js +16 -0
  156. package/workspace/public/pm/premium-vw-rec.js +11 -215
  157. package/workspace/public/pm/premium-vw-slides.css +5 -0
  158. package/workspace/public/pm/premium-vw-slides.js +44 -8
  159. package/workspace/public/pm/term-view.js +22 -0
  160. package/workspace/public/premium-board.html +57 -64
  161. package/workspace/public/premium-chat.html +7 -33
  162. package/workspace/public/premium-initiative.html +8 -41
  163. package/workspace/public/premium-insights.html +63 -62
  164. package/workspace/public/premium-viewer.html +20 -0
  165. package/workspace/public/premium-work.html +6 -72
  166. package/workspace/public/premium.html +21 -66
  167. package/workspace/public/vendor/nunito-var.woff2 +0 -0
  168. package/workspace/server.js +25 -3
  169. package/workspace/test-files.json +1 -0
  170. package/workspace/test-lists/home-libs.json +9 -0
  171. package/workspace/test-lists/premium-agreed-viewer.json +9 -0
  172. package/workspace/test-lists/premium-report-read.json +1 -1
  173. package/workspace/test-lists/premium-vw-agreed.json +9 -0
  174. package/workspace/test-lists/premium-vw-notes.json +1 -1
  175. package/workspace/third-party/README.md +1 -0
  176. package/workspace/public/pm/premium-work.js +0 -719
  177. package/workspace/public/pm/premium.js +0 -1133
@@ -0,0 +1,580 @@
1
+ /* pm/cozy-home.css — Home in the Agreed design (initiative premium-agreed-design, Home; mockup Main.dc.html place="work").
2
+ * Token vars only (cozy.css :root holds every raw value). The desk: the list (316px well), the chat, the Viewer (cozy.css .cz-vw).
3
+ * On a phone (760px or less) the chat is the page; the top bar opens the list as a sheet. */
4
+
5
+ /* ── the desk ── */
6
+ body.cz-home { min-height: 100vh; overflow: hidden; }
7
+ .hm-top { display: none; }
8
+ .hm-desk { position: fixed; inset: 16px; box-sizing: border-box; display: flex; gap: 22px; padding: 24px 28px 22px; background: var(--cz-card); border-radius: 28px; box-shadow: var(--cz-lift); min-height: 0; }
9
+ .hm-list { box-sizing: border-box; flex: 0 0 316px; width: 316px; background: var(--cz-well); border-radius: 24px; padding: 12px 10px 76px; overflow: hidden; min-height: 0; display: flex; flex-direction: column; }
10
+ /* the list column: the groups scroll (.hm-lsc); the Elsewhere card is its foot (.hm-lft), pinned under them and never over them (AgInitSpec) */
11
+ .hm-lsc { flex: 1 1 auto; min-height: 0; overflow: auto; scrollbar-width: thin; margin: 0 -10px; padding: 2px 10px 4px; }
12
+ .hm-lft { flex: none; }
13
+ .hm-lft:empty { display: none; }
14
+ .hm-chat { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
15
+ .hm-vw { flex: none; display: flex; min-height: 0; }
16
+ .hm-vw:empty { display: none; }
17
+ /* the chat keeps at least 360px beside the list and the Viewer: on a narrower desktop the Viewer gives up width first, down to 380px */
18
+ @media (min-width: 761px) { .hm-vw .cz-vw { flex-basis: min(500px, max(380px, calc(100vw - 808px))); width: min(500px, max(380px, calc(100vw - 808px))); } }
19
+ .hm-folded .hm-list { display: none; }
20
+ .hm-unfold { display: none; }
21
+ .hm-folded .hm-unfold { display: grid; place-items: center; position: absolute; left: 10px; top: 24px; z-index: 2; width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--cz-well); color: var(--cz-ink2); cursor: pointer; }
22
+ .hm-folded .hm-desk { padding-left: 56px; }
23
+ .hm-desk button { font-family: var(--cz-sans); }
24
+ .hm-ib { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; border: 0; background: none; color: var(--cz-ink2); cursor: pointer; padding: 0; flex: none; }
25
+ .hm-ib:hover { background: var(--cz-well2); }
26
+ .hm-ib.sm { width: 28px; height: 28px; }
27
+
28
+ /* ── the list head, New, the meeting line ── */
29
+ .hm-hd { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px 8px; }
30
+ .hm-hd h1 { margin: 0; flex: 1; font-size: 14px; font-weight: 600; color: var(--cz-ink2); }
31
+ .hm-new { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--cz-card); box-shadow: var(--cz-vlift); color: var(--cz-ink); font-size: 13px; font-weight: 700; cursor: pointer; }
32
+ .hm-meet { display: flex; gap: 6px; margin: 0 2px 6px; }
33
+ .hm-mt, .hm-mp { box-sizing: border-box; height: 44px; border-radius: 14px; border: 0; background: var(--cz-card); color: var(--cz-ink); cursor: pointer; font-size: 13px; }
34
+ .hm-mt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; text-align: left; }
35
+ .hm-mt svg { color: var(--cz-blueink); flex: none; }
36
+ .hm-mt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
37
+ .hm-mt em { font-style: normal; color: var(--cz-blueink); }
38
+ .hm-mp { flex: 0 0 44px; font-weight: 700; color: var(--cz-ink2); display: grid; place-items: center; }
39
+ .hm-mp.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--cz-blue); }
40
+ .hm-mp.rec.on i { background: var(--cz-dot-red); box-shadow: 0 0 0 4px var(--cz-redbg); }
41
+
42
+ /* ── groups and rows ── */
43
+ .hm-g { margin-top: 10px; }
44
+ .hm-ghr { display: flex; align-items: center; gap: 4px; }
45
+ .hm-gadd { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 0; background: none; color: var(--cz-ink3); display: grid; place-items: center; cursor: pointer; } /* Add a stakeholder, on the Stakeholders head */
46
+ .hm-gadd:hover { background: var(--cz-well2); color: var(--cz-ink); }
47
+ .hm-gh { display: flex; align-items: center; gap: 6px; height: 36px; width: 100%; flex: 1; min-width: 0; padding: 0 10px; border: 0; background: none; color: var(--cz-ink2); font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
48
+ .hm-gh.add { font-weight: 600; color: var(--cz-ink3); }
49
+ .hm-none { margin: 6px 12px; font-size: 13px; color: var(--cz-ink3); }
50
+ .hm-r { position: relative; display: flex; align-items: center; gap: 4px; border-radius: 18px; min-height: 75px; margin: 0 0 7px; } /* a row about 75px tall at an 82px pitch (AgHome) */
51
+ .hm-r:hover { background: var(--cz-well2); }
52
+ .hm-r.sel { background: var(--cz-card); box-shadow: var(--cz-lift); }
53
+ .hm-rm { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; background: none; color: var(--cz-ink); cursor: pointer; text-align: left; border-radius: 18px; min-height: 75px; }
54
+ .hm-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
55
+ .hm-dot.you { background: var(--cz-blue); } .hm-dot.late { background: var(--cz-dot-late); } .hm-dot.ok { background: var(--cz-dot-ok); } .hm-dot.none { background: transparent; }
56
+ .hm-tile { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--cz-card); color: var(--cz-ink2); box-shadow: 0 0 0 1px var(--cz-hair); }
57
+ .hm-r.sel .hm-tile { background: var(--cz-bluebg); color: var(--cz-blueink); box-shadow: none; }
58
+ .hm-tile.sq { border-radius: 10px; width: 34px; height: 34px; background: var(--cz-bluebg); color: var(--cz-blueink); box-shadow: none; }
59
+ .hm-rt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
60
+ .hm-rt b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
61
+ .hm-rt em { font-style: normal; font-size: 12px; color: var(--cz-blueink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
62
+ .hm-kc { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 8px; border: 0; background: none; border-radius: 10px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); cursor: pointer; white-space: nowrap; }
63
+ .hm-kc.loud { color: var(--cz-blueink); }
64
+ .hm-kc:hover { background: var(--cz-well); }
65
+ .hm-x { flex: none; width: 36px; height: 36px; margin-right: 4px; border-radius: 12px; border: 0; background: none; color: var(--cz-ink3); display: grid; place-items: center; cursor: pointer; opacity: 0; }
66
+ .hm-r:hover .hm-x, .hm-x:focus-visible { opacity: 1; } /* on hover or focus only, not on the selected row (AgHome) */
67
+ .hm-x:hover { background: var(--cz-well); color: var(--cz-ink); }
68
+ @media (pointer: coarse) { .hm-x { opacity: 1; } }
69
+ .hm-kids { margin: 0 0 4px 22px; }
70
+ .hm-r.kid { min-height: 48px; margin: 2px 0; }
71
+ .hm-r.kid .hm-rm { min-height: 48px; padding: 6px 10px; }
72
+ .hm-more { display: block; margin: 2px 0 0 14px; height: 32px; border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--cz-blueink); cursor: pointer; padding: 0 2px; }
73
+
74
+ /* ── the initiative and product card ── */
75
+ .hm-card { background: var(--cz-card); border-radius: 20px; padding: 6px; box-shadow: var(--cz-vlift); margin: 0 0 6px; }
76
+ .hm-ch { display: flex; align-items: center; gap: 6px; padding: 8px 6px 10px 8px; }
77
+ .hm-sw { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; border: 0; background: none; padding: 0 0 0 4px; cursor: pointer; color: var(--cz-ink); text-align: left; }
78
+ .hm-sw .k { font-size: 11px; color: var(--cz-ink3); }
79
+ .hm-sw b { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
80
+ .hm-plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink2); display: grid; place-items: center; cursor: pointer; flex: none; }
81
+ .hm-box { background: var(--cz-well); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
82
+ .hm-box.you { box-shadow: inset 0 0 0 1.5px var(--cz-blue); background: var(--cz-card); }
83
+ .hm-br { display: flex; align-items: center; gap: 8px; font-size: 12px; }
84
+ .hm-br .st { margin-left: auto; color: var(--cz-ink3); }
85
+ /* whose turn, as a pill (AgInitYou, AgInitAgents, AgInitStalled): yours on the blue tint; agents (or engineers) working, navy on white with a
86
+ * navy dot; stalled, a blue outline with a ring dot */
87
+ .hm-turn { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; font-weight: 700; color: var(--cz-blueink); background: var(--cz-bluebg); }
88
+ .hm-turn i { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-blue); flex: none; }
89
+ .hm-turn.agents, .hm-turn.jira { background: var(--cz-card); color: var(--cz-ink2); } .hm-turn.agents i, .hm-turn.jira i { background: var(--cz-done); }
90
+ .hm-turn.stalled { background: none; box-shadow: inset 0 0 0 1px var(--cz-blue); } .hm-turn.stalled i { background: none; box-shadow: inset 0 0 0 2px var(--cz-blue); }
91
+ .hm-lad { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cz-ink3); flex-wrap: wrap; }
92
+ .hm-lad .pv { color: var(--cz-blueink); display: inline-flex; align-items: center; gap: 3px; }
93
+ .hm-lad b { font-size: 14px; font-weight: 700; color: var(--cz-ink); }
94
+ .hm-bars { display: flex; gap: 4px; margin: 2px 0 6px; }
95
+ .hm-bars i { flex: 1; height: 5px; border-radius: 3px; background: var(--cz-hair); }
96
+ .hm-bars i.done { background: var(--cz-done); } .hm-bars i.now { background: var(--cz-blue); }
97
+ .hm-ckh { display: flex; align-items: baseline; gap: 8px; font-size: 12px; width: 100%; border: 0; background: none; padding: 0; color: var(--cz-ink2); cursor: pointer; text-align: left; font-family: var(--cz-sans); }
98
+ .hm-ckh b .cz-ms { margin: 0 4px 1px 3px; }
99
+ .hm-cfold { align-items: center; gap: 6px; min-height: 32px; padding: 0 6px; border-radius: 8px; } /* the folded checklist: one line (AgInitSpec) */
100
+ .hm-cfold:hover { background: var(--cz-well2); }
101
+ .hm-cfold b { flex: none; white-space: nowrap; }
102
+ .hm-ckh.hm-cfold span { flex: 1; min-width: 0; margin-left: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
103
+ .hm-cfold svg { flex: none; color: var(--cz-ink3); }
104
+ .hm-ckh b { font-weight: 700; color: var(--cz-ink); } .hm-ckh span { margin-left: auto; color: var(--cz-ink3); }
105
+ .hm-it { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 13px; color: var(--cz-ink2); border: 0; background: none; padding: 0; width: 100%; text-align: left; font-family: var(--cz-sans); }
106
+ .hm-it .l { flex: 1; min-width: 0; }
107
+ .hm-it.donerow { cursor: pointer; } .hm-it.donerow .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
108
+ .hm-mk { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; box-sizing: border-box; font-size: 11px; font-weight: 800; }
109
+ .hm-mk.done { background: var(--cz-done); color: var(--cz-onsolid); }
110
+ .hm-mk.you { border: 2px solid var(--cz-blue); background: var(--cz-bluebg); }
111
+ .hm-mk.agent { border: 2px solid var(--cz-blue); }
112
+ .hm-mk.wait { border: 1.5px solid var(--cz-well2); box-shadow: inset 0 0 0 1px var(--cz-hair); } /* a step that is next: an empty grey circle */
113
+ .hm-mk-av.hm-av { width: 20px; height: 20px; font-size: 8.5px; }
114
+ .hm-it.wait { color: var(--cz-ink2); }
115
+ .hm-mk.risk { border: 1.5px solid var(--cz-blue); color: var(--cz-blueink); }
116
+ .hm-mk.jira { background: var(--cz-well2); color: var(--cz-ink2); }
117
+ .hm-it .tag { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; }
118
+ .hm-it .tag.you { background: var(--cz-blue); color: var(--cz-onsolid); }
119
+ .hm-it .tag.risk { box-shadow: inset 0 0 0 1px var(--cz-blue); color: var(--cz-blueink); }
120
+ .hm-it .tag.jira { background: var(--cz-well2); color: var(--cz-ink3); }
121
+ .hm-it .tag.agent, .hm-it .tag.wait { padding: 0; background: none; color: var(--cz-ink3); font-size: 11px; font-weight: 400; } /* Working, Next: a plain word */
122
+ .hm-it .tag.agent.stuck { padding: 1px 8px; box-shadow: inset 0 0 0 1.5px var(--cz-blue); color: var(--cz-blueink); font-weight: 700; }
123
+ .hm-then { margin: 2px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--cz-card); font-size: 12px; line-height: 1.45; color: var(--cz-ink2); box-shadow: 0 0 0 1px var(--cz-hair); }
124
+ .hm-box:not(.you) .hm-then { box-shadow: none; }
125
+ .hm-then b { color: var(--cz-ink); }
126
+ .hm-time { margin: 2px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cz-blueink); }
127
+ .hm-time.over { color: var(--cz-late); }
128
+ .hm-acts { display: flex; gap: 8px; align-items: center; }
129
+ .hm-cta { flex: 1; height: 38px; border-radius: 12px; border: 0; background: var(--cz-solid); color: var(--cz-onsolid); font-size: 13.5px; font-weight: 700; cursor: pointer; text-align: left; padding: 0 12px; }
130
+ .hm-cta.alt { background: var(--cz-card); color: var(--cz-ink); box-shadow: inset 0 0 0 1px var(--cz-hair); }
131
+ .hm-ov { width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); display: grid; place-items: center; cursor: pointer; padding: 0; }
132
+ .hm-else { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 10px; padding: 8px 12px; border: 0; border-radius: 16px; background: var(--cz-card); box-shadow: var(--cz-vlift); cursor: pointer; text-align: left; color: var(--cz-ink); }
133
+ .hm-else span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
134
+ .hm-else em { font-style: normal; font-size: 11px; color: var(--cz-ink3); }
135
+ .hm-else b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
136
+
137
+ /* ── avatars (the role tints) ── */
138
+ .hm-av { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-weight: 800; font-size: 11px; line-height: 1; background: var(--cz-bluebg); color: var(--cz-blueink); font-family: var(--cz-sans); }
139
+ .hm-av.s20 { width: 20px; height: 20px; font-size: 8.5px; } .hm-av.s24 { width: 24px; height: 24px; font-size: 9.5px; }
140
+ .hm-av.s28 { width: 28px; height: 28px; font-size: 10px; } .hm-av.s30 { width: 30px; height: 30px; }
141
+ .hm-av.t-C { background: var(--cz-c-2f5fb3); color: var(--cz-c-ffffff); }
142
+ .hm-av.t-St { background: var(--cz-c-eef1f8); color: var(--cz-c-34508a); } .hm-av.t-Re { background: var(--cz-c-faf0e4); color: var(--cz-c-8a5212); }
143
+ .hm-av.t-Sp { background: var(--cz-c-e9f4ee); color: var(--cz-c-2e6e48); } .hm-av.t-Ev { background: var(--cz-c-faecef); color: var(--cz-c-9a3b55); }
144
+ .hm-av.t-De { background: var(--cz-c-f1ecf8); color: var(--cz-c-6b4fa3); } .hm-av.t-Dl { background: var(--cz-c-f1ecf8); color: var(--cz-c-6b4fa3); }
145
+ .hm-av.t-Co { background: var(--cz-c-eaf4f6); color: var(--cz-c-2b6672); } .hm-av.t-Bu { background: var(--cz-c-eef1f3); color: var(--cz-c-4a5a66); }
146
+ .hm-av.t-Ka { background: var(--cz-c-f6f1e4); color: var(--cz-c-7a6420); } .hm-av.t-O { background: var(--cz-c-f4eee6); color: var(--cz-c-7a5a2e); }
147
+ .hm-av.t-An { background: var(--cz-c-edeff7); color: var(--cz-c-3e4e86); } .hm-av.t-Di { background: var(--cz-c-ecf3ee); color: var(--cz-c-3b6b4b); }
148
+ .hm-av.t-Bi { background: var(--cz-c-eef1f8); color: var(--cz-c-34508a); }
149
+
150
+ /* ── the chat ── */
151
+ .hm-reopen { position: absolute; top: 0; right: 0; z-index: 2; width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--cz-well); color: var(--cz-ink2); display: grid; place-items: center; cursor: pointer; }
152
+ .hm-reopen[hidden] { display: none; }
153
+ /* with the Viewer closed the conversation and its box sit in a centred column about 880px wide (AgInitStalled); the reopen button stays at
154
+ * the top right, and where the column reaches it the log keeps its first line clear of it */
155
+ .hm-chat { container-type: inline-size; }
156
+ @media (min-width: 761px) {
157
+ body.cz-home:not(.hm-vw-open) .hm-log, body.cz-home:not(.hm-vw-open) .hm-foot { box-sizing: border-box; width: 100%; max-width: 880px; align-self: center; }
158
+ @container (max-width: 968px) { .hm-reopen:not([hidden]) ~ .hm-log { padding-top: 46px; } }
159
+ }
160
+ .hm-log { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px; padding: 2px 4px 12px 0; scrollbar-width: thin; }
161
+
162
+ .hm-empty { margin: auto; max-width: 360px; text-align: center; color: var(--cz-ink3); font-size: 14px; line-height: 1.5; }
163
+ .hm-a { display: flex; gap: 10px; align-items: flex-start; }
164
+ .hm-ab { flex: 1; min-width: 0; font-size: 14px; line-height: 1.55; color: var(--cz-ink); }
165
+ .hm-ab .md p { margin: 0 0 6px; }
166
+ .hm-who { margin: 0; font-size: 12px; font-weight: 700; color: var(--cz-ink); line-height: 1.55; }
167
+ .hm-who span { font-weight: 400; color: var(--cz-ink3); }
168
+ .hm-who .hm-say { font-size: 14px; color: var(--cz-ink); }
169
+ /* the name and time sit in line before the first words of the message (AgChatRunning); over the message that asks, and on a phone, on their own line (AgChatAsk, AgChatPhone) */
170
+ @media (min-width: 761px) { .hm-a:not(.ask) .hm-ab > .hm-who { float: left; margin-right: 6px; line-height: calc(14px * 1.55); } }
171
+ .hm-ab::after { content: ''; display: block; clear: both; }
172
+ .hm-tools { display: flex; gap: 16px; margin-top: 4px; clear: both; }
173
+ .hm-tools button { border: 0; background: none; padding: 0; height: 24px; font-size: 12px; color: var(--cz-ink3); cursor: pointer; }
174
+ .hm-tools button:hover { color: var(--cz-ink); }
175
+ .hm-pills { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 38px; }
176
+ .hm-pills button { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink2); font-size: 13px; cursor: pointer; }
177
+ .hm-pills button.pri { background: var(--cz-solid); color: var(--cz-onsolid); border-color: transparent; font-weight: 700; }
178
+ .hm-u { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
179
+ .hm-bub { max-width: 80%; padding: 10px 16px; border-radius: 18px 18px 8px 18px; background: var(--cz-bubble); font-size: 14px; line-height: 1.5; color: var(--cz-ink); }
180
+ .hm-you { font-size: 11px; color: var(--cz-ink3); }
181
+ .hm-worked { padding-left: 38px; }
182
+ .hm-wk { display: flex; align-items: center; gap: 8px; max-width: 100%; min-height: 32px; padding: 0 4px; border: 0; border-radius: 8px; background: none; color: var(--cz-ink3); font-size: 12px; cursor: pointer; text-align: left; } /* a plain grey line (AgChatAsk) */
183
+ .hm-wk:hover { color: var(--cz-ink2); }
184
+ .hm-wk span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
185
+ .hm-wk[aria-expanded="true"] svg { transform: rotate(90deg); }
186
+ .hm-calls { margin: 6px 0 0; padding: 0 0 0 16px; font-size: 12px; color: var(--cz-ink3); display: flex; flex-direction: column; gap: 3px; }
187
+ .hm-calls code { margin-left: 8px; font-family: var(--cz-mono); font-size: 11px; }
188
+ .hm-day, .hm-since { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--cz-ink3); }
189
+ .hm-day span, .hm-since span { flex: 1; height: 1px; background: var(--cz-hair); }
190
+ .hm-since { color: var(--cz-blueink); font-weight: 700; } .hm-since span { background: var(--cz-blue); }
191
+ .hm-fold { align-self: center; height: 32px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); font-size: 12px; color: var(--cz-ink2); cursor: pointer; }
192
+ .hm-stopped, .hm-note { margin: 0; font-size: 12px; color: var(--cz-ink3); padding-left: 38px; }
193
+ .hm-live { display: flex; gap: 10px; }
194
+ .hm-lb { flex: 1; min-width: 0; }
195
+ .hm-steps { list-style: none; margin: 6px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--cz-well); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
196
+ .hm-steps li { display: flex; align-items: flex-start; gap: 10px; color: var(--cz-ink3); }
197
+ .hm-steps li > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
198
+ .hm-steps li small { font-size: 11.5px; font-weight: 400; color: var(--cz-ink3); } /* a step's result and time (AgChatRunning) */
199
+ .hm-steps li code { font-family: var(--cz-mono); font-size: 11.5px; font-weight: 400; color: var(--cz-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* the call it runs now */
200
+ .hm-steps li i { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid var(--cz-ink3); flex: none; }
201
+ .hm-steps li.done { color: var(--cz-ink); } .hm-steps li.done i { background: var(--cz-done); border-color: var(--cz-done); }
202
+ .hm-steps li.now { color: var(--cz-ink); font-weight: 700; } .hm-steps li.now i { border: 2px solid var(--cz-blue); }
203
+ .hm-watch { margin-top: 6px; border: 0; background: none; padding: 0 8px; height: 30px; font-size: 12px; color: var(--cz-ink2); cursor: pointer; }
204
+ .hm-askw { padding-left: 38px; } /* the permission card is part of the agent's message: in line with its text, no avatar of its own */
205
+ .hm-perm { padding: 12px 14px; border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1.5px var(--cz-blue); display: flex; flex-direction: column; gap: 10px; }
206
+ .hm-chg { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
207
+ .hm-chg .k { font-size: 11px; color: var(--cz-ink3); }
208
+ .hm-chg .ft { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
209
+ .hm-chg .ft b { font-weight: 400; }
210
+ .hm-chg s { color: var(--cz-ink3); }
211
+ .hm-pa { display: flex; align-items: center; gap: 8px; }
212
+ .hm-pa .sp { flex: 1; }
213
+ .hm-pa button { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); font-size: 13px; cursor: pointer; color: var(--cz-ink); }
214
+ .hm-pa button.pri { background: var(--cz-solid); color: var(--cz-onsolid); border-color: transparent; font-weight: 700; }
215
+ .hm-mw { position: relative; }
216
+ .hm-dots { width: 36px; padding: 0 !important; display: grid; place-items: center; }
217
+ .hm-pa .hm-dots { border-color: transparent; } /* a quiet ⋯ (AgChatAsk) */
218
+ .hm-pmenu { position: absolute; right: 0; bottom: 42px; z-index: 5; min-width: 220px; padding: 6px; border-radius: 14px; background: var(--cz-card); box-shadow: var(--cz-sheet); display: flex; flex-direction: column; }
219
+ .hm-pmenu[hidden] { display: none; }
220
+ .hm-pmenu button { border: 0 !important; border-radius: 10px !important; text-align: left; }
221
+ .hm-addm { left: 0; right: auto; bottom: 44px; min-width: 240px; } /* the box's + menu: Attach a file, Notes, the terminal */
222
+ .hm-addm button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 6px 10px; background: none; color: var(--cz-ink); cursor: pointer; font-family: var(--cz-sans); font-size: 13.5px; }
223
+ .hm-addm button:hover, .hm-addm button:focus-visible { background: var(--cz-well); }
224
+ .hm-addm em { font-style: normal; font-size: 11.5px; color: var(--cz-ink3); }
225
+ .hm-addm b { font-weight: 600; }
226
+ .hm-q { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; opacity: .75; }
227
+ .hm-qb { max-width: 80%; padding: 10px 16px; border-radius: 18px 18px 8px 18px; border: 1px dashed var(--cz-blue); font-size: 14px; }
228
+ .hm-qn { font-size: 11px; color: var(--cz-ink3); display: flex; gap: 10px; align-items: center; }
229
+ .hm-qn button { border: 0; background: none; color: var(--cz-blueink); cursor: pointer; font-size: 11px; padding: 0; height: 24px; }
230
+
231
+ /* ── the foot: also, the run strip, the composers ── */
232
+ .hm-foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
233
+ .hm-also { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--cz-bluebg); color: var(--cz-ink); font-size: 12px; cursor: pointer; text-align: left; }
234
+ .hm-also i { width: 7px; height: 7px; border-radius: 50%; background: var(--cz-blue); flex: none; }
235
+ .hm-also span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
236
+ .hm-also em { font-style: normal; font-weight: 700; color: var(--cz-blueink); }
237
+ .hm-run { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1px var(--cz-hair); }
238
+ .hm-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
239
+ .hm-rt span { font-size: 11px; color: var(--cz-ink3); }
240
+ .hm-bar { flex: 0 0 64px; height: 4px; border: 0; border-radius: 2px; background: var(--cz-hair); overflow: hidden; appearance: none; -webkit-appearance: none; color: var(--cz-blue); }
241
+ .hm-bar::-webkit-progress-bar { background: var(--cz-hair); }
242
+ .hm-bar::-webkit-progress-value { background: var(--cz-blue); }
243
+ .hm-bar::-moz-progress-bar { background: var(--cz-blue); }
244
+ .hm-stop { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); font-size: 13px; font-weight: 700; color: var(--cz-ink); cursor: pointer; }
245
+ .hm-stop i { width: 9px; height: 9px; border-radius: 2px; background: var(--cz-ink); }
246
+ .hm-box-rich, .hm-box#hmForm, form.hm-box { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 24px; background: var(--cz-well); }
247
+ form.hm-box textarea { min-height: 48px; border: 0; background: none; resize: none; font: inherit; font-size: 14px; color: var(--cz-ink); padding: 8px 10px; outline: none; }
248
+ .hm-tb { display: flex; align-items: center; gap: 4px; }
249
+ .hm-tb .sp { flex: 1; }
250
+ .hm-tool { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; border: 0; background: none; color: var(--cz-ink2); cursor: pointer; font-size: 15px; }
251
+ .hm-tool:hover { background: var(--cz-well2); }
252
+ .hm-tool b { font-weight: 500; }
253
+ .hm-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--cz-bluebg); color: var(--cz-blueink); font-size: 12px; font-weight: 700; cursor: pointer; max-width: 260px; min-width: 0; white-space: nowrap; flex: 0 1 auto; }
254
+ .hm-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
255
+ .hm-chip.to { background: var(--cz-card); color: var(--cz-ink); }
256
+ .hm-chip.loose { background: var(--cz-well); color: var(--cz-ink2); }
257
+ .hm-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cz-blue); }
258
+ .hm-key { font-size: 11px; color: var(--cz-ink3); margin-right: 6px; }
259
+ .hm-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cz-solid); color: var(--cz-onsolid); display: grid; place-items: center; cursor: pointer; }
260
+ .hm-files { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 0 8px; }
261
+ .hm-att { display: inline-flex; flex: none; align-items: center; gap: 6px; max-width: 220px; padding: 2px 2px 2px 10px; border-radius: 999px; background: var(--cz-card); font-size: 12px; }
262
+ .hm-att.saving { opacity: .6; }
263
+ .hm-att b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
264
+ .hm-att em { font-style: normal; color: var(--cz-ink3); white-space: nowrap; }
265
+ .hm-ath { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; margin-left: -6px; }
266
+ .hm-att button { border: 0; background: none; cursor: pointer; width: 28px; height: 28px; border-radius: 999px; color: var(--cz-ink3); }
267
+ @media (pointer: coarse), (max-width: 760px) { .hm-att button { width: 44px; height: 44px; margin: -8px -6px -8px -10px; } .hm-scope .hm-tool { width: 44px; height: 44px; } }
268
+ .hm-chat.hm-drop { outline: 2px dashed var(--cz-blue); outline-offset: -8px; }
269
+ .hm-scope { display: flex; align-items: center; gap: 8px; }
270
+ .hm-scope .sp { flex: 1; }
271
+ .hm-link { border: 0; background: none; color: var(--cz-blueink); font-size: 12px; font-weight: 700; cursor: pointer; height: 32px; }
272
+ .hm-basic { display: flex; align-items: flex-end; gap: 8px; }
273
+ .hm-basic textarea { flex: 1; box-sizing: border-box; min-height: 46px; padding: 12px 18px; border-radius: 28px; border: 0; background: var(--cz-well); resize: none; font: inherit; font-size: 14px; color: var(--cz-ink); outline: none; }
274
+ .hm-go { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cz-solid); color: var(--cz-onsolid); display: grid; place-items: center; cursor: pointer; flex: none; }
275
+ .hm-hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--cz-ink3); }
276
+
277
+ /* ── menus and the toast ── */
278
+ .hm-menu { position: fixed; z-index: 80; left: 12px; bottom: 12px; width: min(300px, calc(100vw - 24px)); box-sizing: border-box; max-height: min(440px, calc(100vh - 24px)); overflow: auto; padding: 6px; border-radius: 18px; background: var(--cz-card); box-shadow: var(--cz-sheet); border: 1px solid var(--cz-hair); display: flex; flex-direction: column; }
279
+ .hm-menu[hidden] { display: none; }
280
+ /* the menu sits under the button that opened it (.hm-anc); it flips over or to the left when there is no room. Without anchor positioning it is a small sheet at the bottom left */
281
+ .hm-anc { anchor-name: --hm-anc; }
282
+ @supports (anchor-name: --hm-anc) { .hm-menu { position-anchor: --hm-anc; left: anchor(left); top: anchor(bottom); bottom: auto; margin: 6px 0; position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline; } }
283
+ /* on a phone the menu is always the sheet at the bottom: the buttons that open it sit low on the screen, so a menu under them would leave it */
284
+ @media (max-width: 760px) { .hm-menu.hm-menu { position-anchor: auto; left: 12px; top: auto; bottom: 12px; margin: 0; }
285
+ .hm-menu.hm-menu.top { left: auto; right: 12px; top: 64px; bottom: auto; max-height: calc(100vh - 80px); } } /* the ⋯ menu of the top bar opens under its button */
286
+ .hm-ml { margin: 6px 10px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); }
287
+ .hm-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; color: var(--cz-ink); cursor: pointer; text-align: left; font-family: var(--cz-sans); font-size: 13.5px; }
288
+ .hm-menu button:hover, .hm-menu button:focus-visible { background: var(--cz-well); }
289
+ .hm-menu em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
290
+ .hm-toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 20px); max-width: min(520px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 14px; background: var(--cz-ink); color: var(--cz-card); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
291
+ .hm-toast.on { opacity: 1; transform: translate(-50%, 0); }
292
+
293
+ /* ── the Viewer contents drawn here (needs rows, the weekly update, the minimal versions) ── */
294
+ .hv { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; color: var(--cz-ink); }
295
+ .hv-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--cz-well); font-size: 12px; line-height: 1.5; color: var(--cz-ink2); }
296
+ .hv-h { margin: 0; font-size: 14px; }
297
+ .hv-facts { margin: 0; display: grid; gap: 6px; }
298
+ .hv-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
299
+ .hv-facts dt { color: var(--cz-ink3); font-size: 12px; } .hv-facts dd { margin: 0; }
300
+ .hv-sec h4 { margin: 0 0 8px; font-size: 13px; }
301
+ .hv-opts { display: flex; flex-direction: column; gap: 6px; }
302
+ .hv-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); text-align: left; cursor: pointer; color: var(--cz-ink); font-family: var(--cz-sans); }
303
+ .hv-opts button[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--cz-blue); background: var(--cz-bluebg); }
304
+ .hv-opts em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
305
+ .hv-why { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--cz-ink3); }
306
+ .hv-why textarea, .hv-why input { font: inherit; font-size: 13.5px; color: var(--cz-ink); padding: 8px 10px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); resize: vertical; min-height: 36px; box-sizing: border-box; }
307
+ .hv-seg { display: flex; flex-wrap: wrap; gap: 6px; }
308
+ .hv-seg button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); cursor: pointer; color: var(--cz-ink2); }
309
+ .hv-seg button[aria-pressed="true"] { background: var(--cz-bluebg); color: var(--cz-blueink); border-color: transparent; font-weight: 700; }
310
+ .hv-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
311
+ .hv-later { position: relative; }
312
+ .hv-lm { position: absolute; left: 0; top: 40px; z-index: 5; min-width: 160px; padding: 6px; border-radius: 14px; background: var(--cz-card); box-shadow: var(--cz-sheet); display: flex; flex-direction: column; }
313
+ .hv-lm[hidden] { display: none; }
314
+ .hv-lm button { border: 0; background: none; text-align: left; min-height: 36px; padding: 0 10px; border-radius: 10px; cursor: pointer; color: var(--cz-ink); }
315
+ .hv-lm button:hover { background: var(--cz-well); }
316
+ .hv-to { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--cz-ink3); }
317
+ .hv-chip { height: 26px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--cz-well); color: var(--cz-ink); font-size: 12px; cursor: pointer; }
318
+ .hv-to input { flex: 1; min-width: 120px; height: 28px; border: 0; background: none; font: inherit; font-size: 12px; color: var(--cz-ink); outline: none; }
319
+ .hv-up h4 { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-size: 13.5px; }
320
+ .hv-up h4 i { width: 8px; height: 8px; border-radius: 50%; background: var(--cz-done); }
321
+ .hv-up.risk h4 i { background: var(--cz-blue); } .hv-up.decide h4 i { background: none; box-shadow: inset 0 0 0 1.5px var(--cz-blue); }
322
+ .hv-ui { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 12px; margin-bottom: 6px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); text-align: left; cursor: pointer; color: var(--cz-ink); font-family: var(--cz-sans); }
323
+ .hv-ui .t { display: flex; align-items: baseline; gap: 8px; } .hv-ui .t b { flex: 1; font-size: 13.5px; font-weight: 600; } .hv-ui .t em { font-style: normal; font-size: 11px; color: var(--cz-ink3); }
324
+ .hv-ui .d { font-size: 12.5px; color: var(--cz-ink2); }
325
+ .hv-ui .flag { align-self: flex-start; padding: 1px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--cz-blue); color: var(--cz-blueink); font-size: 11.5px; font-weight: 700; }
326
+ .hv-doc { line-height: 1.6; }
327
+ .hx { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
328
+ .hx-wait, .hv .hx-wait { margin: 0; display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink3); font-size: 11px; font-weight: 700; }
329
+ .hx-wait i { width: 6px; height: 6px; border-radius: 50%; background: var(--cz-dot-q); }
330
+ .hx-sec h4 { margin: 4px 0 6px; font-size: 13px; }
331
+ .hx-row { display: flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--cz-hair); }
332
+ .hx-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
333
+ .hx-t em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
334
+ .hm-iss { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin: 4px 0 8px; border-radius: 16px; background: var(--cz-well); font-size: 13px; color: var(--cz-ink2); } /* a draft's Issue it bar */
335
+ .hm-iss span { flex: 1; min-width: 180px; }
336
+ .hm-iss.done { color: var(--cz-ink3); }
337
+ .hm-md { font-size: 14px; line-height: 1.55; color: var(--cz-ink); overflow-wrap: anywhere; }
338
+ .hm-md h1, .hm-md h2, .hm-md h3 { font-size: 15px; margin: 12px 0 4px; }
339
+ .hx-t small { font-size: 12px; color: var(--cz-ink3); overflow-wrap: anywhere; } /* a linked document's address, as text */
340
+ .hv-why select { font: inherit; font-size: 13.5px; color: var(--cz-ink); padding: 0 10px; height: 36px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); box-sizing: border-box; }
341
+ .hx-b { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font-size: 12.5px; cursor: pointer; font-family: var(--cz-sans); }
342
+ .hx-b.pri { background: var(--cz-solid); color: var(--cz-onsolid); border-color: transparent; font-weight: 700; }
343
+ .hx-b:disabled { opacity: .5; cursor: not-allowed; }
344
+ .hx-sw { height: 28px; min-width: 48px; border-radius: 999px; border: 0; background: var(--cz-well2); color: var(--cz-ink3); font-size: 12px; font-weight: 700; cursor: pointer; }
345
+ .hx-sw[aria-checked="true"] { background: var(--cz-bluebg); color: var(--cz-blueink); }
346
+ .hx-n { margin: 0; font-size: 12.5px; color: var(--cz-ink3); }
347
+ .hx-h.warn, .hx-h.bad { color: var(--cz-late); }
348
+ .hx-add { display: flex; gap: 8px; margin-top: 8px; }
349
+ .hx-add input, .hx-q input { flex: 1; height: 36px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); font: inherit; font-size: 13px; color: var(--cz-ink); box-sizing: border-box; }
350
+ .hx-q { display: flex; }
351
+ .hx-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
352
+ .hx-tabs button { height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: none; color: var(--cz-ink3); font-weight: 700; font-size: 12.5px; cursor: pointer; }
353
+ .hx-tabs button[aria-selected="true"], .hx-tabs button[aria-pressed="true"] { background: var(--cz-well); color: var(--cz-ink); }
354
+ .hx-top { display: flex; align-items: center; gap: 10px; }
355
+ .hx-hit { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; color: var(--cz-ink); font-family: var(--cz-sans); }
356
+ .hx-hit:hover { background: var(--cz-well); }
357
+ .hx-hit em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
358
+ .hx select { height: 30px; border-radius: 10px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font: inherit; font-size: 12px; }
359
+
360
+ /* ── a phone: the chat is the page; the list is a sheet ── */
361
+ @media (max-width: 760px) {
362
+ body.cz-home { overflow: auto; }
363
+ .hm-top { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 20; padding: 16px 12px 8px 18px; background: var(--cz-ground); }
364
+ .hm-top-t { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
365
+ .hm-top-t b { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
366
+ .hm-top-t span { font-size: 13px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
367
+ .hm-needs { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--cz-sans); }
368
+ .hm-needs i { width: 7px; height: 7px; border-radius: 50%; background: var(--cz-dot-q); }
369
+ .hm-needs.loud i { background: var(--cz-blue); }
370
+ .hm-top .hm-ib { width: 44px; height: 44px; }
371
+ .hm-top .hm-ib svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
372
+ .hm-desk { position: static; inset: auto; display: block; padding: 0 16px 16px; background: none; box-shadow: none; border-radius: 0; }
373
+ .hm-list { display: none; }
374
+ .hm-sheet .hm-list { display: flex; padding-bottom: 12px; position: fixed; z-index: 40; top: 76px; left: 18px; right: 18px; bottom: 16px; width: auto; box-shadow: var(--cz-sheet); border: 1px solid var(--cz-hair); }
375
+ .hm-chat { min-height: calc(100vh - 92px); min-height: calc(100dvh - 92px); }
376
+ .hm-foot .hm-chip { min-height: 44px; }
377
+ .hx-tabs button, .hx-b { height: auto; min-height: 44px; } /* the Viewer's minimal views: 44 px targets on a phone */
378
+ .hm-foot textarea { font-size: 16px; } /* 16 px or more: focus does not zoom the page on a phone */
379
+ .hv-why input, .hv-why select, .hv-why textarea { font-size: 16px; min-height: 44px; }
380
+ .hx-row select, .hx-add input { font-size: 16px; min-height: 44px; } /* a task's status and Add a task: 44 px targets that do not zoom the page */
381
+ .hm-foot { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px; padding: 8px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--cz-ground); } /* the composer stays on the screen while the conversation scrolls */
382
+ .hm-x { opacity: 1; }
383
+ .hm-unfold, .hm-folded .hm-unfold { display: none; }
384
+ .hm-reopen { display: none; }
385
+ .hm-bub, .hm-qb { max-width: 88%; }
386
+ .hm-sheet .cz-fabw { z-index: 45; }
387
+ }
388
+ /* the menu button sits just above the foot (the box, its bars and the hint: home-chat.js keeps --bd-hmfoot), never over a press; the log ends
389
+ * with room for it, so the last message scrolls clear of it */
390
+ @media (max-width: 760px) { body.cz-home .cz-fabw { bottom: calc(var(--bd-hmfoot, 232px) + 10px); } body.cz-home.hm-sheet .cz-fabw { bottom: 118px; } .hm-log { padding-bottom: 76px; } }
391
+ .hv-term { margin: 0; height: 100%; box-sizing: border-box; padding: 16px 20px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: var(--cz-mono); font-size: 12px; line-height: 1.5; color: var(--cz-ink2); background: var(--cz-well); }
392
+
393
+ /* ── the parts other chat modules draw inside a message: context and report chips (premium-vw-ctx, report-chat), the /goal card (goal-chat),
394
+ * Claude's question card (chat-ask), attachments (premium-attach) ── */
395
+ .hm-chat .ctxc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
396
+ .hm-chat .ctxchip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); cursor: pointer; text-align: left; font-family: var(--cz-sans); }
397
+ .hm-chat .ctxchip span { display: flex; flex-direction: column; min-width: 0; }
398
+ .hm-chat .ctxchip b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
399
+ .hm-chat .ctxchip em { font-style: normal; font-size: 11.5px; color: var(--cz-ink3); }
400
+ .hm-chat .ctxchip.lead { box-shadow: inset 0 0 0 1.5px var(--cz-blue); }
401
+ .hm-chat .ctxchip svg, .hm-chat .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
402
+ .hm-chat .tc, .hm-chat .gcard { margin-top: 8px; padding: 12px 14px; border-radius: 16px; background: var(--cz-card); box-shadow: inset 0 0 0 1.5px var(--cz-blue); font-size: 13px; }
403
+ .hm-chat .agtag, .hm-chat .askh { margin: 0 0 4px; font-size: 11px; font-weight: 700; color: var(--cz-ink3); }
404
+ .hm-chat .askq, .hm-chat .tt { margin: 0 0 6px; }
405
+ .hm-chat .chips, .hm-chat .chatopts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
406
+ .hm-chat .chips .chip, .hm-chat .chatopts .cta, .hm-chat .askfoot button { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font-size: 12.5px; cursor: pointer; font-family: var(--cz-sans); }
407
+ .hm-chat .chips .chip[aria-pressed="true"], .hm-chat .chatopts .cta:not(.alt) { background: var(--cz-solid); color: var(--cz-onsolid); border-color: transparent; font-weight: 700; }
408
+ .hm-chat .gkv { display: grid; grid-template-columns: 90px 1fr; gap: 4px 10px; margin: 6px 0; }
409
+ .hm-chat .smart { display: flex; gap: 4px; } .hm-chat .smart b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: var(--cz-well); color: var(--cz-ink3); }
410
+ .hm-chat .smart b.y { background: var(--cz-bluebg); color: var(--cz-blueink); }
411
+ .hm-chat .atrow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
412
+ .hm-chat .atc { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 10px; background: var(--cz-card); font-size: 12px; cursor: pointer; border: 1px solid var(--cz-hair); }
413
+ .hm-peek { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 8px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--cz-bluebg); color: var(--cz-ink); font-size: 12.5px; cursor: pointer; text-align: left; }
414
+ .hm-peek[hidden] { display: none; }
415
+ .hm-peek span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
416
+ .hm-peek em { font-style: normal; font-weight: 700; color: var(--cz-blueink); }
417
+ .hm-slash { display: flex; flex-direction: column; padding: 6px; border-radius: 16px; background: var(--cz-card); box-shadow: var(--cz-sheet); border: 1px solid var(--cz-hair); }
418
+ .hm-slash[hidden] { display: none; }
419
+ .hm-slash button { display: flex; align-items: baseline; gap: 10px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; color: var(--cz-ink); font-family: var(--cz-sans); }
420
+ .hm-slash button[aria-selected="true"], .hm-slash button:hover { background: var(--cz-well); }
421
+ .hm-slash code { font-family: var(--cz-mono); font-size: 12px; color: var(--cz-blueink); }
422
+ .hm-slash em { font-style: normal; font-size: 12px; color: var(--cz-ink3); }
423
+ .hm-scope + .hm-files { margin-bottom: 6px; }
424
+ /* the phone moment card (home-phone-card.js) at the top of the phone's sheet; not in the Agreed design, so marked Waiting for design */
425
+ .hm-phc { display: grid; gap: 6px; margin: 2px 2px 14px; padding: 14px 16px; border-radius: 18px; background: var(--cz-card); box-shadow: inset 3px 0 0 var(--cz-blue), var(--cz-float); color: var(--cz-ink); }
426
+ .hm-phc[hidden] { display: none; }
427
+ .hm-phc .label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cz-ink3); }
428
+ .hm-phc .phbig { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--cz-ink); }
429
+ .hm-phc .phl { margin: 0; font-size: 14px; color: var(--cz-ink2); }
430
+ .hm-phc .phs { margin: 0; font-size: 13px; color: var(--cz-ink2); }
431
+ .hm-phc .phfit { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--cz-well); }
432
+ .hm-phc .phtt { font-size: 14px; font-weight: 600; }
433
+ .hm-phc .phacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
434
+ .hm-phc .cta { min-height: 44px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--cz-solid); color: var(--cz-onsolid); font: 600 14px var(--cz-sans); cursor: pointer; }
435
+ .hm-phc .cta.alt { background: var(--cz-well2); color: var(--cz-ink); }
436
+ .hm-phc .phok { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--cz-ok); }
437
+ .hm-phc .phok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
438
+ .hm-phc .pherr { margin: 0; font-size: 13px; color: var(--cz-red); }
439
+ .hm-phc .phstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
440
+ .hm-phc .phstats div { display: grid; padding: 8px 10px; border-radius: 12px; background: var(--cz-well); }
441
+ .hm-phc .phstats b { font-size: 20px; }
442
+ .hm-phc .phstats span { font-size: 12px; color: var(--cz-ink3); }
443
+
444
+ /* the first-run card after an import (premium-first.js): plain, Waiting for design */
445
+ .hm-first { display: grid; gap: 8px; margin: 2px 2px 14px; padding: 14px 16px; border-radius: 18px; background: var(--cz-card); box-shadow: var(--cz-float); color: var(--cz-ink); }
446
+ .hm-first h2 { margin: 0; font-size: 15px; }
447
+ .hm-first h4 { margin: 4px 0 0; font-size: 13px; }
448
+ .hm-first-l { margin: 0; padding: 0; list-style: none; }
449
+ .hm-first .hx-t em.bad { color: var(--cz-late); }
450
+ /* a Needs-you row from the morning brief (home-app.js openNeedViewer): why now, and the item's own link */
451
+ .hv-intro { margin: 0; font-size: 13px; line-height: 1.5; color: var(--cz-ink2); }
452
+ .hv-intro b { margin-right: 4px; color: var(--cz-ink); }
453
+ .hv-link { display: inline-flex; align-items: center; min-height: 44px; height: auto; text-decoration: none; box-sizing: border-box; }
454
+ /* Around you (home-around.js): plain, Waiting for design */
455
+ .ar { display: grid; gap: 10px; }
456
+ .ar-hd { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
457
+ .ar-hd small { font-size: 12px; color: var(--cz-ink3); }
458
+ .ar-rows { display: grid; gap: 2px; }
459
+ .ar-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 10px; border: 0; border-radius: 14px; background: none; color: var(--cz-ink); text-align: left; cursor: pointer; font-family: var(--cz-sans); }
460
+ .ar-row:hover { background: var(--cz-well); }
461
+ .ar-row:focus-visible, .ar-row:focus { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
462
+ .ar-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--cz-well); color: var(--cz-ink2); flex: none; }
463
+ .ar .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
464
+ .ar .wtx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
465
+ .ar .wtit { font-size: 13.5px; font-weight: 700; }
466
+ .ar .ws { font-size: 12px; color: var(--cz-ink3); }
467
+ .ar .due { display: inline-block; min-width: 22px; padding: 1px 8px; border-radius: 999px; background: var(--cz-bluebg); color: var(--cz-blueink); font-size: 12px; font-weight: 700; text-align: center; }
468
+ .ar .due.od { background: var(--cz-well2); color: var(--cz-late); }
469
+ .ar .bd-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: var(--cz-well2); margin-top: 4px; }
470
+ .ar .bd-bar i { display: block; height: 100%; width: var(--bd-w, 0); }
471
+ .ar .bd-bar i.bad, .ar .bd-leg i.bad { background: var(--cz-dot-late); } .ar .bd-bar i.warn, .ar .bd-leg i.warn { background: var(--cz-late); }
472
+ .ar .bd-bar i.ok, .ar .bd-leg i.ok { background: var(--cz-dot-ok); } .ar .bd-bar i.none, .ar .bd-leg i.none { background: var(--cz-ink3); }
473
+ .ar .bd-leg { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--cz-ink2); }
474
+ .ar .bd-leg i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
475
+ .ar-prep { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--cz-well); font-size: 12.5px; color: var(--cz-ink2); }
476
+ .ar-prep[hidden] { display: none; }
477
+ .ar-prep div { display: flex; flex-direction: column; } .ar-prep b { color: var(--cz-ink); }
478
+ .ar-prep .rb { stroke: var(--cz-well2); } .ar-prep .rg { stroke: var(--cz-blue); } .ar-prep .rt { font-size: 11px; font-weight: 700; fill: var(--cz-ink); }
479
+ .ar .bd-list { display: grid; gap: 8px; }
480
+ .ar .bd-it { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--cz-card); border: 1px solid var(--cz-hair); }
481
+ .ar .bd-it.decided { opacity: .7; }
482
+ .ar .pcard { cursor: pointer; } .ar .pcard.on { border-color: var(--cz-blue); }
483
+ .ar .bd-h { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
484
+ .ar .bd-chip { padding: 2px 8px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink2); font-size: 11.5px; }
485
+ .ar .bd-chip.warn, .ar .bd-chip.hot { color: var(--cz-late); }
486
+ .ar .bd-t { font-size: 13.5px; font-weight: 700; color: var(--cz-ink); background: none; border: 0; padding: 0; text-align: left; font-family: var(--cz-sans); }
487
+ .ar .bd-q, .ar .bd-why, .ar .pc-line { margin: 0; font-size: 12.5px; color: var(--cz-ink2); }
488
+ .ar .pc-more { border: 0; background: none; color: var(--cz-blueink); font-size: 12px; cursor: pointer; }
489
+ .ar .pc-k { font-size: 11.5px; color: var(--cz-ink3); }
490
+ .ar .bd-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
491
+ .ar a.hx-b { display: inline-flex; align-items: center; text-decoration: none; box-sizing: border-box; }
492
+ .ar .bd-done { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 12.5px; color: var(--cz-ink2); }
493
+ .ar .nodef.err { margin: 0; font-size: 12.5px; color: var(--cz-late); }
494
+ .ar .empty3 { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 13px; color: var(--cz-ink2); }
495
+ .ar .bd-src { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cz-hair); }
496
+ .ar .bd-src > span { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12.5px; } .ar .bd-src small { color: var(--cz-ink3); }
497
+ .ar .bd-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 0; }
498
+ .ar .bd-l { font-size: 12px; color: var(--cz-ink2); }
499
+ .ar textarea, .ar input[type="text"] { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font: inherit; font-size: 13px; }
500
+ .ar .pc-bar { position: sticky; bottom: 0; display: grid; gap: 6px; padding: 10px 0 4px; background: var(--cz-card); border-top: 1px solid var(--cz-hair); }
501
+ .ar .pc-row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
502
+ .ar .pc-fine { margin: 0; font-size: 11.5px; color: var(--cz-ink3); text-align: right; }
503
+ .ar .pc-i { font-style: normal; font-weight: 700; margin-right: 6px; }
504
+ .ar details.bd-more summary { cursor: pointer; font-size: 12.5px; font-weight: 700; min-height: 32px; }
505
+ @media (max-width: 760px) { .ar .hx-b, .ar .pc-more, .ar .pc-pick, .ar .hx-tabs button, .ar details.bd-more summary { min-height: 44px; } }
506
+ #srcHealth .sdot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--cz-dot-ok); }
507
+ #srcHealth .sdot.warn { background: var(--cz-late); } #srcHealth .sdot.bad { background: var(--cz-dot-late); }
508
+ /* My work in the Viewer (home-work.js): a plain minimal card until the Agreed design draws it. 44 px targets in the item and Focus views. */
509
+ .hm-toast.act.on { pointer-events: auto; }
510
+ .hm-toast .undo { margin-left: 8px; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 0; background: var(--cz-card); color: var(--cz-ink); font: inherit; font-weight: 700; cursor: pointer; }
511
+ .mw-head { display: flex; justify-content: flex-end; margin: 4px 0; }
512
+ .mw-g { margin: 12px 0 2px; font-size: 12px; color: var(--cz-ink3); }
513
+ .wrw { position: relative; overflow: hidden; }
514
+ .wrow { position: relative; background: var(--cz-card); }
515
+ .wrow.xdr { transform: translateX(var(--wl-dx, 0)); }
516
+ .wrh { border: 0; background: none; padding: 6px 0; text-align: left; color: var(--cz-ink); font: inherit; cursor: pointer; min-height: 44px; }
517
+ .wrh:focus-visible, .wrh:focus { outline: 2px solid var(--cz-blue); outline-offset: -2px; }
518
+ .wrh .xfc { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--cz-bluebg); color: var(--cz-blueink); font-size: 11px; font-style: normal; font-weight: 700; }
519
+ .wrh .xfc.sug { background: var(--cz-well); color: var(--cz-ink3); }
520
+ .xrv { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--cz-well); color: var(--cz-ink); font-size: 12.5px; font-weight: 700; opacity: var(--wl-d, 0); }
521
+ .xrv.l { justify-content: flex-end; }
522
+ .xrv .i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
523
+ .xfq:focus-visible, .xfq:focus { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
524
+ .xfq em { font-style: normal; color: var(--cz-ink3); }
525
+ .mw-sub { display: flex; flex-direction: column; gap: 10px; }
526
+ .mw-sub .hx-b, .mw-sub .mw-in, .xfq { min-height: 44px; height: auto; }
527
+ .mw-t { margin: 0; font-size: 16px; }
528
+ .mw-say { margin: 0; font-size: 13px; color: var(--cz-ink2); }
529
+ .mw-sheet { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--cz-hair); border-radius: 14px; background: var(--cz-well2); }
530
+ .mw-sheet[hidden] { display: none; }
531
+ .ffd { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border-radius: 12px; padding: 6px 12px; }
532
+ .ffd small { font-size: 11px; color: var(--cz-ink3); }
533
+ .ffd em { font-style: normal; font-weight: 400; color: var(--cz-ink3); }
534
+ .xpan { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 8px 8px; border-left: 2px solid var(--cz-hair); }
535
+ .xpan .fopt { text-align: left; border-radius: 12px; }
536
+ .xpan .fopt small { color: var(--cz-ink3); }
537
+ .mw-f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--cz-ink3); }
538
+ .mw-in, .mw-ta { width: 100%; box-sizing: border-box; padding: 0 12px; border-radius: 12px; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink); font: inherit; font-size: 13px; }
539
+ .mw-ta { padding: 8px 12px; min-height: 44px; }
540
+ .mw-sub .hx-add { flex-wrap: wrap; }
541
+ .mw-sub .hx-add .mw-in { flex: 1 1 180px; width: auto; }
542
+ .mw-sub .hx-top { display: flex; flex-wrap: wrap; gap: 6px; }
543
+ .mw-sub .hx-b[aria-pressed="true"], .mw-sub .xco[aria-checked="true"] { background: var(--cz-well); border-color: var(--cz-ink3); }
544
+ .xsteps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
545
+ .xsteps li { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
546
+ .xch { display: flex; flex-direction: column; gap: 6px; }
547
+ .xco { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border-radius: 12px; padding: 6px 12px; }
548
+ .xco em { font-style: normal; font-size: 11px; color: var(--cz-blueink); }
549
+ .xco span { font-size: 12px; color: var(--cz-ink3); }
550
+ .agblk, .xcon, .agpane, .mw-src, .mw-rec, .mw-fc { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--cz-hair); border-radius: 14px; background: var(--cz-card); }
551
+ .agblk h4, .mw-sub h4 { margin: 0; font-size: 13px; }
552
+ .xq { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--cz-well); font-size: 13px; overflow-wrap: anywhere; }
553
+ .mw-md { font-size: 13px; overflow-wrap: anywhere; }
554
+ .mw-md.clipd { max-height: 320px; overflow: hidden; }
555
+ .mw-turns { margin: 0; padding-left: 18px; font-size: 12.5px; }
556
+ .mw-err { color: var(--cz-red); }
557
+ .mw-a { display: inline-flex; align-items: center; text-decoration: none; box-sizing: border-box; }
558
+
559
+ /* the metrics review in the Viewer (AgMetrics): three tiles, the correction rate by week with the current week in blue, what moved it */
560
+ .hm-met { gap: 16px; font-size: 14px; }
561
+ .hm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
562
+ .hm-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--cz-well); min-width: 0; }
563
+ .hm-kpi p { margin: 0; font-size: 12px; color: var(--cz-ink3); }
564
+ .hm-kpi b { margin-top: 2px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--cz-ink); }
565
+ .hm-kpi span { font-size: 12px; color: var(--cz-ink2); }
566
+ .hm-fig { margin: 0; }
567
+ .hm-fig figcaption { margin-bottom: 10px; font-size: 13px; font-weight: 700; }
568
+ .hm-chart { height: 140px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--cz-hair); }
569
+ .hm-chart > div { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
570
+ .hm-chart span { font-size: 11px; color: var(--cz-ink3); }
571
+ .hm-chart i { display: block; height: var(--bd-h, 0); width: 100%; max-width: 36px; border-radius: 8px 8px 3px 3px; background: var(--cz-well2); }
572
+ .hm-chart i.now { background: var(--cz-blue); }
573
+ .hm-chx { display: flex; gap: 10px; margin-top: 6px; }
574
+ .hm-chx span { flex: 1; text-align: center; font-size: 11px; color: var(--cz-ink3); }
575
+ .hm-moved { width: 100%; border-collapse: collapse; font-size: 13px; }
576
+ .hm-moved th { padding: 6px 0; border-bottom: 1px solid var(--cz-hair); font-weight: 600; color: var(--cz-ink3); text-align: left; }
577
+ .hm-moved th + th, .hm-moved td + td { text-align: right; }
578
+ .hm-moved td { padding: 8px 0; border-bottom: 1px solid var(--cz-hair); }
579
+ .hm-moved td + td { padding-left: 12px; font-weight: 600; white-space: nowrap; }
580
+ @media (max-width: 760px) { .hm-kpis { grid-template-columns: 1fr; } }