create-pmos 0.395.0 → 0.397.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 (100) hide show
  1. package/package.json +25 -30
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/scripts/nine-stages.js +49 -20
  6. package/payload/state/discoveries.md +1 -1
  7. package/workspace/briefing-premium-adddoc-test.js +20 -40
  8. package/workspace/briefing-premium-board-test.js +145 -107
  9. package/workspace/briefing-premium-calendar-2-test.js +5 -2
  10. package/workspace/briefing-premium-calendar-3-test.js +13 -8
  11. package/workspace/briefing-premium-calendar-test.js +16 -5
  12. package/workspace/briefing-premium-initiative-test.js +50 -41
  13. package/workspace/briefing-premium-insights-test.js +104 -85
  14. package/workspace/briefing-premium-metrics-test.js +11 -32
  15. package/workspace/briefing-premium-sources-test.js +42 -21
  16. package/workspace/briefing-premium-test.js +112 -98
  17. package/workspace/briefing-premium-work-test.js +78 -64
  18. package/workspace/changelog.json +24 -0
  19. package/workspace/fixtures/board-premium-facts.js +2 -1
  20. package/workspace/fixtures/board-premium-jira.js +28 -0
  21. package/workspace/fixtures/initiative-premium-facts.js +2 -1
  22. package/workspace/fixtures/initiatives-api/list.json +30 -42
  23. package/workspace/fixtures/initiatives-api/roadmap.json +40 -56
  24. package/workspace/fixtures/initiatives-api/sheet.json +10 -14
  25. package/workspace/fixtures/insights-premium-facts.js +11 -2
  26. package/workspace/guide/briefing-premium.md +3 -1
  27. package/workspace/guide/index.md +1 -0
  28. package/workspace/guide/lifecycle.md +51 -0
  29. package/workspace/home-shot.js +38 -0
  30. package/workspace/lib/board-premium.js +92 -1
  31. package/workspace/lib/engine/boards.js +15 -14
  32. package/workspace/lib/engine/nine-stages.js +49 -20
  33. package/workspace/lib/engine/signals/detectors.js +13 -11
  34. package/workspace/lib/insights-premium.js +78 -1
  35. package/workspace/lib/routes-board-premium.js +3 -2
  36. package/workspace/lib/routes-initiatives.js +1 -1
  37. package/workspace/lib/routes-insights-premium.js +8 -1
  38. package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
  39. package/workspace/package-lock.json +2 -2
  40. package/workspace/package.json +1 -1
  41. package/workspace/premium-agreed-viewer-shots.js +76 -0
  42. package/workspace/premium-board-actions-test.js +2 -0
  43. package/workspace/premium-chat-chart-tab-test.js +6 -5
  44. package/workspace/premium-chat-context-test.js +8 -6
  45. package/workspace/premium-chat-goal-view-test.js +9 -7
  46. package/workspace/premium-chat-notes-test.js +3 -2
  47. package/workspace/premium-chat-report-tab-test.js +8 -2
  48. package/workspace/premium-chat-term-test.js +3 -1
  49. package/workspace/premium-chat-viewer-test.js +23 -17
  50. package/workspace/premium-core-doc-issue-test.js +2 -0
  51. package/workspace/premium-html-viewer-test.js +4 -2
  52. package/workspace/premium-phone-card-test.js +1 -0
  53. package/workspace/premium-phone-room-test.js +16 -11
  54. package/workspace/premium-report-read-test.js +1 -1
  55. package/workspace/premium-vw-backlog-test.js +2 -0
  56. package/workspace/premium-vw-cal-test.js +9 -4
  57. package/workspace/premium-vw-doc-test.js +1 -1
  58. package/workspace/premium-vw-item-test.js +1 -0
  59. package/workspace/premium-vw-jira-test.js +4 -1
  60. package/workspace/premium-vw-notes-test.js +2 -1
  61. package/workspace/premium-vw-rec-test.js +3 -2
  62. package/workspace/premium-vw-slides-test.js +2 -2
  63. package/workspace/premium-work-depth-test.js +7 -3
  64. package/workspace/public/pm/bd-span.js +120 -0
  65. package/workspace/public/pm/bd-stages.js +33 -0
  66. package/workspace/public/pm/cozy-board.css +373 -0
  67. package/workspace/public/pm/cozy-home.css +152 -0
  68. package/workspace/public/pm/cozy-home.js +170 -0
  69. package/workspace/public/pm/cozy-initiative.css +138 -0
  70. package/workspace/public/pm/cozy-insights.css +292 -0
  71. package/workspace/public/pm/cozy-nav.js +54 -0
  72. package/workspace/public/pm/cozy-viewer.css +143 -0
  73. package/workspace/public/pm/cozy.css +172 -0
  74. package/workspace/public/pm/lifecycle-lens-model.js +45 -27
  75. package/workspace/public/pm/lifecycle-lens.js +22 -11
  76. package/workspace/public/pm/premium-board.js +329 -67
  77. package/workspace/public/pm/premium-brief.js +1 -1
  78. package/workspace/public/pm/premium-chat.js +17 -10
  79. package/workspace/public/pm/premium-initiative-head.js +138 -0
  80. package/workspace/public/pm/premium-initiative.js +28 -4
  81. package/workspace/public/pm/premium-insights.js +530 -244
  82. package/workspace/public/pm/premium-shell.js +40 -10
  83. package/workspace/public/pm/premium-viewer.js +5 -0
  84. package/workspace/public/pm/premium-vw-jira-model.js +22 -5
  85. package/workspace/public/pm/premium-vw-jira.css +11 -0
  86. package/workspace/public/pm/premium-vw-jira.js +11 -4
  87. package/workspace/public/pm/premium-vw-rec.js +5 -2
  88. package/workspace/public/pm/premium-wide.css +30 -0
  89. package/workspace/public/pm/premium-work.js +18 -8
  90. package/workspace/public/pm/premium.js +19 -6
  91. package/workspace/public/premium-board.html +83 -47
  92. package/workspace/public/premium-chat.html +7 -32
  93. package/workspace/public/premium-initiative.html +16 -8
  94. package/workspace/public/premium-insights.html +83 -43
  95. package/workspace/public/premium-work.html +6 -71
  96. package/workspace/public/premium.html +62 -15
  97. package/workspace/public/vendor/nunito-var.woff2 +0 -0
  98. package/workspace/server.js +7 -0
  99. package/workspace/test-lists/premium-agreed-viewer.json +9 -0
  100. package/workspace/third-party/README.md +1 -0
