create-pmos 0.397.0 → 0.399.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 (195) 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/state/discoveries.md +1 -1
  6. package/payload/state/log.md +1 -1
  7. package/workspace/briefing-premium-adddoc-test.js +105 -52
  8. package/workspace/briefing-premium-board-test.js +284 -128
  9. package/workspace/briefing-premium-calendar-2-test.js +135 -198
  10. package/workspace/briefing-premium-calendar-3-test.js +143 -418
  11. package/workspace/briefing-premium-calendar-test.js +85 -196
  12. package/workspace/briefing-premium-doc-edit-test.js +99 -83
  13. package/workspace/briefing-premium-initiative-test.js +175 -290
  14. package/workspace/briefing-premium-insights-test.js +414 -219
  15. package/workspace/briefing-premium-metrics-test.js +55 -97
  16. package/workspace/briefing-premium-products-test.js +44 -28
  17. package/workspace/briefing-premium-sources-test.js +70 -49
  18. package/workspace/briefing-premium-test.js +155 -648
  19. package/workspace/briefing-premium-work-test.js +88 -283
  20. package/workspace/changelog.json +24 -0
  21. package/workspace/ev-everywhere-test.js +210 -0
  22. package/workspace/fixtures/board-premium-trail.js +32 -0
  23. package/workspace/fixtures/premium-viewer-fixtures.js +187 -0
  24. package/workspace/guide/briefing-premium.md +3 -1
  25. package/workspace/guide/home.md +68 -0
  26. package/workspace/guide/index.md +1 -0
  27. package/workspace/lib/agent-roles.js +71 -0
  28. package/workspace/lib/board-grill.js +63 -0
  29. package/workspace/lib/board-premium.js +121 -24
  30. package/workspace/lib/board-trail.js +223 -0
  31. package/workspace/lib/home-work-item.js +58 -0
  32. package/workspace/lib/initiative-layout.js +77 -0
  33. package/workspace/lib/insights-goals.js +196 -0
  34. package/workspace/lib/insights-premium.js +64 -15
  35. package/workspace/lib/insights-records.js +115 -0
  36. package/workspace/lib/jira-tickets.js +1 -1
  37. package/workspace/lib/meeting-points.js +52 -0
  38. package/workspace/lib/news-for-you.js +88 -0
  39. package/workspace/lib/notes-series.js +29 -6
  40. package/workspace/lib/report-confirm.js +48 -0
  41. package/workspace/lib/route-modules.js +12 -0
  42. package/workspace/lib/routes-board-docs.js +46 -0
  43. package/workspace/lib/routes-board-grill.js +90 -0
  44. package/workspace/lib/routes-board-trail.js +33 -0
  45. package/workspace/lib/routes-home-desk.js +176 -0
  46. package/workspace/lib/routes-home-review.js +108 -0
  47. package/workspace/lib/routes-initiative-layout.js +57 -0
  48. package/workspace/lib/routes-insights-premium.js +16 -4
  49. package/workspace/lib/routes-insights-records.js +133 -0
  50. package/workspace/lib/routes-meeting-points.js +37 -0
  51. package/workspace/lib/routes-news.js +57 -0
  52. package/workspace/lib/routes-notes.js +3 -1
  53. package/workspace/lib/routes-report-confirm.js +31 -0
  54. package/workspace/lib/routes-search.js +38 -0
  55. package/workspace/lib/routes-viewer.js +108 -0
  56. package/workspace/lib/search-index.js +176 -0
  57. package/workspace/lib/transcript-steps.js +123 -0
  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-board-actions-test.js +128 -82
  63. package/workspace/premium-briefing-depth-test.js +104 -90
  64. package/workspace/premium-chat-attach-test.js +54 -63
  65. package/workspace/premium-chat-chart-tab-test.js +37 -37
  66. package/workspace/premium-chat-context-test.js +19 -18
  67. package/workspace/premium-chat-goal-view-test.js +23 -23
  68. package/workspace/premium-chat-notes-test.js +26 -31
  69. package/workspace/premium-chat-report-tab-test.js +46 -28
  70. package/workspace/premium-chat-term-test.js +16 -16
  71. package/workspace/premium-chat-viewer-test.js +60 -59
  72. package/workspace/premium-core-doc-issue-test.js +52 -43
  73. package/workspace/premium-html-viewer-test.js +14 -17
  74. package/workspace/premium-phone-card-test.js +10 -3
  75. package/workspace/premium-phone-room-test.js +41 -35
  76. package/workspace/premium-report-read-test.js +152 -197
  77. package/workspace/premium-viewer-download-test.js +19 -22
  78. package/workspace/premium-viewer-flicker-test.js +11 -16
  79. package/workspace/premium-viewer-share-test.js +6 -9
  80. package/workspace/premium-viewer-test.js +41 -60
  81. package/workspace/premium-vw-backlog-test.js +53 -33
  82. package/workspace/premium-vw-cal-test.js +97 -128
  83. package/workspace/premium-vw-copy-test.js +17 -33
  84. package/workspace/premium-vw-doc-test.js +17 -10
  85. package/workspace/premium-vw-item-test.js +50 -49
  86. package/workspace/premium-vw-jira-test.js +53 -27
  87. package/workspace/premium-vw-meet-test.js +115 -187
  88. package/workspace/premium-vw-notes-test.js +88 -109
  89. package/workspace/premium-vw-rec-test.js +71 -194
  90. package/workspace/premium-vw-slides-test.js +46 -50
  91. package/workspace/premium-welcome-test.js +3 -2
  92. package/workspace/premium-work-depth-test.js +61 -53
  93. package/workspace/public/pm/bd-acts.js +383 -0
  94. package/workspace/public/pm/bd-asks.js +261 -0
  95. package/workspace/public/pm/bd-pop.js +59 -0
  96. package/workspace/public/pm/bd-span.js +222 -82
  97. package/workspace/public/pm/bd-stages.js +25 -11
  98. package/workspace/public/pm/bd-views.js +169 -0
  99. package/workspace/public/pm/c3-doc-sheet.js +1 -1
  100. package/workspace/public/pm/c3-md.js +3 -395
  101. package/workspace/public/pm/c3-phone-detail.js +1 -1
  102. package/workspace/public/pm/c3-phone-model.js +3 -68
  103. package/workspace/public/pm/chat-term.js +3 -3
  104. package/workspace/public/pm/cozy-board.css +798 -230
  105. package/workspace/public/pm/cozy-ev.css +228 -0
  106. package/workspace/public/pm/cozy-evmodel.js +106 -0
  107. package/workspace/public/pm/cozy-evui.js +47 -0
  108. package/workspace/public/pm/cozy-home.css +570 -142
  109. package/workspace/public/pm/cozy-home.js +5 -3
  110. package/workspace/public/pm/cozy-insights.css +437 -170
  111. package/workspace/public/pm/cozy-md.js +396 -0
  112. package/workspace/public/pm/cozy-nav.js +104 -29
  113. package/workspace/public/pm/cozy-news.js +140 -0
  114. package/workspace/public/pm/cozy-placeholder.js +26 -0
  115. package/workspace/public/pm/cozy-search.js +203 -0
  116. package/workspace/public/pm/cozy-settings.js +198 -0
  117. package/workspace/public/pm/cozy-sources.js +89 -0
  118. package/workspace/public/pm/cozy-today.css +217 -0
  119. package/workspace/public/pm/cozy-viewer.css +3 -3
  120. package/workspace/public/pm/cozy-viewer.js +145 -0
  121. package/workspace/public/pm/cozy-vw-mtg.css +350 -0
  122. package/workspace/public/pm/cozy-vw-rp.css +152 -0
  123. package/workspace/public/pm/cozy-vw.css +485 -0
  124. package/workspace/public/pm/cozy.css +83 -1
  125. package/workspace/public/pm/home-adddoc.js +48 -0
  126. package/workspace/public/pm/home-app.js +1179 -0
  127. package/workspace/public/pm/home-around.js +413 -0
  128. package/workspace/public/pm/home-chat.js +512 -0
  129. package/workspace/public/pm/home-data.js +312 -0
  130. package/workspace/public/pm/home-dictate.js +54 -0
  131. package/workspace/public/pm/home-draft.js +68 -0
  132. package/workspace/public/pm/home-ini-model.js +190 -0
  133. package/workspace/public/pm/home-ini.css +171 -0
  134. package/workspace/public/pm/home-ini.js +456 -0
  135. package/workspace/public/pm/home-list.js +276 -0
  136. package/workspace/public/pm/home-more.js +132 -0
  137. package/workspace/public/pm/home-phone-card.js +109 -0
  138. package/workspace/public/pm/home-review.js +104 -0
  139. package/workspace/public/pm/home-task.js +67 -0
  140. package/workspace/public/pm/home-today.js +144 -0
  141. package/workspace/public/pm/home-work.js +547 -0
  142. package/workspace/public/pm/phone-moment.js +69 -0
  143. package/workspace/public/pm/pm-work-view.js +1 -1
  144. package/workspace/public/pm/premium-attach.js +4 -0
  145. package/workspace/public/pm/premium-board.js +548 -395
  146. package/workspace/public/pm/premium-chart-tab.js +109 -62
  147. package/workspace/public/pm/premium-deck.js +3 -3
  148. package/workspace/public/pm/premium-first.js +23 -21
  149. package/workspace/public/pm/premium-insights.js +1102 -581
  150. package/workspace/public/pm/premium-meeting.js +61 -549
  151. package/workspace/public/pm/premium-mtg-present.js +138 -0
  152. package/workspace/public/pm/premium-mtg-replay.js +142 -0
  153. package/workspace/public/pm/premium-notes.js +1 -1
  154. package/workspace/public/pm/premium-report-frame.css +20 -0
  155. package/workspace/public/pm/premium-report-read.js +669 -476
  156. package/workspace/public/pm/premium-report-tab.js +116 -67
  157. package/workspace/public/pm/premium-shell.js +76 -123
  158. package/workspace/public/pm/premium-viewer.js +22 -1
  159. package/workspace/public/pm/premium-vw-cal.js +277 -48
  160. package/workspace/public/pm/premium-vw-doc.css +6 -0
  161. package/workspace/public/pm/premium-vw-doc.js +40 -2
  162. package/workspace/public/pm/premium-vw-file.js +2 -2
  163. package/workspace/public/pm/premium-vw-meet.js +6 -83
  164. package/workspace/public/pm/premium-vw-mtg.js +958 -0
  165. package/workspace/public/pm/premium-vw-notes.js +116 -68
  166. package/workspace/public/pm/premium-vw-open.js +35 -0
  167. package/workspace/public/pm/premium-vw-page.js +16 -0
  168. package/workspace/public/pm/premium-vw-rec.js +11 -218
  169. package/workspace/public/pm/premium-vw-slides.css +5 -0
  170. package/workspace/public/pm/premium-vw-slides.js +44 -8
  171. package/workspace/public/pm/rp-parts.js +269 -0
  172. package/workspace/public/pm/term-view.js +22 -0
  173. package/workspace/public/premium-board.html +29 -70
  174. package/workspace/public/premium-initiative.html +8 -48
  175. package/workspace/public/premium-insights.html +26 -64
  176. package/workspace/public/premium-viewer.html +20 -0
  177. package/workspace/public/premium.html +18 -107
  178. package/workspace/r/m1.png +0 -0
  179. package/workspace/r/m2.png +0 -0
  180. package/workspace/r/m3.png +0 -0
  181. package/workspace/r/nl.png +0 -0
  182. package/workspace/server.js +18 -3
  183. package/workspace/test-files.json +1 -0
  184. package/workspace/test-lists/home-libs.json +9 -0
  185. package/workspace/test-lists/initiative-layout.json +9 -0
  186. package/workspace/test-lists/premium-report-read.json +1 -1
  187. package/workspace/test-lists/premium-uncovered-meetings.json +9 -0
  188. package/workspace/test-lists/premium-uncovered-reports.json +9 -0
  189. package/workspace/test-lists/premium-vw-agreed.json +9 -0
  190. package/workspace/test-lists/premium-vw-notes.json +1 -1
  191. package/workspace/test-lists/uf-everywhere.json +15 -0
  192. package/workspace/test-lists/uf-home.json +9 -0
  193. package/workspace/test-lists/uncovered-board.json +9 -0
  194. package/workspace/public/pm/premium-work.js +0 -729
  195. package/workspace/public/pm/premium.js +0 -1146
