@skillcdn/console 0.5.0 → 0.5.2

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 (490) hide show
  1. package/README.md +87 -12
  2. package/SKILLCDN.md +3 -3
  3. package/dist/agent-page.d.ts.map +1 -1
  4. package/dist/agent-page.js +7 -6
  5. package/dist/agent-page.js.map +1 -1
  6. package/dist/api.d.ts +9 -7
  7. package/dist/api.d.ts.map +1 -1
  8. package/dist/api.js +8 -6
  9. package/dist/api.js.map +1 -1
  10. package/dist/charts.d.ts +103 -0
  11. package/dist/charts.d.ts.map +1 -0
  12. package/dist/charts.js +182 -0
  13. package/dist/charts.js.map +1 -0
  14. package/dist/cli/cli.d.ts +58 -2
  15. package/dist/cli/cli.d.ts.map +1 -1
  16. package/dist/cli/cli.js +1742 -472
  17. package/dist/cli/cli.js.map +1 -1
  18. package/dist/cli/command-words.d.ts +20 -0
  19. package/dist/cli/command-words.d.ts.map +1 -0
  20. package/dist/cli/command-words.js +51 -0
  21. package/dist/cli/command-words.js.map +1 -0
  22. package/dist/cli/credentials.d.ts +54 -5
  23. package/dist/cli/credentials.d.ts.map +1 -1
  24. package/dist/cli/credentials.js +126 -20
  25. package/dist/cli/credentials.js.map +1 -1
  26. package/dist/cli/directory.d.ts +19 -4
  27. package/dist/cli/directory.d.ts.map +1 -1
  28. package/dist/cli/directory.js +16 -8
  29. package/dist/cli/directory.js.map +1 -1
  30. package/dist/cli/format.d.ts +70 -9
  31. package/dist/cli/format.d.ts.map +1 -1
  32. package/dist/cli/format.js +267 -40
  33. package/dist/cli/format.js.map +1 -1
  34. package/dist/cli/help.d.ts +13 -4
  35. package/dist/cli/help.d.ts.map +1 -1
  36. package/dist/cli/help.js +101 -58
  37. package/dist/cli/help.js.map +1 -1
  38. package/dist/cli/machine-check.d.ts +36 -0
  39. package/dist/cli/machine-check.d.ts.map +1 -0
  40. package/dist/cli/machine-check.js +151 -0
  41. package/dist/cli/machine-check.js.map +1 -0
  42. package/dist/cli/main.js +76 -2
  43. package/dist/cli/main.js.map +1 -1
  44. package/dist/cli/pack.d.ts +69 -60
  45. package/dist/cli/pack.d.ts.map +1 -1
  46. package/dist/cli/pack.js +241 -270
  47. package/dist/cli/pack.js.map +1 -1
  48. package/dist/cli/plugin-check.d.ts +42 -0
  49. package/dist/cli/plugin-check.d.ts.map +1 -1
  50. package/dist/cli/plugin-check.js +221 -36
  51. package/dist/cli/plugin-check.js.map +1 -1
  52. package/dist/cli/plugin-cli.d.ts +6 -1
  53. package/dist/cli/plugin-cli.d.ts.map +1 -1
  54. package/dist/cli/plugin-cli.js +21 -4
  55. package/dist/cli/plugin-cli.js.map +1 -1
  56. package/dist/cli/plugin-main.js +1 -0
  57. package/dist/cli/plugin-main.js.map +1 -1
  58. package/dist/cli/runner-host.d.ts +7 -0
  59. package/dist/cli/runner-host.d.ts.map +1 -1
  60. package/dist/cli/runner-host.js +2 -0
  61. package/dist/cli/runner-host.js.map +1 -1
  62. package/dist/cli/secret-notes.d.ts +8 -0
  63. package/dist/cli/secret-notes.d.ts.map +1 -0
  64. package/dist/cli/secret-notes.js +48 -0
  65. package/dist/cli/secret-notes.js.map +1 -0
  66. package/dist/cli/serve.d.ts +33 -1
  67. package/dist/cli/serve.d.ts.map +1 -1
  68. package/dist/cli/serve.js +252 -3
  69. package/dist/cli/serve.js.map +1 -1
  70. package/dist/client.d.ts +54 -9
  71. package/dist/client.d.ts.map +1 -1
  72. package/dist/client.js +77 -80
  73. package/dist/client.js.map +1 -1
  74. package/dist/components/agent-page.d.ts +164 -8
  75. package/dist/components/agent-page.d.ts.map +1 -1
  76. package/dist/components/agent-page.js +588 -151
  77. package/dist/components/agent-page.js.map +1 -1
  78. package/dist/components/agents.d.ts.map +1 -1
  79. package/dist/components/agents.js +1 -1
  80. package/dist/components/agents.js.map +1 -1
  81. package/dist/components/board.d.ts.map +1 -1
  82. package/dist/components/board.js +3 -2
  83. package/dist/components/board.js.map +1 -1
  84. package/dist/components/categories.js +1 -1
  85. package/dist/components/categories.js.map +1 -1
  86. package/dist/components/charts.d.ts +157 -0
  87. package/dist/components/charts.d.ts.map +1 -0
  88. package/dist/components/charts.js +182 -0
  89. package/dist/components/charts.js.map +1 -0
  90. package/dist/components/decision-list.d.ts.map +1 -1
  91. package/dist/components/decision-list.js +1 -1
  92. package/dist/components/decision-list.js.map +1 -1
  93. package/dist/components/desk-records.d.ts +102 -0
  94. package/dist/components/desk-records.d.ts.map +1 -0
  95. package/dist/components/desk-records.js +221 -0
  96. package/dist/components/desk-records.js.map +1 -0
  97. package/dist/components/desk.d.ts +85 -0
  98. package/dist/components/desk.d.ts.map +1 -0
  99. package/dist/components/desk.js +135 -0
  100. package/dist/components/desk.js.map +1 -0
  101. package/dist/components/event-feed.d.ts.map +1 -1
  102. package/dist/components/event-feed.js +7 -3
  103. package/dist/components/event-feed.js.map +1 -1
  104. package/dist/components/goals.d.ts +2 -0
  105. package/dist/components/goals.d.ts.map +1 -1
  106. package/dist/components/goals.js +1 -1
  107. package/dist/components/goals.js.map +1 -1
  108. package/dist/components/home.d.ts.map +1 -1
  109. package/dist/components/home.js +14 -6
  110. package/dist/components/home.js.map +1 -1
  111. package/dist/components/icon.d.ts +31 -0
  112. package/dist/components/icon.d.ts.map +1 -0
  113. package/dist/components/icon.js +169 -0
  114. package/dist/components/icon.js.map +1 -0
  115. package/dist/components/markdown.d.ts +6 -0
  116. package/dist/components/markdown.d.ts.map +1 -1
  117. package/dist/components/markdown.js +10 -2
  118. package/dist/components/markdown.js.map +1 -1
  119. package/dist/components/people.js +1 -1
  120. package/dist/components/people.js.map +1 -1
  121. package/dist/components/plugin-frame.d.ts.map +1 -1
  122. package/dist/components/plugin-frame.js +7 -0
  123. package/dist/components/plugin-frame.js.map +1 -1
  124. package/dist/components/plugin-settings.d.ts.map +1 -1
  125. package/dist/components/plugin-settings.js +54 -3
  126. package/dist/components/plugin-settings.js.map +1 -1
  127. package/dist/components/projects.d.ts +17 -4
  128. package/dist/components/projects.d.ts.map +1 -1
  129. package/dist/components/projects.js +51 -12
  130. package/dist/components/projects.js.map +1 -1
  131. package/dist/components/rules.d.ts +8 -10
  132. package/dist/components/rules.d.ts.map +1 -1
  133. package/dist/components/rules.js +35 -13
  134. package/dist/components/rules.js.map +1 -1
  135. package/dist/components/sessions.d.ts.map +1 -1
  136. package/dist/components/sessions.js +3 -2
  137. package/dist/components/sessions.js.map +1 -1
  138. package/dist/components/setup.d.ts +9 -3
  139. package/dist/components/setup.d.ts.map +1 -1
  140. package/dist/components/setup.js +12 -6
  141. package/dist/components/setup.js.map +1 -1
  142. package/dist/components/shell.d.ts.map +1 -1
  143. package/dist/components/shell.js +3 -2
  144. package/dist/components/shell.js.map +1 -1
  145. package/dist/components/tokens.js +1 -1
  146. package/dist/components/tokens.js.map +1 -1
  147. package/dist/components/ui.d.ts +5 -2
  148. package/dist/components/ui.d.ts.map +1 -1
  149. package/dist/components/ui.js +10 -7
  150. package/dist/components/ui.js.map +1 -1
  151. package/dist/connect-page.js +1 -1
  152. package/dist/connect-page.js.map +1 -1
  153. package/dist/console.css +1172 -106
  154. package/dist/console.d.ts +5 -0
  155. package/dist/console.d.ts.map +1 -1
  156. package/dist/console.js +52 -39
  157. package/dist/console.js.map +1 -1
  158. package/dist/data.d.ts.map +1 -1
  159. package/dist/data.js +32 -33
  160. package/dist/data.js.map +1 -1
  161. package/dist/desk-page.d.ts +38 -0
  162. package/dist/desk-page.d.ts.map +1 -0
  163. package/dist/desk-page.js +184 -0
  164. package/dist/desk-page.js.map +1 -0
  165. package/dist/desk-records-page.d.ts +18 -0
  166. package/dist/desk-records-page.d.ts.map +1 -0
  167. package/dist/desk-records-page.js +130 -0
  168. package/dist/desk-records-page.js.map +1 -0
  169. package/dist/desk-records.d.ts +247 -0
  170. package/dist/desk-records.d.ts.map +1 -0
  171. package/dist/desk-records.js +543 -0
  172. package/dist/desk-records.js.map +1 -0
  173. package/dist/desk.d.ts +122 -0
  174. package/dist/desk.d.ts.map +1 -0
  175. package/dist/desk.js +211 -0
  176. package/dist/desk.js.map +1 -0
  177. package/dist/feed-stream.d.ts +39 -0
  178. package/dist/feed-stream.d.ts.map +1 -0
  179. package/dist/feed-stream.js +117 -0
  180. package/dist/feed-stream.js.map +1 -0
  181. package/dist/home-tiles.d.ts +19 -3
  182. package/dist/home-tiles.d.ts.map +1 -1
  183. package/dist/home-tiles.js +147 -42
  184. package/dist/home-tiles.js.map +1 -1
  185. package/dist/i18n/en.d.ts +228 -6
  186. package/dist/i18n/en.d.ts.map +1 -1
  187. package/dist/i18n/en.js +309 -9
  188. package/dist/i18n/en.js.map +1 -1
  189. package/dist/i18n/ko.d.ts.map +1 -1
  190. package/dist/i18n/ko.js +366 -85
  191. package/dist/i18n/ko.js.map +1 -1
  192. package/dist/i18n/particles.d.ts +7 -0
  193. package/dist/i18n/particles.d.ts.map +1 -0
  194. package/dist/i18n/particles.js +72 -0
  195. package/dist/i18n/particles.js.map +1 -0
  196. package/dist/icons/glyphs.d.ts +605 -0
  197. package/dist/icons/glyphs.d.ts.map +1 -0
  198. package/dist/icons/glyphs.js +104 -0
  199. package/dist/icons/glyphs.js.map +1 -0
  200. package/dist/icons/index.d.ts +59 -0
  201. package/dist/icons/index.d.ts.map +1 -0
  202. package/dist/icons/index.js +157 -0
  203. package/dist/icons/index.js.map +1 -0
  204. package/dist/index.d.ts +9 -0
  205. package/dist/index.d.ts.map +1 -1
  206. package/dist/index.js +9 -0
  207. package/dist/index.js.map +1 -1
  208. package/dist/limits.d.ts +20 -0
  209. package/dist/limits.d.ts.map +1 -1
  210. package/dist/limits.js +20 -0
  211. package/dist/limits.js.map +1 -1
  212. package/dist/marks.d.ts +9 -0
  213. package/dist/marks.d.ts.map +1 -1
  214. package/dist/marks.js +9 -0
  215. package/dist/marks.js.map +1 -1
  216. package/dist/onboarding.d.ts +6 -0
  217. package/dist/onboarding.d.ts.map +1 -1
  218. package/dist/onboarding.js +5 -5
  219. package/dist/onboarding.js.map +1 -1
  220. package/dist/plugin/context.d.ts +42 -11
  221. package/dist/plugin/context.d.ts.map +1 -1
  222. package/dist/plugin/limits.d.ts +2 -0
  223. package/dist/plugin/limits.d.ts.map +1 -1
  224. package/dist/plugin/limits.js +2 -0
  225. package/dist/plugin/limits.js.map +1 -1
  226. package/dist/plugin/manifest.d.ts +13 -0
  227. package/dist/plugin/manifest.d.ts.map +1 -1
  228. package/dist/plugin/manifest.js +30 -3
  229. package/dist/plugin/manifest.js.map +1 -1
  230. package/dist/plugin/rest-schemas.d.ts +55 -0
  231. package/dist/plugin/rest-schemas.d.ts.map +1 -1
  232. package/dist/plugin/rest-schemas.js +37 -0
  233. package/dist/plugin/rest-schemas.js.map +1 -1
  234. package/dist/plugin/sandbox.d.ts.map +1 -1
  235. package/dist/plugin/sandbox.js +4 -1
  236. package/dist/plugin/sandbox.js.map +1 -1
  237. package/dist/plugin/testing.d.ts +6 -2
  238. package/dist/plugin/testing.d.ts.map +1 -1
  239. package/dist/plugin/testing.js +52 -10
  240. package/dist/plugin/testing.js.map +1 -1
  241. package/dist/plugin/web.d.ts +3 -0
  242. package/dist/plugin/web.d.ts.map +1 -1
  243. package/dist/plugin/web.js +5 -1
  244. package/dist/plugin/web.js.map +1 -1
  245. package/dist/plugin.d.ts +1 -1
  246. package/dist/plugin.d.ts.map +1 -1
  247. package/dist/plugin.js +1 -1
  248. package/dist/plugin.js.map +1 -1
  249. package/dist/records.d.ts +283 -0
  250. package/dist/records.d.ts.map +1 -0
  251. package/dist/records.js +543 -0
  252. package/dist/records.js.map +1 -0
  253. package/dist/routes.d.ts +3 -1
  254. package/dist/routes.d.ts.map +1 -1
  255. package/dist/routes.js +3 -1
  256. package/dist/routes.js.map +1 -1
  257. package/dist/rules.d.ts +30 -11
  258. package/dist/rules.d.ts.map +1 -1
  259. package/dist/rules.js +98 -45
  260. package/dist/rules.js.map +1 -1
  261. package/dist/runner/acp.d.ts +1 -1
  262. package/dist/runner/acp.d.ts.map +1 -1
  263. package/dist/runner/acp.js +32 -21
  264. package/dist/runner/acp.js.map +1 -1
  265. package/dist/runner/awake.d.ts +35 -0
  266. package/dist/runner/awake.d.ts.map +1 -0
  267. package/dist/runner/awake.js +95 -0
  268. package/dist/runner/awake.js.map +1 -0
  269. package/dist/runner/claude.d.ts +1 -1
  270. package/dist/runner/claude.d.ts.map +1 -1
  271. package/dist/runner/claude.js +100 -18
  272. package/dist/runner/claude.js.map +1 -1
  273. package/dist/runner/codex.d.ts +1 -1
  274. package/dist/runner/codex.d.ts.map +1 -1
  275. package/dist/runner/codex.js +20 -17
  276. package/dist/runner/codex.js.map +1 -1
  277. package/dist/runner/config.d.ts +5 -0
  278. package/dist/runner/config.d.ts.map +1 -1
  279. package/dist/runner/config.js +9 -0
  280. package/dist/runner/config.js.map +1 -1
  281. package/dist/runner/desk.d.ts +43 -2
  282. package/dist/runner/desk.d.ts.map +1 -1
  283. package/dist/runner/desk.js +168 -13
  284. package/dist/runner/desk.js.map +1 -1
  285. package/dist/runner/process.d.ts.map +1 -1
  286. package/dist/runner/process.js +11 -4
  287. package/dist/runner/process.js.map +1 -1
  288. package/dist/runner/redact.d.ts +39 -4
  289. package/dist/runner/redact.d.ts.map +1 -1
  290. package/dist/runner/redact.js +81 -5
  291. package/dist/runner/redact.js.map +1 -1
  292. package/dist/runner/runner.d.ts +28 -3
  293. package/dist/runner/runner.d.ts.map +1 -1
  294. package/dist/runner/runner.js +371 -54
  295. package/dist/runner/runner.js.map +1 -1
  296. package/dist/runner/slack.d.ts.map +1 -1
  297. package/dist/runner/slack.js +10 -4
  298. package/dist/runner/slack.js.map +1 -1
  299. package/dist/runner/task-scheduler.d.ts +20 -0
  300. package/dist/runner/task-scheduler.d.ts.map +1 -1
  301. package/dist/runner/task-scheduler.js +34 -4
  302. package/dist/runner/task-scheduler.js.map +1 -1
  303. package/dist/runner/types.d.ts +51 -1
  304. package/dist/runner/types.d.ts.map +1 -1
  305. package/dist/runner/types.js +26 -0
  306. package/dist/runner/types.js.map +1 -1
  307. package/dist/runner.d.ts +6 -6
  308. package/dist/runner.d.ts.map +1 -1
  309. package/dist/runner.js +5 -5
  310. package/dist/runner.js.map +1 -1
  311. package/dist/schemas.d.ts +603 -6
  312. package/dist/schemas.d.ts.map +1 -1
  313. package/dist/schemas.js +156 -20
  314. package/dist/schemas.js.map +1 -1
  315. package/dist/services.d.ts +22 -5
  316. package/dist/services.d.ts.map +1 -1
  317. package/dist/services.js +41 -17
  318. package/dist/services.js.map +1 -1
  319. package/dist/setup-guide.d.ts +17 -4
  320. package/dist/setup-guide.d.ts.map +1 -1
  321. package/dist/setup-guide.js +48 -41
  322. package/dist/setup-guide.js.map +1 -1
  323. package/dist/tokens.d.ts.map +1 -1
  324. package/dist/tokens.js +5 -1
  325. package/dist/tokens.js.map +1 -1
  326. package/dist/vocabulary.d.ts +21 -3
  327. package/dist/vocabulary.d.ts.map +1 -1
  328. package/dist/vocabulary.js +19 -3
  329. package/dist/vocabulary.js.map +1 -1
  330. package/docs/specs/cli.md +73 -44
  331. package/docs/specs/plugins.md +40 -22
  332. package/docs/specs/records.md +113 -0
  333. package/docs/specs/rest.md +30 -21
  334. package/docs/specs/runner.md +46 -22
  335. package/package.json +11 -2
  336. package/skills/building-a-console/SKILL.md +4 -4
  337. package/skills/building-a-plugin/SKILL.md +6 -6
  338. package/skills/deploying-a-console/SKILL.md +4 -4
  339. package/skills/deploying-a-console/references/resources.md +41 -4
  340. package/skills/deploying-a-console/references/running-it-again.md +3 -2
  341. package/skills/keeping-a-desk/SKILL.md +133 -0
  342. package/skills/keeping-a-desk/collections.md +96 -0
  343. package/skills/planning-the-board/SKILL.md +14 -18
  344. package/skills/planning-the-board/references/a-task.md +2 -2
  345. package/skills/planning-the-board/references/project-rules.md +13 -14
  346. package/skills/planning-the-board/references/setting-up.md +15 -13
  347. package/skills/running-an-agent/SKILL.md +47 -56
  348. package/skills/working-the-board/SKILL.md +63 -44
  349. package/skills/working-the-board/references/terms.md +9 -5
  350. package/skills/working-the-board/references/the-pack.md +12 -10
  351. package/skills/working-the-board/references/the-sentence.md +2 -2
  352. package/src/agent-page.tsx +16 -2
  353. package/src/api.ts +109 -3
  354. package/src/charts.ts +250 -0
  355. package/src/cli/cli.ts +2226 -580
  356. package/src/cli/command-words.ts +56 -0
  357. package/src/cli/credentials.ts +181 -20
  358. package/src/cli/directory.ts +28 -10
  359. package/src/cli/format.ts +332 -49
  360. package/src/cli/help.ts +113 -57
  361. package/src/cli/machine-check.ts +223 -0
  362. package/src/cli/main.ts +72 -2
  363. package/src/cli/pack.ts +333 -372
  364. package/src/cli/plugin-check.ts +275 -34
  365. package/src/cli/plugin-cli.ts +28 -4
  366. package/src/cli/plugin-main.ts +1 -0
  367. package/src/cli/runner-host.ts +8 -0
  368. package/src/cli/secret-notes.ts +63 -0
  369. package/src/cli/serve.ts +295 -2
  370. package/src/client.ts +215 -177
  371. package/src/components/agent-page.tsx +1044 -281
  372. package/src/components/agents.tsx +9 -5
  373. package/src/components/board.tsx +3 -15
  374. package/src/components/categories.tsx +2 -2
  375. package/src/components/charts.tsx +680 -0
  376. package/src/components/decision-list.tsx +11 -7
  377. package/src/components/desk-records.tsx +724 -0
  378. package/src/components/desk.tsx +471 -0
  379. package/src/components/event-feed.tsx +12 -3
  380. package/src/components/goals.tsx +33 -25
  381. package/src/components/home.tsx +42 -6
  382. package/src/components/icon.tsx +337 -0
  383. package/src/components/markdown.tsx +22 -2
  384. package/src/components/people.tsx +1 -1
  385. package/src/components/plugin-frame.tsx +7 -0
  386. package/src/components/plugin-settings.tsx +171 -12
  387. package/src/components/projects.tsx +68 -17
  388. package/src/components/rules.tsx +94 -34
  389. package/src/components/sessions.tsx +2 -13
  390. package/src/components/setup.tsx +20 -5
  391. package/src/components/shell.tsx +3 -20
  392. package/src/components/tokens.tsx +1 -1
  393. package/src/components/ui.tsx +16 -8
  394. package/src/connect-page.tsx +1 -1
  395. package/src/console.tsx +104 -62
  396. package/src/data.ts +37 -34
  397. package/src/desk-page.tsx +332 -0
  398. package/src/desk-records-page.tsx +256 -0
  399. package/src/desk-records.ts +808 -0
  400. package/src/desk.ts +329 -0
  401. package/src/feed-stream.ts +144 -0
  402. package/src/home-tiles.ts +170 -46
  403. package/src/i18n/en.ts +323 -11
  404. package/src/i18n/ko.ts +378 -87
  405. package/src/i18n/particles.ts +79 -0
  406. package/src/icons/glyphs.ts +112 -0
  407. package/src/icons/index.ts +195 -0
  408. package/src/index.ts +125 -0
  409. package/src/limits.ts +20 -0
  410. package/src/marks.ts +12 -0
  411. package/src/onboarding.ts +14 -6
  412. package/src/plugin/context.ts +55 -12
  413. package/src/plugin/limits.ts +2 -0
  414. package/src/plugin/manifest.ts +38 -2
  415. package/src/plugin/rest-schemas.ts +41 -0
  416. package/src/plugin/sandbox.ts +4 -1
  417. package/src/plugin/testing.ts +63 -12
  418. package/src/plugin/web.ts +9 -2
  419. package/src/plugin.ts +2 -0
  420. package/src/records.ts +702 -0
  421. package/src/routes.ts +3 -1
  422. package/src/rules.ts +108 -47
  423. package/src/runner/acp.ts +49 -30
  424. package/src/runner/awake.ts +135 -0
  425. package/src/runner/claude.ts +131 -26
  426. package/src/runner/codex.ts +37 -26
  427. package/src/runner/config.ts +9 -0
  428. package/src/runner/desk.ts +200 -15
  429. package/src/runner/process.ts +11 -4
  430. package/src/runner/redact.ts +92 -6
  431. package/src/runner/runner.ts +457 -56
  432. package/src/runner/slack.ts +10 -4
  433. package/src/runner/task-scheduler.ts +36 -4
  434. package/src/runner/types.ts +67 -1
  435. package/src/runner.ts +27 -2
  436. package/src/schemas.ts +177 -18
  437. package/src/services.ts +55 -16
  438. package/src/setup-guide.ts +49 -40
  439. package/src/styles/README.md +16 -5
  440. package/src/styles/base.css +17 -0
  441. package/src/styles/console.css +10 -0
  442. package/src/styles/drawn-by-pages.json +1 -1
  443. package/src/styles/pages/agents.css +103 -1
  444. package/src/styles/pages/board.css +0 -10
  445. package/src/styles/pages/calendar.css +1 -1
  446. package/src/styles/pages/connect.css +0 -10
  447. package/src/styles/pages/decisions.css +3 -1
  448. package/src/styles/pages/desk.css +126 -0
  449. package/src/styles/pages/documents.css +5 -0
  450. package/src/styles/pages/feed.css +5 -2
  451. package/src/styles/pages/home.css +5 -0
  452. package/src/styles/pages/roadmap.css +2 -2
  453. package/src/styles/pages/settings.css +11 -0
  454. package/src/styles/pages/task.css +0 -20
  455. package/src/styles/pages/thread.css +1 -1
  456. package/src/styles/parts/bars.css +80 -0
  457. package/src/styles/parts/calendar.css +1 -1
  458. package/src/styles/parts/callout.css +1 -0
  459. package/src/styles/parts/chart.css +173 -0
  460. package/src/styles/parts/detail.css +22 -0
  461. package/src/styles/parts/empty.css +2 -0
  462. package/src/styles/parts/eyebrow.css +1 -1
  463. package/src/styles/parts/facts.css +1 -1
  464. package/src/styles/parts/figures.css +65 -0
  465. package/src/styles/parts/form.css +2 -1
  466. package/src/styles/parts/icon.css +191 -0
  467. package/src/styles/parts/input.css +14 -4
  468. package/src/styles/parts/legend.css +48 -0
  469. package/src/styles/parts/mark.css +36 -0
  470. package/src/styles/parts/menu.css +1 -7
  471. package/src/styles/parts/page.css +1 -1
  472. package/src/styles/parts/panel.css +10 -0
  473. package/src/styles/parts/person.css +5 -2
  474. package/src/styles/parts/progress.css +5 -2
  475. package/src/styles/parts/rows.css +1 -0
  476. package/src/styles/parts/series.css +32 -0
  477. package/src/styles/parts/settings.css +5 -0
  478. package/src/styles/parts/share.css +25 -0
  479. package/src/styles/parts/spark.css +23 -0
  480. package/src/styles/parts/stat.css +69 -0
  481. package/src/styles/tokens.css +31 -10
  482. package/src/tokens.ts +5 -1
  483. package/src/vocabulary.ts +25 -3
  484. package/template/desk-web/README.md +8 -0
  485. package/template/desk-web/index.html +13 -0
  486. package/template/desk-web/package.json +25 -0
  487. package/template/desk-web/src/main.tsx +24 -0
  488. package/template/desk-web/src/page.tsx +51 -0
  489. package/template/desk-web/tsconfig.json +16 -0
  490. package/template/desk-web/vite.config.ts +15 -0
