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,421 @@
1
+ /* cozy-insights.css — the Insights page in the Agreed design (initiative premium-agreed-design). Ported from the agreed frames AgInsGoals, AgInsPeriod,
2
+ * AgInsNewGoal, AgInsNewDash, AgInsChart, AgInsOutcomes, AgInsVerdict, AgInsLibrary and AgInsPhone. It builds on the tokens of cozy.css only; every class
3
+ * starts with ins-, so nothing here reaches another page. The page loads cozy.css and this file only: no old premium stylesheet, no #dlg. */
4
+
5
+ body.cz { padding: 0; }
6
+ /* main keeps the class stage, which the shell makes inert behind a dialog; the panel is the design's: 16px from the window, filled to its foot */
7
+ .cz main.ins.stage { max-width: none; margin: 16px; padding: 16px 24px 18px; gap: 12px; }
8
+ /* AgInsGoals: the table ends 18px above the panel's foot and the floating menu sits over its corner, so the shared 96px clearance is not kept */
9
+ @media (min-width: 721px) { body.cz main.cz-panel.ins.stage { padding-bottom: 18px; } }
10
+ .ins *, .ins *::before, .ins *::after { box-sizing: border-box; }
11
+ :where(.ins, .ins-side) :where(p, h2, h3) { margin: 0; } /* no specificity: a class's own margin wins */
12
+ .ins-side:focus { outline: none; }
13
+ /* the shell's toast (premium-shell.js toast() writes #toast and adds .on) */
14
+ .ins-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: 600 13px var(--cz-sans); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; display: flex; align-items: center; gap: 10px; }
15
+ .ins-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
16
+ .ins-toast .cta { 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; }
17
+ .cz .dock, .cz .sky { display: none !important; }
18
+ .cz .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
19
+ .ins .note, .ins-side .note { font-size: 11.5px; color: var(--cz-ink3); }
20
+ .ins .q, .ins-side .q { color: var(--cz-ink3); font-weight: 600; }
21
+ .ins { font-family: var(--cz-sans); color: var(--cz-ink); position: relative; z-index: 1; }
22
+ .ins button, .ins-side button, .ins-side select, .ins-side input { font-family: inherit; }
23
+ .ins svg[aria-hidden="true"], .ins-side svg[aria-hidden="true"] { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
24
+ .ins .cz-chip svg, .ins .cz-pick svg, .ins-side .cz-chip svg { width: 14px; height: 14px; }
25
+ .ins .cz-pill svg, .ins-side .cz-pill svg { width: 11px; height: 11px; stroke-width: 3; }
26
+ /* ⋯ keeps the heavy dots the design draws (stroke 3), in ink */
27
+ .ins svg[stroke-width="3"], .ins-side svg[stroke-width="3"] { stroke-width: 3; }
28
+ .ins #moreB, .ins-side #chMore { color: var(--cz-ink); }
29
+ .ins .lk { font: inherit; font-weight: 700; color: var(--cz-blueink); background: none; border: 0; cursor: pointer; padding: 0; }
30
+
31
+ /* ── the bar ── */
32
+ .ins-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
33
+ .ins-bar [hidden] { display: none !important; }
34
+ .ins-ttl { display: none; }
35
+ .ins-tabs { margin-left: 6px; }
36
+ .ins-mw { position: relative; display: inline-flex; }
37
+ .ins-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
38
+ .ins-tools #perChip { height: 36px; }
39
+ .ins #perChip[aria-expanded="true"] { background: var(--cz-card); } /* open, the chip stays white (AgInsPeriod) */
40
+ .ins-perd { font-weight: 600; color: var(--cz-ink3); font-size: 11.5px; }
41
+ .ins-fdot { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--cz-blue); }
42
+ .ins-menu { position: absolute; top: calc(100% + 6px); line-height: normal; left: 0; z-index: 30; min-width: 220px; max-height: 70vh; overflow: auto; background: var(--cz-card); border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(42,46,53,.45), 0 0 0 1px var(--cz-hair); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
43
+ .ins-menu[hidden] { display: none; }
44
+ .ins-menu.ins-right, .ins-permenu { left: auto; right: 0; }
45
+ .ins-permenu { top: calc(100% - 7px); } /* AgInsPeriod: the menu's top edge tucks under the chip */
46
+ .ins-permenu { width: 330px; gap: 0; } /* AgInsPeriod: the items sit flush */
47
+ .ins-menu button { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: var(--cz-ink); background: none; border: 0; cursor: pointer; text-align: left; }
48
+ .ins-menu button:disabled { color: var(--cz-ink3); cursor: default; }
49
+ .ins-menu button > span { display: block; }
50
+ .ins-menu button:hover:not(:disabled), .ins-menu [aria-checked="true"] { background: var(--cz-well); }
51
+ .ins-permenu [aria-checked="true"] { background: var(--cz-bluebg); }
52
+ .ins-menu small { display: block; font-weight: 600; color: var(--cz-ink3); font-size: 12px; }
53
+ .ins-menu [role="menuitem"], .ins-menu [data-view] { flex-direction: column; gap: 0; }
54
+ .ins-menu .ins-ck { width: 18px; flex: none; }
55
+ .ins-mh { margin: 6px 12px 2px; font-size: 11.5px; font-weight: 800; color: var(--cz-ink3); }
56
+ .ins-mnote { margin: 0; padding: 6px 12px 8px; line-height: 1.4; }
57
+ .ins-cust { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; padding: 4px 12px 6px; }
58
+ .ins-cust[hidden] { display: none; }
59
+ .ins-cust label { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; color: var(--cz-ink2); gap: 3px; }
60
+ .ins-cust input { height: 32px; border: 1px solid var(--cz-hair); border-radius: 10px; padding: 0 8px; font: inherit; font-size: 13px; background: var(--cz-card); color: var(--cz-ink); }
61
+ .ins-find { display: flex; align-items: center; gap: 8px; background: var(--cz-well); border-radius: 16px; padding: 4px 6px 4px 14px; }
62
+ .ins-find[hidden] { display: none; }
63
+ .ins-find input { flex: 1; height: 34px; border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--cz-ink); outline: 0; }
64
+
65
+ /* ── the strip ── */
66
+ .ins-strip { display: flex; align-items: center; gap: 10px; background: var(--cz-well); border-radius: 16px; padding: 8px 8px 8px 14px; font-size: 13.5px; }
67
+ .ins-strip .sp { color: var(--cz-blueink); display: inline-flex; }
68
+ .ins-strip .sp svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
69
+ .ins-strip .t { flex: 1; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cz-ink2); }
70
+ .ins-strip .t b { font-weight: 800; color: var(--cz-ink); }
71
+ .ins-strip #insWhy { color: var(--cz-ink3); }
72
+ .ins-strip .cz-chip { text-decoration: none; flex: none; color: var(--cz-ink2); }
73
+ .ins-pane { display: flex; flex-direction: column; gap: 12px; }
74
+ .ins-pane[hidden] { display: none; }
75
+ /* Goals and Outcomes: the table fills the panel to its foot, as the design's table does (Library's tables keep their height) */
76
+ #pGoals:not([hidden]), #pOutcomes:not([hidden]) { flex: 1 1 auto; }
77
+ #goalTbl, #outTbl { flex: 1 1 auto; }
78
+
79
+ /* ── the tables ── */
80
+ .ins-tbl { display: flex; flex-direction: column; border: 1px solid var(--cz-hair); border-radius: 18px; overflow: hidden; background: var(--cz-card); }
81
+ .ins-tr { display: grid; align-items: center; column-gap: 16px; padding: 0 16px; }
82
+ .ins-cols { grid-template-columns: minmax(210px, 270px) 190px 230px 170px minmax(0, 1fr); }
83
+ .ins-ocols { grid-template-columns: minmax(170px, 250px) minmax(0, 1fr) 200px 160px 220px; }
84
+ .ins-lcols { grid-template-columns: 40px minmax(0, 1fr) 170px 200px 190px 90px; }
85
+ .ins-th { background: var(--cz-well); font-size: 12.5px; font-weight: 800; color: var(--cz-ink2); min-height: 36px; }
86
+ .ins-th span { color: var(--cz-ink3); font-weight: 600; }
87
+ .ins-mvh { display: flex; justify-content: space-between; align-items: center; }
88
+ .ins-lg { display: inline-flex; gap: 12px; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--cz-ink3); margin-left: 6px; }
89
+ .ins-lg span { display: inline-flex; align-items: center; gap: 5px; }
90
+ .ins-tdk { width: 2px; height: 10px; background: var(--cz-ink); display: inline-block; }
91
+ .ins-grp { background: var(--cz-c-fbfaf8); border-top: 1px solid var(--cz-hair); min-height: 34px; font-size: 12.5px; font-weight: 800; color: var(--cz-ink2); display: flex; align-items: center; gap: 8px; padding: 0 16px; flex-wrap: wrap; }
92
+ .cz.dark .ins-grp, html.dark .cz .ins-grp, :root[data-theme="dark"] .cz .ins-grp { background: var(--cz-well2); }
93
+ .ins-grp h2 { font-size: 12.5px; font-weight: 800; margin: 0; }
94
+ .ins-grp .cz-pill { margin-left: 4px; font-weight: 600; color: var(--cz-ink3); } /* quiet: the design's group pill keeps its tint, in grey text */
95
+ .ins-row { border-top: 1px solid var(--cz-hair); min-height: 70px; padding-top: 7px; padding-bottom: 7px; cursor: pointer; }
96
+ .ins-row.ins-ocols { cursor: default; align-items: start; padding-top: 10px; padding-bottom: 10px; }
97
+ @media (hover: hover) { .ins-row:hover { background: rgba(244, 243, 240, .35); } .cz.dark .ins-row:hover, html.dark .cz .ins-row:hover { background: var(--cz-well); } }
98
+ .ins-row.sel, .ins-row.sel:hover { background: var(--cz-bluebg); }
99
+ .ins-row .nm { display: flex; gap: 10px; align-items: center; min-width: 0; }
100
+ .ins-row .nm b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
101
+ .ins-row .nm small { display: flex; gap: 6px; align-items: center; margin-top: 3px; font-size: 12px; color: var(--cz-ink3); white-space: nowrap; min-width: 0; }
102
+ .ins-sub { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
103
+ .ins-row .nm > span { min-width: 0; max-width: 100%; }
104
+ .ins-row .nm a { color: inherit; text-decoration: none; }
105
+ .ins .ins-type, .ins-side .ins-type { font-weight: 700; font-size: 11px; padding: 1px 7px; }
106
+ .ins-row .val b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
107
+ .ins-bar1 { position: relative; height: 6px; border-radius: 3px; background: var(--cz-c-eceae6); margin-top: 6px; width: 130px; }
108
+ .cz.dark .ins-bar1, html.dark .cz .ins-bar1 { background: var(--cz-well2); }
109
+ .ins-bar1 i { display: block; height: 100%; border-radius: 3px; }
110
+ .ins-bar1 .today { position: absolute; top: -4px; bottom: -4px; width: 2px; border-radius: 1px; background: var(--cz-ink); }
111
+ .ins-spark { display: block; overflow: visible; width: 210px; height: 40px; }
112
+ .ins-spark .ar, .ins-ch2 .ar, .ins-tsp .ar { fill: rgba(42,46,53,.05); }
113
+ .ins-spark .tg, .ins-ch2 .tg { stroke: var(--cz-c-9da3ac); stroke-dasharray: 3 3; stroke-width: 1; }
114
+ .ins-spark .pj, .ins-ch2 .pj { fill: none; stroke: var(--cz-c-a9aeb6); stroke-width: 1.6; stroke-dasharray: 4 3; }
115
+ .ins-spark .ln, .ins-ch2 .ln, .ins-tsp .ln { fill: none; stroke: var(--cz-ink2); stroke-width: 1.8; stroke-linejoin: round; }
116
+ .ins-spark .dt, .ins-ch2 .dt { stroke: var(--cz-card); stroke-width: 1.5; }
117
+ .ins-spark .bd { fill: color-mix(in srgb, var(--cz-dot-ok) 12%, transparent); } /* Stay within: the band inside the budget */
118
+ .ins-items { margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
119
+ .ins-blocks { display: flex; gap: 3px; max-width: 100%; }
120
+ .ins-blocks i { flex: 1; height: 20px; border-radius: 5px; display: block; background: var(--cz-c-eceae6); }
121
+ .ins-blocks i.on { background: var(--cz-c-8c929b); }
122
+ .ins-steps { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--cz-ink3); }
123
+ .ins-steps span { display: flex; align-items: center; gap: 6px; }
124
+ .ins-steps span.on { color: var(--cz-ink2); }
125
+ .ins-steps .ins-cb { width: 14px; height: 14px; border-radius: 4px; }
126
+ .ins-row .pace { font-size: 13px; line-height: 1.35; color: var(--cz-ink2); }
127
+ .ins-row .pace b { font-weight: 800; }
128
+ .ins-row .pace .note { font-size: 12px; }
129
+ .ins-row .mv { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
130
+ .ins-ini { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--cz-ink2); min-width: 0; text-decoration: none; border-radius: 8px; }
131
+ @media (hover: hover) { .ins-ini:hover .n { text-decoration: underline; } }
132
+ .ins-ini .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
133
+ .ins-ini .cz-pill { margin-left: auto; }
134
+ .ins-trk { display: inline-flex; align-items: center; gap: 3px; flex: none; }
135
+ .ins-trk i { width: 6px; height: 6px; border-radius: 50%; background: var(--cz-c-eceae6); display: block; }
136
+ .ins-trk i.p { background: var(--cz-c-9da3ac); }
137
+ .ins-trk i.k { background: var(--cz-card); border: 1.5px dashed var(--cz-c-a9aeb6); width: 7px; height: 7px; box-sizing: border-box; }
138
+ .ins-trk i.c { width: 10px; height: 10px; border: 2px solid var(--cz-card); box-shadow: 0 0 0 1px rgba(42,46,53,.25); box-sizing: content-box; width: 6px; height: 6px; }
139
+ .ins-trk i.m { border-radius: 1.5px; transform: rotate(45deg); }
140
+ .ins-trk i.c.m { border-radius: 2px; }
141
+ .ins-trk i.c.ok { background: var(--cz-dot-ok); } .ins-trk i.c.late { background: var(--cz-dot-late); } .ins-trk i.c.risk { background: var(--cz-dot-risk); } .ins-trk i.c.q { background: var(--cz-c-9da3ac); } .ins-trk i.c.you { background: var(--cz-blue); }
142
+ .ins-cb { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--cz-c-a9aeb6); flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--cz-card); box-sizing: border-box; }
143
+ .ins-cb.on { background: var(--cz-blue); border-color: var(--cz-blue); color: var(--cz-card); }
144
+ .ins-cb svg { width: 10px; height: 10px; }
145
+ .ins-empty { padding: 16px; border-top: 1px solid var(--cz-hair); font-size: 13.5px; color: var(--cz-ink2); }
146
+ .ins-empty.ins-sm2 { padding: 12px 16px; font-size: 12.5px; color: var(--cz-ink3); }
147
+ .ins-budget .val b, .ins-budget .pace b { color: var(--cz-ink3); }
148
+ .ins-cards { display: none; }
149
+
150
+ /* ── Delivery trends: six compact tiles ── */
151
+ .ins-trends { border-top: 1px solid var(--cz-hair); }
152
+ .ins-trends .ins-grp { border-top: 0; }
153
+ .ins-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 8px 16px 10px; border-top: 1px solid var(--cz-hair); }
154
+ .ins-tile { background: var(--cz-well); border-radius: 14px; padding: 7px 10px 4px; display: flex; flex-direction: column; gap: 1px; cursor: pointer; min-width: 0; }
155
+ .ins-tile.warn { background: var(--cz-latebg); }
156
+ /* Dark theme: cozy.css keeps --cz-latebg light, so the tile mixes the late dot into the dark well instead. */
157
+ .cz.dark .ins-tile.warn, html.dark .cz .ins-tile.warn, :root[data-theme="dark"] .cz .ins-tile.warn { background: color-mix(in srgb, var(--cz-dot-late) 18%, var(--cz-well)); }
158
+ .ins-tile .l { font-size: 12px; font-weight: 700; color: var(--cz-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
159
+ .ins-tile .v { font-size: 15px; font-weight: 800; }
160
+ .ins-tile.abs .v { color: var(--cz-ink3); }
161
+ .ins .ins-tsp { display: block; width: 150px; max-width: 100%; height: 18px; overflow: visible; }
162
+ .ins-tsp0 { display: block; height: 18px; }
163
+ .ins-tsp .dt { fill: var(--cz-c-9da3ac); stroke: var(--cz-card); stroke-width: 1.5; }
164
+ .ins-tile.warn .ins-tsp .dt { fill: var(--cz-dot-late); }
165
+
166
+ /* ── Outcomes ── */
167
+ .ins-prom { display: grid; grid-template-columns: 92px minmax(0, 1fr) 190px; align-items: center; gap: 10px; padding: 3px 0; }
168
+ .ins-prom .pt { font-size: 12.5px; font-weight: 700; color: var(--cz-ink); }
169
+ .ins-prom .pr { display: flex; align-items: center; gap: 8px; }
170
+ .ins-prom b { font-size: 12px; font-weight: 800; white-space: nowrap; }
171
+ .ins-bul { position: relative; height: 12px; border-radius: 6px; background: var(--cz-c-f0eeea, var(--cz-well2)); flex: none; }
172
+ .ins-bul .ex { position: absolute; top: 0; bottom: 0; border: 1.5px dashed var(--cz-c-8c929b); border-radius: 6px; box-sizing: border-box; }
173
+ .ins-bul .ac { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; }
174
+ .ins-bul .z { position: absolute; top: -3px; bottom: -3px; width: 1.5px; background: var(--cz-ink3); }
175
+ .ins-guard { font-size: 12.5px; color: var(--cz-ink2); }
176
+ .ins-guard .note { font-size: 12.5px; color: var(--cz-ink2); }
177
+ .ins-ov { margin-top: 4px; }
178
+ .ins-win { height: 5px; border-radius: 3px; background: var(--cz-c-eceae6); width: 120px; margin-top: 6px; }
179
+ .ins-win i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--cz-c-8c929b); }
180
+ .ins-win + .note { margin-top: 4px; }
181
+ .ins-row.ins-ocols .nm { flex-direction: column; align-items: flex-start; gap: 6px; }
182
+ .ins-row.ins-ocols .cz-pill + .note { margin-top: 4px; }
183
+ .ins-dec { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--cz-ink); color: var(--cz-card); border: 0; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
184
+ .ins-dec svg { width: 14px !important; height: 14px !important; }
185
+
186
+ /* ── Library ── */
187
+ .ins-lbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
188
+ .ins-chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
189
+ .ins-chips .cz-chip { color: var(--cz-ink2); }
190
+ .ins-lbar #sugB { color: var(--cz-ink2); }
191
+ .ins-lnote { margin-left: auto; }
192
+ .ins-sec { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--cz-ink2); padding: 2px 4px; }
193
+ .ins-sec h3 { margin: 0; font-size: 13px; font-weight: 800; color: var(--cz-ink2); }
194
+ #listRows { display: flex; flex-direction: column; gap: 12px; }
195
+ .ins-lhead { min-height: 36px; }
196
+ .ins .ins-lhead span { color: var(--cz-ink2); font-weight: 800; }
197
+ .ins-lrow { display: contents; font: inherit; color: inherit; background: none; border: 0; text-align: left; cursor: pointer; }
198
+ .ins-lcols.ins-row { min-height: 60px; padding-top: 7px; padding-bottom: 7px; }
199
+ .ins-lrow .nm { display: block; min-width: 0; }
200
+ .ins-lrow .nm b { display: block; font-size: 14px; font-weight: 800; }
201
+ .ins-lrow .nm small { display: block; font-size: 12px; color: var(--cz-ink3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
202
+ .ins .ins-when { font-size: 12.5px; }
203
+ .lic { width: 40px; height: 40px; border-radius: 12px; background: var(--cz-bluebg); color: var(--cz-blueink); display: flex; align-items: center; justify-content: center; }
204
+ .ins-dots { display: inline-flex; gap: 3px; }
205
+ .ins-dots i { width: 9px; height: 9px; border-radius: 3px; background: var(--cz-c-8c929b); display: block; }
206
+ .ins-dots i.dr { background: var(--cz-blue); }
207
+ .ins-dots i.dr0 { background: var(--cz-c-eceae6); }
208
+ .ins-dots + small { display: block; margin-top: 4px; }
209
+ .ins-from { display: flex; flex-wrap: wrap; gap: 4px; }
210
+ .ins-from .cz-pill { font-weight: 700; }
211
+ .ins-act { display: flex; justify-content: flex-end; }
212
+ .ins-dgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
213
+ .ins-dcard { display: flex; flex-direction: column; gap: 8px; background: var(--cz-card); border: 1px solid var(--cz-hair); border-radius: 18px; padding: 12px 14px; text-align: left; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
214
+ @media (hover: hover) { .ins-dcard:hover { box-shadow: 0 6px 18px -8px rgba(42,46,53,.2); } }
215
+ .ins-dh { display: flex; align-items: center; gap: 6px; }
216
+ .ins-dh b { font-size: 14px; font-weight: 800; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
217
+ .ins-pinned { display: inline-flex; color: var(--cz-ink2); }
218
+ .ins .ins-pinned svg { width: 14px; height: 14px; }
219
+ .ins-minis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
220
+ .ins-mini { background: var(--cz-well); border-radius: 10px; padding: 6px 8px; display: flex; flex-direction: column; min-width: 0; }
221
+ .ins-mini small { font-size: 11.5px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
222
+ .ins-mini b { font-size: 13px; font-weight: 800; }
223
+ .ins .ins-mini svg { width: 100%; height: 26px; }
224
+ .ins-mini .ar { fill: rgba(42,46,53,.05); stroke: none; }
225
+ .ins-mini .ln { fill: none; stroke: var(--cz-ink2); stroke-width: 1.6; }
226
+
227
+ /* ── the side panel (New goal 540, New dashboard 470, Edit chart 560, the verdict 520) ── */
228
+ .ins-side { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(470px, 100%); background: var(--cz-card); border-left: 1px solid var(--cz-hair); box-shadow: -24px 0 48px -30px rgba(42,46,53,.35); display: flex; flex-direction: column; font-family: var(--cz-sans); color: var(--cz-ink); box-sizing: border-box; }
229
+ .ins-side[data-kind="goal"] { width: min(540px, 100%); }
230
+ .ins-side[data-kind="chart"] { width: min(560px, 100%); }
231
+ .ins-side[data-kind="verdict"] { width: min(520px, 100%); }
232
+ .ins-side[hidden] { display: none; }
233
+ .ins-side *, .ins-side *::before, .ins-side *::after { box-sizing: border-box; }
234
+ .ins-sh { padding: 18px 18px 10px; display: flex; align-items: flex-start; gap: 8px; }
235
+ .ins-sh > div { flex: 1; min-width: 0; }
236
+ .ins-eye { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--cz-ink3); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
237
+ .ins-sh h2 { margin: 2px 0 0; font-size: 19px; font-weight: 800; }
238
+ .ins-objb { display: inline-flex; align-items: center; gap: 2px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--cz-ink3); background: none; border: 0; padding: 0; cursor: pointer; }
239
+ .ins-side .ins-objb svg { width: 12px; height: 12px; }
240
+ .ins-onew { height: 30px; margin-top: 4px; }
241
+ .ins-tin { width: 100%; font: inherit; font-size: 19px; font-weight: 800; color: var(--cz-ink); border: 0; background: none; padding: 0; outline: 0; }
242
+ .ins-tin::placeholder { color: var(--cz-ink3); }
243
+ .ins-side .ins-tin:focus, .ins-side .ins-tin:focus-visible { outline: none; } /* the name is the heading: a caret, no field ring */
244
+ .ins-st { display: inline-flex; gap: 2px; align-items: center; }
245
+ .ins-sb { flex: 1; overflow: auto; padding: 0 18px 18px; display: flex; flex-direction: column; gap: 14px; }
246
+ .ins-side[data-kind="goal"] .ins-sb, .ins-side[data-kind="verdict"] .ins-sb { gap: 12px; }
247
+ .ins-sf { border-top: 1px solid var(--cz-hair); padding: 12px 18px 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
248
+ .ins-sf > .note { flex: 1; margin: 0; min-width: 160px; }
249
+ .ins-sa { display: inline-flex; gap: 6px; align-items: center; }
250
+ .ins-sm:empty { display: none; }
251
+ .ins-sm { color: var(--cz-late); flex-basis: 100%; order: -1; margin: 0; }
252
+ .ins-primary { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--cz-ink); color: var(--cz-card); border: 0; font-size: 12.5px; font-weight: 700; cursor: pointer; }
253
+ .ins-primary svg { width: 15px !important; height: 15px !important; }
254
+ .ins-primary:disabled { opacity: .45; cursor: not-allowed; }
255
+ .ins-fl { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--cz-ink2); margin: 0; }
256
+ p.ins-fl { flex-direction: row; align-items: center; margin: 0 0 6px; flex-wrap: wrap; }
257
+ .ins-fl > span { display: flex; align-items: center; gap: 6px; }
258
+ .ins-ns { font-size: 11px; font-weight: 600; color: var(--cz-ink3); background: var(--cz-well); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
259
+ .ins-fn { margin-top: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
260
+ .ins-inp, .ins-ta { width: 100%; height: 38px; border: 1px solid var(--cz-hair); border-radius: 12px; padding: 0 12px; background: var(--cz-card); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--cz-ink); }
261
+ .ins-ta { min-height: 60px; padding: 8px 10px; resize: vertical; font-size: 13px; }
262
+ .ins-side #vdLearn { resize: none; }
263
+ /* a number with its unit and, for a baseline, the day it is read: one field (AgInsNewGoal "24% on Oct 1") */
264
+ .ins-fl > .ins-uf { display: flex; align-items: center; gap: 0; height: 38px; border: 1px solid var(--cz-hair); border-radius: 12px; padding: 0 12px; background: var(--cz-card); font-size: 13.5px; font-weight: 600; color: var(--cz-ink); cursor: text; }
265
+ .ins-uf:focus-within { outline: 2px solid var(--cz-blue); outline-offset: 2px; }
266
+ .ins-uf input { border: 0; outline: 0; background: none; font: inherit; color: inherit; padding: 0; min-width: 2ch; max-width: 100%; field-sizing: content; }
267
+ .ins-uf input:focus-visible { outline: none; }
268
+ .ins-uf input::placeholder { color: var(--cz-ink3); }
269
+ .ins-uf .on { margin-left: 8px; white-space: nowrap; }
270
+ /* the cozy select: the native select drawn as the design's field, with a quiet chevron */
271
+ .ins-sel { position: relative; display: block; }
272
+ .ins-fl > .ins-sel { display: block; }
273
+ .ins-sel select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; text-overflow: ellipsis; }
274
+ .ins-side .ins-sel svg { position: absolute; right: 12px; top: 50%; margin-top: -7px; width: 14px; height: 14px; pointer-events: none; color: var(--cz-ink2); }
275
+ .ins-sel.ins-psel { width: 150px; flex: none; }
276
+ .ins-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
277
+ .ins-box { background: var(--cz-well); border-radius: 14px; padding: 10px 12px; margin: 0; line-height: 1.45; }
278
+ .ins-side .ins-box.note { font-size: 12.5px; }
279
+ .ins-side .cz-seg.ins-wrap { flex-wrap: wrap; border-radius: 18px; }
280
+
281
+ .ins-prow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
282
+ .ins-psel { width: 150px; }
283
+ .ins-dmsg { margin: -4px 4px 0; line-height: 1.4; }
284
+ .ins-dg { display: flex; gap: 4px; flex-wrap: wrap; }
285
+ .ins-dg .cz-chip { color: var(--cz-ink2); }
286
+ .ins-dg .cz-chip.on { color: var(--cz-blueink); }
287
+ .ins-desc { display: flex; align-items: center; gap: 6px; background: var(--cz-well); border-radius: 18px; padding: 6px 6px 6px 14px; margin: 0; }
288
+ .ins-desc .sp { color: var(--cz-blueink); display: inline-flex; }
289
+ .ins-desc input { flex: 1; height: 36px; border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--cz-ink); outline: 0; min-width: 0; }
290
+ .ins-side .ins-desc input:focus-visible, .ins .ins-find input:focus-visible { outline: none; } /* the rounded box shows the focus, not a square ring inside it */
291
+ .ins-desc:focus-within, .ins-find:focus-within { box-shadow: 0 0 0 2px var(--cz-blue); }
292
+ .ins-side .cz-ib.sm { width: 32px; height: 32px; }
293
+ .ins-side .cz-ib:disabled { opacity: .45; cursor: not-allowed; }
294
+ .ins-picked { display: flex; flex-direction: column; }
295
+ .ins-pk { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--cz-hair); font-size: 13px; }
296
+ .ins-pk:last-child { border-bottom: 0; }
297
+ .ins-pk:focus-visible { outline: 2px solid var(--cz-focus, var(--cz-ink)); outline-offset: 2px; border-radius: 8px; }
298
+ .ins-pk b { flex: 1; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
299
+ .ins-grip { color: var(--cz-ink3); font-size: 11.5px; cursor: grab; display: inline-flex; flex: none; }
300
+ .ins-addg { margin-top: 6px; color: var(--cz-ink2); }
301
+ .ins-rrow { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
302
+ .ins-togw { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; min-height: 34px; }
303
+ .ins-togs { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
304
+ .ins-tog { width: 34px; height: 20px; border-radius: 999px; background: var(--cz-c-d9dce1); position: relative; flex: none; border: 0; cursor: pointer; padding: 0; }
305
+ .ins-tog::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--cz-card); }
306
+ .ins-tog.on { background: var(--cz-blue); }
307
+ .ins-tog.on::after { left: 16px; }
308
+ .ins-opts { display: flex; flex-direction: column; gap: 6px; }
309
+ .ins-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--cz-hair); width: 100%; background: var(--cz-card); text-align: left; cursor: pointer; color: inherit; font: inherit; }
310
+ .ins-opt.on { border-color: rgba(72,148,234,.6); box-shadow: 0 0 0 3px rgba(72,148,234,.12); background: var(--cz-bluebg); }
311
+ .ins-opt .rd { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--cz-c-a9aeb6); flex: none; margin-top: 2px; }
312
+ .ins-opt.on .rd { border: 5px solid var(--cz-blue); }
313
+ .ins-opt b { display: block; font-size: 13.5px; font-weight: 800; }
314
+ .ins-opt small { display: block; font-size: 12px; color: var(--cz-ink3); }
315
+ .ins-kv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--cz-well); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; }
316
+ .ins-kv3 small { display: block; font-size: 11.5px; color: var(--cz-ink3); }
317
+ .ins-kv3 b { font-size: 16px; font-weight: 800; }
318
+ .ins-prev { border: 1px solid var(--cz-hair); border-radius: 14px; padding: 10px 12px; background: var(--cz-card); }
319
+ .ins-ph { display: flex; align-items: baseline; gap: 8px; }
320
+ .ins-ph b { font-size: 22px; font-weight: 800; }
321
+ .ins-pe { margin: 10px 0 4px; }
322
+ .ins-ch2 { display: block; width: 100%; height: 140px; overflow: visible; margin-top: 6px; }
323
+ .ins-ch2 rect.cu { fill: var(--cz-c-8c929b); }
324
+ .ins-ch2 rect.pv { fill: var(--cz-c-d9dce1); }
325
+ .ins-ch2 .pv { fill: none; stroke: var(--cz-c-d9dce1); stroke-width: 1.6; }
326
+ .ins-ch2 .ship { stroke: var(--cz-blue); stroke-width: 1.5; }
327
+ .ins-ch2 .shipd { fill: var(--cz-blue); }
328
+ .ins-px { display: flex; justify-content: space-between; }
329
+ .ins-num { display: flex; align-items: baseline; gap: 8px; padding: 18px 0; }
330
+ .ins-num b { font-size: 40px; font-weight: 800; }
331
+ .ins-meter { position: relative; height: 14px; border-radius: 7px; background: var(--cz-c-eceae6); margin: 22px 0; }
332
+ .ins-meter i { display: block; height: 100%; border-radius: 7px; }
333
+ .ins-meter .tg { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--cz-ink); }
334
+ .ins-wait { background: var(--cz-well); border-radius: 14px; padding: 14px 16px; }
335
+ .ins-wait b { font-size: 14px; font-weight: 800; }
336
+ .ins-wait p { margin: 4px 0 0; font-size: 12.5px; color: var(--cz-ink2); line-height: 1.45; }
337
+ .ins-src { display: flex; flex-direction: column; }
338
+ .ins-src div { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cz-hair); font-size: 12.5px; color: var(--cz-ink2); }
339
+ .ins-src b { color: var(--cz-ink); font-weight: 800; }
340
+ .ins-vbody { padding: 16px 20px; }
341
+ .ins-about p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--cz-ink2); }
342
+
343
+ /* ── a narrower desktop: the tables keep their columns and the tiles wrap ── */
344
+ @media (max-width: 1240px) and (min-width: 721px) {
345
+ .ins-cols { grid-template-columns: minmax(180px, 240px) 160px 190px 150px minmax(0, 1fr); column-gap: 12px; }
346
+ .ins-spark { width: 180px; }
347
+ .ins-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
348
+ .ins-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
349
+ .ins-lcols { grid-template-columns: 40px minmax(0, 1fr) 140px 170px 150px 100px; }
350
+ }
351
+
352
+ /* ── phone (AgInsPhone, <= 720px): pmos, Insights, find and +; the tabs; the period; goals as cards ── */
353
+ @media (max-width: 720px) {
354
+ .cz main.ins.stage { margin: 0; padding: 12px 12px 96px; background: transparent; box-shadow: none; border-radius: 0; min-height: 100vh; gap: 8px; }
355
+ /* the design's sizes (pick and tabs 34, icon buttons 38, the period chip 30); each keeps a 44 px hit area in a ::after, not in its look */
356
+ .ins .cz-ib, .ins .cz-tab, .ins .cz-chip, .ins .cz-pick, .ins .cz-seg button, .ins .lk, .ins-ini, .ins-dec { position: relative; }
357
+ .ins .cz-ib::after, .ins .cz-tab::after, .ins .cz-chip::after, .ins .cz-pick::after, .ins .cz-seg button::after, .ins .lk::after, .ins-ini::after, .ins-dec::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; min-height: 100%; transform: translateY(-50%); }
358
+ body.ins-sideon .cz-fabw { display: none; } /* the side panel covers the screen; the floating menu would sit on its footer */
359
+ .ins-bar { gap: 6px; }
360
+ .ins-ttl { display: block; font-weight: 800; font-size: 16px; margin: 0 auto 0 4px; order: 1; }
361
+ .ins-pkw { order: 0; }
362
+ .ins-tools { order: 2; margin-left: 0; display: contents; }
363
+ .ins-tools > * { order: 2; }
364
+ .ins-dk, .ins-vw { display: none !important; }
365
+ .ins-tabs { order: 3; flex-basis: 100%; margin-left: 0; }
366
+ .ins-tabs .n { display: none; }
367
+ .ins-perw { order: 4; flex-basis: 100%; }
368
+ .ins-tools #perChip { height: 30px; }
369
+ .ins-perr { display: none; }
370
+ #pGoals .ins-strip, #goalTbl { display: none; }
371
+ .ins-cards { display: flex; flex-direction: column; gap: 8px; }
372
+ .ins-card { display: block; width: 100%; background: var(--cz-card); border: 1px solid var(--cz-hair); border-radius: 18px; padding: 11px 14px; cursor: pointer; box-sizing: border-box; }
373
+ .ins-ch { display: flex; align-items: center; gap: 8px; }
374
+ .ins-ch b { font-size: 14.5px; font-weight: 800; }
375
+ .ins-ch .cz-pill { margin-left: auto; }
376
+ .ins-cs { display: flex; gap: 6px; align-items: center; margin-top: 2px; }
377
+ .ins-cv { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
378
+ .ins-cv > b { font-size: 21px; font-weight: 800; }
379
+ .ins-cg { flex: 1; min-width: 0; }
380
+ .ins-cg .ins-spark { width: 190px; max-width: 100%; height: 30px; }
381
+ .ins-bar1.ins-wide { width: 100%; }
382
+ .ins-c1 { margin-top: 8px; }
383
+ .ins-strip { align-items: flex-start; }
384
+ .ins-strip .t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
385
+ .ins-th, .ins-grp .q { display: none; }
386
+ .ins-tbl { border: 0; border-radius: 0; background: transparent; gap: 10px; overflow: visible; }
387
+ .ins-grp { background: transparent; border: 0; padding: 0 4px; min-height: 0; }
388
+ .ins-row.ins-ocols, .ins-row.ins-lcols { grid-template-columns: minmax(0, 1fr); row-gap: 6px; border: 1px solid var(--cz-hair); border-radius: 18px; background: var(--cz-card); padding: 12px 14px; }
389
+ .ins-lrow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 6px 10px; }
390
+ .ins-lrow > :nth-child(n+3) { grid-column: 2; }
391
+ .ins-act { justify-content: flex-start; }
392
+ .ins-prom { grid-template-columns: auto minmax(0, 1fr); }
393
+ .ins-prom .pr { grid-column: 1 / -1; }
394
+ .ins-dgrid { grid-template-columns: minmax(0, 1fr); }
395
+ .ins-lnote { margin-left: 0; }
396
+ .ins-side, .ins-side[data-kind] { width: 100%; }
397
+ .ins-2 { grid-template-columns: 1fr; }
398
+ }
399
+ @media (pointer: coarse) {
400
+ .ins .cz-ib, .ins .cz-tab, .ins .cz-chip { position: relative; }
401
+ .ins .cz-ib::after, .ins .cz-tab::after, .ins .cz-chip::after { content: ''; position: absolute; left: 50%; top: 50%; width: 100%; min-width: 44px; height: 44px; min-height: 100%; transform: translate(-50%, -50%); }
402
+ }
403
+
404
+ /* the minimal panels the Agreed design does not draw yet (goal detail, budget, tile target, report flows), in the Viewer card */
405
+ .ins-wmark { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--cz-well); color: var(--cz-ink3); font-size: 12px; font-weight: 700; }
406
+ .ins-vbody .cz-ph { margin-bottom: 12px; }
407
+ .ins-kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; margin: 0 0 14px; font-size: 13px; }
408
+ .ins-kv dt { color: var(--cz-ink3); font-weight: 700; }
409
+ .ins-kv dd { margin: 0; color: var(--cz-ink); min-width: 0; overflow-wrap: anywhere; }
410
+ .ins-mf { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 16px; }
411
+ .ins-mact { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
412
+ .ins-mact .cz-chip, .ins-mact .ins-primary { min-height: 40px; }
413
+ .ins-rd { list-style: none; margin: 0 0 14px; padding: 0; max-height: 220px; overflow: auto; }
414
+ .ins-rd li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--cz-hair); font-size: 13px; color: var(--cz-ink2); }
415
+ .ins-rd li b { color: var(--cz-ink); }
416
+ .ins-ck2 { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; color: var(--cz-ink); }
417
+ .ins-ev { margin: 4px 0 10px; padding-left: 18px; font-size: 12.5px; color: var(--cz-ink2); line-height: 1.5; }
418
+ .ins-fnd { padding: 12px 0; border-bottom: 1px solid var(--cz-hair); }
419
+ .ins-fnd:last-child { border-bottom: 0; }
420
+ .ins-fnd > b { font-size: 14px; font-weight: 800; color: var(--cz-ink); }
421
+ .ins-side [hidden], .ins-vbody [hidden] { display: none !important; }