@@ -1,152 +1,580 @@
1
- /* cozy-home.css — Home, the desk of the Agreed design (initiative premium-agreed-design, H1 and H2; frames AgHome, AgHomePhone, AgChatRunning,
2
- * AgChatAsk, AgChatPhone). Desktop: one soft card holds the list on the left (316 px, on the well), the chat in the middle and the Viewer on the
3
- * right; there is no page header and the floating place menu sits bottom left. Phone: the list is the page under a one-line top bar, and the
4
- * chat opens over it. Built on cozy.css tokens only. The Briefing's and My work's cards keep their ids; this file only restyles them as groups. */
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. */
5
4
 
6
- body.cz-home { --r-card: 24px; --sans: var(--cz-sans); }
7
- .cz-home .rise { opacity: 1; transform: none; filter: none; }
8
- .cz-home .dlg:focus, .cz-home .dlg:focus-visible { outline: 0; }
9
- /* The premium tokens the dialog and the cards read, pointed at the cozy palette (light). Dark keeps premium.css's dark tokens and takes the
10
- * cozy dark ones (cozy.css draws them for .cz.dark; premium pages switch with data-theme or the system setting, so they are repeated here). */
11
- :root:not([data-theme="dark"]) body.cz-home { --ink: var(--cz-ink); --ink-2: var(--cz-ink2); --ink-3: var(--cz-ink3); --card: var(--cz-card); --card-solid: var(--cz-card); --well: var(--cz-well); --hair: var(--cz-hair); --ember: var(--cz-blue); --ember-ink: var(--cz-blueink); --spot: var(--cz-bluebg); --solid: var(--cz-blueink); --sky: var(--cz-ground); }
12
- @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.cz-home { --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); --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
- :root[data-theme="dark"] body.cz-home { --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); --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%); }
14
- .cz-home #dock { display: none !important; }
15
- .cz-home .stage { max-width: none; }
16
- .cz-home .card { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; overflow: visible; }
17
- /* the phone moment card (premium-phone-card) stays a card on a phone: the reset above took its accent edge; the edge is the cozy blue */
18
- @media (max-width: 640px) { .cz-home .card.phm { background: var(--cz-card); border-radius: 18px; padding: 14px 16px; box-shadow: inset 3px 0 0 var(--cz-blue); } }
19
- .cz-home .cols2 { display: block; margin-top: 0; }
20
- .cz-home .cols2 > div { display: block; }
21
- .cz-home .footi { margin-top: 18px; }
22
- /* the Briefing's scroll effects (the shrinking hero, the dock taking the tools) do not apply: the list head keeps its tools */
23
- .cz-home.docked .tools-top { opacity: 1; pointer-events: auto; }
24
- .cz-home .cz-sum .brief { transform: none !important; opacity: 1 !important; }
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; }
25
27
 