package/dist/console.css CHANGED
@@ -40,17 +40,25 @@
40
40
  --sc-color-warning-line: #e9a23b;
41
41
  --sc-color-danger: #b0273a;
42
42
  --sc-color-danger-subtle: #fadadf;
43
- /* For the plugins' pages (ADR-0054): a state that informs, one neither good nor bad, a palette for figures, tabular numerals. */
43
+ /* For the plugins' pages (ADR-0054): a state that informs, and one neither good nor bad. */
44
44
  --sc-color-info: #1d4ed8;
45
45
  --sc-color-info-subtle: #dbe6ff;
46
46
  --sc-color-neutral: #4b5563;
47
47
  --sc-color-neutral-subtle: #e7eaf0;
48
- --sc-series-1: #2c5bc4;
49
- --sc-series-2: #c2410c;
50
- --sc-series-3: #146b44;
51
- --sc-series-4: #8f6100;
52
- --sc-series-5: #7c3aed;
53
- --sc-series-6: #0e7490;
48
+ /* The series of a chart (ADR-0123, ADR-0134): blue, coral, raspberry, teal, violet, green, the warm coral
49
+ second so that the commonest charts, of two series, put the two that stand furthest apart side
50
+ by side, to full colour vision and to a reader who does not tell red from green. The console's
51
+ own hues, and a coral between its pink and its orange, each stepped until any two of the
52
+ six are told apart, also by a reader who does not tell red from green, and until each
53
+ stands out on a light ground and on a dark one. No orange among them, which is the point's,
54
+ and no yellow, which at this lightness is a brown. They are marks, never words. */
55
+ --sc-series-1: #285fd4;
56
+ --sc-series-2: #e45b63;
57
+ --sc-series-3: #bf1b7f;
58
+ --sc-series-4: #0097ac;
59
+ --sc-series-5: #946ff2;
60
+ --sc-series-6: #04933e;
61
+ /* The figures that line up: for a column of numbers, a scale, a table. */
54
62
  --sc-numeric: "tnum" 1, "lnum" 1;
