opencastle 1.3.1 → 1.4.1

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 (486) hide show
  1. package/README.md +16 -10
  2. package/bin/cli.mjs +8 -9
  3. package/dist/cli/agent-roster.test.js +0 -48
  4. package/dist/cli/agent-roster.test.js.map +1 -1
  5. package/dist/cli/boundary.test.js +9 -7
  6. package/dist/cli/boundary.test.js.map +1 -1
  7. package/dist/cli/convoy/artifacts.d.ts +9 -2
  8. package/dist/cli/convoy/artifacts.d.ts.map +1 -1
  9. package/dist/cli/convoy/artifacts.js +13 -10
  10. package/dist/cli/convoy/artifacts.js.map +1 -1
  11. package/dist/cli/convoy/artifacts.test.js +4 -2
  12. package/dist/cli/convoy/artifacts.test.js.map +1 -1
  13. package/dist/cli/convoy/engine.d.ts +53 -23
  14. package/dist/cli/convoy/engine.d.ts.map +1 -1
  15. package/dist/cli/convoy/engine.git.test.d.ts +2 -0
  16. package/dist/cli/convoy/engine.git.test.d.ts.map +1 -0
  17. package/dist/cli/convoy/engine.git.test.js +435 -0
  18. package/dist/cli/convoy/engine.git.test.js.map +1 -0
  19. package/dist/cli/convoy/engine.js +1746 -2305
  20. package/dist/cli/convoy/engine.js.map +1 -1
  21. package/dist/cli/convoy/engine.test.js +698 -678
  22. package/dist/cli/convoy/engine.test.js.map +1 -1
  23. package/dist/cli/convoy/event-schemas.d.ts +2 -0
  24. package/dist/cli/convoy/event-schemas.d.ts.map +1 -1
  25. package/dist/cli/convoy/event-schemas.js +59 -57
  26. package/dist/cli/convoy/event-schemas.js.map +1 -1
  27. package/dist/cli/convoy/events.d.ts +4 -1
  28. package/dist/cli/convoy/events.d.ts.map +1 -1
  29. package/dist/cli/convoy/events.js +69 -84
  30. package/dist/cli/convoy/events.js.map +1 -1
  31. package/dist/cli/convoy/events.test.js +50 -9
  32. package/dist/cli/convoy/events.test.js.map +1 -1
  33. package/dist/cli/convoy/gates.d.ts +9 -4
  34. package/dist/cli/convoy/gates.d.ts.map +1 -1
  35. package/dist/cli/convoy/gates.js +29 -14
  36. package/dist/cli/convoy/gates.js.map +1 -1
  37. package/dist/cli/convoy/isolation.d.ts +32 -6
  38. package/dist/cli/convoy/isolation.d.ts.map +1 -1
  39. package/dist/cli/convoy/isolation.js +72 -34
  40. package/dist/cli/convoy/isolation.js.map +1 -1
  41. package/dist/cli/convoy/isolation.test.js +66 -42
  42. package/dist/cli/convoy/isolation.test.js.map +1 -1
  43. package/dist/cli/convoy/lock.d.ts.map +1 -1
  44. package/dist/cli/convoy/lock.js +25 -10
  45. package/dist/cli/convoy/lock.js.map +1 -1
  46. package/dist/cli/convoy/lock.test.js +12 -0
  47. package/dist/cli/convoy/lock.test.js.map +1 -1
  48. package/dist/cli/convoy/merge.d.ts +21 -4
  49. package/dist/cli/convoy/merge.d.ts.map +1 -1
  50. package/dist/cli/convoy/merge.js +69 -53
  51. package/dist/cli/convoy/merge.js.map +1 -1
  52. package/dist/cli/convoy/merge.test.js +23 -1
  53. package/dist/cli/convoy/merge.test.js.map +1 -1
  54. package/dist/cli/convoy/progress.d.ts +35 -0
  55. package/dist/cli/convoy/progress.d.ts.map +1 -0
  56. package/dist/cli/convoy/progress.js +103 -0
  57. package/dist/cli/convoy/progress.js.map +1 -0
  58. package/dist/cli/convoy/progress.test.d.ts +2 -0
  59. package/dist/cli/convoy/progress.test.d.ts.map +1 -0
  60. package/dist/cli/convoy/progress.test.js +53 -0
  61. package/dist/cli/convoy/progress.test.js.map +1 -0
  62. package/dist/cli/convoy/read-model.d.ts +468 -0
  63. package/dist/cli/convoy/read-model.d.ts.map +1 -0
  64. package/dist/cli/convoy/read-model.js +1132 -0
  65. package/dist/cli/convoy/read-model.js.map +1 -0
  66. package/dist/cli/convoy/read-model.test.d.ts +2 -0
  67. package/dist/cli/convoy/read-model.test.d.ts.map +1 -0
  68. package/dist/cli/convoy/read-model.test.js +609 -0
  69. package/dist/cli/convoy/read-model.test.js.map +1 -0
  70. package/dist/cli/convoy/redact.d.ts +34 -0
  71. package/dist/cli/convoy/redact.d.ts.map +1 -0
  72. package/dist/cli/convoy/redact.js +66 -0
  73. package/dist/cli/convoy/redact.js.map +1 -0
  74. package/dist/cli/convoy/redact.test.d.ts +2 -0
  75. package/dist/cli/convoy/redact.test.d.ts.map +1 -0
  76. package/dist/cli/convoy/redact.test.js +43 -0
  77. package/dist/cli/convoy/redact.test.js.map +1 -0
  78. package/dist/cli/convoy/reviewer.d.ts +65 -0
  79. package/dist/cli/convoy/reviewer.d.ts.map +1 -0
  80. package/dist/cli/convoy/reviewer.js +141 -0
  81. package/dist/cli/convoy/reviewer.js.map +1 -0
  82. package/dist/cli/convoy/reviewer.test.d.ts +2 -0
  83. package/dist/cli/convoy/reviewer.test.d.ts.map +1 -0
  84. package/dist/cli/convoy/reviewer.test.js +96 -0
  85. package/dist/cli/convoy/reviewer.test.js.map +1 -0
  86. package/dist/cli/convoy/schedule.d.ts +30 -0
  87. package/dist/cli/convoy/schedule.d.ts.map +1 -0
  88. package/dist/cli/convoy/schedule.js +111 -0
  89. package/dist/cli/convoy/schedule.js.map +1 -0
  90. package/dist/cli/convoy/schedule.test.d.ts +2 -0
  91. package/dist/cli/convoy/schedule.test.d.ts.map +1 -0
  92. package/dist/cli/convoy/schedule.test.js +45 -0
  93. package/dist/cli/convoy/schedule.test.js.map +1 -0
  94. package/dist/cli/convoy/spec-builder.d.ts +120 -30
  95. package/dist/cli/convoy/spec-builder.d.ts.map +1 -1
  96. package/dist/cli/convoy/spec-builder.js +438 -114
  97. package/dist/cli/convoy/spec-builder.js.map +1 -1
  98. package/dist/cli/convoy/spec-builder.test.js +419 -435
  99. package/dist/cli/convoy/spec-builder.test.js.map +1 -1
  100. package/dist/cli/convoy/spec-types.d.ts +46 -92
  101. package/dist/cli/convoy/spec-types.d.ts.map +1 -1
  102. package/dist/cli/convoy/store.d.ts +6 -1
  103. package/dist/cli/convoy/store.d.ts.map +1 -1
  104. package/dist/cli/convoy/store.js +111 -15
  105. package/dist/cli/convoy/store.js.map +1 -1
  106. package/dist/cli/convoy/store.test.js +59 -13
  107. package/dist/cli/convoy/store.test.js.map +1 -1
  108. package/dist/cli/convoy/types.d.ts +76 -113
  109. package/dist/cli/convoy/types.d.ts.map +1 -1
  110. package/dist/cli/convoy/types.js +6 -13
  111. package/dist/cli/convoy/types.js.map +1 -1
  112. package/dist/cli/convoy/worktree.d.ts +88 -3
  113. package/dist/cli/convoy/worktree.d.ts.map +1 -1
  114. package/dist/cli/convoy/worktree.js +282 -56
  115. package/dist/cli/convoy/worktree.js.map +1 -1
  116. package/dist/cli/convoy/worktree.test.js +132 -1
  117. package/dist/cli/convoy/worktree.test.js.map +1 -1
  118. package/dist/cli/convoy-args.test.js +9 -27
  119. package/dist/cli/convoy-args.test.js.map +1 -1
  120. package/dist/cli/convoy-cmd.d.ts +31 -6
  121. package/dist/cli/convoy-cmd.d.ts.map +1 -1
  122. package/dist/cli/convoy-cmd.js +150 -201
  123. package/dist/cli/convoy-cmd.js.map +1 -1
  124. package/dist/cli/convoy-cmd.test.d.ts +2 -0
  125. package/dist/cli/convoy-cmd.test.d.ts.map +1 -0
  126. package/dist/cli/convoy-cmd.test.js +144 -0
  127. package/dist/cli/convoy-cmd.test.js.map +1 -0
  128. package/dist/cli/dashboard.d.ts +24 -11
  129. package/dist/cli/dashboard.d.ts.map +1 -1
  130. package/dist/cli/dashboard.js +241 -303
  131. package/dist/cli/dashboard.js.map +1 -1
  132. package/dist/cli/dashboard.test.d.ts +2 -0
  133. package/dist/cli/dashboard.test.d.ts.map +1 -0
  134. package/dist/cli/dashboard.test.js +340 -0
  135. package/dist/cli/dashboard.test.js.map +1 -0
  136. package/dist/cli/dispatcher.test.js +35 -2
  137. package/dist/cli/dispatcher.test.js.map +1 -1
  138. package/dist/cli/docs-accuracy.test.js +3 -3
  139. package/dist/cli/docs-accuracy.test.js.map +1 -1
  140. package/dist/cli/log.d.ts +39 -0
  141. package/dist/cli/log.d.ts.map +1 -1
  142. package/dist/cli/log.js +267 -93
  143. package/dist/cli/log.js.map +1 -1
  144. package/dist/cli/log.test.d.ts +2 -0
  145. package/dist/cli/log.test.d.ts.map +1 -0
  146. package/dist/cli/log.test.js +208 -0
  147. package/dist/cli/log.test.js.map +1 -0
  148. package/dist/cli/nearest.d.ts +18 -0
  149. package/dist/cli/nearest.d.ts.map +1 -0
  150. package/dist/cli/nearest.js +38 -0
  151. package/dist/cli/nearest.js.map +1 -0
  152. package/dist/cli/nearest.test.d.ts +2 -0
  153. package/dist/cli/nearest.test.d.ts.map +1 -0
  154. package/dist/cli/nearest.test.js +24 -0
  155. package/dist/cli/nearest.test.js.map +1 -0
  156. package/dist/cli/pipeline.d.ts +61 -0
  157. package/dist/cli/pipeline.d.ts.map +1 -1
  158. package/dist/cli/pipeline.flow.test.d.ts +2 -0
  159. package/dist/cli/pipeline.flow.test.d.ts.map +1 -0
  160. package/dist/cli/pipeline.flow.test.js +524 -0
  161. package/dist/cli/pipeline.flow.test.js.map +1 -0
  162. package/dist/cli/pipeline.js +471 -690
  163. package/dist/cli/pipeline.js.map +1 -1
  164. package/dist/cli/plan.d.ts +82 -31
  165. package/dist/cli/plan.d.ts.map +1 -1
  166. package/dist/cli/plan.js +167 -507
  167. package/dist/cli/plan.js.map +1 -1
  168. package/dist/cli/plan.test.d.ts +2 -0
  169. package/dist/cli/plan.test.d.ts.map +1 -0
  170. package/dist/cli/plan.test.js +158 -0
  171. package/dist/cli/plan.test.js.map +1 -0
  172. package/dist/cli/run/adapters/agent-process.d.ts +82 -0
  173. package/dist/cli/run/adapters/agent-process.d.ts.map +1 -0
  174. package/dist/cli/run/adapters/agent-process.js +224 -0
  175. package/dist/cli/run/adapters/agent-process.js.map +1 -0
  176. package/dist/cli/run/adapters/agent-process.test.d.ts +2 -0
  177. package/dist/cli/run/adapters/agent-process.test.d.ts.map +1 -0
  178. package/dist/cli/run/adapters/agent-process.test.js +159 -0
  179. package/dist/cli/run/adapters/agent-process.test.js.map +1 -0
  180. package/dist/cli/run/adapters/claude.d.ts +53 -2
  181. package/dist/cli/run/adapters/claude.d.ts.map +1 -1
  182. package/dist/cli/run/adapters/claude.js +147 -171
  183. package/dist/cli/run/adapters/claude.js.map +1 -1
  184. package/dist/cli/run/adapters/claude.test.js +197 -254
  185. package/dist/cli/run/adapters/claude.test.js.map +1 -1
  186. package/dist/cli/run/adapters/codex.d.ts +25 -2
  187. package/dist/cli/run/adapters/codex.d.ts.map +1 -1
  188. package/dist/cli/run/adapters/codex.js +113 -81
  189. package/dist/cli/run/adapters/codex.js.map +1 -1
  190. package/dist/cli/run/adapters/codex.test.js +116 -95
  191. package/dist/cli/run/adapters/codex.test.js.map +1 -1
  192. package/dist/cli/run/adapters/copilot.d.ts +35 -1
  193. package/dist/cli/run/adapters/copilot.d.ts.map +1 -1
  194. package/dist/cli/run/adapters/copilot.js +104 -287
  195. package/dist/cli/run/adapters/copilot.js.map +1 -1
  196. package/dist/cli/run/adapters/copilot.test.js +122 -282
  197. package/dist/cli/run/adapters/copilot.test.js.map +1 -1
  198. package/dist/cli/run/adapters/cursor.d.ts +25 -7
  199. package/dist/cli/run/adapters/cursor.d.ts.map +1 -1
  200. package/dist/cli/run/adapters/cursor.js +103 -156
  201. package/dist/cli/run/adapters/cursor.js.map +1 -1
  202. package/dist/cli/run/adapters/cursor.test.js +106 -218
  203. package/dist/cli/run/adapters/cursor.test.js.map +1 -1
  204. package/dist/cli/run/adapters/index.d.ts +34 -5
  205. package/dist/cli/run/adapters/index.d.ts.map +1 -1
  206. package/dist/cli/run/adapters/index.js +147 -21
  207. package/dist/cli/run/adapters/index.js.map +1 -1
  208. package/dist/cli/run/adapters/index.test.d.ts +2 -0
  209. package/dist/cli/run/adapters/index.test.d.ts.map +1 -0
  210. package/dist/cli/run/adapters/index.test.js +129 -0
  211. package/dist/cli/run/adapters/index.test.js.map +1 -0
  212. package/dist/cli/run/adapters/opencode.d.ts +25 -9
  213. package/dist/cli/run/adapters/opencode.d.ts.map +1 -1
  214. package/dist/cli/run/adapters/opencode.js +136 -152
  215. package/dist/cli/run/adapters/opencode.js.map +1 -1
  216. package/dist/cli/run/adapters/opencode.test.js +99 -218
  217. package/dist/cli/run/adapters/opencode.test.js.map +1 -1
  218. package/dist/cli/run/adapters/permission-modes.d.ts +47 -4
  219. package/dist/cli/run/adapters/permission-modes.d.ts.map +1 -1
  220. package/dist/cli/run/adapters/permission-modes.js +113 -37
  221. package/dist/cli/run/adapters/permission-modes.js.map +1 -1
  222. package/dist/cli/run/adapters/permission-modes.test.js +55 -40
  223. package/dist/cli/run/adapters/permission-modes.test.js.map +1 -1
  224. package/dist/cli/run/adapters/stub-cli.test-helper.d.ts +22 -0
  225. package/dist/cli/run/adapters/stub-cli.test-helper.d.ts.map +1 -0
  226. package/dist/cli/run/adapters/stub-cli.test-helper.js +73 -0
  227. package/dist/cli/run/adapters/stub-cli.test-helper.js.map +1 -0
  228. package/dist/cli/run/platform.d.ts +52 -0
  229. package/dist/cli/run/platform.d.ts.map +1 -0
  230. package/dist/cli/run/platform.js +207 -0
  231. package/dist/cli/run/platform.js.map +1 -0
  232. package/dist/cli/run/platform.test.d.ts +2 -0
  233. package/dist/cli/run/platform.test.d.ts.map +1 -0
  234. package/dist/cli/run/platform.test.js +119 -0
  235. package/dist/cli/run/platform.test.js.map +1 -0
  236. package/dist/cli/run/schema.d.ts +6 -8
  237. package/dist/cli/run/schema.d.ts.map +1 -1
  238. package/dist/cli/run/schema.js +44 -68
  239. package/dist/cli/run/schema.js.map +1 -1
  240. package/dist/cli/run/schema.test.js +59 -279
  241. package/dist/cli/run/schema.test.js.map +1 -1
  242. package/dist/cli/run.d.ts +34 -56
  243. package/dist/cli/run.d.ts.map +1 -1
  244. package/dist/cli/run.js +379 -1132
  245. package/dist/cli/run.js.map +1 -1
  246. package/dist/cli/run.test.d.ts +2 -0
  247. package/dist/cli/run.test.d.ts.map +1 -0
  248. package/dist/cli/run.test.js +318 -0
  249. package/dist/cli/run.test.js.map +1 -0
  250. package/dist/cli/team-config.d.ts.map +1 -1
  251. package/dist/cli/team-config.js +2 -21
  252. package/dist/cli/team-config.js.map +1 -1
  253. package/dist/cli/tiers.test.js +4 -13
  254. package/dist/cli/tiers.test.js.map +1 -1
  255. package/package.json +3 -10
  256. package/src/cli/agent-roster.test.ts +0 -55
  257. package/src/cli/boundary.test.ts +9 -7
  258. package/src/cli/convoy/TELEMETRY.md +131 -125
  259. package/src/cli/convoy/artifacts.test.ts +4 -2
  260. package/src/cli/convoy/artifacts.ts +13 -12
  261. package/src/cli/convoy/engine.git.test.ts +462 -0
  262. package/src/cli/convoy/engine.test.ts +817 -850
  263. package/src/cli/convoy/engine.ts +1864 -2596
  264. package/src/cli/convoy/event-schemas.ts +63 -59
  265. package/src/cli/convoy/events.test.ts +58 -9
  266. package/src/cli/convoy/events.ts +69 -91
  267. package/src/cli/convoy/gates.ts +31 -12
  268. package/src/cli/convoy/isolation.test.ts +76 -43
  269. package/src/cli/convoy/isolation.ts +100 -38
  270. package/src/cli/convoy/lock.test.ts +16 -0
  271. package/src/cli/convoy/lock.ts +25 -8
  272. package/src/cli/convoy/merge.test.ts +25 -1
  273. package/src/cli/convoy/merge.ts +74 -61
  274. package/src/cli/convoy/progress.test.ts +59 -0
  275. package/src/cli/convoy/progress.ts +121 -0
  276. package/src/cli/convoy/read-model.test.ts +685 -0
  277. package/src/cli/convoy/read-model.ts +1469 -0
  278. package/src/cli/convoy/redact.test.ts +49 -0
  279. package/src/cli/convoy/redact.ts +73 -0
  280. package/src/cli/convoy/reviewer.test.ts +112 -0
  281. package/src/cli/convoy/reviewer.ts +196 -0
  282. package/src/cli/convoy/schedule.test.ts +56 -0
  283. package/src/cli/convoy/schedule.ts +109 -0
  284. package/src/cli/convoy/spec-builder.test.ts +460 -464
  285. package/src/cli/convoy/spec-builder.ts +460 -129
  286. package/src/cli/convoy/spec-types.ts +46 -108
  287. package/src/cli/convoy/store.test.ts +64 -13
  288. package/src/cli/convoy/store.ts +143 -33
  289. package/src/cli/convoy/types.ts +59 -71
  290. package/src/cli/convoy/worktree.test.ts +140 -1
  291. package/src/cli/convoy/worktree.ts +311 -61
  292. package/src/cli/convoy-args.test.ts +10 -30
  293. package/src/cli/convoy-cmd.test.ts +163 -0
  294. package/src/cli/convoy-cmd.ts +173 -216
  295. package/src/cli/dashboard/dashboard.css +2086 -0
  296. package/src/cli/dashboard/dashboard.js +1687 -0
  297. package/src/cli/dashboard/index.html +307 -0
  298. package/src/cli/dashboard.test.ts +382 -0
  299. package/src/cli/dashboard.ts +243 -339
  300. package/src/cli/dispatcher.test.ts +36 -2
  301. package/src/cli/docs-accuracy.test.ts +3 -3
  302. package/src/cli/log.test.ts +228 -0
  303. package/src/cli/log.ts +302 -83
  304. package/src/cli/nearest.test.ts +27 -0
  305. package/src/cli/nearest.ts +38 -0
  306. package/src/cli/pipeline.flow.test.ts +607 -0
  307. package/src/cli/pipeline.ts +544 -759
  308. package/src/cli/plan.test.ts +193 -0
  309. package/src/cli/plan.ts +209 -545
  310. package/src/cli/run/adapters/agent-process.test.ts +175 -0
  311. package/src/cli/run/adapters/agent-process.ts +252 -0
  312. package/src/cli/run/adapters/claude.test.ts +205 -260
  313. package/src/cli/run/adapters/claude.ts +151 -162
  314. package/src/cli/run/adapters/codex.test.ts +120 -100
  315. package/src/cli/run/adapters/codex.ts +115 -91
  316. package/src/cli/run/adapters/copilot.test.ts +135 -306
  317. package/src/cli/run/adapters/copilot.ts +105 -274
  318. package/src/cli/run/adapters/cursor.test.ts +111 -220
  319. package/src/cli/run/adapters/cursor.ts +105 -156
  320. package/src/cli/run/adapters/index.test.ts +148 -0
  321. package/src/cli/run/adapters/index.ts +168 -20
  322. package/src/cli/run/adapters/opencode.test.ts +106 -227
  323. package/src/cli/run/adapters/opencode.ts +139 -151
  324. package/src/cli/run/adapters/permission-modes.test.ts +63 -41
  325. package/src/cli/run/adapters/permission-modes.ts +118 -37
  326. package/src/cli/run/adapters/stub-cli.test-helper.ts +88 -0
  327. package/src/cli/run/platform.test.ts +128 -0
  328. package/src/cli/run/platform.ts +213 -0
  329. package/src/cli/run/schema.test.ts +62 -344
  330. package/src/cli/run/schema.ts +48 -78
  331. package/src/cli/run.test.ts +351 -0
  332. package/src/cli/run.ts +366 -1151
  333. package/src/cli/team-config.ts +2 -21
  334. package/src/cli/tiers.test.ts +4 -17
  335. package/src/orchestrator/agents/team-lead.agent.md +1 -1
  336. package/src/orchestrator/prompts/assess-complexity.prompt.md +43 -26
  337. package/src/orchestrator/prompts/brainstorm.prompt.md +1 -1
  338. package/src/orchestrator/prompts/bug-fix.prompt.md +2 -2
  339. package/src/orchestrator/prompts/fix-convoy.prompt.md +43 -29
  340. package/src/orchestrator/prompts/fix-prd.prompt.md +26 -22
  341. package/src/orchestrator/prompts/generate-convoy.prompt.md +139 -147
  342. package/src/orchestrator/prompts/generate-prd.prompt.md +75 -68
  343. package/src/orchestrator/prompts/implement-feature.prompt.md +2 -2
  344. package/src/orchestrator/prompts/validate-convoy.prompt.md +29 -28
  345. package/src/orchestrator/prompts/validate-prd.prompt.md +28 -21
  346. package/src/orchestrator/skills/agent-hooks/HOOKS-REFERENCE.md +3 -3
  347. package/src/orchestrator/skills/agent-hooks/SKILL.md +1 -1
  348. package/src/orchestrator/skills/fast-review/SKILL.md +3 -1
  349. package/src/orchestrator/skills/orchestration-protocols/SKILL.md +7 -8
  350. package/dist/cli/convoy/dag-analysis.d.ts +0 -39
  351. package/dist/cli/convoy/dag-analysis.d.ts.map +0 -1
  352. package/dist/cli/convoy/dag-analysis.js +0 -279
  353. package/dist/cli/convoy/dag-analysis.js.map +0 -1
  354. package/dist/cli/convoy/dag-analysis.test.d.ts +0 -2
  355. package/dist/cli/convoy/dag-analysis.test.d.ts.map +0 -1
  356. package/dist/cli/convoy/dag-analysis.test.js +0 -289
  357. package/dist/cli/convoy/dag-analysis.test.js.map +0 -1
  358. package/dist/cli/convoy/formula.d.ts +0 -19
  359. package/dist/cli/convoy/formula.d.ts.map +0 -1
  360. package/dist/cli/convoy/formula.js +0 -142
  361. package/dist/cli/convoy/formula.js.map +0 -1
  362. package/dist/cli/convoy/formula.test.d.ts +0 -2
  363. package/dist/cli/convoy/formula.test.d.ts.map +0 -1
  364. package/dist/cli/convoy/formula.test.js +0 -342
  365. package/dist/cli/convoy/formula.test.js.map +0 -1
  366. package/dist/cli/convoy/health.d.ts +0 -34
  367. package/dist/cli/convoy/health.d.ts.map +0 -1
  368. package/dist/cli/convoy/health.js +0 -123
  369. package/dist/cli/convoy/health.js.map +0 -1
  370. package/dist/cli/convoy/health.test.d.ts +0 -2
  371. package/dist/cli/convoy/health.test.d.ts.map +0 -1
  372. package/dist/cli/convoy/health.test.js +0 -448
  373. package/dist/cli/convoy/health.test.js.map +0 -1
  374. package/dist/cli/convoy/last-run.d.ts +0 -53
  375. package/dist/cli/convoy/last-run.d.ts.map +0 -1
  376. package/dist/cli/convoy/last-run.js +0 -54
  377. package/dist/cli/convoy/last-run.js.map +0 -1
  378. package/dist/cli/convoy/last-run.test.d.ts +0 -2
  379. package/dist/cli/convoy/last-run.test.d.ts.map +0 -1
  380. package/dist/cli/convoy/last-run.test.js +0 -110
  381. package/dist/cli/convoy/last-run.test.js.map +0 -1
  382. package/dist/cli/convoy/pipeline.d.ts +0 -41
  383. package/dist/cli/convoy/pipeline.d.ts.map +0 -1
  384. package/dist/cli/convoy/pipeline.js +0 -414
  385. package/dist/cli/convoy/pipeline.js.map +0 -1
  386. package/dist/cli/convoy/pipeline.test.d.ts +0 -2
  387. package/dist/cli/convoy/pipeline.test.d.ts.map +0 -1
  388. package/dist/cli/convoy/pipeline.test.js +0 -837
  389. package/dist/cli/convoy/pipeline.test.js.map +0 -1
  390. package/dist/cli/convoy/review-stages.d.ts +0 -9
  391. package/dist/cli/convoy/review-stages.d.ts.map +0 -1
  392. package/dist/cli/convoy/review-stages.js +0 -134
  393. package/dist/cli/convoy/review-stages.js.map +0 -1
  394. package/dist/cli/convoy/review-stages.test.d.ts +0 -2
  395. package/dist/cli/convoy/review-stages.test.d.ts.map +0 -1
  396. package/dist/cli/convoy/review-stages.test.js +0 -197
  397. package/dist/cli/convoy/review-stages.test.js.map +0 -1
  398. package/dist/cli/run/executor.d.ts +0 -15
  399. package/dist/cli/run/executor.d.ts.map +0 -1
  400. package/dist/cli/run/executor.js +0 -249
  401. package/dist/cli/run/executor.js.map +0 -1
  402. package/dist/cli/run/executor.test.d.ts +0 -2
  403. package/dist/cli/run/executor.test.d.ts.map +0 -1
  404. package/dist/cli/run/executor.test.js +0 -297
  405. package/dist/cli/run/executor.test.js.map +0 -1
  406. package/dist/cli/run/reporter.d.ts +0 -10
  407. package/dist/cli/run/reporter.d.ts.map +0 -1
  408. package/dist/cli/run/reporter.js +0 -142
  409. package/dist/cli/run/reporter.js.map +0 -1
  410. package/dist/cli/run-dry-run.test.d.ts +0 -2
  411. package/dist/cli/run-dry-run.test.d.ts.map +0 -1
  412. package/dist/cli/run-dry-run.test.js +0 -83
  413. package/dist/cli/run-dry-run.test.js.map +0 -1
  414. package/dist/cli/run-executor-flags.test.d.ts +0 -2
  415. package/dist/cli/run-executor-flags.test.d.ts.map +0 -1
  416. package/dist/cli/run-executor-flags.test.js +0 -31
  417. package/dist/cli/run-executor-flags.test.js.map +0 -1
  418. package/dist/cli/run-finish.test.d.ts +0 -2
  419. package/dist/cli/run-finish.test.d.ts.map +0 -1
  420. package/dist/cli/run-finish.test.js +0 -77
  421. package/dist/cli/run-finish.test.js.map +0 -1
  422. package/dist/cli/watch.d.ts +0 -15
  423. package/dist/cli/watch.d.ts.map +0 -1
  424. package/dist/cli/watch.js +0 -277
  425. package/dist/cli/watch.js.map +0 -1
  426. package/dist/dashboard/scripts/etl.d.ts +0 -10
  427. package/dist/dashboard/scripts/etl.d.ts.map +0 -1
  428. package/dist/dashboard/scripts/etl.js +0 -141
  429. package/dist/dashboard/scripts/etl.js.map +0 -1
  430. package/src/cli/convoy/dag-analysis.test.ts +0 -349
  431. package/src/cli/convoy/dag-analysis.ts +0 -367
  432. package/src/cli/convoy/formula.test.ts +0 -404
  433. package/src/cli/convoy/formula.ts +0 -174
  434. package/src/cli/convoy/health.test.ts +0 -519
  435. package/src/cli/convoy/health.ts +0 -189
  436. package/src/cli/convoy/last-run.test.ts +0 -130
  437. package/src/cli/convoy/last-run.ts +0 -87
  438. package/src/cli/convoy/pipeline.test.ts +0 -999
  439. package/src/cli/convoy/pipeline.ts +0 -492
  440. package/src/cli/convoy/review-stages.test.ts +0 -235
  441. package/src/cli/convoy/review-stages.ts +0 -166
  442. package/src/cli/run/executor.test.ts +0 -338
  443. package/src/cli/run/executor.ts +0 -292
  444. package/src/cli/run/reporter.ts +0 -160
  445. package/src/cli/run-dry-run.test.ts +0 -97
  446. package/src/cli/run-executor-flags.test.ts +0 -38
  447. package/src/cli/run-finish.test.ts +0 -91
  448. package/src/cli/watch.ts +0 -295
  449. package/src/dashboard/astro.config.mjs +0 -6
  450. package/src/dashboard/dist/_astro/index.CADNhRPS.css +0 -1
  451. package/src/dashboard/dist/data/.gitkeep +0 -0
  452. package/src/dashboard/dist/data/convoy-list.json +0 -1
  453. package/src/dashboard/dist/data/overall-stats.json +0 -29
  454. package/src/dashboard/dist/index.html +0 -1963
  455. package/src/dashboard/node_modules/.vite/deps/_metadata.json +0 -31
  456. package/src/dashboard/node_modules/.vite/deps/astro___aria-query.js +0 -6776
  457. package/src/dashboard/node_modules/.vite/deps/astro___aria-query.js.map +0 -7
  458. package/src/dashboard/node_modules/.vite/deps/astro___axobject-query.js +0 -3754
  459. package/src/dashboard/node_modules/.vite/deps/astro___axobject-query.js.map +0 -7
  460. package/src/dashboard/node_modules/.vite/deps/astro___cssesc.js +0 -99
  461. package/src/dashboard/node_modules/.vite/deps/astro___cssesc.js.map +0 -7
  462. package/src/dashboard/node_modules/.vite/deps/chunk-BUSYA2B4.js +0 -8
  463. package/src/dashboard/node_modules/.vite/deps/chunk-BUSYA2B4.js.map +0 -7
  464. package/src/dashboard/node_modules/.vite/deps/package.json +0 -3
  465. package/src/dashboard/package-lock.json +0 -6
  466. package/src/dashboard/public/data/.gitkeep +0 -0
  467. package/src/dashboard/public/data/convoy-list.json +0 -1
  468. package/src/dashboard/public/data/overall-stats.json +0 -29
  469. package/src/dashboard/public/icon-192.png +0 -0
  470. package/src/dashboard/scripts/etl.test.ts +0 -166
  471. package/src/dashboard/scripts/etl.ts +0 -170
  472. package/src/dashboard/scripts/generate-demo-db.test.ts +0 -30
  473. package/src/dashboard/scripts/generate-demo-db.ts +0 -529
  474. package/src/dashboard/scripts/integration-test.ts +0 -504
  475. package/src/dashboard/scripts/verify-demo-data.sh +0 -51
  476. package/src/dashboard/seed-data/delegations.ndjson +0 -35
  477. package/src/dashboard/seed-data/events.ndjson +0 -104
  478. package/src/dashboard/seed-data/panels.ndjson +0 -13
  479. package/src/dashboard/seed-data/reviews.ndjson +0 -6
  480. package/src/dashboard/seed-data/sessions.ndjson +0 -50
  481. package/src/dashboard/src/env.d.ts +0 -1
  482. package/src/dashboard/src/layouts/Layout.astro +0 -25
  483. package/src/dashboard/src/pages/index.astro +0 -2313
  484. package/src/dashboard/src/styles/dashboard.css +0 -2943
  485. package/src/dashboard/tsconfig.json +0 -6
  486. /package/src/{dashboard/dist → cli/dashboard}/icon-192.png +0 -0