26
- /* ── the list's head: the place name and its tools (no page header: this is the list panel's own first line) ── */
27
- .cz-hhead { display: flex; align-items: center; gap: 4px; padding: 0 2px 8px 8px; flex-wrap: nowrap; }
28
- .cz-htitle { flex: 1; margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
29
- .cz-hhead .tools-top { display: flex; align-items: center; gap: 2px; flex: none; }
30
- .cz-hhead .round, .cz-hhead .pv-hp { width: 44px !important; height: 44px !important; background: none !important; border: 0 !important; box-shadow: none !important; color: var(--cz-ink2); }
31
- .cz-hhead .round:hover, .cz-hhead .pv-hp:hover { background: var(--cz-card) !important; }
32
- .cz-hhead .schip { height: 44px; padding: 0 10px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; background: none; border: 0; color: var(--cz-ink2); }
33
- .cz-hhead .schip:hover { background: var(--cz-card); }
34
- .cz-hhead #hChat { width: 44px; height: 44px; } /* R11: every control on Home is at least 44 px (the shared .cz-ib is 38) */
35
- .cz-hhead #hChat { color: var(--cz-ink2); }
36
- .cz-hhead #hChat:hover { background: var(--cz-card); }
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); }
37
41
 
38
- /* ── the summary line and the meeting line ── */
39
- .cz-sum { margin: 0 2px 10px; padding: 12px 14px; border-radius: 18px; background: var(--cz-bluebg); display: flex; flex-direction: column; gap: 4px; }
40
- .cz-sumh { margin: 0; font-size: 15px; font-weight: 700; color: var(--cz-ink); }
41
- .cz-sum .brief { margin: 0; font-size: 12.5px; line-height: 1.45; font-weight: 500; letter-spacing: 0; color: var(--cz-ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: none; }
42
- .cz-sum .brief .k { color: var(--cz-ink); font-weight: 700; }
43
- .cz-sum .date { margin: 0; font-size: 12px; color: var(--cz-ink3); text-transform: none; letter-spacing: 0; font-family: var(--cz-sans); }
44
- .cz-sum .rfline { margin: 0; font-size: 12px; }
45
- .cz-meet { margin: 0 2px 4px; display: flex; align-items: center; gap: 6px; }
46
- .cz-meet[hidden] { display: none; }
47
- .cz-mgo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 12px; border-radius: 14px; background: var(--cz-card); border: 0; font: inherit; font-size: 13px; color: var(--cz-ink); text-align: left; cursor: pointer; }
48
- .cz-mgo span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
49
- .cz-mgo b { font-weight: 800; }
50
- .cz-mgo em { font-style: normal; color: var(--cz-blueink); }
51
- .cz-mgo svg, .cz-mcal svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--cz-blueink); }
52
- .cz-mnone { color: var(--cz-ink3); cursor: default; }
53
- .cz-mcal { flex: none; min-width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cz-card); border: 0; font: inherit; font-size: 12px; font-weight: 800; color: var(--cz-ink2); cursor: pointer; }
54
- .cz-mgo:hover, .cz-mcal:hover { box-shadow: 0 0 0 1.5px var(--cz-blue); }
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; }
55
73
 