55
63
 
56
64
  /* The ground: a pale field, one gradient from the top. The default UI provides the field's
@@ -112,6 +120,8 @@
112
120
  --sc-tracking-tight: -0.02em;
113
121
  --sc-tracking-wide: 0.04em;
114
122
  --sc-tracking-code: 0.12em;
123
+ /* How a small label is cased: capitals where the script has them. */
124
+ --sc-label-case: uppercase;
115
125
  --sc-weight-normal: 400;
116
126
  --sc-weight-medium: 500;
117
127
  --sc-weight-bold: 650;
@@ -142,8 +152,12 @@
142
152
 
143
153
  /* Layout. The gutter at the sides of the header, the tabs and every page grows with the
144
154
  window, from a step of the grid on a laptop to a wide margin on a large screen, so that a
145
- page on a wide screen does not run to its very edges; a phone narrows it further below. */
146
- --sc-gutter: clamp(var(--sc-space-7), 5vw, 10rem);
155
+ page on a wide screen does not run to its very edges; a phone narrows it further below. A
156
+ window wider than a page is read at gives what is over to the gutters; a page that wants
157
+ every bit of the window, the board, keeps the gutter a wide screen had before that. */
158
+ --sc-gutter-wide: clamp(var(--sc-space-7), 5vw, 10rem);
159
+ --sc-gutter: max(var(--sc-gutter-wide), calc((100vw - var(--sc-width-page)) / 2));
160
+ --sc-width-page: 100rem;
147
161
  --sc-width-prose: 46rem;
148
162
  --sc-width-aside: 18rem;
149
163
  --sc-column-width: 13.5rem;
@@ -164,12 +178,19 @@
164
178
  --sc-transition: 120ms ease-out;
165
179
  }
166
180
 
181
+ /* Under a page as wide as the window, the board, the header and the tabs are as wide as it. */
182
+ .sc-shell:has(.sc-main-wide) {
183
+ --sc-gutter: var(--sc-gutter-wide);
184
+ }
185
+
167
186
  /* A page in Korean (the pages say their language on <html>): Hangul fills more of its box than
168
- Latin capitals and sits higher in it, so a label is lifted less, and the tracking is off. */
187
+ Latin capitals and sits higher in it, so a label is lifted less, and the tracking is off; a
188
+ label is written as it is, since capitals would touch only the Latin words in it. */
169
189
  :root:lang(ko) {
170
190
  --sc-label-lift: -0.083em;
171
191
  --sc-tracking-tight: 0;
172
192
  --sc-tracking-wide: 0;
193
+ --sc-label-case: none;
173
194
  }
174
195
 
175
196
  /* The schedule, the roadmap and the categories (ADR-0019). */
@@ -320,6 +341,23 @@ body {
320
341
  line-height: var(--sc-leading-normal);
321
342
  -webkit-font-smoothing: antialiased;
322
343
  text-rendering: optimizeLegibility;
344
+ /* Where a line breaks: no word is left alone on a last line, in whatever holds a sentence. A
345
+ title's lines come out about one length instead, below and in the parts that are titles. */
346
+ text-wrap: pretty;
347
+ }
348
+
349
+ /* What is typed breaks where it is typed, so that a line already written does not move under
350
+ the caret; and what is written out as it was, a log or a block of code, is left as it was. */
351
+ input,
352
+ textarea,
353
+ pre,
354
+ [contenteditable="true"] {
355
+ text-wrap-style: auto;
356
+ }
357
+
358
+ /* A moment is read as one thing: a date or a time is never broken in two. */
359
+ time {
360
+ white-space: nowrap;
323
361
  }
324
362
 
325
363
  /* Korean breaks between any two syllables by default; keeping words whole reads much better. */
@@ -598,6 +636,28 @@ html[data-console] body {
598
636
  }
599
637
  }
600
638
 
639
+ /* The head's words where something stands over the title: what the thing is a part of, or the
640
+ way back to all of its kind, in a quiet line, then the title and its badges. */
641
+ .sc-task-heading {
642
+ display: grid;
643
+ flex: 1 1 28rem;
644
+ gap: var(--sc-space-2);
645
+ min-width: 0;
646
+ }
647
+
648
+ .sc-task-parent {
649
+ color: var(--sc-color-text-muted);
650
+ font-size: var(--sc-text-sm);
651
+ }
652
+
653
+ @media (max-width: 40rem) {
654
+ .sc-task-parent {
655
+ overflow: hidden;
656
+ white-space: nowrap;
657
+ text-overflow: ellipsis;
658
+ }
659
+ }
660
+
601
661
  /* parts/form.css */
602
662
  .sc-form > *,