@@ -0,0 +1,373 @@
1
+ /* cozy-board.css — the premium Board in the Agreed design (initiative premium-agreed-design: B1 B2 B3 N1 N2).
2
+ * Builds on pm/cozy.css's tokens and cz- parts only. Ported from the AgBoard* frames: the stage track (rows across six stages and two
3
+ * milestones, with an Output column), the initiative and Jira ticket panels, the timeline over six spans, and the phone cards and sheet.
4
+ * Every class here starts with bd-, bt-, pk- or tg-, or is scoped under body.bd-page, so nothing leaks into the other premium pages. */
5
+
6
+ /* dark mode: premium-shell.js sets html[data-theme]; the cozy tokens follow it here (and the system setting when no theme is chosen) */
7
+ html[data-theme="dark"] body.bd-page {
8
+ --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,.1);
9
+ --cz-blue: var(--cz-c-6aaaf0); --cz-blueink: var(--cz-c-9bc7f4); --cz-bluebg: rgba(106,170,240,.14); --cz-late: var(--cz-c-f0a27a); --cz-latebg: rgba(217,119,63,.16); --cz-risk: var(--cz-c-e8c26e); --cz-riskbg: rgba(212,161,58,.16);
10
+ --cz-red: var(--cz-c-f09088); --cz-redbg: rgba(208,71,62,.18); --cz-ok: var(--cz-c-8cc79a); --cz-okbg: rgba(94,156,106,.18); --cz-ground: linear-gradient(170deg, var(--cz-c-17191c) 0%, var(--cz-c-1b1d21) 60%, var(--cz-c-1c2430) 100%);
11
+ --bd-rail: var(--cz-c-3a3d44); --bd-pass: var(--cz-c-6e747d); --bd-done: var(--cz-c-9aa1ab); --bd-rv: var(--cz-c-4c6487); --bd-ip: var(--cz-c-34445c); --bd-row: var(--cz-c-2a2d33);
12
+ }
13
+ @media (prefers-color-scheme: dark) {
14
+ html:not([data-theme="light"]) body.bd-page {
15
+ --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,.1);
16
+ --cz-blue: var(--cz-c-6aaaf0); --cz-blueink: var(--cz-c-9bc7f4); --cz-bluebg: rgba(106,170,240,.14); --cz-late: var(--cz-c-f0a27a); --cz-latebg: rgba(217,119,63,.16); --cz-risk: var(--cz-c-e8c26e); --cz-riskbg: rgba(212,161,58,.16);
17
+ --cz-red: var(--cz-c-f09088); --cz-redbg: rgba(208,71,62,.18); --cz-ok: var(--cz-c-8cc79a); --cz-okbg: rgba(94,156,106,.18); --cz-ground: linear-gradient(170deg, var(--cz-c-17191c) 0%, var(--cz-c-1b1d21) 60%, var(--cz-c-1c2430) 100%);
18
+ --bd-rail: var(--cz-c-3a3d44); --bd-pass: var(--cz-c-6e747d); --bd-done: var(--cz-c-9aa1ab); --bd-rv: var(--cz-c-4c6487); --bd-ip: var(--cz-c-34445c); --bd-row: var(--cz-c-2a2d33);
19
+ }
20
+ }
21
+ body.bd-page { --bd-rail: var(--cz-c-eceae6); --bd-pass: var(--cz-c-a9aeb6); --bd-done: var(--cz-c-8c929b); --bd-rv: var(--cz-c-b6c6dc); --bd-ip: var(--cz-c-d3deec); --bd-row: var(--cz-c-fbfaf8); background: var(--cz-ground); background-attachment: fixed; color: var(--cz-ink); }
22
+ body.bd-page .dock, body.bd-page .sky { display: none !important; }
23
+ .bd-page .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
24
+
25
+ /* the panel: no page header; it starts at the top (N2) */
26
+ body.bd-page main.bd-main { position: relative; max-width: none; margin: 16px; padding: 22px 28px 20px; min-height: calc(100vh - 32px); box-sizing: border-box; font-family: var(--cz-sans); color: var(--cz-ink); background: var(--cz-card); }
27
+ .bd-page .hero.bd-hero { margin: 0; }
28
+ .bd-page .bd-hero .brief { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--cz-ink3); transform: none !important; opacity: 1 !important; max-width: none; }
29
+ .bd-page .bd-hero .brief:empty { display: none; }
30
+
31
+ /* ── the toolbar ── */
32
+ .bd-hd { display: flex; align-items: center; gap: 12px; min-height: 40px; }
33
+ .bd-title { display: none; font-weight: 800; font-size: 16px; }
34
+ .bd-pickw .where { gap: 6px; }
35
+ .bd-pickw .crumb { height: 34px; padding: 0 4px 0 2px; border: 0; background: var(--cz-well); border-radius: 999px; gap: 0; font-family: var(--cz-sans); }
36
+ .bd-pickw .crumb #crBoard { height: 34px; min-height: 34px; padding: 0 6px 0 12px; font: 800 13.5px var(--cz-sans); color: var(--cz-ink); border-radius: 999px; }
37
+ .bd-pickw .crumb #crBoard:disabled { padding-right: 12px; }
38
+ .bd-pickw .crumb .cri { height: 30px; width: 30px; min-width: 30px; color: var(--cz-ink2); }
39
+ .bd-pickw .crmenu { font-family: var(--cz-sans); background: var(--cz-card); }
40
+ .bd-tools { gap: 4px; }
41
+ .bd-views svg, .bd-tools .cz-ib svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
42
+ .bd-views button { width: 36px; min-width: 36px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--cz-ink2); }
43
+ .bd-views.off { opacity: .45; }
44
+ .bd-tools .cz-ib { width: 40px; height: 40px; position: relative; }
45
+ .bd-tools .cz-ib.solid { background: var(--cz-ink); color: var(--cz-card); }
46
+ .bd-tools .cz-ib.solid:hover { filter: brightness(1.2); }
47
+ .bd-tools .cz-ib[hidden] { display: none; }
48
+ .bd-fdot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--cz-blue); }
49
+ /* the shell's bell and ⋯ menu, as icon tools */
50
+ .bd-page .tools-top { opacity: 1 !important; pointer-events: auto !important; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
51
+ .bd-page .tools-top #srcChip { display: none; }
52
+ .bd-page .crmenu .tbm-src { display: flex; }
53
+ .bd-page #pvBell, .bd-page #moreBtn { width: 40px; height: 40px; min-width: 40px; border-radius: 999px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--cz-ink2); }
54
+ .bd-page #pvBell:hover, .bd-page #moreBtn:hover { background: var(--cz-well); }
55
+ .bd-page #pvBell svg, .bd-page #moreBtn svg { width: 18px; height: 18px; }
56
+ .bd-page #moreMenu { right: 0; left: auto; font-family: var(--cz-sans); background: var(--cz-card); }
57
+ .bd-find { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--cz-well); max-width: 520px; }
58
+ .bd-find[hidden] { display: none; }
59
+ .bd-find svg { width: 16px; height: 16px; fill: none; stroke: var(--cz-ink3); stroke-width: 1.8; flex: none; }
60
+ .bd-find input { flex: 1; min-width: 0; border: 0; background: transparent; font: 14px var(--cz-sans); color: var(--cz-ink); outline: 0; }
61
+ .bd-chiprow { gap: 8px; }
62
+ .bd-chiprow .cz-tabs { margin-right: 8px; }
63
+ .bd-chipset { display: contents; }
64
+ .bd-chipset svg, .bd-dochd svg, .pk-lk svg, .tg-none svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
65
+ .bd-chipset .cz-chip { font-weight: 600; }
66
+ .bd-chipset .cz-chip.gh { font-weight: 800; }
67
+ .bd-chipset .cz-chip.gh.on { background: var(--cz-bluebg); color: var(--cz-blueink); }
68
+ .bd-chipset .cz-chip .cz-dot { width: 7px; height: 7px; }
69
+ .bd-sp { margin-left: auto; }
70
+ .bd-spans button { min-width: 0; }
71
+
72
+ /* ── the stage track (AgBoard) ── */
73
+ .bd-sec { min-width: 0; }
74
+ .bd-sec[hidden] { display: none; }
75
+ .bt { display: flex; flex-direction: column; border: 1px solid var(--cz-hair); border-radius: 18px; overflow: hidden; }
76
+ .bt-r { display: grid; grid-template-columns: 236px 576px minmax(0, 1fr) 44px; align-items: stretch; }
77
+ .bt-cells { display: grid; grid-template-columns: repeat(8, 72px); }
78
+ .bt-h { background: var(--cz-well); font-size: 12px; font-weight: 800; color: var(--cz-ink2); }
79
+ .bt-h .bt-cells > div { padding: 7px 0; text-align: center; white-space: nowrap; line-height: 1.25; display: flex; flex-direction: column; align-items: center; }
80
+ .bt-h .bt-cells span, .bt-nmh span { color: var(--cz-ink3); font-weight: 600; font-size: 11px; }
81
+ .bt-h .msh { color: var(--cz-ink2); }
82
+ .bt-nmh { padding: 9px 14px; display: flex; align-items: center; gap: 6px; }
83
+ .bt-nmh span { font-size: 12px; }
84
+ .bd-info { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--cz-hair); background: var(--cz-card); color: var(--cz-ink3); font: 800 11px var(--cz-sans); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
85
+ .bd-info i { font-style: normal; }
86
+ .bd-info:hover { background: var(--cz-well2); color: var(--cz-ink); }
87
+ .bt-oh { padding: 9px 16px 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
88
+ .lg { display: flex; gap: 8px; align-items: center; font-size: 11px; font-weight: 600; color: var(--cz-ink3); }
89
+ .lg i { display: inline-block; width: 10px; height: 6px; border-radius: 2px; margin-right: 4px; vertical-align: 1px; }
90
+ .lg i.dn { background: var(--bd-done); } .lg i.rv { background: var(--bd-rv); } .lg i.ip { background: var(--bd-ip); } .lg i.bl { background: var(--cz-dot-red); }
91
+ .bt-l { border-top: 1px solid var(--cz-hair); min-height: 54px; position: relative; }
92
+ .bt-l:hover { background: var(--bd-row); }
93
+ .bt-l.sel { background: var(--cz-bluebg); box-shadow: inset 3px 0 0 var(--cz-blue); }
94
+ .bt-l.held { opacity: .72; }
95
+ .bt-nm { all: unset; box-sizing: border-box; cursor: pointer; padding: 6px 10px 6px 14px; line-height: 1.3; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
96
+ .bt-nm:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: -2px; border-radius: 10px; }
97
+ .bt-nm b { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cz-ink); }
98
+ .cs { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
99
+ .cs .cz-dot { width: 7px; height: 7px; }
100
+ .s-you { color: var(--cz-blueink); } .s-late { color: var(--cz-late); } .s-risk { color: var(--cz-risk); } .s-red { color: var(--cz-red); } .s-ok { color: var(--cz-ok); } .s-q { color: var(--cz-ink3); font-weight: 600; }
101
+ .bt-pst { display: none; }
102
+ .bt-l .bt-cells > div { position: relative; display: flex; align-items: center; justify-content: center; }
103
+ .sc::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--bd-rail); }
104
+ .sc.p::before { background: var(--bd-pass); } .sc.f0::before { left: 50%; } .sc.l::before { right: 50%; } .sc.c::before { right: 50%; background: var(--bd-pass); } .sc.c.f0::before { display: none; }
105
+ .sc > i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--bd-rail); }
106
+ .sc.p > i { background: var(--bd-pass); width: 7px; height: 7px; }
107
+ .sc.ms > i { border-radius: 2px; transform: rotate(45deg); }
108
+ .sc.bg { background: rgba(72,148,234,.06); }
109
+ .sc .cur { position: relative; display: inline-flex; }
110
+ .sc .cur u { width: 16px; height: 16px; box-shadow: 0 0 0 4px var(--cz-card); }
111
+ .sc .cur u.ok, .sc .cur u.q { background: var(--cz-ink); }
112
+ .sc .cur u.q { background: var(--cz-c-9da3ac); }
113
+ .sc.ms .cur u, .sc.ms .cur u::after { border-radius: 4px; }
114
+ .sc.ms .cur u { transform: rotate(45deg); width: 15px; height: 15px; }
115
+ .bt-dl { padding: 6px 16px 6px 14px; line-height: 1.25; border-left: 1px solid var(--cz-hair); display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
116
+ .bt-dl .t1, .pk-box .t1 { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--cz-ink3); white-space: nowrap; }
117
+ .bt-dl .t1 b, .pk-box .t1 b { color: var(--cz-ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
118
+ .bt-dl .t3 { font-size: 11.5px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 14px; }
119
+ .bt-dl .t3 .s-red { font-weight: 700; }
120
+ .seg5 { display: flex; gap: 3px; height: 8px; }
121
+ .seg5.big { height: 10px; }
122
+ .seg5 > button { flex: 1; min-width: 4px; border-radius: 3px; border: 0; padding: 0; background: var(--bd-rail); cursor: pointer; }
123
+ .seg5 > button:hover { box-shadow: 0 0 0 2px var(--cz-card), 0 0 0 4px rgba(72,148,234,.45); }
124
+ .seg5 > .dn { background: var(--bd-done); } .seg5 > .rv { background: var(--bd-rv); } .seg5 > .ip { background: var(--bd-ip); } .seg5 > .bl { background: var(--cz-dot-red); } .seg5 > .td { background: var(--bd-rail); }
125
+ .seg5.pc > i, .seg5.none > i { flex: 1; display: block; border-radius: 3px; background: var(--bd-rail); overflow: hidden; }
126
+ .seg5.pc > i b { display: block; height: 100%; background: var(--bd-done); border-radius: 3px; }
127
+ .seg5.none > i { background: transparent; border: 1px dashed var(--cz-hair); }
128
+ .bt-act { display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--cz-hair); }
129
+ .bd-page .bt-act .inim, .bd-page .pk-tools .inim { width: 36px; height: 36px; min-width: 0; min-height: 0; border-radius: 999px; background: none; border: 0; color: var(--cz-ink3); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
130
+ .bd-page .bt-act .inim:hover, .bd-page .pk-tools .inim:hover { background: var(--cz-well); color: var(--cz-ink); }
131
+ .bd-page .bt-act .inim svg, .bd-page .pk-tools .inim svg { width: 18px; height: 18px; }
132
+ .bt-tf { padding: 9px 14px; font-size: 12px; font-weight: 800; color: var(--cz-ink3); background: var(--bd-row); border-top: 1px solid var(--cz-hair); display: flex; align-items: center; gap: 8px; justify-content: space-between; }
133
+ .bt-tf .dlink, .bd-page .bagone .dlink { display: inline-flex; align-items: center; gap: 6px; font: 800 12px var(--cz-sans); color: var(--cz-ink2); background: none; border: 0; cursor: pointer; padding: 4px 0; }
134
+ .bt-tf .dlink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
135
+ .bt-srt { font-weight: 600; }
136
+ .bt-empty { padding: 18px 14px; margin: 0; }
137
+ .bd-page .bagone { padding: 8px 14px; border-top: 1px solid var(--cz-hair); }
138
+ .bd-page .bt .bagone .inil { margin-top: 6px; }
139
+ .bd-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--cz-ink3); }
140
+ .bd-foot .note { margin: 0; flex: 1; font-size: 12px; color: var(--cz-ink3); }
141
+ .bd-cap { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
142
+ .bd-cap b { color: var(--cz-ink2); }
143
+ .bd-bar2 { display: inline-block; width: 80px; height: 5px; border-radius: 3px; background: var(--bd-rail); overflow: hidden; }
144
+ .bd-bar2 b { display: block; height: 100%; background: var(--cz-dot-ok); }
145
+ .bd-page #ibBody[data-view="list"], .bd-page #ibBody[data-view="stages"] { font-family: var(--cz-sans); }
146
+
147
+ /* ── popovers ── */
148
+ .bd-pop { position: absolute; z-index: 40; top: 120px; left: 28px; width: min(420px, calc(100% - 32px)); max-height: min(70vh, 640px); overflow: auto; background: var(--cz-card); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(42,46,53,.45), 0 0 0 1px var(--cz-hair); padding: 14px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
149
+ .bd-pop[hidden] { display: none; }
150
+ .bd-pop-w { width: min(520px, calc(100% - 32px)); }
151
+ .bd-pop-xw { width: min(980px, calc(100% - 32px)); }
152
+ .bd-page .bd-pop .card { margin: 0; padding: 4px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--cz-sans); }
153
+ .bd-page .bd-pop .card .ch { position: static; margin: 0 0 8px; padding: 0; background: none; display: flex; align-items: center; gap: 8px; }
154
+ .bd-page .bd-pop .card .ch h2 { font: 800 15px var(--cz-sans); margin: 0; }
155
+ .bd-page .bd-pop .card .ch small { color: var(--cz-ink3); font-size: 12.5px; }
156
+ .bd-help-h { display: flex; align-items: center; gap: 8px; }
157
+ .bd-help-h h2 { margin: 0; font-size: 20px; font-weight: 800; flex: 1; }
158
+ .bd-help-h svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
159
+ .bd-help-p { margin: 2px 0 12px; font-size: 13px; color: var(--cz-ink3); }
160
+ .bd-help-h3 { margin: 18px 0 2px; font-size: 16px; font-weight: 800; }
161
+ .bd-tbl { display: grid; grid-template-columns: 130px 90px 1.3fr 1.4fr 1fr; border: 1px solid var(--cz-hair); border-radius: 16px; overflow: hidden; font-size: 13px; }
162
+ .bd-tbl4 { grid-template-columns: 120px 100px 1.3fr 1.5fr; }
163
+ .bd-tr { display: contents; }
164
+ .bd-tr > span { padding: 9px 12px; border-top: 1px solid var(--cz-hair); }
165
+ .bd-tr.th > span { background: var(--cz-well); font-weight: 800; font-size: 12.5px; color: var(--cz-ink2); border-top: 0; }
166
+ .bd-tr em { font-style: normal; color: var(--cz-ink3); }
167
+ .bd-fl .lbl, .pk-sec .lbl { font-size: 12px; font-weight: 800; color: var(--cz-ink3); margin: 0 0 6px; }
168
+ .bd-fl { display: flex; flex-direction: column; gap: 6px; }
169
+ .bd-fl .dlink { align-self: flex-start; font: 700 12.5px var(--cz-sans); color: var(--cz-blueink); background: none; border: 0; cursor: pointer; padding: 4px 0; }
170
+
171
+ /* ── the initiative and ticket panels (AgBoardPanel, AgBoardTicket) ── */
172
+ .bd-peek { position: fixed; z-index: 45; top: 16px; right: 16px; bottom: 16px; width: 440px; background: var(--cz-card); border-left: 1px solid var(--cz-hair); border-radius: 0 28px 28px 0; box-shadow: -20px 0 40px -30px rgba(42,46,53,.35); display: flex; flex-direction: column; font-family: var(--cz-sans); color: var(--cz-ink); }
173
+ .bd-peek[hidden] { display: none; }
174
+ .pk-h { padding: 20px 16px 10px 20px; display: flex; gap: 8px; align-items: flex-start; }
175
+ .pk-ht { flex: 1; min-width: 0; }
176
+ .pk-eye { margin: 0; font-size: 12px; font-weight: 700; color: var(--cz-ink2); }
177
+ .pk-h h2 { margin: 4px 0 0; font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; outline: 0; }
178
+ .pk-st { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--cz-ink3); }
179
+ .pk-st .cs { font-size: 12.5px; }
180
+ .pk-st b { color: var(--cz-ink2); }
181
+ .pk-av { width: 20px; height: 20px; border-radius: 50%; background: var(--cz-well2); color: var(--cz-ink2); font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
182
+ .pk-back { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--cz-ink2); }
183
+ .pk-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
184
+ .pk-tools { display: flex; gap: 2px; flex: none; }
185
+ .pk-tools .cz-ib, .pk-tools a.cz-ib { width: 36px; height: 36px; color: var(--cz-ink2); }
186
+ .pk-tools svg, .pk-ask svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
187
+ .pk-b { flex: 1; overflow: auto; padding: 4px 20px 16px; display: flex; flex-direction: column; gap: 14px; }
188
+ .pk-lad { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); height: 34px; margin-top: 2px; }
189
+ .pk-lad .ln { position: absolute; left: 6.25%; right: 6.25%; top: 9px; height: 2px; background: var(--bd-rail); }
190
+ .pk-lad .lp { position: absolute; left: 6.25%; top: 9px; height: 2px; background: var(--bd-pass); }
191
+ .pk-lad span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: var(--cz-ink3); }
192
+ .pk-lad span i { width: 8px; height: 8px; border-radius: 50%; background: var(--bd-rail); margin-top: 5px; }
193
+ .pk-lad span.p i { background: var(--bd-pass); }
194
+ .pk-lad span.m i { border-radius: 2px; transform: rotate(45deg); }
195
+ .pk-lad span.c { color: var(--cz-ink); }
196
+ .pk-lad span.c i { width: 16px; height: 16px; margin-top: 1px; background: var(--cz-blue); box-shadow: 0 0 0 3px var(--cz-card); }
197
+ .pk-lad span.m.c i { border-radius: 4px; width: 14px; height: 14px; margin-top: 2px; }
198
+ .pk-box { border: 1px solid var(--cz-hair); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
199
+ .pk-box .t1 { font-size: 13px; }
200
+ .pk-box .t1 b { font-weight: 800; }
201
+ .pk-tks { display: flex; flex-direction: column; }
202
+ .gi { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 12.5px; border-top: 1px solid var(--cz-hair); min-height: 32px; }
203
+ .gi:first-child { border-top: 0; }
204
+ .gi:hover .n { color: var(--cz-blueink); }
205
+ .gi:focus-visible { outline: 2px solid var(--cz-blue); outline-offset: 2px; border-radius: 6px; }
206
+ .gi .k { width: 9px; height: 9px; border-radius: 3px; flex: none; background: var(--bd-rail); }
207
+ .gi .k.dn { background: var(--bd-done); } .gi .k.rv { background: var(--bd-rv); } .gi .k.ip { background: var(--bd-ip); } .gi .k.bl { background: var(--cz-dot-red); }
208
+ .gi .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
209
+ .gi .n em { font-style: normal; font-weight: 800; margin-right: 6px; }
210
+ .gi .r { font-size: 11.5px; color: var(--cz-ink3); white-space: nowrap; }
211
+ .pk-mut { margin: 0; font-size: 12px; color: var(--cz-ink3); }
212
+ .pk-p { margin: 0; font-size: 13px; }
213
+ .pk-warn { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; border-radius: 14px; padding: 12px 14px; background: var(--cz-riskbg); color: var(--cz-risk); }
214
+ .pk-warn.red { background: var(--cz-redbg); color: var(--cz-red); }
215
+ .pk-warn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
216
+ .pk-sec { display: flex; flex-direction: column; }
217
+ .pk-kv { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px 12px; font-size: 13px; }
218
+ .pk-kv span { color: var(--cz-ink2); }
219
+ .pk-kv b { font-weight: 700; }
220
+ .pk-lk { display: flex; flex-wrap: wrap; gap: 6px; }
221
+ .pk-lk .cz-chip { height: 30px; text-decoration: none; }
222
+ .pk-ask { margin: 0 16px 16px; border-radius: 18px; background: var(--cz-well); padding: 8px 8px 6px 14px; }
223
+ .pk-ask .in { display: flex; align-items: center; gap: 6px; }
224
+ .pk-ask input { flex: 1; min-width: 0; height: 36px; border: 0; background: transparent; font: 13.5px var(--cz-sans); color: var(--cz-ink); outline: 0; }
225
+ .pk-ask .cz-ib.solid { width: 34px; height: 34px; background: var(--cz-ink); color: var(--cz-card); }
226
+ .pk-ask .ft { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--cz-ink3); padding: 2px 0; }
227
+ .pk-ask .ft .sp { flex: 1; }
228
+ .pk-ask .ft svg { width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; }
229
+
230
+ /* ── the timeline (AgBoardTimeline, AgBoardTlYear, AgBoardTl5y) ── */
231
+ .tg { border: 1px solid var(--cz-hair); border-radius: 18px; overflow: hidden; }
232
+ .tg-r { display: grid; grid-template-columns: 236px minmax(0, 1fr); border-top: 1px solid var(--cz-hair); min-height: 58px; }
233
+ .tg-h { background: var(--cz-well); border-top: 0; min-height: 44px; }
234
+ .tg-n { all: unset; box-sizing: border-box; padding: 8px 10px 8px 14px; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; border-right: 1px solid var(--cz-hair); cursor: default; }
235
+ button.tg-n { cursor: pointer; }
236
+ button.tg-n:hover b { color: var(--cz-blueink); }
237
+ .tg-n b { font-size: 13.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
238
+ .tg-n small { font-size: 12px; color: var(--cz-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
239
+ .tg-h .tg-n b { font-size: 12.5px; color: var(--cz-ink2); }
240
+ .tg-p { position: relative; min-height: 44px; }
241
+ .tg-h .tg-p span { position: absolute; top: 0; bottom: 0; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--cz-hair); font-size: 12px; white-space: nowrap; }
242
+ .tg-h .tg-p span b { color: var(--cz-ink2); font-weight: 800; }
243
+ .tg-h .tg-p span small { color: var(--cz-ink3); font-weight: 600; font-size: 11px; }
244
+ .tg-gl { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--cz-hair); }
245
+ .tg-sb { position: absolute; top: 0; bottom: 0; background: rgba(72,148,234,.06); }
246
+ .tg-rl { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(47,95,179,.45); }
247
+ .tg-td { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--cz-ink); opacity: .7; z-index: 2; }
248
+ .tg-dir { position: absolute; top: 0; bottom: 0; right: 0; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(42,46,53,.04) 8px 16px); }
249
+ .tg-bar { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; background: var(--cz-c-d9dce1); z-index: 1; overflow: visible; }
250
+ .tg-bar > b { display: block; height: 100%; border-radius: 6px; background: var(--bd-done); }
251
+ .tg-bar.ms::after { content: ""; position: absolute; right: -6px; top: 0; width: 12px; height: 12px; border-radius: 2px; transform: rotate(45deg); background: var(--cz-blue); }
252
+ .tg-over { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; background: repeating-linear-gradient(135deg, var(--cz-c-f0a27a) 0 4px, var(--cz-c-fbdccb) 4px 8px); z-index: 1; }
253
+ .tg-fc { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; border: 1.5px dashed var(--cz-late); box-sizing: border-box; z-index: 1; }
254
+ .tg-fc.solo { border-color: var(--cz-blue); }
255
+ .tg-lab { position: absolute; top: 50%; transform: translate(6px, -50%); font-size: 12px; font-weight: 800; white-space: nowrap; z-index: 3; }
256
+ .tg-lab.late { color: var(--cz-late); } .tg-lab.fc { color: var(--cz-late); }
257
+ .tg-dm { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; transform: rotate(45deg); border-radius: 2px; background: var(--cz-blue); z-index: 1; }
258
+ .tg-th { min-height: 96px; }
259
+ .tg-stack { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; }
260
+ .tg-line { all: unset; position: relative; display: block; height: 26px; cursor: pointer; }
261
+ .tg-line .tg-bar { height: 22px; margin-top: -11px; border-radius: 8px; background: color-mix(in srgb, var(--tone, var(--cz-c-8c929b)) 26%, transparent); min-width: 8px; }
262
+ .tg-line .tg-bar > b { background: color-mix(in srgb, var(--tone, var(--cz-c-8c929b)) 55%, transparent); border-radius: 8px; }
263
+ .tg-line .tg-bar em { position: absolute; left: 8px; top: 0; bottom: 0; display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; color: var(--cz-ink3); white-space: nowrap; }
264
+ .tg-line .tg-bar em strong { color: var(--cz-ink); font-weight: 800; }
265
+ .tg-line .tg-bar em .cz-dot { width: 7px; height: 7px; }
266
+ .tg-line:focus-visible { outline: 2px solid var(--cz-blue); border-radius: 8px; }
267
+ .tg-sw { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
268
+ .tg-phase { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); height: 34px; border-radius: 10px; padding: 3px 12px; background: color-mix(in srgb, var(--tone, var(--cz-c-8c929b)) 28%, transparent); display: flex; flex-direction: column; justify-content: center; overflow: hidden; z-index: 1; }
269
+ .tg-phase b { font-size: 12.5px; font-weight: 800; white-space: nowrap; }
270
+ .tg-phase small { font-size: 11px; color: var(--cz-ink2); white-space: nowrap; }
271
+ .tg-nod { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--cz-ink3); }
272
+ .tg-bar.tk { height: 22px; margin-top: -11px; border-radius: 8px; background: var(--bd-rail); }
273
+ .tg-bar.tk.dn { background: var(--bd-done); } .tg-bar.tk.rv { background: var(--bd-rv); } .tg-bar.tk.ip { background: var(--bd-ip); } .tg-bar.tk.bl { background: var(--cz-redbg); }
274
+ .tg-bar.tk em { position: absolute; left: 10px; top: 0; bottom: 0; display: flex; align-items: center; font-style: normal; font-size: 12px; white-space: nowrap; }
275
+ .tg-sec { border-top: 1px solid var(--cz-hair); background: var(--bd-row); }
276
+ .tg-st { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; padding: 8px 14px; display: flex; gap: 10px; align-items: baseline; font-size: 12px; color: var(--cz-ink3); }
277
+ .tg-st b { font-size: 13px; color: var(--cz-ink); font-weight: 800; }
278
+ .tg-lg { display: flex; flex-wrap: wrap; gap: 14px; padding: 9px 14px; border-top: 1px solid var(--cz-hair); font-size: 11.5px; color: var(--cz-ink3); background: var(--bd-row); }
279
+ .tg-lg .k { display: inline-block; width: 14px; height: 7px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }
280
+ .tg-lg .k.dn { background: var(--bd-done); } .tg-lg .k.pl { background: var(--cz-c-d9dce1); } .tg-lg .k.fc { border: 1.5px dashed var(--cz-late); box-sizing: border-box; }
281
+ .tg-lg .k.sb { background: rgba(72,148,234,.18); } .tg-lg .k.rl { width: 0; border-left: 2px dashed rgba(47,95,179,.6); height: 10px; }
282
+ .tg-ft { padding: 9px 14px; font-size: 12px; font-weight: 700; color: var(--cz-ink3); background: var(--bd-row); border-top: 1px solid var(--cz-hair); }
283
+ .tg-empty { margin: 0; padding: 18px 14px; font-size: 13px; color: var(--cz-ink3); border-top: 1px solid var(--cz-hair); }
284
+ .tg-none { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--cz-ink3); }
285
+ .tg-none b { color: var(--cz-ink2); }
286
+ .tg-none .cz-chip { text-decoration: none; }
287
+
288
+ /* ── Documents ── */
289
+ .bd-dochd { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
290
+ .bd-dochd h2 { margin: 0; font-size: 16px; font-weight: 800; flex: 1; }
291
+ .bd-dochd .cz-chip[hidden] { display: none; }
292
+ .bd-dochd [id="addDoc"] { min-height: 44px; padding: 0 16px; } /* the 44 px floor of the add dialog suite (briefing-premium-adddoc A8) */
293
+ .bd-page #cDocs { font-family: var(--cz-sans); }
294
+
295
+ /* ── between desktop and phone: the Output column narrows first ── */
296
+ @media (max-width: 1200px) {
297
+ .bt-r { grid-template-columns: 200px 480px minmax(0, 1fr) 44px; }
298
+ .bt-cells { grid-template-columns: repeat(8, 60px); }
299
+ .lg { display: none; }
300
+ }
301
+ @media (max-width: 980px) and (min-width: 721px) {
302
+ .bt-r { grid-template-columns: 180px 400px minmax(0, 1fr) 44px; }
303
+ .bt-cells { grid-template-columns: repeat(8, 50px); }
304
+ .bt-h .bt-cells > div { font-size: 10.5px; }
305
+ .bd-peek { width: min(440px, 70vw); }
306
+ }
307
+
308
+ /* ── phone (AgBoardPhone, AgBoardPhoneSheet, AgBoardTimelinePhone): a one-line top bar, cards, and a bottom sheet ── */
309
+ @media (max-width: 720px) {
310
+ body.bd-page main.bd-main { margin: 0; border-radius: 0; min-height: 100vh; padding: 12px 12px 110px; box-shadow: none; background: transparent; }
311
+ .bd-hd { gap: 6px; min-height: 48px; }
312
+ .bd-title { display: block; margin-right: auto; }
313
+ .bd-hide-s, .bd-views [data-v="stages"], .bd-views [data-v="list"] { display: none !important; }
314
+ .bd-views { padding: 0; background: none; }
315
+ .bd-views button { width: 44px; min-width: 44px; height: 44px; }
316
+ .bd-views button[aria-pressed="true"] { display: none; }
317
+ .bd-tools .cz-ib, .bd-page #pvBell, .bd-page #moreBtn { width: 44px; height: 44px; min-width: 44px; }
318
+ .bd-page #pvBell { display: none; }
319
+ .bd-pickw .crumb { height: 40px; }
320
+ .bd-pickw .crumb #crBoard { height: 40px; }
321
+ .bd-chiprow { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px 6px; }
322
+ .bd-chiprow::-webkit-scrollbar { display: none; }
323
+ .bd-chiprow > *, .bd-chipset > * { flex: none; }
324
+ .bd-chiprow .cz-tab, .bd-chipset .cz-chip, .bd-spans button { min-height: 44px; height: 44px; }
325
+ .bd-sp { display: none; }
326
+ .bd-chipset [data-f="sprint"] { order: -1; }
327
+ /* the track as cards */
328
+ .bt { border: 0; border-radius: 0; overflow: visible; gap: 10px; }
329
+ .bt-h { display: none; }
330
+ .bt-l { display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "nm act" "cells cells" "dl dl"; border: 1px solid var(--cz-hair); border-radius: 18px; background: var(--cz-card); box-shadow: 0 1px 2px rgba(42,46,53,.05); padding: 10px 6px 10px 0; min-height: 0; }
331
+ .bt-l:hover { background: var(--cz-card); }
332
+ .bt-l.sel { box-shadow: 0 0 0 3px rgba(72,148,234,.25); }
333
+ .bt-nm { grid-area: nm; padding: 2px 6px 2px 14px; min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
334
+ .bt-nm b { font-size: 15.5px; }
335
+ .bt-nm .cs { grid-column: 1; font-size: 12.5px; }
336
+ .bt-pst { display: block; grid-column: 2; grid-row: 1; font-size: 12px; color: var(--cz-ink3); white-space: nowrap; align-self: center; }
337
+ .bt-act { grid-area: act; border: 0; align-items: flex-start; }
338
+ .bd-page .bt-act .inim { width: 44px; height: 44px; }
339
+ .bt-cells { grid-area: cells; grid-template-columns: repeat(8, minmax(0, 1fr)); padding: 0 8px 0 14px; height: 30px; }
340
+ .sc.bg { background: none; }
341
+ .bt-dl { grid-area: dl; border: 0; padding: 4px 8px 0 14px; }
342
+ .bt-dl .t1 { font-size: 13px; }
343
+ .bt-dl .t3:empty { display: none; }
344
+ .seg5 > button { min-height: 8px; }
345
+ .bt-tf { border: 0; background: none; padding: 4px 4px; }
346
+ .bt-srt { display: none; }
347
+ .bd-foot { flex-wrap: wrap; }
348
+ .bd-pop, .bd-pop-w, .bd-pop-xw { position: fixed; left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; max-height: 78vh; border-radius: 24px; }
349
+ .bd-tbl, .bd-tbl4 { grid-template-columns: 1fr 1fr; }
350
+ .bd-tr.th { display: none; }
351
+ .bd-tr > span:nth-child(n+3) { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
352
+ /* the panel as a bottom sheet */
353
+ .bd-peek { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 88vh; border-radius: 28px 28px 0 0; border-left: 0; box-shadow: 0 -20px 50px -20px rgba(42,46,53,.45); }
354
+ .bd-peek::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--cz-hair); }
355
+ body.pk-on main.bd-main::after { content: ""; position: fixed; inset: 0; z-index: 44; background: rgba(42,46,53,.32); }
356
+ .tg-h .tg-p span:not(:nth-child(3n+1)) { visibility: hidden; }
357
+ .bd-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
358
+ body.pk-on .cz-fabw { display: none; }
359
+ .pk-tools .cz-ib, .pk-tools a.cz-ib, .bd-page .pk-tools .inim, .pk-ask .cz-ib.solid { width: 44px; height: 44px; }
360
+ .gi { min-height: 44px; }
361
+ .pk-lk .cz-chip { height: 44px; }
362
+ /* the timeline: the name above its bar */
363
+ .tg-r { grid-template-columns: minmax(0, 1fr); }
364
+ .tg-h .tg-n { display: none; }
365
+ .tg-n { border-right: 0; padding-bottom: 0; min-height: 44px; }
366
+ .tg-p { min-height: 34px; }
367
+ .tg-h .tg-p span { padding: 8px 6px; }
368
+ .tg-th { min-height: 0; }
369
+ .tg-lab { font-size: 11px; }
370
+ .tg-none .cz-chip { min-height: 44px; }
371
+ }
372
+ .bd-spans[hidden] { display: none; }
373
+ .bd-page .bt-act .inim, .bd-page .pk-tools .inim { position: static; transform: none; right: auto; top: auto; }
@@ -0,0 +1,152 @@
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. */
5
+
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; }
25
+
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); }
37
+
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); }
55
+
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; }
81
+
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); }
99
+
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; }
106
+
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); }
117
+
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
+ }
142
+
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; }
152
+ }