56
- /* ── a group: its head (fold, title, count) and its rows ── */
57
- .cz-home .card > .ch, .cz-grp > .ch { position: static; background: transparent !important; box-shadow: none; display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 6px 4px 2px; margin: 10px 0 2px; border: 0; }
58
- .cz-home .card > .ch .ic { display: none; }
59
- .cz-home .card > .ch h2, .cz-grp > .ch h2 { margin: 0; flex: 1; font: 700 13px var(--cz-sans); color: var(--cz-ink2); letter-spacing: 0; }
60
- .cz-home .card > .ch small, .cz-grp > .ch small { font: 600 11.5px var(--cz-sans); color: var(--cz-ink3); margin: 0; }
61
- .cz-fold { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 0; padding: 0; background: none; color: var(--cz-ink2); cursor: pointer; }
62
- .cz-fold:hover { background: var(--cz-card); }
63
- .cz-fold svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .15s; }
64
- .cz-shut .cz-fold svg { transform: rotate(-90deg); }
65
- .cz-shut > :not(.ch) { display: none !important; }
66
- .cz-list, .cz-sub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
67
- .cz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
68
- .cz-rb { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 18px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--cz-ink); text-align: left; text-decoration: none; cursor: pointer; }
69
- .cz-rb:hover { background: rgba(127,127,127,.08); }
70
- .cz-rb.sm { min-height: 44px; padding: 6px 12px; }
71
- .cz-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
72
- .cz-rt b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
73
- .cz-rt small { font: 500 12px var(--cz-sans); color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
74
- .cz-rt .cz-ladder { margin-top: 3px; max-width: 220px; }
75
- .cz-kids { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 8px; border-radius: 999px; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 700; color: var(--cz-ink3); white-space: nowrap; cursor: pointer; }
76
- .cz-kids:hover { background: var(--cz-card); }
77
- .cz-kids svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(-90deg); transition: transform .15s; }
78
- .cz-kids[aria-expanded="true"] svg { transform: none; }
79
- .cz-sub { flex: 1 1 100%; margin-left: 26px; gap: 2px; }
80
- .cz-ini .cz-ladder { margin: 6px 0 10px; max-width: 360px; }
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; }
81
136
 