603
663
  .sc-field > * {
@@ -608,7 +668,7 @@ html[data-console] body {
608
668
  font-size: var(--sc-text-xs);
609
669
  font-weight: var(--sc-weight-medium);
610
670
  letter-spacing: var(--sc-tracking-wide);
611
- text-transform: uppercase;
671
+ text-transform: var(--sc-label-case);
612
672
  }
613
673
 
614
674
  /* Forms */
@@ -672,6 +732,7 @@ html[data-console] body {
672
732
  }
673
733
 
674
734
  .sc-field-hint {
735
+ max-width: var(--sc-width-prose);
675
736
  margin-top: var(--sc-space-2);
676
737
  color: var(--sc-color-text-muted);
677
738
  font-size: var(--sc-text-sm);
@@ -990,12 +1051,6 @@ html[data-console] body {
990
1051
  color: var(--sc-color-text);
991
1052
  }
992
1053
 
993
- .sc-menu-caret {
994
- flex: none;
995
- width: 0.75rem;
996
- height: 0.75rem;
997
- }
998
-
999
1054
  .sc-menu-panel {
1000
1055
  position: absolute;
1001
1056
  top: calc(100% + var(--sc-space-2));
@@ -1070,7 +1125,7 @@ html[data-console] body {
1070
1125
  font-size: var(--sc-text-xs);
1071
1126
  font-weight: var(--sc-weight-medium);
1072
1127
  letter-spacing: var(--sc-tracking-wide);
1073
- text-transform: uppercase;
1128
+ text-transform: var(--sc-label-case);
1074
1129
  }
1075
1130
 
1076
1131
  .sc-menu-heading {
@@ -1119,7 +1174,7 @@ html[data-console] body {
1119
1174
  font-size: var(--sc-text-xs);
1120
1175
  font-weight: var(--sc-weight-medium);
1121
1176
  letter-spacing: var(--sc-tracking-wide);
1122
- text-transform: uppercase;
1177
+ text-transform: var(--sc-label-case);
1123
1178
  }
1124
1179
 
1125
1180
  /* A page that takes the whole window takes the header with it, so that the lockup, the tabs and
@@ -1358,7 +1413,7 @@ html[data-console] body {
1358
1413
  font-size: var(--sc-text-xs);
1359
1414
  font-weight: var(--sc-weight-medium);
1360
1415
  letter-spacing: var(--sc-tracking-wide);
1361
- text-transform: uppercase;
1416
+ text-transform: var(--sc-label-case);
1362
1417
  }
1363
1418
 
1364
1419
  /* parts/facts.css */
@@ -1368,7 +1423,7 @@ html[data-console] body {
1368
1423
  font-size: var(--sc-text-xs);
1369
1424
  font-weight: var(--sc-weight-medium);
1370
1425
  letter-spacing: var(--sc-tracking-wide);
1371
- text-transform: uppercase;
1426
+ text-transform: var(--sc-label-case);
1372
1427
  }
1373
1428
 
1374
1429
  .sc-facts {
@@ -1516,7 +1571,7 @@ html[data-console] body {
1516
1571
  font-size: var(--sc-text-xs);
1517
1572
  font-weight: var(--sc-weight-medium);
1518
1573
  letter-spacing: var(--sc-tracking-wide);
1519
- text-transform: uppercase;
1574
+ text-transform: var(--sc-label-case);
1520
1575
  }
1521
1576
 
1522
1577
  .sc-calendar-dot {
@@ -2087,6 +2142,16 @@ html[data-console] body {
2087
2142
  max-width: 56rem;
2088
2143
  }
2089
2144
 
2145
+ /* A form that stands over a list is as wide as the list under it, edge to edge with it, and
2146
+ what it holds keeps the width a form is comfortable at. */
2147
+ .sc-panel-form-lead {
2148
+ max-width: none;
2149
+ }
2150
+
2151
+ .sc-panel-form-lead > * {
2152
+ max-width: calc(56rem - var(--sc-space-5) * 2);
2153
+ }
2154
+
2090
2155
  @media (max-width: 40rem) {
2091
2156
  .sc-panel {
2092
2157
  padding: var(--sc-space-4);
@@ -2216,11 +2281,14 @@ html[data-console] body {
2216
2281
  opacity: 0.7;
2217
2282
  }
2218
2283
 
2219
- /* What the member does, in a line under the name (ADR-0084). */
2284
+ /* What the member does, in one line under the name (ADR-0084): a long one is cut short, so
2285
+ that the cards of a row keep their lines level. */
2220
2286
  .sc-person-card-title {
2287
+ overflow: hidden;
2221
2288
  color: var(--sc-color-text);
2222
2289
  font-size: var(--sc-text-sm);
2223
- overflow-wrap: anywhere;
2290
+ text-overflow: ellipsis;
2291
+ white-space: nowrap;
2224
2292
  }
2225
2293
 
2226
2294
  .sc-person-card-note {
@@ -2796,6 +2864,7 @@ html[data-console] body {
2796
2864
 
2797
2865
  .sc-callout-title {
2798
2866
  font-weight: var(--sc-weight-bold);
2867
+ text-wrap: balance;
2799
2868
  }
2800
2869
 
2801
2870
  .sc-callout-body {
@@ -2816,6 +2885,8 @@ html[data-console] body {
2816
2885
  border: 1px dashed var(--sc-color-border);
2817
2886
  border-radius: var(--sc-radius-lg);
2818
2887
  text-align: center;
2888
+ /* Centred lines of about one length, a title's and a sentence's alike. */
2889
+ text-wrap: balance;
2819
2890
  }
2820
2891
 
2821
2892
  .sc-empty-title {
@@ -2884,11 +2955,21 @@ html[data-console] body {
2884
2955
  }
2885
2956
 
2886
2957
  /* A file field: as tall as any other field, what it holds on one line with its button, and
2887
- the button the browser gives it drawn as a small button of the console's own. */
2958
+ the button the browser gives it drawn as a small button of the console's own. A browser
2959
+ lays the button and the words beside it out on a line of its own making, at the top of the
2960
+ field whatever the field's display says, so what stands above and below the button is the
2961
+ field's padding: half of what the button, by its line, its padding and its border as the
2962
+ rule below gives them, leaves of the field's height within its border. */
2888
2963
  .sc-input[type="file"] {
2889
- display: flex;
2890
- align-items: center;
2891
- padding-block: 0;
2964
+ display: block;
2965
+ padding-block: calc(
2966
+ (
2967
+ var(--sc-control-size) -
2968
+ 2px -
2969
+ (var(--sc-text-xs) * var(--sc-leading-snug) + 2 * (var(--sc-space-1) + 1px) + 2px)
2970
+ ) /
2971
+ 2
2972
+ );
2892
2973
  color: var(--sc-color-text-muted);
2893
2974
  line-height: var(--sc-leading-snug);
2894
2975
  cursor: pointer;
@@ -3741,6 +3822,11 @@ select.sc-input-quiet {
3741
3822
  font-size: var(--sc-text-sm);
3742
3823
  }
3743
3824
 
3825
+ /* Said over what it is about, not under a name: it keeps its distance from what follows. */
3826
+ .sc-section-head + .sc-settings-hint {
3827
+ margin-bottom: var(--sc-space-3);
3828
+ }
3829
+
3744
3830
  .sc-settings-control {
3745
3831
  display: grid;
3746
3832
  justify-items: start;
@@ -3942,6 +4028,7 @@ select.sc-input-quiet {
3942
4028
  font-weight: var(--sc-weight-medium);
3943
4029
  text-decoration: none;
3944
4030
  overflow-wrap: anywhere;
4031
+ text-wrap: balance;
3945
4032
  }
3946
4033
 
3947
4034
  .sc-task-row-title:hover {
@@ -4038,10 +4125,46 @@ select.sc-input-quiet {
4038
4125
  font-size: var(--sc-text-xl);
4039
4126
  }
4040
4127
 
4128
+ /* A mark with what says it: its icon, its symbol, its colour, its image. The mark stands in a
4129
+ column of its own and the fields beside it, one under the other, each as wide as the pane
4130
+ leaves, so that a file's name has room on a phone too. What follows the fields, the way to
4131
+ take the image away, stands under them and never under the mark, whose column it would widen. */
4041
4132
  .sc-mark-row {
4133
+ grid-template-columns: auto minmax(0, 1fr);
4042
4134
  align-items: end;
4043
4135
  }
4044
4136
 
4137
+ .sc-mark-row > * {
4138
+ grid-column: 2;
4139
+ }
4140
+
4141
+ .sc-mark-row > :first-child {
4142
+ grid-column: 1;
4143
+ }
4144
+
4145
+ .sc-mark-row > .sc-button {
4146
+ justify-self: start;
4147
+ }
4148
+
4149
+ /* Where the pane holds them, the icon, the symbol and the colour stand on the mark's row, and
4150
+ the image under them with the room a file's name needs. The four columns take thirty rem,
4151
+ which a pane has from a window of fifty-two on: between a phone and that, a row of four ran
4152
+ past its pane. */
4153
+ @media (min-width: 52rem) {
4154
+ .sc-mark-row {
4155
+ grid-template-columns: auto minmax(9rem, 1fr) minmax(7rem, 1fr) minmax(9rem, 1fr);
4156
+ }
4157
+
4158
+ .sc-mark-row > * {
4159
+ grid-column: auto;
4160
+ }
4161
+
4162
+ .sc-mark-row > label:last-of-type,
4163
+ .sc-mark-row > .sc-button {
4164
+ grid-column: 2 / -1;
4165
+ }
4166
+ }
4167
+
4045
4168
  /* A project's own image over the symbol, filling the mark; the symbol shows until the image is there. */
4046
4169
  .sc-mark-pictured {
4047
4170
  padding: 0;
@@ -4080,14 +4203,210 @@ select.sc-input-quiet {
4080
4203
  }
4081
4204
  }
4082
4205
 
4206
+ /* parts/icon.css */
4207
+ /* A glyph of the icon pack: lines on one grid, in the colour of the text it stands in. The
4208
+ stroke is the pack's own, said on the grid: a glyph drawn small is given a little more of it
4209
+ and one drawn large a little less, so that a line stays about as heavy as the letters beside
4210
+ it at every size. */
4211
+ .sc-icon {
4212
+ display: inline-block;
4213
+ flex: none;
4214
+ fill: none;
4215
+ stroke: currentColor;
4216
+ stroke-width: 1.5;
4217
+ stroke-linecap: round;
4218
+ stroke-linejoin: round;
4219
+ vertical-align: middle;
4220
+ }
4221
+
4222
+ /* The smallest: a caret beside a word. */
4223
+ .sc-icon-xs {
4224
+ width: 0.75rem;
4225
+ height: 0.75rem;
4226
+ stroke-width: 1.875;
4227
+ }
4228
+
4229
+ /* In a line of text, as tall as its letters with what rises above them. */
4230
+ .sc-icon-sm {
4231
+ width: 1rem;
4232
+ height: 1rem;
4233
+ stroke-width: 1.75;
4234
+ }
4235
+
4236
+ /* By itself: in a button, a tile, a row's head. */
4237
+ .sc-icon-md {
4238
+ width: 1.25rem;
4239
+ height: 1.25rem;
4240
+ }
4241
+
4242
+ /* In an empty state, or on a card. */
4243
+ .sc-icon-lg {
4244
+ width: 2rem;
4245
+ height: 2rem;
4246
+ stroke-width: 1.25;
4247
+ }
4248
+
4249
+ /* A glyph as a project's mark: on the mark's colour, in the mark's line, a little over half its
4250
+ side; on the smallest mark, beside a name, a little more of the side and of the stroke, so
4251
+ that it still reads at the height of a letter. */
4252
+ .sc-mark > .sc-icon {
4253
+ width: 62%;
4254
+ height: 62%;
4255
+ }
4256
+
4257
+ .sc-mark-sm > .sc-icon {
4258
+ width: 72%;
4259
+ height: 72%;
4260
+ stroke-width: 2;
4261
+ }
4262
+
4263
+ /* Choosing a glyph: the field that shows the choice, and the pack that opens under it. */
4264
+ .sc-icon-picker {
4265
+ position: relative;
4266
+ min-width: 0;
4267
+ }
4268
+
4269
+ .sc-icon-picker-field {
4270
+ display: flex;
4271
+ align-items: center;
4272
+ gap: var(--sc-space-2);
4273
+ font-family: inherit;
4274
+ text-align: start;
4275
+ cursor: pointer;
4276
+ }
4277
+
4278
+ .sc-icon-picker-value {
4279
+ flex: 1;
4280
+ min-width: 0;
4281
+ overflow: hidden;
4282
+ text-overflow: ellipsis;
4283
+ white-space: nowrap;
4284
+ }
4285
+
4286
+ .sc-icon-picker-caret {
4287
+ color: var(--sc-color-text-faint);
4288
+ transition: transform var(--sc-transition);
4289
+ }
4290
+
4291
+ .sc-icon-picker-field[aria-expanded="true"] > .sc-icon-picker-caret {
4292
+ transform: rotate(180deg);
4293
+ }
4294
+
4295
+ /* The pack: as wide as its field on a phone, where the field is as wide as the pane leaves, and
4296
+ as wide as seven or eight glyphs need from there on, begun where the field begins. */
4297
+ .sc-icon-picker-panel {
4298
+ position: absolute;
4299
+ z-index: 40;
4300
+ top: calc(100% + var(--sc-space-1));
4301
+ right: 0;
4302
+ left: 0;
4303
+ display: flex;
4304
+ flex-direction: column;
4305
+ gap: var(--sc-space-2);
4306
+ max-height: 22rem;
4307
+ padding: var(--sc-space-2);
4308
+ border: var(--sc-border);
4309
+ border-radius: var(--sc-radius-lg);
4310
+ background: var(--sc-color-bg-raised);
4311
+ box-shadow: var(--sc-shadow-menu);
4312
+ font-size: var(--sc-text-sm);
4313
+ }
4314
+
4315
+ /* A pane is a layer of its own, and the one after it is drawn over it: the pane whose pack is
4316
+ open stands over the panes beside it, so that the pack is never cut where its pane ends. */
4317
+ .sc-panel:has(.sc-icon-picker-panel) {
4318
+ z-index: 2;
4319
+ }
4320
+
4321
+ /* Where the window has no room below the field, and more above, the pack stands above it. */
4322
+ .sc-icon-picker-panel-above {
4323
+ top: auto;
4324
+ bottom: calc(100% + var(--sc-space-1));
4325
+ }
4326
+
4327
+ @media (min-width: 52rem) {
4328
+ .sc-icon-picker-panel {
4329
+ right: auto;
4330
+ width: 21.5rem;
4331
+ min-width: 100%;
4332
+ }
4333
+ }
4334
+
4335
+ .sc-icon-picker-list {
4336
+ display: flex;
4337
+ flex-direction: column;
4338
+ gap: var(--sc-space-3);
4339
+ min-height: 0;
4340
+ padding: var(--sc-space-1);
4341
+ overflow-y: auto;
4342
+ overscroll-behavior: contain;
4343
+ }
4344
+
4345
+ .sc-icon-picker-group {
4346
+ display: flex;
4347
+ flex-direction: column;
4348
+ gap: var(--sc-space-1);
4349
+ }
4350
+
4351
+ .sc-icon-picker-none {
4352
+ display: flex;
4353
+ }
4354
+
4355
+ .sc-icon-grid {
4356
+ display: grid;
4357
+ grid-template-columns: repeat(auto-fill, minmax(2.25rem, 1fr));
4358
+ gap: var(--sc-space-1);
4359
+ }
4360
+
4361
+ /* One choice: a glyph in a square a finger finds, the one in hand raised, the one chosen in the accent. */
4362
+ .sc-icon-tile {
4363
+ display: grid;
4364
+ place-items: center;
4365
+ min-height: 2.25rem;
4366
+ border-radius: var(--sc-radius-md);
4367
+ color: var(--sc-color-text-muted);
4368
+ cursor: pointer;
4369
+ transition:
4370
+ background var(--sc-transition),
4371
+ color var(--sc-transition);
4372
+ }
4373
+
4374
+ .sc-icon-tile-none {
4375
+ flex: 1;
4376
+ justify-items: start;
4377
+ padding-inline: var(--sc-space-2);
4378
+ }
4379
+
4380
+ .sc-icon-tile-active {
4381
+ background: var(--sc-color-bg-inset);
4382
+ color: var(--sc-color-text);
4383
+ }
4384
+
4385
+ .sc-icon-tile-chosen {
4386
+ background: var(--sc-color-accent-subtle);
4387
+ color: var(--sc-color-accent);
4388
+ }
4389
+
4390
+ .sc-icon-tile-chosen.sc-icon-tile-active {
4391
+ outline: var(--sc-focus-ring);
4392
+ outline-offset: -2px;
4393
+ }
4394
+
4395
+ .sc-icon-picker-note {
4396
+ padding: var(--sc-space-2);
4397
+ }
4398
+
4083
4399
  /* parts/progress.css */
4084
4400
  .sc-progress {
4085
4401
  display: grid;
4086
4402
  gap: var(--sc-space-1);
4087
4403
  }
4088
4404
 
4405
+ /* The bar is drawn as a share is (ADR-0138): its parts in the colours a chart draws its series
4406
+ in, the green for what is done and the blue for what is at work, and a gap between the two. */
4089
4407
  .sc-progress-bar {
4090
4408
  display: flex;
4409
+ gap: 2px;
4091
4410
  height: 0.5rem;
4092
4411
  overflow: hidden;
4093
4412
  border-radius: var(--sc-radius-full);
@@ -4095,11 +4414,11 @@ select.sc-input-quiet {
4095
4414
  }
4096
4415
 
4097
4416
  .sc-progress-done {
4098
- background: var(--sc-color-success);
4417
+ background: var(--sc-series-6);
4099
4418
  }
4100
4419
 
4101
4420
  .sc-progress-working {
4102
- background: var(--sc-color-accent);
4421
+ background: var(--sc-series-1);
4103
4422
  }
4104
4423
 
4105
4424
  .sc-progress-words {
@@ -4140,44 +4459,575 @@ select.sc-input-quiet {
4140
4459
  color var(--sc-transition);
4141
4460
  }
4142
4461
 
4143
- .sc-toggle-chip:hover {
4144
- border-color: var(--sc-color-border-strong);
4145
- color: var(--sc-color-text);
4462
+ .sc-toggle-chip:hover {
4463
+ border-color: var(--sc-color-border-strong);
4464
+ color: var(--sc-color-text);
4465
+ }
4466
+
4467
+ .sc-toggle-chip input {
4468
+ position: absolute;
4469
+ width: 1px;
4470
+ height: 1px;
4471
+ margin: 0;
4472
+ opacity: 0;
4473
+ pointer-events: none;
4474
+ }
4475
+
4476
+ .sc-toggle-chip:has(input:focus-visible) {
4477
+ outline: var(--sc-focus-ring);
4478
+ outline-offset: 2px;
4479
+ }
4480
+
4481
+ .sc-toggle-chip:has(input:checked) {
4482
+ border-color: color-mix(in srgb, var(--sc-color-accent) 40%, transparent);
4483
+ background: var(--sc-color-accent-subtle);
4484
+ color: var(--sc-color-accent);
4485
+ }
4486
+
4487
+ .sc-toggle-chip:has(input:checked)::before {
4488
+ content: "";
4489
+ width: 0.3125rem;
4490
+ height: 0.5625rem;
4491
+ margin-inline: 0.125rem 0.0625rem;
4492
+ border: solid currentColor;
4493
+ border-width: 0 1.5px 1.5px 0;
4494
+ transform: translateY(-0.0625rem) rotate(45deg);
4495
+ }
4496
+
4497
+ .sc-toggle-chip:has(input:disabled) {
4498
+ opacity: 0.55;
4499
+ cursor: not-allowed;
4500
+ }
4501
+
4502
+ /* parts/series.css */
4503
+ /* The colour a series is drawn in (ADR-0123): the class sets the colour, and a bar, a column, a
4504
+ line, a dot and a legend's key are drawn in it, so that one thing has one colour wherever it
4505
+ is shown. Six, told apart pair by pair, also by a reader who does not tell red from green;
4506
+ what is past the sixth, or the rest folded into one, wears the neutral. Words never wear
4507
+ them: a name stands beside its key in the colour of text. */
4508
+ .sc-series-1 {
4509
+ color: var(--sc-series-1);
4510
+ }
4511
+
4512
+ .sc-series-2 {
4513
+ color: var(--sc-series-2);
4514
+ }
4515
+
4516
+ .sc-series-3 {
4517
+ color: var(--sc-series-3);
4518
+ }
4519
+
4520
+ .sc-series-4 {
4521
+ color: var(--sc-series-4);
4522
+ }
4523
+
4524
+ .sc-series-5 {
4525
+ color: var(--sc-series-5);
4526
+ }
4527
+
4528
+ .sc-series-6 {
4529
+ color: var(--sc-series-6);
4530
+ }
4531
+
4532
+ .sc-series-rest {
4533
+ color: var(--sc-color-neutral);
4534
+ }
4535
+
4536
+ /* parts/legend.css */
4537
+ /* The key of a chart: each series' colour beside its name, and its figure where the chart is a
4538
+ whole in parts. There for two series or more; one series is named by the chart's title. */
4539
+ .sc-legend {
4540
+ display: flex;
4541
+ flex-wrap: wrap;
4542
+ gap: var(--sc-space-1) var(--sc-space-4);
4543
+ margin: 0;
4544
+ padding: 0;
4545
+ list-style: none;
4546
+ color: var(--sc-color-text-muted);
4547
+ font-size: var(--sc-text-xs);
4548
+ }
4549
+
4550
+ .sc-legend-item {
4551
+ display: inline-flex;
4552
+ align-items: baseline;
4553
+ gap: var(--sc-space-2);
4554
+ min-width: 0;
4555
+ }
4556
+
4557
+ /* The key takes the series' colour from the class beside it; a box for what is filled, a
4558
+ stroke for a line. */
4559
+ .sc-legend-key {
4560
+ flex: none;
4561
+ align-self: center;
4562
+ width: 0.625rem;
4563
+ height: 0.625rem;
4564
+ border-radius: var(--sc-radius-sm);
4565
+ background: currentcolor;
4566
+ }
4567
+
4568
+ .sc-legend-key-line {
4569
+ width: 0.875rem;
4570
+ height: 2px;
4571
+ border-radius: var(--sc-radius-full);
4572
+ }
4573
+
4574
+ .sc-legend-name {
4575
+ min-width: 0;
4576
+ overflow-wrap: anywhere;
4577
+ }
4578
+
4579
+ .sc-legend-value {
4580
+ color: var(--sc-color-text);
4581
+ font-weight: var(--sc-weight-medium);
4582
+ font-feature-settings: var(--sc-numeric);
4583
+ white-space: nowrap;
4584
+ }
4585
+
4586
+ /* parts/stat.css */
4587
+ /* A figure: a number that matters under its name and, where there is one, how it changed and
4588
+ the run it came by. A row of them lays itself out, as many across as there is room for. */
4589
+ .sc-stats {
4590
+ display: grid;
4591
+ grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
4592
+ gap: var(--sc-space-3);
4593
+ margin: 0;
4594
+ }
4595
+
4596
+ .sc-stat {
4597
+ display: grid;
4598
+ align-content: start;
4599
+ gap: var(--sc-space-1);
4600
+ min-width: 0;
4601
+ padding: var(--sc-space-4);
4602
+ border: var(--sc-border);
4603
+ border-radius: var(--sc-radius-md);
4604
+ background: var(--sc-color-sheet);
4605
+ }
4606
+
4607
+ .sc-stat > * {
4608
+ min-width: 0;
4609
+ margin: 0;
4610
+ }
4611
+
4612
+ /* The name of a figure is a fact's name: the small capitals. */
4613
+ .sc-stat-label {
4614
+ color: var(--sc-color-text-faint);
4615
+ font-size: var(--sc-text-xs);
4616
+ font-weight: var(--sc-weight-medium);
4617
+ letter-spacing: var(--sc-tracking-wide);
4618
+ text-transform: var(--sc-label-case);
4619
+ overflow-wrap: anywhere;
4620
+ }
4621
+
4622
+ /* The figure itself, in the face's own figures: the ones that line up are for columns. */
4623
+ .sc-stat-value {
4624
+ color: var(--sc-color-text);
4625
+ font-size: var(--sc-text-2xl);
4626
+ font-weight: var(--sc-weight-bold);
4627
+ line-height: var(--sc-leading-tight);
4628
+ letter-spacing: var(--sc-tracking-tight);
4629
+ overflow-wrap: anywhere;
4630
+ }
4631
+
4632
+ /* How it changed: the amount with its sign, then against what. The sign says the direction;
4633
+ the tone says whether that is good, where the page knows. */
4634
+ .sc-stat-change {
4635
+ color: var(--sc-color-text-muted);
4636
+ font-size: var(--sc-text-xs);
4637
+ }
4638
+
4639
+ .sc-stat-delta {
4640
+ color: var(--sc-color-text);
4641
+ font-weight: var(--sc-weight-medium);
4642
+ font-feature-settings: var(--sc-numeric);
4643
+ }
4644
+
4645
+ .sc-stat-change-good .sc-stat-delta {
4646
+ color: var(--sc-color-success);
4647
+ }
4648
+
4649
+ .sc-stat-change-bad .sc-stat-delta {
4650
+ color: var(--sc-color-danger);
4651
+ }
4652
+
4653
+ .sc-stat-trend {
4654
+ padding-top: var(--sc-space-1);
4655
+ }
4656
+
4657
+ /* parts/spark.css */
4658
+ /* A sparkline: the run of a figure in the room of a word, with no axis. The line is quiet and
4659
+ the last amount is the dot, in the series' colour. As wide as the box it is put in, less the
4660
+ room its dot needs at the ends. */
4661
+ .sc-spark {
4662
+ width: calc(100% - 0.5rem);
4663
+ max-width: 12rem;
4664
+ height: 1.75rem;
4665
+ margin-inline: 0.25rem;
4666
+ overflow: visible;
4667
+ }
4668
+
4669
+ .sc-spark-line {
4670
+ stroke: var(--sc-color-border-strong);
4671
+ stroke-width: 2px;
4672
+ stroke-linecap: round;
4673
+ }
4674
+
4675
+ .sc-spark-dot {
4676
+ r: 3.5px;
4677
+ fill: currentcolor;
4678
+ stroke: var(--sc-color-bg-raised);
4679
+ stroke-width: 2px;
4680
+ }
4681
+
4682
+ /* parts/bars.css */
4683
+ /* A list of bars: a ranking or a comparison. The rows share the list's columns, so that every
4684
+ bar starts at one edge and ends against one scale, and every figure stands over the next.
4685
+ In a narrow box a row is its name and its figure on one line and its bar under them; where
4686
+ there is room, the name, the bar and the figure stand in one line. */
4687
+ .sc-bars {
4688
+ display: grid;
4689
+ grid-template-columns: fit-content(16rem) minmax(0, 1fr) max-content;
4690
+ gap: var(--sc-space-3);
4691
+ margin: 0;
4692
+ padding: 0;
4693
+ list-style: none;
4694
+ font-size: var(--sc-text-sm);
4695
+ container-type: inline-size;
4696
+ }
4697
+
4698
+ .sc-bars-row {
4699
+ display: grid;
4700
+ grid-template-columns: subgrid;
4701
+ grid-column: 1 / -1;
4702
+ align-items: baseline;
4703
+ row-gap: var(--sc-space-1);
4704
+ }
4705
+
4706
+ .sc-bars-label {
4707
+ grid-column: 1 / 3;
4708
+ min-width: 0;
4709
+ color: var(--sc-color-text);
4710
+ font-weight: var(--sc-weight-medium);
4711
+ overflow-wrap: anywhere;
4712
+ }
4713
+
4714
+ .sc-bars-label a {
4715
+ color: inherit;
4716
+ text-decoration: none;
4717
+ }
4718
+
4719
+ .sc-bars-label a:hover {
4720
+ color: var(--sc-color-accent);
4721
+ }
4722
+
4723
+ /* The figure, in the figures that line up: one stands over the next down the list. */
4724
+ .sc-bars-value {
4725
+ grid-column: 3;
4726
+ color: var(--sc-color-text-muted);
4727
+ font-feature-settings: var(--sc-numeric);
4728
+ text-align: end;
4729
+ white-space: nowrap;
4730
+ }
4731
+
4732
+ /* The bar: thin, square where it starts and round where it ends. */
4733
+ .sc-bars-bar {
4734
+ grid-column: 1 / -1;
4735
+ width: 100%;
4736
+ height: 0.5rem;
4737
+ }
4738
+
4739
+ .sc-bars-fill {
4740
+ rx: var(--sc-radius-sm);
4741
+ fill: currentcolor;
4742
+ }
4743
+
4744
+ @container (min-width: 32rem) {
4745
+ .sc-bars-row {
4746
+ align-items: center;
4747
+ }
4748
+
4749
+ .sc-bars-label {
4750
+ grid-column: 1;
4751
+ }
4752
+
4753
+ .sc-bars-bar {
4754
+ grid-row: 1;
4755
+ grid-column: 2;
4756
+ }
4757
+
4758
+ .sc-bars-value {
4759
+ grid-row: 1;
4760
+ grid-column: 3;
4761
+ }
4762
+ }
4763
+
4764
+ /* parts/share.css */
4765
+ /* A share: one whole in its parts, as one thin bar with the parts' names and figures under it.
4766
+ The parts are told apart by the gap between them, in the colour of the surface, and never by
4767
+ a line drawn round them. */
4768
+ .sc-share {
4769
+ display: grid;
4770
+ gap: var(--sc-space-2);
4771
+ min-width: 0;
4772
+ }
4773
+
4774
+ .sc-share-bar {
4775
+ width: 100%;
4776
+ height: 0.75rem;
4777
+ overflow: hidden;
4778
+ border-radius: var(--sc-radius-full);
4779
+ background: var(--sc-color-bg-inset);
4780
+ }
4781
+
4782
+ .sc-share-part {
4783
+ fill: currentcolor;
4784
+ }
4785
+
4786
+ .sc-share-gap {
4787
+ stroke: var(--sc-color-bg-raised);
4788
+ stroke-width: 2px;
4789
+ }
4790
+
4791
+ /* parts/chart.css */
4792
+ /* A chart over time: columns, or lines, of one to a few series against one scale. It has the
4793
+ marks and the axis a reader needs and nothing else: the scale's round amounts at the side,
4794
+ a hair of a line across at each, the points' names under it, as many as there is room for.
4795
+ Its box is the stylesheet's and every place in it is a share of that box, so it is as wide
4796
+ as where it is put. */
4797
+ .sc-chart {
4798
+ display: grid;
4799
+ gap: var(--sc-space-3);
4800
+ min-width: 0;
4801
+ margin: 0;
4802
+ container-type: inline-size;
4803
+ }
4804
+
4805
+ /* The scale at the side, the plot, and the points' names under the plot. The room above is
4806
+ for the half of the top amount that stands over the top line. */
4807
+ .sc-chart-frame {
4808
+ display: grid;
4809
+ grid-template-rows: 11rem auto;
4810
+ grid-template-columns: auto minmax(0, 1fr);
4811
+ column-gap: var(--sc-space-2);
4812
+ padding-top: var(--sc-space-2);
4813
+ }
4814
+
4815
+ .sc-chart-short .sc-chart-frame {
4816
+ grid-template-rows: 6.5rem auto;
4817
+ }
4818
+
4819
+ /* The scale's amounts from the top down, each in the middle of its line. */
4820
+ .sc-chart-axis {
4821
+ display: flex;
4822
+ flex-direction: column;
4823
+ justify-content: space-between;
4824
+ }
4825
+
4826
+ .sc-chart-tick {
4827
+ display: flex;
4828
+ align-items: center;
4829
+ justify-content: flex-end;
4830
+ height: 0;
4831
+ color: var(--sc-color-text-faint);
4832
+ font-size: var(--sc-text-xs);
4833
+ font-feature-settings: var(--sc-numeric);
4834
+ line-height: 1;
4835
+ white-space: nowrap;
4836
+ }
4837
+
4838
+ /* The plot: the lines across, the marks over them, and over the marks what answers the
4839
+ pointer, each as large as the plot. */
4840
+ /* The plot is as tall as its row of the frame and no taller, whatever is drawn in it. */
4841
+ .sc-chart-plot {
4842
+ display: grid;
4843
+ grid-template-rows: minmax(0, 1fr);
4844
+ min-width: 0;
4845
+ min-height: 0;
4846
+ }
4847
+
4848
+ .sc-chart-plot > * {
4849
+ grid-area: 1 / 1;
4850
+ width: 100%;
4851
+ height: 100%;
4852
+ min-width: 0;
4853
+ }
4854
+
4855
+ .sc-chart-grid,
4856
+ .sc-chart-lines {
4857
+ overflow: visible;
4858
+ }
4859
+
4860
+ .sc-chart-gridline {
4861
+ stroke: var(--sc-color-border);
4862
+ stroke-width: 1px;
4863
+ }
4864
+
4865
+ /* Zero is where the columns stand: a step stronger than the lines above it. */
4866
+ .sc-chart-gridline-zero {
4867
+ stroke: color-mix(in srgb, var(--sc-color-border-strong) 55%, transparent);
4868
+ }
4869
+
4870
+ /* The columns: one share of the width a point, the columns of a point side by side with a gap
4871
+ in the surface's colour between them. A column stays thin however much room its point has;
4872
+ the rest is air. */
4873
+ .sc-chart-columns {
4874
+ display: grid;
4875
+ grid-template-rows: minmax(0, 1fr);
4876
+ grid-auto-columns: minmax(0, 1fr);
4877
+ grid-auto-flow: column;
4878
+ }
4879
+
4880
+ .sc-chart-slot {
4881
+ display: flex;
4882
+ justify-content: center;
4883
+ gap: 2px;
4884
+ min-width: 0;
4885
+ min-height: 0;
4886
+ padding-inline: 12%;
4887
+ }
4888
+
4889
+ .sc-chart-column {
4890
+ flex: 0 1 1.25rem;
4891
+ min-width: 0;
4892
+ height: 100%;
4893
+ }
4894
+
4895
+ /* A column is square where it stands on zero and round where it ends. */
4896
+ .sc-chart-bar {
4897
+ rx: var(--sc-radius-sm);
4898
+ fill: currentcolor;
4899
+ }
4900
+
4901
+ .sc-chart-line {
4902
+ stroke: currentcolor;
4903
+ stroke-width: 2px;
4904
+ stroke-linecap: round;
4905
+ }
4906
+
4907
+ /* The last amount of a line, and an amount with none beside it: a dot, ringed in the surface's
4908
+ colour so that it reads where lines cross. */
4909
+ .sc-chart-dot {
4910
+ r: 4px;
4911
+ fill: currentcolor;
4912
+ stroke: var(--sc-color-bg-raised);
4913
+ stroke-width: 2px;
4914
+ }
4915
+
4916
+ /* A point's share of the plot answers the pointer over its whole height, so that nobody has to
4917
+ aim at a line: it says the point's figures, and is washed while the pointer is on it. */
4918
+ .sc-chart-hit {
4919
+ fill: transparent;
4920
+ }
4921
+
4922
+ .sc-chart-hit:hover {
4923
+ fill: color-mix(in srgb, var(--sc-color-text) 6%, transparent);
4924
+ }
4925
+
4926
+ /* The points' names, each under its point. One the chart has room for only in a wide box
4927
+ stays out of a narrow one. */
4928
+ .sc-chart-labels {
4929
+ display: grid;
4930
+ grid-column: 2;
4931
+ grid-auto-columns: minmax(0, 1fr);
4932
+ grid-auto-flow: column;
4933
+ padding-top: var(--sc-space-2);
4934
+ color: var(--sc-color-text-faint);
4935
+ font-size: var(--sc-text-xs);
4936
+ line-height: var(--sc-leading-tight);
4937
+ }
4938
+
4939
+ .sc-chart-label {
4940
+ justify-self: center;
4941
+ white-space: nowrap;
4942
+ }
4943
+
4944
+ .sc-chart-label-wide {
4945
+ visibility: hidden;
4946
+ }
4947
+
4948
+ @container (min-width: 40rem) {
4949
+ .sc-chart-label-wide {
4950
+ visibility: visible;
4951
+ }
4952
+ }
4953
+
4954
+ /* In a narrow box a name at an end of the chart, wider than its point's share, stands inside
4955
+ the chart and not past its edge. */
4956
+ @container (max-width: 40rem) {
4957
+ .sc-chart-label-start {
4958
+ justify-self: start;
4959
+ }
4960
+
4961
+ .sc-chart-label-end {
4962
+ justify-self: end;
4963
+ }
4964
+ }
4965
+
4966
+ /* parts/figures.css */
4967
+ /* A table of figures: rows by columns, the names at the start and every number at the end of
4968
+ its column, in the figures that line up. What a chart shows, to be read exactly. It scrolls
4969
+ sideways in its box where a phone has no room for its columns. */
4970
+ .sc-figures-box {
4971
+ max-width: 100%;
4972
+ overflow-x: auto;
4973
+ }
4974
+
4975
+ .sc-figures {
4976
+ width: 100%;
4977
+ font-size: var(--sc-text-sm);
4978
+ }
4979
+
4980
+ .sc-figures caption {
4981
+ padding-bottom: var(--sc-space-2);
4982
+ color: var(--sc-color-text-muted);
4983
+ font-size: var(--sc-text-xs);
4984
+ text-align: start;
4985
+ }
4986
+
4987
+ .sc-figures th,
4988
+ .sc-figures td {
4989
+ padding: var(--sc-space-2) var(--sc-space-3);
4990
+ border-top: var(--sc-hairline);
4991
+ font-weight: var(--sc-weight-normal);
4992
+ font-feature-settings: var(--sc-numeric);
4993
+ text-align: end;
4994
+ white-space: nowrap;
4146
4995
  }
4147
4996
 
4148
- .sc-toggle-chip input {
4149
- position: absolute;
4150
- width: 1px;
4151
- height: 1px;
4152
- margin: 0;
4153
- opacity: 0;
4154
- pointer-events: none;
4997
+ .sc-figures th:first-child,
4998
+ .sc-figures td:first-child {
4999
+ min-width: 7rem;
5000
+ padding-inline-start: 0;
5001
+ text-align: start;
5002
+ white-space: normal;
5003
+ overflow-wrap: anywhere;
4155
5004
  }
4156
5005
 
4157
- .sc-toggle-chip:has(input:focus-visible) {
4158
- outline: var(--sc-focus-ring);
4159
- outline-offset: 2px;
5006
+ .sc-figures th:last-child,
5007
+ .sc-figures td:last-child {
5008
+ padding-inline-end: 0;
4160
5009
  }
4161
5010
 
4162
- .sc-toggle-chip:has(input:checked) {
4163
- border-color: color-mix(in srgb, var(--sc-color-accent) 40%, transparent);
4164
- background: var(--sc-color-accent-subtle);
4165
- color: var(--sc-color-accent);
5011
+ /* The head: the small capitals, as a fact's name is. */
5012
+ .sc-figures thead th {
5013
+ border-top: 0;
5014
+ color: var(--sc-color-text-faint);
5015
+ font-size: var(--sc-text-xs);
5016
+ font-weight: var(--sc-weight-medium);
5017
+ letter-spacing: var(--sc-tracking-wide);
5018
+ text-transform: var(--sc-label-case);
4166
5019
  }
4167
5020
 
4168
- .sc-toggle-chip:has(input:checked)::before {
4169
- content: "";
4170
- width: 0.3125rem;
4171
- height: 0.5625rem;
4172
- margin-inline: 0.125rem 0.0625rem;
4173
- border: solid currentColor;
4174
- border-width: 0 1.5px 1.5px 0;
4175
- transform: translateY(-0.0625rem) rotate(45deg);
5021
+ .sc-figures tbody th {
5022
+ color: var(--sc-color-text);
5023
+ font-weight: var(--sc-weight-medium);
4176
5024
  }
4177
5025
 
4178
- .sc-toggle-chip:has(input:disabled) {
4179
- opacity: 0.55;
4180
- cursor: not-allowed;
5026
+ /* The foot: what the rows come to. */
5027
+ .sc-figures tfoot th,
5028
+ .sc-figures tfoot td {
5029
+ border-top: var(--sc-border-strong);
5030
+ font-weight: var(--sc-weight-bold);
4181
5031
  }
4182
5032
 
4183
5033
  /* pages/decisions.css */
@@ -4197,7 +5047,7 @@ select.sc-input-quiet {
4197
5047
  font-size: var(--sc-text-xs);
4198
5048
  font-weight: var(--sc-weight-medium);
4199
5049
  letter-spacing: var(--sc-tracking-wide);
4200
- text-transform: uppercase;
5050
+ text-transform: var(--sc-label-case);
4201
5051
  }
4202
5052
 
4203
5053
  .sc-decision {
@@ -4259,6 +5109,7 @@ select.sc-input-quiet {
4259
5109
  .sc-decision-question {
4260
5110
  font-size: var(--sc-text-lg);
4261
5111
  overflow-wrap: anywhere;
5112
+ text-wrap: balance;
4262
5113
  }
4263
5114
 
4264
5115
  .sc-decision-question a {
@@ -4480,6 +5331,7 @@ select.sc-input-quiet {
4480
5331
  .sc-decision-record-question {
4481
5332
  font-weight: var(--sc-weight-medium);
4482
5333
  overflow-wrap: anywhere;
5334
+ text-wrap: balance;
4483
5335
  }
4484
5336
 
4485
5337
  .sc-decision-record-question a {
@@ -4566,7 +5418,7 @@ select.sc-input-quiet {
4566
5418
  font-size: var(--sc-text-xs);
4567
5419
  font-weight: var(--sc-weight-medium);
4568
5420
  letter-spacing: var(--sc-tracking-wide);
4569
- text-transform: uppercase;
5421
+ text-transform: var(--sc-label-case);
4570
5422
  }
4571
5423
 
4572
5424
  .sc-run,
@@ -4897,7 +5749,7 @@ select.sc-input-quiet {
4897
5749
  font-size: var(--sc-text-xs);
4898
5750
  font-weight: var(--sc-weight-medium);
4899
5751
  letter-spacing: var(--sc-tracking-wide);
4900
- text-transform: uppercase;
5752
+ text-transform: var(--sc-label-case);
4901
5753
  }
4902
5754
 
4903
5755
  /* The feed: a line per event, newest first. */
@@ -4964,9 +5816,12 @@ select.sc-input-quiet {
4964
5816
  margin-inline-start: 0;
4965
5817
  }
4966
5818
 
5819
+ /* Each row is a grid of its own, so the hour's column is given a width every row shares: an
5820
+ hour is written as the language writes one, a figure more or less from row to row, and the
5821
+ sentences beside it start on one line down the feed all the same. */
4967
5822
  .sc-feed-item {
4968
5823
  display: grid;
4969
- grid-template-columns: auto minmax(0, 1fr);
5824
+ grid-template-columns: minmax(4.25rem, auto) minmax(0, 1fr);
4970
5825
  align-items: baseline;
4971
5826
  gap: var(--sc-space-3);
4972
5827
  padding: var(--sc-space-1) 0;
@@ -5104,11 +5959,6 @@ select.sc-input-quiet {
5104
5959
  color: var(--sc-color-text);
5105
5960
  }
5106
5961
 
5107
- .sc-column-toggle svg {
5108
- width: 1rem;
5109
- height: 1rem;
5110
- }
5111
-
5112
5962
  /* A folded column is a strip: the way to open it on top, its name down its length, its count. */
5113
5963
  /* A folded column is its header alone, the height of a header and as wide as its name: the way
5114
5964
  to open it, the name and the count in a row, at the top of the board. */
@@ -5294,11 +6144,6 @@ select.sc-input-quiet {
5294
6144
  color var(--sc-transition);
5295
6145
  }
5296
6146
 
5297
- .sc-card-menu-button svg {
5298
- width: 1rem;
5299
- height: 1rem;
5300
- }
5301
-
5302
6147
  /* Shown on the card under the pointer or with the focus, while the menu is open, and on the card
5303
6148
  in hand, which is the card as it was hovered: its menu's dots, and the room they take. */
5304
6149
  .sc-drag-ghost .sc-card-menu-button,
@@ -5638,6 +6483,11 @@ select.sc-input-quiet {
5638
6483
  font-size: var(--sc-text-sm);
5639
6484
  }
5640
6485
 
6486
+ /* What the organization adds stands off the console's rules above it (ADR-0120). */
6487
+ .sc-rules-added {
6488
+ margin-top: var(--sc-space-6);
6489
+ }
6490
+
5641
6491
  /* The ways to change the rules stand off the text, as a form's actions do. */
5642
6492
  .sc-rules-actions {
5643
6493
  display: flex;
@@ -5875,7 +6725,7 @@ select.sc-input-quiet {
5875
6725
  font-size: var(--sc-text-xs);
5876
6726
  font-weight: var(--sc-weight-medium);
5877
6727
  letter-spacing: var(--sc-tracking-wide);
5878
- text-transform: uppercase;
6728
+ text-transform: var(--sc-label-case);
5879
6729
  }
5880
6730
 
5881
6731
  /* Who has what: a table on a sheet of its own, a quiet band for the headings, a hairline
@@ -6091,7 +6941,7 @@ select.sc-input-quiet {
6091
6941
  font-size: var(--sc-text-xs);
6092
6942
  font-weight: var(--sc-weight-medium);
6093
6943
  letter-spacing: var(--sc-tracking-wide);
6094
- text-transform: uppercase;
6944
+ text-transform: var(--sc-label-case);
6095
6945
  }
6096
6946
 
6097
6947
  /* The roadmap: a goal a pane, with how far it is as a bar. */
@@ -6179,7 +7029,7 @@ select.sc-input-quiet {
6179
7029
 
6180
7030
  .sc-timeline-row {
6181
7031
  display: grid;
6182
- grid-template-columns: minmax(8rem, 14rem) minmax(20rem, 1fr);
7032
+ grid-template-columns: minmax(8rem, 22rem) minmax(20rem, 1fr);
6183
7033
  align-items: center;
6184
7034
  gap: var(--sc-space-2);
6185
7035
  }
@@ -6957,10 +7807,15 @@ a.sc-tile-glance:focus-visible {
6957
7807
  font-size: var(--sc-text-sm);
6958
7808
  }
6959
7809
 
7810
+ /* The ways out of arranging and the ways to put the page right, four of them: on a phone they
7811
+ take a second line, so that the one that keeps the page is never past its edge. */
6960
7812
  .sc-home-bar-actions {
6961
7813
  display: flex;
7814
+ flex-wrap: wrap;
6962
7815
  gap: var(--sc-space-2);
6963
7816
  align-items: center;
7817
+ justify-content: flex-end;
7818
+ min-width: 0;
6964
7819
  }
6965
7820
 
6966
7821
  .sc-home-tray {
@@ -7562,16 +8417,6 @@ a.sc-tile-glance:focus-visible {
7562
8417
  color: var(--sc-color-accent);
7563
8418
  }
7564
8419
 
7565
- .sc-session-icon svg {
7566
- width: 1.25rem;
7567
- height: 1.25rem;
7568
- fill: none;
7569
- stroke: currentColor;
7570
- stroke-width: 1.5;
7571
- stroke-linecap: round;
7572
- stroke-linejoin: round;
7573
- }
7574
-
7575
8420
  .sc-session-body {
7576
8421
  flex: 1;
7577
8422
  min-width: 0;
@@ -7740,6 +8585,17 @@ a.sc-tile-glance:focus-visible {
7740
8585
  flex: 1 1 10rem;
7741
8586
  }
7742
8587
 
8588
+ /* Where there is room a row stands on columns every row shares: the colour, the name, the key,
8589
+ the colour's name, and what is done to it, each under the same thing above. The columns
8590
+ take some thirty-nine rem with the row's own padding, which a page has from a window of
8591
+ forty-eight on: narrower, a row wraps as its words need, and never runs past the page. */
8592
+ @media (min-width: 48rem) {
8593
+ .sc-category-form {
8594
+ display: grid;
8595
+ grid-template-columns: auto minmax(8rem, 1fr) 8rem 9rem auto auto;
8596
+ }
8597
+ }
8598
+
7743
8599
  /* The pack token (ADR-0028, ADR-0036): what it is for first, then the two ways to one side by
7744
8600
  side, each a card with its words before its controls, and the code shown large while the
7745
8601
  page waits for the approval. */
@@ -7835,18 +8691,6 @@ a.sc-tile-glance:focus-visible {
7835
8691
  max-width: var(--sc-width-prose);
7836
8692
  }
7837
8693
 
7838
- .sc-task-heading {
7839
- display: grid;
7840
- flex: 1 1 28rem;
7841
- gap: var(--sc-space-2);
7842
- min-width: 0;
7843
- }
7844
-
7845
- .sc-task-parent {
7846
- color: var(--sc-color-text-muted);
7847
- font-size: var(--sc-text-sm);
7848
- }
7849
-
7850
8694
  .sc-subtasks {
7851
8695
  display: grid;
7852
8696
  gap: var(--sc-space-2);
@@ -7913,14 +8757,6 @@ a.sc-tile-glance:focus-visible {
7913
8757
  }
7914
8758
  }
7915
8759
 
7916
- @media (max-width: 40rem) {
7917
- .sc-task-parent {
7918
- overflow: hidden;
7919
- white-space: nowrap;
7920
- text-overflow: ellipsis;
7921
- }
7922
- }
7923
-
7924
8760
  /* pages/agents.css */
7925
8761
  /* Sources: components/agents.tsx, components/agent-page.tsx, agent-page.tsx, components/setup.tsx, setup-page.tsx */
7926
8762
 
@@ -8537,7 +9373,7 @@ a.sc-tile-glance:focus-visible {
8537
9373
  }
8538
9374
 
8539
9375
  .sc-talk-said > .sc-time {
8540
- flex-basis: 100%;
9376
+ flex-basis: calc(100% - 1.5rem - var(--sc-space-3));
8541
9377
  margin-inline-start: calc(1.5rem + var(--sc-space-3));
8542
9378
  padding-top: 0;
8543
9379
  }
@@ -8578,6 +9414,20 @@ a.sc-tile-glance:focus-visible {
8578
9414
  white-space: nowrap;
8579
9415
  }
8580
9416
 
9417
+ /* A badge in the row, whose step it is or how it ended, gives way where the row is narrow, after
9418
+ the call's line has given all of its own: cut short, so that when it was done stays in the row. */
9419
+ .sc-talk-tool-head > .sc-badge {
9420
+ display: block;
9421
+ flex: 0 1 auto;
9422
+ min-width: 0;
9423
+ overflow: hidden;
9424
+ text-overflow: ellipsis;
9425
+ }
9426
+
9427
+ .sc-talk-tool-head > .sc-talk-tool-line {
9428
+ flex-shrink: 100000;
9429
+ }
9430
+
8581
9431
  .sc-talk-tool-head:focus-visible {
8582
9432
  outline: var(--sc-focus-ring);
8583
9433
  outline-offset: 2px;
@@ -8627,6 +9477,40 @@ a.sc-tile-glance:focus-visible {
8627
9477
  padding: var(--sc-space-1) var(--sc-space-3) var(--sc-space-3);
8628
9478
  }
8629
9479
 
9480
+ /* A sub-agent's row: what it is called, how it stands and when on one line, and under them what
9481
+ it is and how much it did. Opened, what it did stands inside it, the whole width of it. */
9482
+ .sc-talk-agent-head {
9483
+ flex-wrap: wrap;
9484
+ align-items: baseline;
9485
+ row-gap: 0.125rem;
9486
+ }
9487
+
9488
+ /* A name is read whole where it fits in two lines, and cut after them. */
9489
+ .sc-talk-agent-name {
9490
+ display: -webkit-box;
9491
+ flex: 1 1 0;
9492
+ min-width: 0;
9493
+ overflow: hidden;
9494
+ overflow-wrap: anywhere;
9495
+ -webkit-box-orient: vertical;
9496
+ -webkit-line-clamp: 2;
9497
+ line-clamp: 2;
9498
+ }
9499
+
9500
+ .sc-talk-agent-head > .sc-talk-agent-facts {
9501
+ display: flex;
9502
+ flex: 1 0 100%;
9503
+ flex-wrap: wrap;
9504
+ align-items: baseline;
9505
+ column-gap: var(--sc-space-2);
9506
+ order: 1;
9507
+ white-space: normal;
9508
+ }
9509
+
9510
+ .sc-talk-steps > .sc-talk-step {
9511
+ margin-inline-start: 0;
9512
+ }
9513
+
8630
9514
  .sc-talk-code {
8631
9515
  max-height: 24rem;
8632
9516
  padding: var(--sc-space-2) var(--sc-space-3);
@@ -8774,6 +9658,40 @@ a.sc-tile-glance:focus-visible {
8774
9658
  }
8775
9659
  }
8776
9660
 
9661
+ /* The sub-agents at work, under the sign that the agent is: a line each, in from its picture,
9662
+ the name first and what it is at after it, under the name where the row is narrow. */
9663
+ .sc-talk-working-agents {
9664
+ flex-wrap: wrap;
9665
+ row-gap: var(--sc-space-1);
9666
+ }
9667
+
9668
+ .sc-talk-agents {
9669
+ display: grid;
9670
+ flex: 1 0 100%;
9671
+ grid-template-columns: minmax(0, 1fr);
9672
+ gap: var(--sc-space-1);
9673
+ max-width: 40rem;
9674
+ margin: 0;
9675
+ padding: 0 0 0 calc(1.5rem + var(--sc-space-3));
9676
+ list-style: none;
9677
+ }
9678
+
9679
+ .sc-talk-agents-row {
9680
+ display: flex;
9681
+ flex-wrap: wrap;
9682
+ align-items: baseline;
9683
+ column-gap: var(--sc-space-3);
9684
+ min-width: 0;
9685
+ }
9686
+
9687
+ .sc-talk-agents-row > .sc-talk-agent-name {
9688
+ flex: 1 1 10rem;
9689
+ }
9690
+
9691
+ .sc-talk-agents-facts {
9692
+ flex: none;
9693
+ }
9694
+
8777
9695
  /* The pictures of an event: small, side by side, each opening large over the page. */
8778
9696
  .sc-talk-pictures {
8779
9697
  display: flex;
@@ -8909,11 +9827,25 @@ a.sc-tile-glance:focus-visible {
8909
9827
  grid-column: 1 / -1;
8910
9828
  }
8911
9829
 
9830
+ /* How it ended stands beside the first line of when, where when takes two. */
9831
+ .sc-agent-live-side .sc-agent-session {
9832
+ align-items: start;
9833
+ }
9834
+
9835
+ /* On a card: why the agent stands as it does, and under it since when. */
9836
+ .sc-agent-card-now {
9837
+ display: grid;
9838
+ }
9839
+
8912
9840
  @media (max-width: 48rem) {
8913
9841
  .sc-agent-sessions {
8914
9842
  grid-template-columns: minmax(0, 1fr) auto;
8915
9843
  }
8916
9844
 
9845
+ .sc-agent-session {
9846
+ align-items: start;
9847
+ }
9848
+
8917
9849
  .sc-agent-session-facts,
8918
9850
  .sc-agent-session-count {
8919
9851
  grid-column: 1 / -1;
@@ -9010,6 +9942,12 @@ a.sc-tile-glance:focus-visible {
9010
9942
  width: 100%;
9011
9943
  }
9012
9944
 
9945
+ @media (max-width: 40rem) {
9946
+ .sc-agent-persona .sc-field {
9947
+ flex-basis: 100%;
9948
+ }
9949
+ }
9950
+
9013
9951
  .sc-agent-settings .sc-agent-runner-facts {
9014
9952
  margin-bottom: var(--sc-space-4);
9015
9953
  padding-top: 0;
@@ -9188,6 +10126,134 @@ a.sc-tile-glance:focus-visible {
9188
10126
  gap: var(--sc-space-6) var(--sc-work-gap);
9189
10127
  }
9190
10128
 
10129
+ /* pages/desk.css */
10130
+ /* Sources: components/desk.tsx, desk-page.tsx, components/desk-records.tsx, desk-records-page.tsx */
10131
+
10132
+ /* The views of a desk stand as the people's and the agents' do. */
10133
+ .sc-desk-views {
10134
+ margin-bottom: var(--sc-space-5);
10135
+ }
10136
+
10137
+ /* The lists of a desk: two side by side where each still has a reading width, one under the
10138
+ other below that, as the lists of a plate are, so that their rows line up. */
10139
+ .sc-desk-lists {
10140
+ display: grid;
10141
+ grid-template-columns: repeat(
10142
+ auto-fill,
10143
+ minmax(min(100%, max(24rem, calc((100% - var(--sc-space-7)) / 2))), 1fr)
10144
+ );
10145
+ align-items: start;
10146
+ gap: var(--sc-space-6) var(--sc-space-7);
10147
+ }
10148
+
10149
+ /* The figures, one group under the other. */
10150
+ .sc-desk-figures {
10151
+ display: grid;
10152
+ gap: var(--sc-space-6);
10153
+ }
10154
+
10155
+ /* Two panes of figures side by side where the window has the room. */
10156
+ .sc-desk-pair {
10157
+ display: grid;
10158
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
10159
+ align-items: start;
10160
+ gap: var(--sc-space-5);
10161
+ }
10162
+
10163
+ .sc-desk-pair .sc-panel {
10164
+ margin-bottom: 0;
10165
+ }
10166
+
10167
+ /* The archive: the words it is found by over its lists. */
10168
+ .sc-desk-archive {
10169
+ display: grid;
10170
+ gap: var(--sc-space-5);
10171
+ }
10172
+
10173
+ .sc-desk-search {
10174
+ display: flex;
10175
+ gap: var(--sc-space-2);
10176
+ }
10177
+
10178
+ .sc-desk-search .sc-input {
10179
+ flex: 1;
10180
+ max-width: 32rem;
10181
+ }
10182
+
10183
+ /* A desk of one's own on the Agents page: its words over the command, under what is above. */
10184
+ .sc-desk-command {
10185
+ display: grid;
10186
+ gap: var(--sc-space-3);
10187
+ margin-top: var(--sc-space-5);
10188
+ }
10189
+
10190
+ /* The records: what could not be read over what could, and the way down over both. */
10191
+ .sc-desk-records {
10192
+ display: grid;
10193
+ gap: var(--sc-space-4);
10194
+ }
10195
+
10196
+ /* The items of a collection as cards, as many across as the window has room for. */
10197
+ .sc-desk-cards {
10198
+ display: grid;
10199
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
10200
+ align-items: start;
10201
+ gap: var(--sc-space-4);
10202
+ margin: 0;
10203
+ padding: 0;
10204
+ list-style: none;
10205
+ }
10206
+
10207
+ .sc-desk-cards .sc-panel {
10208
+ margin-bottom: 0;
10209
+ }
10210
+
10211
+ .sc-desk-card {
10212
+ display: grid;
10213
+ gap: var(--sc-space-2);
10214
+ min-width: 0;
10215
+ }
10216
+
10217
+ /* A card's preview: the card's width, one shape whatever the picture's own. */
10218
+ .sc-desk-card-picture {
10219
+ display: block;
10220
+ width: 100%;
10221
+ aspect-ratio: 4 / 3;
10222
+ object-fit: cover;
10223
+ }
10224
+
10225
+ /* One item: its head over its two columns. */
10226
+ .sc-desk-item {
10227
+ display: grid;
10228
+ gap: var(--sc-space-5);
10229
+ }
10230
+
10231
+ .sc-desk-item-picture {
10232
+ display: block;
10233
+ max-width: 100%;
10234
+ max-height: 28rem;
10235
+ object-fit: contain;
10236
+ }
10237
+
10238
+ /* What was written about an item keeps its own lines. */
10239
+ .sc-desk-words {
10240
+ white-space: pre-wrap;
10241
+ overflow-wrap: anywhere;
10242
+ }
10243
+
10244
+ /* A file shown in place takes a line of its own under its name, no taller than a reading. */
10245
+ .sc-desk-file-media {
10246
+ flex: 1 1 100%;
10247
+ width: 100%;
10248
+ max-height: 28rem;
10249
+ object-fit: contain;
10250
+ }
10251
+
10252
+ .sc-desk-file-frame {
10253
+ flex: 1 1 100%;
10254
+ height: 32rem;
10255
+ }
10256
+
9191
10257
  /* pages/plugins.css */
9192
10258
  /* Sources: components/plugin-settings.tsx, components/plugin-frame.tsx */
9193
10259