@@ -0,0 +1,2086 @@
1
+ /* ============================================================
2
+ OpenCastle Observability Dashboard — styles
3
+ The design of the original dashboard (opencastle.dev's dark theme), with a
4
+ light palette beside it that follows the OS. Charts are CSS and SVG, with
5
+ no dependencies.
6
+ ============================================================ */
7
+
8
+ /* ---------- Design tokens: light ---------- */
9
+ :root {
10
+ color-scheme: light dark;
11
+
12
+ --bg-primary: #f6f6fa;
13
+ --bg-secondary: #ffffff;
14
+ --bg-tertiary: #f0f0f6;
15
+ --bg-card: #fbfbfd;
16
+ --bg-hover: rgba(20, 20, 60, 0.04);
17
+ --header-bg: rgba(246, 246, 250, 0.88);
18
+
19
+ --text-primary: #15151c;
20
+ --text-secondary: #474757;
21
+ --text-tertiary: #5f5f72;
22
+ --text-accent: #6741d9;
23
+
24
+ --border-color: rgba(20, 20, 60, 0.10);
25
+ --border-strong: rgba(20, 20, 60, 0.20);
26
+ --border-accent: rgba(103, 65, 217, 0.40);
27
+ --line-soft: rgba(20, 20, 60, 0.07);
28
+
29
+ --color-success: #15803d;
30
+ --color-partial: #b45309;
31
+ --color-failed: #c62828;
32
+ --color-running: #1d4ed8;
33
+ --color-waiting: #64748b;
34
+ --color-muted: #94a3b8;
35
+
36
+ --accent-blue: #2563eb;
37
+ --accent-purple: #7048e8;
38
+ --accent-indigo: #4f46e5;
39
+
40
+ --tier-premium: #c2410c;
41
+ --tier-standard: #7048e8;
42
+ --tier-utility: #2563eb;
43
+ --tier-economy: #64748b;
44
+
45
+ --cat-run: #2563eb;
46
+ --cat-task: #15803d;
47
+ --cat-check: #b45309;
48
+ --cat-review: #7048e8;
49
+ --cat-merge: #0e7490;
50
+ --cat-other: #64748b;
51
+
52
+ --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
53
+ --gradient-glow: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
54
+ --shadow-pop: 0 6px 18px rgba(20, 20, 60, 0.14);
55
+
56
+ --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
57
+ --max-width: 1320px;
58
+ --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
59
+ }
60
+
61
+ /* ---------- Design tokens: dark (the original palette) ---------- */
62
+ @media (prefers-color-scheme: dark) {
63
+ :root {
64
+ --bg-primary: #0a0a0f;
65
+ --bg-secondary: #111118;
66
+ --bg-tertiary: #1a1a24;
67
+ --bg-card: rgba(255, 255, 255, 0.03);
68
+ --bg-hover: rgba(255, 255, 255, 0.04);
69
+ --header-bg: rgba(10, 10, 15, 0.85);
70
+
71
+ --text-primary: #f0f0f5;
72
+ --text-secondary: #9a9aab;
73
+ --text-tertiary: #84849a;
74
+ --text-accent: #a78bfa;
75
+
76
+ --border-color: rgba(255, 255, 255, 0.07);
77
+ --border-strong: rgba(255, 255, 255, 0.14);
78
+ --border-accent: rgba(167, 139, 250, 0.35);
79
+ --line-soft: rgba(255, 255, 255, 0.04);
80
+
81
+ --color-success: #22c55e;
82
+ --color-partial: #f59e0b;
83
+ --color-failed: #f05252;
84
+ --color-running: #3b82f6;
85
+ --color-waiting: #64748b;
86
+ --color-muted: #94a3b8;
87
+
88
+ --accent-blue: #3b82f6;
89
+ --accent-purple: #a78bfa;
90
+ --accent-indigo: #6366f1;
91
+
92
+ --tier-premium: #f59e0b;
93
+ --tier-standard: #a78bfa;
94
+ --tier-utility: #3b82f6;
95
+ --tier-economy: #64748b;
96
+
97
+ --cat-run: #3b82f6;
98
+ --cat-task: #10b981;
99
+ --cat-check: #f59e0b;
100
+ --cat-review: #a78bfa;
101
+ --cat-merge: #22d3ee;
102
+ --cat-other: #64748b;
103
+
104
+ --gradient-glow: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
105
+ --shadow-pop: 0 4px 12px rgba(0, 0, 0, 0.45);
106
+ }
107
+ }
108
+
109
+ /* ---------- Reset ---------- */
110
+ *,
111
+ *::before,
112
+ *::after {
113
+ box-sizing: border-box;
114
+ margin: 0;
115
+ padding: 0;
116
+ }
117
+
118
+ html {
119
+ font-size: 16px;
120
+ -webkit-font-smoothing: antialiased;
121
+ -moz-osx-font-smoothing: grayscale;
122
+ -webkit-text-size-adjust: 100%;
123
+ }
124
+
125
+ body {
126
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Helvetica, Arial, sans-serif;
127
+ background-color: var(--bg-primary);
128
+ color: var(--text-primary);
129
+ line-height: 1.6;
130
+ min-height: 100vh;
131
+ overflow-x: hidden;
132
+ }
133
+
134
+ code, pre, .mono {
135
+ font-family: var(--mono);
136
+ font-size: 0.9em;
137
+ }
138
+
139
+ button {
140
+ font: inherit;
141
+ color: inherit;
142
+ }
143
+
144
+ a {
145
+ color: var(--text-accent);
146
+ }
147
+
148
+ .nr {
149
+ color: var(--text-tertiary);
150
+ font-style: italic;
151
+ font-weight: 400;
152
+ }
153
+
154
+ .est {
155
+ color: var(--text-tertiary);
156
+ font-size: 0.75em;
157
+ font-weight: 500;
158
+ margin-left: 3px;
159
+ }
160
+
161
+ .muted {
162
+ color: var(--text-tertiary);
163
+ }
164
+
165
+ /* ---------- Header ---------- */
166
+ .dash-header {
167
+ position: sticky;
168
+ top: 0;
169
+ z-index: 50;
170
+ background: var(--header-bg);
171
+ backdrop-filter: blur(16px);
172
+ -webkit-backdrop-filter: blur(16px);
173
+ border-bottom: 1px solid var(--border-color);
174
+ }
175
+
176
+ .dash-header__inner {
177
+ max-width: var(--max-width);
178
+ margin: 0 auto;
179
+ padding: 8px 24px;
180
+ min-height: 56px;
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: space-between;
184
+ gap: 8px 16px;
185
+ flex-wrap: wrap;
186
+ }
187
+
188
+ .dash-header__brand {
189
+ display: flex;
190
+ align-items: center;
191
+ gap: 10px;
192
+ min-width: 0;
193
+ }
194
+
195
+ .dash-header__logo-link {
196
+ display: flex;
197
+ align-items: center;
198
+ text-decoration: none;
199
+ flex-shrink: 0;
200
+ }
201
+
202
+ .dash-header__icon {
203
+ width: 32px;
204
+ height: 32px;
205
+ border-radius: 8px;
206
+ object-fit: contain;
207
+ }
208
+
209
+ .dash-header__title {
210
+ font-size: 1rem;
211
+ font-weight: 600;
212
+ color: var(--text-primary);
213
+ white-space: nowrap;
214
+ }
215
+
216
+ .dash-header__project {
217
+ font-size: 0.8125rem;
218
+ color: var(--text-tertiary);
219
+ overflow: hidden;
220
+ text-overflow: ellipsis;
221
+ white-space: nowrap;
222
+ min-width: 0;
223
+ }
224
+
225
+ .dash-header__actions {
226
+ display: flex;
227
+ align-items: center;
228
+ gap: 8px;
229
+ flex-wrap: wrap;
230
+ min-width: 0;
231
+ }
232
+
233
+ .source-badge {
234
+ display: inline-flex;
235
+ align-items: center;
236
+ gap: 6px;
237
+ padding: 3px 10px;
238
+ border-radius: 999px;
239
+ font-size: 0.75rem;
240
+ font-weight: 600;
241
+ background: var(--bg-tertiary);
242
+ color: var(--text-secondary);
243
+ border: 1px solid var(--border-color);
244
+ white-space: nowrap;
245
+ }
246
+
247
+ .source-badge--live {
248
+ color: var(--color-running);
249
+ background: color-mix(in srgb, var(--color-running) 12%, transparent);
250
+ border-color: color-mix(in srgb, var(--color-running) 30%, transparent);
251
+ }
252
+
253
+ .live-dot {
254
+ display: inline-block;
255
+ width: 8px;
256
+ height: 8px;
257
+ border-radius: 50%;
258
+ background: currentColor;
259
+ animation: live-pulse 1.6s ease-in-out infinite;
260
+ }
261
+
262
+ @keyframes live-pulse {
263
+ 50% { opacity: 0.3; }
264
+ }
265
+
266
+ /* ---------- Main layout ---------- */
267
+ .dash-layout {
268
+ display: flex;
269
+ max-width: var(--max-width);
270
+ margin: 0 auto;
271
+ position: relative;
272
+ }
273
+
274
+ .dash-sidebar {
275
+ position: sticky;
276
+ top: 56px;
277
+ height: calc(100vh - 56px);
278
+ width: 184px;
279
+ flex-shrink: 0;
280
+ padding: 24px 0 24px 24px;
281
+ overflow-y: auto;
282
+ display: none;
283
+ }
284
+
285
+ @media (min-width: 1024px) {
286
+ .dash-sidebar {
287
+ display: block;
288
+ }
289
+ }
290
+
291
+ .dash-sidebar__list {
292
+ list-style: none;
293
+ display: flex;
294
+ flex-direction: column;
295
+ gap: 2px;
296
+ }
297
+
298
+ .dash-sidebar__link {
299
+ display: block;
300
+ padding: 7px 14px;
301
+ font-size: 0.8125rem;
302
+ font-weight: 500;
303
+ color: var(--text-tertiary);
304
+ text-decoration: none;
305
+ border-radius: 8px;
306
+ transition: color var(--transition-fast), background var(--transition-fast);
307
+ }
308
+
309
+ .dash-sidebar__link:hover {
310
+ color: var(--text-secondary);
311
+ background: var(--bg-hover);
312
+ }
313
+
314
+ .dash-sidebar__link--active {
315
+ color: var(--text-accent);
316
+ background: color-mix(in srgb, var(--accent-purple) 10%, transparent);
317
+ font-weight: 600;
318
+ }
319
+
320
+ .dash-main {
321
+ flex: 1;
322
+ min-width: 0;
323
+ padding: 24px;
324
+ display: flex;
325
+ flex-direction: column;
326
+ gap: 20px;
327
+ position: relative;
328
+ }
329
+
330
+ .dash-main::before {
331
+ content: '';
332
+ position: fixed;
333
+ top: 0;
334
+ left: 50%;
335
+ transform: translateX(-50%);
336
+ width: 100%;
337
+ height: 600px;
338
+ background: var(--gradient-glow);
339
+ pointer-events: none;
340
+ z-index: 0;
341
+ }
342
+
343
+ .dash-main > * {
344
+ position: relative;
345
+ z-index: 1;
346
+ }
347
+
348
+ [data-nav-section] {
349
+ scroll-margin-top: 72px;
350
+ }
351
+
352
+ .view-home,
353
+ .view-convoy-detail {
354
+ display: flex;
355
+ flex-direction: column;
356
+ gap: 20px;
357
+ min-width: 0;
358
+ }
359
+
360
+ [data-view-hidden],
361
+ [hidden] {
362
+ display: none !important;
363
+ }
364
+
365
+ /* ---------- Notices ---------- */
366
+ .notice {
367
+ padding: 10px 14px;
368
+ border-radius: 10px;
369
+ font-size: 0.875rem;
370
+ border: 1px solid color-mix(in srgb, var(--color-partial) 35%, transparent);
371
+ background: color-mix(in srgb, var(--color-partial) 10%, transparent);
372
+ color: var(--text-primary);
373
+ }
374
+
375
+ .notice--error {
376
+ border-color: color-mix(in srgb, var(--color-failed) 35%, transparent);
377
+ background: color-mix(in srgb, var(--color-failed) 10%, transparent);
378
+ }
379
+
380
+ .notice--info {
381
+ border-color: color-mix(in srgb, var(--color-running) 30%, transparent);
382
+ background: color-mix(in srgb, var(--color-running) 8%, transparent);
383
+ }
384
+
385
+ /* ---------- Breadcrumbs and run picker ---------- */
386
+ .breadcrumbs {
387
+ display: flex;
388
+ align-items: center;
389
+ gap: 6px;
390
+ font-size: 0.8125rem;
391
+ color: var(--text-tertiary);
392
+ flex-wrap: wrap;
393
+ margin-bottom: -8px;
394
+ min-width: 0;
395
+ }
396
+
397
+ .breadcrumbs__link {
398
+ color: var(--text-secondary);
399
+ text-decoration: none;
400
+ border-bottom: 1px solid transparent;
401
+ }
402
+
403
+ .breadcrumbs__link:hover {
404
+ color: var(--text-accent);
405
+ border-bottom-color: var(--border-accent);
406
+ }
407
+
408
+ .breadcrumbs__separator {
409
+ opacity: 0.5;
410
+ user-select: none;
411
+ font-size: 0.75rem;
412
+ }
413
+
414
+ .breadcrumbs__current {
415
+ color: var(--text-accent);
416
+ font-weight: 500;
417
+ max-width: min(420px, 60vw);
418
+ overflow: hidden;
419
+ text-overflow: ellipsis;
420
+ white-space: nowrap;
421
+ }
422
+
423
+ .run-picker {
424
+ appearance: none;
425
+ -webkit-appearance: none;
426
+ background-color: var(--bg-tertiary);
427
+ border: 1px solid var(--border-color);
428
+ border-radius: 8px;
429
+ color: var(--text-primary);
430
+ font: inherit;
431
+ font-size: 0.8125rem;
432
+ height: 32px;
433
+ padding: 0 28px 0 10px;
434
+ cursor: pointer;
435
+ max-width: 280px;
436
+ min-width: 0;
437
+ background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a8a9a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
438
+ background-repeat: no-repeat;
439
+ background-position: right 10px center;
440
+ }
441
+
442
+ .run-picker:hover {
443
+ border-color: var(--border-strong);
444
+ }
445
+
446
+ /* ---------- Buttons ---------- */
447
+ .dash-btn {
448
+ display: inline-flex;
449
+ align-items: center;
450
+ gap: 6px;
451
+ padding: 6px 14px;
452
+ font-size: 0.8125rem;
453
+ font-weight: 500;
454
+ font-family: inherit;
455
+ border: none;
456
+ border-radius: 8px;
457
+ cursor: pointer;
458
+ transition: background var(--transition-fast), color var(--transition-fast);
459
+ white-space: nowrap;
460
+ }
461
+
462
+ .dash-btn--ghost {
463
+ color: var(--text-secondary);
464
+ background: var(--bg-tertiary);
465
+ border: 1px solid var(--border-color);
466
+ }
467
+
468
+ .dash-btn--ghost:hover {
469
+ color: var(--text-primary);
470
+ border-color: var(--border-strong);
471
+ }
472
+
473
+ .dash-btn[disabled] {
474
+ opacity: 0.45;
475
+ cursor: default;
476
+ }
477
+
478
+ .link-btn {
479
+ background: none;
480
+ border: 0;
481
+ padding: 0;
482
+ color: var(--text-accent);
483
+ cursor: pointer;
484
+ font-size: 0.8125rem;
485
+ text-decoration: underline;
486
+ text-underline-offset: 2px;
487
+ }
488
+
489
+ /* ---------- Overall stats (KPIs) ---------- */
490
+ .overall-stats {
491
+ padding: 1.25rem;
492
+ background: var(--bg-secondary);
493
+ border-radius: 12px;
494
+ border: 1px solid var(--border-color);
495
+ }
496
+
497
+ .overall-stats__header {
498
+ display: flex;
499
+ align-items: center;
500
+ gap: 0.5rem;
501
+ margin-bottom: 1rem;
502
+ flex-wrap: wrap;
503
+ }
504
+
505
+ .overall-stats__title {
506
+ font-size: 1rem;
507
+ font-weight: 600;
508
+ color: var(--text-primary);
509
+ }
510
+
511
+ .overall-stats__desc {
512
+ font-size: 0.75rem;
513
+ color: var(--text-tertiary);
514
+ width: 100%;
515
+ }
516
+
517
+ .overall-stats__grid {
518
+ display: grid;
519
+ grid-template-columns: repeat(4, minmax(0, 1fr));
520
+ gap: 0.75rem;
521
+ }
522
+
523
+ .overall-kpi {
524
+ display: flex;
525
+ flex-direction: column;
526
+ gap: 0.2rem;
527
+ padding: 0.75rem;
528
+ background: var(--bg-tertiary);
529
+ border-radius: 8px;
530
+ border: 1px solid var(--line-soft);
531
+ min-width: 0;
532
+ }
533
+
534
+ .overall-kpi__label {
535
+ font-size: 0.6875rem;
536
+ text-transform: uppercase;
537
+ letter-spacing: 0.05em;
538
+ color: var(--text-secondary);
539
+ display: flex;
540
+ align-items: center;
541
+ gap: 0.25rem;
542
+ }
543
+
544
+ .overall-kpi__value {
545
+ font-size: 1.375rem;
546
+ font-weight: 700;
547
+ color: var(--text-primary);
548
+ font-variant-numeric: tabular-nums;
549
+ overflow-wrap: anywhere;
550
+ line-height: 1.3;
551
+ }
552
+
553
+ .overall-kpi__sub {
554
+ font-size: 0.75rem;
555
+ color: var(--text-tertiary);
556
+ overflow-wrap: anywhere;
557
+ }
558
+
559
+ /* ---------- Chart card ---------- */
560
+ .chart-card {
561
+ background: var(--bg-secondary);
562
+ border: 1px solid var(--border-color);
563
+ border-radius: 12px;
564
+ min-width: 0;
565
+ }
566
+
567
+ .chart-card__header {
568
+ padding: 20px 24px 8px;
569
+ display: flex;
570
+ flex-wrap: wrap;
571
+ align-items: baseline;
572
+ gap: 6px;
573
+ }
574
+
575
+ .chart-card__title {
576
+ font-size: 0.9375rem;
577
+ font-weight: 600;
578
+ color: var(--text-primary);
579
+ }
580
+
581
+ .chart-card__desc {
582
+ font-size: 0.75rem;
583
+ color: var(--text-tertiary);
584
+ margin-top: 2px;
585
+ width: 100%;
586
+ }
587
+
588
+ .chart-card__body {
589
+ padding: 16px 24px 24px;
590
+ min-height: 80px;
591
+ min-width: 0;
592
+ }
593
+
594
+ .chart-card__body--table {
595
+ padding: 0 0 8px;
596
+ }
597
+
598
+ .section-subtitle {
599
+ font-size: 0.8125rem;
600
+ font-weight: 600;
601
+ color: var(--text-secondary);
602
+ margin: 20px 0 10px;
603
+ }
604
+
605
+ .charts-row {
606
+ display: grid;
607
+ grid-template-columns: minmax(0, 1fr);
608
+ gap: 20px;
609
+ }
610
+
611
+ @media (min-width: 768px) {
612
+ .charts-row {
613
+ grid-template-columns: repeat(2, minmax(0, 1fr));
614
+ }
615
+ }
616
+
617
+ /* ---------- Tooltip ---------- */
618
+ .tooltip-trigger {
619
+ position: relative;
620
+ cursor: help;
621
+ opacity: 0.55;
622
+ display: inline-flex;
623
+ vertical-align: middle;
624
+ }
625
+
626
+ .tooltip-trigger:hover,
627
+ .tooltip-trigger:focus {
628
+ opacity: 1;
629
+ }
630
+
631
+ .tooltip-trigger:hover::after,
632
+ .tooltip-trigger:focus::after {
633
+ content: attr(data-tooltip);
634
+ position: absolute;
635
+ bottom: 130%;
636
+ left: 50%;
637
+ transform: translateX(-50%);
638
+ padding: 0.5rem 0.75rem;
639
+ background: var(--bg-secondary);
640
+ border: 1px solid var(--border-strong);
641
+ border-radius: 6px;
642
+ font-size: 0.8125rem;
643
+ color: var(--text-primary);
644
+ width: max-content;
645
+ max-width: min(320px, 80vw);
646
+ white-space: normal;
647
+ text-align: left;
648
+ line-height: 1.5;
649
+ z-index: 100;
650
+ pointer-events: none;
651
+ box-shadow: var(--shadow-pop);
652
+ text-transform: none;
653
+ letter-spacing: normal;
654
+ font-weight: 400;
655
+ }
656
+
657
+ .tooltip-trigger:focus {
658
+ outline: 2px solid var(--accent-blue);
659
+ outline-offset: 2px;
660
+ border-radius: 2px;
661
+ }
662
+
663
+ /* ---------- Bars ---------- */
664
+ .bar-row {
665
+ display: flex;
666
+ align-items: center;
667
+ gap: 12px;
668
+ padding: 6px 0;
669
+ min-width: 0;
670
+ }
671
+
672
+ .bar-row + .bar-row {
673
+ border-top: 1px solid var(--line-soft);
674
+ }
675
+
676
+ .bar-label {
677
+ font-size: 0.8125rem;
678
+ color: var(--text-secondary);
679
+ width: 150px;
680
+ flex-shrink: 0;
681
+ white-space: nowrap;
682
+ overflow: hidden;
683
+ text-overflow: ellipsis;
684
+ }
685
+
686
+ .bar-track {
687
+ flex: 1;
688
+ min-width: 0;
689
+ height: 22px;
690
+ background: var(--bg-tertiary);
691
+ border-radius: 6px;
692
+ display: flex;
693
+ overflow: hidden;
694
+ }
695
+
696
+ .bar-segment {
697
+ height: 100%;
698
+ min-width: 0;
699
+ transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
700
+ }
701
+
702
+ .bar-value {
703
+ font-size: 0.8125rem;
704
+ font-weight: 600;
705
+ color: var(--text-primary);
706
+ min-width: 36px;
707
+ text-align: right;
708
+ flex-shrink: 0;
709
+ font-variant-numeric: tabular-nums;
710
+ }
711
+
712
+ .legend-inline {
713
+ display: flex;
714
+ flex-wrap: wrap;
715
+ gap: 4px 14px;
716
+ margin-top: 12px;
717
+ font-size: 0.75rem;
718
+ color: var(--text-tertiary);
719
+ }
720
+
721
+ .legend-inline span {
722
+ display: inline-flex;
723
+ align-items: center;
724
+ gap: 6px;
725
+ }
726
+
727
+ .swatch {
728
+ display: inline-block;
729
+ width: 10px;
730
+ height: 10px;
731
+ border-radius: 3px;
732
+ flex-shrink: 0;
733
+ }
734
+
735
+ /* Fills by meaning, shared by bars, donuts, swatches and nodes. */
736
+ .fill-done { background: var(--color-success); }
737
+ .fill-running { background: var(--color-running); }
738
+ .fill-failed { background: var(--color-failed); }
739
+ .fill-interrupted { background: var(--color-partial); }
740
+ .fill-other { background: var(--color-waiting); }
741
+ .fill-unknown { background: var(--color-muted); }
742
+ .fill-accent { background: var(--accent-blue); }
743
+ .fill-premium { background: var(--tier-premium); }
744
+ .fill-standard { background: var(--tier-standard); }
745
+ .fill-utility { background: var(--tier-utility); }
746
+ .fill-economy { background: var(--tier-economy); }
747
+
748
+ /* ---------- Vertical bars (activity) ---------- */
749
+ .activity-timeline--vertical {
750
+ display: flex;
751
+ gap: 4px;
752
+ align-items: flex-end;
753
+ overflow-x: auto;
754
+ padding: 8px 0 4px;
755
+ min-height: 180px;
756
+ }
757
+
758
+ .vbar-col {
759
+ display: flex;
760
+ flex-direction: column;
761
+ align-items: center;
762
+ min-width: 48px;
763
+ flex-shrink: 0;
764
+ }
765
+
766
+ .vbar-value {
767
+ font-size: 0.75rem;
768
+ color: var(--text-secondary);
769
+ margin-bottom: 4px;
770
+ font-variant-numeric: tabular-nums;
771
+ }
772
+
773
+ .vbar-track {
774
+ width: 28px;
775
+ height: 120px;
776
+ background: var(--bg-tertiary);
777
+ border-radius: 4px 4px 0 0;
778
+ display: flex;
779
+ flex-direction: column-reverse;
780
+ overflow: hidden;
781
+ }
782
+
783
+ .vbar-fill {
784
+ width: 100%;
785
+ min-height: 2px;
786
+ }
787
+
788
+ .vbar-label {
789
+ font-size: 0.6875rem;
790
+ color: var(--text-tertiary);
791
+ margin-top: 4px;
792
+ white-space: nowrap;
793
+ }
794
+
795
+ /* ---------- Donut ---------- */
796
+ .donut-container {
797
+ display: flex;
798
+ align-items: center;
799
+ justify-content: center;
800
+ gap: 28px;
801
+ flex-wrap: wrap;
802
+ }
803
+
804
+ .donut-wrap {
805
+ position: relative;
806
+ width: 168px;
807
+ height: 168px;
808
+ flex-shrink: 0;
809
+ }
810
+
811
+ .donut-svg {
812
+ width: 100%;
813
+ height: 100%;
814
+ }
815
+
816
+ .donut-svg .donut-track {
817
+ stroke: var(--bg-tertiary);
818
+ }
819
+
820
+ .donut-center {
821
+ position: absolute;
822
+ top: 50%;
823
+ left: 50%;
824
+ transform: translate(-50%, -50%);
825
+ text-align: center;
826
+ }
827
+
828
+ .donut-total {
829
+ display: block;
830
+ font-size: 1.5rem;
831
+ font-weight: 700;
832
+ color: var(--text-primary);
833
+ line-height: 1;
834
+ }
835
+
836
+ .donut-total-label {
837
+ display: block;
838
+ font-size: 0.6875rem;
839
+ color: var(--text-tertiary);
840
+ text-transform: uppercase;
841
+ letter-spacing: 0.08em;
842
+ margin-top: 4px;
843
+ }
844
+
845
+ .donut-legend {
846
+ display: flex;
847
+ flex-direction: column;
848
+ gap: 8px;
849
+ min-width: 0;
850
+ }
851
+
852
+ .legend-item {
853
+ display: flex;
854
+ align-items: center;
855
+ gap: 8px;
856
+ font-size: 0.8125rem;
857
+ min-width: 0;
858
+ }
859
+
860
+ .legend-name {
861
+ color: var(--text-secondary);
862
+ overflow-wrap: anywhere;
863
+ }
864
+
865
+ .legend-count {
866
+ color: var(--text-tertiary);
867
+ font-variant-numeric: tabular-nums;
868
+ margin-left: auto;
869
+ padding-left: 12px;
870
+ white-space: nowrap;
871
+ }
872
+
873
+ .legend-group {
874
+ font-size: 0.6875rem;
875
+ text-transform: uppercase;
876
+ letter-spacing: 0.06em;
877
+ color: var(--text-tertiary);
878
+ margin-top: 6px;
879
+ }
880
+
881
+ /* ---------- Status and outcome badges ---------- */
882
+ .status-badge,
883
+ .outcome-badge {
884
+ --badge: var(--color-waiting);
885
+ display: inline-flex;
886
+ align-items: center;
887
+ padding: 0.1rem 0.6rem;
888
+ border-radius: 999px;
889
+ font-size: 0.6875rem;
890
+ font-weight: 600;
891
+ text-transform: uppercase;
892
+ letter-spacing: 0.04em;
893
+ white-space: nowrap;
894
+ color: var(--badge);
895
+ background: color-mix(in srgb, var(--badge) 14%, transparent);
896
+ border: 1px solid color-mix(in srgb, var(--badge) 24%, transparent);
897
+ }
898
+
899
+ .tone-done { --badge: var(--color-success); }
900
+ .tone-running { --badge: var(--color-running); }
901
+ .tone-failed { --badge: var(--color-failed); }
902
+ .tone-warn { --badge: var(--color-partial); }
903
+ .tone-review { --badge: var(--accent-purple); }
904
+ .tone-muted { --badge: var(--color-waiting); }
905
+
906
+ .kind-badge {
907
+ display: inline-block;
908
+ padding: 1px 7px;
909
+ border-radius: 4px;
910
+ font-size: 0.6875rem;
911
+ font-weight: 600;
912
+ background: var(--bg-tertiary);
913
+ color: var(--text-secondary);
914
+ border: 1px solid var(--border-color);
915
+ white-space: nowrap;
916
+ }
917
+
918
+ /* ---------- Summary cards ---------- */
919
+ .task-summary-cards {
920
+ display: flex;
921
+ gap: 12px;
922
+ flex-wrap: wrap;
923
+ margin-bottom: 16px;
924
+ }
925
+
926
+ .task-summary-card {
927
+ flex: 1 1 140px;
928
+ display: flex;
929
+ flex-direction: column;
930
+ gap: 8px;
931
+ padding: 14px 16px;
932
+ background: var(--bg-card);
933
+ border: 1px solid var(--border-color);
934
+ border-left: 3px solid var(--color-muted);
935
+ border-radius: 10px;
936
+ min-width: 0;
937
+ }
938
+
939
+ .task-summary-card__label {
940
+ font-size: 0.6875rem;
941
+ font-weight: 600;
942
+ text-transform: uppercase;
943
+ letter-spacing: 0.06em;
944
+ color: var(--text-tertiary);
945
+ }
946
+
947
+ .task-summary-card__value {
948
+ font-size: 1.625rem;
949
+ font-weight: 700;
950
+ line-height: 1.1;
951
+ color: var(--text-primary);
952
+ font-variant-numeric: tabular-nums;
953
+ overflow-wrap: anywhere;
954
+ }
955
+
956
+ .task-summary-card__sub {
957
+ font-size: 0.75rem;
958
+ color: var(--text-tertiary);
959
+ margin-top: -4px;
960
+ }
961
+
962
+ .task-summary-card--done { border-left-color: var(--color-success); }
963
+ .task-summary-card--running { border-left-color: var(--color-running); }
964
+ .task-summary-card--errors { border-left-color: var(--color-failed); }
965
+ .task-summary-card--waiting { border-left-color: var(--color-waiting); }
966
+ .task-summary-card--input { border-left-color: var(--color-partial); }
967
+ .task-summary-card--review { border-left-color: var(--accent-purple); }
968
+
969
+ /* ---------- Tables ---------- */
970
+ .table-wrap {
971
+ overflow-x: auto;
972
+ min-width: 0;
973
+ }
974
+
975
+ .sessions-table,
976
+ .convoy-list-table {
977
+ width: 100%;
978
+ border-collapse: collapse;
979
+ font-size: 0.8125rem;
980
+ }
981
+
982
+ .sessions-table th,
983
+ .convoy-list-table th {
984
+ padding: 10px 14px;
985
+ font-size: 0.6875rem;
986
+ font-weight: 600;
987
+ color: var(--text-tertiary);
988
+ text-align: left;
989
+ text-transform: uppercase;
990
+ letter-spacing: 0.06em;
991
+ background: var(--bg-tertiary);
992
+ border-bottom: 1px solid var(--border-color);
993
+ white-space: nowrap;
994
+ }
995
+
996
+ .sessions-table td,
997
+ .convoy-list-table td {
998
+ padding: 9px 14px;
999
+ color: var(--text-secondary);
1000
+ border-bottom: 1px solid var(--line-soft);
1001
+ vertical-align: top;
1002
+ }
1003
+
1004
+ .sessions-table tbody tr:hover td,
1005
+ .convoy-list-table tbody tr:hover td {
1006
+ background: var(--bg-hover);
1007
+ }
1008
+
1009
+ .sessions-table .td-num,
1010
+ .sessions-table th.td-num,
1011
+ .convoy-list-table .td-num,
1012
+ .convoy-list-table th.td-num {
1013
+ text-align: right;
1014
+ font-variant-numeric: tabular-nums;
1015
+ white-space: nowrap;
1016
+ }
1017
+
1018
+ .td-nowrap {
1019
+ white-space: nowrap;
1020
+ }
1021
+
1022
+ .td-strong {
1023
+ font-weight: 600;
1024
+ color: var(--text-primary);
1025
+ }
1026
+
1027
+ .td-task {
1028
+ color: var(--text-primary);
1029
+ overflow-wrap: anywhere;
1030
+ min-width: 120px;
1031
+ }
1032
+
1033
+ .td-sub {
1034
+ display: block;
1035
+ color: var(--text-tertiary);
1036
+ font-size: 0.75rem;
1037
+ margin-top: 2px;
1038
+ overflow-wrap: anywhere;
1039
+ }
1040
+
1041
+ .td-reason {
1042
+ display: block;
1043
+ color: var(--color-failed);
1044
+ font-size: 0.75rem;
1045
+ margin-top: 3px;
1046
+ overflow-wrap: anywhere;
1047
+ }
1048
+
1049
+ .sortable-th {
1050
+ cursor: pointer;
1051
+ user-select: none;
1052
+ }
1053
+
1054
+ .sortable-th:hover {
1055
+ color: var(--text-secondary);
1056
+ }
1057
+
1058
+ .sortable-th--active {
1059
+ color: var(--text-primary);
1060
+ }
1061
+
1062
+ .sort-indicator {
1063
+ margin-left: 4px;
1064
+ font-size: 0.5625rem;
1065
+ opacity: 0.5;
1066
+ }
1067
+
1068
+ .sortable-th--active .sort-indicator {
1069
+ opacity: 1;
1070
+ color: var(--accent-blue);
1071
+ }
1072
+
1073
+ .sortable-th button {
1074
+ background: none;
1075
+ border: 0;
1076
+ padding: 0;
1077
+ font: inherit;
1078
+ color: inherit;
1079
+ text-transform: inherit;
1080
+ letter-spacing: inherit;
1081
+ cursor: pointer;
1082
+ }
1083
+
1084
+ .row-detail td {
1085
+ background: var(--bg-card);
1086
+ }
1087
+
1088
+ .output-tail {
1089
+ margin-top: 8px;
1090
+ padding: 10px 12px;
1091
+ border-radius: 8px;
1092
+ background: var(--bg-tertiary);
1093
+ border: 1px solid var(--border-color);
1094
+ font-family: var(--mono);
1095
+ font-size: 0.75rem;
1096
+ color: var(--text-secondary);
1097
+ white-space: pre-wrap;
1098
+ overflow-wrap: anywhere;
1099
+ max-height: 300px;
1100
+ overflow: auto;
1101
+ }
1102
+
1103
+ .toggle-btn {
1104
+ display: block;
1105
+ background: none;
1106
+ border: 0;
1107
+ padding: 0;
1108
+ margin-top: 4px;
1109
+ color: var(--text-accent);
1110
+ font-size: 0.75rem;
1111
+ cursor: pointer;
1112
+ }
1113
+
1114
+ .toggle-btn::before {
1115
+ content: '▸ ';
1116
+ }
1117
+
1118
+ .toggle-btn[aria-expanded="true"]::before {
1119
+ content: '▾ ';
1120
+ }
1121
+
1122
+ /* The task table carries ten columns: ids stay on one line, and the cells sit closer. */
1123
+ .task-table code {
1124
+ white-space: nowrap;
1125
+ }
1126
+
1127
+ .task-table th,
1128
+ .task-table td {
1129
+ padding-left: 10px;
1130
+ padding-right: 10px;
1131
+ }
1132
+
1133
+ /* ---------- Convoy list ---------- */
1134
+ .convoy-list-section {
1135
+ background: var(--bg-secondary);
1136
+ border: 1px solid var(--border-color);
1137
+ border-radius: 12px;
1138
+ min-width: 0;
1139
+ }
1140
+
1141
+ .convoy-list-section__header {
1142
+ padding: 20px 24px 12px;
1143
+ border-bottom: 1px solid var(--border-color);
1144
+ }
1145
+
1146
+ .convoy-list-section__header h2 {
1147
+ font-size: 0.9375rem;
1148
+ font-weight: 600;
1149
+ color: var(--text-primary);
1150
+ }
1151
+
1152
+ .convoy-list-section__desc {
1153
+ font-size: 0.75rem;
1154
+ color: var(--text-tertiary);
1155
+ margin-top: 2px;
1156
+ }
1157
+
1158
+ .convoy-list-filters {
1159
+ display: flex;
1160
+ flex-wrap: wrap;
1161
+ gap: 10px;
1162
+ align-items: flex-end;
1163
+ padding: 14px 24px;
1164
+ border-bottom: 1px solid var(--border-color);
1165
+ }
1166
+
1167
+ .convoy-list-filters__group {
1168
+ display: flex;
1169
+ flex-direction: column;
1170
+ gap: 4px;
1171
+ min-width: 0;
1172
+ }
1173
+
1174
+ .convoy-list-filters__group label {
1175
+ font-size: 0.6875rem;
1176
+ font-weight: 500;
1177
+ color: var(--text-tertiary);
1178
+ text-transform: uppercase;
1179
+ letter-spacing: 0.05em;
1180
+ }
1181
+
1182
+ .convoy-list-filters__input,
1183
+ .convoy-list-filters__select,
1184
+ .convoy-list-filters__date {
1185
+ height: 34px;
1186
+ padding: 0 10px;
1187
+ font: inherit;
1188
+ font-size: 0.8125rem;
1189
+ color: var(--text-primary);
1190
+ background: var(--bg-tertiary);
1191
+ border: 1px solid var(--border-color);
1192
+ border-radius: 8px;
1193
+ outline: none;
1194
+ min-width: 0;
1195
+ }
1196
+
1197
+ .convoy-list-filters__input:focus,
1198
+ .convoy-list-filters__select:focus,
1199
+ .convoy-list-filters__date:focus {
1200
+ border-color: var(--border-accent);
1201
+ }
1202
+
1203
+ .convoy-list-filters__input { width: 200px; }
1204
+ .convoy-list-filters__date { width: 150px; }
1205
+ .convoy-list-filters__select { min-width: 140px; }
1206
+
1207
+ .convoy-list-table tbody tr[data-run-id],
1208
+ .convoy-list-table tbody tr[data-pipeline-group-id] {
1209
+ cursor: pointer;
1210
+ }
1211
+
1212
+ .convoy-list-table tbody tr[data-run-id]:hover td:first-child {
1213
+ color: var(--text-accent);
1214
+ }
1215
+
1216
+ .convoy-list-table a.run-link {
1217
+ color: inherit;
1218
+ text-decoration: none;
1219
+ font-weight: 600;
1220
+ }
1221
+
1222
+ .convoy-chain-row td {
1223
+ background: color-mix(in srgb, var(--accent-purple) 5%, transparent);
1224
+ }
1225
+
1226
+ .convoy-chain-toggle {
1227
+ font-size: 0.75rem;
1228
+ margin-right: 6px;
1229
+ opacity: 0.7;
1230
+ }
1231
+
1232
+ .convoy-chain-child td:first-child {
1233
+ padding-left: 28px;
1234
+ }
1235
+
1236
+ .convoy-list-pagination {
1237
+ display: flex;
1238
+ align-items: center;
1239
+ justify-content: center;
1240
+ gap: 12px;
1241
+ padding: 14px 0;
1242
+ }
1243
+
1244
+ .convoy-list-pagination__info {
1245
+ font-size: 0.8125rem;
1246
+ color: var(--text-secondary);
1247
+ }
1248
+
1249
+ .convoy-list-empty {
1250
+ padding: 40px 24px;
1251
+ text-align: center;
1252
+ color: var(--text-tertiary);
1253
+ font-size: 0.875rem;
1254
+ }
1255
+
1256
+ /* ---------- Detail hero ---------- */
1257
+ .convoy-detail-hero {
1258
+ display: flex;
1259
+ flex-direction: column;
1260
+ gap: 12px;
1261
+ padding: 24px;
1262
+ background: var(--bg-secondary);
1263
+ border: 1px solid var(--border-color);
1264
+ border-radius: 12px;
1265
+ position: relative;
1266
+ overflow: hidden;
1267
+ min-width: 0;
1268
+ }
1269
+
1270
+ .convoy-detail-hero::before {
1271
+ content: '';
1272
+ position: absolute;
1273
+ top: 0;
1274
+ left: 0;
1275
+ right: 0;
1276
+ height: 2px;
1277
+ background: var(--gradient-accent);
1278
+ opacity: 0.7;
1279
+ pointer-events: none;
1280
+ }
1281
+
1282
+ .convoy-detail-hero__top {
1283
+ display: flex;
1284
+ align-items: flex-start;
1285
+ gap: 8px 14px;
1286
+ flex-wrap: wrap;
1287
+ justify-content: space-between;
1288
+ }
1289
+
1290
+ .convoy-detail-hero__title {
1291
+ font-size: 1.5rem;
1292
+ font-weight: 700;
1293
+ color: var(--text-primary);
1294
+ letter-spacing: -0.02em;
1295
+ line-height: 1.25;
1296
+ overflow-wrap: anywhere;
1297
+ }
1298
+
1299
+ .convoy-detail-hero__id {
1300
+ font-size: 0.8125rem;
1301
+ color: var(--text-tertiary);
1302
+ overflow-wrap: anywhere;
1303
+ }
1304
+
1305
+ .convoy-detail-hero__badges {
1306
+ display: flex;
1307
+ gap: 6px;
1308
+ flex-wrap: wrap;
1309
+ }
1310
+
1311
+ .convoy-detail-hero__badges .status-badge {
1312
+ padding: 0.25rem 0.8rem;
1313
+ font-size: 0.75rem;
1314
+ border-radius: 8px;
1315
+ }
1316
+
1317
+ .convoy-status-explanation {
1318
+ font-size: 0.8125rem;
1319
+ color: var(--text-secondary);
1320
+ }
1321
+
1322
+ .convoy-detail-hero__meta {
1323
+ display: grid;
1324
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
1325
+ gap: 12px 20px;
1326
+ padding-top: 14px;
1327
+ border-top: 1px solid var(--border-color);
1328
+ }
1329
+
1330
+ .convoy-detail-hero__meta-item {
1331
+ display: flex;
1332
+ flex-direction: column;
1333
+ gap: 2px;
1334
+ min-width: 0;
1335
+ }
1336
+
1337
+ .convoy-detail-hero__meta-label {
1338
+ font-size: 0.6875rem;
1339
+ font-weight: 500;
1340
+ color: var(--text-tertiary);
1341
+ text-transform: uppercase;
1342
+ letter-spacing: 0.05em;
1343
+ }
1344
+
1345
+ .convoy-detail-hero__meta-value {
1346
+ font-size: 0.875rem;
1347
+ color: var(--text-primary);
1348
+ font-variant-numeric: tabular-nums;
1349
+ overflow-wrap: anywhere;
1350
+ }
1351
+
1352
+ .pipeline-chain-nav {
1353
+ display: flex;
1354
+ align-items: center;
1355
+ gap: 0.5rem;
1356
+ flex-wrap: wrap;
1357
+ }
1358
+
1359
+ .pipeline-chain__label {
1360
+ font-size: 0.75rem;
1361
+ font-weight: 600;
1362
+ text-transform: uppercase;
1363
+ letter-spacing: 0.05em;
1364
+ color: var(--text-tertiary);
1365
+ }
1366
+
1367
+ .pipeline-chain__item {
1368
+ display: inline-flex;
1369
+ align-items: center;
1370
+ gap: 0.375rem;
1371
+ padding: 0.2rem 0.6rem;
1372
+ font-size: 0.8125rem;
1373
+ border-radius: 6px;
1374
+ border: 1px solid var(--border-color);
1375
+ background: var(--bg-secondary);
1376
+ color: var(--text-secondary);
1377
+ text-decoration: none;
1378
+ }
1379
+
1380
+ .pipeline-chain__item--active {
1381
+ border-color: var(--accent-blue);
1382
+ color: var(--text-primary);
1383
+ }
1384
+
1385
+ /* ---------- Dependency view ---------- */
1386
+ .deps-scroll {
1387
+ overflow-x: auto;
1388
+ padding-bottom: 4px;
1389
+ }
1390
+
1391
+ .deps-canvas {
1392
+ position: relative;
1393
+ display: flex;
1394
+ gap: 48px;
1395
+ align-items: flex-start;
1396
+ width: max-content;
1397
+ min-width: 100%;
1398
+ padding: 4px 2px;
1399
+ }
1400
+
1401
+ .deps-edges {
1402
+ position: absolute;
1403
+ inset: 0;
1404
+ width: 100%;
1405
+ height: 100%;
1406
+ pointer-events: none;
1407
+ overflow: visible;
1408
+ }
1409
+
1410
+ .deps-edges path {
1411
+ fill: none;
1412
+ stroke: var(--border-strong);
1413
+ stroke-width: 1.5;
1414
+ }
1415
+
1416
+ .deps-edges path.edge-blocked {
1417
+ stroke: color-mix(in srgb, var(--color-failed) 60%, transparent);
1418
+ stroke-dasharray: 4 3;
1419
+ }
1420
+
1421
+ .deps-col {
1422
+ display: flex;
1423
+ flex-direction: column;
1424
+ gap: 10px;
1425
+ min-width: 0;
1426
+ }
1427
+
1428
+ .deps-col__head {
1429
+ font-size: 0.6875rem;
1430
+ font-weight: 600;
1431
+ text-transform: uppercase;
1432
+ letter-spacing: 0.06em;
1433
+ color: var(--text-tertiary);
1434
+ white-space: nowrap;
1435
+ }
1436
+
1437
+ .deps-col__nodes {
1438
+ display: grid;
1439
+ grid-auto-flow: column;
1440
+ gap: 10px 14px;
1441
+ align-content: start;
1442
+ }
1443
+
1444
+ .dep-node {
1445
+ --node: var(--color-waiting);
1446
+ position: relative;
1447
+ z-index: 1;
1448
+ display: flex;
1449
+ flex-direction: column;
1450
+ gap: 2px;
1451
+ width: 200px;
1452
+ padding: 8px 10px 8px 12px;
1453
+ background: var(--bg-card);
1454
+ border: 1px solid var(--border-color);
1455
+ border-left: 3px solid var(--node);
1456
+ border-radius: 8px;
1457
+ text-decoration: none;
1458
+ color: inherit;
1459
+ }
1460
+
1461
+ .dep-node:hover {
1462
+ border-color: var(--border-strong);
1463
+ border-left-color: var(--node);
1464
+ }
1465
+
1466
+ .dep-node__id {
1467
+ font-size: 0.8125rem;
1468
+ font-weight: 600;
1469
+ color: var(--text-primary);
1470
+ white-space: nowrap;
1471
+ overflow: hidden;
1472
+ text-overflow: ellipsis;
1473
+ }
1474
+
1475
+ .dep-node__meta {
1476
+ display: flex;
1477
+ align-items: center;
1478
+ justify-content: space-between;
1479
+ gap: 8px;
1480
+ font-size: 0.75rem;
1481
+ color: var(--text-tertiary);
1482
+ min-width: 0;
1483
+ }
1484
+
1485
+ .dep-node__meta span:first-child {
1486
+ overflow: hidden;
1487
+ text-overflow: ellipsis;
1488
+ white-space: nowrap;
1489
+ }
1490
+
1491
+ .dep-node.tone-done { --node: var(--color-success); }
1492
+ .dep-node.tone-running { --node: var(--color-running); }
1493
+ .dep-node.tone-failed { --node: var(--color-failed); }
1494
+ .dep-node.tone-warn { --node: var(--color-partial); }
1495
+ .dep-node.tone-muted { --node: var(--color-waiting); }
1496
+
1497
+ .dep-node.tone-running {
1498
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-running) 15%, transparent);
1499
+ }
1500
+
1501
+ @media (max-width: 640px) {
1502
+ .deps-canvas {
1503
+ flex-direction: column;
1504
+ align-items: stretch;
1505
+ gap: 28px;
1506
+ width: 100%;
1507
+ }
1508
+
1509
+ .deps-col__nodes {
1510
+ grid-auto-flow: row;
1511
+ grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
1512
+ grid-template-rows: none !important;
1513
+ }
1514
+
1515
+ .dep-node {
1516
+ width: auto;
1517
+ }
1518
+ }
1519
+
1520
+ /* ---------- Execution log ---------- */
1521
+ .exec-log {
1522
+ display: flex;
1523
+ flex-direction: column;
1524
+ }
1525
+
1526
+ .exec-step {
1527
+ display: flex;
1528
+ gap: 14px;
1529
+ padding: 14px 0;
1530
+ min-width: 0;
1531
+ }
1532
+
1533
+ .exec-step + .exec-step {
1534
+ border-top: 1px solid var(--line-soft);
1535
+ }
1536
+
1537
+ .exec-step__indicator {
1538
+ display: flex;
1539
+ flex-direction: column;
1540
+ align-items: center;
1541
+ flex-shrink: 0;
1542
+ width: 28px;
1543
+ }
1544
+
1545
+ .exec-step__dot {
1546
+ --badge: var(--color-waiting);
1547
+ width: 24px;
1548
+ height: 24px;
1549
+ border-radius: 50%;
1550
+ display: flex;
1551
+ align-items: center;
1552
+ justify-content: center;
1553
+ font-size: 0.6875rem;
1554
+ font-weight: 700;
1555
+ color: var(--badge);
1556
+ background: color-mix(in srgb, var(--badge) 14%, transparent);
1557
+ border: 1.5px solid color-mix(in srgb, var(--badge) 30%, transparent);
1558
+ }
1559
+
1560
+ .exec-step__content {
1561
+ flex: 1;
1562
+ min-width: 0;
1563
+ }
1564
+
1565
+ .exec-step__header {
1566
+ display: flex;
1567
+ align-items: center;
1568
+ gap: 8px;
1569
+ flex-wrap: wrap;
1570
+ }
1571
+
1572
+ .exec-step__agent {
1573
+ font-size: 0.875rem;
1574
+ font-weight: 600;
1575
+ color: var(--text-primary);
1576
+ }
1577
+
1578
+ .exec-step__task {
1579
+ font-size: 0.8125rem;
1580
+ color: var(--text-secondary);
1581
+ margin-top: 2px;
1582
+ overflow-wrap: anywhere;
1583
+ }
1584
+
1585
+ .exec-step__meta {
1586
+ display: flex;
1587
+ flex-wrap: wrap;
1588
+ gap: 4px 16px;
1589
+ margin-top: 6px;
1590
+ font-size: 0.75rem;
1591
+ color: var(--text-tertiary);
1592
+ }
1593
+
1594
+ .exec-step__meta b {
1595
+ color: var(--text-secondary);
1596
+ font-weight: 600;
1597
+ }
1598
+
1599
+ .exec-step__note {
1600
+ font-size: 0.75rem;
1601
+ color: var(--text-secondary);
1602
+ margin-top: 4px;
1603
+ overflow-wrap: anywhere;
1604
+ }
1605
+
1606
+ /* ---------- Panel reviews ---------- */
1607
+ .panel-grid {
1608
+ display: grid;
1609
+ grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
1610
+ gap: 12px;
1611
+ }
1612
+
1613
+ .panel-item {
1614
+ background: var(--bg-tertiary);
1615
+ border-radius: 8px;
1616
+ padding: 14px;
1617
+ display: flex;
1618
+ flex-direction: column;
1619
+ gap: 8px;
1620
+ border: 1px solid var(--line-soft);
1621
+ min-width: 0;
1622
+ }
1623
+
1624
+ .panel-item__header {
1625
+ display: flex;
1626
+ align-items: center;
1627
+ justify-content: space-between;
1628
+ gap: 8px;
1629
+ }
1630
+
1631
+ .panel-item__key {
1632
+ font-size: 0.8125rem;
1633
+ font-weight: 600;
1634
+ color: var(--text-primary);
1635
+ overflow: hidden;
1636
+ text-overflow: ellipsis;
1637
+ white-space: nowrap;
1638
+ }
1639
+
1640
+ .panel-item__votes {
1641
+ display: flex;
1642
+ gap: 4px;
1643
+ }
1644
+
1645
+ .panel-item__vote {
1646
+ --badge: var(--color-success);
1647
+ width: 24px;
1648
+ height: 24px;
1649
+ border-radius: 50%;
1650
+ display: flex;
1651
+ align-items: center;
1652
+ justify-content: center;
1653
+ font-size: 0.6875rem;
1654
+ font-weight: 700;
1655
+ color: var(--badge);
1656
+ background: color-mix(in srgb, var(--badge) 14%, transparent);
1657
+ border: 1px solid color-mix(in srgb, var(--badge) 28%, transparent);
1658
+ }
1659
+
1660
+ .panel-item__vote--block {
1661
+ --badge: var(--color-failed);
1662
+ }
1663
+
1664
+ .panel-item__meta {
1665
+ display: flex;
1666
+ flex-wrap: wrap;
1667
+ gap: 4px 10px;
1668
+ padding-top: 8px;
1669
+ border-top: 1px solid var(--border-color);
1670
+ font-size: 0.6875rem;
1671
+ color: var(--text-tertiary);
1672
+ }
1673
+
1674
+ /* ---------- Event timeline ---------- */
1675
+ .timeline-filters {
1676
+ display: flex;
1677
+ gap: 8px;
1678
+ flex-wrap: wrap;
1679
+ margin-bottom: 14px;
1680
+ }
1681
+
1682
+ .timeline-filter-chip {
1683
+ display: inline-flex;
1684
+ align-items: center;
1685
+ gap: 6px;
1686
+ padding: 5px 12px;
1687
+ border-radius: 20px;
1688
+ border: 1px solid var(--border-color);
1689
+ background: transparent;
1690
+ color: var(--text-secondary);
1691
+ font-size: 0.8125rem;
1692
+ font-weight: 500;
1693
+ cursor: pointer;
1694
+ }
1695
+
1696
+ .timeline-filter-chip:hover {
1697
+ border-color: var(--border-strong);
1698
+ color: var(--text-primary);
1699
+ }
1700
+
1701
+ .timeline-filter-chip[aria-pressed="true"] {
1702
+ background: var(--accent-indigo);
1703
+ border-color: var(--accent-indigo);
1704
+ color: #fff;
1705
+ }
1706
+
1707
+ .timeline-filter-chip__count {
1708
+ font-variant-numeric: tabular-nums;
1709
+ opacity: 0.75;
1710
+ }
1711
+
1712
+ .event-timeline-list {
1713
+ border: 1px solid var(--border-color);
1714
+ border-radius: 10px;
1715
+ max-height: 560px;
1716
+ overflow: auto;
1717
+ }
1718
+
1719
+ .event-timeline-row + .event-timeline-row {
1720
+ border-top: 1px solid var(--line-soft);
1721
+ }
1722
+
1723
+ .event-timeline-row__main {
1724
+ display: flex;
1725
+ align-items: center;
1726
+ gap: 6px 12px;
1727
+ flex-wrap: wrap;
1728
+ width: 100%;
1729
+ padding: 9px 14px;
1730
+ background: none;
1731
+ border: 0;
1732
+ text-align: left;
1733
+ cursor: pointer;
1734
+ color: inherit;
1735
+ min-width: 0;
1736
+ }
1737
+
1738
+ .event-timeline-row__main:hover {
1739
+ background: var(--bg-hover);
1740
+ }
1741
+
1742
+ .event-timeline-row--problem .event-timeline-row__main {
1743
+ background: color-mix(in srgb, var(--color-failed) 7%, transparent);
1744
+ }
1745
+
1746
+ .event-timeline-ts {
1747
+ font-size: 0.8125rem;
1748
+ color: var(--text-secondary);
1749
+ font-variant-numeric: tabular-nums;
1750
+ font-family: var(--mono);
1751
+ white-space: nowrap;
1752
+ }
1753
+
1754
+ .event-type-badge {
1755
+ --cat: var(--cat-other);
1756
+ display: inline-block;
1757
+ padding: 2px 8px;
1758
+ border-radius: 4px;
1759
+ font-size: 0.6875rem;
1760
+ font-weight: 600;
1761
+ letter-spacing: 0.02em;
1762
+ color: var(--cat);
1763
+ background: color-mix(in srgb, var(--cat) 14%, transparent);
1764
+ border: 1px solid color-mix(in srgb, var(--cat) 28%, transparent);
1765
+ overflow-wrap: anywhere;
1766
+ }
1767
+
1768
+ .cat-run { --cat: var(--cat-run); }
1769
+ .cat-task { --cat: var(--cat-task); }
1770
+ .cat-check { --cat: var(--cat-check); }
1771
+ .cat-review { --cat: var(--cat-review); }
1772
+ .cat-merge { --cat: var(--cat-merge); }
1773
+ .cat-other { --cat: var(--cat-other); }
1774
+
1775
+ .event-timeline-context {
1776
+ font-size: 0.8125rem;
1777
+ color: var(--text-tertiary);
1778
+ font-family: var(--mono);
1779
+ overflow-wrap: anywhere;
1780
+ }
1781
+
1782
+ .event-timeline-summary {
1783
+ font-size: 0.75rem;
1784
+ color: var(--text-tertiary);
1785
+ overflow-wrap: anywhere;
1786
+ flex-basis: 100%;
1787
+ }
1788
+
1789
+ .event-timeline-detail {
1790
+ margin: 0 14px 12px;
1791
+ }
1792
+
1793
+ .event-timeline-json {
1794
+ padding: 10px 12px;
1795
+ border-radius: 8px;
1796
+ background: var(--bg-tertiary);
1797
+ border: 1px solid var(--border-color);
1798
+ font-family: var(--mono);
1799
+ font-size: 0.75rem;
1800
+ color: var(--text-secondary);
1801
+ white-space: pre-wrap;
1802
+ overflow-wrap: anywhere;
1803
+ max-height: 300px;
1804
+ overflow: auto;
1805
+ }
1806
+
1807
+ .event-timeline-more {
1808
+ display: flex;
1809
+ align-items: center;
1810
+ justify-content: center;
1811
+ gap: 12px;
1812
+ padding: 14px 0 0;
1813
+ font-size: 0.8125rem;
1814
+ color: var(--text-tertiary);
1815
+ flex-wrap: wrap;
1816
+ }
1817
+
1818
+ /* ---------- Empty states ---------- */
1819
+ .empty-state {
1820
+ display: flex;
1821
+ flex-direction: column;
1822
+ align-items: center;
1823
+ justify-content: center;
1824
+ padding: 36px 20px;
1825
+ text-align: center;
1826
+ gap: 10px;
1827
+ border: 1px dashed var(--border-accent);
1828
+ border-radius: 12px;
1829
+ background: var(--bg-card);
1830
+ }
1831
+
1832
+ .empty-state__icon-wrap {
1833
+ width: 56px;
1834
+ height: 56px;
1835
+ display: flex;
1836
+ align-items: center;
1837
+ justify-content: center;
1838
+ border-radius: 14px;
1839
+ background: color-mix(in srgb, var(--accent-purple) 8%, transparent);
1840
+ border: 1px solid color-mix(in srgb, var(--accent-purple) 18%, transparent);
1841
+ color: var(--text-accent);
1842
+ }
1843
+
1844
+ .empty-state__title {
1845
+ font-size: 0.9375rem;
1846
+ font-weight: 600;
1847
+ color: var(--text-secondary);
1848
+ }
1849
+
1850
+ .empty-state__desc {
1851
+ font-size: 0.8125rem;
1852
+ color: var(--text-tertiary);
1853
+ max-width: 420px;
1854
+ line-height: 1.55;
1855
+ }
1856
+
1857
+ .reliability-empty {
1858
+ font-size: 0.875rem;
1859
+ color: var(--text-tertiary);
1860
+ padding: 8px 0;
1861
+ }
1862
+
1863
+ .plain-list {
1864
+ list-style: none;
1865
+ display: flex;
1866
+ flex-direction: column;
1867
+ gap: 8px;
1868
+ font-size: 0.8125rem;
1869
+ color: var(--text-secondary);
1870
+ }
1871
+
1872
+ .plain-list li {
1873
+ overflow-wrap: anywhere;
1874
+ }
1875
+
1876
+ .secret-leak-banner {
1877
+ display: flex;
1878
+ gap: 12px;
1879
+ padding: 12px 16px;
1880
+ margin-top: 16px;
1881
+ border-radius: 8px;
1882
+ border: 1px solid color-mix(in srgb, var(--color-partial) 35%, transparent);
1883
+ background: color-mix(in srgb, var(--color-partial) 10%, transparent);
1884
+ font-size: 0.8125rem;
1885
+ color: var(--text-secondary);
1886
+ }
1887
+
1888
+ .secret-leak-banner strong {
1889
+ color: var(--color-partial);
1890
+ }
1891
+
1892
+ /* ---------- Footer ---------- */
1893
+ .dash-footer {
1894
+ max-width: var(--max-width);
1895
+ margin: 0 auto;
1896
+ padding: 8px 24px 32px;
1897
+ font-size: 0.75rem;
1898
+ color: var(--text-tertiary);
1899
+ }
1900
+
1901
+ /* ---------- Focus ---------- */
1902
+ .dash-btn:focus-visible,
1903
+ .run-picker:focus-visible,
1904
+ .convoy-list-filters__input:focus-visible,
1905
+ .convoy-list-filters__select:focus-visible,
1906
+ .convoy-list-filters__date:focus-visible,
1907
+ .dash-sidebar__link:focus-visible,
1908
+ .timeline-filter-chip:focus-visible,
1909
+ .toggle-btn:focus-visible,
1910
+ .link-btn:focus-visible,
1911
+ .event-timeline-row__main:focus-visible,
1912
+ .dep-node:focus-visible,
1913
+ .convoy-list-table a:focus-visible,
1914
+ .sortable-th button:focus-visible {
1915
+ outline: 2px solid var(--accent-blue);
1916
+ outline-offset: 2px;
1917
+ }
1918
+
1919
+ /* ---------- Responsive ---------- */
1920
+ @media (max-width: 960px) {
1921
+ .overall-stats__grid {
1922
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1923
+ }
1924
+ }
1925
+
1926
+ @media (max-width: 760px) {
1927
+ .dash-header__inner {
1928
+ padding: 8px 16px;
1929
+ }
1930
+
1931
+ .dash-main {
1932
+ padding: 16px;
1933
+ gap: 16px;
1934
+ }
1935
+
1936
+ .overall-stats__grid {
1937
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1938
+ }
1939
+
1940
+ .chart-card__header {
1941
+ padding: 16px 16px 6px;
1942
+ }
1943
+
1944
+ .chart-card__body {
1945
+ padding: 12px 16px 16px;
1946
+ }
1947
+
1948
+ .convoy-detail-hero {
1949
+ padding: 16px;
1950
+ }
1951
+
1952
+ .convoy-detail-hero__title {
1953
+ font-size: 1.25rem;
1954
+ }
1955
+
1956
+ .convoy-list-section__header {
1957
+ padding: 16px 16px 12px;
1958
+ }
1959
+
1960
+ .convoy-list-filters {
1961
+ padding: 12px 16px;
1962
+ gap: 8px;
1963
+ }
1964
+
1965
+ .convoy-list-filters__group {
1966
+ flex: 1 1 calc(50% - 4px);
1967
+ }
1968
+
1969
+ .convoy-list-filters__input,
1970
+ .convoy-list-filters__select,
1971
+ .convoy-list-filters__date {
1972
+ width: 100%;
1973
+ min-width: 0;
1974
+ }
1975
+
1976
+ .convoy-list-filters__reset {
1977
+ flex: 1 1 100%;
1978
+ }
1979
+
1980
+ .bar-label {
1981
+ width: 100px;
1982
+ font-size: 0.75rem;
1983
+ }
1984
+
1985
+ .donut-wrap {
1986
+ width: 140px;
1987
+ height: 140px;
1988
+ }
1989
+
1990
+ .run-picker {
1991
+ max-width: 100%;
1992
+ flex: 1 1 160px;
1993
+ }
1994
+
1995
+ /* Tables become one card per row, every cell labelled, so nothing hides off to the side. */
1996
+ table.cards,
1997
+ table.cards tbody,
1998
+ table.cards tr,
1999
+ table.cards td {
2000
+ display: block;
2001
+ }
2002
+
2003
+ table.cards thead {
2004
+ display: none;
2005
+ }
2006
+
2007
+ table.cards tr {
2008
+ display: grid;
2009
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2010
+ gap: 6px 12px;
2011
+ padding: 12px 16px;
2012
+ border-bottom: 1px solid var(--border-color);
2013
+ }
2014
+
2015
+ table.cards td {
2016
+ border: 0;
2017
+ padding: 0;
2018
+ text-align: left !important;
2019
+ white-space: normal;
2020
+ min-width: 0;
2021
+ }
2022
+
2023
+ table.cards td.card-key {
2024
+ grid-column: 1 / -1;
2025
+ order: -1;
2026
+ font-weight: 600;
2027
+ color: var(--text-primary);
2028
+ }
2029
+
2030
+ table.cards td.card-wide {
2031
+ grid-column: 1 / -1;
2032
+ }
2033
+
2034
+ table.cards td[data-label]::before {
2035
+ content: attr(data-label);
2036
+ display: block;
2037
+ color: var(--text-tertiary);
2038
+ font-size: 0.6875rem;
2039
+ text-transform: uppercase;
2040
+ letter-spacing: 0.05em;
2041
+ }
2042
+
2043
+ table.cards tr.row-detail {
2044
+ display: block;
2045
+ }
2046
+
2047
+ table.cards tr.row-detail td {
2048
+ background: none;
2049
+ }
2050
+
2051
+ .convoy-chain-child td:first-child {
2052
+ padding-left: 0;
2053
+ }
2054
+
2055
+ .event-timeline-list {
2056
+ max-height: 480px;
2057
+ }
2058
+ }
2059
+
2060
+ @media (max-width: 420px) {
2061
+ .overall-kpi__value {
2062
+ font-size: 1.125rem;
2063
+ }
2064
+
2065
+ .task-summary-card {
2066
+ flex-basis: calc(50% - 6px);
2067
+ }
2068
+
2069
+ .task-summary-card__value {
2070
+ font-size: 1.375rem;
2071
+ }
2072
+
2073
+ .dash-header__title {
2074
+ font-size: 0.9375rem;
2075
+ }
2076
+ }
2077
+
2078
+ @media (prefers-reduced-motion: reduce) {
2079
+ .live-dot {
2080
+ animation: none;
2081
+ }
2082
+
2083
+ .bar-segment {
2084
+ transition: none;
2085
+ }
2086
+ }