82
- /* Needs you: the Briefing's rows as list rows (a dot, the title, one line under it) */
83
- .cz-home .rank { display: flex; flex-direction: column; gap: 6px; }
84
- .cz-home .rr { position: relative; border: 0 !important; padding: 0; background: none; margin: 0; }
85
- .cz-home .rr .rhd { display: flex !important; align-items: center; gap: 10px; width: 100% !important; box-sizing: border-box; margin: 0 !important; min-height: 56px; padding: 10px 40px 10px 12px !important; border-radius: 18px; background: none; box-shadow: none !important; text-align: left; font: inherit; }
86
- .cz-home .rr .rhd > span:not(.rn) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
87
- .cz-home .rr .rhd:hover, .cz-home .rr.hl-k .rhd { background: rgba(127,127,127,.08); }
88
- .cz-home .rr .rn { display: block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--cz-blue); font-size: 0; color: transparent; opacity: 1 !important; }
89
- .cz-home .rr .rt, .cz-home .rr.first .rt { font-size: 14px; font-weight: 700; color: var(--cz-ink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
90
- .cz-home .rr .rs { margin: 0; font: 500 12px var(--cz-sans); color: var(--cz-blueink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
91
- .cz-home .rr .rs .pn { font-weight: 700; margin-right: 4px; }
92
- .cz-home .rr .rchev { display: none; }
93
- .cz-home .tgf { font: 800 11px var(--cz-sans); letter-spacing: 0; text-transform: none; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--cz-bluebg); color: var(--cz-blueink); vertical-align: 1px; }
94
- .cz-home .rr .rpin { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; opacity: 0; }
95
- .cz-home .rr:hover .rpin, .cz-home .rr .rpin:focus-visible, .cz-home .rr .rpin[aria-pressed="true"] { opacity: 1; }
96
- .cz-home .mprog { margin: 2px 12px 8px; height: 4px; }
97
- .cz-home #movesCard .note, .cz-home #queue .note { font-size: 12px; color: var(--cz-ink3); margin: 6px 12px 0 !important; }
98
- .cz-home .calm { padding: 10px 12px; border-radius: 18px; background: var(--cz-card); }
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); }
99
149
 
100
- /* Sessions: the session list moved out of the chat into this group (desktop) */
101
- .cz-home #hSessions .srl { display: flex !important; border-right: 0; padding-right: 0; overflow: visible; }
102
- .cz-home #hSessions .srl-hd { display: none; }
103
- .cz-home #hSessions .srl-list { overflow: visible; }
104
- .cz-home #hSessions .srl-lg { display: none; }
105
- .cz-home #hSessions .srl-r { min-height: 48px; border-radius: 16px; }
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; }
106
161
 
107
- /* My work: the capture box and the queue, as groups of the list */
108
- .cz-home .cz-work { margin-top: 4px; }
109
- .cz-home .cap { margin: 10px 2px 0; height: 44px; border-radius: 14px; background: var(--cz-card); border: 0; box-shadow: none; padding: 0 6px 0 12px; }
110
- .cz-home .cap input { font: inherit; font-size: 13.5px; }
111
- .cz-home .tx { margin: 4px 8px 0; font-size: 11.5px; color: var(--cz-ink3); }
112
- .cz-home .tgrid { display: flex; flex-direction: column; gap: 4px; }
113
- .cz-home .wrow { border-radius: 16px; }
114
- .cz-home .wrh { min-height: 44px; } /* every row press is 44 px: in Nunito a small row's text and padding came to 40 */
115
- .cz-home .qbar { margin: 0 0 6px; }
116
- .cz-home .qtb { font-family: var(--cz-sans); }
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; }
117
230
 
118
- /* ── desktop: the desk ── */
119
- @media (min-width: 1000px) {
120
- body.cz-dock::before { content: ''; position: fixed; inset: 16px; z-index: 0; background: var(--cz-card); border: 1px solid rgba(255,255,255,.9); border-radius: 32px; box-shadow: var(--cz-lift); pointer-events: none; }
121
- body.cz-dock main.stage { position: fixed; z-index: 2; left: 44px; top: 40px; bottom: 36px; width: 316px; box-sizing: border-box; margin: 0; padding: 12px 10px 76px; background: var(--cz-well); border-radius: 24px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
122
- body.cz-dock .dlg.on, body.cz-dock .dlg.on.full { left: 382px !important; top: 40px !important; width: calc(100% - 426px) !important; height: calc(100% - 76px) !important; transform: none !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; z-index: 3; }
123
- body.cz-dock .dlg .dhead { padding: 4px 0 0; align-items: center; }
124
- body.cz-dock .dlg .dht { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
125
- body.cz-dock .dlg #dEye { display: none; }
126
- body.cz-dock .dlg #dTitle { margin: 0; font-size: 17px !important; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; }
127
- body.cz-dock .dlg #dSub { margin: 0; font-size: 13px; color: var(--cz-ink3); overflow: hidden; text-overflow: ellipsis; }
128
- body.cz-dock .dlg .dgrid { margin-top: 14px; gap: 22px !important; grid-template-columns: minmax(360px, 1fr) minmax(380px, 500px) !important; }
129
- body.cz-dock .dlg.vw-shut .dgrid { grid-template-columns: minmax(0, 1fr) !important; }
130
- /* Replay takes the whole chat column (its conversation pane is hidden): two columns left the Viewer at 340 px and the Replay ran sideways */
131
- body.cz-dock .dlg.rpw .dgrid { grid-template-columns: minmax(0, 1fr) !important; }
132
- body.cz-dock .dlg .dgrid > .srl { display: none !important; }
133
- body.cz-dock .dlg .p-out { background: var(--cz-card); border-radius: 24px; box-shadow: 0 6px 18px -8px rgba(42,46,53,.2), 0 0 0 1px var(--cz-hair); padding: 14px 16px; }
134
- body.cz-dock .dlg.vw-shut #dBody { padding-inline: max(0px, calc((100% - 760px) / 2)); }
135
- body.cz-dock .vwpill { height: 38px; border-radius: 999px; }
136
- body.cz-dock .veil { display: none !important; }
137
- body.cz-dock .toast { z-index: 70; }
138
- /* the Record menu opens under the header across the narrow column: anchored to the mic it ran off the column's clipped left edge */
139
- body.cz-dock .cz-hhead .recctl { position: static; }
140
- body.cz-dock .cz-hhead .recm { left: 0; right: 0; width: auto; }
141
- }
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); }
142
276
 
143
- /* ── phone: the list is the page, one top bar line; the place menu is bottom right (cozy.css) ── */
144
- @media (max-width: 999px) {
145
- body.cz-home main.stage { padding: 0 12px 110px; background: var(--cz-well); min-height: 100vh; box-sizing: border-box; }
146
- .cz-hhead { position: sticky; top: 0; z-index: 5; min-height: 52px; padding: calc(4px + env(safe-area-inset-top, 0px)) 0 4px 4px; margin: 0 -12px 8px; padding-left: 16px; padding-right: 8px; background: var(--cz-well); }
147
- .cz-htitle { font-size: 16px; }
148
- .cz-hhead .schip { display: none; }
149
- }
150
- @media (max-width: 720px) {
151
- .cz-sum .brief { -webkit-line-clamp: 2; }
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; }
152
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; } }