@songsid/agend 2.4.0-beta.3 → 2.4.0-beta.31

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 (2016) hide show
  1. package/README.md +11 -1
  2. package/README.zh-TW.md +11 -1
  3. package/dist/accounts-profiles.d.ts +1 -1
  4. package/dist/accounts-view.d.ts +32 -0
  5. package/dist/accounts-view.js +2 -14
  6. package/dist/accounts-view.js.map +1 -1
  7. package/dist/agend-home.js +5 -5
  8. package/dist/agend-home.js.map +1 -1
  9. package/dist/agent-cli-instructions.md +19 -7
  10. package/dist/agent-cli.js +199 -51
  11. package/dist/agent-cli.js.map +1 -1
  12. package/dist/agent-endpoint.d.ts +5 -1
  13. package/dist/agent-endpoint.js +62 -11
  14. package/dist/agent-endpoint.js.map +1 -1
  15. package/dist/agent-export.d.ts +3 -1
  16. package/dist/agent-export.js +18 -1
  17. package/dist/agent-export.js.map +1 -1
  18. package/dist/agent-file-read.js +3 -3
  19. package/dist/agent-file-read.js.map +1 -1
  20. package/dist/agent-whats-new.js +35 -0
  21. package/dist/agent-whats-new.js.map +1 -1
  22. package/dist/agent-workspace.d.ts +18 -2
  23. package/dist/agent-workspace.js +15 -4
  24. package/dist/agent-workspace.js.map +1 -1
  25. package/dist/app-message-origin.d.ts +2 -0
  26. package/dist/app-message-origin.js +3 -0
  27. package/dist/app-message-origin.js.map +1 -0
  28. package/dist/apply-job.d.ts +2 -2
  29. package/dist/auth-api.d.ts +12 -0
  30. package/dist/auth-api.js +87 -5
  31. package/dist/auth-api.js.map +1 -1
  32. package/dist/authority/authority-state.d.ts +7 -0
  33. package/dist/authority/authority-state.js +17 -2
  34. package/dist/authority/authority-state.js.map +1 -1
  35. package/dist/authority/web-authority.d.ts +28 -4
  36. package/dist/authority/web-authority.js +67 -4
  37. package/dist/authority/web-authority.js.map +1 -1
  38. package/dist/backend/agy-model-switch.d.ts +22 -0
  39. package/dist/backend/agy-model-switch.js +62 -0
  40. package/dist/backend/agy-model-switch.js.map +1 -0
  41. package/dist/backend/antigravity.d.ts +9 -2
  42. package/dist/backend/antigravity.js +121 -13
  43. package/dist/backend/antigravity.js.map +1 -1
  44. package/dist/backend/claude-carry.d.ts +11 -0
  45. package/dist/backend/claude-carry.js +88 -6
  46. package/dist/backend/claude-carry.js.map +1 -1
  47. package/dist/backend/claude-code.d.ts +39 -7
  48. package/dist/backend/claude-code.js +234 -32
  49. package/dist/backend/claude-code.js.map +1 -1
  50. package/dist/backend/claude-mcp-carry.d.ts +63 -0
  51. package/dist/backend/claude-mcp-carry.js +242 -0
  52. package/dist/backend/claude-mcp-carry.js.map +1 -0
  53. package/dist/backend/claude-transcript-errors.d.ts +4 -0
  54. package/dist/backend/claude-transcript-errors.js +5 -1
  55. package/dist/backend/claude-transcript-errors.js.map +1 -1
  56. package/dist/backend/claude-usage-credits.d.ts +8 -0
  57. package/dist/backend/claude-usage-credits.js +121 -0
  58. package/dist/backend/claude-usage-credits.js.map +1 -0
  59. package/dist/backend/cli-env-probe.js +1 -1
  60. package/dist/backend/cli-env-probe.js.map +1 -1
  61. package/dist/backend/cli-runtime-switch.d.ts +90 -0
  62. package/dist/backend/cli-runtime-switch.js +273 -0
  63. package/dist/backend/cli-runtime-switch.js.map +1 -0
  64. package/dist/backend/codex-footer-hints.d.ts +1 -0
  65. package/dist/backend/codex-footer-hints.js +15 -0
  66. package/dist/backend/codex-footer-hints.js.map +1 -1
  67. package/dist/backend/codex-model-switch.d.ts +41 -0
  68. package/dist/backend/codex-model-switch.js +170 -0
  69. package/dist/backend/codex-model-switch.js.map +1 -0
  70. package/dist/backend/codex-precaution.d.ts +7 -0
  71. package/dist/backend/codex-precaution.js +103 -0
  72. package/dist/backend/codex-precaution.js.map +1 -0
  73. package/dist/backend/codex.d.ts +7 -4
  74. package/dist/backend/codex.js +56 -10
  75. package/dist/backend/codex.js.map +1 -1
  76. package/dist/backend/grok-model-switch.d.ts +16 -0
  77. package/dist/backend/grok-model-switch.js +45 -0
  78. package/dist/backend/grok-model-switch.js.map +1 -0
  79. package/dist/backend/grok.js +33 -7
  80. package/dist/backend/grok.js.map +1 -1
  81. package/dist/backend/kiro-auth-store.d.ts +15 -2
  82. package/dist/backend/kiro-auth-store.js +64 -0
  83. package/dist/backend/kiro-auth-store.js.map +1 -1
  84. package/dist/backend/kiro.js +10 -5
  85. package/dist/backend/kiro.js.map +1 -1
  86. package/dist/backend/muse.d.ts +2 -0
  87. package/dist/backend/muse.js +7 -3
  88. package/dist/backend/muse.js.map +1 -1
  89. package/dist/backend/native-pane.js +1 -1
  90. package/dist/backend/native-pane.js.map +1 -1
  91. package/dist/backend/types.d.ts +59 -2
  92. package/dist/backend/types.js.map +1 -1
  93. package/dist/backend-availability.d.ts +23 -16
  94. package/dist/backend-availability.js +73 -93
  95. package/dist/backend-availability.js.map +1 -1
  96. package/dist/backend-command.d.ts +4 -2
  97. package/dist/backend-command.js +3 -0
  98. package/dist/backend-command.js.map +1 -1
  99. package/dist/backend-signin-guide.js +1 -1
  100. package/dist/backend-signin-guide.js.map +1 -1
  101. package/dist/backend-version-static.d.ts +15 -0
  102. package/dist/backend-version-static.js +95 -0
  103. package/dist/backend-version-static.js.map +1 -0
  104. package/dist/browser-backend-signins.d.ts +1 -0
  105. package/dist/browser-backend-signins.js +3 -1
  106. package/dist/browser-backend-signins.js.map +1 -1
  107. package/dist/build-provenance.json +1 -1
  108. package/dist/cache-ledger.d.ts +23 -21
  109. package/dist/cache-ledger.js +70 -6
  110. package/dist/cache-ledger.js.map +1 -1
  111. package/dist/cache-prices.d.ts +8 -6
  112. package/dist/cache-prices.js +12 -5
  113. package/dist/cache-prices.js.map +1 -1
  114. package/dist/cache-service.d.ts +9 -5
  115. package/dist/cache-service.js +202 -50
  116. package/dist/cache-service.js.map +1 -1
  117. package/dist/channel/adapters/discord.d.ts +23 -1
  118. package/dist/channel/adapters/discord.js +97 -26
  119. package/dist/channel/adapters/discord.js.map +1 -1
  120. package/dist/channel/adapters/telegram.d.ts +2 -0
  121. package/dist/channel/adapters/telegram.js +9 -4
  122. package/dist/channel/adapters/telegram.js.map +1 -1
  123. package/dist/channel/ipc-bridge.d.ts +7 -0
  124. package/dist/channel/ipc-bridge.js +45 -11
  125. package/dist/channel/ipc-bridge.js.map +1 -1
  126. package/dist/channel/mcp-server.js +39 -5
  127. package/dist/channel/mcp-server.js.map +1 -1
  128. package/dist/channel/mcp-tools.d.ts +27 -1
  129. package/dist/channel/mcp-tools.js +107 -14
  130. package/dist/channel/mcp-tools.js.map +1 -1
  131. package/dist/channel/tool-router.d.ts +4 -0
  132. package/dist/channel/tool-router.js +51 -19
  133. package/dist/channel/tool-router.js.map +1 -1
  134. package/dist/channel/types.d.ts +10 -0
  135. package/dist/chat-task-refs.d.ts +61 -0
  136. package/dist/chat-task-refs.js +112 -0
  137. package/dist/chat-task-refs.js.map +1 -0
  138. package/dist/classic-channel-manager.d.ts +6 -2
  139. package/dist/classic-channel-manager.js +29 -4
  140. package/dist/classic-channel-manager.js.map +1 -1
  141. package/dist/classic-cli-guard.d.ts +66 -0
  142. package/dist/classic-cli-guard.js +209 -0
  143. package/dist/classic-cli-guard.js.map +1 -0
  144. package/dist/claude-credential-change.d.ts +22 -0
  145. package/dist/claude-credential-change.js +47 -0
  146. package/dist/claude-credential-change.js.map +1 -0
  147. package/dist/claude-credential-launch.d.ts +69 -0
  148. package/dist/claude-credential-launch.js +328 -0
  149. package/dist/claude-credential-launch.js.map +1 -0
  150. package/dist/claude-credential-runner.d.ts +1 -0
  151. package/dist/claude-credential-runner.js +58 -0
  152. package/dist/claude-credential-runner.js.map +1 -0
  153. package/dist/claude-credential-vault.d.ts +57 -0
  154. package/dist/claude-credential-vault.js +277 -0
  155. package/dist/claude-credential-vault.js.map +1 -0
  156. package/dist/claude-install-kind.d.ts +19 -0
  157. package/dist/claude-install-kind.js +54 -0
  158. package/dist/claude-install-kind.js.map +1 -0
  159. package/dist/claude-request-observation.d.ts +7 -0
  160. package/dist/claude-request-observation.js +26 -0
  161. package/dist/claude-request-observation.js.map +1 -0
  162. package/dist/claude-setup-token-transport.d.ts +9 -0
  163. package/dist/claude-setup-token-transport.js +104 -0
  164. package/dist/claude-setup-token-transport.js.map +1 -0
  165. package/dist/claude-setup-token.d.ts +51 -0
  166. package/dist/claude-setup-token.js +83 -0
  167. package/dist/claude-setup-token.js.map +1 -0
  168. package/dist/claude-turn-boundaries.d.ts +15 -0
  169. package/dist/claude-turn-boundaries.js +88 -0
  170. package/dist/claude-turn-boundaries.js.map +1 -0
  171. package/dist/cli-audited.js +30 -17
  172. package/dist/cli-audited.js.map +1 -1
  173. package/dist/cli-capability.d.ts +3 -0
  174. package/dist/cli-capability.js.map +1 -1
  175. package/dist/cli-registry-check.js +1 -1
  176. package/dist/cli-registry-check.js.map +1 -1
  177. package/dist/cli-registry.d.ts +1 -0
  178. package/dist/cli-spec-antigravity.d.ts +1 -0
  179. package/dist/cli-spec-antigravity.js +3 -1
  180. package/dist/cli-spec-antigravity.js.map +1 -1
  181. package/dist/cli.js +231 -24
  182. package/dist/cli.js.map +1 -1
  183. package/dist/command-report.d.ts +11 -0
  184. package/dist/command-report.js +2 -0
  185. package/dist/command-report.js.map +1 -0
  186. package/dist/composite-tools.d.ts +11 -0
  187. package/dist/composite-tools.js +29 -0
  188. package/dist/composite-tools.js.map +1 -0
  189. package/dist/config-validator.js +69 -3
  190. package/dist/config-validator.js.map +1 -1
  191. package/dist/config.js +17 -2
  192. package/dist/config.js.map +1 -1
  193. package/dist/connect/control.d.ts +20 -0
  194. package/dist/connect/control.js +236 -0
  195. package/dist/connect/control.js.map +1 -0
  196. package/dist/connect/install.d.ts +13 -0
  197. package/dist/connect/install.js +12 -0
  198. package/dist/connect/install.js.map +1 -0
  199. package/dist/connect/mcp.d.ts +9 -0
  200. package/dist/connect/mcp.js +10 -0
  201. package/dist/connect/mcp.js.map +1 -0
  202. package/dist/connect/protocol.d.ts +38 -0
  203. package/dist/connect/protocol.js +36 -0
  204. package/dist/connect/protocol.js.map +1 -0
  205. package/dist/connect/service.d.ts +19 -0
  206. package/dist/connect/service.js +79 -0
  207. package/dist/connect/service.js.map +1 -0
  208. package/dist/connect/stdio-entry.d.ts +1 -0
  209. package/dist/connect/stdio-entry.js +6 -0
  210. package/dist/connect/stdio-entry.js.map +1 -0
  211. package/dist/connect/stdio.d.ts +5 -0
  212. package/dist/connect/stdio.js +33 -0
  213. package/dist/connect/stdio.js.map +1 -0
  214. package/dist/contact-auth-api.d.ts +17 -0
  215. package/dist/contact-auth-api.js +90 -0
  216. package/dist/contact-auth-api.js.map +1 -0
  217. package/dist/contact-auth-files.d.ts +6 -0
  218. package/dist/contact-auth-files.js +29 -0
  219. package/dist/contact-auth-files.js.map +1 -0
  220. package/dist/contact-auth-policy.d.ts +81 -0
  221. package/dist/contact-auth-policy.js +26 -0
  222. package/dist/contact-auth-policy.js.map +1 -0
  223. package/dist/contact-auth-service.d.ts +32 -0
  224. package/dist/contact-auth-service.js +110 -0
  225. package/dist/contact-auth-service.js.map +1 -0
  226. package/dist/contact-auth-store.d.ts +149 -0
  227. package/dist/contact-auth-store.js +573 -0
  228. package/dist/contact-auth-store.js.map +1 -0
  229. package/dist/contact-auth-types.d.ts +202 -0
  230. package/dist/contact-auth-types.js +7 -0
  231. package/dist/contact-auth-types.js.map +1 -0
  232. package/dist/contact-change-proposals.d.ts +98 -0
  233. package/dist/contact-change-proposals.js +166 -0
  234. package/dist/contact-change-proposals.js.map +1 -0
  235. package/dist/contact-state-view.d.ts +103 -0
  236. package/dist/contact-state-view.js +80 -0
  237. package/dist/contact-state-view.js.map +1 -0
  238. package/dist/cross-instance-notice.d.ts +1 -0
  239. package/dist/cross-instance-notice.js +9 -8
  240. package/dist/cross-instance-notice.js.map +1 -1
  241. package/dist/daemon.d.ts +249 -3
  242. package/dist/daemon.js +1730 -181
  243. package/dist/daemon.js.map +1 -1
  244. package/dist/darwin-memory.js +2 -1
  245. package/dist/darwin-memory.js.map +1 -1
  246. package/dist/dashboard-permissions.d.ts +23 -8
  247. package/dist/dashboard-permissions.js +33 -10
  248. package/dist/dashboard-permissions.js.map +1 -1
  249. package/dist/delivery-consumed-watch.js +3 -0
  250. package/dist/delivery-consumed-watch.js.map +1 -1
  251. package/dist/delivery-outbox.d.ts +213 -10
  252. package/dist/delivery-outbox.js +664 -49
  253. package/dist/delivery-outbox.js.map +1 -1
  254. package/dist/delivery-outbox.test.js +132 -96
  255. package/dist/delivery-outbox.test.js.map +1 -1
  256. package/dist/detached-fleet-stop.d.ts +40 -0
  257. package/dist/detached-fleet-stop.js +126 -0
  258. package/dist/detached-fleet-stop.js.map +1 -0
  259. package/dist/dispatcher-liveness.d.ts +51 -1
  260. package/dist/dispatcher-liveness.js +94 -4
  261. package/dist/dispatcher-liveness.js.map +1 -1
  262. package/dist/event-log.d.ts +12 -0
  263. package/dist/event-log.js +40 -0
  264. package/dist/event-log.js.map +1 -1
  265. package/dist/fleet-context.d.ts +9 -0
  266. package/dist/fleet-level-config.d.ts +1 -1
  267. package/dist/fleet-level-config.js +1 -0
  268. package/dist/fleet-level-config.js.map +1 -1
  269. package/dist/fleet-lock.d.ts +88 -2
  270. package/dist/fleet-lock.js +296 -3
  271. package/dist/fleet-lock.js.map +1 -1
  272. package/dist/fleet-manager.d.ts +1399 -29
  273. package/dist/fleet-manager.js +8192 -619
  274. package/dist/fleet-manager.js.map +1 -1
  275. package/dist/fleet-windows-runtime.d.ts +59 -4
  276. package/dist/fleet-windows-runtime.js +307 -40
  277. package/dist/fleet-windows-runtime.js.map +1 -1
  278. package/dist/fleet-yaml-stringify.d.ts +3 -0
  279. package/dist/fleet-yaml-stringify.js +132 -0
  280. package/dist/fleet-yaml-stringify.js.map +1 -0
  281. package/dist/general-knowledge/skills/admin/SKILL.md +52 -0
  282. package/dist/general-knowledge/skills/concepts/SKILL.md +106 -23
  283. package/dist/general-knowledge/skills/credential-profiles/SKILL.md +19 -1
  284. package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +68 -1
  285. package/dist/general-knowledge/skills/fleet-config/SKILL.md +24 -4
  286. package/dist/general-knowledge/skills/fleet-health/SKILL.md +9 -1
  287. package/dist/general-knowledge/skills/hub/SKILL.md +393 -27
  288. package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +6 -2
  289. package/dist/general-knowledge/skills/model-discovery/SKILL.md +7 -2
  290. package/dist/general-knowledge/skills/persona-emoji/SKILL.md +3 -0
  291. package/dist/general-knowledge/skills/task-board/SKILL.md +98 -0
  292. package/dist/general-knowledge/skills/web-appearance/SKILL.md +35 -3
  293. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +391 -70
  294. package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +7 -1
  295. package/dist/general-knowledge/steering/core-rules.md +15 -78
  296. package/dist/general-role-block.d.ts +19 -0
  297. package/dist/general-role-block.js +56 -0
  298. package/dist/general-role-block.js.map +1 -0
  299. package/dist/general-role.d.ts +1 -1
  300. package/dist/general-role.js +2 -0
  301. package/dist/general-role.js.map +1 -1
  302. package/dist/home-update-lock.d.ts +35 -0
  303. package/dist/home-update-lock.js +81 -0
  304. package/dist/home-update-lock.js.map +1 -0
  305. package/dist/host-memory.d.ts +24 -1
  306. package/dist/host-memory.js +30 -4
  307. package/dist/host-memory.js.map +1 -1
  308. package/dist/host-monitoring/darwin/collector.d.ts +18 -0
  309. package/dist/host-monitoring/darwin/collector.js +65 -0
  310. package/dist/host-monitoring/darwin/collector.js.map +1 -0
  311. package/dist/host-monitoring/darwin/defaults.d.ts +2 -0
  312. package/dist/host-monitoring/darwin/defaults.js +9 -0
  313. package/dist/host-monitoring/darwin/defaults.js.map +1 -0
  314. package/dist/host-monitoring/darwin/interpretation.d.ts +20 -0
  315. package/dist/host-monitoring/darwin/interpretation.js +73 -0
  316. package/dist/host-monitoring/darwin/interpretation.js.map +1 -0
  317. package/dist/host-monitoring/linux/collector.d.ts +17 -0
  318. package/dist/host-monitoring/linux/collector.js +55 -0
  319. package/dist/host-monitoring/linux/collector.js.map +1 -0
  320. package/dist/host-monitoring/linux/defaults.d.ts +2 -0
  321. package/dist/host-monitoring/linux/defaults.js +9 -0
  322. package/dist/host-monitoring/linux/defaults.js.map +1 -0
  323. package/dist/host-monitoring/linux/interpretation.d.ts +22 -0
  324. package/dist/host-monitoring/linux/interpretation.js +76 -0
  325. package/dist/host-monitoring/linux/interpretation.js.map +1 -0
  326. package/dist/host-monitoring/transport.d.ts +42 -0
  327. package/dist/host-monitoring/transport.js +101 -0
  328. package/dist/host-monitoring/transport.js.map +1 -0
  329. package/dist/host-monitoring/wsl/collector.d.ts +19 -0
  330. package/dist/host-monitoring/wsl/collector.js +72 -0
  331. package/dist/host-monitoring/wsl/collector.js.map +1 -0
  332. package/dist/host-monitoring/wsl/defaults.d.ts +2 -0
  333. package/dist/host-monitoring/wsl/defaults.js +9 -0
  334. package/dist/host-monitoring/wsl/defaults.js.map +1 -0
  335. package/dist/host-monitoring/wsl/interpretation.d.ts +22 -0
  336. package/dist/host-monitoring/wsl/interpretation.js +77 -0
  337. package/dist/host-monitoring/wsl/interpretation.js.map +1 -0
  338. package/dist/host-monitoring-alert-policy.d.ts +73 -0
  339. package/dist/host-monitoring-alert-policy.js +152 -0
  340. package/dist/host-monitoring-alert-policy.js.map +1 -0
  341. package/dist/host-monitoring-alert-resources.d.ts +11 -0
  342. package/dist/host-monitoring-alert-resources.js +16 -0
  343. package/dist/host-monitoring-alert-resources.js.map +1 -0
  344. package/dist/host-monitoring-alert-settings.d.ts +16 -0
  345. package/dist/host-monitoring-alert-settings.js +68 -0
  346. package/dist/host-monitoring-alert-settings.js.map +1 -0
  347. package/dist/host-monitoring-alert-store.d.ts +49 -0
  348. package/dist/host-monitoring-alert-store.js +228 -0
  349. package/dist/host-monitoring-alert-store.js.map +1 -0
  350. package/dist/host-monitoring-alert-text.d.ts +7 -0
  351. package/dist/host-monitoring-alert-text.js +10 -0
  352. package/dist/host-monitoring-alert-text.js.map +1 -0
  353. package/dist/host-monitoring-alerts.d.ts +79 -0
  354. package/dist/host-monitoring-alerts.js +276 -0
  355. package/dist/host-monitoring-alerts.js.map +1 -0
  356. package/dist/host-monitoring-config.d.ts +15 -0
  357. package/dist/host-monitoring-config.js +36 -0
  358. package/dist/host-monitoring-config.js.map +1 -0
  359. package/dist/host-monitoring-defaults.d.ts +19 -0
  360. package/dist/host-monitoring-defaults.js +10 -0
  361. package/dist/host-monitoring-defaults.js.map +1 -0
  362. package/dist/host-monitoring-footprint-policy.d.ts +45 -0
  363. package/dist/host-monitoring-footprint-policy.js +150 -0
  364. package/dist/host-monitoring-footprint-policy.js.map +1 -0
  365. package/dist/host-monitoring-footprint.d.ts +42 -0
  366. package/dist/host-monitoring-footprint.js +169 -0
  367. package/dist/host-monitoring-footprint.js.map +1 -0
  368. package/dist/host-monitoring-history-files.d.ts +2 -0
  369. package/dist/host-monitoring-history-files.js +16 -0
  370. package/dist/host-monitoring-history-files.js.map +1 -0
  371. package/dist/host-monitoring-history-policy.d.ts +57 -0
  372. package/dist/host-monitoring-history-policy.js +107 -0
  373. package/dist/host-monitoring-history-policy.js.map +1 -0
  374. package/dist/host-monitoring-history-store.d.ts +52 -0
  375. package/dist/host-monitoring-history-store.js +178 -0
  376. package/dist/host-monitoring-history-store.js.map +1 -0
  377. package/dist/host-monitoring-history-worker.d.ts +1 -0
  378. package/dist/host-monitoring-history-worker.js +66 -0
  379. package/dist/host-monitoring-history-worker.js.map +1 -0
  380. package/dist/host-monitoring-history.d.ts +80 -0
  381. package/dist/host-monitoring-history.js +301 -0
  382. package/dist/host-monitoring-history.js.map +1 -0
  383. package/dist/host-monitoring-platform.d.ts +21 -0
  384. package/dist/host-monitoring-platform.js +18 -0
  385. package/dist/host-monitoring-platform.js.map +1 -0
  386. package/dist/host-monitoring-process-identity.d.ts +8 -0
  387. package/dist/host-monitoring-process-identity.js +81 -0
  388. package/dist/host-monitoring-process-identity.js.map +1 -0
  389. package/dist/host-monitoring-runtime.d.ts +42 -0
  390. package/dist/host-monitoring-runtime.js +95 -0
  391. package/dist/host-monitoring-runtime.js.map +1 -0
  392. package/dist/host-monitoring-settings-store.d.ts +5 -0
  393. package/dist/host-monitoring-settings-store.js +49 -0
  394. package/dist/host-monitoring-settings-store.js.map +1 -0
  395. package/dist/host-monitoring.d.ts +123 -0
  396. package/dist/host-monitoring.js +157 -0
  397. package/dist/host-monitoring.js.map +1 -0
  398. package/dist/hub/admin-dashboard.d.ts +85 -0
  399. package/dist/hub/admin-dashboard.js +177 -0
  400. package/dist/hub/admin-dashboard.js.map +1 -0
  401. package/dist/hub/admission.d.ts +2 -0
  402. package/dist/hub/admission.js +13 -0
  403. package/dist/hub/admission.js.map +1 -1
  404. package/dist/hub/agent-catalog-model.d.ts +297 -0
  405. package/dist/hub/agent-catalog-model.js +57 -0
  406. package/dist/hub/agent-catalog-model.js.map +1 -0
  407. package/dist/hub/agent-catalog.d.ts +140 -0
  408. package/dist/hub/agent-catalog.js +130 -0
  409. package/dist/hub/agent-catalog.js.map +1 -0
  410. package/dist/hub/agent-intro-model.d.ts +38 -0
  411. package/dist/hub/agent-intro-model.js +14 -0
  412. package/dist/hub/agent-intro-model.js.map +1 -0
  413. package/dist/hub/agent-intro-tool.d.ts +35 -0
  414. package/dist/hub/agent-intro-tool.js +83 -0
  415. package/dist/hub/agent-intro-tool.js.map +1 -0
  416. package/dist/hub/agent-intro.d.ts +31 -0
  417. package/dist/hub/agent-intro.js +51 -0
  418. package/dist/hub/agent-intro.js.map +1 -0
  419. package/dist/hub/agent-pictures-model.d.ts +275 -0
  420. package/dist/hub/agent-pictures-model.js +103 -0
  421. package/dist/hub/agent-pictures-model.js.map +1 -0
  422. package/dist/hub/agent-pictures.d.ts +64 -0
  423. package/dist/hub/agent-pictures.js +256 -0
  424. package/dist/hub/agent-pictures.js.map +1 -0
  425. package/dist/hub/attachments/store.d.ts +2 -0
  426. package/dist/hub/attachments/store.js +6 -0
  427. package/dist/hub/attachments/store.js.map +1 -1
  428. package/dist/hub/audit/index.d.ts +5 -1
  429. package/dist/hub/audit/index.js +43 -3
  430. package/dist/hub/audit/index.js.map +1 -1
  431. package/dist/hub/buttons.js +3 -1
  432. package/dist/hub/buttons.js.map +1 -1
  433. package/dist/hub/catalog.d.ts +19 -6
  434. package/dist/hub/catalog.js +102 -27
  435. package/dist/hub/catalog.js.map +1 -1
  436. package/dist/hub/client.d.ts +30 -0
  437. package/dist/hub/client.js +293 -14
  438. package/dist/hub/client.js.map +1 -1
  439. package/dist/hub/compose/member.d.ts +67 -9
  440. package/dist/hub/compose/member.js +423 -36
  441. package/dist/hub/compose/member.js.map +1 -1
  442. package/dist/hub/compose/server.d.ts +30 -5
  443. package/dist/hub/compose/server.js +140 -20
  444. package/dist/hub/compose/server.js.map +1 -1
  445. package/dist/hub/direct-posts-model.d.ts +1 -0
  446. package/dist/hub/direct-posts-model.js +2 -0
  447. package/dist/hub/direct-posts-model.js.map +1 -0
  448. package/dist/hub/direct-posts.d.ts +36 -0
  449. package/dist/hub/direct-posts.js +145 -0
  450. package/dist/hub/direct-posts.js.map +1 -0
  451. package/dist/hub/directory/directory.js +27 -7
  452. package/dist/hub/directory/directory.js.map +1 -1
  453. package/dist/hub/directory/types.d.ts +10 -4
  454. package/dist/hub/directory/types.js.map +1 -1
  455. package/dist/hub/display-name.d.ts +10 -0
  456. package/dist/hub/display-name.js +35 -0
  457. package/dist/hub/display-name.js.map +1 -0
  458. package/dist/hub/execution/service.d.ts +2 -1
  459. package/dist/hub/execution/service.js +2 -1
  460. package/dist/hub/execution/service.js.map +1 -1
  461. package/dist/hub/fleet-info.d.ts +12 -0
  462. package/dist/hub/fleet-info.js +14 -0
  463. package/dist/hub/fleet-info.js.map +1 -0
  464. package/dist/hub/fleet-update-model.d.ts +100 -0
  465. package/dist/hub/fleet-update-model.js +15 -0
  466. package/dist/hub/fleet-update-model.js.map +1 -0
  467. package/dist/hub/fleet-updates.d.ts +46 -0
  468. package/dist/hub/fleet-updates.js +284 -0
  469. package/dist/hub/fleet-updates.js.map +1 -0
  470. package/dist/hub/fleet-versions.d.ts +28 -0
  471. package/dist/hub/fleet-versions.js +81 -0
  472. package/dist/hub/fleet-versions.js.map +1 -0
  473. package/dist/hub/group-policy/admin-api.d.ts +1 -0
  474. package/dist/hub/group-policy/admin-api.js +10 -1
  475. package/dist/hub/group-policy/admin-api.js.map +1 -1
  476. package/dist/hub/group-policy/admin-control.d.ts +1 -0
  477. package/dist/hub/group-policy/admin-control.js +13 -4
  478. package/dist/hub/group-policy/admin-control.js.map +1 -1
  479. package/dist/hub/group-policy/admin-dto.d.ts +39 -1
  480. package/dist/hub/group-policy/admin-dto.js.map +1 -1
  481. package/dist/hub/group-policy/admin-facts.d.ts +4 -2
  482. package/dist/hub/group-policy/admin-facts.js +17 -2
  483. package/dist/hub/group-policy/admin-facts.js.map +1 -1
  484. package/dist/hub/group-policy/admin-impact.d.ts +36 -6
  485. package/dist/hub/group-policy/admin-impact.js +21 -7
  486. package/dist/hub/group-policy/admin-impact.js.map +1 -1
  487. package/dist/hub/group-policy/admin-inventory.d.ts +2 -0
  488. package/dist/hub/group-policy/admin-inventory.js +13 -4
  489. package/dist/hub/group-policy/admin-inventory.js.map +1 -1
  490. package/dist/hub/group-policy/admin-search.d.ts +2 -1
  491. package/dist/hub/group-policy/admin-search.js +56 -7
  492. package/dist/hub/group-policy/admin-search.js.map +1 -1
  493. package/dist/hub/group-policy/authorization.d.ts +2 -0
  494. package/dist/hub/group-policy/authorization.js +7 -2
  495. package/dist/hub/group-policy/authorization.js.map +1 -1
  496. package/dist/hub/group-policy/impact-inventory.d.ts +4 -1
  497. package/dist/hub/group-policy/impact-inventory.js +23 -2
  498. package/dist/hub/group-policy/impact-inventory.js.map +1 -1
  499. package/dist/hub/group-policy/model.d.ts +52 -1
  500. package/dist/hub/group-policy/model.js +20 -7
  501. package/dist/hub/group-policy/model.js.map +1 -1
  502. package/dist/hub/group-policy/resources.d.ts +2 -0
  503. package/dist/hub/group-policy/resources.js +12 -1
  504. package/dist/hub/group-policy/resources.js.map +1 -1
  505. package/dist/hub/group-policy/store.js +22 -3
  506. package/dist/hub/group-policy/store.js.map +1 -1
  507. package/dist/hub/group-policy/team-subjects.d.ts +16 -0
  508. package/dist/hub/group-policy/team-subjects.js +32 -0
  509. package/dist/hub/group-policy/team-subjects.js.map +1 -0
  510. package/dist/hub/http/compose.d.ts +17 -0
  511. package/dist/hub/http/compose.js +903 -100
  512. package/dist/hub/http/compose.js.map +1 -1
  513. package/dist/hub/http/core.d.ts +11 -1
  514. package/dist/hub/http/core.js +70 -10
  515. package/dist/hub/http/core.js.map +1 -1
  516. package/dist/hub/http/deps.d.ts +21 -0
  517. package/dist/hub/http/schema.js +54 -1
  518. package/dist/hub/http/schema.js.map +1 -1
  519. package/dist/hub/identity.d.ts +2 -0
  520. package/dist/hub/identity.js +5 -2
  521. package/dist/hub/identity.js.map +1 -1
  522. package/dist/hub/init/text.js +1 -1
  523. package/dist/hub/invitations.js +15 -7
  524. package/dist/hub/invitations.js.map +1 -1
  525. package/dist/hub/join/client.js +75 -42
  526. package/dist/hub/join/client.js.map +1 -1
  527. package/dist/hub/join/service.d.ts +9 -1
  528. package/dist/hub/join/service.js +17 -3
  529. package/dist/hub/join/service.js.map +1 -1
  530. package/dist/hub/lapse-carry.d.ts +45 -0
  531. package/dist/hub/lapse-carry.js +62 -0
  532. package/dist/hub/lapse-carry.js.map +1 -0
  533. package/dist/hub/mcp/auth-schema.d.ts +7 -0
  534. package/dist/hub/mcp/auth-schema.js +31 -0
  535. package/dist/hub/mcp/auth-schema.js.map +1 -0
  536. package/dist/hub/mcp/auth.d.ts +89 -0
  537. package/dist/hub/mcp/auth.js +374 -0
  538. package/dist/hub/mcp/auth.js.map +1 -0
  539. package/dist/hub/mcp/catalog.d.ts +44 -0
  540. package/dist/hub/mcp/catalog.js +31 -0
  541. package/dist/hub/mcp/catalog.js.map +1 -0
  542. package/dist/hub/mcp/door-schema.d.ts +7 -0
  543. package/dist/hub/mcp/door-schema.js +20 -0
  544. package/dist/hub/mcp/door-schema.js.map +1 -0
  545. package/dist/hub/mcp/http.d.ts +25 -0
  546. package/dist/hub/mcp/http.js +259 -0
  547. package/dist/hub/mcp/http.js.map +1 -0
  548. package/dist/hub/mcp/policy.d.ts +65 -0
  549. package/dist/hub/mcp/policy.js +153 -0
  550. package/dist/hub/mcp/policy.js.map +1 -0
  551. package/dist/hub/mcp/server.d.ts +3 -0
  552. package/dist/hub/mcp/server.js +32 -0
  553. package/dist/hub/mcp/server.js.map +1 -0
  554. package/dist/hub/mcp/tools.d.ts +31 -0
  555. package/dist/hub/mcp/tools.js +177 -0
  556. package/dist/hub/mcp/tools.js.map +1 -0
  557. package/dist/hub/member/agent-catalog.d.ts +31 -0
  558. package/dist/hub/member/agent-catalog.js +91 -0
  559. package/dist/hub/member/agent-catalog.js.map +1 -0
  560. package/dist/hub/member/agent-intro.d.ts +29 -0
  561. package/dist/hub/member/agent-intro.js +73 -0
  562. package/dist/hub/member/agent-intro.js.map +1 -0
  563. package/dist/hub/member/agent-pictures.d.ts +76 -0
  564. package/dist/hub/member/agent-pictures.js +196 -0
  565. package/dist/hub/member/agent-pictures.js.map +1 -0
  566. package/dist/hub/member/direct-rooms.d.ts +9 -0
  567. package/dist/hub/member/direct-rooms.js +14 -0
  568. package/dist/hub/member/direct-rooms.js.map +1 -0
  569. package/dist/hub/member/display-name.d.ts +9 -0
  570. package/dist/hub/member/display-name.js +71 -0
  571. package/dist/hub/member/display-name.js.map +1 -0
  572. package/dist/hub/member/exposure-api.d.ts +11 -3
  573. package/dist/hub/member/exposure-api.js +24 -10
  574. package/dist/hub/member/exposure-api.js.map +1 -1
  575. package/dist/hub/member/exposures.d.ts +16 -4
  576. package/dist/hub/member/exposures.js +47 -13
  577. package/dist/hub/member/exposures.js.map +1 -1
  578. package/dist/hub/member/pairing-api.js +3 -2
  579. package/dist/hub/member/pairing-api.js.map +1 -1
  580. package/dist/hub/member/recommendations.d.ts +37 -0
  581. package/dist/hub/member/recommendations.js +129 -0
  582. package/dist/hub/member/recommendations.js.map +1 -0
  583. package/dist/hub/member/room-ask.d.ts +104 -6
  584. package/dist/hub/member/room-ask.js +505 -34
  585. package/dist/hub/member/room-ask.js.map +1 -1
  586. package/dist/hub/member/room-asker-store.d.ts +48 -0
  587. package/dist/hub/member/room-asker-store.js +181 -0
  588. package/dist/hub/member/room-asker-store.js.map +1 -0
  589. package/dist/hub/member/room-context-budget.d.ts +5 -0
  590. package/dist/hub/member/room-context-budget.js +34 -0
  591. package/dist/hub/member/room-context-budget.js.map +1 -0
  592. package/dist/hub/member/room-mention-feedback.d.ts +46 -0
  593. package/dist/hub/member/room-mention-feedback.js +121 -0
  594. package/dist/hub/member/room-mention-feedback.js.map +1 -0
  595. package/dist/hub/member/room-notification.d.ts +9 -0
  596. package/dist/hub/member/room-notification.js +2 -0
  597. package/dist/hub/member/room-notification.js.map +1 -0
  598. package/dist/hub/member/room-post-answers.d.ts +48 -0
  599. package/dist/hub/member/room-post-answers.js +152 -0
  600. package/dist/hub/member/room-post-answers.js.map +1 -0
  601. package/dist/hub/member/room-post-receipt.d.ts +21 -0
  602. package/dist/hub/member/room-post-receipt.js +49 -0
  603. package/dist/hub/member/room-post-receipt.js.map +1 -0
  604. package/dist/hub/member/room-post.d.ts +144 -0
  605. package/dist/hub/member/room-post.js +339 -0
  606. package/dist/hub/member/room-post.js.map +1 -0
  607. package/dist/hub/member/room-reaction-acks.d.ts +12 -0
  608. package/dist/hub/member/room-reaction-acks.js +44 -0
  609. package/dist/hub/member/room-reaction-acks.js.map +1 -0
  610. package/dist/hub/member/sharing-journal.d.ts +252 -0
  611. package/dist/hub/member/sharing-journal.js +212 -0
  612. package/dist/hub/member/sharing-journal.js.map +1 -0
  613. package/dist/hub/member/sharing-link.d.ts +25 -0
  614. package/dist/hub/member/sharing-link.js +68 -0
  615. package/dist/hub/member/sharing-link.js.map +1 -0
  616. package/dist/hub/member/sharing-result.d.ts +6 -0
  617. package/dist/hub/member/sharing-result.js +46 -0
  618. package/dist/hub/member/sharing-result.js.map +1 -0
  619. package/dist/hub/member/sharing.d.ts +39 -0
  620. package/dist/hub/member/sharing.js +188 -0
  621. package/dist/hub/member/sharing.js.map +1 -0
  622. package/dist/hub/member/updates.d.ts +98 -0
  623. package/dist/hub/member/updates.js +322 -0
  624. package/dist/hub/member/updates.js.map +1 -0
  625. package/dist/hub/member-journal.d.ts +6 -0
  626. package/dist/hub/member-journal.js +36 -0
  627. package/dist/hub/member-journal.js.map +1 -1
  628. package/dist/hub/pairing.d.ts +15 -1
  629. package/dist/hub/pairing.js +33 -2
  630. package/dist/hub/pairing.js.map +1 -1
  631. package/dist/hub/personal/owner-host.d.ts +146 -0
  632. package/dist/hub/personal/owner-host.js +289 -0
  633. package/dist/hub/personal/owner-host.js.map +1 -0
  634. package/dist/hub/personal/refusals.d.ts +11 -0
  635. package/dist/hub/personal/refusals.js +33 -0
  636. package/dist/hub/personal/refusals.js.map +1 -0
  637. package/dist/hub/personal/runtime-host.d.ts +26 -0
  638. package/dist/hub/personal/runtime-host.js +51 -0
  639. package/dist/hub/personal/runtime-host.js.map +1 -0
  640. package/dist/hub/personal/schema.d.ts +4 -0
  641. package/dist/hub/personal/schema.js +54 -0
  642. package/dist/hub/personal/schema.js.map +1 -0
  643. package/dist/hub/personal/turns.d.ts +39 -0
  644. package/dist/hub/personal/turns.js +221 -0
  645. package/dist/hub/personal/turns.js.map +1 -0
  646. package/dist/hub/personal/types.d.ts +42 -0
  647. package/dist/hub/personal/types.js +2 -0
  648. package/dist/hub/personal/types.js.map +1 -0
  649. package/dist/hub/policy.d.ts +15 -4
  650. package/dist/hub/policy.js +110 -24
  651. package/dist/hub/policy.js.map +1 -1
  652. package/dist/hub/protocol.d.ts +1481 -49
  653. package/dist/hub/protocol.js +130 -17
  654. package/dist/hub/protocol.js.map +1 -1
  655. package/dist/hub/published-version.d.ts +3 -0
  656. package/dist/hub/published-version.js +35 -0
  657. package/dist/hub/published-version.js.map +1 -0
  658. package/dist/hub/question-close-model.d.ts +17 -0
  659. package/dist/hub/question-close-model.js +7 -0
  660. package/dist/hub/question-close-model.js.map +1 -0
  661. package/dist/hub/quota.d.ts +2 -2
  662. package/dist/hub/quota.js +9 -5
  663. package/dist/hub/quota.js.map +1 -1
  664. package/dist/hub/read-statement.d.ts +6 -0
  665. package/dist/hub/read-statement.js +33 -0
  666. package/dist/hub/read-statement.js.map +1 -0
  667. package/dist/hub/recommendation-model.d.ts +36 -0
  668. package/dist/hub/recommendation-model.js +9 -0
  669. package/dist/hub/recommendation-model.js.map +1 -0
  670. package/dist/hub/recommendations.d.ts +58 -0
  671. package/dist/hub/recommendations.js +212 -0
  672. package/dist/hub/recommendations.js.map +1 -0
  673. package/dist/hub/representative.d.ts +59 -0
  674. package/dist/hub/representative.js +261 -20
  675. package/dist/hub/representative.js.map +1 -1
  676. package/dist/hub/roles/admin-control.d.ts +29 -0
  677. package/dist/hub/roles/admin-control.js +187 -0
  678. package/dist/hub/roles/admin-control.js.map +1 -0
  679. package/dist/hub/roles/admin-types.d.ts +72 -0
  680. package/dist/hub/roles/admin-types.js +2 -0
  681. package/dist/hub/roles/admin-types.js.map +1 -0
  682. package/dist/hub/roles/allowed-list-control.d.ts +34 -0
  683. package/dist/hub/roles/allowed-list-control.js +179 -0
  684. package/dist/hub/roles/allowed-list-control.js.map +1 -0
  685. package/dist/hub/roles/allowed-list.d.ts +8 -0
  686. package/dist/hub/roles/allowed-list.js +49 -0
  687. package/dist/hub/roles/allowed-list.js.map +1 -0
  688. package/dist/hub/roles/audit-details.d.ts +146 -0
  689. package/dist/hub/roles/audit-details.js +26 -0
  690. package/dist/hub/roles/audit-details.js.map +1 -0
  691. package/dist/hub/roles/authority.d.ts +20 -3
  692. package/dist/hub/roles/authority.js +165 -87
  693. package/dist/hub/roles/authority.js.map +1 -1
  694. package/dist/hub/roles/change.d.ts +3 -1
  695. package/dist/hub/roles/change.js +7 -2
  696. package/dist/hub/roles/change.js.map +1 -1
  697. package/dist/hub/roles/clock.d.ts +4 -1
  698. package/dist/hub/roles/clock.js +15 -12
  699. package/dist/hub/roles/clock.js.map +1 -1
  700. package/dist/hub/roles/convert.js +1 -1
  701. package/dist/hub/roles/convert.js.map +1 -1
  702. package/dist/hub/roles/cutover-clock-facts.d.ts +13 -0
  703. package/dist/hub/roles/cutover-clock-facts.js +25 -0
  704. package/dist/hub/roles/cutover-clock-facts.js.map +1 -0
  705. package/dist/hub/roles/cutover-inventory.d.ts +5 -0
  706. package/dist/hub/roles/cutover-inventory.js +27 -4
  707. package/dist/hub/roles/cutover-inventory.js.map +1 -1
  708. package/dist/hub/roles/cutover-marker.d.ts +18 -2
  709. package/dist/hub/roles/cutover-marker.js +6 -2
  710. package/dist/hub/roles/cutover-marker.js.map +1 -1
  711. package/dist/hub/roles/cutover.d.ts +2 -2
  712. package/dist/hub/roles/cutover.js +3 -4
  713. package/dist/hub/roles/cutover.js.map +1 -1
  714. package/dist/hub/roles/delegation.d.ts +4 -1
  715. package/dist/hub/roles/delegation.js +9 -4
  716. package/dist/hub/roles/delegation.js.map +1 -1
  717. package/dist/hub/roles/evaluate.d.ts +2 -1
  718. package/dist/hub/roles/evaluate.js +14 -0
  719. package/dist/hub/roles/evaluate.js.map +1 -1
  720. package/dist/hub/roles/expiry-effects.d.ts +8 -0
  721. package/dist/hub/roles/expiry-effects.js +50 -0
  722. package/dist/hub/roles/expiry-effects.js.map +1 -0
  723. package/dist/hub/roles/migrations.d.ts +7 -0
  724. package/dist/hub/roles/migrations.js +44 -0
  725. package/dist/hub/roles/migrations.js.map +1 -0
  726. package/dist/hub/roles/model.d.ts +30 -2
  727. package/dist/hub/roles/model.js +14 -7
  728. package/dist/hub/roles/model.js.map +1 -1
  729. package/dist/hub/roles/overview.d.ts +8 -0
  730. package/dist/hub/roles/overview.js +15 -0
  731. package/dist/hub/roles/overview.js.map +1 -0
  732. package/dist/hub/roles/read.d.ts +4 -0
  733. package/dist/hub/roles/read.js +37 -7
  734. package/dist/hub/roles/read.js.map +1 -1
  735. package/dist/hub/roles/resource-effects.d.ts +17 -0
  736. package/dist/hub/roles/resource-effects.js +62 -0
  737. package/dist/hub/roles/resource-effects.js.map +1 -0
  738. package/dist/hub/roles/review.d.ts +16 -0
  739. package/dist/hub/roles/review.js +42 -0
  740. package/dist/hub/roles/review.js.map +1 -0
  741. package/dist/hub/roles/writer.d.ts +14 -3
  742. package/dist/hub/roles/writer.js +64 -16
  743. package/dist/hub/roles/writer.js.map +1 -1
  744. package/dist/hub/room-agent-discovery-model.d.ts +29 -0
  745. package/dist/hub/room-agent-discovery-model.js +33 -0
  746. package/dist/hub/room-agent-discovery-model.js.map +1 -0
  747. package/dist/hub/room-agent-discovery.d.ts +14 -0
  748. package/dist/hub/room-agent-discovery.js +65 -0
  749. package/dist/hub/room-agent-discovery.js.map +1 -0
  750. package/dist/hub/room-agent-requests.d.ts +71 -0
  751. package/dist/hub/room-agent-requests.js +377 -0
  752. package/dist/hub/room-agent-requests.js.map +1 -0
  753. package/dist/hub/room-answer-status-model.d.ts +3 -0
  754. package/dist/hub/room-answer-status-model.js +4 -0
  755. package/dist/hub/room-answer-status-model.js.map +1 -0
  756. package/dist/hub/room-asker-identity-model.d.ts +53 -0
  757. package/dist/hub/room-asker-identity-model.js +14 -0
  758. package/dist/hub/room-asker-identity-model.js.map +1 -0
  759. package/dist/hub/room-asker-identity.d.ts +22 -0
  760. package/dist/hub/room-asker-identity.js +43 -0
  761. package/dist/hub/room-asker-identity.js.map +1 -0
  762. package/dist/hub/room-brief-model.d.ts +30 -0
  763. package/dist/hub/room-brief-model.js +38 -0
  764. package/dist/hub/room-brief-model.js.map +1 -0
  765. package/dist/hub/room-context-model.d.ts +45 -0
  766. package/dist/hub/room-context-model.js +12 -0
  767. package/dist/hub/room-context-model.js.map +1 -0
  768. package/dist/hub/room-history-model.d.ts +87 -0
  769. package/dist/hub/room-history-model.js +14 -0
  770. package/dist/hub/room-history-model.js.map +1 -0
  771. package/dist/hub/room-members-model.d.ts +63 -0
  772. package/dist/hub/room-members-model.js +7 -0
  773. package/dist/hub/room-members-model.js.map +1 -0
  774. package/dist/hub/room-mention-feedback-model.d.ts +12 -0
  775. package/dist/hub/room-mention-feedback-model.js +12 -0
  776. package/dist/hub/room-mention-feedback-model.js.map +1 -0
  777. package/dist/hub/room-react-ack-model.d.ts +2 -0
  778. package/dist/hub/room-react-ack-model.js +3 -0
  779. package/dist/hub/room-react-ack-model.js.map +1 -0
  780. package/dist/hub/rooms/admin.d.ts +6 -0
  781. package/dist/hub/rooms/admin.js +33 -0
  782. package/dist/hub/rooms/admin.js.map +1 -1
  783. package/dist/hub/rooms/agents.d.ts +52 -11
  784. package/dist/hub/rooms/agents.js +418 -37
  785. package/dist/hub/rooms/agents.js.map +1 -1
  786. package/dist/hub/rooms/asker-identity.d.ts +21 -0
  787. package/dist/hub/rooms/asker-identity.js +86 -0
  788. package/dist/hub/rooms/asker-identity.js.map +1 -0
  789. package/dist/hub/rooms/assistant.d.ts +1 -6
  790. package/dist/hub/rooms/assistant.js +7 -2
  791. package/dist/hub/rooms/assistant.js.map +1 -1
  792. package/dist/hub/rooms/automation.d.ts +24 -0
  793. package/dist/hub/rooms/automation.js +66 -0
  794. package/dist/hub/rooms/automation.js.map +1 -0
  795. package/dist/hub/rooms/brief.d.ts +18 -0
  796. package/dist/hub/rooms/brief.js +39 -0
  797. package/dist/hub/rooms/brief.js.map +1 -0
  798. package/dist/hub/rooms/buttons.d.ts +85 -0
  799. package/dist/hub/rooms/buttons.js +62 -0
  800. package/dist/hub/rooms/buttons.js.map +1 -0
  801. package/dist/hub/rooms/context-cursor.d.ts +18 -0
  802. package/dist/hub/rooms/context-cursor.js +61 -0
  803. package/dist/hub/rooms/context-cursor.js.map +1 -0
  804. package/dist/hub/rooms/context.d.ts +1 -1
  805. package/dist/hub/rooms/context.js +4 -4
  806. package/dist/hub/rooms/context.js.map +1 -1
  807. package/dist/hub/rooms/direct-view.d.ts +12 -3
  808. package/dist/hub/rooms/direct-view.js +26 -10
  809. package/dist/hub/rooms/direct-view.js.map +1 -1
  810. package/dist/hub/rooms/directory.d.ts +13 -0
  811. package/dist/hub/rooms/directory.js +12 -3
  812. package/dist/hub/rooms/directory.js.map +1 -1
  813. package/dist/hub/rooms/history.d.ts +8 -0
  814. package/dist/hub/rooms/history.js +31 -0
  815. package/dist/hub/rooms/history.js.map +1 -0
  816. package/dist/hub/rooms/members-page.d.ts +33 -0
  817. package/dist/hub/rooms/members-page.js +37 -0
  818. package/dist/hub/rooms/members-page.js.map +1 -0
  819. package/dist/hub/rooms/mentions.d.ts +15 -0
  820. package/dist/hub/rooms/mentions.js +43 -0
  821. package/dist/hub/rooms/mentions.js.map +1 -0
  822. package/dist/hub/rooms/office.d.ts +141 -0
  823. package/dist/hub/rooms/office.js +81 -0
  824. package/dist/hub/rooms/office.js.map +1 -0
  825. package/dist/hub/rooms/post-replies.d.ts +23 -0
  826. package/dist/hub/rooms/post-replies.js +114 -0
  827. package/dist/hub/rooms/post-replies.js.map +1 -0
  828. package/dist/hub/rooms/purpose.d.ts +7 -0
  829. package/dist/hub/rooms/purpose.js +14 -0
  830. package/dist/hub/rooms/purpose.js.map +1 -0
  831. package/dist/hub/rooms/schema.d.ts +16 -0
  832. package/dist/hub/rooms/schema.js +56 -0
  833. package/dist/hub/rooms/schema.js.map +1 -1
  834. package/dist/hub/rooms/service.d.ts +400 -8
  835. package/dist/hub/rooms/service.js +1231 -72
  836. package/dist/hub/rooms/service.js.map +1 -1
  837. package/dist/hub/rooms/types.d.ts +48 -4
  838. package/dist/hub/rooms.d.ts +33 -6
  839. package/dist/hub/rooms.js +236 -51
  840. package/dist/hub/rooms.js.map +1 -1
  841. package/dist/hub/runtime.d.ts +1 -1
  842. package/dist/hub/runtime.js +17 -4
  843. package/dist/hub/runtime.js.map +1 -1
  844. package/dist/hub/send-timing.d.ts +6 -0
  845. package/dist/hub/send-timing.js +39 -0
  846. package/dist/hub/send-timing.js.map +1 -0
  847. package/dist/hub/server.d.ts +8 -1
  848. package/dist/hub/server.js +187 -7
  849. package/dist/hub/server.js.map +1 -1
  850. package/dist/hub/session-directory-transition.d.ts +3 -1
  851. package/dist/hub/session-directory-transition.js +25 -12
  852. package/dist/hub/session-directory-transition.js.map +1 -1
  853. package/dist/hub/session-epoch.js +2 -1
  854. package/dist/hub/session-epoch.js.map +1 -1
  855. package/dist/hub/session-limits.d.ts +58 -0
  856. package/dist/hub/session-limits.js +121 -0
  857. package/dist/hub/session-limits.js.map +1 -0
  858. package/dist/hub/sessions.d.ts +5 -2
  859. package/dist/hub/sessions.js +84 -12
  860. package/dist/hub/sessions.js.map +1 -1
  861. package/dist/hub/settings-commit.d.ts +32 -1
  862. package/dist/hub/settings-commit.js +11 -4
  863. package/dist/hub/settings-commit.js.map +1 -1
  864. package/dist/hub/settings-directory-ca.js +1 -1
  865. package/dist/hub/settings-directory-ca.js.map +1 -1
  866. package/dist/hub/settings-directory-control.js +7 -7
  867. package/dist/hub/settings-directory-control.js.map +1 -1
  868. package/dist/hub/settings-directory-decision.js +15 -8
  869. package/dist/hub/settings-directory-decision.js.map +1 -1
  870. package/dist/hub/settings-directory-http.d.ts +2 -0
  871. package/dist/hub/settings-directory-http.js +21 -6
  872. package/dist/hub/settings-directory-http.js.map +1 -1
  873. package/dist/hub/settings-directory-proof.d.ts +5 -1
  874. package/dist/hub/settings-directory-proof.js +49 -10
  875. package/dist/hub/settings-directory-proof.js.map +1 -1
  876. package/dist/hub/settings-directory-recovery.js +2 -1
  877. package/dist/hub/settings-directory-recovery.js.map +1 -1
  878. package/dist/hub/settings-directory-save.d.ts +2 -0
  879. package/dist/hub/settings-directory-save.js +9 -6
  880. package/dist/hub/settings-directory-save.js.map +1 -1
  881. package/dist/hub/settings-member-address-decision.js +3 -2
  882. package/dist/hub/settings-member-address-decision.js.map +1 -1
  883. package/dist/hub/settings-web-address-decision.js +2 -1
  884. package/dist/hub/settings-web-address-decision.js.map +1 -1
  885. package/dist/hub/sharing-previous-access.d.ts +22 -0
  886. package/dist/hub/sharing-previous-access.js +93 -0
  887. package/dist/hub/sharing-previous-access.js.map +1 -0
  888. package/dist/hub/sharing-requests.d.ts +174 -0
  889. package/dist/hub/sharing-requests.js +326 -0
  890. package/dist/hub/sharing-requests.js.map +1 -0
  891. package/dist/hub/sharing-retention.d.ts +47 -0
  892. package/dist/hub/sharing-retention.js +83 -0
  893. package/dist/hub/sharing-retention.js.map +1 -0
  894. package/dist/hub/sharing-withdrawal.d.ts +14 -0
  895. package/dist/hub/sharing-withdrawal.js +28 -0
  896. package/dist/hub/sharing-withdrawal.js.map +1 -0
  897. package/dist/hub/sharing.js +2 -2
  898. package/dist/hub/sharing.js.map +1 -1
  899. package/dist/hub/socket.d.ts +1 -0
  900. package/dist/hub/socket.js +39 -2
  901. package/dist/hub/socket.js.map +1 -1
  902. package/dist/hub/store.d.ts +5 -0
  903. package/dist/hub/store.js +28 -5
  904. package/dist/hub/store.js.map +1 -1
  905. package/dist/hub/teams/index.d.ts +8 -3
  906. package/dist/hub/teams/index.js +106 -31
  907. package/dist/hub/teams/index.js.map +1 -1
  908. package/dist/hub/teams/store.d.ts +5 -1
  909. package/dist/hub/teams/store.js +25 -2
  910. package/dist/hub/teams/store.js.map +1 -1
  911. package/dist/hub/teams/types.d.ts +19 -2
  912. package/dist/hub/types.d.ts +176 -5
  913. package/dist/hub-agent-incarnation-record.d.ts +24 -0
  914. package/dist/hub-agent-incarnation-record.js +46 -0
  915. package/dist/hub-agent-incarnation-record.js.map +1 -0
  916. package/dist/hub-character-plan.d.ts +47 -0
  917. package/dist/hub-character-plan.js +70 -0
  918. package/dist/hub-character-plan.js.map +1 -0
  919. package/dist/hub-classic-private.d.ts +19 -0
  920. package/dist/hub-classic-private.js +64 -0
  921. package/dist/hub-classic-private.js.map +1 -0
  922. package/dist/hub-contact-windows.d.ts +23 -0
  923. package/dist/hub-contact-windows.js +89 -0
  924. package/dist/hub-contact-windows.js.map +1 -0
  925. package/dist/hub-page-sharing-settings.d.ts +6 -0
  926. package/dist/hub-page-sharing-settings.js +19 -0
  927. package/dist/hub-page-sharing-settings.js.map +1 -0
  928. package/dist/hub-pairing-summary.d.ts +1 -1
  929. package/dist/hub-picture-reduce.d.ts +34 -0
  930. package/dist/hub-picture-reduce.js +101 -0
  931. package/dist/hub-picture-reduce.js.map +1 -0
  932. package/dist/hub-picture-worker.d.ts +1 -0
  933. package/dist/hub-picture-worker.js +19 -0
  934. package/dist/hub-picture-worker.js.map +1 -0
  935. package/dist/hub-report-target.d.ts +6 -0
  936. package/dist/hub-report-target.js +6 -0
  937. package/dist/hub-report-target.js.map +1 -1
  938. package/dist/hub-room-conversation.d.ts +14 -0
  939. package/dist/hub-room-conversation.js +60 -0
  940. package/dist/hub-room-conversation.js.map +1 -0
  941. package/dist/hub-room-reply-warning.d.ts +2 -0
  942. package/dist/hub-room-reply-warning.js +16 -0
  943. package/dist/hub-room-reply-warning.js.map +1 -0
  944. package/dist/hub-sharing-notice.d.ts +43 -0
  945. package/dist/hub-sharing-notice.js +34 -0
  946. package/dist/hub-sharing-notice.js.map +1 -0
  947. package/dist/hub-update-notice.d.ts +12 -0
  948. package/dist/hub-update-notice.js +35 -0
  949. package/dist/hub-update-notice.js.map +1 -0
  950. package/dist/human-delivery-receipts.d.ts +27 -5
  951. package/dist/human-delivery-receipts.js +52 -8
  952. package/dist/human-delivery-receipts.js.map +1 -1
  953. package/dist/install-lock.d.ts +15 -1
  954. package/dist/install-lock.js +16 -8
  955. package/dist/install-lock.js.map +1 -1
  956. package/dist/install-ownership.d.ts +165 -0
  957. package/dist/install-ownership.js +404 -0
  958. package/dist/install-ownership.js.map +1 -0
  959. package/dist/instance-config-impact.js +7 -2
  960. package/dist/instance-config-impact.js.map +1 -1
  961. package/dist/instance-lifecycle.d.ts +32 -4
  962. package/dist/instance-lifecycle.js +111 -25
  963. package/dist/instance-lifecycle.js.map +1 -1
  964. package/dist/instruction-file-sizes.d.ts +46 -0
  965. package/dist/instruction-file-sizes.js +115 -0
  966. package/dist/instruction-file-sizes.js.map +1 -0
  967. package/dist/instructions.d.ts +40 -2
  968. package/dist/instructions.js +68 -34
  969. package/dist/instructions.js.map +1 -1
  970. package/dist/local-pane-endpoint.d.ts +18 -1
  971. package/dist/local-pane-endpoint.js +44 -2
  972. package/dist/local-pane-endpoint.js.map +1 -1
  973. package/dist/locale.d.ts +2 -0
  974. package/dist/locale.js +956 -295
  975. package/dist/locale.js.map +1 -1
  976. package/dist/log-steps.d.ts +5 -0
  977. package/dist/log-steps.js +6 -2
  978. package/dist/log-steps.js.map +1 -1
  979. package/dist/login-controller.d.ts +45 -2
  980. package/dist/login-controller.js +98 -10
  981. package/dist/login-controller.js.map +1 -1
  982. package/dist/login-flows.js +1 -1
  983. package/dist/login-flows.js.map +1 -1
  984. package/dist/ls-rows.d.ts +2 -0
  985. package/dist/ls-rows.js.map +1 -1
  986. package/dist/memory-guidance.d.ts +5 -0
  987. package/dist/memory-guidance.js +14 -0
  988. package/dist/memory-guidance.js.map +1 -0
  989. package/dist/memory-pressure.js +8 -1
  990. package/dist/memory-pressure.js.map +1 -1
  991. package/dist/model-defaults.d.ts +5 -0
  992. package/dist/model-defaults.js +6 -0
  993. package/dist/model-defaults.js.map +1 -0
  994. package/dist/native-agent-admission.d.ts +7 -0
  995. package/dist/native-agent-admission.js +55 -3
  996. package/dist/native-agent-admission.js.map +1 -1
  997. package/dist/native-exec-context.d.ts +11 -0
  998. package/dist/native-exec-context.js +18 -0
  999. package/dist/native-exec-context.js.map +1 -0
  1000. package/dist/native-exec-input.d.ts +56 -0
  1001. package/dist/native-exec-input.js +89 -0
  1002. package/dist/native-exec-input.js.map +1 -0
  1003. package/dist/native-mcp.d.ts +26 -1
  1004. package/dist/native-mcp.js +85 -18
  1005. package/dist/native-mcp.js.map +1 -1
  1006. package/dist/native-model-catalog.d.ts +15 -0
  1007. package/dist/native-model-catalog.js +43 -3
  1008. package/dist/native-model-catalog.js.map +1 -1
  1009. package/dist/native-pane-lifecycle.d.ts +12 -0
  1010. package/dist/native-pane-lifecycle.js +28 -2
  1011. package/dist/native-pane-lifecycle.js.map +1 -1
  1012. package/dist/native-pane-manager.d.ts +37 -6
  1013. package/dist/native-pane-manager.js +160 -8
  1014. package/dist/native-pane-manager.js.map +1 -1
  1015. package/dist/native-pane-tools.js +3 -0
  1016. package/dist/native-pane-tools.js.map +1 -1
  1017. package/dist/needs-you-hub.d.ts +7 -0
  1018. package/dist/needs-you-hub.js +48 -7
  1019. package/dist/needs-you-hub.js.map +1 -1
  1020. package/dist/needs-you.d.ts +66 -2
  1021. package/dist/needs-you.js +26 -1
  1022. package/dist/needs-you.js.map +1 -1
  1023. package/dist/office-share-page.js +5 -5
  1024. package/dist/office-share-page.js.map +1 -1
  1025. package/dist/office-share.js +2 -1
  1026. package/dist/office-share.js.map +1 -1
  1027. package/dist/outbound-handlers.d.ts +49 -4
  1028. package/dist/outbound-handlers.js +263 -20
  1029. package/dist/outbound-handlers.js.map +1 -1
  1030. package/dist/outbound-schemas.d.ts +44 -0
  1031. package/dist/outbound-schemas.js +56 -30
  1032. package/dist/outbound-schemas.js.map +1 -1
  1033. package/dist/package-preimage.js +4 -0
  1034. package/dist/package-preimage.js.map +1 -1
  1035. package/dist/pane-port.d.ts +3 -0
  1036. package/dist/pause-marker.d.ts +1 -1
  1037. package/dist/pause-marker.js +1 -1
  1038. package/dist/pause-marker.js.map +1 -1
  1039. package/dist/plist-args.d.ts +9 -0
  1040. package/dist/plist-args.js +22 -0
  1041. package/dist/plist-args.js.map +1 -0
  1042. package/dist/profile-signins.d.ts +1 -0
  1043. package/dist/profile-signins.js +3 -1
  1044. package/dist/profile-signins.js.map +1 -1
  1045. package/dist/public-preview.d.ts +4 -6
  1046. package/dist/public-preview.js +5 -2
  1047. package/dist/public-preview.js.map +1 -1
  1048. package/dist/public-web-gateway.d.ts +20 -0
  1049. package/dist/public-web-gateway.js +262 -9
  1050. package/dist/public-web-gateway.js.map +1 -1
  1051. package/dist/public-web-link.d.ts +34 -3
  1052. package/dist/public-web-link.js +50 -3
  1053. package/dist/public-web-link.js.map +1 -1
  1054. package/dist/queued-handoffs.d.ts +16 -4
  1055. package/dist/queued-handoffs.js +18 -1
  1056. package/dist/queued-handoffs.js.map +1 -1
  1057. package/dist/quickstart-api.d.ts +0 -1
  1058. package/dist/quickstart-api.js +8 -1
  1059. package/dist/quickstart-api.js.map +1 -1
  1060. package/dist/quickstart.d.ts +1 -1
  1061. package/dist/quickstart.js +2 -3
  1062. package/dist/quickstart.js.map +1 -1
  1063. package/dist/recover.cjs +2639 -0
  1064. package/dist/remote-card-answer.d.ts +1 -1
  1065. package/dist/remote-card-answer.js +8 -1
  1066. package/dist/remote-card-answer.js.map +1 -1
  1067. package/dist/remote-card-prompt.d.ts +7 -2
  1068. package/dist/remote-card-prompt.js +13 -4
  1069. package/dist/remote-card-prompt.js.map +1 -1
  1070. package/dist/reply-buttons-controller.d.ts +3 -1
  1071. package/dist/reply-buttons-controller.js +1 -1
  1072. package/dist/reply-buttons-controller.js.map +1 -1
  1073. package/dist/reply-dedup.js +3 -1
  1074. package/dist/reply-dedup.js.map +1 -1
  1075. package/dist/reply-draft.d.ts +12 -0
  1076. package/dist/reply-draft.js +81 -0
  1077. package/dist/reply-draft.js.map +1 -0
  1078. package/dist/reply-preview-files.d.ts +38 -0
  1079. package/dist/reply-preview-files.js +142 -0
  1080. package/dist/reply-preview-files.js.map +1 -0
  1081. package/dist/reply-preview-spec.d.ts +18 -0
  1082. package/dist/reply-preview-spec.js +27 -0
  1083. package/dist/reply-preview-spec.js.map +1 -0
  1084. package/dist/request-contact-api.d.ts +15 -0
  1085. package/dist/request-contact-api.js +120 -0
  1086. package/dist/request-contact-api.js.map +1 -0
  1087. package/dist/request-contact-card.d.ts +36 -0
  1088. package/dist/request-contact-card.js +206 -0
  1089. package/dist/request-contact-card.js.map +1 -0
  1090. package/dist/request-contact-gate.d.ts +81 -0
  1091. package/dist/request-contact-gate.js +267 -0
  1092. package/dist/request-contact-gate.js.map +1 -0
  1093. package/dist/request-contact-native.d.ts +52 -0
  1094. package/dist/request-contact-native.js +87 -0
  1095. package/dist/request-contact-native.js.map +1 -0
  1096. package/dist/request-contact-types.d.ts +86 -0
  1097. package/dist/request-contact-types.js +7 -0
  1098. package/dist/request-contact-types.js.map +1 -0
  1099. package/dist/request-context-activation.d.ts +29 -0
  1100. package/dist/request-context-activation.js +85 -0
  1101. package/dist/request-context-activation.js.map +1 -0
  1102. package/dist/request-context-admission.d.ts +22 -0
  1103. package/dist/request-context-admission.js +12 -0
  1104. package/dist/request-context-admission.js.map +1 -0
  1105. package/dist/request-context-boot.d.ts +35 -0
  1106. package/dist/request-context-boot.js +97 -0
  1107. package/dist/request-context-boot.js.map +1 -0
  1108. package/dist/request-context-call-protocol.d.ts +12 -0
  1109. package/dist/request-context-call-protocol.js +14 -0
  1110. package/dist/request-context-call-protocol.js.map +1 -0
  1111. package/dist/request-context-call.d.ts +25 -0
  1112. package/dist/request-context-call.js +35 -0
  1113. package/dist/request-context-call.js.map +1 -0
  1114. package/dist/request-context-compatibility.d.ts +20 -0
  1115. package/dist/request-context-compatibility.js +82 -0
  1116. package/dist/request-context-compatibility.js.map +1 -0
  1117. package/dist/request-context-continuation.d.ts +6 -0
  1118. package/dist/request-context-continuation.js +24 -0
  1119. package/dist/request-context-continuation.js.map +1 -0
  1120. package/dist/request-context-control-api.d.ts +119 -0
  1121. package/dist/request-context-control-api.js +179 -0
  1122. package/dist/request-context-control-api.js.map +1 -0
  1123. package/dist/request-context-control-copy.d.ts +3 -0
  1124. package/dist/request-context-control-copy.js +7 -0
  1125. package/dist/request-context-control-copy.js.map +1 -0
  1126. package/dist/request-context-controller.d.ts +44 -0
  1127. package/dist/request-context-controller.js +129 -0
  1128. package/dist/request-context-controller.js.map +1 -0
  1129. package/dist/request-context-delivery-resolver.d.ts +13 -0
  1130. package/dist/request-context-delivery-resolver.js +30 -0
  1131. package/dist/request-context-delivery-resolver.js.map +1 -0
  1132. package/dist/request-context-drain-projection.d.ts +8 -0
  1133. package/dist/request-context-drain-projection.js +40 -0
  1134. package/dist/request-context-drain-projection.js.map +1 -0
  1135. package/dist/request-context-drain.d.ts +61 -0
  1136. package/dist/request-context-drain.js +291 -0
  1137. package/dist/request-context-drain.js.map +1 -0
  1138. package/dist/request-context-enable-offer.d.ts +13 -0
  1139. package/dist/request-context-enable-offer.js +31 -0
  1140. package/dist/request-context-enable-offer.js.map +1 -0
  1141. package/dist/request-context-exec-owner.d.ts +39 -0
  1142. package/dist/request-context-exec-owner.js +128 -0
  1143. package/dist/request-context-exec-owner.js.map +1 -0
  1144. package/dist/request-context-fence.d.ts +28 -0
  1145. package/dist/request-context-fence.js +58 -0
  1146. package/dist/request-context-fence.js.map +1 -0
  1147. package/dist/request-context-go-back-view.d.ts +1 -0
  1148. package/dist/request-context-go-back-view.js +17 -0
  1149. package/dist/request-context-go-back-view.js.map +1 -0
  1150. package/dist/request-context-helper-readiness.d.ts +14 -0
  1151. package/dist/request-context-helper-readiness.js +23 -0
  1152. package/dist/request-context-helper-readiness.js.map +1 -0
  1153. package/dist/request-context-helper.d.ts +20 -0
  1154. package/dist/request-context-helper.js +41 -0
  1155. package/dist/request-context-helper.js.map +1 -0
  1156. package/dist/request-context-hub-resolver.d.ts +29 -0
  1157. package/dist/request-context-hub-resolver.js +90 -0
  1158. package/dist/request-context-hub-resolver.js.map +1 -0
  1159. package/dist/request-context-human-resolver.d.ts +20 -0
  1160. package/dist/request-context-human-resolver.js +77 -0
  1161. package/dist/request-context-human-resolver.js.map +1 -0
  1162. package/dist/request-context-human.d.ts +112 -0
  1163. package/dist/request-context-human.js +176 -0
  1164. package/dist/request-context-human.js.map +1 -0
  1165. package/dist/request-context-inputs.d.ts +21 -0
  1166. package/dist/request-context-inputs.js +63 -0
  1167. package/dist/request-context-inputs.js.map +1 -0
  1168. package/dist/request-context-installation.d.ts +117 -0
  1169. package/dist/request-context-installation.js +328 -0
  1170. package/dist/request-context-installation.js.map +1 -0
  1171. package/dist/request-context-knowledge.d.ts +5 -0
  1172. package/dist/request-context-knowledge.js +32 -0
  1173. package/dist/request-context-knowledge.js.map +1 -0
  1174. package/dist/request-context-migration.d.ts +75 -0
  1175. package/dist/request-context-migration.js +171 -0
  1176. package/dist/request-context-migration.js.map +1 -0
  1177. package/dist/request-context-native-human.d.ts +20 -0
  1178. package/dist/request-context-native-human.js +91 -0
  1179. package/dist/request-context-native-human.js.map +1 -0
  1180. package/dist/request-context-native-output.d.ts +15 -0
  1181. package/dist/request-context-native-output.js +46 -0
  1182. package/dist/request-context-native-output.js.map +1 -0
  1183. package/dist/request-context-native-result.d.ts +15 -0
  1184. package/dist/request-context-native-result.js +46 -0
  1185. package/dist/request-context-native-result.js.map +1 -0
  1186. package/dist/request-context-off.d.ts +22 -0
  1187. package/dist/request-context-off.js +77 -0
  1188. package/dist/request-context-off.js.map +1 -0
  1189. package/dist/request-context-outside-label.d.ts +5 -0
  1190. package/dist/request-context-outside-label.js +28 -0
  1191. package/dist/request-context-outside-label.js.map +1 -0
  1192. package/dist/request-context-pane.d.ts +33 -0
  1193. package/dist/request-context-pane.js +67 -0
  1194. package/dist/request-context-pane.js.map +1 -0
  1195. package/dist/request-context-pending-work.d.ts +11 -0
  1196. package/dist/request-context-pending-work.js +43 -0
  1197. package/dist/request-context-pending-work.js.map +1 -0
  1198. package/dist/request-context-policy.d.ts +90 -0
  1199. package/dist/request-context-policy.js +194 -0
  1200. package/dist/request-context-policy.js.map +1 -0
  1201. package/dist/request-context-protocol.d.ts +137 -0
  1202. package/dist/request-context-protocol.js +38 -0
  1203. package/dist/request-context-protocol.js.map +1 -0
  1204. package/dist/request-context-readiness.d.ts +49 -0
  1205. package/dist/request-context-readiness.js +64 -0
  1206. package/dist/request-context-readiness.js.map +1 -0
  1207. package/dist/request-context-recovery.d.ts +18 -0
  1208. package/dist/request-context-recovery.js +81 -0
  1209. package/dist/request-context-recovery.js.map +1 -0
  1210. package/dist/request-context-relay.d.ts +19 -0
  1211. package/dist/request-context-relay.js +63 -0
  1212. package/dist/request-context-relay.js.map +1 -0
  1213. package/dist/request-context-reply-pending.d.ts +16 -0
  1214. package/dist/request-context-reply-pending.js +77 -0
  1215. package/dist/request-context-reply-pending.js.map +1 -0
  1216. package/dist/request-context-resolution.d.ts +35 -0
  1217. package/dist/request-context-resolution.js +86 -0
  1218. package/dist/request-context-resolution.js.map +1 -0
  1219. package/dist/request-context-retirement.d.ts +21 -0
  1220. package/dist/request-context-retirement.js +16 -0
  1221. package/dist/request-context-retirement.js.map +1 -0
  1222. package/dist/request-context-returns.d.ts +67 -0
  1223. package/dist/request-context-returns.js +211 -0
  1224. package/dist/request-context-returns.js.map +1 -0
  1225. package/dist/request-context-start.d.ts +15 -0
  1226. package/dist/request-context-start.js +2 -0
  1227. package/dist/request-context-start.js.map +1 -0
  1228. package/dist/request-context-store.d.ts +26 -0
  1229. package/dist/request-context-store.js +144 -0
  1230. package/dist/request-context-store.js.map +1 -0
  1231. package/dist/request-context-turns.d.ts +99 -0
  1232. package/dist/request-context-turns.js +216 -0
  1233. package/dist/request-context-turns.js.map +1 -0
  1234. package/dist/request-context-unproved-label.d.ts +4 -0
  1235. package/dist/request-context-unproved-label.js +25 -0
  1236. package/dist/request-context-unproved-label.js.map +1 -0
  1237. package/dist/request-context-update-guard.d.ts +15 -0
  1238. package/dist/request-context-update-guard.js +54 -0
  1239. package/dist/request-context-update-guard.js.map +1 -0
  1240. package/dist/request-context-view.d.ts +33 -0
  1241. package/dist/request-context-view.js +36 -0
  1242. package/dist/request-context-view.js.map +1 -0
  1243. package/dist/request-context-work.d.ts +50 -0
  1244. package/dist/request-context-work.js +178 -0
  1245. package/dist/request-context-work.js.map +1 -0
  1246. package/dist/request-hub-context.d.ts +131 -0
  1247. package/dist/request-hub-context.js +89 -0
  1248. package/dist/request-hub-context.js.map +1 -0
  1249. package/dist/request-hub-output.d.ts +13 -0
  1250. package/dist/request-hub-output.js +33 -0
  1251. package/dist/request-hub-output.js.map +1 -0
  1252. package/dist/restart-progress.d.ts +6 -0
  1253. package/dist/restart-progress.js +5 -0
  1254. package/dist/restart-progress.js.map +1 -1
  1255. package/dist/retained-human-control.d.ts +11 -0
  1256. package/dist/retained-human-control.js +11 -0
  1257. package/dist/retained-human-control.js.map +1 -0
  1258. package/dist/runtime-api.js +10 -2
  1259. package/dist/runtime-api.js.map +1 -1
  1260. package/dist/runtime-build-info.js +2 -1
  1261. package/dist/runtime-build-info.js.map +1 -1
  1262. package/dist/runtime-cli-install.js +20 -14
  1263. package/dist/runtime-cli-install.js.map +1 -1
  1264. package/dist/runtime-cli.js +31 -5
  1265. package/dist/runtime-cli.js.map +1 -1
  1266. package/dist/runtime-client-store.d.ts +5 -0
  1267. package/dist/runtime-client-store.js +35 -1
  1268. package/dist/runtime-client-store.js.map +1 -1
  1269. package/dist/runtime-client.d.ts +6 -0
  1270. package/dist/runtime-client.js +63 -15
  1271. package/dist/runtime-client.js.map +1 -1
  1272. package/dist/runtime-coordinator.d.ts +31 -3
  1273. package/dist/runtime-coordinator.js +145 -12
  1274. package/dist/runtime-coordinator.js.map +1 -1
  1275. package/dist/runtime-install.d.ts +6 -1
  1276. package/dist/runtime-install.js +12 -4
  1277. package/dist/runtime-install.js.map +1 -1
  1278. package/dist/runtime-pane-assets.d.ts +1 -1
  1279. package/dist/runtime-pane-assets.js +1 -1
  1280. package/dist/runtime-pane-assets.js.map +1 -1
  1281. package/dist/runtime-pane-host.d.ts +3 -0
  1282. package/dist/runtime-pane-host.js +39 -21
  1283. package/dist/runtime-pane-host.js.map +1 -1
  1284. package/dist/runtime-pane-link.d.ts +6 -2
  1285. package/dist/runtime-pane-link.js +17 -4
  1286. package/dist/runtime-pane-link.js.map +1 -1
  1287. package/dist/runtime-pane-mcp-relay.d.ts +11 -1
  1288. package/dist/runtime-pane-mcp-relay.js +69 -3
  1289. package/dist/runtime-pane-mcp-relay.js.map +1 -1
  1290. package/dist/runtime-pane-mcp.d.ts +37 -1
  1291. package/dist/runtime-pane-mcp.js +120 -19
  1292. package/dist/runtime-pane-mcp.js.map +1 -1
  1293. package/dist/runtime-pane-native.js +5 -2
  1294. package/dist/runtime-pane-native.js.map +1 -1
  1295. package/dist/runtime-pane-port.d.ts +6 -0
  1296. package/dist/runtime-pane-port.js +23 -4
  1297. package/dist/runtime-pane-port.js.map +1 -1
  1298. package/dist/runtime-pane-protocol.d.ts +4 -0
  1299. package/dist/runtime-pane-protocol.js +11 -4
  1300. package/dist/runtime-pane-protocol.js.map +1 -1
  1301. package/dist/runtime-pane-service.d.ts +1 -0
  1302. package/dist/runtime-pane-service.js +25 -9
  1303. package/dist/runtime-pane-service.js.map +1 -1
  1304. package/dist/runtime-pane-stdio-protocol.d.ts +4 -0
  1305. package/dist/runtime-pane-stdio-protocol.js +12 -5
  1306. package/dist/runtime-pane-stdio-protocol.js.map +1 -1
  1307. package/dist/runtime-pane-stdio.js +5 -5
  1308. package/dist/runtime-pane-stdio.js.map +1 -1
  1309. package/dist/runtime-personal-answer-only-probe.d.ts +3 -0
  1310. package/dist/runtime-personal-answer-only-probe.js +134 -0
  1311. package/dist/runtime-personal-answer-only-probe.js.map +1 -0
  1312. package/dist/runtime-personal-answer-only.d.ts +16 -0
  1313. package/dist/runtime-personal-answer-only.js +54 -0
  1314. package/dist/runtime-personal-answer-only.js.map +1 -0
  1315. package/dist/runtime-personal-answer.d.ts +30 -0
  1316. package/dist/runtime-personal-answer.js +124 -0
  1317. package/dist/runtime-personal-answer.js.map +1 -0
  1318. package/dist/runtime-personal-preflight.d.ts +8 -0
  1319. package/dist/runtime-personal-preflight.js +103 -0
  1320. package/dist/runtime-personal-preflight.js.map +1 -0
  1321. package/dist/runtime-personal-profile.d.ts +40 -0
  1322. package/dist/runtime-personal-profile.js +81 -0
  1323. package/dist/runtime-personal-profile.js.map +1 -0
  1324. package/dist/runtime-personal-protocol.d.ts +10 -0
  1325. package/dist/runtime-personal-protocol.js +15 -0
  1326. package/dist/runtime-personal-protocol.js.map +1 -0
  1327. package/dist/runtime-personal-stage.d.ts +37 -0
  1328. package/dist/runtime-personal-stage.js +167 -0
  1329. package/dist/runtime-personal-stage.js.map +1 -0
  1330. package/dist/runtime-protocol.d.ts +7 -0
  1331. package/dist/runtime-protocol.js.map +1 -1
  1332. package/dist/runtime-update-controller.js +1 -1
  1333. package/dist/runtime-update-controller.js.map +1 -1
  1334. package/dist/runtime-windows-bridge.d.ts +8 -0
  1335. package/dist/runtime-windows-bridge.js +50 -3
  1336. package/dist/runtime-windows-bridge.js.map +1 -1
  1337. package/dist/scheduler/db.js +37 -0
  1338. package/dist/scheduler/db.js.map +1 -1
  1339. package/dist/scheduler/scheduler.d.ts +15 -0
  1340. package/dist/scheduler/scheduler.js +45 -1
  1341. package/dist/scheduler/scheduler.js.map +1 -1
  1342. package/dist/scheduler/scheduler.test.js +17 -0
  1343. package/dist/scheduler/scheduler.test.js.map +1 -1
  1344. package/dist/scheduler/task-board-mentions.d.ts +32 -0
  1345. package/dist/scheduler/task-board-mentions.js +97 -0
  1346. package/dist/scheduler/task-board-mentions.js.map +1 -0
  1347. package/dist/scheduler/task-board-text.d.ts +5 -6
  1348. package/dist/scheduler/task-board-text.js +30 -10
  1349. package/dist/scheduler/task-board-text.js.map +1 -1
  1350. package/dist/scheduler/task-board-unread.d.ts +90 -0
  1351. package/dist/scheduler/task-board-unread.js +192 -0
  1352. package/dist/scheduler/task-board-unread.js.map +1 -0
  1353. package/dist/scheduler/task-board.d.ts +628 -10
  1354. package/dist/scheduler/task-board.js +1496 -48
  1355. package/dist/scheduler/task-board.js.map +1 -1
  1356. package/dist/scheduler/task-files.d.ts +80 -0
  1357. package/dist/scheduler/task-files.js +357 -0
  1358. package/dist/scheduler/task-files.js.map +1 -0
  1359. package/dist/scheduler/types.d.ts +1 -1
  1360. package/dist/service-activation.js +3 -13
  1361. package/dist/service-activation.js.map +1 -1
  1362. package/dist/service-install-handover.d.ts +52 -0
  1363. package/dist/service-install-handover.js +50 -0
  1364. package/dist/service-install-handover.js.map +1 -0
  1365. package/dist/service-installer.d.ts +12 -0
  1366. package/dist/service-installer.js +24 -10
  1367. package/dist/service-installer.js.map +1 -1
  1368. package/dist/service-lock.d.ts +28 -0
  1369. package/dist/service-lock.js +85 -0
  1370. package/dist/service-lock.js.map +1 -0
  1371. package/dist/settings-api.d.ts +46 -1
  1372. package/dist/settings-api.js +642 -97
  1373. package/dist/settings-api.js.map +1 -1
  1374. package/dist/settings-baseline.d.ts +6 -0
  1375. package/dist/settings-baseline.js +11 -8
  1376. package/dist/settings-baseline.js.map +1 -1
  1377. package/dist/settings-change.js +60 -7
  1378. package/dist/settings-change.js.map +1 -1
  1379. package/dist/settings-confirmation.d.ts +2 -0
  1380. package/dist/settings-confirmation.js +6 -0
  1381. package/dist/settings-confirmation.js.map +1 -1
  1382. package/dist/settings-effect.d.ts +11 -0
  1383. package/dist/settings-effect.js +154 -7
  1384. package/dist/settings-effect.js.map +1 -1
  1385. package/dist/settings-http-confirmation.d.ts +3 -0
  1386. package/dist/settings-http-confirmation.js +46 -43
  1387. package/dist/settings-http-confirmation.js.map +1 -1
  1388. package/dist/settings-instance-patch.js +3 -1
  1389. package/dist/settings-instance-patch.js.map +1 -1
  1390. package/dist/settings-route-lifetime.d.ts +3 -1
  1391. package/dist/settings-route-lifetime.js +15 -5
  1392. package/dist/settings-route-lifetime.js.map +1 -1
  1393. package/dist/settings-transaction.d.ts +3 -2
  1394. package/dist/settings-transaction.js.map +1 -1
  1395. package/dist/setup-form.js +10 -0
  1396. package/dist/setup-form.js.map +1 -1
  1397. package/dist/setup-host.d.ts +2 -3
  1398. package/dist/setup-host.js +3 -5
  1399. package/dist/setup-host.js.map +1 -1
  1400. package/dist/setup-i18n.js +2 -2
  1401. package/dist/setup-i18n.js.map +1 -1
  1402. package/dist/setup-wizard.js +0 -2
  1403. package/dist/setup-wizard.js.map +1 -1
  1404. package/dist/shared-default-adoption.d.ts +24 -0
  1405. package/dist/shared-default-adoption.js +73 -0
  1406. package/dist/shared-default-adoption.js.map +1 -0
  1407. package/dist/state-lease.d.ts +24 -0
  1408. package/dist/state-lease.js +103 -0
  1409. package/dist/state-lease.js.map +1 -0
  1410. package/dist/subagent-records.d.ts +2 -0
  1411. package/dist/subagent-records.js +64 -12
  1412. package/dist/subagent-records.js.map +1 -1
  1413. package/dist/subagent-service.d.ts +3 -0
  1414. package/dist/subagent-service.js +27 -5
  1415. package/dist/subagent-service.js.map +1 -1
  1416. package/dist/task-attach-client.d.ts +43 -0
  1417. package/dist/task-attach-client.js +125 -0
  1418. package/dist/task-attach-client.js.map +1 -0
  1419. package/dist/task-board-tool.d.ts +60 -0
  1420. package/dist/task-board-tool.js +216 -11
  1421. package/dist/task-board-tool.js.map +1 -1
  1422. package/dist/task-board-waker.d.ts +75 -31
  1423. package/dist/task-board-waker.js +311 -101
  1424. package/dist/task-board-waker.js.map +1 -1
  1425. package/dist/task-file-limits.d.ts +15 -0
  1426. package/dist/task-file-limits.js +21 -0
  1427. package/dist/task-file-limits.js.map +1 -0
  1428. package/dist/tips.js +4 -4
  1429. package/dist/tips.js.map +1 -1
  1430. package/dist/tmux-binary.js +1 -1
  1431. package/dist/tmux-binary.js.map +1 -1
  1432. package/dist/tmux-manager.d.ts +2 -0
  1433. package/dist/tmux-manager.js +2 -0
  1434. package/dist/tmux-manager.js.map +1 -1
  1435. package/dist/tool-permissions.d.ts +32 -0
  1436. package/dist/tool-permissions.js +68 -2
  1437. package/dist/tool-permissions.js.map +1 -1
  1438. package/dist/tool-progress.d.ts +9 -0
  1439. package/dist/tool-progress.js +141 -32
  1440. package/dist/tool-progress.js.map +1 -1
  1441. package/dist/tool-receipt-output.d.ts +8 -6
  1442. package/dist/topic-commands.d.ts +7 -1
  1443. package/dist/topic-commands.js +124 -92
  1444. package/dist/topic-commands.js.map +1 -1
  1445. package/dist/transcript-monitor.d.ts +7 -1
  1446. package/dist/transcript-monitor.js +79 -3
  1447. package/dist/transcript-monitor.js.map +1 -1
  1448. package/dist/transcript-turns.d.ts +3 -0
  1449. package/dist/transcript-turns.js +5 -0
  1450. package/dist/transcript-turns.js.map +1 -1
  1451. package/dist/tunnel/lease.d.ts +14 -0
  1452. package/dist/tunnel/lease.js +23 -0
  1453. package/dist/tunnel/lease.js.map +1 -1
  1454. package/dist/tunnel/named-link-test.d.ts +27 -0
  1455. package/dist/tunnel/named-link-test.js +41 -0
  1456. package/dist/tunnel/named-link-test.js.map +1 -1
  1457. package/dist/turn-reply-guard.d.ts +18 -3
  1458. package/dist/turn-reply-guard.js +23 -5
  1459. package/dist/turn-reply-guard.js.map +1 -1
  1460. package/dist/types.d.ts +50 -2
  1461. package/dist/ui/accounts-keepalive.js +4 -2
  1462. package/dist/ui/accounts-view.js +18 -9
  1463. package/dist/ui/agent-details-settings.js +11 -7
  1464. package/dist/ui/agent-export-dialog.js +4 -3
  1465. package/dist/ui/agent-export-strings.js +5 -5
  1466. package/dist/ui/agent-page-strings.js +23 -5
  1467. package/dist/ui/agent-who-can-use-strings.js +125 -0
  1468. package/dist/ui/agent-who-can-use.js +238 -0
  1469. package/dist/ui/app.html +2 -2
  1470. package/dist/ui/backend-signin.js +94 -23
  1471. package/dist/ui/chat-activity-groups.js +42 -9
  1472. package/dist/ui/chat-activity.js +24 -4
  1473. package/dist/ui/chat-commands.js +2 -0
  1474. package/dist/ui/chat-mentions.js +13 -0
  1475. package/dist/ui/chat-msg-actions.js +3 -222
  1476. package/dist/ui/chat-pins.js +107 -0
  1477. package/dist/ui/chat-popout-header.js +2 -2
  1478. package/dist/ui/chat-popout-transport.js +49 -19
  1479. package/dist/ui/chat-popout.js +15 -1
  1480. package/dist/ui/chat-quote.js +3 -261
  1481. package/dist/ui/chat-store.js +182 -19
  1482. package/dist/ui/chat-task-ref-strings.js +24 -0
  1483. package/dist/ui/chat-task-refs.js +131 -0
  1484. package/dist/ui/chat-tour.js +1 -1
  1485. package/dist/ui/chat-workspace.js +3 -3
  1486. package/dist/ui/claude-credentials.js +124 -0
  1487. package/dist/ui/claude-setup-token.js +36 -0
  1488. package/dist/ui/contact-auth-client.js +55 -0
  1489. package/dist/ui/contact-auth-strings.js +272 -0
  1490. package/dist/ui/contact-authorizations.js +159 -0
  1491. package/dist/ui/contact-grant-editor.js +110 -0
  1492. package/dist/ui/contact-needs.js +124 -0
  1493. package/dist/ui/contact-permissions.js +278 -0
  1494. package/dist/ui/contact-ticket-badge.js +54 -0
  1495. package/dist/ui/contact-tool-groups.js +39 -0
  1496. package/dist/ui/contact-verify-need.js +46 -0
  1497. package/dist/ui/fleet-cache.js +7 -6
  1498. package/dist/ui/fleet-canvas.js +21 -8
  1499. package/dist/ui/fleet-office-card.js +505 -45
  1500. package/dist/ui/fleet-office-carousel.d.ts +14 -0
  1501. package/dist/ui/fleet-office-carousel.js +95 -0
  1502. package/dist/ui/fleet-office-dialogue.d.ts +6 -3
  1503. package/dist/ui/fleet-office-dialogue.js +16 -6
  1504. package/dist/ui/fleet-office-editor.js +11 -6
  1505. package/dist/ui/fleet-office-layout.js +15 -15
  1506. package/dist/ui/fleet-office-model.js +5 -3
  1507. package/dist/ui/fleet-office-overview.js +1 -1
  1508. package/dist/ui/fleet-office-pack.d.ts +92 -5
  1509. package/dist/ui/fleet-office-pack.js +596 -50
  1510. package/dist/ui/fleet-office-play.js +498 -0
  1511. package/dist/ui/fleet-office-skin.js +360 -52
  1512. package/dist/ui/fleet-office-store.js +121 -5
  1513. package/dist/ui/fleet-office-talk.js +423 -0
  1514. package/dist/ui/fleet-office-vehicles.js +147 -0
  1515. package/dist/ui/fleet-office-view.js +58 -17
  1516. package/dist/ui/fleet-office-zones.js +174 -39
  1517. package/dist/ui/fleet-office.js +1462 -188
  1518. package/dist/ui/fleet-org.js +9 -4
  1519. package/dist/ui/fleet-route.js +44 -6
  1520. package/dist/ui/fleet-tab-icons.js +19 -0
  1521. package/dist/ui/fleet-task-activity.js +430 -0
  1522. package/dist/ui/fleet-task-archive.js +111 -0
  1523. package/dist/ui/fleet-task-card.js +386 -317
  1524. package/dist/ui/fleet-task-common.js +117 -13
  1525. package/dist/ui/fleet-task-create.js +67 -0
  1526. package/dist/ui/fleet-task-edit.js +211 -0
  1527. package/dist/ui/fleet-task-files.js +196 -0
  1528. package/dist/ui/fleet-task-flow.js +353 -0
  1529. package/dist/ui/fleet-task-follow.js +123 -0
  1530. package/dist/ui/fleet-task-md.js +98 -0
  1531. package/dist/ui/fleet-task-menu.js +2 -2
  1532. package/dist/ui/fleet-task-owner.js +252 -0
  1533. package/dist/ui/fleet-task-run.js +333 -0
  1534. package/dist/ui/fleet-task-sort.js +88 -0
  1535. package/dist/ui/fleet-task-stats.js +2 -2
  1536. package/dist/ui/fleet-task-thread.js +245 -0
  1537. package/dist/ui/fleet-task-unread.js +100 -0
  1538. package/dist/ui/fleet-task-view.js +221 -46
  1539. package/dist/ui/fleet-task-wake.js +140 -0
  1540. package/dist/ui/fleet-task-work.js +2 -2
  1541. package/dist/ui/fleet-tasks.js +336 -145
  1542. package/dist/ui/fleet-usage.js +8 -7
  1543. package/dist/ui/host-alerts.js +23 -0
  1544. package/dist/ui/host-footprint.js +17 -0
  1545. package/dist/ui/host-health-model.js +42 -0
  1546. package/dist/ui/host-health.js +82 -0
  1547. package/dist/ui/host-install.js +87 -7
  1548. package/dist/ui/host-monitoring-darwin.js +6 -0
  1549. package/dist/ui/host-monitoring-help.js +7 -0
  1550. package/dist/ui/host-monitoring-linux.js +6 -0
  1551. package/dist/ui/host-monitoring-wsl.js +6 -0
  1552. package/dist/ui/host-time.js +5 -0
  1553. package/dist/ui/hub-admin-overview.js +190 -0
  1554. package/dist/ui/hub-admin-rooms-strings.js +6 -2
  1555. package/dist/ui/hub-admin-rooms.js +4 -2
  1556. package/dist/ui/hub-agent-copy.js +8 -2
  1557. package/dist/ui/hub-agent-intro.js +36 -0
  1558. package/dist/ui/hub-ai-apps-strings.js +6 -0
  1559. package/dist/ui/hub-ai-apps.js +84 -0
  1560. package/dist/ui/hub-assistant-admin.js +2 -1
  1561. package/dist/ui/hub-attachments.js +81 -3
  1562. package/dist/ui/hub-chat-store.js +4 -3
  1563. package/dist/ui/hub-chat-strings.js +14 -4
  1564. package/dist/ui/hub-client.js +126 -12
  1565. package/dist/ui/hub-directory-editor-strings.js +2 -2
  1566. package/dist/ui/hub-directory-editor.js +1 -0
  1567. package/dist/ui/hub-directory-notices.js +2 -1
  1568. package/dist/ui/hub-enrolment-code.js +2 -1
  1569. package/dist/ui/hub-fleet-versions.js +393 -0
  1570. package/dist/ui/hub-grant-picker.js +28 -47
  1571. package/dist/ui/hub-group-policy.js +26 -13
  1572. package/dist/ui/hub-group-search.js +2 -2
  1573. package/dist/ui/hub-group-strings.js +28 -18
  1574. package/dist/ui/hub-intro-notice.js +16 -0
  1575. package/dist/ui/hub-invitations.js +5 -1
  1576. package/dist/ui/hub-join-steps.js +27 -15
  1577. package/dist/ui/hub-my-agents-model.js +42 -0
  1578. package/dist/ui/hub-my-agents-strings.js +20 -0
  1579. package/dist/ui/hub-my-agents.js +170 -0
  1580. package/dist/ui/hub-notify-keep.js +49 -0
  1581. package/dist/ui/hub-owner-strings.js +9 -8
  1582. package/dist/ui/hub-personal-agent-strings.js +246 -0
  1583. package/dist/ui/hub-personal-agent.js +119 -0
  1584. package/dist/ui/hub-policy-subjects.js +35 -0
  1585. package/dist/ui/hub-quick-pairing.js +9 -3
  1586. package/dist/ui/hub-quota.js +2 -1
  1587. package/dist/ui/hub-role-audit.js +40 -0
  1588. package/dist/ui/hub-role-forms.js +100 -0
  1589. package/dist/ui/hub-role-notices.js +11 -0
  1590. package/dist/ui/hub-role-view.js +87 -0
  1591. package/dist/ui/hub-roles-strings.js +444 -0
  1592. package/dist/ui/hub-roles.js +84 -0
  1593. package/dist/ui/hub-room-agent-strings.js +29 -0
  1594. package/dist/ui/hub-room-composer.js +174 -17
  1595. package/dist/ui/hub-room-list.js +8 -5
  1596. package/dist/ui/hub-room-members-strings.js +11 -4
  1597. package/dist/ui/hub-room-members.js +134 -18
  1598. package/dist/ui/hub-room-new-strings.js +2 -1
  1599. package/dist/ui/hub-room-new.js +17 -7
  1600. package/dist/ui/hub-room-notify.js +162 -0
  1601. package/dist/ui/hub-room-office.js +271 -0
  1602. package/dist/ui/hub-room-owner-requests-strings.js +114 -0
  1603. package/dist/ui/hub-room-owner-requests.js +265 -0
  1604. package/dist/ui/hub-room-pins.js +44 -0
  1605. package/dist/ui/hub-room-presence.js +19 -2
  1606. package/dist/ui/hub-room-purpose.js +35 -0
  1607. package/dist/ui/hub-room-search.js +126 -0
  1608. package/dist/ui/hub-room-settings-strings.js +8 -0
  1609. package/dist/ui/hub-room-settings.js +110 -3
  1610. package/dist/ui/hub-room-source-strings.js +17 -0
  1611. package/dist/ui/hub-room-source.js +37 -0
  1612. package/dist/ui/hub-room-strings.js +102 -7
  1613. package/dist/ui/hub-room-thread.js +522 -69
  1614. package/dist/ui/hub-room-unread.js +2 -1
  1615. package/dist/ui/hub-room-working.js +37 -0
  1616. package/dist/ui/hub-session-limits.js +79 -0
  1617. package/dist/ui/hub-strings.js +23 -10
  1618. package/dist/ui/hub-subject-picker.js +58 -0
  1619. package/dist/ui/hub-switcher.js +2 -2
  1620. package/dist/ui/hub-teams-strings.js +10 -6
  1621. package/dist/ui/hub-teams.js +58 -29
  1622. package/dist/ui/hub-this-hub.js +2 -2
  1623. package/dist/ui/hub-welcome.js +122 -75
  1624. package/dist/ui/icons/hub-apple-touch-icon.png +0 -0
  1625. package/dist/ui/icons/hub-favicon.ico +0 -0
  1626. package/dist/ui/icons/hub-favicon.svg +10 -0
  1627. package/dist/ui/icons/hub-icon-192.png +0 -0
  1628. package/dist/ui/icons/hub-icon-512.png +0 -0
  1629. package/dist/ui/icons/hub-icon-maskable-192.png +0 -0
  1630. package/dist/ui/icons/hub-icon-maskable-512.png +0 -0
  1631. package/dist/ui/icons/hub-maskable.svg +12 -0
  1632. package/dist/ui/image-annotate.js +2 -283
  1633. package/dist/ui/image-lightbox.js +2 -176
  1634. package/dist/ui/image-zoom.js +2 -242
  1635. package/dist/ui/log-row.js +11 -8
  1636. package/dist/ui/model-picker.js +7 -3
  1637. package/dist/ui/native-instance-settings.js +4 -2
  1638. package/dist/ui/notice-hub-sharing.js +81 -0
  1639. package/dist/ui/notice-hub-update.js +94 -0
  1640. package/dist/ui/office-share-dialog.js +4 -3
  1641. package/dist/ui/office-share-page.js +7 -2
  1642. package/dist/ui/page-share-dialog.js +3 -2
  1643. package/dist/ui/panel-chat.js +515 -81
  1644. package/dist/ui/panel-details.js +27 -3
  1645. package/dist/ui/panel-fleet.js +61 -21
  1646. package/dist/ui/panel-hub.js +478 -135
  1647. package/dist/ui/panel-log.js +7 -7
  1648. package/dist/ui/panel-needs.js +139 -28
  1649. package/dist/ui/panel-notices.js +6 -2
  1650. package/dist/ui/panel-runtimes.js +6 -4
  1651. package/dist/ui/panel-settings.js +150 -61
  1652. package/dist/ui/panel-windows-cli.js +4 -3
  1653. package/dist/ui/preview-panel.js +3 -1
  1654. package/dist/ui/preview-popout.js +134 -0
  1655. package/dist/ui/reply-file-preview.js +65 -0
  1656. package/dist/ui/request-contact-card.js +287 -0
  1657. package/dist/ui/request-contact-client.js +83 -0
  1658. package/dist/ui/request-contact-page.js +78 -0
  1659. package/dist/ui/request-context-control.js +209 -0
  1660. package/dist/ui/runtime-cli-install.js +3 -2
  1661. package/dist/ui/runtime-commands.d.ts +2 -2
  1662. package/dist/ui/runtime-commands.js +7 -4
  1663. package/dist/ui/runtime-update-status.js +1 -1
  1664. package/dist/ui/search-dialog.js +8 -1
  1665. package/dist/ui/settings-access-overview.js +5 -4
  1666. package/dist/ui/settings-access-strings.js +1 -1
  1667. package/dist/ui/settings-appearance.js +15 -12
  1668. package/dist/ui/settings-apply.js +8 -3
  1669. package/dist/ui/settings-archive-files.js +109 -0
  1670. package/dist/ui/settings-build-version.js +2 -2
  1671. package/dist/ui/settings-capabilities.js +2 -0
  1672. package/dist/ui/settings-catalog.js +22 -0
  1673. package/dist/ui/settings-connector-strings.js +23 -0
  1674. package/dist/ui/settings-connector.js +40 -0
  1675. package/dist/ui/settings-default-model-scope.js +40 -0
  1676. package/dist/ui/settings-default-model-strings.js +43 -0
  1677. package/dist/ui/settings-dialogs.js +9 -5
  1678. package/dist/ui/settings-guests-entries.js +16 -0
  1679. package/dist/ui/settings-guests.js +61 -18
  1680. package/dist/ui/settings-host-alerts.js +23 -0
  1681. package/dist/ui/settings-host-monitoring.js +71 -0
  1682. package/dist/ui/settings-hub-connection.js +6 -7
  1683. package/dist/ui/settings-hub-member-address.js +2 -1
  1684. package/dist/ui/settings-hub-membership.js +6 -7
  1685. package/dist/ui/settings-hub-page-sharing.js +52 -0
  1686. package/dist/ui/settings-hub-section.js +2 -4
  1687. package/dist/ui/settings-hub-setup-strings.js +1 -1
  1688. package/dist/ui/settings-hub-setup.js +4 -2
  1689. package/dist/ui/settings-hub-updates.js +67 -0
  1690. package/dist/ui/settings-hub-web-address.js +2 -1
  1691. package/dist/ui/settings-hub.js +37 -8
  1692. package/dist/ui/settings-layout.js +18 -15
  1693. package/dist/ui/settings-model.js +9 -5
  1694. package/dist/ui/settings-named-test.js +16 -16
  1695. package/dist/ui/settings-preview-address.js +156 -0
  1696. package/dist/ui/settings-public-session-strings.js +2 -2
  1697. package/dist/ui/settings-quota-notice.js +3 -3
  1698. package/dist/ui/settings-registry.js +32 -5
  1699. package/dist/ui/settings-revoke-strings.js +1 -1
  1700. package/dist/ui/settings-shared-strings.js +35 -2
  1701. package/dist/ui/settings-shared.js +67 -14
  1702. package/dist/ui/settings-strings.js +58 -49
  1703. package/dist/ui/settings-update.js +28 -7
  1704. package/dist/ui/settings-web-authority.js +9 -6
  1705. package/dist/ui/shared/access-overview.css +2 -2
  1706. package/dist/ui/shared/accounts-keepalive.css +1 -1
  1707. package/dist/ui/shared/accounts.css +9 -5
  1708. package/dist/ui/shared/agent-sheet.js +121 -0
  1709. package/dist/ui/shared/agent-widget.js +1 -2
  1710. package/dist/ui/shared/app-i18n.js +12 -4
  1711. package/dist/ui/shared/app-install.js +123 -0
  1712. package/dist/ui/shared/app-nav.js +9 -5
  1713. package/dist/ui/shared/app-needs.js +8 -1
  1714. package/dist/ui/shared/app-prefs.js +9 -3
  1715. package/dist/ui/shared/app-route.js +5 -3
  1716. package/dist/ui/shared/app-session.js +4 -3
  1717. package/dist/ui/shared/app-shell.js +218 -46
  1718. package/dist/ui/shared/app-store.js +7 -3
  1719. package/dist/ui/shared/app-stream.js +11 -2
  1720. package/dist/ui/shared/app-swipe.js +3 -1
  1721. package/dist/ui/shared/app-themes.js +3 -5
  1722. package/dist/ui/shared/app-update.js +107 -10
  1723. package/dist/ui/shared/app.css +1398 -275
  1724. package/dist/ui/shared/app.js +34 -5
  1725. package/dist/ui/shared/asset-url.d.ts +2 -0
  1726. package/dist/ui/shared/asset-url.js +20 -0
  1727. package/dist/ui/shared/chat-composer.js +30 -8
  1728. package/dist/ui/shared/chat-msg-actions.js +233 -0
  1729. package/dist/ui/shared/chat-quote.js +285 -0
  1730. package/dist/ui/shared/chat-render.js +63 -10
  1731. package/dist/ui/shared/chat-strings.js +49 -24
  1732. package/dist/ui/shared/chat-table-select.js +175 -0
  1733. package/dist/ui/shared/chat-thread.js +181 -29
  1734. package/dist/ui/shared/chat-time.js +7 -4
  1735. package/dist/ui/shared/chat-work-bar.css +97 -15
  1736. package/dist/ui/shared/clock-text.js +57 -0
  1737. package/dist/ui/shared/composer-focus.js +21 -0
  1738. package/dist/ui/shared/connector-prompt.d.ts +3 -0
  1739. package/dist/ui/shared/connector-prompt.js +20 -0
  1740. package/dist/ui/shared/device-roles.js +6 -5
  1741. package/dist/ui/shared/hub-ai-apps.css +12 -0
  1742. package/dist/ui/shared/hub-chat.css +114 -4
  1743. package/dist/ui/shared/hub-groups.css +19 -15
  1744. package/dist/ui/shared/hub-my-agents.css +41 -0
  1745. package/dist/ui/shared/hub-owner.css +123 -3
  1746. package/dist/ui/shared/hub-roles.css +99 -0
  1747. package/dist/ui/shared/hub-rooms-u2.css +98 -0
  1748. package/dist/ui/shared/hub-signin.css +2 -0
  1749. package/dist/ui/shared/hub.css +23 -5
  1750. package/dist/ui/shared/image-annotate.css +22 -3
  1751. package/dist/ui/shared/image-annotate.js +416 -0
  1752. package/dist/ui/shared/image-lightbox.js +218 -0
  1753. package/dist/ui/shared/image-zoom.js +316 -0
  1754. package/dist/ui/shared/info-tip.js +64 -0
  1755. package/dist/ui/shared/instance-nav.js +197 -21
  1756. package/dist/ui/shared/jump-idle.js +36 -0
  1757. package/dist/ui/shared/loading.css +1 -1
  1758. package/dist/ui/shared/model-picker.css +28 -1
  1759. package/dist/ui/shared/module-warm.d.ts +3 -0
  1760. package/dist/ui/shared/module-warm.js +39 -0
  1761. package/dist/ui/shared/office-dialogue.css +122 -0
  1762. package/dist/ui/shared/owner-css.js +1 -1
  1763. package/dist/ui/shared/panel-view.js +7 -1
  1764. package/dist/ui/shared/preview-panel-actions.js +1 -1
  1765. package/dist/ui/shared/preview-panel.js +51 -21
  1766. package/dist/ui/shared/preview-popout.css +11 -0
  1767. package/dist/ui/shared/preview.js +11 -2
  1768. package/dist/ui/shared/reply-previews.css +4 -0
  1769. package/dist/ui/shared/runtime-install.css +5 -0
  1770. package/dist/ui/shared/settings-connector.css +7 -0
  1771. package/dist/ui/shared/signin.js +27 -12
  1772. package/dist/ui/shared/task-board.css +733 -11
  1773. package/dist/ui/shared/text-undo.js +17 -3
  1774. package/dist/ui/shared/theme-picker.js +46 -0
  1775. package/dist/ui/shared/theme.js +101 -2
  1776. package/dist/ui/shared/tokens.css +318 -13
  1777. package/dist/ui/shared/ui-confirm.js +10 -5
  1778. package/dist/ui/shared/ui-icons.js +7 -0
  1779. package/dist/ui/shared/ui-menu.js +17 -11
  1780. package/dist/ui/shared/ui-states.js +9 -2
  1781. package/dist/ui/shared/ui-toast.js +4 -4
  1782. package/dist/ui/shared/update-card-ui.js +586 -0
  1783. package/dist/ui/shared/usage-dialog.js +90 -18
  1784. package/dist/ui/shared/view-history.js +2 -1
  1785. package/dist/ui/shared/view-strings.js +57 -13
  1786. package/dist/ui/shared/web-authorize.js +6 -5
  1787. package/dist/ui/shared/workspace.css +7 -0
  1788. package/dist/ui/signin.html +4 -2
  1789. package/dist/ui/structured-signin.js +64 -12
  1790. package/dist/ui/subagent-row.js +5 -3
  1791. package/dist/ui/task-unread.js +70 -0
  1792. package/dist/ui/trigger-complete.js +71 -0
  1793. package/dist/ui/usage-credits-card.js +84 -0
  1794. package/dist/ui/usage-pool.js +2 -1
  1795. package/dist/ui/web-terminal/terminal.css +1 -1
  1796. package/dist/ui/windows-cli-catalog.js +33 -6
  1797. package/dist/ui/workspace-ignored-strings.js +16 -0
  1798. package/dist/ui/workspace-panel.js +21 -10
  1799. package/dist/update-abandon.d.ts +26 -0
  1800. package/dist/update-abandon.js +111 -0
  1801. package/dist/update-abandon.js.map +1 -0
  1802. package/dist/update-card.d.ts +193 -0
  1803. package/dist/update-card.js +620 -0
  1804. package/dist/update-card.js.map +1 -0
  1805. package/dist/update-dispatch.d.ts +24 -2
  1806. package/dist/update-dispatch.js +28 -5
  1807. package/dist/update-dispatch.js.map +1 -1
  1808. package/dist/update-fix.d.ts +66 -0
  1809. package/dist/update-fix.js +67 -0
  1810. package/dist/update-fix.js.map +1 -0
  1811. package/dist/update-forward.d.ts +59 -0
  1812. package/dist/update-forward.js +227 -0
  1813. package/dist/update-forward.js.map +1 -0
  1814. package/dist/update-goback.d.ts +90 -0
  1815. package/dist/update-goback.js +272 -0
  1816. package/dist/update-goback.js.map +1 -0
  1817. package/dist/update-idle.d.ts +66 -0
  1818. package/dist/update-idle.js +199 -0
  1819. package/dist/update-idle.js.map +1 -0
  1820. package/dist/update-install.d.ts +2 -1
  1821. package/dist/update-install.js +18 -10
  1822. package/dist/update-install.js.map +1 -1
  1823. package/dist/update-journal.d.ts +359 -0
  1824. package/dist/update-journal.js +723 -0
  1825. package/dist/update-journal.js.map +1 -0
  1826. package/dist/update-launch.d.ts +1 -1
  1827. package/dist/update-launch.js +10 -3
  1828. package/dist/update-launch.js.map +1 -1
  1829. package/dist/update-npm-env.d.ts +45 -12
  1830. package/dist/update-npm-env.js +48 -0
  1831. package/dist/update-npm-env.js.map +1 -1
  1832. package/dist/update-package-restore.d.ts +84 -0
  1833. package/dist/update-package-restore.js +329 -0
  1834. package/dist/update-package-restore.js.map +1 -0
  1835. package/dist/update-quiescence.d.ts +221 -0
  1836. package/dist/update-quiescence.js +370 -0
  1837. package/dist/update-quiescence.js.map +1 -0
  1838. package/dist/update-readiness-host.d.ts +61 -0
  1839. package/dist/update-readiness-host.js +297 -0
  1840. package/dist/update-readiness-host.js.map +1 -0
  1841. package/dist/update-readiness.d.ts +85 -0
  1842. package/dist/update-readiness.js +463 -0
  1843. package/dist/update-readiness.js.map +1 -0
  1844. package/dist/update-recovery/kit.d.ts +35 -0
  1845. package/dist/update-recovery/kit.js +99 -0
  1846. package/dist/update-recovery/kit.js.map +1 -0
  1847. package/dist/update-recovery/pre-start.d.ts +34 -0
  1848. package/dist/update-recovery/pre-start.js +103 -0
  1849. package/dist/update-recovery/pre-start.js.map +1 -0
  1850. package/dist/update-recovery/recover-main.d.ts +1 -0
  1851. package/dist/update-recovery/recover-main.js +4 -0
  1852. package/dist/update-recovery/recover-main.js.map +1 -0
  1853. package/dist/update-recovery/recover.d.ts +22 -0
  1854. package/dist/update-recovery/recover.js +134 -0
  1855. package/dist/update-recovery/recover.js.map +1 -0
  1856. package/dist/update-recovery/route.d.ts +53 -0
  1857. package/dist/update-recovery/route.js +262 -0
  1858. package/dist/update-recovery/route.js.map +1 -0
  1859. package/dist/update-recovery/runner.d.ts +62 -0
  1860. package/dist/update-recovery/runner.js +229 -0
  1861. package/dist/update-recovery/runner.js.map +1 -0
  1862. package/dist/update-recovery/service-manager.d.ts +39 -0
  1863. package/dist/update-recovery/service-manager.js +57 -0
  1864. package/dist/update-recovery/service-manager.js.map +1 -0
  1865. package/dist/update-restore.d.ts +50 -0
  1866. package/dist/update-restore.js +360 -0
  1867. package/dist/update-restore.js.map +1 -0
  1868. package/dist/update-retained.d.ts +65 -0
  1869. package/dist/update-retained.js +116 -0
  1870. package/dist/update-retained.js.map +1 -0
  1871. package/dist/update-rollback.d.ts +74 -0
  1872. package/dist/update-rollback.js +221 -0
  1873. package/dist/update-rollback.js.map +1 -0
  1874. package/dist/update-settings.d.ts +63 -0
  1875. package/dist/update-settings.js +162 -0
  1876. package/dist/update-settings.js.map +1 -0
  1877. package/dist/update-snapshot-manifest.d.ts +32 -0
  1878. package/dist/update-snapshot-manifest.js +65 -0
  1879. package/dist/update-snapshot-manifest.js.map +1 -0
  1880. package/dist/update-snapshot-scope.d.ts +67 -0
  1881. package/dist/update-snapshot-scope.js +174 -0
  1882. package/dist/update-snapshot-scope.js.map +1 -0
  1883. package/dist/update-snapshot.d.ts +34 -0
  1884. package/dist/update-snapshot.js +246 -0
  1885. package/dist/update-snapshot.js.map +1 -0
  1886. package/dist/update-writers.d.ts +71 -0
  1887. package/dist/update-writers.js +235 -0
  1888. package/dist/update-writers.js.map +1 -0
  1889. package/dist/usage/i18n-keys.d.ts +1 -1
  1890. package/dist/usage/i18n-keys.js +10 -1
  1891. package/dist/usage/i18n-keys.js.map +1 -1
  1892. package/dist/usage/profile-timeline.d.ts +2 -0
  1893. package/dist/usage/profile-timeline.js +4 -0
  1894. package/dist/usage/profile-timeline.js.map +1 -1
  1895. package/dist/usage/providers.d.ts +4 -11
  1896. package/dist/usage/providers.js +109 -134
  1897. package/dist/usage/providers.js.map +1 -1
  1898. package/dist/usage/usage-api.js +5 -2
  1899. package/dist/usage/usage-api.js.map +1 -1
  1900. package/dist/wake-coordinator.js +3 -2
  1901. package/dist/wake-coordinator.js.map +1 -1
  1902. package/dist/web-api.d.ts +132 -9
  1903. package/dist/web-api.js +1468 -242
  1904. package/dist/web-api.js.map +1 -1
  1905. package/dist/web-asset-version.d.ts +65 -0
  1906. package/dist/web-asset-version.js +259 -0
  1907. package/dist/web-asset-version.js.map +1 -0
  1908. package/dist/web-backend-login.d.ts +5 -1
  1909. package/dist/web-backend-login.js +8 -2
  1910. package/dist/web-backend-login.js.map +1 -1
  1911. package/dist/web-chat-archive.d.ts +147 -0
  1912. package/dist/web-chat-archive.js +530 -0
  1913. package/dist/web-chat-archive.js.map +1 -0
  1914. package/dist/web-chat-history.d.ts +137 -2
  1915. package/dist/web-chat-history.js +335 -12
  1916. package/dist/web-chat-history.js.map +1 -1
  1917. package/dist/web-claude-credentials.d.ts +31 -0
  1918. package/dist/web-claude-credentials.js +138 -0
  1919. package/dist/web-claude-credentials.js.map +1 -0
  1920. package/dist/web-commands.d.ts +9 -5
  1921. package/dist/web-commands.js +7 -4
  1922. package/dist/web-commands.js.map +1 -1
  1923. package/dist/web-guest-access.d.ts +3 -0
  1924. package/dist/web-guest-access.js +8 -4
  1925. package/dist/web-guest-access.js.map +1 -1
  1926. package/dist/web-host-guard.js +3 -1
  1927. package/dist/web-host-guard.js.map +1 -1
  1928. package/dist/web-host-install.d.ts +30 -3
  1929. package/dist/web-host-install.js +50 -4
  1930. package/dist/web-host-install.js.map +1 -1
  1931. package/dist/web-icons.d.ts +20 -3
  1932. package/dist/web-icons.js +79 -10
  1933. package/dist/web-icons.js.map +1 -1
  1934. package/dist/web-login.d.ts +13 -1
  1935. package/dist/web-login.js +16 -4
  1936. package/dist/web-login.js.map +1 -1
  1937. package/dist/web-mentions.d.ts +29 -8
  1938. package/dist/web-mentions.js +128 -1
  1939. package/dist/web-mentions.js.map +1 -1
  1940. package/dist/web-notices.d.ts +20 -0
  1941. package/dist/web-notices.js +64 -8
  1942. package/dist/web-notices.js.map +1 -1
  1943. package/dist/web-office-acts.d.ts +16 -0
  1944. package/dist/web-office-acts.js +30 -9
  1945. package/dist/web-office-acts.js.map +1 -1
  1946. package/dist/web-office-pack-read.js +1 -1
  1947. package/dist/web-office-pack-read.js.map +1 -1
  1948. package/dist/web-office-skins.d.ts +19 -6
  1949. package/dist/web-office-skins.js +85 -36
  1950. package/dist/web-office-skins.js.map +1 -1
  1951. package/dist/web-office-store.d.ts +2 -0
  1952. package/dist/web-office-store.js +20 -6
  1953. package/dist/web-office-store.js.map +1 -1
  1954. package/dist/web-pin-store.d.ts +58 -0
  1955. package/dist/web-pin-store.js +170 -0
  1956. package/dist/web-pin-store.js.map +1 -0
  1957. package/dist/web-prefs.js +5 -1
  1958. package/dist/web-prefs.js.map +1 -1
  1959. package/dist/web-preview.d.ts +5 -0
  1960. package/dist/web-preview.js +1 -1
  1961. package/dist/web-preview.js.map +1 -1
  1962. package/dist/web-reply-files.d.ts +1 -0
  1963. package/dist/web-reply-files.js +2 -0
  1964. package/dist/web-reply-files.js.map +1 -1
  1965. package/dist/web-session-authorization.d.ts +27 -0
  1966. package/dist/web-session-authorization.js +32 -0
  1967. package/dist/web-session-authorization.js.map +1 -1
  1968. package/dist/web-session.d.ts +26 -5
  1969. package/dist/web-session.js +32 -3
  1970. package/dist/web-session.js.map +1 -1
  1971. package/dist/web-settings-patch.d.ts +51 -3
  1972. package/dist/web-settings-patch.js +124 -1
  1973. package/dist/web-settings-patch.js.map +1 -1
  1974. package/dist/web-shell-routes.d.ts +2 -2
  1975. package/dist/web-shell-routes.js +3 -2
  1976. package/dist/web-shell-routes.js.map +1 -1
  1977. package/dist/web-terminal.d.ts +9 -0
  1978. package/dist/web-terminal.js +27 -1
  1979. package/dist/web-terminal.js.map +1 -1
  1980. package/dist/web-theme.js +2 -2
  1981. package/dist/web-update.d.ts +30 -1
  1982. package/dist/web-upload.d.ts +37 -1
  1983. package/dist/web-upload.js +105 -5
  1984. package/dist/web-upload.js.map +1 -1
  1985. package/dist/windows-agents.d.ts +36 -2
  1986. package/dist/windows-agents.js +115 -4
  1987. package/dist/windows-agents.js.map +1 -1
  1988. package/dist/windows-cli-api.d.ts +10 -7
  1989. package/dist/windows-cli-api.js +17 -14
  1990. package/dist/windows-cli-api.js.map +1 -1
  1991. package/dist/windows-cli-worker.d.ts +10 -0
  1992. package/dist/windows-cli-worker.js +118 -15
  1993. package/dist/windows-cli-worker.js.map +1 -1
  1994. package/dist/windows-cli.d.ts +65 -2
  1995. package/dist/windows-cli.js +192 -28
  1996. package/dist/windows-cli.js.map +1 -1
  1997. package/dist/windows-native-mcp.js +5 -2
  1998. package/dist/windows-native-mcp.js.map +1 -1
  1999. package/dist/windows-shortcuts.d.ts +3 -22
  2000. package/dist/windows-shortcuts.js +5 -45
  2001. package/dist/windows-shortcuts.js.map +1 -1
  2002. package/dist/workflow-templates/default.md +8 -8
  2003. package/dist/wsl-host.d.ts +52 -0
  2004. package/dist/wsl-host.js +97 -0
  2005. package/dist/wsl-host.js.map +1 -0
  2006. package/launcher/agend +4 -1
  2007. package/launcher/agend-agent +4 -1
  2008. package/launcher/agend-install.cjs +63 -14
  2009. package/launcher/install-admission.d.cts +8 -0
  2010. package/launcher/npm-allow-scripts.cjs +72 -0
  2011. package/launcher/npm-global-prefix.cjs +81 -0
  2012. package/launcher/postinstall.cjs +9 -8
  2013. package/launcher/runtime-select.cjs +8 -2
  2014. package/package.json +4 -3
  2015. package/scripts/preinstall-guard.cjs +1 -1
  2016. package/templates/runtime-install/install.ps1 +24 -4
@@ -35,12 +35,15 @@ a { color: inherit; text-decoration: none; }
35
35
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
36
36
  }
37
37
  .btn:hover:not(:disabled) { background: var(--surface); }
38
- .btn:disabled { opacity: 0.45; cursor: default; }
38
+ /* M-3842 (style guide §4, disabled controls): an off button stays readable (text ≥ 3:1 on the page and on a card, in every
39
+ theme and palette) and reads as off: no fill, muted text, a dashed edge. Never opacity, which washed it out on dark. */
40
+ .btn:disabled { opacity: 1; cursor: default; color: color-mix(in srgb, var(--text-3) 75%, var(--bg)); background: transparent; border-color: var(--border); border-style: dashed; }
39
41
  .btn-primary { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
40
42
  .btn-primary:hover:not(:disabled) { background: var(--accent-fill); opacity: 0.88; }
41
43
  .btn-danger { background: var(--danger-fill); color: var(--on-danger); border-color: transparent; }
42
44
  .btn-danger:hover:not(:disabled) { background: var(--danger-fill); opacity: 0.9; }
43
45
  .btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
46
+ .btn-ghost:disabled { border-color: transparent; } /* a link-like button keeps no edge when off (M-3842) */
44
47
  .btn-ghost:hover:not(:disabled) { color: var(--text); background: var(--surface); }
45
48
  .btn.danger, .btn-ghost.danger { color: var(--danger); }
46
49
  .btn-sm { min-height: 30px; padding: 0 var(--s-3); font-size: var(--fs-xs); }
@@ -62,6 +65,10 @@ a { color: inherit; text-decoration: none; }
62
65
  inside it (an .sr-only label), so its overflow: hidden clips it — an absolute element whose containing block is the
63
66
  viewport escapes every scroll container and made the whole page scroll (alpha.2: two scrollbars on /ui/chat). */
64
67
  .shell { display: flex; height: 100vh; height: 100dvh; overflow: hidden; position: relative; }
68
+ /* M-3327: the keyboard going away — the shell takes its full height at the focusout and eases down with the keyboard
69
+ (app-shell.js sets data-kb-closing only then), instead of hanging at the keyboard's height and dropping in one frame. */
70
+ .shell[data-kb-closing] { transition: height 0.26s cubic-bezier(0.32, 0.72, 0, 1); }
71
+ @media (prefers-reduced-motion: reduce) { .shell[data-kb-closing] { transition: none; } }
65
72
  html:has(.shell), html:has(.shell) body { overflow: hidden; }
66
73
  .skip { position: absolute; left: var(--s-2); top: -60px; z-index: 100; background: var(--accent-fill); color: var(--on-accent); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); }
67
74
  .skip:focus { top: var(--s-2); }
@@ -79,6 +86,11 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
79
86
  /* M-3108: the Hub sidebar's "Preview" tag sits right after the one-line brand (outside it), before the collapse button. */
80
87
  .side-head:has(> .hub-preview-tag) > .brand { flex: 0 1 auto; white-space: nowrap; }
81
88
  .side-head > .hub-preview-tag { margin-inline-end: auto; flex: none; }
89
+ /* M-3190: the Hub's name on a small line under "AgEnD Hub" (and its preview tag). */
90
+ .side-head > .side-brand { flex: 1; min-width: 0; display: flex; flex-direction: column; }
91
+ .side-brand-line { display: flex; align-items: center; gap: var(--s-1); min-width: 0; }
92
+ .side-brand-line > .brand { flex: 0 1 auto; white-space: nowrap; }
93
+ .side-brand-name { color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
82
94
  .side-nav { display: flex; flex-direction: column; padding: var(--s-1) var(--s-2); gap: 1px; }
83
95
  .side-row {
84
96
  display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 36px; padding: 0 var(--s-3);
@@ -133,11 +145,11 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
133
145
  A short box that clips to its corners (.msg-quote) moves the bar in (--lbar-left) and shortens it (--lbar-inset) so
134
146
  the corner never cuts its ends round.
135
147
  tests/web-left-bar-2330.test.ts keeps a coloured border-left off rounded boxes. */
136
- .lbar, .reply-bar, .msg-quote, .p-log .log-item.k-error, .p-log .log-item.s-failed, .org-node, .us-basis, .us-partial, .cmd-card.bad, .tb-tile, .s-dirty,
148
+ .lbar, .reply-bar, .msg-quote, .p-log .log-item.k-error, .p-log .log-item.s-failed, .org-node, .us-basis, .us-partial, .cmd-card.bad, .s-dirty,
137
149
  .search-row.on, .search-recent-item:hover, .search-recent-item:focus-visible, .search-ctx-line.here, .tw-line:hover, .tw-line:focus-visible,
138
150
  .u-crow:focus-visible, .p-settings .s-nav .seg-item.active, .s-find-item.on { position: relative; }
139
151
  .lbar::before, .reply-bar::before, .msg-quote::before, .p-log .log-item.k-error::before, .p-log .log-item.s-failed::before, .org-node::before,
140
- .us-basis::before, .us-partial::before, .cmd-card.bad::before, .tb-tile::before, .s-dirty::before,
152
+ .us-basis::before, .us-partial::before, .cmd-card.bad::before, .s-dirty::before,
141
153
  /* #2478 item 7 (the user's fixed template): a selected, hovered or keyboard-focused row is the straight bar and a flat
142
154
  background at most — never a rounded fill, a curved inset edge or a rounded ring. */
143
155
  .search-row.on::before, .search-recent-item:hover::before, .search-recent-item:focus-visible::before, .search-ctx-line.here::before,
@@ -178,7 +190,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
178
190
  Settings section group heading ("整個 FLEET"). The Agents list's group buttons keep theirs: their width is the tap target. */
179
191
  :lang(zh-Hant) .card h3, :lang(zh-Hant) .s-nav-head { text-transform: none; letter-spacing: 0; }
180
192
  .s-learn { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: var(--r-full); border: 1px solid var(--border);
181
- color: var(--text-3); font-size: 11px; text-decoration: none; text-transform: none; letter-spacing: 0; line-height: 1; }
193
+ color: var(--text-3); font-size: var(--fs-2xs); text-decoration: none; text-transform: none; letter-spacing: 0; line-height: 1; }
182
194
  .s-learn:hover, .s-learn:focus-visible { color: var(--text); border-color: var(--text-3); }
183
195
  .s-colors-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-2); }
184
196
  .s-colors-row .idc-places { margin-bottom: 0; flex: 1 1 220px; }
@@ -188,7 +200,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
188
200
  /* #1722: the CLI as a letter on the avatar's top-left corner — monochrome (the #1630 ring keeps the colour), cut out like the dot */
189
201
  .av-cli { position: absolute; left: -4px; top: -4px; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
190
202
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 0 0 1.5px var(--bg-sidebar);
191
- color: var(--text-2); font-size: 9px; line-height: 12px; font-weight: var(--fw-semibold); text-align: center; pointer-events: auto; }
203
+ color: var(--text-2); font-size: var(--fs-3xs); line-height: 12px; font-weight: var(--fw-semibold); text-align: center; pointer-events: auto; }
192
204
  .inst.active .av .av-cli, .inst:hover .av .av-cli { box-shadow: 0 0 0 1.5px var(--surface-2); }
193
205
  .inst.active .av .av-dot, .inst:hover .av .av-dot { box-shadow: 0 0 0 2px var(--surface-2); }
194
206
  .dot.hollow { background: transparent; border: 1.5px solid var(--text-3); }
@@ -203,7 +215,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
203
215
  .inst.active .inst-name { font-weight: var(--fw-semibold); }
204
216
  .inst-sub { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
205
217
  .badge-await {
206
- flex-shrink: 0; font-size: 11px; line-height: 16px; font-weight: var(--fw-semibold); padding: 0 var(--s-2); border-radius: var(--r-full);
218
+ flex-shrink: 0; font-size: var(--fs-2xs); line-height: 16px; font-weight: var(--fw-semibold); padding: 0 var(--s-2); border-radius: var(--r-full);
207
219
  background: var(--warn-bg); color: var(--warn); border: 1px solid var(--warn-line); white-space: nowrap;
208
220
  }
209
221
  /* #1604: one row — Settings and Session (the anonymous View reader: Sign in and the theme/language popover). Their
@@ -249,6 +261,8 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
249
261
  .pref { display: flex; align-items: center; gap: var(--s-1); color: var(--text-2); flex: 1; min-width: 0; }
250
262
  .pref select { flex: 1; min-width: 0; height: 30px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); font-size: var(--fs-xs); cursor: pointer; }
251
263
  .pref select:hover { background: var(--surface-2); color: var(--text); }
264
+ .pref-name-options { display: flex; flex-wrap: wrap; gap: var(--s-3); }
265
+ .pref-name-options .check { min-height: var(--tap); }
252
266
  .session { position: relative; }
253
267
  .pop {
254
268
  position: absolute; left: 0; right: 0; bottom: calc(100% + var(--s-1)); z-index: 30; display: flex; flex-direction: column; gap: var(--s-2);
@@ -260,7 +274,9 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
260
274
  .pop .devices .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
261
275
  .pop .row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
262
276
  .pop .err { color: var(--danger); }
263
- .pop .role { margin: 0; display: flex; gap: var(--s-2); align-items: baseline; flex-wrap: wrap; }
277
+ .pop .role { margin: 0; display: flex; gap: var(--s-2); align-items: baseline; }
278
+ /* M-3651: a long role ("Guest · Verified until 09:16 AM") wraps beside its label, never under a lone "Role". */
279
+ .pop .role strong { flex: 1; min-width: 0; }
264
280
  .pop .webauth-rebind-form { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-1); }
265
281
  .pop .webauth-rebind-form .note, .pop .webauth-rebind-form .err { margin: 0; }
266
282
  .pop .webauth-rebind-field { flex: 1; min-width: 0; } /* the shared .field input (token-sized), not a one-off box */
@@ -287,6 +303,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
287
303
  }
288
304
  .panel-head .sb-open { display: none; }
289
305
  .sb-open .ic-back, .sb-open .sb-badge { display: none; } /* M-3115: the phone's ‹ (below); elsewhere ☰ only */
306
+ .side-collapse .ic-close { display: none; } /* M-3211, M-3245: a phone's full-width drawer closes by ✕ (below); elsewhere the sidebar icon */
290
307
  .sb-collapsed .panel-head .sb-open { display: inline-flex; }
291
308
  /* #2074: a collapsed sidebar's "New agent", beside its ☰ (a phone opens the drawer, which has the row). */
292
309
  .panel-head .sb-new { margin-left: calc(-1 * var(--s-1)); }
@@ -315,7 +332,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
315
332
  .p-fleet .host-mem > .dot { margin-top: 6px; }
316
333
  .p-fleet .host-mem-top { grid-column: 2; min-width: 0; max-width: 100%; margin-left: 0; }
317
334
  .p-fleet .host-mem-top[title] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
318
- @media (max-width: 899px) {
335
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
319
336
  .p-fleet .panel-head:has(.host-mem) { flex-wrap: wrap; }
320
337
  .p-fleet .panel-title:has(.host-mem) { display: contents; }
321
338
  .p-fleet .panel-title:has(.host-mem) > h1 { flex: 1; }
@@ -361,6 +378,15 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
361
378
  .ws-pane .pv-panel { position: absolute; inset: 0; width: auto; min-width: 0; max-width: none; z-index: 5; }
362
379
  .ws-pane .pv-divider { display: none; }
363
380
  /* Geometry is opt-in: retained PR2 hosts keep their original two-cell grid with this CSS. */
381
+ /* M-3455: the split size is read by the workspace's own grid only. Not inherited, so a divider drag restyles the one grid
382
+ container instead of every element in both chat histories (an inherited custom property invalidates all descendants). */
383
+ @property --ws-first { syntax: "*"; inherits: false; }
384
+ @property --thread-snap { syntax: "*"; inherits: false; }
385
+ /* While the divider is dragged, rows off screen are not laid out or painted at each new width. Rows keep their last drawn
386
+ size (the browser records it under contain-intrinsic-size: auto, which does nothing else), so skipping them moves nothing;
387
+ on release every row is laid out once at the final width. Normal reading never skips rows. */
388
+ .thread > .msg { contain-intrinsic-size: auto 96px; }
389
+ .ws-resizing .thread > .msg { content-visibility: auto; }
364
390
  .chat-workspace.ws-geometry { gap: 0; }
365
391
  .ws-geometry.ws-right { grid-template-columns: var(--ws-first, minmax(360px, 1fr)) 8px minmax(360px, 1fr); }
366
392
  .ws-geometry.ws-stack { grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--ws-first, minmax(320px, 1fr)) 8px minmax(320px, 1fr); }
@@ -410,8 +436,9 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
410
436
  :root[data-text-size="s"] { --text-scale: 0.9; }
411
437
  :root[data-text-size="l"] { --text-scale: 1.15; }
412
438
  .thread, .p-details .panel-body, .p-fleet .panel-body, .p-log .panel-body {
413
- --fs-xs: calc(12px * var(--text-scale)); --lh-xs: calc(16px * var(--text-scale));
414
- --fs-sm: calc(13px * var(--text-scale)); --lh-sm: calc(18px * var(--text-scale));
439
+ --fs-xs: calc(var(--fs-xs-base) * var(--text-scale)); --lh-xs: calc(var(--lh-xs-base) * var(--text-scale));
440
+ --fs-sm: calc(var(--fs-sm-base) * var(--text-scale)); --lh-sm: calc(var(--lh-sm-base) * var(--text-scale));
441
+ --fs-2xs: calc(var(--fs-2xs-base) * var(--text-scale)); --fs-3xs: calc(var(--fs-3xs-base) * var(--text-scale));
415
442
  --fs-md: calc(15px * var(--text-scale)); --lh-md: calc(24px * var(--text-scale));
416
443
  --fs-lg: calc(17px * var(--text-scale)); --lh-lg: calc(24px * var(--text-scale));
417
444
  font-size: var(--fs-md); line-height: var(--lh-md);
@@ -438,6 +465,8 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
438
465
  :is(.p-log, .act-block) .log-status.done { color: var(--ok); }
439
466
  :is(.p-log, .act-block) .log-status.failed { color: var(--danger); }
440
467
  :is(.p-log, .act-block) .log-status.interrupted { color: var(--warn, var(--text-3)); }
468
+ /* M-3541: a subagent started in the background: the call is done, the work goes on (the Subagents row). */
469
+ :is(.p-log, .act-block) .log-status.background { color: var(--text-2); }
441
470
  :is(.p-log, .act-block) .log-status .spinner { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
442
471
  :is(.p-log, .act-block) .log-repeat { flex: none; font-size: var(--fs-xs); padding: 0 6px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
443
472
  :is(.p-log, .act-block) .log-text { white-space: pre-wrap; margin-top: var(--s-1); font-size: var(--fs-sm); }
@@ -525,13 +554,14 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
525
554
  /* The header's controls are one height, the icon buttons' (36 px): its small buttons, and the instance tabs when they share
526
555
  its row (a phone puts them on a row of their own, under it). */
527
556
  .panel-head .btn-sm { min-height: 36px; }
528
- @media (min-width: 900px) { .panel-head .inst-switch .seg-item { min-height: 36px; } }
557
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .panel-head .inst-switch .seg-item { min-height: 36px; } }
529
558
  /* M-2542: Fleet's tabs on its title row — the title, then the tabs (scrolling sideways if they do not fit), then the
530
559
  header's tools; under 900 px a row of their own under the header, as the instance tabs. Never wider than the page. */
531
560
  .p-fleet .panel-head .panel-title:has(+ .fleet-tabs) { flex: 0 1 auto; } /* M-2542: only when everything fits (panel-fleet) */
561
+ .p-fleet > .fleet-tabs-row { max-width: none; } /* The full tab inventory can exceed the default content column. */
532
562
  .fleet-tabs { display: flex; gap: var(--s-1); flex: 1 1 auto; min-width: 0; overflow-x: auto; }
533
563
  .panel-head .fleet-tabs .seg-item { min-height: 36px; flex-shrink: 0; }
534
- @media (max-width: 899px) {
564
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
535
565
  .panel-head:has(.inst-switch) { flex-wrap: wrap; }
536
566
  .inst-switch.seg { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 0 var(--s-1); }
537
567
  .inst-switch .seg-item { justify-content: center; border-radius: var(--r-sm); }
@@ -617,9 +647,11 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
617
647
  .dlg-title { flex: 1; font-size: var(--fs-lg); font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
618
648
  .dlg-body { padding: var(--s-2) var(--s-5) var(--s-4); overflow-y: auto; display: flex; flex-direction: column; gap: var(--s-3); }
619
649
  .dlg-actions { display: flex; justify-content: flex-end; gap: var(--s-2); padding: var(--s-3) var(--s-5) var(--s-5); }
650
+ .dlg-even .dlg-actions .btn { flex: 1 1 0; min-width: 0; }
651
+ .dlg-even .confirm-text { text-wrap: balance; }
620
652
  /* A drawer (ui-dialog.js `drawer`): on a desk, the right edge at full height, the page in view beside it. A phone keeps
621
653
  the bottom sheet (the rules below are for 900 px and up only). */
622
- @media (min-width: 900px) {
654
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
623
655
  .dlg.dlg-drawer { width: min(620px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0;
624
656
  background: var(--bg); box-shadow: var(--shadow-2); animation: dlg-drawer-in 0.18s var(--ease); }
625
657
  .dlg-drawer .dlg-box { height: 100%; max-height: 100dvh; }
@@ -659,6 +691,12 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
659
691
  .kv { display: flex; gap: var(--s-3); font-size: var(--fs-sm); align-items: center; }
660
692
  .kv .k { color: var(--text-3); min-width: 110px; }
661
693
  .kv .v { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: var(--s-2); }
694
+ /* M-3522: Details → Loaded every session — a file over its limit, and the warning under the list. */
695
+ .d-loaded .v .warn { color: var(--warn); font-weight: 600; }
696
+ .d-loaded .kv { justify-content: space-between; }
697
+ .d-loaded .kv .v { font-variant-numeric: tabular-nums; }
698
+ .d-loaded .d-loaded-total { border-top: 1px solid var(--border); padding-top: var(--s-2); font-weight: 600; }
699
+ .d-loaded .note.warn { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); line-height: 1.5; }
662
700
  .pct { font-weight: var(--fw-semibold); font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
663
701
  .progress-bar { display: inline-block; width: 120px; height: 8px; background: var(--surface-2); border-radius: var(--r-full); overflow: hidden; }
664
702
  .progress-fill { display: block; height: 100%; width: 0; border-radius: var(--r-full); background: var(--accent); transition: width 0.4s var(--ease); }
@@ -666,7 +704,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
666
704
  .activity { font-size: var(--fs-xs); font-family: var(--font-mono); display: flex; gap: var(--s-2); }
667
705
  .activity .ev { color: var(--warn); }
668
706
  .seg { display: flex; gap: var(--s-1); padding: 0 var(--s-4) var(--s-2); overflow-x: auto; flex-shrink: 0; max-width: calc(var(--col) + 2 * var(--s-5)); margin: 0 auto; width: 100%; }
669
- .seg-item { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 34px; padding: 0 var(--s-3); border-radius: var(--r-full); color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; }
707
+ .seg-item { border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 34px; padding: 0 var(--s-3); border-radius: var(--r-full); color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; }
670
708
  .seg-item:hover { background: var(--surface); color: var(--text); }
671
709
  .seg-item.active { background: var(--surface-2); color: var(--text); font-weight: var(--fw-semibold); }
672
710
  /* #1629: Settings has eight sections (Appearance added): they wrap to a second row rather than hide behind a scroll. */
@@ -720,7 +758,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
720
758
  .agent-settings-heading.s-row, .agent-settings-index-return.s-row { min-height: 0; padding: 0; border-radius: 0; background: none; }
721
759
  .agent-settings-index-return.s-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; width: 100%; }
722
760
  .agent-settings-index-return h2 { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
723
- @media (max-width: 899px) {
761
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
724
762
  .agent-settings-heading.s-row { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-2); margin-bottom: var(--s-4); }
725
763
  .p-agent-page .agent-settings-heading.s-row > .s-back { min-width: var(--tap); min-height: var(--tap); margin: 0; padding: 0; border: 0; background: none; white-space: nowrap; }
726
764
  .agent-settings-heading .s-page-head { min-width: 0; margin: 0; }
@@ -770,12 +808,19 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
770
808
  .s-setting-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; min-width: 0; padding: 14px 0; }
771
809
  .s-setting-row + .s-setting-row { border-top: 1px solid var(--border); }
772
810
  .s-setting-row .note { margin: 5px 0 0; }
773
- .p-settings input.s-ui-toggle, .p-hub input.s-ui-toggle { appearance: none; position: relative; display: inline-block; flex: none; width: 38px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface-3, var(--surface-2)); cursor: pointer; }
774
- .p-settings input.s-ui-toggle::after, .p-hub input.s-ui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: transform var(--t-fast); }
775
- .p-settings input.s-ui-toggle:checked, .p-hub input.s-ui-toggle:checked { background: var(--accent); border-color: var(--accent); }
776
- .p-settings input.s-ui-toggle:checked::after, .p-hub input.s-ui-toggle:checked::after { background: var(--on-accent, #fff); transform: translateX(16px); }
777
- .p-settings input.s-ui-toggle:disabled, .p-hub input.s-ui-toggle:disabled { cursor: default; opacity: 0.55; }
778
- .p-settings input.s-ui-toggle:focus-visible, .p-hub input.s-ui-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
811
+ .request-context-toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
812
+ .request-context-control, .request-context-blocked { overflow-wrap: anywhere; }
813
+ .request-context-control .btn, .request-context-need .btn { min-height: 44px; }
814
+ .request-context-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
815
+ .request-context-actions > .btn { width: auto; flex: 0 0 auto; }
816
+ .p-settings .request-context-toggle input.s-ui-toggle:not(:checked) { border-color: var(--text-2); background: var(--surface-3, var(--surface-2)); }
817
+ .p-settings .request-context-toggle input.s-ui-toggle:indeterminate::after { transform: translateX(8px); border-radius: 2px; }
818
+ .p-settings input.s-ui-toggle, .p-hub input.s-ui-toggle, .p-fleet input.s-ui-toggle { appearance: none; position: relative; display: inline-block; flex: none; width: 38px; height: 22px; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--border-strong); border-radius: 20px; background: var(--surface-3, var(--surface-2)); cursor: pointer; }
819
+ .p-settings input.s-ui-toggle::after, .p-hub input.s-ui-toggle::after, .p-fleet input.s-ui-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: transform var(--t-fast); }
820
+ .p-settings input.s-ui-toggle:checked, .p-hub input.s-ui-toggle:checked, .p-fleet input.s-ui-toggle:checked { background: var(--accent); border-color: var(--accent); }
821
+ .p-settings input.s-ui-toggle:checked::after, .p-hub input.s-ui-toggle:checked::after, .p-fleet input.s-ui-toggle:checked::after { background: var(--on-accent, #fff); transform: translateX(16px); }
822
+ .p-settings input.s-ui-toggle:disabled, .p-hub input.s-ui-toggle:disabled, .p-fleet input.s-ui-toggle:disabled { cursor: default; opacity: 0.55; }
823
+ .p-settings input.s-ui-toggle:focus-visible, .p-hub input.s-ui-toggle:focus-visible, .p-fleet input.s-ui-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
779
824
  .s-classic-area { display: flex; flex-direction: column; gap: 16px; }
780
825
  .s-classic-area > .s-ap-group { margin-bottom: 0; }
781
826
  @media (max-width: 600px) {
@@ -791,12 +836,9 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
791
836
  the two groups as full-width rows — and a section opens on its own with "‹ Settings" back to the list. The strip
792
837
  that scrolled sideways (and cut its ends) is gone there. Wider screens keep the list beside the section. */
793
838
  .p-settings .s-back { display: none; }
794
- @media (max-width: 899px) {
839
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
795
840
  .p-settings[data-view="index"] > .panel-body { display: none; }
796
841
  .p-settings[data-view="section"] > .s-nav { display: none; }
797
- .p-settings > .panel-body .s-back { display: flex; align-items: center; gap: var(--s-2); min-height: var(--tap); margin: 0 0 var(--s-2);
798
- color: var(--accent); font-size: var(--fs-sm); text-decoration: none; }
799
- .p-settings .s-back .s-back-here { margin-left: auto; color: var(--text); font-weight: var(--fw-semibold); }
800
842
  .p-settings[data-view="index"] > .s-nav { flex-direction: column; align-items: stretch; padding: 0 var(--s-4) var(--s-4); }
801
843
  .p-settings[data-view="index"] > .s-nav .s-nav-groups { flex-direction: column; align-items: stretch; flex-wrap: nowrap; overflow: visible; gap: var(--s-4); }
802
844
  .p-settings[data-view="index"] > .s-nav .s-nav-group { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; }
@@ -816,6 +858,10 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
816
858
  .p-settings #g-liveness input { min-height: var(--tap); }
817
859
  .p-settings #g-liveness .s-switch { min-height: var(--tap); }
818
860
  .p-settings #g-liveness .s-switch input[type="checkbox"] { width: var(--tap); }
861
+ /* The same for "When the task board wakes an agent" (its switches and the leader menu). */
862
+ .p-settings #g-wakes select { min-height: var(--tap); }
863
+ .p-settings #g-wakes .s-switch { min-height: var(--tap); }
864
+ .p-settings #g-wakes .s-switch input[type="checkbox"] { width: var(--tap); }
819
865
  /* Settings' dialogs are full-screen sheets (§7): an agent's or a connection's fields get the whole screen, the title on
820
866
  top and the actions at the bottom, inside it. The app's own questions (ask()) stay bottom sheets. */
821
867
  .p-settings .dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
@@ -850,7 +896,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
850
896
  .row-item { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); font-size: var(--fs-sm); }
851
897
  .row-item .grow { flex: 1; min-width: 160px; }
852
898
  .row-item .strong { font-weight: var(--fw-semibold); }
853
- .pill { font-size: 11px; font-weight: var(--fw-semibold); padding: 2px var(--s-2); border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.04em; background: var(--surface-2); color: var(--text-2); }
899
+ .pill { font-size: var(--fs-2xs); font-weight: var(--fw-semibold); padding: 2px var(--s-2); border-radius: var(--r-full); text-transform: uppercase; letter-spacing: 0.04em; background: var(--surface-2); color: var(--text-2); }
854
900
  .pill.open { background: var(--accent-dim); color: var(--accent); }
855
901
  .pill.claimed { background: var(--warn-bg); color: var(--warn); }
856
902
  .pill.done { color: var(--ok); }
@@ -862,7 +908,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
862
908
  .sched-actions { display: inline-flex; flex: none; gap: var(--s-1); }
863
909
  .sched-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
864
910
  .sched-sub { font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
865
- @media (max-width: 899px) { .sched-sub { white-space: normal; } } /* a phone: the run time wraps rather than being cut */
911
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .sched-sub { white-space: normal; } } /* a phone: the run time wraps rather than being cut */
866
912
  .sched-mode { margin-bottom: var(--s-2); }
867
913
  .save-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
868
914
 
@@ -878,7 +924,7 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
878
924
  .msg.user { align-self: flex-end; max-width: min(80%, 620px); }
879
925
  /* Full width (the header's ⋯ menu, this browser's choice): the thread and the composer take the panel, less their own
880
926
  padding, for wide tables and code; a person's bubble keeps its cap (above). A phone's column is the screen already. */
881
- @media (min-width: 900px) { .p-chat[data-width="full"] .thread, .p-chat[data-width="full"] .dock-col { max-width: none; } }
927
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .p-chat[data-width="full"] .thread, .p-chat[data-width="full"] .dock-col { max-width: none; } }
882
928
  .msg.user .meta { justify-content: flex-end; }
883
929
  /* #1773: the bubble hugs its text. The message is as wide as its widest child — usually the meta row (sender, a time
884
930
  such as 「昨天 下午03:58」, ticks) — and a block body would stretch to it; fit-content keeps a short message short, on
@@ -942,6 +988,8 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
942
988
  .msg.status-line .st-more { border: 0; background: none; color: var(--text-2); cursor: pointer; font-size: var(--fs-xs); padding: var(--s-1) 0 0 var(--s-3); }
943
989
  .msg.status-line.folded .st-more { flex: none; padding: 0 var(--s-2) 0 0; white-space: nowrap; }
944
990
  .msg.status-line .st-more:hover { color: var(--text); }
991
+ .msg-resend { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
992
+ @media (pointer: coarse), (max-width: 899px) { .msg-resend .btn { min-height: var(--tap); min-width: var(--tap); } }
945
993
  .msg-tools { display: flex; gap: var(--s-1); margin-top: var(--s-1); opacity: 0; transition: opacity var(--t-fast); }
946
994
  /* #2147: bounded stock toolbar paint, including fixed descendants. Padding preserves focus outlines. */
947
995
  .shell .thread .msg-tools { contain: paint; overflow: clip; overflow-clip-margin: 0px; padding: 4px; margin: 0 -4px -4px; }
@@ -979,8 +1027,20 @@ html:has(.shell), html:has(.shell) body { overflow: hidden; }
979
1027
  /* A chat image, full size, in the page (image-lightbox.js): the whole viewport, dark, the image fitted to it. */
980
1028
  html.lb-open .scroller { overflow: hidden; }
981
1029
  .lb { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
982
- background: rgba(0, 0, 0, 0.95); color: #fff; overflow: hidden; overscroll-behavior: contain; }
1030
+ background: var(--media-stage); background: color-mix(in srgb, var(--media-stage) calc(100% - 100% * var(--lb-pull, 0)), transparent);
1031
+ color: #fff; overflow: hidden; overscroll-behavior: contain; }
983
1032
  .lb::backdrop { background: rgba(0, 0, 0, 0.6); }
1033
+ /* M-3210: a phone's swipe (image-zoom.js): pulled up or down, the dark fades with --lb-pull (0…1, set on the dialog
1034
+ through the CSSOM) and the bar and arrows go first; a swipe that springs back eases; the next picture slides in from
1035
+ the side it came from. */
1036
+ .lb-bar, .lb-nav { opacity: calc(1 - 2 * var(--lb-pull, 0)); }
1037
+ .lb-img.lb-snap { transition: transform var(--t-med) var(--ease); }
1038
+ .lb-stage.lb-in-next { animation: lb-in-next var(--t-med) var(--ease); }
1039
+ .lb-stage.lb-in-prev { animation: lb-in-prev var(--t-med) var(--ease); }
1040
+ @keyframes lb-in-next { from { transform: translateX(28%); opacity: 0.3; } }
1041
+ @keyframes lb-in-prev { from { transform: translateX(-28%); opacity: 0.3; } }
1042
+ @media (prefers-reduced-motion: reduce) { .lb-img.lb-snap { transition: none; } .lb-stage.lb-in-next, .lb-stage.lb-in-prev { animation: none; } }
1043
+ .lb-nav:disabled { opacity: calc(0.35 * (1 - 2 * var(--lb-pull, 0))); }
984
1044
  .lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 16px 16px; box-sizing: border-box;
985
1045
  overflow: hidden; touch-action: none; }
986
1046
  /* #2333: the picture at its own size, placed and scaled by a CSSOM transform from its top-left corner (image-zoom.js);
@@ -1031,12 +1091,19 @@ html.lb-open .scroller { overflow: hidden; }
1031
1091
  wrapper instead. A column keeps at least 5em: CJK text can break between any two characters. */
1032
1092
  .msg .md th, .msg .md td, .text-card .tc-table th, .text-card .tc-table td { overflow-wrap: break-word; word-break: normal; min-width: 5em; }
1033
1093
  .msg .md .al-c { text-align: center; } .msg .md .al-r { text-align: right; }
1094
+ /* M-3326: a table's cells selected as a spreadsheet's (chat-table-select.js): while cells are selected the browser's own
1095
+ text selection stays off the table, and the selected cells show the selection's tint over their own background. */
1096
+ .msg .md table.cells-on, .msg .tc-table.cells-on { -webkit-user-select: none; user-select: none; }
1097
+ .msg .md td.cell-sel, .msg .md th.cell-sel, .msg .tc-table td.cell-sel, .msg .tc-table th.cell-sel {
1098
+ background-image: linear-gradient(var(--accent-dim), var(--accent-dim)), linear-gradient(var(--accent-dim), var(--accent-dim));
1099
+ box-shadow: inset 0 0 0 1px var(--accent);
1100
+ }
1034
1101
  .msg .md h3, .msg .md h4, .msg .md h5, .msg .md h6 { margin: var(--s-3) 0 var(--s-2); font-size: var(--fs-md); font-weight: var(--fw-semibold); }
1035
1102
  .msg .md .tk-k { color: var(--tk-k); } .msg .md .tk-s { color: var(--tk-s); } .msg .md .tk-n { color: var(--tk-n); } .msg .md .tk-c { color: var(--tk-c); font-style: italic; }
1036
1103
  .codeblock { margin: var(--s-2) 0; border-radius: var(--r-md); overflow: hidden; background: var(--code-bg); position: relative; }
1037
1104
  .codeblock .cb-head { display: flex; align-items: center; gap: var(--s-1); padding: 4px var(--s-2) 4px var(--s-3); background: var(--code-head); font-size: var(--fs-xs); color: var(--text-2); }
1038
1105
  .codeblock .cb-lang { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); }
1039
- .codeblock pre { margin: 0; padding: var(--s-3); overflow-x: auto; white-space: pre; font-family: var(--font-mono); font-size: 13px; line-height: 1.55; }
1106
+ .codeblock pre { margin: 0; padding: var(--s-3); overflow-x: auto; white-space: pre; font-family: var(--font-mono); font-size: var(--fs-sm); line-height: 1.55; }
1040
1107
  .msg .md .codeblock pre code { background: none; padding: 0; border-radius: 0; font-size: inherit; }
1041
1108
  .wrap-code .codeblock pre { white-space: pre-wrap; overflow-wrap: anywhere; }
1042
1109
  .codeblock.folded pre { max-height: 22.5em; overflow-y: hidden; mask-image: linear-gradient(to bottom, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); }
@@ -1049,15 +1116,34 @@ html.lb-open .scroller { overflow: hidden; }
1049
1116
  .pv-label { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--text-2); margin-right: auto; font-family: var(--font-mono); }
1050
1117
  .pv-note { font-size: var(--fs-xs); color: var(--text-3); margin-top: 6px; }
1051
1118
  .pv-note:empty { display: none; }
1119
+ /* M-3814: the 429 notice's link to the fixed preview address (Settings → Access). */
1120
+ .pv-note .pv-fix { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
1121
+ /* Chinese wraps between words, not inside one (建立, 查得到, 使用). */
1122
+ :lang(zh) .pv-note, :lang(zh) .fixed-preview, :lang(zh) .s-public-entry .note { word-break: keep-all; overflow-wrap: anywhere; }
1123
+ /* M-3814: the fixed preview address's Cloudflare step, under the fixed hostname. */
1124
+ .fixed-preview { margin-top: var(--s-3); }
1125
+ /* No fixed public hostname yet: why there is no preview field — body-size, set apart (the 429 link lands here). */
1126
+ .fixed-preview-needs { margin: var(--s-2) 0; padding: 8px var(--s-3) 8px calc(var(--s-3) + 3px); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); --lbar-color: var(--accent); } /* the bar: .lbar (#2330) */
1127
+ :lang(zh) .fixed-preview-needs { word-break: keep-all; overflow-wrap: anywhere; }
1128
+ .fixed-preview-steps { margin: var(--s-2) 0; }
1129
+ .fixed-preview-steps summary { cursor: pointer; padding: 6px 0; }
1130
+ .fixed-preview-steps ol { margin: var(--s-1) 0 0; padding-left: 1.6em; list-style: decimal; font-size: var(--fs-sm); overflow-wrap: anywhere; }
1131
+ .fixed-preview-steps li + li { margin-top: 4px; }
1132
+ .fixed-preview .save-row .fixed-preview-why { margin: 0 0 0 var(--s-2); align-self: center; }
1052
1133
  .pv-banner { margin-top: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); font-size: var(--fs-xs); background: var(--warn-bg); border: 1px solid var(--warn-line);
1053
1134
  display: flex; align-items: flex-start; gap: var(--s-2); }
1054
1135
  .pv-banner[hidden] { display: none; }
1055
1136
  .pv-banner-text { flex: 1; min-width: 0; }
1056
1137
  /* #1568: "I understand" hides the banner until the next sign-in; .preview-frame's border below never depends on it. */
1057
- .pv-banner .pv-ack { flex: none; }
1138
+ /* M-3742 (Prism #4462 triage): a real flat button — its own background and a visible edge on the notice's tint, no shadow —
1139
+ not a ghost that reads as text; a 44 px box on a phone. Shared by the chat, the preview panel and a task card's files. */
1140
+ .pv-banner .pv-ack, .pv-banner .pv-ack.btn-ghost { flex: none; background: var(--bg); border-color: var(--border-strong); color: var(--text); box-shadow: none; }
1141
+ .pv-banner .pv-ack:hover:not(:disabled) { background: var(--surface); }
1142
+ @media (max-width: 899px), (pointer: coarse) { .pv-banner .pv-ack { min-height: var(--tap); } }
1058
1143
  .pv-holder:empty { display: none; }
1059
1144
  .pv-holder { margin-top: var(--s-2); }
1060
- .preview-frame { display: block; width: 100%; border: 2px solid var(--warn-line); border-radius: var(--r-sm); background: #ffffff; }
1145
+ /* M-3742: the frame's edge at least 3:1 against the page in light and dark (--warn-line alone was ~1.9:1 on white, ~2.5:1 on dark). */
1146
+ .preview-frame { display: block; width: 100%; border: 2px solid var(--warn-line); border-color: color-mix(in srgb, var(--warn) 85%, var(--bg)); border-radius: var(--r-sm); background: #ffffff; }
1061
1147
  /* #1481: the preview beside the conversation. A split on a wide screen (width: --pv-w, set by the divider through
1062
1148
  CSSOM), a full-screen sheet on a narrow one. The frame is the card's (preview.js), sized by the panel here. */
1063
1149
  .chat-split { flex: 1; min-height: 0; display: flex; }
@@ -1074,7 +1160,7 @@ html.lb-open .scroller { overflow: hidden; }
1074
1160
  .p-chat > .panel-head { --bg: var(--chrome-bg); --surface: var(--chrome-surface); --text: var(--chrome-text); --text-2: var(--chrome-text-2); --accent: var(--chrome-accent); background: var(--bg); color: var(--text); }
1075
1161
  .p-chat.th { background: var(--bg); color: var(--text); }
1076
1162
  .p-chat.th .msg.user .body { border-radius: var(--bubble-radius, var(--r-xl)); }
1077
- .p-chat.th-font-system .thread, .p-chat.th-font-system .composer textarea, .p-chat.th-font-system .composer-ph { font-family: system-ui, -apple-system, "Segoe UI", sans-serif, var(--font-emoji); }
1163
+ .p-chat.th-font-system .thread, .p-chat.th-font-system .composer textarea, .p-chat.th-font-system .composer-ph { font-family: "AgEnD Emoji", system-ui, -apple-system, "Segoe UI", sans-serif, var(--font-emoji); }
1078
1164
  .p-chat.th-font-mono .thread, .p-chat.th-font-mono .composer textarea, .p-chat.th-font-mono .composer-ph { font-family: var(--font-mono); }
1079
1165
  .p-chat.th-bubble-thin .msg.user .body { box-shadow: inset 0 0 0 1px var(--border); }
1080
1166
  .p-chat.th-bubble-accent .msg.user .body { box-shadow: inset 0 0 0 1px var(--accent); }
@@ -1095,7 +1181,7 @@ html.lb-open .scroller { overflow: hidden; }
1095
1181
  img.amb-p { object-fit: contain; }
1096
1182
  .s-mod-glyph { width: 24px; height: 24px; object-fit: contain; }
1097
1183
  /* #2117: the one-time "reduced motion; effects are on" note, a strip above the thread. */
1098
- .chat-main > .amb-note { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin: var(--s-2) var(--s-3) 0; padding: var(--s-1) var(--s-2); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--text-2); font-size: 13px; }
1184
+ .chat-main > .amb-note { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin: var(--s-2) var(--s-3) 0; padding: var(--s-1) var(--s-2); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--text-2); font-size: var(--fs-sm); }
1099
1185
  .chat-main > .amb-note .amb-note-off { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; font: inherit; min-height: 32px; }
1100
1186
  .chat-main > .amb-note .amb-note-x { margin-left: auto; min-width: 32px; min-height: 32px; border: 0; background: none; color: var(--text-2); cursor: pointer; }
1101
1187
  .pv-divider { flex: 0 0 8px; cursor: col-resize; background: var(--bg); border-left: 1px solid var(--border); touch-action: none; position: relative; }
@@ -1113,6 +1199,9 @@ img.amb-p { object-fit: contain; }
1113
1199
  .pv-source:focus-visible { outline: 2px solid var(--accent); border-radius: var(--r-sm); }
1114
1200
  .pv-panel-bar { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); flex-wrap: wrap; }
1115
1201
  .pv-panel-bar .grow { flex: 1; }
1202
+ .pv-toolbar-dialog .dlg-body { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
1203
+ .pv-toolbar-dialog .field { flex-basis: 100%; }
1204
+ .pv-panel-fs[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
1116
1205
  .pv-panel > .pv-banner, .pv-panel > .pv-note, .pv-newer { margin: 0 var(--s-3) var(--s-2); }
1117
1206
  .pv-panel > .pv-note { margin-top: 0; }
1118
1207
  .pv-newer { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
@@ -1179,6 +1268,20 @@ img.amb-p { object-fit: contain; }
1179
1268
  .msg-quote .quote-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1180
1269
  .msg-menu { position: fixed; z-index: 60; min-width: 180px; padding: var(--s-1); border-radius: var(--r-md); background: var(--surface);
1181
1270
  box-shadow: var(--shadow-2); display: flex; flex-direction: column; }
1271
+ /* M-3271: pinned messages — the header's 📌 with its count, the list (newest first) and a pin's kept copy. */
1272
+ .chat-pins-btn { display: inline-flex; align-items: center; gap: 4px; }
1273
+ .chat-pins-count { font-variant-numeric: tabular-nums; }
1274
+ .chat-pins { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-1); }
1275
+ .chat-pin { display: flex; align-items: flex-start; gap: var(--s-1); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
1276
+ .chat-pin-go { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: var(--s-2); border: 0; border-radius: var(--r-md);
1277
+ background: transparent; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
1278
+ .chat-pin-go:hover { background: var(--surface-2); }
1279
+ .chat-pin-meta { display: flex; gap: var(--s-2); align-items: baseline; margin: 0; font-size: var(--fs-xs); color: var(--text-3); }
1280
+ .chat-pin-meta strong { color: var(--text-2); font-weight: var(--fw-semibold); }
1281
+ .chat-pin-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: pre-wrap; }
1282
+ .chat-pin-files { font-size: var(--fs-xs); color: var(--text-3); overflow-wrap: anywhere; }
1283
+ .chat-pin-x { flex: none; margin: var(--s-1); }
1284
+ .chat-pin-copy-text { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 50vh; overflow: auto; }
1182
1285
  /* M-2789: the 「引用」 pill on a selected passage (chat-quote.js) — the message menu's look, one item, its pointer at the
1183
1286
  passage's end; readable on white and dark alike (the shared border and shadow tokens). A phone's is a 44-px tap. */
1184
1287
  .msg-menu.quote-pop { min-width: 0; max-width: calc(100vw - 32px); padding: 2px; border: 1px solid var(--border-strong); overflow: visible; }
@@ -1191,8 +1294,13 @@ img.amb-p { object-fit: contain; }
1191
1294
  .quote-pop .quote-tip.up { top: -6px; border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); }
1192
1295
  .msg[data-key] { transition: transform var(--t-fast); }
1193
1296
  .msg.swipe-ready { box-shadow: 3px 0 0 var(--accent); border-radius: var(--r-sm); } /* let go now: a reply */
1194
- @media (max-width: 899px) {
1297
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
1195
1298
  .only-wide { display: none; }
1299
+ .pv-panel-bar { flex-wrap: nowrap; }
1300
+ .pv-panel-bar > .seg-inline .btn, .pv-panel-bar > .btn, .pv-panel-bar > .icon-btn,
1301
+ .pv-toolbar-dialog .btn, .pv-toolbar-dialog .icon-btn, .pv-toolbar-dialog .pv-width { min-width: var(--tap); min-height: var(--tap); }
1302
+ .pv-panel-bar > .seg-inline .btn, .pv-panel-bar > .btn { padding-inline: var(--s-2); }
1303
+ .pv-panel-fs { min-width: var(--tap); min-height: var(--tap); }
1196
1304
  .pv-divider { display: none; }
1197
1305
  .pv-panel { position: fixed; inset: 0; z-index: 37; width: auto; min-width: 0; max-width: none;
1198
1306
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
@@ -1201,6 +1309,7 @@ img.amb-p { object-fit: contain; }
1201
1309
  names — except Preview, which the panel's note names. */
1202
1310
  @container (max-width: 560px) {
1203
1311
  .pv-panel-bar :not(.pv-panel-run) > .lbl { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
1312
+ .pv-panel-bar .pv-toolbar-dialog .lbl { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
1204
1313
  }
1205
1314
  /* preview feedback (M-2217, #2911): the errors chip — its count stays when a narrow bar hides the word. */
1206
1315
  .pv-fb-errors { color: var(--warn); border-color: var(--warn-line); background: var(--warn-bg); }
@@ -1209,10 +1318,10 @@ img.amb-p { object-fit: contain; }
1209
1318
  /* #1266: an agent reply's buttons — choices under the text; one answers for everyone. */
1210
1319
  .rb-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
1211
1320
  .rb-btn { max-width: 100%; white-space: normal; text-align: left; }
1212
- .rb-btn.chosen, .rb-btn.chosen:disabled { border-color: var(--ok); color: var(--text); background: color-mix(in srgb, var(--ok) 14%, transparent); font-weight: var(--fw-semibold); opacity: 1; }
1213
- .rb-btn:disabled:not(.chosen) { opacity: 0.55; }
1214
- /* #1823: a poll — its closed buttons show the tally, so they stay readable; the time left keeps its width. */
1215
- .rb-row.poll .rb-btn:disabled { opacity: 0.85; }
1321
+ .rb-btn.chosen, .rb-btn.chosen:disabled { border-color: var(--ok); border-style: solid; color: var(--text); background: color-mix(in srgb, var(--ok) 14%, transparent); font-weight: var(--fw-semibold); opacity: 1; }
1322
+ /* M-3842: an unchosen, answered or expired choice is the shared off button (.btn:disabled): muted, no fill, dashed; no opacity. */
1323
+ /* #1823: a poll — its closed buttons show the tally, so they stay readable (M-3842: --text-2, no opacity); the time left keeps its width. */
1324
+ .rb-row.poll .rb-btn:disabled:not(.chosen) { color: var(--text-2); }
1216
1325
  .rb-row.poll .poll-left { font-variant-numeric: tabular-nums; }
1217
1326
  .poll-voters { margin: var(--s-1) 0 0; padding-left: var(--s-4); color: var(--text-2); font-size: var(--fs-sm); }
1218
1327
  .rb-note { font-size: var(--fs-xs); color: var(--text-3); }
@@ -1231,9 +1340,17 @@ img.amb-p { object-fit: contain; }
1231
1340
  position: absolute; bottom: var(--s-3); left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--s-1);
1232
1341
  background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-full); box-shadow: var(--shadow-2);
1233
1342
  padding: 6px var(--s-4); font-size: var(--fs-xs); font-weight: var(--fw-semibold); cursor: pointer;
1343
+ transition: opacity 200ms ease;
1234
1344
  }
1345
+ /* M-3492: after JUMP_IDLE_MS without a scroll it fades out and lets taps through to the bubble under it; it stays in the
1346
+ tab order and the accessibility tree, and keyboard focus shows it again. Reduced motion: no fade, just gone. */
1347
+ .jump-latest.is-idle:not(:focus-visible) { opacity: 0; pointer-events: none; }
1348
+ @media (prefers-reduced-motion: reduce) { .jump-latest { transition: none; } }
1235
1349
  .dock { flex-shrink: 0; padding: 0 max(var(--s-5), env(safe-area-inset-right)) max(var(--s-3), env(safe-area-inset-bottom)) max(var(--s-5), env(safe-area-inset-left)); }
1236
1350
  .dock-col { max-width: var(--col); margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-2); }
1351
+ /* M3540: reserve an 8px gutter in normal flow; its bottom uses existing dock padding, avoiding a double keyboard gap. */
1352
+ .composer-hit { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2); margin-inline: calc(-1 * var(--s-2)); margin-bottom: calc(-1 * var(--s-2)); user-select: none; -webkit-user-select: none; }
1353
+ .composer-hit .cmd-card, .composer-hit .pending-files, .composer-hit .reply-bar { user-select: text; -webkit-user-select: text; }
1237
1354
  .prompts { display: flex; flex-direction: column; gap: var(--s-2); }
1238
1355
  .prompt { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); font-size: var(--fs-sm); background: var(--warn-bg); border: 1px solid var(--warn-line); }
1239
1356
  .prompt.done { background: transparent; border-style: dashed; color: var(--text-2); }
@@ -1242,6 +1359,22 @@ img.amb-p { object-fit: contain; }
1242
1359
  .st-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
1243
1360
  .st-link:hover { text-decoration-thickness: 2px; }
1244
1361
  .prompt .acts { display: flex; gap: var(--s-2); margin-top: var(--s-2); align-items: center; flex-wrap: wrap; }
1362
+ /* M-3757: a plain subtitle under a CLI choice's own words (what it means for the plan). */
1363
+ .btn:has(> .btn-hint) { flex-direction: column; align-items: flex-start; text-align: left; height: auto; }
1364
+ .btn .btn-hint { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--text-2); white-space: normal; }
1365
+ /* M-3757: Claude's text, folded under the detail line (Needs you and the chat). */
1366
+ .n-raw { margin-top: var(--s-1); font-size: var(--fs-xs); color: var(--text-2); }
1367
+ .n-raw > summary { cursor: pointer; width: fit-content; }
1368
+ .n-raw-text { margin: var(--s-1) 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-xs); color: var(--text-2); }
1369
+ .prompt .prompt-detail { color: var(--text-2); }
1370
+ /* The bill sentence wraps at spaces and punctuation only (never inside 「另外」), balanced so no stub is left alone. */
1371
+ .n-usage-credits .n-detail, .prompt-usage-credits .prompt-detail { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
1372
+ .prompt-usage-credits > .txt:first-child { text-wrap: balance; }
1373
+ /* Phone and touch: the fold and the chat prompt's choices are tap targets, as .n-actions buttons are. */
1374
+ @media (max-width: 899px), (pointer: coarse) {
1375
+ .n-raw > summary { min-height: var(--tap); line-height: var(--tap); }
1376
+ .prompt-usage-credits .acts .btn { min-height: var(--tap); }
1377
+ }
1245
1378
  .prompt .wait { font-size: var(--fs-xs); color: var(--text-3); }
1246
1379
  /* #2675: a prompt's typed answer. 16px keeps iOS from zooming in on focus (#1612). */
1247
1380
  .prompt .prompt-text { display: flex; gap: var(--s-2); margin-top: var(--s-2); }
@@ -1260,19 +1393,20 @@ img.amb-p { object-fit: contain; }
1260
1393
  /* S-30: a state note above the composer ("Connection revoked…", "still working") sat flush on the box's edge. */
1261
1394
  .composer-box > .note { margin: 0; padding: var(--s-2) var(--s-3) 0; }
1262
1395
  .composer-box:focus-within { box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-1); }
1263
- .composer { display: flex; align-items: flex-end; gap: var(--s-1); padding: var(--s-2); }
1396
+ .composer { display: flex; align-items: flex-end; gap: var(--s-1); padding: var(--s-2); user-select: none; -webkit-user-select: none; }
1264
1397
  .composer textarea {
1265
- flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; padding: 7px var(--s-1); outline: none;
1398
+ flex: 1; min-width: 0; background: transparent; color: var(--text); border: 0; padding: 7px var(--s-1); outline: none; user-select: text; -webkit-user-select: text;
1266
1399
  font-size: var(--fs-md); line-height: var(--lh-md); resize: none; min-height: 24px; max-height: 240px; overflow-y: auto;
1267
1400
  }
1268
1401
  .composer textarea::placeholder { color: var(--text-3); }
1269
1402
  /* #2478: the placeholder, drawn over the empty box at its text's place: one line ending in "…" (a textarea's own is
1270
1403
  clipped, never ellipsized). The same size and line as the box's text; it never takes a tap. */
1271
1404
  .composer-field { position: relative; flex: 1; min-width: 0; display: flex; }
1272
- .composer-ph { position: absolute; left: var(--s-1); right: var(--s-1); top: 7px; pointer-events: none; color: var(--text-3);
1405
+ .composer-ph { position: absolute; left: var(--s-1); right: var(--s-1); top: 7px; pointer-events: none; user-select: none; -webkit-user-select: none; color: var(--text-3);
1273
1406
  font-size: var(--fs-md); line-height: var(--lh-md); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
1274
1407
  .composer-field textarea:not(:placeholder-shown) + .composer-ph { display: none; } /* text in the box, composing text too */
1275
1408
  .btn-send { width: 36px; padding: 0; }
1409
+ .btn-send:disabled { background: var(--surface-2); color: var(--text-3); border-color: transparent; border-style: solid; } /* M-3842: an empty composer's Send is a quiet filled circle a step off the composer, its icon ≥ 3:1 */
1276
1410
  .btn-send .send-label { display: none; }
1277
1411
  /* A narrow phone: Stop reply beside Send leaves the message box no room — the label is for screen readers there. */
1278
1412
  @media (max-width: 479px) { .btn-stop .stop-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; } }
@@ -1359,6 +1493,13 @@ img.amb-p { object-fit: contain; }
1359
1493
  .webauth-chip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); margin: var(--s-1) 0 0; font-size: var(--fs-xs); }
1360
1494
  .webauth-chip .webauth-ok { color: var(--ok); }
1361
1495
  .webauth-chip .btn-sm { min-height: 24px; }
1496
+ /* M-3710 (#4447 review): Needs you's Authorize this browser is a full touch target on a phone. */
1497
+ @media (pointer: coarse), (max-width: 479px) { .contact-verify-need .webauth-chip .btn-sm { min-height: var(--tap); min-width: var(--tap); } }
1498
+ /* M-3864 R6 (#4583): Permissions / Authorizations when a verified administrator is needed: the line, this browser's
1499
+ authorize line, then Try again, stacked with room between them; touch-sized on a phone as the Needs you line is. */
1500
+ .contact-verify { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; }
1501
+ .contact-verify > .note { margin: 0; }
1502
+ @media (pointer: coarse), (max-width: 479px) { .contact-verify .btn-sm { min-height: var(--tap); min-width: var(--tap); } }
1362
1503
  /* #1939 S2a: Settings → Web → Web authority. */
1363
1504
  .s-web-authority .s-va-sessions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
1364
1505
  .s-web-authority .s-va-sessions li { padding: var(--s-2) var(--s-3); border: 1px solid var(--border); border-radius: var(--r-sm); overflow-wrap: anywhere; }
@@ -1381,7 +1522,7 @@ img.amb-p { object-fit: contain; }
1381
1522
  .file-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
1382
1523
  .file-chip .sz { color: var(--text-3); flex-shrink: 0; }
1383
1524
  .file-chip .ic { display: inline-flex; color: var(--text-2); }
1384
- .file-chip .as-text { white-space: nowrap; flex-shrink: 0; background: none; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-2); cursor: pointer; font-size: 11px; padding: 1px 6px; }
1525
+ .file-chip .as-text { white-space: nowrap; flex-shrink: 0; background: none; border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-2); cursor: pointer; font-size: var(--fs-2xs); padding: 1px 6px; }
1385
1526
  .chip-x { display: inline-flex; background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 2px; border-radius: 4px; }
1386
1527
  .chip-x:hover { color: var(--text); background: var(--surface-2); }
1387
1528
  .drop-overlay { display: none; }
@@ -1450,6 +1591,8 @@ img.amb-p { object-fit: contain; }
1450
1591
  .toasts { position: fixed; bottom: var(--s-6); right: var(--s-6); z-index: 100; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); pointer-events: none; }
1451
1592
  .toast { padding: 10px var(--s-4); max-width: min(420px, calc(100vw - 32px)); border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: var(--fw-medium); box-shadow: var(--shadow-2); background: var(--accent-fill); color: var(--on-accent); animation: toast-in var(--t-med) var(--ease); }
1452
1593
  .toast.err { background: var(--danger-fill); color: var(--on-danger); }
1594
+ /* Detailed refusal messages must keep their recovery steps visible on phones too. */
1595
+ .toasts .toast.toast-detail { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; border-radius: var(--r-md); word-break: keep-all; text-wrap: pretty; } /* M-3770 1.6: zh breaks at spaces and punctuation (no 「執 / 行」); a word too long still breaks */
1453
1596
  @keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
1454
1597
 
1455
1598
  /* ── #1366 tour: a card that names one thing at a time; the outline is a class (#1300) ── */
@@ -1461,7 +1604,7 @@ img.amb-p { object-fit: contain; }
1461
1604
  .tour-spot { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
1462
1605
 
1463
1606
  /* ── Phones: the sidebar is a drawer, the composer stays pinned, bottom tabs ── */
1464
- @media (max-width: 899px) {
1607
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
1465
1608
  .sidebar {
1466
1609
  position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 40; box-shadow: var(--shadow-2);
1467
1610
  transform: translateX(-105%); transition: transform var(--t-med) var(--ease); visibility: hidden;
@@ -1493,6 +1636,10 @@ img.amb-p { object-fit: contain; }
1493
1636
  you counts) goes back to the agents, and ⋯ reaches Needs you, Fleet and Settings. The lists keep the tabs. */
1494
1637
  .in-agent .tabs { display: none; }
1495
1638
  .in-agent .main { padding-bottom: 0; }
1639
+ /* M-3166: …so nothing under the composer holds the home-indicator inset any more. Once ✓ Verified hides the line under it
1640
+ (below), the box sat in the screen's rounded corners. The dock keeps the inset itself, with the keyboard down (up, the
1641
+ keyboard covers that area, and the box sits on it: #2478). */
1642
+ .in-agent:not(.kb-open) .dock { padding-bottom: max(var(--s-2), env(safe-area-inset-bottom)); }
1496
1643
  .sb-back .ic-menu { display: none; }
1497
1644
  .sb-back .ic-back { display: inline-block; }
1498
1645
  .sb-back { position: relative; }
@@ -1505,9 +1652,9 @@ img.amb-p { object-fit: contain; }
1505
1652
  /* M-2733: on a phone the line under the composer was flush with the box's rounded edge, 4px under it and on the tab
1506
1653
  bar: it starts where the box's text does and has room above and below. */
1507
1654
  .composer-row { margin-top: 0; padding: var(--s-1) var(--s-3) var(--s-2); }
1508
- .tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; justify-content: center; font-size: 11px; color: var(--text-2); position: relative; }
1655
+ .tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; justify-content: center; font-size: var(--fs-2xs); color: var(--text-2); position: relative; }
1509
1656
  .tab.active { color: var(--text); font-weight: var(--fw-semibold); }
1510
- .tab-badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-full); background: var(--danger-fill); color: var(--on-danger); font-size: 10px; line-height: 16px; text-align: center; }
1657
+ .tab-badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-full); background: var(--danger-fill); color: var(--on-danger); font-size: var(--fs-3xs); line-height: 16px; text-align: center; }
1511
1658
  .main { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
1512
1659
  .kb-open .main { padding-bottom: 0; }
1513
1660
  .toasts { top: calc(60px + env(safe-area-inset-top)); bottom: auto; left: var(--s-4); right: var(--s-4); align-items: stretch; }
@@ -1517,9 +1664,18 @@ img.amb-p { object-fit: contain; }
1517
1664
  .dlg-actions { padding-bottom: max(var(--s-5), env(safe-area-inset-bottom)); }
1518
1665
  .dlg-actions .btn { flex: 1; min-height: var(--tap); }
1519
1666
  .dlg-head .dlg-x { min-width: var(--tap); min-height: var(--tap); }
1520
- .row-item .btn, .s-row .btn, .n-actions .btn { min-height: var(--tap); }
1667
+ .row-item .btn, .s-row .btn, .n-actions .btn, .rc-verify .btn, .rc-read-failed .btn { min-height: var(--tap); }
1668
+ /* Settings buttons share one phone target, including compact card actions. */
1669
+ .p-settings .btn { min-width: var(--tap); min-height: var(--tap); }
1670
+ /* Grow the clickable label around its text without moving the surrounding layout. */
1671
+ .p-settings .s-setting-copy > label { display: block; min-height: var(--tap); padding-block: max(0px, calc((var(--tap) - 1lh) / 2)); margin-block: min(0px, calc((1lh - var(--tap)) / 2)); }
1521
1672
  .s-row .icon-btn { min-width: var(--tap); min-height: var(--tap); }
1522
1673
  .p-settings .s-company-join :is(.field input, .btn) { min-height: var(--tap); }
1674
+ /* M-3281: the archived chat files' limit (Settings → Web dashboard): its field is a phone tap target too (its Save keeps the
1675
+ section's one .btn height, as the app icon's button beside it). */
1676
+ .p-settings .s-archive-files .field input { min-height: var(--tap); }
1677
+ /* M-3668 (ui-gate, #4428): the task board's archive-after-days field is a phone tap target too. */
1678
+ .p-settings #g-archive .s-hang-row input { min-height: var(--tap); }
1523
1679
  /* AGEND-122: Owner verification's own buttons, dialog fields and switches are phone tap targets (style guide rule 7); the Devices
1524
1680
  card's primary action beside it matches (one primary button height on the page). */
1525
1681
  .p-settings .s-outside :is(.save-row .btn, .field input, label.check), .p-settings .s-devices .save-row .btn, .p-settings .s-web-authority .save-row .btn { min-height: var(--tap); }
@@ -1554,8 +1710,8 @@ img.amb-p { object-fit: contain; }
1554
1710
  .caret.flipped { transform: rotate(180deg); } /* the card's toggle: up when closed (it opens upwards) */
1555
1711
  .v-inst { align-items: center; }
1556
1712
  /* #1664: favorites — the star after a row (on hover or focus on a desktop, always when starred; on a phone in Edit) */
1557
- .inst-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
1558
- .inst-head .side-label { flex: 1; min-width: 0; }
1713
+ .inst-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2); }
1714
+ .inst-head .side-label { flex: 1; min-width: max-content; }
1559
1715
  .fav-edit { margin-right: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-1); }
1560
1716
  .v-li { display: flex; align-items: center; gap: 2px; }
1561
1717
  .v-li > .inst { flex: 1; min-width: 0; }
@@ -1573,7 +1729,7 @@ img.amb-p { object-fit: contain; }
1573
1729
  @media (hover: none) { .inst-nav:not(.fav-editing) .inst-star { display: none; } }
1574
1730
  /* Edit: room for ↑ ↓ ☆ — the context and CLI marks step aside so the name keeps its width. */
1575
1731
  .fav-editing .v-li .v-meta { display: none; }
1576
- @media (max-width: 899px) { .fav-editing .inst-star, .fav-editing .inst-move { width: 36px; height: 36px; } }
1732
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .fav-editing .inst-star, .fav-editing .inst-move { width: 36px; height: 36px; } }
1577
1733
  .v-inst .dot { margin-top: 0; }
1578
1734
  .v-meta { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
1579
1735
  .v-meta { flex: none; }
@@ -1590,6 +1746,25 @@ img.amb-p { object-fit: contain; }
1590
1746
  .inst.just:not(.active) { animation: inst-just 2.4s ease-out 1; }
1591
1747
  @keyframes inst-just { from { box-shadow: inset 0 0 0 1.5px var(--accent); } to { box-shadow: inset 0 0 0 1.5px transparent; } }
1592
1748
  @media (prefers-reduced-motion: reduce) { .inst.just:not(.active) { animation: none; } } /* as specific as the rule it stops */
1749
+ /* M-3129: v4 compact sidebar. Same tokens, links, hover/selection and group headers; no avatar. */
1750
+ .inst-nav.compact .v-li { height: 30px; }
1751
+ .inst-nav.compact .v-inst { height: 30px; min-height: 30px; padding-block: 0; gap: var(--s-2); }
1752
+ .inst-nav.compact .inst-text { flex-direction: row; align-items: center; gap: var(--s-2); }
1753
+ .inst-nav.compact .inst-line { flex: 1; min-width: 0; }
1754
+ .inst-nav.compact .inst-line2 { flex: 0 1 auto; min-width: 0; }
1755
+ /* M-3674: the name keeps room beside two times (a person's and an agent's); the times ellipsize, the title has them whole. */
1756
+ .inst-nav.compact .inst-line { min-width: 40%; }
1757
+ .inst-nav.compact .inst-line2 > .inst-when { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
1758
+ .inst-nav.compact .inst-when { color: var(--text-3); font-weight: var(--fw-normal); }
1759
+ .inst-nav.compact .inst-row-menu > .icon-btn { height: 28px; min-height: 28px; }
1760
+ .inst-status.off { background: var(--text-2); }
1761
+ .inst-status.hollow { box-sizing: border-box; background: var(--bg-sidebar); border: 2px solid var(--text-2); }
1762
+ @media (max-width: 899px), (pointer: coarse) {
1763
+ /* New Settings controls meet the phone tap minimum; existing smaller controls are grandfathered by the UI gate. */
1764
+ .p-settings .prefs.labelled #pref-density { min-height: var(--tap); }
1765
+ .inst-nav.compact .v-li, .inst-nav.compact .v-inst { height: 40px; min-height: 40px; }
1766
+ .inst-nav.compact .inst-row-menu > .icon-btn { height: 40px; min-height: 40px; min-width: 40px; }
1767
+ }
1593
1768
  /* #2179: how the list sorts — the button says it (the accent while "Recent replies" is on); its menu under it. */
1594
1769
  .inst-head { position: relative; }
1595
1770
  .nav-sort { position: static; flex: none; } /* the menu spans the header's width, under it — never past the sidebar's edge */
@@ -1598,19 +1773,25 @@ img.amb-p { object-fit: contain; }
1598
1773
  .nav-sort-static { cursor: default; }
1599
1774
  .nav-sort-menu { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; padding: var(--s-3);
1600
1775
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
1601
- display: flex; flex-direction: column; gap: var(--s-3); }
1776
+ display: flex; flex-direction: column; gap: var(--s-3); overflow-y: auto; }
1602
1777
  .nav-sort-menu fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
1603
1778
  .nav-sort-menu legend { padding: 0 0 4px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-2); }
1604
1779
  .nav-sort-opt { display: flex; align-items: flex-start; gap: var(--s-2); min-height: 36px; padding: 4px 2px; font-size: var(--fs-sm); cursor: pointer; }
1605
1780
  .nav-sort-opt input { margin-top: 3px; flex: none; }
1606
1781
  .nav-sort-hint { display: block; font-size: var(--fs-xs); color: var(--text-3); }
1782
+ /* M-3212: 自訂 from an icon beside the phone drawer's filter (shown in that drawer only, below), and in its 顯示 the drawer's
1783
+ width (手機側欄), a phone's only. */
1784
+ .nav-sort-phone { display: none; }
1785
+ .v-filter-new { display: none; } /* M-3217: the phone drawer's + (below) */
1786
+ .nav-sort-menu .nav-sort-sub { margin-top: var(--s-2); }
1787
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .nav-sort-menu .nav-sort-drawer { display: none; } }
1607
1788
  .recent-head { cursor: default; }
1608
1789
  /* #1722: the sidebar's width — a separator on its right edge (drag, arrows, Home/End, double-click resets); not on a phone */
1609
1790
  .side-resize { position: absolute; top: 0; right: -3px; width: 6px; height: 100%; z-index: 5; cursor: col-resize; touch-action: none; }
1610
1791
  .side-resize:hover, .side-resize:focus-visible, .side-resize.dragging { background: var(--accent-dim, var(--border-strong)); }
1611
1792
  .side-resize:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
1612
1793
  body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-select: none; }
1613
- @media (max-width: 899px) { .side-resize { display: none; } }
1794
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .side-resize { display: none; } }
1614
1795
  .dragging { opacity: 0.4; }
1615
1796
  .drop-before { box-shadow: inset 0 2px 0 var(--accent); }
1616
1797
  .drop-after { box-shadow: inset 0 -2px 0 var(--accent); }
@@ -1719,6 +1900,11 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1719
1900
  muted line under the head (one line in the rail, whole in the dialog). */
1720
1901
  .u-profile { margin-top: calc(-1 * var(--s-2) + 2px); color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1721
1902
  .dlg .u-profile { white-space: normal; overflow-wrap: anywhere; }
1903
+ /* M-3248: "No agents on this profile" — a quiet ⓘ right of the login's name (the muted text colour, never a warning's). In the
1904
+ full card it is the shared info icon (.info-tip); in a compact row only drawn (the row's name carries the words: M-3443). */
1905
+ .u-profile.has-na { display: flex; align-items: center; gap: 6px; }
1906
+ .u-profile.has-na .u-profile-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
1907
+ .u-na { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--text-3); }
1722
1908
  .u-order { margin-left: auto; display: flex; gap: 2px; flex: none; }
1723
1909
  .u-order .icon-btn { width: 28px; height: 28px; }
1724
1910
  .u-order .icon-btn:disabled { opacity: 0.3; }
@@ -1729,7 +1915,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1729
1915
  .u-pct { font-size: 24px; font-weight: var(--fw-bold); line-height: 1; font-variant-numeric: tabular-nums; }
1730
1916
  .u-unit { font-size: var(--fs-sm); margin-left: 1px; opacity: 0.75; }
1731
1917
  .u-pct.warn, .u-status.warn { color: var(--warn); } .u-pct.crit, .u-status.crit { color: var(--danger); }
1732
- .u-status { font-size: 11px; font-weight: var(--fw-bold); padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); align-self: center; }
1918
+ .u-status { font-size: var(--fs-2xs); font-weight: var(--fw-bold); padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); align-self: center; }
1733
1919
  .u-meter { height: 10px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
1734
1920
  .u-fill { height: 100%; width: 0; min-width: 3px; border-radius: var(--r-full); background: var(--accent); transition: width 0.3s var(--ease); }
1735
1921
  .u-fill.warn { background: var(--warn); } .u-fill.crit { background: var(--danger); }
@@ -1753,10 +1939,31 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1753
1939
  .u-compact-toggle { flex: none; }
1754
1940
  /* flex: none — a group never shrinks to fit the rail (it would clip its accounts): the rail scrolls instead. */
1755
1941
  .u-cgroup { flex: none; display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
1756
- .u-cg-head { display: flex; align-items: baseline; gap: 4px; padding: 7px var(--s-3) 3px; font-size: 11px; font-weight: var(--fw-semibold);
1942
+ .u-cg-head { display: flex; align-items: baseline; gap: 4px; padding: 7px var(--s-3) 3px; font-size: var(--fs-2xs); font-weight: var(--fw-semibold);
1757
1943
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
1758
1944
  .u-cg-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1759
1945
  .u-cg-count { flex: none; }
1946
+ /* M-3241 (the user): a group of two or more logins folds — −/+ on its header's right cycles every window → one line per
1947
+ login (its binding window beside its name) → the header alone with the highest percent, in its warning colour. */
1948
+ .u-cg-tools { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2); align-self: center; text-transform: none; letter-spacing: 0; }
1949
+ .u-cg-top { font-size: var(--fs-sm); }
1950
+ .u-cg-top.u-cm-pct.is-stale { color: var(--text-3); } /* a stale login's cached number: muted, as its row (#4054 review) */
1951
+ .u-cg-toggle { width: 24px; height: 24px; margin: -4px calc(-1 * var(--s-1)) -4px 0; color: var(--text-3); }
1952
+ .u-cg-toggle:hover { color: var(--text); }
1953
+ .u-cgroup.is-collapsed > .u-cg-head { padding-bottom: 7px; }
1954
+ .u-crow.is-one { flex-direction: row; align-items: center; gap: var(--s-3); }
1955
+ .u-crow.is-one > .u-crow-head { flex: 0 0 32%; min-width: 0; }
1956
+ .u-crow.is-one > .u-crow-head .u-crow-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1957
+ .u-crow.is-one .u-plan { display: none; } /* one line: the name gets the room; the plan is in the full rows */
1958
+ /* M-3288: one line — the cached mark is a clock (its words the tooltip and read aloud), so the name and the ⓘ keep room
1959
+ and nothing runs into the window's bar; every window: the words, as before. */
1960
+ .u-crow-stale-icon { display: none; }
1961
+ .u-crow.is-one .u-crow-stale { display: inline-grid; place-items: center; padding-left: 0; color: var(--warn); } /* the clock alone: coloured, so it never reads as normal (a phone shows no tooltip; Fable #4113) */
1962
+ .u-crow.is-one .u-crow-stale-icon { display: inline-grid; place-items: center; }
1963
+ .u-crow.is-one .u-crow-stale-text { display: none; }
1964
+ .u-crow.is-one .u-cm { grid-template-columns: 3em minmax(0, 1fr) 2.9em 3.7em; } /* 「5小時」 whole */
1965
+ .u-crow.is-one > .u-cm, .u-crow.is-one > .u-crow-note { flex: 1 1 0; min-width: 0; }
1966
+ @media (pointer: coarse) { .u-cg-toggle { width: var(--tap); height: var(--tap); margin-block: calc((24px - var(--tap)) / 2); } }
1760
1967
  .u-crow { display: flex; flex-direction: column; gap: 3px; width: 100%; min-width: 0; padding: 6px var(--s-3); border: 0; border-top: 1px solid var(--border);
1761
1968
  background: transparent; color: inherit; font: inherit; line-height: 1.3; text-align: left; cursor: pointer; }
1762
1969
  .u-cg-head + .u-crow { border-top: 0; }
@@ -1769,7 +1976,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1769
1976
  .u-crow-head { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-sm); }
1770
1977
  .u-crow-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fw-semibold); color: var(--text); }
1771
1978
  .u-crow .u-plan { flex: 0 100 auto; min-width: 22px; max-width: max-content; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
1772
- padding-block: 0; line-height: 16px; font-size: 10.5px; }
1979
+ padding-block: 0; line-height: 16px; font-size: var(--fs-2xs); }
1773
1980
  /* Last known numbers: a small muted "cached at …" at the name line's end (why, in its tooltip). */
1774
1981
  .u-crow-stale { margin-left: auto; flex: none; padding-left: 6px; font-size: var(--fs-xs); color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
1775
1982
  .u-cm { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) 2.9em 3.7em; align-items: center; gap: 5px; min-width: 0; }
@@ -1783,7 +1990,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1783
1990
  .u-cm-bar { height: 6px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
1784
1991
  .u-cm-fill { display: block; height: 100%; width: 0; min-width: 2px; border-radius: var(--r-full); background: var(--accent); }
1785
1992
  .u-cm-fill.warn { background: var(--warn); } .u-cm-fill.crit { background: var(--danger); }
1786
- .u-cm-pct { text-align: right; font-size: 13px; font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; color: var(--text); }
1993
+ .u-cm-pct { text-align: right; font-size: var(--fs-sm); font-weight: var(--fw-bold); font-variant-numeric: tabular-nums; color: var(--text); }
1787
1994
  .u-cm-pct.warn { color: var(--warn); } .u-cm-pct.crit { color: var(--danger); }
1788
1995
  .u-crow-note { font-size: var(--fs-xs); color: var(--text-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1789
1996
  .u-crow-note.is-alert::before { content: "●"; margin-right: 5px; color: var(--danger); }
@@ -1805,7 +2012,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1805
2012
  @media (max-width: 1199px) { .dlg.side-panel { display: none; } }
1806
2013
  /* A toast (Offices saved.) beside a docked panel, not over its Cancel and Save. */
1807
2014
  @media (min-width: 1200px) { .shell:has(> .side-panel) .toasts { right: calc(400px + var(--s-6)); } }
1808
- @media (max-width: 899px) {
2015
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
1809
2016
  .hide-narrow { display: none; }
1810
2017
  .v-id { padding-left: var(--s-3); padding-right: var(--s-3); }
1811
2018
  .v-id-actions .btn { min-height: var(--tap); }
@@ -1834,7 +2041,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1834
2041
  .s-conn .s-actions { margin-left: 0; flex-wrap: nowrap; }
1835
2042
  /* Retry and Settings stay together: in a wide list they are the last of the connection's three action columns. */
1836
2043
  .s-conn-buttons { display: flex; align-items: center; justify-content: flex-end; gap: var(--s-1); }
1837
- @media (max-width: 899px) {
2044
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
1838
2045
  .s-row.s-conn { grid-template-columns: minmax(0, 1fr) auto; }
1839
2046
  .s-conn .s-facts { grid-column: 1 / -1; grid-row: 2; }
1840
2047
  }
@@ -1847,7 +2054,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1847
2054
  .s-state.ok { color: var(--ok); }
1848
2055
  .s-state.bad { color: var(--danger); }
1849
2056
  .s-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-1); flex-wrap: wrap; }
1850
- .tag { font-size: 11px; padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
2057
+ .tag { font-size: var(--fs-2xs); padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
1851
2058
  .tag.persona { background: var(--accent-dim); color: var(--accent); }
1852
2059
  .tag.warn { background: var(--warn-bg); color: var(--warn); }
1853
2060
  .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-4); }
@@ -1857,7 +2064,7 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1857
2064
  .s-effect, .s-inherited { margin: 0; font-size: var(--fs-xs); color: var(--text-2); }
1858
2065
  .s-inherited a { color: var(--accent); }
1859
2066
  .tag.s-default { font-weight: var(--fw-regular); }
1860
- .impact { font-size: 11px; font-weight: var(--fw-regular); color: var(--text-3); margin-left: var(--s-1); }
2067
+ .impact { font-size: var(--fs-2xs); font-weight: var(--fw-regular); color: var(--text-3); margin-left: var(--s-1); }
1861
2068
  .check .impact { margin-left: auto; }
1862
2069
  .feedback { font-size: var(--fs-xs); color: var(--text-2); }
1863
2070
  .feedback.error { color: var(--danger); }
@@ -1879,16 +2086,28 @@ body.side-resizing, body.side-resizing * { cursor: col-resize !important; user-s
1879
2086
  .s-tipwrap.s-use { margin-left: auto; flex: 0 1 auto; min-width: 0; }
1880
2087
  .s-use .s-tipbtn { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
1881
2088
  .s-tipbtn { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: help; text-align: inherit; }
1882
- .s-i .s-tipbtn { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: var(--r-full); border: 1px solid var(--border-strong);
1883
- color: var(--text-3); font: var(--fw-semibold) 11px/1 var(--font-ui); }
1884
- .s-i .s-tipbtn:hover, .s-i .s-tipbtn:focus-visible { color: var(--accent); border-color: var(--accent); }
1885
- .s-use .s-tipbtn { font-size: 11px; font-weight: var(--fw-regular); color: var(--text-3); padding: 1px var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); white-space: nowrap; }
2089
+ .s-use .s-tipbtn { font-size: var(--fs-2xs); font-weight: var(--fw-regular); color: var(--text-3); padding: 1px var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); white-space: nowrap; }
1886
2090
  .s-use .s-tipbtn:hover, .s-use .s-tipbtn:focus-visible { color: var(--text); border-color: var(--text-3); }
1887
2091
  .s-tipbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
1888
2092
  .s-tipbody { position: absolute; z-index: 60; top: calc(100% + 6px); left: var(--tip-dx, 0); width: max-content; max-width: 290px; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); border: 1px solid var(--border-strong);
1889
2093
  background: var(--surface-2); color: var(--text); font-size: var(--fs-xs); line-height: 1.5; box-shadow: var(--shadow-2); pointer-events: none; text-transform: none; letter-spacing: 0; font-weight: var(--fw-regular); }
1890
2094
  .s-tipbody[hidden] { display: none; }
1891
2095
  .s-tipbody.above { top: auto; bottom: calc(100% + 6px); }
2096
+ /* M-3443: the one info icon (ⓘ, src/ui/shared/info-tip.js; the style guide's "Info icons"): 18px drawn, the --tap box on a
2097
+ touch screen (negative margins keep the row's layout); its bubble fixed to the window, shown on hover, focus or tap. */
2098
+ .info-tip { position: relative; display: inline-flex; flex: none; vertical-align: middle; }
2099
+ .info-tip-btn { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0; padding: 0; border: 0;
2100
+ border-radius: var(--r-full); background: none; color: var(--text-3); font: inherit; cursor: help; }
2101
+ @media (hover: hover) { .info-tip-btn:hover { color: var(--text-2); } }
2102
+ .info-tip-btn[aria-expanded="true"] { color: var(--accent); }
2103
+ .info-tip-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
2104
+ @media (pointer: coarse) { .info-tip-btn { width: var(--tap); height: var(--tap); margin: calc((18px - var(--tap)) / 2); } }
2105
+ .info-tip-body { position: fixed; z-index: 70; top: var(--tip-y); left: var(--tip-x); width: max-content; max-width: min(280px, calc(100vw - 16px));
2106
+ padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
2107
+ font-size: var(--fs-xs); line-height: 1.5; font-weight: var(--fw-regular); text-transform: none; letter-spacing: 0; white-space: normal; text-align: left;
2108
+ box-shadow: var(--shadow-2); cursor: default; }
2109
+ .info-tip-body[hidden] { display: none; }
2110
+ .info-tip-body.above { top: auto; bottom: var(--tip-y); }
1892
2111
  .s-shared .field { container-type: inline-size; }
1893
2112
  .s-shared .field:has(.s-tipbody:not([hidden])) { position: relative; z-index: 5; }
1894
2113
  /* A field in a narrow column has no room for its name, marks and usage pill on one line: the pill goes under them, in every field of the column alike (the controls below stay level). */
@@ -2019,7 +2238,15 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2019
2238
  /* Settings' pending bar sits at the bottom of the page: toasts and request cards stand above it, never on its buttons. */
2020
2239
  .shell:has(.s-pending) .toasts { bottom: calc(var(--s-6) + 64px); }
2021
2240
  /* In a chat the composer owns the bottom (Stop reply, Send): toasts come in under the header instead (alpha.2 sweep). */
2022
- @media (min-width: 900px) { .shell:has(.p-chat) .toasts { top: calc(var(--header-h) + var(--s-2)); bottom: auto; } }
2241
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .shell:has(.p-chat) .toasts { top: calc(var(--header-h) + var(--s-2)); bottom: auto; } }
2242
+ /* M-3645: a Hub chat's composer owns the bottom (Send) and its thread starts right under the chat's head, so a toast stands
2243
+ in the head's band: over its title and buttons for a few seconds (toasts let clicks through), never on Send or a message
2244
+ row. A confirmation is one line there, and an older one gives way to the newest, so the stack never runs down the thread;
2245
+ an error or a source's details keep every line. */
2246
+ .shell:has(.hub-chat-head) .toasts { top: var(--s-1); bottom: auto; }
2247
+ .shell:has(.hub-chat-head) .toasts > .toast.ok:not(.toast-detail) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
2248
+ .shell:has(.hub-chat-head) .toasts > .toast.ok:not(.toast-detail):not(:last-child) { display: none; }
2249
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .shell:has(.hub-chat-head) .toasts { top: calc(env(safe-area-inset-top) + var(--s-3)); } }
2023
2250
  .op-line { display: flex; align-items: center; justify-content: center; gap: var(--s-2); }
2024
2251
  .op-line.ok { color: var(--ok); }
2025
2252
  .op-line.bad { color: var(--danger); }
@@ -2039,6 +2266,8 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2039
2266
  .update-text { display: flex; align-items: flex-start; gap: var(--s-2); min-width: 0; }
2040
2267
  .update-icon { display: inline-flex; flex: none; margin-top: 1px; }
2041
2268
  .update-words { min-width: 0; }
2269
+ /* M-3770 1.4 (capture check): zh banner words break at spaces and punctuation, never inside a word (「閒置時」), as the credits card's. */
2270
+ .update-words :is(.update-title, .update-sub) { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
2042
2271
  .update-title { font-weight: 600; }
2043
2272
  .update-sub { font-size: var(--fs-xs); color: var(--text-2); }
2044
2273
  .update-line.bad .update-sub, .update-line.ok .update-sub { color: var(--text-2); }
@@ -2060,7 +2289,77 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2060
2289
  .update-text { flex: 1 1 100%; }
2061
2290
  .update-actions.indent { margin-left: 26px; }
2062
2291
  }
2292
+ /* S-241 (Lumen's point 8): an answered update card (waiting for idle, scheduled) is one line on a phone — its short words
2293
+ and Change; Change opens the full line. The desk never shows the short words or Change. "A phone" is the app's own
2294
+ phone layout (the shell's narrow condition: up to 899 px, or a landscape touch screen), not the banner's 700 px. */
2295
+ .uc-answered { display: contents; }
2296
+ .uc-short, .uc-fold { display: none; }
2297
+ .uc-fold { gap: 4px; align-items: center; }
2298
+ .uc-answered.open .uc-fold svg { transform: rotate(180deg); }
2299
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2300
+ .uc-fold { display: inline-flex; }
2301
+ .uc-answered.open .update-actions { flex: 1 1 100%; flex-wrap: wrap; } /* four buttons may need a second row */
2302
+ .uc-answered:not(.open) .update-line { flex-wrap: nowrap; }
2303
+ .uc-answered:not(.open) .update-text { flex: 1 1 auto; align-items: center; }
2304
+ .uc-answered:not(.open) :is(.update-icon, .update-spinner) { margin-top: 0; }
2305
+ .uc-answered:not(.open) .update-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
2306
+ .uc-answered:not(.open) .uc-long, .uc-answered:not(.open) .update-sub,
2307
+ .uc-answered:not(.open) .update-actions .btn:not(.uc-fold) { display: none; }
2308
+ .uc-answered:not(.open) .uc-short { display: inline; }
2309
+ .uc-answered:not(.open) .update-actions.indent { margin-left: 0; }
2310
+ }
2063
2311
  /* M-2738: Settings → Advanced → Version and update */
2312
+ /* M-3770 1.4: the update card's Settings part — its state, "Updates on this machine", and the controls (pause windows;
2313
+ Advanced: pin, longest wait). Phone: every control a 44 px box, the day ticks wrap. */
2314
+ .uc-settings { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-3); border-top: 1px solid var(--border); padding-top: var(--s-3); }
2315
+ .uc-status { margin: 0; font-size: var(--fs-sm); }
2316
+ .uc-machine { font-size: var(--fs-sm); }
2317
+ .uc-machine .uc-mark { font-weight: var(--fw-semibold); margin: 0 2px; }
2318
+ .uc-self .uc-mark { color: var(--ok); } .uc-admin-only .uc-mark { color: var(--warn); } .uc-stop .uc-mark { color: var(--danger); }
2319
+ .uc-checks { margin: var(--s-1) 0 0; padding-left: var(--s-4); color: var(--text-2); }
2320
+ /* M-3770 1.6: a check's words break only at spaces and punctuation, as the banner's (no 「回 / 來」); its fix button
2321
+ under it; How to fix's steps indented under their summary. */
2322
+ .uc-checks li { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
2323
+ .uc-checks .uc-fix { margin: var(--s-1) 0 var(--s-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
2324
+ .uc-checks .uc-fix-hint { font-size: var(--fs-sm); word-break: keep-all; overflow-wrap: anywhere; }
2325
+ .uc-checks .uc-fix-refused { margin: var(--s-1) 0 var(--s-2); font-weight: var(--fw-semibold); word-break: keep-all; overflow-wrap: anywhere; }
2326
+ .uc-checks .uc-fix-next { margin: 0 0 var(--s-2); word-break: keep-all; overflow-wrap: anywhere; } /* #4564: the next step after a refusal */
2327
+ .uc-checks .uc-fix-refused .uc-cmd { white-space: normal; overflow-wrap: anywhere; word-break: normal; } /* a refusal's raw words wrap on a phone */
2328
+ .uc-checks .uc-how { font-size: inherit; }
2329
+ .uc-checks .uc-how > p { padding-left: var(--s-3); border-left: 2px solid var(--border); }
2330
+ .uc-controls { display: flex; flex-direction: column; gap: var(--s-3); }
2331
+ .uc-pause { border: 0; padding: 0; margin: 0; min-width: 0; }
2332
+ .uc-pause legend { font-weight: var(--fw-semibold); font-size: var(--fs-sm); padding: 0; }
2333
+ .uc-hint { margin: 2px 0 var(--s-2); font-size: var(--fs-xs); }
2334
+ .uc-pause-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); padding: var(--s-2) 0; border-bottom: 1px solid var(--border); }
2335
+ .uc-days { display: flex; flex-wrap: wrap; gap: 2px var(--s-2); }
2336
+ .uc-day { font-size: var(--fs-sm); }
2337
+ .uc-time { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-sm); color: var(--text-2); }
2338
+ .uc-time .input { width: auto; }
2339
+ .uc-row-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
2340
+ .uc-advanced .field { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s-2); max-width: 320px; }
2341
+ .uc-pick { display: flex; flex-direction: column; gap: var(--s-2); }
2342
+ .uc-pick-row { font-size: var(--fs-sm); }
2343
+ .uc-pick-frame { padding: var(--s-2) var(--s-3); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
2344
+ .uc-pick-frame { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
2345
+ .uc-pick-field { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-sm); color: var(--text-2); }
2346
+ .uc-pick-field .input { width: auto; min-width: 7em; }
2347
+ .uc-how { margin-top: 2px; font-size: var(--fs-md); }
2348
+ .uc-how summary { cursor: pointer; color: var(--accent); }
2349
+ .uc-how p { margin: var(--s-1) 0 0; color: var(--text); overflow-wrap: anywhere; }
2350
+ /* #4487 UX look: a command in a check's sentence is code to copy (one tap selects it all); the banner's secondary buttons
2351
+ keep a visible outline on any banner colour (先不要 on the phone's dark press-only banner). */
2352
+ .uc-cmd { font-family: var(--font-mono); font-size: 0.92em; padding: 1px 5px; border-radius: var(--r-sm); background: var(--surface);
2353
+ border: 1px solid var(--border); user-select: all; display: inline-block; max-width: 100%; white-space: nowrap; overflow-x: auto;
2354
+ vertical-align: bottom; } /* a command stays on one line (never "sudo agen / d update"); a long one scrolls in its box */
2355
+ .update-actions .btn:not(.btn-primary):not(.update-x) { border-color: var(--border-strong); }
2356
+ .uc-needs .n-item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); }
2357
+ @media (max-width: 899px), (pointer: coarse) {
2358
+ .uc-settings :is(.btn, .input, .uc-day, .uc-pick-row), .uc-needs .btn, .update-line .update-actions .btn { min-height: var(--tap); }
2359
+ .uc-day, .uc-pick-row { display: inline-flex; align-items: center; }
2360
+ .uc-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; } /* the week on one row */
2361
+ .uc-day { justify-content: center; gap: 2px; }
2362
+ }
2064
2363
  .s-update dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px var(--s-4); margin: 0 0 var(--s-3); font-size: var(--fs-sm); }
2065
2364
  .s-update dt { color: var(--text-2); }
2066
2365
  .s-update dd { margin: 0; }
@@ -2087,8 +2386,8 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2087
2386
  .signin-browser > section { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); min-width: 0; padding: var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
2088
2387
  .signin-browser > section > :is(h3, p, label, code) { flex-basis: 100%; min-width: 0; }
2089
2388
  .signin-browser h3 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
2090
- .signin-browser :is(button, a) { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; max-width: 100%; padding: var(--s-2) var(--s-4); border: 1px solid var(--border-strong); border-radius: var(--r-full); background: var(--bg); color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-md); text-align: center; overflow-wrap: anywhere; cursor: pointer; }
2091
- .signin-browser :is(button, a):hover:not(:disabled) { background: var(--surface-2); }
2389
+ .signin-browser :is(button, a):not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; max-width: 100%; padding: var(--s-2) var(--s-4); border: 1px solid var(--border-strong); border-radius: var(--r-full); background: var(--bg); color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: var(--lh-md); text-align: center; overflow-wrap: anywhere; cursor: pointer; }
2390
+ .signin-browser :is(button, a):not(.btn):hover:not(:disabled) { background: var(--surface-2); }
2092
2391
  .signin-browser button:disabled { opacity: 0.45; cursor: default; }
2093
2392
  .signin-browser > button { align-self: flex-start; }
2094
2393
  .signin-browser section > a { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
@@ -2097,12 +2396,44 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2097
2396
  .signin-browser input { width: 100%; min-width: 0; min-height: 40px; padding: var(--s-2) var(--s-3); border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font-size: var(--fs-md); }
2098
2397
  .signin-browser code { padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--bg); font-family: var(--font-mono); overflow-wrap: anywhere; user-select: all; }
2099
2398
  .signin-browser [role="alert"] { padding: var(--s-3); border: 1px solid var(--danger-line); border-radius: var(--r-sm); background: var(--danger-bg); color: var(--danger); }
2399
+ /* M-3238 (the user; Argon's component review): the connect dialogs' steps — the step circles of .hub-steps (24 px, the Hub's
2400
+ stylesheet: not loaded here), a short primary button 「開啟登入頁面」 beside Copy link with the address a quiet mono note
2401
+ under them, the code with Copy in one bordered box (.runtime-command-card + .hub-code), the auto-update hint a quiet
2402
+ .s-info; the end a check banner on --ok-bg and the reloaded agents as .chips > .tag. The same in both dialogs. */
2403
+ .signin-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); counter-reset: signin-step; }
2404
+ .signin-steps > li { display: flex; align-items: flex-start; gap: var(--s-3); counter-increment: signin-step; }
2405
+ .signin-steps > li::before { content: counter(signin-step); flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: var(--r-full); display: grid; place-items: center;
2406
+ background: var(--surface-2); color: var(--text-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
2407
+ .signin-step-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
2408
+ .signin-step-title { color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-medium); line-height: var(--lh-sm); }
2409
+ .signin-linkrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); width: 100%; }
2410
+ .signin-url { overflow-wrap: anywhere; }
2411
+ .signin-code-box { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); width: 100%; box-sizing: border-box;
2412
+ padding: var(--s-2) var(--s-3); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
2413
+ .signin-code, .signin-browser code.signin-code { padding: 0; border-radius: 0; background: transparent; color: var(--text); font-family: var(--font-mono); font-size: var(--fs-lg);
2414
+ font-weight: var(--fw-semibold); letter-spacing: 0.12em; user-select: all; overflow-wrap: anywhere; }
2415
+ .signin-back { margin-top: var(--s-1); }
2416
+ .signin-done-banner { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--ok-bg); color: var(--ok); }
2417
+ .signin-done-banner .signin-headline { color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-semibold); }
2418
+ .signin-recovery-box { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
2419
+ .signin-recovery-box > .note { color: var(--text-2); }
2420
+ .signin-recovery-box .chips { gap: var(--s-2); }
2421
+ .signin-recovery-box .tag { font-size: var(--fs-xs); padding: 2px var(--s-3); color: var(--text); white-space: normal; overflow-wrap: anywhere; }
2422
+ .signin-after { margin-top: var(--s-3); }
2423
+ /* The account dialog for one account: its title names the CLI — the card is the dialog's body, no second surface. */
2424
+ .signin-browser.is-single > section { padding: 0; border: 0; background: none; }
2425
+ @media (pointer: coarse), (max-width: 899px) {
2426
+ .signin-linkrow > .btn { flex: 1 1 auto; justify-content: center; min-height: var(--tap); padding-inline: var(--s-3); white-space: nowrap; }
2427
+ .signin-code-box { min-height: calc(var(--tap) + var(--s-2)); }
2428
+ .signin-code-box > .btn { min-height: var(--tap); }
2429
+ }
2100
2430
  .signin-browser-actions { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); min-width: 0; }
2101
2431
  .signin-browser-actions .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
2432
+ .signin-browser-actions .btn.danger { white-space: nowrap; } /* M-3238: Cancel connecting, one line on the footer's left */
2102
2433
  @media (pointer: coarse), (max-width: 899px) {
2103
2434
  .signin-browser :is(button, a), .signin-browser-actions .btn, .signin-browser ~ .note .btn { min-height: var(--tap); }
2104
2435
  }
2105
- @media (max-width: 899px) {
2436
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2106
2437
  .grid2 { grid-template-columns: minmax(0, 1fr); }
2107
2438
  .se-row { grid-template-columns: minmax(0, 1fr) auto auto; }
2108
2439
  .se-row label { grid-column: 1 / -1; }
@@ -2117,32 +2448,61 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2117
2448
 
2118
2449
  /* ── Needs you (#1408 step 4 = #1386 part b) ── */
2119
2450
  .nav-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--danger-fill); color: var(--on-danger);
2120
- font-size: 11px; font-weight: var(--fw-semibold); line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
2451
+ font-size: var(--fs-2xs); font-weight: var(--fw-semibold); line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
2121
2452
  .n-group { margin-bottom: var(--s-4); }
2122
- .n-group-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-1); color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
2453
+ .n-group-head, .n-settings-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-1); color: var(--text-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
2123
2454
  .n-group-head a { color: inherit; }
2124
2455
  .n-group-head a:hover { text-decoration: underline; }
2125
- .n-item { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); margin-bottom: 2px; }
2126
- .n-icon { flex: none; margin-top: 2px; color: var(--warn); }
2456
+ /* M-3381: the rooms' restricted-mode suggestions, one closed group: its heading opens it. */
2457
+ .n-suggestions > summary { cursor: pointer; }
2458
+ .n-item, .n-notify { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); margin-bottom: 2px; }
2459
+ .n-icon, .n-notify-icon { flex: none; margin-top: 2px; color: var(--warn); }
2127
2460
  .n-item.bad .n-icon { color: var(--danger); }
2128
- .n-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
2129
- .n-title { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
2130
- .n-title strong { font-size: var(--fs-sm); }
2461
+ .n-body, .n-notify-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-1); }
2462
+ .n-title, .n-notify-title { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
2463
+ .n-title strong, .n-notify-title strong { font-size: var(--fs-sm); }
2131
2464
  .n-age { color: var(--text-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
2132
- .n-detail { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; white-space: pre-wrap; }
2133
- .n-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-1); }
2134
- .n-notify { display: flex; flex-direction: column; gap: var(--s-1); }
2465
+ .n-detail, .n-notify-note { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; white-space: pre-wrap; }
2466
+ .n-actions, .n-notify-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-1); }
2467
+ /* M-3503: a text button in Needs you lines up with the text above it on every width (a phone already did, below). */
2468
+ .n-actions > .btn-ghost { padding-left: 0; padding-right: 0; margin-left: -1px; }
2469
+ /* M-3503 (the user): this device's notify setting is not an item waiting — a section of its own under the list, a rule
2470
+ above it; drawn as an item row (its bell in the icon's place, neutral), so text and buttons share the items' edge. */
2471
+ .n-settings { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--border); }
2472
+ .n-notify .n-notify-icon { color: var(--text-2); }
2473
+ /* M-3503: no word left alone on the note's last line (a phone's zh line ended with 「知。」 by itself). */
2474
+ .n-notify-note { text-wrap: balance; }
2475
+ /* M-3545: use the shared centered desktop column; retain M-3503's section rhythm and phone leading edge. */
2476
+ .p-needs > .panel-body > .col { margin-inline: auto; padding-top: var(--s-3); padding-inline: max(var(--s-3), env(safe-area-inset-left)) max(var(--s-3), env(safe-area-inset-right)); }
2477
+ /* A plain heading only: the suggestions group's head is its <summary>, a control that keeps its own padding (and a
2478
+ phone's tap height, below). */
2479
+ .p-needs :is(h2.n-group-head, .n-settings-head) { padding: 0 0 var(--s-2); }
2480
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2481
+ .p-needs > .panel-body > .col { margin-inline: 0; padding-inline: max(var(--s-4), env(safe-area-inset-left)) max(var(--s-4), env(safe-area-inset-right)); }
2482
+ .p-needs .n-suggestions > summary { min-height: var(--tap); }
2483
+ }
2135
2484
  /* #2910 D2: Notices (a web-only fleet's General) — the Needs you rows; a new one has an accent edge and a "New" tag. */
2136
2485
  .n-item.notice.unread { box-shadow: inset 3px 0 0 var(--accent); }
2137
2486
  .n-item.notice:not(.bad) .n-icon { color: var(--text-2); }
2138
2487
  .notice-new { font-size: var(--fs-xs); color: var(--accent); font-weight: var(--fw-semibold); }
2139
2488
  .notice-sub { margin: 0 var(--s-1) var(--s-3); }
2140
2489
  .confirm-text { white-space: pre-wrap; font-size: var(--fs-sm); color: var(--text-2); }
2490
+ /* M-3770 S-246: zh breaks at spaces and punctuation (no 「短暫停 / 止」), as the toasts do (1.6); a word too long still breaks. */
2491
+ :lang(zh) .confirm-text { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }
2492
+ /* M-3387: a list closed under a confirm's text (every tool name a restricted switch stops), and the same on Permissions. */
2493
+ .confirm-more, .contact-would-all { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-2); }
2494
+ .confirm-more > summary, .contact-would-all > summary { cursor: pointer; }
2495
+ .confirm-more ul, .contact-would-all ul { margin: var(--s-1) 0 0; padding-left: var(--s-4); }
2141
2496
 
2142
2497
  /* ── Org chart (#1389): General → teams → instances. Connectors are borders and pseudo-elements; no inline style.
2143
2498
  Desktop: General's stem meets the bus over the team grid (no per-team ticks: a wrapped row would have nothing to
2144
2499
  meet). Phone: one column hanging off a rail, a tick into each team. ── */
2145
2500
  .col.col-wide { max-width: 1240px; }
2501
+ /* A project's page — the board and the list alike — fills the content area (the same side margins), so the columns
2502
+ and the list's title have the room. Home (the projects) keeps the Fleet page's width. */
2503
+ .col.col-wide:has(> .tb > .tb-board-page) { max-width: none; }
2504
+ /* So does a card's page — the main column and the properties column share the whole content area, at any width. */
2505
+ .col.col-wide:has(> .tb > .tp) { max-width: none; }
2146
2506
  .org-head { flex-wrap: wrap; }
2147
2507
  .org-counts { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); list-style: none; }
2148
2508
  .org-count { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
@@ -2169,7 +2529,7 @@ textarea.s-yaml { white-space: pre; overflow-x: auto; }
2169
2529
  .org-alias { font-size: var(--fs-sm); }
2170
2530
  .org-name { font-size: var(--fs-xs); color: var(--text-2); }
2171
2531
  strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2172
- .org-state { flex-shrink: 0; font-size: 11px; line-height: 18px; padding: 0 var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
2532
+ .org-state { flex-shrink: 0; font-size: var(--fs-2xs); line-height: 18px; padding: 0 var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
2173
2533
  .org-state.st-needs { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
2174
2534
  .org-state.st-stuck { color: var(--warn); border-color: var(--warn-line); }
2175
2535
  .org-state.st-crashed { color: var(--danger); border-color: var(--danger); }
@@ -2181,7 +2541,7 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2181
2541
  .org-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
2182
2542
  .org-link { display: inline-flex; align-items: center; gap: var(--s-1); font-size: var(--fs-xs); color: var(--accent); }
2183
2543
  .org-link:hover { text-decoration: underline; }
2184
- @media (max-width: 899px) {
2544
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2185
2545
  /* A phone: one column, the teams hang off a rail on the left. */
2186
2546
  .org-top::after { margin: 0 0 0 var(--s-4); }
2187
2547
  .org-top + .org-teams, .org-top + .org-note + .org-teams { border-top: 0; padding-top: 0; margin-left: var(--s-4); padding-left: var(--s-4); border-left: 2px solid var(--border-strong); }
@@ -2210,10 +2570,10 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2210
2570
  .oc-toggle:not(.empty) { cursor: pointer; }
2211
2571
  .oc-toggle:focus { outline: none; }
2212
2572
  .oc-toggle:focus-visible .oc-hit { stroke: var(--focus); stroke-width: 2; }
2213
- .oc-caret { fill: var(--text-2); font-size: 12px; }
2214
- .oc-team-name { fill: var(--text); font-size: 13px; font-weight: 600; }
2215
- .oc-team-meta { fill: var(--text-3); font-size: 11px; }
2216
- .oc-team-sum { fill: var(--text-2); font-size: 11.5px; }
2573
+ .oc-caret { fill: var(--text-2); font-size: var(--fs-xs); }
2574
+ .oc-team-name { fill: var(--text); font-size: var(--fs-sm); font-weight: 600; }
2575
+ .oc-team-meta { fill: var(--text-3); font-size: var(--fs-2xs); }
2576
+ .oc-team-sum { fill: var(--text-2); font-size: var(--fs-xs); }
2217
2577
  .oc-team.dim, .oc-team-head.dim { opacity: 0.55; }
2218
2578
  .oc-node.dim { opacity: 0.4; }
2219
2579
  .oc-node { cursor: pointer; }
@@ -2229,12 +2589,12 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2229
2589
  .oc-idbar { display: none; }
2230
2590
  .oc-node.idc.id-bar .oc-idbar { display: inline; fill: var(--id); }
2231
2591
  .oc-face.emoji .oc-av { fill: transparent; }
2232
- .oc-av-t { fill: var(--text-2); font-size: 12px; font-weight: 600; }
2592
+ .oc-av-t { fill: var(--text-2); font-size: var(--fs-xs); font-weight: 600; }
2233
2593
  .oc-face.emoji .oc-av-t { font-size: 18px; font-weight: normal; }
2234
- .oc-name { fill: var(--text); font-size: 13.5px; font-weight: 600; }
2594
+ .oc-name { fill: var(--text); font-size: var(--fs-sm); font-weight: 600; }
2235
2595
  .oc-node.lead .oc-name { font-size: 15px; }
2236
2596
  .oc-node.idc.id-name .oc-name { fill: var(--id-name); }
2237
- .oc-sub { font-size: 12px; }
2597
+ .oc-sub { font-size: var(--fs-xs); }
2238
2598
  .oc-st { fill: var(--text-2); }
2239
2599
  .oc-st.st-working { fill: var(--ok); } .oc-st.st-needs, .oc-st.st-stuck { fill: var(--warn); } .oc-st.st-crashed { fill: var(--danger); }
2240
2600
  .oc-dot { fill: var(--text-3); stroke: var(--bg); stroke-width: 2; }
@@ -2271,7 +2631,7 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2271
2631
  .oc-pulse.h-task { fill: var(--fx-task); } .oc-pulse.h-send { fill: var(--fx-send); } .oc-pulse.h-report { fill: var(--fx-report); }
2272
2632
  .oc-pulse.h-broadcast { fill: var(--fx-broadcast); } .oc-pulse.h-team { fill: var(--fx-team); }
2273
2633
  .oc-fl.dim { opacity: 0.18; }
2274
- .oc-badge rect { fill: var(--surface-2); stroke: var(--border); } .oc-badge text { fill: var(--text-2); font-size: 10.5px; }
2634
+ .oc-badge rect { fill: var(--surface-2); stroke: var(--border); } .oc-badge text { fill: var(--text-2); font-size: var(--fs-2xs); }
2275
2635
  @keyframes oc-dash { to { stroke-dashoffset: -26; } }
2276
2636
  @keyframes oc-fade { from { opacity: 0.8; } to { opacity: 0.15; } }
2277
2637
  /* #2052: the key is a strip under the toolbar (its toggle is in the toolbar), never over the canvas. */
@@ -2321,6 +2681,31 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2321
2681
  .oo { flex: 1 0 auto; display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; width: 100%; }
2322
2682
  .oo > :not(.oo-stage):not(dialog) { margin-left: var(--s-5); margin-right: var(--s-5); } /* not the editors' dialogs: they centre themselves (#2585) */
2323
2683
  .oo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
2684
+ /* M-3556: one row on a desk — scope on the left; actions and ⚙ Display options (a dropdown, like Members) on the right.
2685
+ A Hub room's office opens the same dropdown from the gear in its zoom stack (to the gear's left). */
2686
+ .oo-bar-row { flex-wrap: nowrap; justify-content: space-between; }
2687
+ .oo-bar-scope, .oo-bar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); min-width: 0; }
2688
+ .oo-bar-actions { margin-inline-start: auto; justify-content: flex-end; }
2689
+ .oo-display-btn { display: inline-flex; align-items: center; gap: var(--s-1); }
2690
+ .oo-display { position: relative; }
2691
+ .oo-display-btn.on { border-color: var(--accent); }
2692
+ .oo-display-pop { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; width: min(340px, calc(100vw - 32px)); max-height: min(70vh, 480px); overflow-y: auto;
2693
+ padding: var(--s-2) var(--s-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
2694
+ .oo-display-list { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: var(--s-1); }
2695
+ .oo-display-list .oo-pick { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
2696
+ .oo-display-list .check { min-height: 32px; }
2697
+ .oo-display-list :is(.check, .oo-pick) { font-size: var(--fs-sm); color: var(--text); } /* one style for every option, as in the sheet */
2698
+ /* The Fleet office's dropdown opens left of the stage's zoom stack (right: --s-3, 38 px wide), never over it. */
2699
+ .oo-bar-row .oo-display-pop { right: calc(var(--s-3) + 38px + var(--s-2)); }
2700
+ .oo-display-h { margin: 0 0 var(--s-1); font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-2); }
2701
+ .oo-display-zoom { position: static; border-top: 1px solid var(--border); } /* the dropdown hangs from the stack's top, not the gear's */
2702
+ .oo-display-zoom .oo-display-pop { top: 0; right: calc(100% + 6px); }
2703
+ .oo-zoom:has(.oo-display-pop) { overflow: visible; }
2704
+ /* In the dropdown the reduced-motion note goes on its own line under the label (the panel is narrow). */
2705
+ .oo-display-list .oo-play { flex-wrap: wrap; row-gap: 0; }
2706
+ .oo-sheet .oo-sheet-bar > .oo-pick + .oo-pick { margin-top: var(--s-2); }
2707
+ .oo-sheet .oo-sheet-bar > .oo-sheet-rule { min-height: 0; width: 100%; margin: var(--s-3) 0 var(--s-1); border: 0; border-top: 1px solid var(--border); }
2708
+ .oo-sheet .oo-sheet-bar > .oo-sheet-h { min-height: 0; margin: var(--s-3) 0 0; padding-top: var(--s-2); border-top: 1px solid var(--border); font-size: var(--fs-xs); font-weight: var(--fw-semibold, 600); color: var(--text-2); }
2324
2709
  .oo-pick { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--text-2); }
2325
2710
  .oo-pick .tb-select { max-width: 200px; }
2326
2711
  .oo-people { position: relative; }
@@ -2352,6 +2737,11 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2352
2737
  .oo-people-list { list-style: none; margin: 0; padding: 0; }
2353
2738
  .oo-people-list label { display: flex; align-items: center; gap: 8px; padding: 3px 2px; font-size: var(--fs-xs); color: var(--text); cursor: pointer; overflow-wrap: anywhere; }
2354
2739
  .oo-note { font-size: var(--fs-xs); }
2740
+ /* M-3547 / M-3556: why "Drag and pat" is locked — one line under it, inside its label (read with its name), in Display options
2741
+ and the phone sheet alike. */
2742
+ .oo-play:has(.oo-play-still) { flex-wrap: wrap; row-gap: 0; }
2743
+ .oo-play .oo-play-still { flex-basis: 100%; min-width: 0; padding-inline-start: calc(13px + var(--s-2)); }
2744
+ .oo-play:has(input:disabled) > span:not(.oo-play-still) { opacity: 0.45; } /* disabled, as .btn:disabled */
2355
2745
  .oo-stage { position: relative; flex: 1 1 auto; min-height: 340px; overflow: hidden; background: var(--bg); touch-action: none; user-select: none; -webkit-user-select: none; }
2356
2746
  /* #2554: clip, not a scroll container — nothing past the edge (a tile's label) can scroll the stage and its controls. */
2357
2747
  .oo-stage { overflow: clip; }
@@ -2365,15 +2755,25 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2365
2755
  .oo-key-rows { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0; padding: 0; list-style: none; }
2366
2756
  .oo-key-row { display: inline-flex; align-items: center; gap: 6px; }
2367
2757
  .oo-key-icon { width: 32px; height: 32px; flex: none; image-rendering: pixelated; }
2368
- .oo-key-btn.on { border-color: var(--accent); }
2369
2758
  .oo-zoom { z-index: 6; }
2370
2759
  .oo-zoom .icon-btn { color: var(--text); }
2760
+ .oo-zoom .icon-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); } /* the stack clips an outline */
2371
2761
  /* The overview's box (left, top, width, height) is set by the page, inside the stage and scaled to it (miniBox). */
2372
2762
  .oo-mini { z-index: 6; right: auto; bottom: auto; overflow: hidden; }
2373
- .oo-zoom-pct { display: block; padding: 3px 0; font-size: 11px; line-height: 14px; text-align: center; color: var(--text-2); font-variant-numeric: tabular-nums;
2763
+ .oo-zoom-pct { display: block; padding: 3px 0; font-size: var(--fs-2xs); line-height: 14px; text-align: center; color: var(--text-2); font-variant-numeric: tabular-nums;
2374
2764
  border-bottom: 1px solid var(--border); user-select: none; }
2375
- .oo-zoom .oo-fill { font-size: 11px; font-weight: var(--fw-semibold); }
2765
+ .oo-zoom .oo-fill { font-size: var(--fs-2xs); font-weight: var(--fw-semibold); }
2376
2766
  .oo-zoom .oo-fill.on { background: var(--accent-dim); color: var(--text); }
2767
+ /* M-3432 (#4255): floating snack tray for packs with `snacks` — bottom-left on desktop, above zone pills on phone, 44 px tap targets. */
2768
+ .oo-snacks { position: absolute; z-index: 6; left: var(--s-3); bottom: var(--s-3); display: flex; align-items: center; gap: var(--s-1);
2769
+ max-width: calc(100% - 2 * var(--s-3)); overflow-x: auto; padding: var(--s-1); box-sizing: border-box;
2770
+ background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
2771
+ .oo-snack { flex: none; min-width: var(--tap); min-height: var(--tap); padding: var(--s-1); border: 1px solid transparent; border-radius: var(--r-md); touch-action: none; }
2772
+ .oo-snack[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-dim); }
2773
+ .oo-snack-icon { width: 28px; height: 28px; display: block; image-rendering: pixelated; pointer-events: none; }
2774
+ .oo-snack-ghost { position: absolute; left: 0; top: 0; z-index: 9; pointer-events: none; display: inline-flex; align-items: center; gap: var(--s-1);
2775
+ padding: var(--s-1); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--accent); box-shadow: var(--shadow-2); }
2776
+ .oo-snack-hint { font-size: var(--fs-xs); color: var(--text); white-space: nowrap; padding-right: var(--s-1); }
2377
2777
  .oo-stage.editing .oo-mini { display: none; }
2378
2778
  /* #2737: a single office all in view (the page sets data-whole): the overview would repeat the panel. */
2379
2779
  .oo-mini[data-whole] { display: none; }
@@ -2388,22 +2788,67 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2388
2788
  color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-2); overflow-wrap: anywhere; }
2389
2789
  /* #2661: a person's profile card — a popover beside them (placed by the page: transform through the CSSOM), 320 px fixed;
2390
2790
  on a phone a bottom sheet. Tone over borders; the status tokens for the level's tier. */
2391
- .oo-card { position: absolute; left: 0; top: 0; z-index: 8; width: 320px; box-sizing: border-box; padding: var(--s-3); font-size: var(--fs-sm); line-height: var(--lh-sm);
2791
+ .oo-card { position: absolute; left: 0; top: 0; z-index: 8; width: 320px; max-height: calc(100% - 2 * var(--s-3)); overflow-y: auto; box-sizing: border-box; padding: var(--s-3); font-size: var(--fs-sm); line-height: var(--lh-sm);
2392
2792
  color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
2393
- .oo-card.sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; transform: none; z-index: 40; border-radius: var(--r-lg) var(--r-lg) 0 0;
2793
+ .oo-card.sheet { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: var(--oo-sheet-max, 50dvh); transform: none; z-index: 40; border-radius: var(--r-lg) var(--r-lg) 0 0;
2394
2794
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); touch-action: none; }
2395
- /* On a phone the tab bar is fixed at the window's foot (z 35): the sheet sits above it. */
2396
- @media (max-width: 899px) {
2397
- .oo-card.sheet { bottom: calc(56px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--s-3); }
2398
- .kb-open .oo-card.sheet { bottom: 0; }
2399
- }
2795
+ /* M-3253: the sheet sits on the window's foot (M-3166 took the phone's tab bar away: the old 56 px lift left a gap), its
2796
+ close and its two actions a fingertip's 44 px. */
2797
+ .oo-card.sheet { padding: var(--s-2) var(--s-4) max(var(--s-4), env(safe-area-inset-bottom, 0px)); }
2798
+ /* M-3633: the sheet takes at most half the window, so the office stays in view above it whatever the pack's card (a
2799
+ large avatar and every section scroll inside it); its actions stay at its foot while the rest scrolls. */
2800
+ /* …and on a desk, a card held shorter under an area's name (it scrolls) keeps its actions at its foot the same way. */
2801
+ .oo-card .oo-card-actions { position: sticky; bottom: calc(-1 * var(--oo-card-frame-pad, var(--s-3))); z-index: 2;
2802
+ margin-bottom: calc(-1 * var(--oo-card-frame-pad, var(--s-3))); padding-bottom: var(--oo-card-frame-pad, var(--s-3)); background: var(--oo-card-bg, var(--surface)); }
2803
+ /* …and while there is more to scroll (data-more), the content fades into them: a cue that the card goes on. */
2804
+ .oo-card[data-more] .oo-card-actions::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--s-7); pointer-events: none;
2805
+ background: linear-gradient(to bottom, transparent, var(--oo-card-bg, var(--surface))); }
2806
+ .oo-card.sheet .oo-card-actions, .oo-card-custom.sheet .oo-card-actions { position: sticky; bottom: calc(-1 * max(var(--s-4), env(safe-area-inset-bottom, 0px)));
2807
+ z-index: 2; margin-bottom: calc(-1 * max(var(--s-4), env(safe-area-inset-bottom, 0px))); padding: var(--s-2) 0 max(var(--s-4), env(safe-area-inset-bottom, 0px));
2808
+ background: var(--oo-card-bg, var(--surface)); }
2809
+ /* A pack's card.motion: how the card pops up (opacity and the individual scale/translate, so its placement transform stays). */
2810
+ .oo-card[data-enter] { animation: var(--oo-card-enter-ms, 220ms) both; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
2811
+ .oo-card[data-enter="fade"] { animation-name: oo-card-fade; }
2812
+ .oo-card[data-enter="pop"] { animation-name: oo-card-pop; }
2813
+ .oo-card[data-enter="rise"] { animation-name: oo-card-rise; }
2814
+ .oo-card[data-enter="slide"] { animation-name: oo-card-slide; }
2815
+ .oo-card[data-enter="bounce"] { animation-name: oo-card-bounce; animation-timing-function: linear; }
2816
+ @keyframes oo-card-fade { from { opacity: 0; } }
2817
+ @keyframes oo-card-pop { from { opacity: 0; scale: .86; } }
2818
+ @keyframes oo-card-rise { from { opacity: 0; translate: 0 14px; } }
2819
+ @keyframes oo-card-slide { from { opacity: 0; translate: -18px 0; } }
2820
+ @keyframes oo-card-bounce { 0% { opacity: 0; scale: .7; } 55% { opacity: 1; scale: 1.06; } 75% { scale: .97; } 100% { scale: 1; } }
2821
+ @media (prefers-reduced-motion: reduce) { .oo-card[data-enter] { animation: none; } }
2822
+ .oo-card.sheet .oo-card-close { width: var(--tap); height: var(--tap); margin: -6px -8px 0 0; }
2823
+ .oo-card.sheet .oo-card-actions .btn { flex: 1; min-height: var(--tap); justify-content: center; }
2824
+ .oo-card.sheet .oo-card-actions { flex-wrap: wrap; }
2825
+ /* #4504: the card's pose preview — a labelled picker and Replay (a small button) on one row: the picker shrinks, Replay keeps its size. */
2826
+ .oo-card-preview { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
2827
+ .oo-card-preview label { display: flex; align-items: center; gap: var(--s-1); flex: 1; min-width: 0; }
2828
+ .oo-card-preview select { flex: 1; min-width: 0; }
2829
+ .oo-card-preview .btn { flex: none; }
2830
+ /* #4508 review: on the sheet, a fingertip's 44 px like the actions row; the select keeps 16 px text from the coarse-pointer rule at the top. */
2831
+ .oo-card.sheet .oo-card-preview select, .oo-card.sheet .oo-card-preview .btn { min-height: var(--tap); }
2400
2832
  .oo-card-grip { width: 36px; height: 4px; margin: 0 auto var(--s-2); border-radius: var(--r-full); background: var(--surface-2); }
2833
+ /* M-3633: a sheet whose content scrolls scrolls natively (pan-y); its grip is then the handle that closes it — kept at
2834
+ its top, a fingertip tall (the bar drawn in the middle of it), never taken by the browser (touch-action none). */
2835
+ .oo-card.sheet[data-scrolls], .oo-card-custom.sheet[data-scrolls] .oo-card-body { touch-action: pan-y; }
2836
+ .oo-card.sheet .oo-card-grip { position: sticky; top: calc(-1 * var(--s-2)); z-index: 3; box-sizing: content-box; width: 36px; height: 4px;
2837
+ padding: calc((var(--tap) - 4px) / 2) calc(50% - 18px); margin: calc(-1 * var(--s-2)) calc(-1 * var(--s-4)) 0; background-clip: content-box; touch-action: none; cursor: grab; }
2401
2838
  .oo-card-head { display: flex; gap: var(--s-3); align-items: flex-start; }
2402
2839
  .oo-card-avatar { position: relative; flex: none; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--surface-2); }
2403
- .oo-card-avatar canvas { width: 56px; height: 56px; image-rendering: pixelated; }
2840
+ .oo-card-avatar canvas { width: 56px; height: 56px; image-rendering: pixelated; border-radius: inherit; }
2404
2841
  .oo-card-avatar .oo-badge { position: absolute; left: -6px; top: -6px; }
2405
2842
  .oo-card-names { flex: 1; min-width: 0; }
2406
2843
  .oo-card-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2844
+ .oo-card-name-row { display: flex; align-items: center; gap: 4px; min-width: 0; }
2845
+ .oo-card-name-row .oo-card-name { min-width: 0; }
2846
+ .oo-card-rename-btn { flex: none; width: 24px; height: 24px; font-size: var(--fs-sm); color: var(--text-2); }
2847
+ .oo-card-rename { width: 100%; font: inherit; font-weight: 600; }
2848
+ /* A phone: the pencil keeps its size (the name's row does not grow) and no square behind it; a clear ::after reaches --tap. */
2849
+ .oo-card-rename-btn { position: relative; }
2850
+ .oo-card.sheet .oo-card-rename-btn, .oo-card.sheet .oo-card-rename-btn:hover { background: transparent; }
2851
+ .oo-card.sheet .oo-card-rename-btn::after { content: ""; position: absolute; inset: calc((24px - var(--tap)) / 2); z-index: 4; } /* over the grip (z 3), as the close button reaches */
2407
2852
  /* One line, cut; a fixed line height so a CJK fallback in the mono stack doesn't make it taller. */
2408
2853
  .oo-card-instance { height: 18px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-xs); color: var(--text-2); }
2409
2854
  .oo-card-state { color: var(--text-2); }
@@ -2413,13 +2858,64 @@ strong.org-name { font-size: var(--fs-sm); color: var(--text); }
2413
2858
  .oo-card-bar::-webkit-progress-bar { background: var(--surface-2); border-radius: var(--r-full); }
2414
2859
  .oo-card-bar::-webkit-progress-value { background: var(--accent); border-radius: var(--r-full); }
2415
2860
  .oo-card-bar::-moz-progress-bar { background: var(--accent); border-radius: var(--r-full); }
2416
- .oo-card-rows { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-3); margin: var(--s-3) 0 0; }
2861
+ .oo-card-rows { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; gap: var(--s-2) var(--s-3); margin: var(--s-3) 0 0; }
2417
2862
  .oo-card-rows > div { min-width: 0; }
2418
- .oo-card-rows dt { font-size: var(--fs-xs); color: var(--text-3); }
2863
+ .oo-card-rows > div[data-row="today"] { grid-column: 1 / -1; }
2864
+ .oo-card-rows dt { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--text-2); }
2419
2865
  .oo-card-rows dd { margin: 0; overflow-wrap: anywhere; }
2420
2866
  .oo-card-now { margin-top: var(--s-3); overflow-wrap: anywhere; }
2421
- .oo-card-actions { display: flex; justify-content: flex-end; gap: var(--s-2); margin-top: var(--s-3); }
2422
- .oo-badge { display: inline-block; min-width: 18px; padding: 0 4px; box-sizing: border-box; font-size: 10px; font-weight: var(--fw-semibold); line-height: 16px; text-align: center;
2867
+ .oo-card-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
2868
+ /* M-3433 (#4256): skin-pack custom agent card — CSS custom properties set via CSSOM only (no inline styles, no CSS url()). */
2869
+ .oo-card-custom { width: var(--oo-card-w, 320px); max-width: calc(100% - 2 * var(--s-3)); padding: 0; overflow: hidden;
2870
+ color: var(--oo-card-text, var(--text)); background: var(--oo-card-bg, var(--surface));
2871
+ border-color: var(--oo-card-border, var(--border)); border-radius: var(--oo-card-radius, var(--r-lg)); }
2872
+ .oo-card-custom.oo-card-framed { border-color: transparent; }
2873
+ .oo-card-custom.sheet { width: auto; max-width: none; padding: 0; border-radius: var(--oo-card-radius, var(--r-lg)) var(--oo-card-radius, var(--r-lg)) 0 0; }
2874
+ .oo-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; border-radius: inherit; }
2875
+ .oo-card-body { position: relative; z-index: 1; padding: var(--oo-card-frame-pad, var(--s-3)); max-height: inherit; overflow-y: auto; box-sizing: border-box; }
2876
+ .oo-card-custom.sheet .oo-card-body { padding: max(var(--s-2), var(--oo-card-frame-pad, var(--s-2))) max(var(--s-4), var(--oo-card-frame-pad, var(--s-4))) max(var(--s-4), env(safe-area-inset-bottom, 0px)); max-height: var(--oo-sheet-max, 50dvh); touch-action: none; }
2877
+ .oo-card-custom .oo-card-grip { background: var(--oo-card-muted, var(--surface-2)); opacity: 0.45; }
2878
+ .oo-card-custom .oo-card-avatar { box-sizing: border-box; width: var(--oo-card-avatar, 56px); height: var(--oo-card-avatar, 56px); border-radius: var(--oo-card-radius, var(--r-md));
2879
+ border: 1px solid var(--oo-card-border, var(--border)); background: color-mix(in srgb, var(--oo-card-bg, var(--surface-2)) 82%, var(--oo-card-text, var(--text)) 18%); }
2880
+ .oo-card-custom .oo-card-avatar canvas { display: block; width: 100%; height: 100%; border-radius: inherit; }
2881
+ .oo-card-custom .oo-card-name { color: var(--oo-card-accent, var(--oo-card-text, var(--text))); }
2882
+ .oo-card-custom .oo-card-instance, .oo-card-custom .oo-card-state, .oo-card-custom .oo-card-rows dt, .oo-card-custom .muted { color: var(--oo-card-muted, var(--text-2)); }
2883
+ .oo-card-custom .oo-card-close { color: var(--oo-card-muted, var(--text-2)); }
2884
+ .oo-card-custom .oo-card-close:hover { color: var(--oo-card-text, var(--text)); background: var(--oo-card-btn-bg, var(--surface-2)); }
2885
+ .oo-card-custom .oo-card-bar { background: var(--oo-card-bar-track, var(--surface-2)); }
2886
+ .oo-card-custom .oo-card-bar::-webkit-progress-bar { background: var(--oo-card-bar-track, var(--surface-2)); }
2887
+ .oo-card-custom .oo-card-bar::-webkit-progress-value { background: var(--oo-card-bar-fill, var(--oo-card-accent, var(--accent))); }
2888
+ .oo-card-custom .oo-card-bar::-moz-progress-bar { background: var(--oo-card-bar-fill, var(--oo-card-accent, var(--accent))); }
2889
+ .oo-card-custom .oo-card-actions .btn-ghost { background: var(--oo-card-btn-bg, transparent); color: var(--oo-card-btn-text, var(--oo-card-text, var(--text))); border-color: var(--oo-card-border, var(--border)); }
2890
+ .oo-card-custom .oo-card-actions .btn-primary { background: var(--oo-card-btn-primary-bg, var(--oo-card-accent, var(--accent))); color: var(--oo-card-btn-primary-text, var(--surface)); border-color: transparent; }
2891
+ .oo-card-custom .oo-card-tell { margin-top: var(--s-2); }
2892
+ .oo-card-custom .oo-card-tell input { accent-color: var(--oo-card-accent, var(--accent)); }
2893
+ .oo-card-center .oo-card-head { position: relative; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); padding-top: var(--s-1); }
2894
+ .oo-card-center .oo-card-names { width: 100%; }
2895
+ .oo-card-center .oo-card-name { font-size: var(--fs-md); }
2896
+ .oo-card-center .oo-card-close { position: absolute; top: 0; right: 0; margin: 0; }
2897
+ .oo-card-center.sheet .oo-card-close { margin: -4px -6px 0 0; }
2898
+ .oo-card-rpg .oo-card-xp { padding: var(--s-2); border-radius: var(--oo-card-radius, var(--r-sm));
2899
+ background: color-mix(in srgb, var(--oo-card-tile-bg, var(--oo-card-bar-track, var(--surface-2))) 65%, transparent);
2900
+ border: 1px solid color-mix(in srgb, var(--oo-card-border, var(--border)) 55%, transparent); }
2901
+ .oo-card-rpg .oo-card-rows > div { padding: var(--s-1) var(--s-2); border-radius: var(--oo-card-radius, var(--r-sm));
2902
+ background: color-mix(in srgb, var(--oo-card-tile-bg, var(--oo-card-bar-track, var(--surface-2))) 45%, transparent);
2903
+ border: 1px solid color-mix(in srgb, var(--oo-card-border, var(--border)) 40%, transparent); }
2904
+ .oo-card-rpg .oo-card-bar { height: 8px; }
2905
+ .oo-card-compact .oo-card-body { padding: var(--oo-card-frame-pad, var(--s-3)); }
2906
+ .oo-card-compact .oo-card-rows { margin-top: var(--s-2); gap: var(--s-1) var(--s-2); }
2907
+ .oo-card-compact .oo-card-actions { margin-top: var(--s-2); gap: var(--s-1); }
2908
+ .oo-card-compact .oo-card-actions .btn { padding-inline: var(--s-2); }
2909
+ .oo-card-dossier .oo-card-rows { grid-template-columns: 1fr; gap: var(--s-1); }
2910
+ .oo-card-dossier .oo-card-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); padding-bottom: var(--s-1);
2911
+ border-bottom: 1px solid color-mix(in srgb, var(--oo-card-border, var(--border)) 45%, transparent); }
2912
+ .oo-card-dossier .oo-card-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
2913
+ .oo-card-dossier .oo-card-rows dd { text-align: right; }
2914
+ .oo-card-cols-1 .oo-card-rows { grid-template-columns: 1fr; }
2915
+ .oo-card-dossier.oo-card-cols-2 .oo-card-rows { grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-3); }
2916
+ .oo-card-dossier.oo-card-cols-2 .oo-card-rows > div { display: block; border-bottom: 0; padding-bottom: 0; }
2917
+ .oo-card-dossier.oo-card-cols-2 .oo-card-rows dd { text-align: left; }
2918
+ .oo-badge { display: inline-block; min-width: 18px; padding: 0 4px; box-sizing: border-box; font-size: var(--fs-3xs); font-weight: var(--fw-semibold); line-height: 16px; text-align: center;
2423
2919
  border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); color: var(--text-2); }
2424
2920
  .oo-badge.mark { min-width: 10px; width: 10px; height: 10px; padding: 0; transform: rotate(45deg); border-radius: 2px; }
2425
2921
  .oo-badge.tier-1 { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
@@ -2442,6 +2938,23 @@ button.oo-tile-label:focus-visible { outline: 2px solid var(--focus); outline-of
2442
2938
  .oo-desks:focus-within { position: absolute; z-index: 7; left: var(--s-2); bottom: var(--s-2); width: auto; height: auto; max-height: 40%; margin: 0; padding: var(--s-1); clip: auto; overflow-y: auto;
2443
2939
  display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 2 * var(--s-2)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); white-space: normal; }
2444
2940
  .oo-desk { font-size: var(--fs-xs); padding: 2px 6px; border-radius: var(--r-sm); background: var(--bg); color: var(--text); border: 1px solid var(--border); }
2941
+ /* M-3665: zoomed too far out to read the name tags (a phone's whole office, about 30 %: 3 px), the names show here — a row
2942
+ of chips over the stage's foot, scrolling sideways, each a whole touch target that opens that person's card. */
2943
+ .oo[data-tags-off] .oo-desks { position: absolute; z-index: 5; left: var(--s-2); right: var(--s-2); bottom: var(--s-2); width: auto; height: auto; max-height: none;
2944
+ margin: 0; padding: var(--s-1); clip: auto; overflow-x: auto; overflow-y: hidden; display: flex; flex-wrap: nowrap; gap: var(--s-1); max-width: none; white-space: nowrap;
2945
+ background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); overscroll-behavior-x: contain; } /* flat: no shadow (leader's check) */
2946
+ .oo[data-tags-off] .oo-desks > li { flex: none; }
2947
+ .oo[data-tags-off] .oo-desks > li[data-call] { order: -1; } /* a call first, in view, its chip in the warning colour */
2948
+ .oo[data-tags-off] .oo-desks > li[data-call] .oo-desk { border-color: var(--warn); }
2949
+ /* More to scroll (data-more-left/right, desksCue): the row's edge fades, as the zone pills' does — never a chip cut short. */
2950
+ .oo[data-tags-off] .oo-desks[data-more-right] { -webkit-mask-image: linear-gradient(to right, currentColor calc(100% - 32px), transparent); mask-image: linear-gradient(to right, currentColor calc(100% - 32px), transparent); }
2951
+ .oo[data-tags-off] .oo-desks[data-more-left] { -webkit-mask-image: linear-gradient(to left, currentColor calc(100% - 32px), transparent); mask-image: linear-gradient(to left, currentColor calc(100% - 32px), transparent); }
2952
+ .oo[data-tags-off] .oo-desks[data-more-left][data-more-right] { -webkit-mask-image: linear-gradient(to right, transparent, currentColor 32px, currentColor calc(100% - 32px), transparent); mask-image: linear-gradient(to right, transparent, currentColor 32px, currentColor calc(100% - 32px), transparent); }
2953
+ /* #4466 Hide names: the zoomed-out row keeps only the callers (as their tags do); nobody calling, no row. */
2954
+ .oo[data-tags-off][data-names-off] .oo-desks > li:not([data-call]) { display: none; }
2955
+ .oo[data-tags-off][data-names-off] .oo-desks:not(:has(> li[data-call])) { display: none; }
2956
+ .oo[data-tags-off] .oo-stage .oo-snacks { bottom: calc(var(--s-2) + var(--tap) + var(--s-4)); } /* the snack tray above the row */
2957
+ .oo[data-tags-off] .oo-desk { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); border-radius: var(--r-full); font-size: var(--fs-sm); }
2445
2958
  .oo-desk:focus-visible { outline: none; border-color: var(--focus); box-shadow: inset 0 -2px 0 var(--focus); }
2446
2959
  /* #2513: Edit layout (fleet-office-layout.js) — an SVG over the canvas (placed and sized through the CSSOM), its 1280×720
2447
2960
  grid, the areas, corridors and a handle for each seat, item, the door and waypoint; its bar sticks to the stage's foot. */
@@ -2458,12 +2971,24 @@ button.oo-tile-label:focus-visible { outline: 2px solid var(--focus); outline-of
2458
2971
  .oo.fs.immersive { position: fixed; inset: 0; z-index: 50; width: 100vw; height: 100vh; width: 100dvw; height: 100dvh; }
2459
2972
  html.oo-immersive, html.oo-immersive body { overflow: hidden; }
2460
2973
  html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2461
- .oo-fs-bar { position: absolute; left: var(--s-3); top: var(--s-3); z-index: 6; display: flex; align-items: center; gap: var(--s-2); }
2974
+ .oo-fs-bar { position: absolute; left: var(--s-3); top: var(--s-3); z-index: 6; display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2); }
2462
2975
  .oo-fs-bar .tb-select { max-width: 180px; }
2976
+ /* #4010: carousel — n/m picker + interval in the Office bar (one row); Pause / Next / name in the bar and in fullscreen.
2977
+ The checklist is a popover so 15–20 offices never wrap the bar. */
2978
+ .oo-carousel { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--s-2) var(--s-3); min-width: 0; }
2979
+ .oo-car-pick { position: relative; flex: 0 0 auto; }
2980
+ .oo-car-offices { white-space: nowrap; }
2981
+ .oo-car-menu { position: absolute; z-index: 8; left: 0; top: calc(100% + 4px); min-width: 12em; max-width: min(22em, calc(100vw - 2 * var(--s-3)));
2982
+ max-height: min(50vh, 16rem); overflow: hidden; display: flex; flex-direction: column;
2983
+ background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
2984
+ .oo-car-menu-acts { display: flex; gap: var(--s-2); padding: var(--s-2); border-bottom: 1px solid var(--border); flex: none; }
2985
+ .oo-carousel-offices { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; overflow-y: auto; padding: var(--s-2); }
2986
+ .oo-carousel-offices .check { padding: 4px 0; }
2987
+ .oo-car-now { font-size: var(--fs-xs); white-space: nowrap; }
2463
2988
  .ol-overlay { position: absolute; left: 0; top: 0; z-index: 4; }
2464
2989
  .ol-svg { display: block; overflow: visible; touch-action: none; }
2465
2990
  .ol-grid { stroke: var(--text-3); stroke-opacity: 0.25; stroke-width: 1; }
2466
- .ol-label, .ol-coord { fill: var(--text); font-size: 12px; font-family: var(--font-mono, monospace); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
2991
+ .ol-label, .ol-coord { fill: var(--text); font-size: var(--fs-xs); font-family: var(--font-mono, monospace); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
2467
2992
  .ol-area { fill: none; stroke: var(--text-2); stroke-dasharray: 6 4; stroke-width: 1.5; }
2468
2993
  .ol-edge { stroke: var(--focus); stroke-width: 3; stroke-opacity: 0.7; }
2469
2994
  .ol-handle { cursor: grab; outline: none; }
@@ -2504,6 +3029,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2504
3029
  .oo > :not(.oo-stage):not(dialog) { margin-left: var(--s-3); margin-right: var(--s-3); }
2505
3030
  .oo-stage { min-height: 200px; }
2506
3031
  .oo-pick .tb-select { max-width: 150px; }
3032
+ .oo-carousel { flex-wrap: wrap; } /* Pause / Next stay on screen; the n/m picker is still one button */
2507
3033
  .oo-mini { display: none; }
2508
3034
  .oo-zoom .icon-btn { width: 40px; height: 40px; }
2509
3035
  /* #2689: a column of the label and five 40 px buttons (~240 px) is taller than that stage: a row along its top
@@ -2512,6 +3038,67 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2512
3038
  .oo:not(.fs) .oo-zoom-pct { display: flex; align-items: center; padding: 0 6px; border-bottom: 0; border-right: 1px solid var(--border); }
2513
3039
  .oo:not(.fs) .oo-zoom .icon-btn + .icon-btn { border-top: 0; border-left: 1px solid var(--border); }
2514
3040
  }
3041
+ /* M-3253 (Argon's phone review): the Office on a phone, held upright or turned sideways (a coarse pointer in a short window,
3042
+ as fleet-office.js OFFICE_PHONE_Q). Above the office two rows only: Fleet's header, then Find, the view switch and one
3043
+ 44 px ⋯ (the Office's tools and Live in a sheet: .oo-sheet) — no wrapping bar (except under 370 px, M-3727: Find on its own
3044
+ row, the switch and ⋯ under it, so ⋯ stays on screen). The stage takes the rest; its zoom pill is
3045
+ −, the zoom, +, fullscreen (Fit and Fill are in the sheet), 44 px each; the zone pills along its foot. */
3046
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
3047
+ .oc-office:has(.oo-more-btn) > .oc-bar { flex-wrap: nowrap; padding: var(--s-1) var(--s-3); }
3048
+ .oc-office:has(.oo-more-btn) > .oc-bar > span:first-child, .oc-office:has(.oo-more-btn) > .oc-bar .org-counts { display: none; }
3049
+ .oc-office .oc-bar .oc-tools:has(.oo-more-btn) { flex-wrap: nowrap; overflow: visible; width: 100%; margin-left: 0; gap: var(--s-2); }
3050
+ .oc-tools:has(.oo-more-btn) .oc-find { flex: 1 1 96px; min-width: 88px; }
3051
+ .oc-tools:has(.oo-more-btn) .seg-inline { flex: none; }
3052
+ .oc-tools .oo-more-btn { flex: none; width: var(--tap); height: var(--tap); }
3053
+ @media (hover: none) { .oc-tools .oo-more-btn:hover { background: none; } } /* a tap leaves :hover stuck on touch */
3054
+ /* M-3727: Find (at least 88 px), the view switch and ⋯ need about 342 px (en) — more than a 320–360 px phone has: ⋯ went
3055
+ off-screen. There, Find takes the first row and the switch and ⋯ (at the right) the second; every control stays whole. */
3056
+ @media (max-width: 369px) {
3057
+ .oc-office .oc-bar .oc-tools:has(.oo-more-btn) { flex-wrap: wrap; row-gap: var(--s-1); }
3058
+ .oc-tools:has(.oo-more-btn) .oc-find { flex: 1 0 100%; }
3059
+ .oc-tools .oo-more-btn { margin-left: auto; }
3060
+ }
3061
+ .oo.phone > :not(.oo-stage):not(dialog) { margin-left: var(--s-3); margin-right: var(--s-3); }
3062
+ .oo.phone .oo-stage { min-height: 160px; }
3063
+ .oo.phone .oo-mini { display: none; }
3064
+ .oo.phone .oo-zoom .icon-btn { width: var(--tap); height: var(--tap); }
3065
+ .oo.phone:not(.fs) .oo-zoom { flex-direction: row; top: var(--s-2); right: var(--s-2); border-radius: var(--r-full); }
3066
+ .oo.phone:not(.fs) .oo-zoom-pct { display: flex; align-items: center; padding: 0 var(--s-2); border-bottom: 0; border-right: 1px solid var(--border); }
3067
+ .oo.phone:not(.fs) .oo-zoom .icon-btn + .icon-btn { border-top: 0; border-left: 1px solid var(--border); }
3068
+ .oo.phone:not(.fs) .oo-zoom :is(.oo-fit, .oo-fill) { display: none; }
3069
+ .oo-zone-pills { position: absolute; z-index: 6; left: var(--s-2); bottom: max(var(--s-2), env(safe-area-inset-bottom, 0px)); display: flex; gap: var(--s-1);
3070
+ max-width: calc(100% - 2 * var(--s-2)); overflow-x: auto; padding: var(--s-1); box-sizing: border-box;
3071
+ background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-full); box-shadow: var(--shadow-1); }
3072
+ .oo-zone-pills .btn { flex: none; min-height: 36px; border-radius: var(--r-full); white-space: nowrap; }
3073
+ /* M-3539: chips that do not fit scroll sideways; the side with more fades out. */
3074
+ .oo-zone-pills[data-more-right] { -webkit-mask-image: linear-gradient(to right, currentColor calc(100% - 32px), transparent); mask-image: linear-gradient(to right, currentColor calc(100% - 32px), transparent); }
3075
+ .oo-zone-pills[data-more-left] { -webkit-mask-image: linear-gradient(to left, currentColor calc(100% - 32px), transparent); mask-image: linear-gradient(to left, currentColor calc(100% - 32px), transparent); }
3076
+ .oo-zone-pills[data-more-left][data-more-right] { -webkit-mask-image: linear-gradient(to right, transparent, currentColor 32px, currentColor calc(100% - 32px), transparent); mask-image: linear-gradient(to right, transparent, currentColor 32px, currentColor calc(100% - 32px), transparent); }
3077
+ /* M-3665: in the row under the stage the chips wrap to a second line rather than scroll off its edge ("Nap cor…"
3078
+ was cut on a phone): every area's whole name and count is in view. */
3079
+ .oo > .oo-zone-pills, .oo > .oo-zone-pills[data-more-left], .oo > .oo-zone-pills[data-more-right] { flex-wrap: wrap; overflow-x: visible; border-radius: var(--r-lg); -webkit-mask-image: none; mask-image: none; }
3080
+ .oo-snacks { left: var(--s-2); bottom: max(var(--s-2), env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 2 * var(--s-2)); }
3081
+ .oo-stage:has(.oo-zone-pills) .oo-snacks { bottom: calc(max(var(--s-2), env(safe-area-inset-bottom, 0px)) + 52px); }
3082
+ }
3083
+ /* M-3253: the Office's ⋯ sheet (a Dialog: a bottom sheet on a phone) — Fit, Fill and Fullscreen as tiles, then Live and
3084
+ the Office bar's own controls, one per row, each at least 44 px; a select's text from --fs-md (16 px in a field on a phone: tokens.css). */
3085
+ .oo-sheet-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-2); }
3086
+ .oo-sheet-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-1); min-height: 64px; padding: var(--s-1); border: 0;
3087
+ border-radius: var(--r-md); background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--fs-sm); text-align: center; cursor: pointer; }
3088
+ .oo-sheet-tile[aria-pressed="true"] { background: var(--accent-dim); }
3089
+ .oo-sheet .oo-sheet-bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
3090
+ .oo-sheet :is(.oo-sheet-bar > *, .oo-sheet-live) { min-height: var(--tap); }
3091
+ .oo-sheet :is(.oo-pick, .check) { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: var(--text); }
3092
+ .oo-sheet .oo-pick { justify-content: space-between; }
3093
+ .oo-sheet .oo-pick .tb-select { width: 62%; max-width: none; min-height: var(--tap); font-size: var(--fs-md); } /* M-3743: not the bar's 150 px cap ("Pop-up window" was cut) */
3094
+ .oo-sheet .dlg-x { width: var(--tap); height: var(--tap); }
3095
+ /* M-3556: more below the fold fades out at the sheet's foot, over the rows (data-more: set while not at the end). */
3096
+ .oo-sheet .dlg-body[data-more]::after { content: ""; position: sticky; bottom: calc(-1 * var(--s-4)); flex: none; display: block; height: 48px;
3097
+ margin-top: calc(-48px - var(--s-3)); pointer-events: none; background: linear-gradient(transparent, var(--bg) 85%); }
3098
+ .oo-sheet .oo-sheet-bar :is(.btn, .oo-people > .btn) { min-height: var(--tap); }
3099
+ .oo-sheet .oo-sheet-bar > .btn, .oo-sheet .oo-people > .btn { width: 100%; justify-content: flex-start; }
3100
+ .oo-sheet .oo-sheet-bar > :is(.btn, .oo-people, .oo-carousel, .oo-note) { margin-top: var(--s-1); }
3101
+ .oo-sheet .oo-carousel { flex-wrap: wrap; }
2515
3102
  /* A phone: Fleet's five tabs fit when only the open one shows its label (the others keep theirs for screen readers). */
2516
3103
  @media (max-width: 479px) {
2517
3104
  .p-fleet .seg-item:not(.active) > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@@ -2530,24 +3117,24 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2530
3117
  .ch-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
2531
3118
  .ch-id h3 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2532
3119
  .ch-models { font-size: var(--fs-xs); color: var(--text-3); overflow-wrap: anywhere; }
2533
- .ch-rec { flex-shrink: 0; font-size: 11px; line-height: 20px; padding: 0 var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
3120
+ .ch-rec { flex-shrink: 0; font-size: var(--fs-2xs); line-height: 20px; padding: 0 var(--s-2); border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
2534
3121
  .ch-rec.on { color: var(--ok); border-color: var(--ok); font-weight: var(--fw-semibold); }
2535
3122
  .ch-reason { font-size: var(--fs-sm); color: var(--text-2); overflow-wrap: anywhere; }
2536
- .ch-tag { display: inline-block; font-size: 11px; line-height: 18px; padding: 0 var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); }
3123
+ .ch-tag { display: inline-block; font-size: var(--fs-2xs); line-height: 18px; padding: 0 var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); }
2537
3124
  .ch-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2) var(--s-3); }
2538
3125
  .ch-metric { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
2539
- .ch-metric dt { font-size: 11px; color: var(--text-3); line-height: var(--lh-xs); }
3126
+ .ch-metric dt { font-size: var(--fs-2xs); color: var(--text-3); line-height: var(--lh-xs); }
2540
3127
  .ch-metric dd { margin: 0; font-size: var(--fs-md); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; }
2541
- .ch-sub { font-size: 11px; font-weight: var(--fw-regular); color: var(--text-3); }
3128
+ .ch-sub { font-size: var(--fs-2xs); font-weight: var(--fw-regular); color: var(--text-3); }
2542
3129
  .ch-fleet .ch-metric dd { font-size: var(--fs-lg); }
2543
3130
  .ch-hist { display: block; width: 100%; height: 96px; color: var(--text-2); }
2544
3131
  .ch-col rect { fill: var(--accent); opacity: 0.55; }
2545
3132
  .ch-col.past rect { fill: var(--warn); opacity: 0.85; }
2546
- .ch-n, .ch-l { font-size: 9px; fill: currentColor; }
3133
+ .ch-n, .ch-l { font-size: var(--fs-3xs); fill: currentColor; }
2547
3134
  .ch-ttl line { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 3 3; }
2548
- .ch-ttl text { font-size: 9px; fill: var(--danger); }
3135
+ .ch-ttl text { font-size: var(--fs-3xs); fill: var(--danger); }
2549
3136
  .ch-rest .row-item { font-size: var(--fs-xs); }
2550
- @media (max-width: 899px) {
3137
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2551
3138
  .ch-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
2552
3139
  .ch-fleet { grid-template-columns: minmax(0, 1fr); }
2553
3140
  .ch-bar .btn { min-height: var(--tap); }
@@ -2575,7 +3162,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2575
3162
  .us-totals .ch-metric dd { font-size: var(--fs-lg); }
2576
3163
  .us-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
2577
3164
  .us-table th, .us-table td { padding: var(--s-2); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
2578
- .us-table thead th { font-size: 11px; font-weight: var(--fw-regular); color: var(--text-3); }
3165
+ .us-table thead th { font-size: var(--fs-2xs); font-weight: var(--fw-regular); color: var(--text-3); }
2579
3166
  .us-table .num { text-align: right; white-space: nowrap; }
2580
3167
  .us-name { min-width: 0; max-width: 360px; font-weight: var(--fw-regular); }
2581
3168
  .us-name .mono { display: block; font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
@@ -2598,7 +3185,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2598
3185
  .us-trend h3, .us-heat h3, .us-rest h3 { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
2599
3186
  .us-scroll { overflow-x: auto; max-width: 100%; }
2600
3187
  .us-chart, .us-heatmap { display: block; }
2601
- .us-axis { font-size: 9px; fill: var(--text-3); }
3188
+ .us-axis { font-size: var(--fs-3xs); fill: var(--text-3); }
2602
3189
  .us-s0 { fill: var(--us-0); background: var(--us-0); } .us-s1 { fill: var(--us-1); background: var(--us-1); } .us-s2 { fill: var(--us-2); background: var(--us-2); }
2603
3190
  .us-s3 { fill: var(--us-3); background: var(--us-3); } .us-s4 { fill: var(--us-4); background: var(--us-4); } .us-s5 { fill: var(--us-5); background: var(--us-5); }
2604
3191
  .us-legend { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); list-style: none; padding: 0; margin: 0; font-size: var(--fs-xs); }
@@ -2648,6 +3235,37 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2648
3235
  .cmd-card.bad { --lbar-color: var(--danger); padding-left: calc(var(--s-3) + 3px); }
2649
3236
  .cmd-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
2650
3237
  .cmd-name { font-weight: var(--fw-semibold); }
3238
+ /* Shared Usage table, scoped report layout: six status cells become labelled rows on phones. */
3239
+ .cmd-report { min-width: 0; }
3240
+ .cmd-report-body { max-height: 50vh; overflow-y: auto; }
3241
+ .cmd-report-modal .dlg { overflow: hidden; }
3242
+ .cmd-report-modal .dlg-box { height: 85vh; }
3243
+ .cmd-report-modal .dlg-head { flex-shrink: 0; }
3244
+ .cmd-report-modal .dlg-body { flex: 1; min-height: 0; overflow: hidden; }
3245
+ .cmd-report-expanded { flex: 1; min-height: 0; display: flex; flex-direction: column; }
3246
+ .cmd-report-expanded .cmd-report-tools, .cmd-report-expanded .cmd-report-count { flex-shrink: 0; }
3247
+ .cmd-report-expanded .cmd-report-body { flex: 1; min-height: 0; max-height: none; overflow-y: auto; }
3248
+ .cmd-report-tools { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-2); }
3249
+ .cmd-report-tools .field { flex: 1; min-width: 0; }
3250
+ .cmd-report-status .us-table th:first-child { width: 28%; }
3251
+ .cmd-report-status .us-table th:nth-child(3) { width: 20%; }
3252
+ .cmd-report h3 { margin: 0 0 var(--s-2); font-size: var(--fs-sm); }
3253
+ .cmd-report .note { overflow-wrap: anywhere; white-space: pre-wrap; }
3254
+ .cmd-report table { table-layout: fixed; width: 100%; border-collapse: collapse; }
3255
+ .cmd-report td, .cmd-report th { overflow-wrap: anywhere; }
3256
+ .cmd-metrics td, .cmd-metrics th { padding: var(--s-2); text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
3257
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
3258
+ .cmd-report-body { max-height: 25vh; }
3259
+ .cmd-report-tools input, .cmd-report-tools .btn { min-height: var(--tap); }
3260
+ .cmd-report-modal .dlg-x { min-width: var(--tap); min-height: var(--tap); }
3261
+ .cmd-report-tools input { font-size: var(--fs-md); }
3262
+ .cmd-report-status .us-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
3263
+ .cmd-report-status .us-table, .cmd-report-status .us-table tbody, .cmd-report-status .us-table tr, .cmd-report-status .us-table td { display: block; width: 100%; }
3264
+ .cmd-report-status .us-table tr { margin-bottom: var(--s-3); padding: var(--s-2); border-bottom: 1px solid var(--border); }
3265
+ .cmd-report-status .us-table td { display: flex; justify-content: space-between; gap: var(--s-3); border: 0; }
3266
+ .cmd-report-status .us-table td::before { content: attr(data-label); color: var(--text-3); flex-shrink: 0; }
3267
+
3268
+ }
2651
3269
  .cmd-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-ui); color: var(--text-2); }
2652
3270
  .cmd-phase { color: var(--text); font-weight: var(--fw-semibold); }
2653
3271
  .cmd-choices { display: flex; flex-wrap: wrap; gap: var(--s-1); max-height: 180px; overflow-y: auto; }
@@ -2655,7 +3273,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2655
3273
  .quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); font-size: var(--fs-xs); color: var(--text-2); }
2656
3274
  /* A phone: the instance's name keeps the header; /model and /effort are a "/" away. */
2657
3275
  @media (max-width: 479px) { .hd-chip { display: none; } }
2658
- @media (max-width: 899px) {
3276
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2659
3277
  .hd-chip { max-width: 9em; }
2660
3278
  .cmd-palette li { min-height: var(--tap); align-items: center; flex-wrap: wrap; row-gap: 0; }
2661
3279
  .cmd-palette .cmd-desc { white-space: normal; flex-basis: 100%; }
@@ -2667,6 +3285,18 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2667
3285
  /* #1682: a mention, as Discord draws one — accent text on a tint of it; the id (or the Telegram handle) on hover. */
2668
3286
  .md .mention { display: inline; padding: 0 0.2em; border-radius: var(--r-sm); color: var(--accent); background: var(--accent-dim);
2669
3287
  font-weight: var(--fw-medium); white-space: nowrap; }
3288
+ /* A task card in a person's message — number, title, status; a link to the card (Fleet › Tasks). The status is the
3289
+ board's own pill (.tb-pill, below); the colours are the page's tokens. */
3290
+ .msg .md a.task-ref, .md a.task-ref { display: inline-flex; align-items: center; gap: var(--s-2); max-width: 100%; padding: 0 var(--s-2); border: 1px solid var(--border);
3291
+ border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); text-decoration: none; vertical-align: baseline; line-height: 1.6; }
3292
+ .md a.task-ref:hover { border-color: var(--accent); }
3293
+ .md a.task-ref:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
3294
+ .md .task-ref-code { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--accent); flex-shrink: 0; }
3295
+ .md .task-ref-title { min-width: 0; max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
3296
+ .md a.task-ref .tb-pill { flex-shrink: 0; }
3297
+ /* …and the list the composer opens while `#` is typed: the command palette's own look, the title taking the row's room. */
3298
+ .task-ref-list .cmd-desc { flex: 1; }
3299
+ .task-ref-list .tb-pill { flex-shrink: 0; }
2670
3300
 
2671
3301
  /* #1629 r4 §1 / r4.1 Q3 (a): the identity card (identity-card.js). The size is a class token; its heights are here
2672
3302
  (S 160 / M 240 / L 360 px, on a phone 120 / 180 / 240). Never a style attribute.
@@ -2755,7 +3385,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2755
3385
  .aw-chat_header .aw-stat .aw-value { margin-left: 0; }
2756
3386
  .aw-chat_header .aw-bar { flex: 0 0 auto; width: 96px; }
2757
3387
  /* On a phone the strip may run past the edge: a fade says there is more to scroll to (the last item scrolls clear of it). */
2758
- @media (max-width: 899px) { .aw-chat_header { padding-right: var(--s-7); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); } }
3388
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .aw-chat_header { padding-right: var(--s-7); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--s-7)), transparent); } }
2759
3389
  .aw-details { background: var(--surface); margin-bottom: var(--s-4); padding: var(--s-4) var(--s-5); }
2760
3390
  .side-widget { padding: 0 var(--s-3) var(--s-2); }
2761
3391
  .aw-sidebar { max-height: 240px; overflow: auto; }
@@ -2797,7 +3427,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2797
3427
  .u-rail > .u-rail-head, .u-rail > .u-rail-body { position: relative; z-index: 1; }
2798
3428
  /* Header menus must stay above the later scroller stacking context. */
2799
3429
  .panel-head { z-index: 2; }
2800
- @media (min-width: 900px) { .chat-split > .pv-divider, .chat-split > .pv-panel { position: relative; z-index: 1; } }
3430
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) { .chat-split > .pv-divider, .chat-split > .pv-panel { position: relative; z-index: 1; } }
2801
3431
  /* #1629: full-app bounded stock surfaces. Panel roots stay neutral; effects never raise the whole app. */
2802
3432
  .p-fleet > .seg, .p-settings > .seg,
2803
3433
  .p-fleet > .panel-body, .p-needs > .panel-body, .p-notices > .panel-body, .p-settings > .panel-body,
@@ -2809,6 +3439,11 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2809
3439
  /* ── #2293: global search — the sidebar row's shortcut, the header's button (collapsed sidebar, phone), the dialog ── */
2810
3440
  /* #2478: a touch screen has no Ctrl/⌘ K — the shortcut's hint is not shown there (the row is). */
2811
3441
  @media (pointer: coarse) { .side-search .kbd-hint { display: none; } }
3442
+ /* M-3559: the search row's label never gives way to its shortcut hint. Where the row is too narrow for both — two nav rows
3443
+ to a line in a short window (122 px), a sidebar narrowed further — the hint goes first; the row's title still names the
3444
+ shortcut. Inside the row's padding, the icon, "Search", the gaps and "Ctrl K" take about 140 px. */
3445
+ .side-search { container-type: inline-size; }
3446
+ @container (max-width: 144px) { .side-search .kbd-hint { display: none; } }
2812
3447
  .kbd-hint { font: inherit; font-size: var(--fs-xs); color: var(--text-3); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 0 var(--s-1); line-height: 18px; white-space: nowrap; }
2813
3448
  .panel-head .sb-search { display: none; }
2814
3449
  .sb-collapsed .panel-head .sb-search { display: inline-flex; }
@@ -2849,7 +3484,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2849
3484
  .search-who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2850
3485
  .search-kind { color: var(--text-3); }
2851
3486
  .search-time { color: var(--text-3); white-space: nowrap; }
2852
- .search-badge { flex: none; font-size: 10px; line-height: 16px; font-weight: var(--fw-semibold); padding: 0 6px; border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); }
3487
+ .search-badge { flex: none; font-size: var(--fs-3xs); line-height: 16px; font-weight: var(--fw-semibold); padding: 0 6px; border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); }
2853
3488
  .search-badge.chat { background: var(--accent-dim); color: var(--accent); }
2854
3489
  .search-badge.xmsg { background: var(--warn-bg); color: var(--warn); }
2855
3490
  .search-badge.task { background: var(--ok-bg); color: var(--ok); }
@@ -2862,7 +3497,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2862
3497
  .search-ctx-line.here { background: var(--surface-2); }
2863
3498
  .search-ctx-text { margin-top: 2px; font-size: var(--fs-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
2864
3499
  .search-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2); padding: var(--s-3) var(--s-1) var(--s-1); }
2865
- @media (max-width: 899px) {
3500
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
2866
3501
  .panel-head .sb-search { display: inline-flex; }
2867
3502
  .dlg.search-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
2868
3503
  .search-box { height: 100%; max-height: 100dvh; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); box-sizing: border-box; }
@@ -2887,7 +3522,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2887
3522
  .tb-chev { transition: transform var(--t-fast) var(--ease); transform: rotate(-90deg); }
2888
3523
  .tb-chev.open { transform: rotate(0deg); }
2889
3524
 
2890
- .tb-pill, .tb-tag, .tb-flag { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: var(--fw-semibold); padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
3525
+ .tb-pill, .tb-tag, .tb-flag { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-2xs); font-weight: var(--fw-semibold); padding: 1px var(--s-2); border-radius: var(--r-full); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
2891
3526
  .tb-pill.st-claimed, .tb-tag.st-claimed { background: var(--accent-dim); color: var(--accent); }
2892
3527
  .tb-pill.st-blocked, .tb-tag.st-blocked, .tb-flag.st-blocked, .tb-tag.p-urgent { background: var(--danger-bg); color: var(--danger); }
2893
3528
  .tb-pill.st-review, .tb-tag.st-review, .tb-flag.st-review, .tb-tag.p-high { background: var(--warn-bg); color: var(--warn); }
@@ -2925,21 +3560,63 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2925
3560
  .tb-wait-title:hover { text-decoration: underline; }
2926
3561
  .tb-wait-reason { flex-basis: 100%; margin-top: 2px; color: var(--danger); font-size: var(--fs-xs); line-height: var(--lh-xs); overflow-wrap: anywhere; }
2927
3562
  .tb-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-3); }
2928
- .tb-project { position: relative; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); min-width: 0; }
3563
+ .tb-project { position: relative; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
2929
3564
  .tb-project:hover { border-color: var(--border-strong); }
2930
3565
  .tb-project.is-archived { opacity: 0.7; }
2931
- .tb-project-open { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; padding: var(--s-4); padding-right: calc(var(--s-4) + 32px); background: none; border: 0; color: inherit; text-align: left; cursor: pointer; border-radius: inherit; }
2932
- .tb-project-name { font-weight: var(--fw-bold); font-size: var(--fs-md); overflow-wrap: anywhere; }
3566
+ .tb-project-open { display: flex; flex-direction: column; gap: var(--s-2); width: 100%; padding: var(--s-5); padding-right: calc(var(--s-5) + 32px); background: none; border: 0; color: inherit; text-align: left; cursor: pointer; border-radius: inherit; }
3567
+ .tb-project-name { font-weight: var(--fw-semibold); font-size: var(--fs-lg); overflow-wrap: anywhere; }
2933
3568
  .tb-project-desc { color: var(--text-2); font-size: var(--fs-xs); overflow-wrap: anywhere; }
2934
3569
  .tb-project-pct { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); }
2935
3570
  .tb-project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-xs); color: var(--text-2); }
2936
3571
  .tb-project-menu { position: absolute; top: var(--s-2); right: var(--s-2); }
3572
+ /* No project, made hard to miss (fleet-task-sort.js): Home's list (the Waiting box's frame), the tile first and outlined, the header's link. */
3573
+ .tb-sort-hint { margin: 0 0 var(--s-2); }
3574
+ .tb-sort-row { gap: var(--s-2) var(--s-3); }
3575
+ .tb-sort-row .tb-wait-title { flex: 1 1 240px; }
3576
+ .tb-sort-meta { font-size: var(--fs-xs); white-space: nowrap; }
3577
+ .tb-sort-pick { flex: 0 0 auto; min-width: 140px; }
3578
+ .tb-sort-foot { display: flex; margin-top: var(--s-2); }
3579
+ .tb-project.needs-sort { border-color: var(--warn-line); }
3580
+ .tb-project.needs-sort:hover { border-color: var(--warn); }
3581
+ .tb-sort-link { border: 0; cursor: pointer; }
3582
+ .tb-sort-link:hover { text-decoration: underline; }
3583
+ /* The header's link: a pill in the stats line on the desk ("N in No project →"); on a phone a full-width banner (below). */
3584
+ .tb-sort-link > svg, .tb-sort-link-long, .tb-sort-link-go { display: none; }
3585
+ /* On a phone or a touch screen (style guide §7: every control a 44px box), laid out for a narrow screen rather than drawn
3586
+ bigger. Home's list is one card: a tinted head (title, hint), then a row per card split by a line — the title across the
3587
+ whole width (its 44px box from padding that negative margins take back, so nothing is drawn bigger), under it who/when on
3588
+ the left and the picker as a small capsule on the right (32px drawn in a 44px box: transparent border; the two boxes
3589
+ meet, they do not overlap), and "See all" as
3590
+ the card's last row. A project's board puts the link on its own line under the stats, as a 44px banner: "No project:
3591
+ N to file … File them →". The desk keeps the Waiting box's rows and the pill. */
3592
+ @media (pointer: coarse), (max-width: 899px) {
3593
+ .tb-sort { padding: 0; overflow: hidden; }
3594
+ .tb-sort > .tb-section-title { margin: 0; padding: var(--s-3) var(--s-4) var(--s-1); background: var(--warn-bg); }
3595
+ .tb-sort > .tb-sort-hint { margin: 0; padding: 0 var(--s-4) var(--s-3); background: var(--warn-bg); }
3596
+ .tb-sort > .rows { gap: 0; }
3597
+ /* the row gap is the title's growth (12px at a 20px line), so the title's 44px box ends where the picker's begins: no overlap */
3598
+ .tb-sort-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-2); border-top: 1px solid var(--border); border-radius: 0; background: none; }
3599
+ .tb-sort-row .tb-wait-title { --grow: max(0px, calc((var(--tap) - 1lh) / 2)); grid-column: 1 / -1; padding-block: var(--grow); margin-block: calc(-1 * var(--grow)); }
3600
+ .tb-sort-row .tb-sort-meta { grid-column: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
3601
+ .tb-sort-row .tb-sort-pick { grid-column: 2; width: auto; min-width: 0; max-width: 45vw; min-height: var(--tap); padding-inline: var(--s-3);
3602
+ border: 0; border-block: 6px solid transparent; border-radius: calc((var(--tap) - 12px) / 2) / calc(var(--tap) / 2); background-color: var(--surface-2); background-clip: padding-box; } /* the painted end is a half circle (16 / 16) */
3603
+ .tb-sort-foot { margin: 0; border-top: 1px solid var(--border); }
3604
+ .tb-sort-foot .btn { flex: 1; min-height: var(--tap); border-radius: 0; color: var(--accent); font-size: var(--fs-sm); }
3605
+ .tb-stats .tb-flag.tb-sort-link { order: 1; flex: 1 1 100%; gap: var(--s-2); min-height: var(--tap); margin-top: var(--s-1); padding: 0 var(--s-4);
3606
+ border: 1px solid var(--warn-line); border-radius: var(--r-md); font-size: var(--fs-sm); white-space: normal; text-align: left; }
3607
+ .tb-sort-link > svg { display: inline-block; flex: none; }
3608
+ .tb-sort-link-long { display: inline; min-width: 0; }
3609
+ .tb-sort-link-short { display: none; }
3610
+ .tb-sort-link-go { display: inline; margin-left: auto; font-weight: var(--fw-medium); }
3611
+ .tb-sort-link:hover { text-decoration: none; }
3612
+ }
2937
3613
  .tb-archived { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
2938
3614
  .tb-archived > .tb-projects { align-self: stretch; }
2939
3615
 
2940
3616
  .tb-search { position: relative; min-width: 180px; flex: 0 1 280px; }
2941
- .tb-search input { width: 100%; min-height: 34px; padding: 0 var(--s-3) 0 30px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--bg); color: var(--text); font-size: var(--fs-sm); }
2942
- .tb-search input:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px var(--accent-dim); }
3617
+ /* The search field is Settings' (.s-search): the surface fill, --r-sm, no border, the focus ring. */
3618
+ .tb-search input { width: 100%; min-height: 36px; padding: 0 var(--s-3) 0 30px; border: 0; border-radius: var(--r-sm); background: var(--surface); color: var(--text); font-size: var(--fs-sm); }
3619
+ .tb-search input:focus { outline: none; box-shadow: 0 0 0 2px var(--focus); }
2943
3620
  .tb-search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
2944
3621
  .tb-search-results { position: absolute; z-index: 5; top: calc(100% + 4px); right: 0; width: min(440px, calc(100vw - 32px)); max-height: 60vh; overflow-y: auto; margin: 0; padding: var(--s-1); list-style: none; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
2945
3622
  .tb-search-results button { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); width: 100%; padding: var(--s-2); background: none; border: 0; border-radius: var(--r-sm); color: var(--text); text-align: left; cursor: pointer; font-size: var(--fs-sm); }
@@ -2949,13 +3626,20 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2949
3626
  .tb-search-none { padding: var(--s-2); font-size: var(--fs-sm); }
2950
3627
 
2951
3628
  /* A project: its header, then one column per status. */
2952
- .tb-bar-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
2953
- .tb-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); min-width: 0; }
2954
- .tb-title h2 { margin: 0; font-size: var(--fs-lg); overflow-wrap: anywhere; }
2955
- .tb-stats { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); }
3629
+ /* The page head is Settings' (.s-page-head: a 24px title with its badge, a muted lead under it, the actions at the right),
3630
+ so Tasks and Settings read as one product. The project's back link, then the title, its description as the lead, its numbers. */
3631
+ .tb-bar-head, .tb-head { margin-bottom: var(--s-4); }
3632
+ .tb-head-main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); flex: 1 1 320px; min-width: 0; }
3633
+ .tb-head-back { margin-left: calc(-1 * var(--s-3)); flex: none; }
3634
+ .tb-title { min-width: 0; }
3635
+ .tb-title h2 { overflow-wrap: anywhere; }
3636
+ .tb-head-lead { margin: 0; }
3637
+ .tb-head-actions { display: flex; flex: none; align-items: center; gap: var(--s-2); }
3638
+ .tb-stats { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-1); font-size: var(--fs-sm); }
2956
3639
  .tb-scroll { overflow-x: auto; margin: 0 calc(-1 * var(--s-2)); padding: 0 var(--s-2) var(--s-2); }
2957
- /* #2299: 176 px a column fits all five beside the sidebar from 1280 px wide (220 px cut Done off at 1366). */
2958
- .tb-columns { display: grid; grid-template-columns: repeat(5, minmax(176px, 1fr)); gap: var(--s-3); align-items: start; min-width: min-content; }
3640
+ /* A column is 272–360 px wide however many there are (statuses may become the person's own): a few columns
3641
+ widen up to 360 px, more than fit scroll sideways — a card is never squeezed narrower to fit another column in. */
3642
+ .tb-columns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 360px); gap: var(--s-3); align-items: start; min-width: min-content; }
2959
3643
  .tb-col { display: flex; flex-direction: column; gap: var(--s-2); min-height: 120px; padding: var(--s-2); border-radius: var(--r-lg); background: var(--surface); border: 1px dashed transparent; }
2960
3644
  .tb-col.can-drop { border-color: var(--border); }
2961
3645
  .tb-col.over { border-color: var(--accent); background: var(--accent-dim); }
@@ -2964,32 +3648,41 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
2964
3648
  .tb-count { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-3); }
2965
3649
  .tb-drop-line { height: 3px; border-radius: 2px; background: var(--accent); }
2966
3650
 
2967
- .tb-tile { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3) var(--s-3) var(--s-3) calc(var(--s-3) + 2px); border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-1); --lbar-color: transparent; cursor: pointer; font-size: var(--fs-sm); min-width: 0; }
3651
+ .tb-tile { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-1); cursor: pointer; font-size: var(--fs-sm); min-width: 0; }
2968
3652
  .tb-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); }
2969
- /* As taskhall: the shared straight bar (#2330) only while the card is under way (in progress, blocked, waiting for
2970
- you); none on to do or done, and a done tile is dimmed. */
2971
- .tb-tile.st-claimed { --lbar-color: var(--accent); }
2972
- .tb-tile.st-blocked { --lbar-color: var(--danger); }
2973
- .tb-tile.st-review { --lbar-color: var(--warn); }
3653
+ /* No coloured bar on the left edge, in any status — the column says the status, and a stuck or waiting card says
3654
+ it in the colour of its text. A done tile is dimmed. */
2974
3655
  .tb-tile.st-done { background: color-mix(in srgb, var(--bg) 60%, var(--surface)); box-shadow: none; }
2975
3656
  .tb-tile.st-done .tb-tile-title { color: var(--text-2); }
2976
3657
  .tb-tile.dragging { opacity: 0.4; }
2977
3658
  .tb-tile.flash { animation: tb-flash 1.6s var(--ease); }
2978
3659
  @keyframes tb-flash { from { box-shadow: 0 0 0 3px var(--accent-dim); background: var(--accent-dim); } to { box-shadow: none; } }
2979
- .tb-tile-top { display: flex; align-items: center; gap: var(--s-2); }
2980
- .tb-size { padding: 0 5px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 11px; font-weight: var(--fw-bold); line-height: 16px; color: var(--text-3); }
3660
+ /* A tile is as tall as its content (what a card can show will grow), so what keeps one tile from running away is
3661
+ a cap on each row: the title takes two lines, the status one; what does not fit is cut with "…" and its whole text is the
3662
+ tooltip. Every row starts at the tile's content edge; the number has a fixed width so the tags after it line up. */
3663
+ .tb-tile-top { display: flex; align-items: center; gap: var(--s-2); min-height: 24px; min-width: 0; }
3664
+ .tb-tile-top > .tb-code { flex: none; min-width: 5ch; }
3665
+ .tb-tile-top > .tb-tag { flex: none; }
3666
+ .tb-tile-tags { display: flex; align-items: center; gap: var(--s-1); min-width: 0; overflow: hidden; }
3667
+ .tb-size { flex: none; padding: 0 5px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: var(--fs-2xs); font-weight: var(--fw-bold); line-height: 16px; color: var(--text-3); white-space: nowrap; }
2981
3668
  /* The tile's control: its title, a plain-looking button (Enter opens the card, Alt+arrows move it). */
2982
3669
  .tb-tile-title { display: block; width: 100%; padding: 0; background: none; border: 0; border-radius: var(--r-sm); color: var(--text); font: inherit; font-weight: var(--fw-semibold); line-height: 1.4; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
3670
+ .tb-tile-title > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
2983
3671
  .tb-tile-title:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
2984
3672
  .tb-tile:has(.tb-tile-title:focus-visible) { border-color: var(--focus); }
2985
- .tb-tile-note { display: flex; gap: var(--s-1); align-items: flex-start; font-size: var(--fs-xs); color: var(--text-2); overflow-wrap: anywhere; }
3673
+ /* The status row: ONE line, whatever it says (fleet-task-common.js tileStatus); there is no row for a card with nothing to say. */
3674
+ .tb-tile-status { display: flex; align-items: center; min-width: 0; overflow: hidden; }
3675
+ .tb-tile-status > * { flex: 1; min-width: 0; }
3676
+ .tb-tile-note { display: flex; gap: var(--s-1); align-items: center; font-size: var(--fs-xs); color: var(--text-2); }
3677
+ .tb-tile-note > .icon { flex: none; }
3678
+ .tb-tile-note > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2986
3679
  /* A main task's sub task at work now (its worker in the foot), and what a card waiting for you still lacks. */
2987
3680
  .tb-tile-now { display: flex; align-items: baseline; gap: var(--s-1); min-width: 0; font-size: var(--fs-xs); color: var(--text-2); }
2988
3681
  /* #2080: whom a card in review waits for — the person (accented), or the agent that confirms it. */
2989
- .tb-tile-waits { font-size: var(--fs-xs); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2990
- .tb-tile-waits.you { color: var(--text); font-weight: var(--fw-semibold); }
3682
+ .tb-tile-waits { font-size: var(--fs-xs); color: var(--warn); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
3683
+ .tb-tile-waits.you { font-weight: var(--fw-semibold); }
2991
3684
  .tb-now-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2992
- .tb-now-label { flex-shrink: 0; font-size: 11px; font-weight: var(--fw-semibold); color: var(--text-2); }
3685
+ .tb-now-label { flex-shrink: 0; font-size: var(--fs-2xs); font-weight: var(--fw-semibold); color: var(--text-2); }
2993
3686
  .tb-now-label.st-claimed { color: var(--accent); }
2994
3687
  .tb-now-label.st-blocked { color: var(--danger); }
2995
3688
  .tb-now-label.st-review { color: var(--warn); }
@@ -3008,17 +3701,28 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3008
3701
  .tb-sub-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
3009
3702
  .tb-sub-blocked { padding-left: 22px; font-size: var(--fs-xs); color: var(--danger); overflow-wrap: anywhere; }
3010
3703
  .tb-sub-more { font-size: var(--fs-xs); padding-left: var(--s-1); }
3011
- .tb-tile-foot { display: flex; align-items: center; gap: var(--s-2); }
3012
- .tb-tile-foot > .tb-who, .tb-tile-foot > .tb-person, .tb-tile-foot > .tb-people { flex: 1; min-width: 0; max-width: none; }
3013
- .tb-people { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
3704
+ .tb-tile-foot { display: flex; align-items: center; gap: var(--s-2); min-height: 24px; min-width: 0; }
3705
+ .tb-tile-foot > .tb-who, .tb-tile-foot > .tb-person { flex: 1; min-width: 0; max-width: none; }
3706
+ .tb-people { display: flex; gap: var(--s-3); overflow: hidden; }
3014
3707
  /* Who (fleet-task-common.js): a round initial — the instance's identity colour when it has one — then the name. */
3015
3708
  .tb-person { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
3016
3709
  .tb-person > .tb-who { min-width: 0; }
3017
3710
  .tb-person.none > .tb-who { color: var(--text-3); }
3018
- .tb-av { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; font-size: 11px; font-weight: var(--fw-bold); line-height: 1;
3711
+ .tb-av { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; font-size: var(--fs-2xs); font-weight: var(--fw-bold); line-height: 1;
3019
3712
  background: color-mix(in srgb, var(--id, var(--text-3)) 16%, var(--bg)); color: var(--id-name, var(--text-2)); }
3020
- .tb-tile-stats { display: inline-flex; gap: var(--s-2); font-size: var(--fs-xs); color: var(--text-3); }
3021
- .tb-tile-stats > span { display: inline-flex; align-items: center; gap: 2px; }
3713
+ /* An instance's state on its avatar (the dashboard's dotState; where the activity names who spoke): a small dot with a ring in the card's colour. */
3714
+ .tb-av-dot { position: absolute; right: -2px; bottom: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); box-shadow: 0 0 0 2px var(--surface); }
3715
+ .tb-av-dot.st-working, .tb-av-dot.st-starting { background: var(--accent); }
3716
+ .tb-av-dot.st-idle { background: var(--ok); }
3717
+ .tb-av-dot.st-needs, .tb-av-dot.st-stuck { background: var(--warn); }
3718
+ .tb-av-dot.st-crashed { background: var(--danger); }
3719
+ .tb-tile-stats { display: inline-flex; flex: none; gap: var(--s-2); font-size: var(--fs-xs); color: var(--text-3); }
3720
+ .tb-tile-stats > span, .tb-tile-subs { display: inline-flex; align-items: center; gap: 2px; }
3721
+ /* The sub tasks' count in the foot, when the status row says something else: done/total, red once one is blocked; it opens the list. */
3722
+ .tb-tile-subs { padding: 0 2px; border: 0; border-radius: var(--r-sm); background: none; color: inherit; font: inherit; cursor: pointer; }
3723
+ .tb-tile-subs:hover { background: var(--surface-2); }
3724
+ .tb-tile-subs:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
3725
+ .tb-tile-subs.has-blocked { color: var(--danger); }
3022
3726
  .tb-tile-stats > .all { color: var(--ok); }
3023
3727
  .tb-tile-stats > .reply { color: var(--accent); }
3024
3728
 
@@ -3030,7 +3734,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3030
3734
  .tw-group-head { display: flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--text-2); }
3031
3735
  .tw-inst { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-3); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg); min-width: 0; }
3032
3736
  .tw-inst-head { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
3033
- .tw-inst-head .av { width: 24px; height: 24px; font-size: 11px; }
3737
+ .tw-inst-head .av { width: 24px; height: 24px; font-size: var(--fs-2xs); }
3034
3738
  .tw-inst-head .av .av-dot { box-shadow: 0 0 0 2px var(--bg); }
3035
3739
  .tw-name { font-weight: var(--fw-semibold); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
3036
3740
  .tw-state { font-size: var(--fs-xs); white-space: nowrap; }
@@ -3041,7 +3745,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3041
3745
  .tw-line { display: flex; align-items: baseline; gap: var(--s-2); width: 100%; padding: 2px var(--s-1); background: none; border: 0; border-radius: 0; --lbar-inset: 2px; color: var(--text); text-align: left; cursor: pointer; font-size: var(--fs-sm); min-width: 0; }
3042
3746
  .tw-line:hover { background: var(--surface-2); }
3043
3747
  .tw-line:focus-visible { outline: none; background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--focus); }
3044
- .tw-kind { flex-shrink: 0; min-width: 4.5em; font-size: 11px; font-weight: var(--fw-semibold); color: var(--text-2); }
3748
+ .tw-kind { flex-shrink: 0; min-width: 4.5em; font-size: var(--fs-2xs); font-weight: var(--fw-semibold); color: var(--text-2); }
3045
3749
  .tw-kind.k-doing { color: var(--accent); }
3046
3750
  .tw-kind.k-blocked, .tw-kind.k-back { color: var(--danger); }
3047
3751
  .tw-kind.k-review { color: var(--warn); }
@@ -3090,10 +3794,12 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3090
3794
  .tc-comment-body { white-space: pre-wrap; overflow-wrap: anywhere; }
3091
3795
  .tc-composer { display: flex; gap: var(--s-2); align-items: flex-end; }
3092
3796
 
3093
- @media (max-width: 899px) {
3797
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
3094
3798
  /* A phone stacks the columns: no sideways scrolling, and a card moves through its dialog's "Move to…". */
3095
3799
  .tb-scroll { overflow-x: visible; margin: 0; padding: 0; }
3096
- .tb-columns { grid-template-columns: minmax(0, 1fr); min-width: 0; }
3800
+ /* The page head's actions go under the title and wrap, as Settings' do. */
3801
+ .tb-head-actions { flex-wrap: wrap; flex: 1 1 100%; }
3802
+ .tb-columns { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); min-width: 0; }
3097
3803
  .tb-col { min-height: 0; }
3098
3804
  .tb-form-row { grid-template-columns: minmax(0, 1fr); }
3099
3805
  .tb-search { flex: 1 1 100%; }
@@ -3101,17 +3807,26 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3101
3807
  .tc-meta { padding: 0; background: none; }
3102
3808
  /* #2299: a phone's waiting row: pill and title on one line, the actions under them (assignee left, buttons right). */
3103
3809
  .tb-wait-main > .tb-pill { min-width: 0; }
3104
- .tb-wait-actions { flex-basis: 100%; margin-left: 0; }
3105
- .tb-wait-actions > .muted { margin-right: auto; }
3810
+ /* The assignee, then the answers on one line: the two buttons share what the name leaves (they never part onto two lines, as they did at 360px);
3811
+ a long name gives way with "…" before a button does, and a lone button (Answer) keeps its own width at the right. */
3812
+ .tb-wait-actions { flex-basis: 100%; margin-left: 0; flex-wrap: nowrap; }
3813
+ .tb-wait-actions > .muted { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
3814
+ .tb-wait-actions .btn { flex: 1 0 auto; padding-inline: var(--s-2); }
3815
+ .tb-wait-actions > button:only-of-type { flex: 0 0 auto; padding-inline: var(--s-4); }
3106
3816
  /* #2299: on the board its toasts come in above the tabs, not over its title, search and progress — unless a card's
3107
3817
  sheet is open (its buttons are at the bottom). */
3108
3818
  .shell:has(.tb-home, .tb-board-page):not(:has(dialog[open])) .toasts { top: auto; bottom: calc(56px + env(safe-area-inset-bottom) + var(--s-3)); }
3109
3819
  /* …and they do not pile down the board: an older confirmation gives way to two newer toasts; an error never does. */
3110
3820
  .shell:has(.tb-home, .tb-board-page) .toasts > .toast.ok:nth-last-child(n+3) { display: none; }
3111
3821
  }
3822
+ /* A very narrow phone (320px): the waiting row's name has a line of its own and the two buttons share the next one. */
3823
+ @media (max-width: 339px) {
3824
+ .tb-wait-actions { flex-wrap: wrap; }
3825
+ .tb-wait-actions > .muted { flex-basis: 100%; }
3826
+ }
3112
3827
  /* On a desk a project's columns reach the bottom of the page, as taskhall's: a card drops anywhere down a column, and
3113
3828
  an empty column still reads as one. The page's column, the board and its scroller pass the height down as flex. */
3114
- @media (min-width: 900px) {
3829
+ @media (min-width: 900px) and (pointer: fine), (min-width: 900px) and (pointer: none), (min-width: 900px) and (min-height: 501px), (min-width: 1024px) {
3115
3830
  .col:has(> .tb > .tb-board-page) { display: flex; flex-direction: column; min-height: 100%; }
3116
3831
  .tb:has(> .tb-board-page) { flex: 1; }
3117
3832
  .tb-board-page { display: flex; flex-direction: column; flex: 1; }
@@ -3159,18 +3874,18 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3159
3874
  /* Windows CLI preview: local providers, a task composer and a compact execution history. */
3160
3875
  .p-windows-cli .windows-cli-content { width: 100%; max-width: 1160px; margin: 0 auto; padding: 28px 28px 48px; }
3161
3876
  .p-windows-cli .windows-cli-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
3162
- .p-windows-cli .windows-cli-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
3877
+ .p-windows-cli .windows-cli-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .06em; }
3163
3878
  .p-windows-cli .windows-cli-intro h2 { margin-top: 7px; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; }
3164
- .p-windows-cli .windows-cli-intro p { margin-top: 7px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
3879
+ .p-windows-cli .windows-cli-intro p { margin-top: 7px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.7; }
3165
3880
  .p-windows-cli .windows-cli-probe { flex-shrink: 0; min-height: 38px; border-radius: 9px; }
3166
3881
  .windows-cli-target { display: flex; align-items: flex-start; gap: 12px; min-width: 0; margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
3167
3882
  .windows-cli-target > svg { flex-shrink: 0; margin-top: 3px; color: var(--text-2); }
3168
3883
  .windows-cli-target > div { min-width: 0; }
3169
- .windows-cli-target-label { display: block; color: var(--text-2); font-size: 11px; line-height: 1.5; }
3884
+ .windows-cli-target-label { display: block; color: var(--text-2); font-size: var(--fs-2xs); line-height: 1.5; }
3170
3885
  .windows-cli-target-name { display: block; margin-top: 3px; font-size: 15px; overflow-wrap: anywhere; }
3171
- .windows-cli-target p { margin: 5px 0 0; color: var(--text-2); font-size: 12px; line-height: 1.6; }
3886
+ .windows-cli-target p { margin: 5px 0 0; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.6; }
3172
3887
  .windows-cli-target.is-compact { margin: 12px 0; padding: 0; border: 0; background: none; gap: 8px; }
3173
- .windows-cli-target.is-compact .windows-cli-target-name { margin-top: 1px; font-size: 13px; }
3888
+ .windows-cli-target.is-compact .windows-cli-target-name { margin-top: 1px; font-size: var(--fs-sm); }
3174
3889
  .p-windows-cli .windows-cli-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
3175
3890
  .p-windows-cli .windows-cli-provider { min-width: 0; padding: 20px 20px 0; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
3176
3891
  .p-windows-cli .windows-cli-provider-head { display: flex; align-items: center; gap: 12px; }
@@ -3178,25 +3893,25 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3178
3893
  .p-windows-cli .brand-openai { color: #fff; background: #141413; }
3179
3894
  .p-windows-cli .brand-anthropic { color: #141413; background: #f0e9df; }
3180
3895
  .p-windows-cli .windows-cli-provider-name { flex: 1; min-width: 0; }
3181
- .p-windows-cli .windows-cli-provider-name > span { font-size: 11px; color: var(--text-2); }
3896
+ .p-windows-cli .windows-cli-provider-name > span { font-size: var(--fs-2xs); color: var(--text-2); }
3182
3897
  .p-windows-cli .windows-cli-provider-name h3 { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
3183
- .p-windows-cli .windows-cli-badge { display: inline-flex; align-items: center; flex-shrink: 0; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
3898
+ .p-windows-cli .windows-cli-badge { display: inline-flex; align-items: center; flex-shrink: 0; padding: 3px 8px; border-radius: 6px; font-size: var(--fs-2xs); font-weight: 600; }
3184
3899
  .p-windows-cli .tone-ready { color: var(--ok); }
3185
3900
  .p-windows-cli .tone-neutral { color: var(--text-2); }
3186
3901
  .p-windows-cli .tone-failed { color: var(--danger); }
3187
3902
  .p-windows-cli .tone-working { color: var(--accent); }
3188
3903
  .p-windows-cli .windows-cli-badge.tone-ready { background: var(--ok-bg); }
3189
3904
  .p-windows-cli .windows-cli-badge.tone-neutral { background: var(--surface); }
3190
- .p-windows-cli .windows-cli-provider-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 17px 0 14px; font-size: 12px; }
3905
+ .p-windows-cli .windows-cli-provider-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 17px 0 14px; font-size: var(--fs-xs); }
3191
3906
  .p-windows-cli .windows-cli-auth, .p-windows-cli .windows-cli-readiness, .p-windows-cli .windows-cli-task-state { display: inline-flex; align-items: center; gap: 7px; }
3192
3907
  .p-windows-cli .windows-cli-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
3193
- .p-windows-cli .windows-cli-version { color: var(--text-3); font-family: var(--font-mono); font-size: 11px; overflow-wrap: anywhere; }
3908
+ .p-windows-cli .windows-cli-version { color: var(--text-3); font-family: var(--font-mono); font-size: var(--fs-2xs); overflow-wrap: anywhere; }
3194
3909
  .p-windows-cli .windows-cli-location { border-top: 1px solid var(--border); }
3195
3910
  .p-windows-cli summary { cursor: pointer; list-style: none; }
3196
3911
  .p-windows-cli summary::-webkit-details-marker { display: none; }
3197
- .p-windows-cli .windows-cli-location summary { display: flex; justify-content: space-between; align-items: center; min-height: 37px; color: var(--text-2); font-size: 11px; }
3912
+ .p-windows-cli .windows-cli-location summary { display: flex; justify-content: space-between; align-items: center; min-height: 37px; color: var(--text-2); font-size: var(--fs-2xs); }
3198
3913
  .p-windows-cli details[open] > summary > .icon:last-child { transform: rotate(180deg); }
3199
- .p-windows-cli .windows-cli-path { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.7 var(--font-mono); color: var(--text-2); }
3914
+ .p-windows-cli .windows-cli-path { display: block; white-space: pre-wrap; overflow-wrap: anywhere; font: var(--fs-2xs)/1.7 var(--font-mono); color: var(--text-2); }
3200
3915
  .p-windows-cli .windows-cli-location .windows-cli-path { padding: 0 0 12px; }
3201
3916
  .p-windows-cli .windows-cli-workbench { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 20px; }
3202
3917
  .p-windows-cli .windows-cli-card { min-width: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
@@ -3205,48 +3920,48 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3205
3920
  .p-windows-cli .windows-cli-section-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--surface); color: var(--text-2); }
3206
3921
  .p-windows-cli .windows-cli-section-head > div { flex: 1; min-width: 0; }
3207
3922
  .p-windows-cli .windows-cli-section-head h2 { display: flex; align-items: center; gap: 7px; font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
3208
- .p-windows-cli .windows-cli-section-head p { margin-top: 4px; color: var(--text-2); font-size: 11px; line-height: 1.6; }
3923
+ .p-windows-cli .windows-cli-section-head p { margin-top: 4px; color: var(--text-2); font-size: var(--fs-2xs); line-height: 1.6; }
3209
3924
  .p-windows-cli .windows-cli-field { margin-bottom: 18px; }
3210
- .p-windows-cli .windows-cli-field > label, .p-windows-cli .windows-cli-access > legend { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
3925
+ .p-windows-cli .windows-cli-field > label, .p-windows-cli .windows-cli-access > legend { display: block; margin-bottom: 8px; font-size: var(--fs-xs); font-weight: 600; }
3211
3926
  .p-windows-cli .windows-cli-field > input, .p-windows-cli .windows-cli-field > textarea { display: block; width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg); color: var(--text); font-size: var(--fs-sm); line-height: 1.6; }
3212
3927
  .p-windows-cli .windows-cli-field > input:focus, .p-windows-cli .windows-cli-field > textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px var(--accent-dim); }
3213
3928
  .p-windows-cli .windows-cli-field > textarea { min-height: 120px; resize: vertical; }
3214
3929
  .p-windows-cli .windows-cli-field .windows-cli-directory { font-family: var(--font-mono); font-size: var(--fs-xs); }
3215
- .p-windows-cli .windows-cli-field > p { margin-top: 6px; font-size: 11px; line-height: 1.6; color: var(--text-3); }
3930
+ .p-windows-cli .windows-cli-field > p { margin-top: 6px; font-size: var(--fs-2xs); line-height: 1.6; color: var(--text-3); }
3216
3931
  .p-windows-cli .windows-cli-field ::placeholder { color: var(--text-3); }
3217
3932
  .p-windows-cli .windows-cli-access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
3218
3933
  .p-windows-cli .windows-cli-access-option { display: flex; align-items: flex-start; gap: 8px; padding: 11px 10px; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; }
3219
3934
  .p-windows-cli .windows-cli-access-option.selected { background: var(--accent-dim); border-color: var(--focus); }
3220
3935
  .p-windows-cli .windows-cli-access-option input { margin: 3px 0 0; accent-color: var(--accent); width: 13px; height: 13px; flex-shrink: 0; }
3221
- .p-windows-cli .windows-cli-access-option strong { display: flex; align-items: center; gap: 5px; font-size: 12px; line-height: 1.6; font-weight: 600; }
3222
- .p-windows-cli .windows-cli-access-option small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.6; color: var(--text-2); }
3223
- .p-windows-cli .windows-cli-policy { margin-top: 14px; color: var(--text-2); font-size: 11px; }
3936
+ .p-windows-cli .windows-cli-access-option strong { display: flex; align-items: center; gap: 5px; font-size: var(--fs-xs); line-height: 1.6; font-weight: 600; }
3937
+ .p-windows-cli .windows-cli-access-option small { display: block; margin-top: 3px; font-size: var(--fs-3xs); line-height: 1.6; color: var(--text-2); }
3938
+ .p-windows-cli .windows-cli-policy { margin-top: 14px; color: var(--text-2); font-size: var(--fs-2xs); }
3224
3939
  .p-windows-cli .windows-cli-policy summary { display: flex; align-items: center; gap: 6px; min-height: 28px; }
3225
3940
  .p-windows-cli .windows-cli-policy p { padding: 4px 0 10px; line-height: 1.8; }
3226
3941
  .p-windows-cli .windows-cli-submit { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--border); }
3227
- .p-windows-cli .windows-cli-readiness { font-size: 11px; line-height: 1.6; }
3942
+ .p-windows-cli .windows-cli-readiness { font-size: var(--fs-2xs); line-height: 1.6; }
3228
3943
  .p-windows-cli .windows-cli-submit .btn { min-height: 40px; border-radius: 8px; }
3229
- .p-windows-cli .windows-cli-limits { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--text-3); font-size: 10px; line-height: 1.6; }
3944
+ .p-windows-cli .windows-cli-limits { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--text-3); font-size: var(--fs-3xs); line-height: 1.6; }
3230
3945
  .p-windows-cli .windows-cli-history { padding: 22px 20px 0; }
3231
3946
  .p-windows-cli .windows-cli-history .windows-cli-section-head { margin-bottom: 18px; }
3232
3947
  .p-windows-cli .windows-cli-history .icon-btn { width: 30px; height: 30px; }
3233
- .p-windows-cli .windows-cli-count { color: var(--text-2); background: var(--surface); padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 500; }
3948
+ .p-windows-cli .windows-cli-count { color: var(--text-2); background: var(--surface); padding: 1px 6px; border-radius: 5px; font-size: var(--fs-3xs); font-weight: 500; }
3234
3949
  .p-windows-cli .windows-cli-task { margin-top: 10px; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
3235
- .p-windows-cli .windows-cli-task > summary { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: 12px; }
3950
+ .p-windows-cli .windows-cli-task > summary { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: var(--fs-xs); }
3236
3951
  .p-windows-cli .windows-cli-task > summary:hover { background: var(--surface); }
3237
3952
  .p-windows-cli .windows-cli-task-state { flex: 1; font-weight: 600; }
3238
- .p-windows-cli .windows-cli-task time { font-size: 10px; color: var(--text-3); font-variant-numeric: tabular-nums; }
3239
- .p-windows-cli .windows-cli-task-cwd { padding: 0 12px 12px; font-size: 10px; }
3953
+ .p-windows-cli .windows-cli-task time { font-size: var(--fs-3xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
3954
+ .p-windows-cli .windows-cli-task-cwd { padding: 0 12px 12px; font-size: var(--fs-3xs); }
3240
3955
  .p-windows-cli .windows-cli-task-detail { padding: 0 12px 12px; }
3241
- .p-windows-cli .windows-cli-output-label { display: flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: 6px 6px 0 0; background: var(--code-head); color: var(--text-2); font-size: 10px; }
3242
- .p-windows-cli .windows-cli-output { padding: 12px; margin: 0; max-height: 320px; overflow: auto; border-radius: 0 0 6px 6px; background: var(--code-bg); white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.8 var(--font-mono); }
3956
+ .p-windows-cli .windows-cli-output-label { display: flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: 6px 6px 0 0; background: var(--code-head); color: var(--text-2); font-size: var(--fs-3xs); }
3957
+ .p-windows-cli .windows-cli-output { padding: 12px; margin: 0; max-height: 320px; overflow: auto; border-radius: 0 0 6px 6px; background: var(--code-bg); white-space: pre-wrap; overflow-wrap: anywhere; font: var(--fs-2xs)/1.8 var(--font-mono); }
3243
3958
  .p-windows-cli .windows-cli-task-detail > .btn { margin-top: 10px; }
3244
- .p-windows-cli .windows-cli-history-note { margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-3); text-align: center; font-size: 10px; }
3959
+ .p-windows-cli .windows-cli-history-note { margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-3); text-align: center; font-size: var(--fs-3xs); }
3245
3960
  .p-windows-cli .windows-cli-empty { display: flex; flex-direction: column; align-items: center; padding: 42px 16px; text-align: center; }
3246
3961
  .p-windows-cli .windows-cli-empty > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--surface); color: var(--text-3); margin-bottom: 16px; }
3247
- .p-windows-cli .windows-cli-empty h3 { font-size: 13px; font-weight: 600; }
3248
- .p-windows-cli .windows-cli-empty p { max-width: 220px; margin-top: 7px; font-size: 12px; line-height: 1.8; color: var(--text-3); }
3249
- .p-windows-cli .error { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--danger); font-size: 12px; }
3962
+ .p-windows-cli .windows-cli-empty h3 { font-size: var(--fs-sm); font-weight: 600; }
3963
+ .p-windows-cli .windows-cli-empty p { max-width: 220px; margin-top: 7px; font-size: var(--fs-xs); line-height: 1.8; color: var(--text-3); }
3964
+ .p-windows-cli .error { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--danger); font-size: var(--fs-xs); }
3250
3965
  .p-windows-cli .windows-cli-error { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 14px; border-radius: 10px; background: var(--danger-bg); }
3251
3966
  .p-windows-cli .windows-cli-error .icon { margin-top: 2px; }
3252
3967
  .p-windows-cli .windows-cli-spin { animation: windows-cli-rotate 1.4s linear infinite; }
@@ -3263,47 +3978,47 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3263
3978
  .p-windows-cli .windows-cli-field > input, .p-windows-cli .windows-cli-field > textarea { font-size: 16px; }
3264
3979
  .p-windows-cli .windows-cli-submit { flex-direction: column; align-items: stretch; }
3265
3980
  .p-windows-cli .windows-cli-access-option { padding: 10px 8px; }
3266
- .p-windows-cli .windows-cli-access-option strong { font-size: 11px; }
3981
+ .p-windows-cli .windows-cli-access-option strong { font-size: var(--fs-2xs); }
3267
3982
  }
3268
3983
  @media (prefers-reduced-motion: reduce) { .p-windows-cli .windows-cli-spin { animation: none; } }
3269
3984
  .p-windows-cli.windows-cli-settings .windows-cli-content { padding: 0; }
3270
3985
  .p-settings .windows-cli-settings .windows-cli-workbench { grid-template-columns: minmax(0, 1fr); }
3271
3986
  @container settings-page (min-width: 1040px) { .p-settings .windows-cli-settings .windows-cli-workbench { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
3272
3987
  /* Runtime-first agent creation and native Windows conversations. */
3273
- .agent-runtime-picker > legend, .agent-runtime-fields > legend { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
3988
+ .agent-runtime-picker > legend, .agent-runtime-fields > legend { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 12px; }
3274
3989
  .agent-runtime-picker > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
3275
3990
  .agent-runtime-choice { display: flex; align-items: center; gap: 9px; padding: 14px 11px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
3276
3991
  .agent-runtime-choice.selected { border-color: var(--focus); background: var(--accent-dim); }
3277
3992
  .agent-runtime-choice > input { width: 13px; height: 13px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
3278
3993
  .agent-runtime-choice > span { min-width: 0; }
3279
- .agent-runtime-choice strong { display: block; font-size: 12px; line-height: 1.6; }
3280
- .agent-runtime-choice small { display: block; margin-top: 3px; color: var(--text-2); font-size: 10px; line-height: 1.6; }
3994
+ .agent-runtime-choice strong { display: block; font-size: var(--fs-xs); line-height: 1.6; }
3995
+ .agent-runtime-choice small { display: block; margin-top: 3px; color: var(--text-2); font-size: var(--fs-3xs); line-height: 1.6; }
3281
3996
  .agent-runtime-fields { border-top: 1px solid var(--border); padding-top: 14px; }
3282
3997
  .agent-draft-assistant { padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
3283
- .agent-draft-assistant > summary { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; cursor: pointer; }
3284
- .agent-draft-assistant > .note { margin: 10px 0; font-size: 11px; }
3998
+ .agent-draft-assistant > summary { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 600; cursor: pointer; }
3999
+ .agent-draft-assistant > .note { margin: 10px 0; font-size: var(--fs-2xs); }
3285
4000
  .agent-draft-assistant .btn { margin-top: 10px; }
3286
4001
  .agent-draft-assistant textarea { resize: vertical; }
3287
4002
  .windows-agent-nav { flex-shrink: 0; padding: 8px; border-top: 1px solid var(--border); max-height: 25vh; overflow: auto; }
3288
- .windows-agent-nav h3 { padding: 0 12px 5px; color: var(--text-3); font-size: 11px; font-weight: 500; }
4003
+ .windows-agent-nav h3 { padding: 0 12px 5px; color: var(--text-3); font-size: var(--fs-2xs); font-weight: 500; }
3289
4004
  .windows-agent-nav svg { flex-shrink: 0; }
3290
4005
  .p-windows-agent .windows-agent-conversation { max-width: 960px; }
3291
4006
  .windows-agent-identity { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
3292
4007
  .windows-agent-identity > span:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: white; background: #141413; flex-shrink: 0; }
3293
4008
  .windows-agent-identity > div { flex: 1; min-width: 0; }
3294
- .windows-agent-identity strong { font-size: 13px; }
3295
- .windows-agent-identity code { display: block; overflow-wrap: anywhere; color: var(--text-2); font: 11px/1.7 var(--font-mono); }
4009
+ .windows-agent-identity strong { font-size: var(--fs-sm); }
4010
+ .windows-agent-identity code { display: block; overflow-wrap: anywhere; color: var(--text-2); font: var(--fs-2xs)/1.7 var(--font-mono); }
3296
4011
  .windows-agent-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 60px 12px; color: var(--text-2); }
3297
4012
  .windows-agent-empty h2 { margin: 18px 0 8px; color: var(--text); font-size: 20px; }
3298
- .windows-agent-empty p { max-width: 400px; font-size: 13px; line-height: 1.8; }
4013
+ .windows-agent-empty p { max-width: 400px; font-size: var(--fs-sm); line-height: 1.8; }
3299
4014
  .windows-agent-turn { margin-bottom: 26px; }
3300
4015
  .windows-agent-human { padding: 14px 18px; margin-left: 15%; border-radius: 12px; background: var(--surface); }
3301
- .windows-agent-human strong { font-size: 12px; }
4016
+ .windows-agent-human strong { font-size: var(--fs-xs); }
3302
4017
  .windows-agent-human p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 6px; }
3303
4018
  .windows-agent-reply { padding: 20px 0 0; }
3304
- .windows-agent-reply > strong { display: flex; gap: 8px; align-items: center; font-size: 13px; }
3305
- .windows-agent-reply pre { margin: 14px 0 7px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.8 var(--font-mono); }
3306
- .windows-agent-reply small { color: var(--text-3); font-size: 11px; }
4019
+ .windows-agent-reply > strong { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); }
4020
+ .windows-agent-reply pre { margin: 14px 0 7px; white-space: pre-wrap; overflow-wrap: anywhere; font: var(--fs-sm)/1.8 var(--font-mono); }
4021
+ .windows-agent-reply small { color: var(--text-3); font-size: var(--fs-2xs); }
3307
4022
  .windows-agent-composer { padding: 12px 24px 18px; border-top: 1px solid var(--border); }
3308
4023
  .windows-agent-composer > div, .windows-agent-composer > p { max-width: 900px; margin-left: auto; margin-right: auto; }
3309
4024
  .windows-agent-input { padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
@@ -3421,8 +4136,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3421
4136
  .runtime-cli-list li > .note { width: 100%; }
3422
4137
  }
3423
4138
  .windows-agent-input > div { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
3424
- .windows-agent-composer > .note { margin-top: 8px; font-size: 10px; }
3425
- .p-windows-agent .error, .agent-draft-assistant .error { color: var(--danger); font-size: 12px; overflow-wrap: anywhere; }
4139
+ .windows-agent-composer > .note { margin-top: 8px; font-size: var(--fs-3xs); }
4140
+ .p-windows-agent .error, .agent-draft-assistant .error { color: var(--danger); font-size: var(--fs-xs); overflow-wrap: anywhere; }
3426
4141
  .windows-agent-blocked { padding: 16px; background: var(--warn-bg); border-radius: 10px; }
3427
4142
  .windows-agent-blocked p { margin-bottom: 12px; }
3428
4143
  @media (max-width: 620px) {
@@ -3436,32 +4151,32 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3436
4151
  /* S-30: the body's top padding scrolled content through above the sticky steps (a phone showed card edges there); a
3437
4152
  background-coloured copy of the bar, shifted up, covers that strip. */
3438
4153
  .agent-create-steps { position: sticky; top: 0; z-index: 2; background: var(--bg); box-shadow: 0 calc(-1 * var(--s-5)) 0 var(--bg); display: flex; align-items: center; gap: 8px; padding-bottom: 20px; margin: 0; list-style: none; border-bottom: 1px solid var(--border); }
3439
- .agent-create-steps > li { display: flex; align-items: center; gap: 7px; color: var(--text-3); font-size: 12px; min-width: 0; }
4154
+ .agent-create-steps > li { display: flex; align-items: center; gap: 7px; color: var(--text-3); font-size: var(--fs-xs); min-width: 0; }
3440
4155
  .agent-create-steps > li:not(:last-child)::after { content: ""; width: 28px; height: 1px; background: var(--border); margin: 0 6px; }
3441
4156
  .agent-create-steps > li.current { color: var(--text); font-weight: 600; }
3442
- .agent-create-step-number { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border: 1px solid var(--border-strong); border-radius: 50%; font-size: 11px; }
4157
+ .agent-create-step-number { display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border: 1px solid var(--border-strong); border-radius: 50%; font-size: var(--fs-2xs); }
3443
4158
  .agent-create-steps .current .agent-create-step-number { color: var(--on-accent); background: var(--accent-fill); border-color: var(--accent-fill); }
3444
4159
  .agent-create-steps .complete .agent-create-step-number { color: var(--ok); border-color: var(--ok); background: var(--ok-bg); }
3445
4160
  .agent-create-stage { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
3446
4161
  .agent-create-stage > h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
3447
4162
  .agent-create-stage > h3:focus { outline: none; }
3448
- .agent-create-stage > .note { margin-top: -12px; font-size: 12px; line-height: 1.8; }
4163
+ .agent-create-stage > .note { margin-top: -12px; font-size: var(--fs-xs); line-height: 1.8; }
3449
4164
  .agent-create-cli { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
3450
4165
  .agent-create-cli .field { margin: 0; }
3451
4166
  .agent-create-selection { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
3452
4167
  .agent-create-selection > div { flex: 1; min-width: 0; }
3453
- .agent-create-selection strong { display: block; font-size: 12px; }
3454
- .agent-create-selection span { display: block; color: var(--text-2); font-size: 11px; overflow-wrap: anywhere; }
4168
+ .agent-create-selection strong { display: block; font-size: var(--fs-xs); }
4169
+ .agent-create-selection span { display: block; color: var(--text-2); font-size: var(--fs-2xs); overflow-wrap: anywhere; }
3455
4170
  .agent-create-wizard .agent-runtime-fields { padding-top: 0; border-top: 0; }
3456
4171
  .agent-create-success { align-items: center; text-align: center; padding: 18px 0 8px; }
3457
4172
  .agent-create-success-icon { display: grid; place-items: center; width: 64px; height: 64px; color: var(--ok); background: var(--ok-bg); border-radius: 50%; }
3458
- .agent-create-success dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 12px 20px; width: 100%; margin: 0; padding: 18px; border: 1px solid var(--border); border-radius: 10px; text-align: left; font-size: 13px; }
4173
+ .agent-create-success dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 12px 20px; width: 100%; margin: 0; padding: 18px; border: 1px solid var(--border); border-radius: 10px; text-align: left; font-size: var(--fs-sm); }
3459
4174
  .agent-create-success dt { color: var(--text-2); }
3460
4175
  .agent-create-success dd { margin: 0; overflow-wrap: anywhere; }
3461
- .agent-create-success code { font-family: var(--font-mono); font-size: 12px; }
4176
+ .agent-create-success code { font-family: var(--font-mono); font-size: var(--fs-xs); }
3462
4177
  @media (max-width: 620px) {
3463
4178
  .agent-create-steps { gap: 6px; }
3464
- .agent-create-steps > li { gap: 5px; font-size: 11px; }
4179
+ .agent-create-steps > li { gap: 5px; font-size: var(--fs-2xs); }
3465
4180
  .agent-create-steps > li:not(:last-child)::after { width: 12px; margin: 0 2px; }
3466
4181
  .agent-create-selection { gap: 8px; padding: 10px; }
3467
4182
  .agent-create-selection .btn { padding: 0 8px; }
@@ -3506,7 +4221,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3506
4221
  .p-settings .s-access-session > .grid2, .p-settings .s-public-entry > .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
3507
4222
  .p-settings .s-access-policy { color: var(--text-3); font-size: var(--fs-sm); }
3508
4223
  .p-settings .s-access-policy > summary { display: flex; align-items: center; gap: var(--s-2); width: fit-content; cursor: pointer; padding: var(--s-1) 0; }
3509
- .p-settings .s-access-policy > p { max-width: 80ch; margin: var(--s-2) 0 0; line-height: 1.6; }
4224
+ .p-settings .s-access-policy > p { max-width: 80ch; margin: var(--s-2) 0 0; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
3510
4225
  .p-settings .s-terminal-disclosure, .p-settings .s-public-credentials { min-width: 0; }
3511
4226
  .p-settings .s-terminal-disclosure > summary, .p-settings .s-public-credentials > summary { padding: var(--s-2) 0; }
3512
4227
  .p-settings .s-terminal-disclosure > .drawer-body > .s-web-fields > .card { padding: 0; background: transparent; }
@@ -3539,7 +4254,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3539
4254
  .p-settings .s-dev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
3540
4255
  .p-settings .s-dev .s-yaml { width: 100%; min-height: 300px; height: clamp(300px, 52vh, 620px); max-height: none; margin: 0; padding: var(--s-4); overflow: auto; font-size: var(--fs-sm); line-height: 1.65; }
3541
4256
  .p-settings .s-dev-state { display: flex; align-items: center; gap: var(--s-2); color: var(--text-3); font-size: var(--fs-xs); }
3542
- @media (max-width: 899px) {
4257
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
3543
4258
  .p-settings .s-access-stack { max-width: none; }
3544
4259
  .p-settings .s-ro-columns { display: none; }
3545
4260
  .p-settings .s-web-readonly .s-web-ro { margin-top: 0; }
@@ -3849,28 +4564,27 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3849
4564
  .p-settings [data-settings-section="agents"] .s-page-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 10px; }
3850
4565
  .p-settings [data-settings-section="agents"] .s-page-actions .btn { border-radius: 8px; }
3851
4566
  .p-settings [data-section="agents"] .s-agent-count { margin: -2px 0 12px; min-height: 0; }
3852
- .p-settings .s-ai-accounts > summary { padding: 20px 48px 20px 24px; font-size: 16px; line-height: 1.5; }
3853
- .p-settings .s-ai-accounts > summary small { font-size: 13px; }
3854
- .p-settings .s-ai-accounts > summary::after, .p-settings .s-ai-accounts[open] > summary::after { top: 28px; }
3855
- .p-settings .s-ai-accounts > .s-auth-body { padding: 0 24px 24px; gap: 24px; }
4567
+ .p-settings .s-ai-accounts { padding: 24px; margin: 0; }
4568
+ .p-settings .s-ai-accounts > .s-auth-body { padding: 0; gap: 24px; }
4569
+ .p-settings .s-agents-accounts-link { margin: 16px 0 0; }
3856
4570
  .p-settings .s-auth-scope { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
3857
4571
  .p-settings .s-auth-scope > svg { flex: none; margin-top: 2px; }
3858
4572
  .p-settings .s-auth-scope > div { min-width: 0; }
3859
- .p-settings .s-auth-scope strong { font-size: 13px; font-weight: var(--fw-semibold); }
3860
- .p-settings .s-auth-scope p { margin: 4px 0 6px; color: var(--text-3); font-size: 13px; line-height: 1.55; }
3861
- .p-settings .s-auth-scope a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); }
4573
+ .p-settings .s-auth-scope strong { font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
4574
+ .p-settings .s-auth-scope p { margin: 4px 0 6px; color: var(--text-3); font-size: var(--fs-sm); line-height: 1.55; }
4575
+ .p-settings .s-auth-scope a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--accent); }
3862
4576
  .p-settings .s-ai-accounts .s-auth-section { display: block; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
3863
4577
  .p-settings .s-ai-accounts .s-auth-section + .s-auth-section { border-top: 1px solid var(--border); padding-top: 24px; }
3864
4578
  .p-settings .s-auth-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0 0 14px; }
3865
4579
  .p-settings .s-auth-section-head > div { min-width: 0; }
3866
4580
  .p-settings .s-auth-section-head h3 { margin: 0; color: var(--text); font-size: 16px; font-weight: var(--fw-semibold); line-height: 1.5; text-transform: none; letter-spacing: normal; }
3867
- .p-settings .s-auth-section-head p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-3); }
3868
- .p-settings .s-auth-host-badge { flex: none; border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
4581
+ .p-settings .s-auth-section-head p { margin: 5px 0 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-3); }
4582
+ .p-settings .s-auth-host-badge { flex: none; border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
3869
4583
  /* Refs #3061 (P2a): Devices & sign-in — the code field, and who is asking. */
3870
4584
  .p-settings .s-dev-code, .dlg .s-dev-code { font-family: var(--font-mono); font-size: 20px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
3871
4585
  .dlg .s-dev-facts { margin: 0 0 12px; display: grid; gap: 6px; }
3872
4586
  .dlg .s-dev-facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; align-items: baseline; }
3873
- .dlg .s-dev-facts dt { margin: 0; color: var(--text-3); font-size: 13px; }
4587
+ .dlg .s-dev-facts dt { margin: 0; color: var(--text-3); font-size: var(--fs-sm); }
3874
4588
  .dlg .s-dev-facts dd { margin: 0; color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
3875
4589
  .dlg .s-dev-facts code { font-family: var(--font-mono); letter-spacing: .08em; }
3876
4590
  /* Refs #3061: the confirm screen leads with where the request is from and its address — what tells devices apart; the name is the browser's word. */
@@ -3889,7 +4603,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3889
4603
  .p-settings .s-dev-name { font-weight: var(--fw-semibold); overflow-wrap: anywhere; }
3890
4604
  .p-settings .s-dev-meta { font-size: var(--fs-xs); color: var(--text-3); overflow-wrap: anywhere; }
3891
4605
  .p-settings .s-dev-row .btn { flex: none; }
3892
- .p-settings .s-auth-state { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 3px 8px; border-radius: 6px; color: var(--text-3); background: var(--surface-2); font-size: 12px; font-weight: var(--fw-regular); line-height: 1.5; white-space: nowrap; }
4606
+ .p-settings .s-auth-state { display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 3px 8px; border-radius: 6px; color: var(--text-3); background: var(--surface-2); font-size: var(--fs-xs); font-weight: var(--fw-regular); line-height: 1.5; white-space: nowrap; }
3893
4607
  .p-settings .s-auth-state.is-usable { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
3894
4608
  .p-settings .s-auth-state:is(.is-not_signed_in, .is-too_old) { color: var(--warn); background: var(--warn-bg); }
3895
4609
  .p-settings .s-host-cli-list { min-width: 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
@@ -3899,14 +4613,14 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3899
4613
  .p-settings .s-host-cli-identity > .cli-product-mark { flex: none; }
3900
4614
  .p-settings .s-host-cli-identity > div { min-width: 0; }
3901
4615
  .p-settings .s-host-cli-identity .s-name { display: block; max-width: none; color: var(--text); font-size: 14px; font-weight: var(--fw-medium); line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
3902
- .p-settings .s-host-cli-identity small { display: block; margin-top: 3px; color: var(--text-3); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
4616
+ .p-settings .s-host-cli-identity small { display: block; margin-top: 3px; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; overflow-wrap: anywhere; }
3903
4617
  .p-settings .s-host-cli-row > .s-auth-state { grid-column: 2; grid-row: 1; justify-self: start; }
3904
4618
  .p-settings .s-host-cli-row > .s-actions { grid-column: 3; grid-row: 1; margin: 0; justify-content: flex-end; flex-wrap: nowrap; }
3905
4619
  .p-settings .s-host-cli-row > .s-actions .btn { border-radius: 7px; min-width: 88px; }
3906
4620
  .p-settings .s-host-cli-help { grid-column: 1 / -1; grid-row: auto; min-width: 0; margin: 0; }
3907
4621
  .p-settings .s-host-cli-help[data-inline-help="true"] { grid-column: 1 / -1; grid-row: 2; }
3908
4622
  .p-settings .s-host-cli-help[data-inline-help="false"] { margin-top: 12px; }
3909
- .p-settings .s-host-cli-help > summary { display: block; width: fit-content; max-width: 100%; margin-left: auto; padding: 7px 25px 7px 10px; position: relative; border: 1px solid var(--border); border-radius: 7px; color: var(--text-2); font-size: 13px; line-height: 1.5; text-align: left; cursor: pointer; list-style: none; }
4623
+ .p-settings .s-host-cli-help > summary { display: block; width: fit-content; max-width: 100%; margin-left: auto; padding: 7px 25px 7px 10px; position: relative; border: 1px solid var(--border); border-radius: 7px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; text-align: left; cursor: pointer; list-style: none; }
3910
4624
  .p-settings .s-host-cli-help[data-inline-help="true"] > summary { position: absolute; top: 15px; right: 16px; min-height: 40px; }
3911
4625
  .p-settings .s-host-cli-help > summary::-webkit-details-marker { display: none; }
3912
4626
  .p-settings .s-host-cli-help > summary::after { content: ""; position: absolute; width: 6px; height: 6px; top: 12px; right: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
@@ -3914,7 +4628,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3914
4628
  .p-settings .s-host-cli-help > div { margin-top: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg); }
3915
4629
  .p-settings .s-host-cli-help .note { margin: 0 0 10px; }
3916
4630
  .p-settings .s-host-cli-command { margin: 8px 0 0; }
3917
- .p-settings .s-host-cli-command code { display: block; max-width: 100%; color: var(--text-2); font-size: 12px; line-height: 1.65; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
4631
+ .p-settings .s-host-cli-command code { display: block; max-width: 100%; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.65; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; }
3918
4632
  .p-settings .s-api-key-list { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
3919
4633
  .p-settings .s-api-key-list > .s-api-key-row { margin: 0; padding: 18px 16px; border: 0; border-bottom: 1px solid var(--border); }
3920
4634
  .p-settings .s-api-key-list > .s-api-key-row:last-child { padding-bottom: 18px; border-bottom: 0; }
@@ -3923,7 +4637,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3923
4637
  .p-settings .s-api-key-heading strong { min-width: 0; color: var(--text); font-size: 14px; font-weight: var(--fw-medium); overflow-wrap: anywhere; }
3924
4638
  .p-settings .s-api-key-heading > .s-auth-state { margin-left: auto; }
3925
4639
  .p-settings .s-api-key-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 14px; }
3926
- .p-settings .s-api-key-form > label { display: flex; flex-direction: column; min-width: 0; gap: 6px; color: var(--text-2); font-size: 12px; }
4640
+ .p-settings .s-api-key-form > label { display: flex; flex-direction: column; min-width: 0; gap: 6px; color: var(--text-2); font-size: var(--fs-xs); }
3927
4641
  .p-settings .s-api-key-form input { display: block; width: 100%; min-width: 0; height: 40px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: var(--fs-sm); }
3928
4642
  .p-settings .s-api-key-form > .btn { min-height: 40px; border-radius: 7px; }
3929
4643
  .p-settings .s-api-key-unsupported { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
@@ -3933,15 +4647,18 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
3933
4647
  .p-settings .s-api-unavailable > .note { margin: 0; }
3934
4648
  @container settings-page (max-width: 600px) {
3935
4649
  .p-settings [data-settings-section="agents"] .s-page-actions { margin-left: auto; }
3936
- .p-settings .s-ai-accounts > summary { padding: 18px 42px 18px 18px; }
3937
- .p-settings .s-ai-accounts > .s-auth-body { padding: 0 16px 18px; gap: 20px; }
4650
+ .p-settings .s-ai-accounts { padding: 16px; }
4651
+ .p-settings .s-ai-accounts > .s-auth-body { gap: 20px; }
3938
4652
  .p-settings .s-auth-scope { padding: 12px; }
3939
4653
  .p-settings .s-auth-section-head { gap: 10px; flex-wrap: wrap; }
3940
4654
  .p-settings .s-host-cli-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px 12px; }
3941
4655
  .p-settings .s-host-cli-row > .s-actions { grid-column: 1 / -1; grid-row: auto; }
3942
4656
  .p-settings .s-host-cli-help[data-inline-help="true"] { grid-column: 1 / -1; grid-row: 2; }
3943
4657
  .p-settings .s-host-cli-help[data-inline-help="true"] > summary { position: relative; top: auto; right: auto; }
3944
- .p-settings .s-host-cli-help > summary, .p-settings .s-host-cli-row .btn { min-height: 40px; }
4658
+ .p-settings .s-host-cli-row .btn { min-height: 40px; }
4659
+ /* Phone tap size (style guide rule 7): the accounts have their own section now, so the UI gate measures these controls. */
4660
+ .p-settings :is(.s-host-cli-help > summary, button.s-account-used) { min-height: var(--tap); min-width: var(--tap); }
4661
+ .p-settings :is(.s-agents-accounts-link, .s-auth-scope > div) > a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); min-width: var(--tap); }
3945
4662
  .p-settings .s-host-cli-help > summary::after { top: 15px; }
3946
4663
  .p-settings .s-host-cli-help[open] > summary::after { top: 18px; }
3947
4664
  .p-settings .s-api-key-form { grid-template-columns: minmax(0, 1fr); }
@@ -4016,7 +4733,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4016
4733
  .p-settings .s-color-summary { display: grid; grid-template-columns: 112px minmax(0, 1fr) 16px; gap: 16px; align-items: center; min-height: 38px; cursor: pointer; list-style: none; }
4017
4734
  .p-settings .s-color-summary::-webkit-details-marker { display: none; }
4018
4735
  .p-settings .s-color-summary > .s-ap-title { margin: 0; }
4019
- .p-settings .s-color-summary > svg { color: var(--text-3); transition: transform .15s; }
4736
+ .p-settings .s-color-summary > svg { color: var(--text-3); }
4020
4737
  .p-settings .s-colors[open] > .s-color-summary > svg { transform: rotate(90deg); }
4021
4738
  .p-settings .s-color-summary-places { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
4022
4739
  .p-settings .s-color-summary-places > span { padding: 4px 8px; border: 1px solid var(--border); border-radius: 5px; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.5; }
@@ -4031,7 +4748,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4031
4748
  .p-settings .s-look-toggle-line { display: grid; grid-template-columns: minmax(170px, .9fr) 38px minmax(160px, 1.1fr); gap: 14px; align-items: center; padding: 4px 0; min-width: 0; }
4032
4749
  .p-settings .s-look-toggle-line > label { display: flex; flex-wrap: wrap; gap: 5px 8px; color: var(--text); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
4033
4750
  .p-settings .s-look-toggle-line > .sub { font-size: var(--fs-xs); line-height: 1.6; }
4034
- .p-settings .s-look-toggle-line .s-scope { font-size: 10px; padding: 2px 5px; }
4751
+ .p-settings .s-look-toggle-line .s-scope { font-size: var(--fs-3xs); padding: 2px 5px; }
4035
4752
  .p-settings .s-look-advanced { gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: clip; background: var(--surface); }
4036
4753
  .p-settings .s-look-advanced > .s-look-disclosure { border: 0; border-radius: 0; background: transparent; }
4037
4754
  .p-settings .s-look-advanced > .s-look-disclosure + .s-look-disclosure { border-top: 1px solid var(--border); }
@@ -4096,30 +4813,16 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4096
4813
  background: color-mix(in srgb, var(--accent) 9%, var(--surface)); color: var(--text-2); font-size: 14px; line-height: 1.6;
4097
4814
  }
4098
4815
  .p-settings :is(.s-access-banner, .s-effective-notice) > svg { flex: none; color: var(--accent); margin-top: 2px; }
4099
- .p-settings .s-access-banner > p { margin: 0; flex: 1; }
4816
+ .p-settings .s-access-banner > p { margin: 0; flex: 1; word-break: keep-all; overflow-wrap: anywhere; } /* M-3900: zh words whole on a phone (「立即」, never 「立 / 即」) */
4100
4817
  .p-settings .s-access-banner .s-access-policy { flex: 0 1 auto; }
4101
4818
  .p-settings .s-access-banner .s-access-policy[open] { flex: 1 0 100%; }
4102
4819
  .p-settings .s-access-banner { flex-wrap: wrap; }
4103
4820
  .p-settings .s-access-policy > summary { padding: 0; }
4104
- .p-settings .s-access-login-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr); gap: 24px; align-items: start; }
4105
- .p-settings .s-access-login-layout > *, .p-settings .s-guest-workbench > * { min-width: 0; }
4106
- .p-settings .s-access-login-layout .s-access-stack { max-width: none; gap: 20px; }
4107
- .p-settings .s-access-related { padding: 20px; margin: 0; }
4108
- .p-settings .s-access-related > h3 { margin: 0 0 12px; }
4109
- .p-settings .s-access-related > button { display: flex; width: 100%; align-items: center; gap: 12px; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; color: var(--text); padding: 16px 0; text-align: left; cursor: pointer; }
4110
- .p-settings .s-access-related > button:first-of-type { border-top: 0; }
4111
- .p-settings .s-access-related > button:last-of-type { padding-bottom: 0; }
4112
- .p-settings .s-access-related > button > span { flex: 1; display: grid; gap: 4px; }
4113
- .p-settings .s-access-related strong { font-size: 14px; font-weight: var(--fw-medium); }
4114
- .p-settings .s-access-related small { color: var(--text-3); font-size: 12px; line-height: 1.5; }
4115
- .p-settings .s-access-related > button > svg:last-child { color: var(--accent); transform: rotate(-90deg); }
4116
- .p-settings .s-access-related > button:hover strong { color: var(--accent); }
4117
- .p-settings .s-access-related > button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
4118
4821
  .p-settings .s-access-session > h3 { margin-bottom: 18px; }
4119
4822
  .p-settings .s-access-session .field { margin-bottom: 14px; }
4120
4823
  .p-settings .s-access-session .grid2 { gap: 20px; }
4121
4824
  .p-settings .s-session-ceiling { padding-top: 10px; border-top: 1px solid var(--border); margin: 0; }
4122
- .p-settings .s-setting-details { font-size: 12px; line-height: 1.6; color: var(--text-3); margin-top: 10px; }
4825
+ .p-settings .s-setting-details { font-size: var(--fs-xs); line-height: 1.6; color: var(--text-3); margin-top: 10px; }
4123
4826
  .p-settings .s-setting-details > summary { width: fit-content; cursor: pointer; }
4124
4827
  .p-settings .s-setting-details > p { margin: 8px 0 0; max-width: 90ch; }
4125
4828
  .p-settings .s-va-fields { margin: 16px 0 0; }
@@ -4130,9 +4833,9 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4130
4833
  .p-settings .s-authority-brief { margin: 0; }
4131
4834
  .p-settings .s-va-fields > .field { max-width: 360px; }
4132
4835
  .p-settings .s-va-fields > h4 { margin: 20px 0 12px; }
4133
- .p-settings .s-authority-public-warning { font-size: 12px; line-height: 1.6; padding: 10px 12px; border-left: 3px solid var(--border-strong); background: var(--surface-2); }
4836
+ .p-settings .s-authority-public-warning { font-size: var(--fs-xs); line-height: 1.6; padding: 10px 12px; border-left: 3px solid var(--border-strong); background: var(--surface-2); }
4134
4837
  .p-settings .s-authority-links { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
4135
- .p-settings .s-authority-links > summary { cursor: pointer; font-size: 13px; font-weight: var(--fw-medium); }
4838
+ .p-settings .s-authority-links > summary { cursor: pointer; font-size: var(--fs-sm); font-weight: var(--fw-medium); }
4136
4839
  .p-settings .s-authority-links > div { padding-top: 14px; }
4137
4840
  .p-settings .s-authority-links .note { margin: 6px 0 14px; }
4138
4841
  .p-settings .s-authority-revoke { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
@@ -4144,39 +4847,40 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4144
4847
  .p-settings .s-public-credentials .s-tunnel-token { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 16px; background: var(--surface-2); }
4145
4848
  .p-settings .s-token-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
4146
4849
  .p-settings .s-token-head > h3 { font-size: 14px; margin: 0; }
4147
- .p-settings .s-tunnel-token > .note { font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
4850
+ .p-settings .s-tunnel-token > .note { font-size: var(--fs-xs); line-height: 1.6; margin: 8px 0 0; }
4148
4851
  .p-settings .s-token-editor { margin-top: 12px; }
4149
- .p-settings .s-token-editor > summary { cursor: pointer; font-size: 13px; font-weight: var(--fw-medium); color: var(--accent); }
4852
+ .p-settings .s-token-editor > summary { cursor: pointer; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--accent); }
4150
4853
  .p-settings .s-token-editor-body { display: grid; gap: 12px; padding-top: 12px; }
4151
4854
  .p-settings .s-sharing-list { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); padding: 20px; gap: 12px; }
4152
4855
  .p-settings .s-sharing-list > h3 { font-size: 18px; color: var(--text); }
4153
4856
  .p-settings .s-sharing-list > .note { margin: 0 0 4px; }
4154
4857
  .p-settings .s-sharing-list > .card { border: 0; border-radius: 0; padding: 16px 0 0; border-top: 1px solid var(--border); background: transparent; box-shadow: none; }
4155
4858
  .p-settings .s-sharing-list > .card > h3 { font-size: 14px; }
4156
- .p-settings .s-part-access #access-panel-sharing .s-access-stack { max-width: none; }
4859
+ .p-settings .s-part-access :is(#access-panel-login, #access-panel-sharing) .s-access-stack { max-width: none; }
4860
+ .p-settings .s-guest-workbench > * { min-width: 0; }
4157
4861
  .p-settings .s-part-dashboard .s-dashboard-features > h3 { margin-bottom: 18px; }
4158
4862
  .p-settings .s-part-dashboard .s-setting-row { padding-block: 16px; }
4159
4863
  .p-settings .s-part-dashboard .s-setting-row:first-of-type { padding-top: 0; }
4160
4864
  .p-settings .s-part-dashboard .s-setting-copy > label { font-size: 15px; font-weight: var(--fw-semibold); }
4161
- .p-settings .s-part-dashboard .s-setting-copy > .note { font-size: 13px; }
4865
+ .p-settings .s-part-dashboard .s-setting-copy > .note { font-size: var(--fs-sm); }
4162
4866
  .p-settings .s-part-dashboard .s-setting-details { margin-top: 6px; }
4163
4867
  .p-settings .s-effective-view { display: grid; gap: 20px; }
4164
4868
  .p-settings .s-effective-view .s-web-readonly { padding: 0; overflow: hidden; }
4165
4869
  .p-settings .s-effective-view .s-ro-columns, .p-settings .s-effective-view .s-web-ro > div { padding: 14px 20px; }
4166
- .p-settings .s-effective-view .s-ro-columns { font-size: 12px; background: var(--surface-2); }
4870
+ .p-settings .s-effective-view .s-ro-columns { font-size: var(--fs-xs); background: var(--surface-2); }
4167
4871
  .p-settings .s-effective-view .s-web-readonly .s-web-ro { margin: 0; }
4168
4872
  .p-settings .s-ro-group { margin: 0; padding: 12px 20px; color: var(--text); background: color-mix(in srgb, var(--text) 3%, var(--surface)); font-size: 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
4169
- .p-settings .s-effective-footnotes .note { margin: 0 0 6px; font-size: 12px; }
4873
+ .p-settings .s-effective-footnotes .note { margin: 0 0 6px; font-size: var(--fs-xs); }
4170
4874
  .p-settings .s-effective-actions { display: flex; justify-content: flex-end; }
4171
4875
  .p-settings .s-dev { padding: 0; gap: 0; overflow: hidden; }
4172
4876
  .p-settings .s-dev-bar { padding: 16px 20px; border-bottom: 1px solid var(--border); gap: 16px; }
4173
4877
  .p-settings .s-dev-bar .seg-inline { gap: 0; padding: 3px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
4174
4878
  .p-settings .s-dev-bar .seg-inline .btn { border: 0; border-radius: 4px; min-width: 60px; background: transparent; }
4175
4879
  .p-settings .s-dev-bar .seg-inline .btn.on { background: var(--surface); box-shadow: 0 1px 3px #0001; color: var(--accent); }
4176
- .p-settings .s-dev-context { display: flex; align-items: center; gap: 7px; flex: 1 1 180px; margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-3); }
4880
+ .p-settings .s-dev-context { display: flex; align-items: center; gap: 7px; flex: 1 1 180px; margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--text-3); }
4177
4881
  .p-settings .s-dev-context > svg { flex: none; }
4178
4882
  .p-settings .s-dev .s-yaml { height: clamp(340px, 43vh, 500px); padding: 20px 24px; border: 0; border-radius: 0; font-size: 14px; line-height: 1.7; background: var(--surface); }
4179
- .p-settings .s-dev-state { padding: 10px 20px; border-top: 1px solid var(--border); background: var(--surface-2); font-size: 12px; }
4883
+ .p-settings .s-dev-state { padding: 10px 20px; border-top: 1px solid var(--border); background: var(--surface-2); font-size: var(--fs-xs); }
4180
4884
  .p-settings .s-dev-file { margin-right: auto; font-family: var(--font-mono); }
4181
4885
  .p-settings .s-dev > :is(.save-row, .s-dev-blocked, .s-dev-held, .feedback) { margin: 0; padding: 14px 20px; border-top: 1px solid var(--border); }
4182
4886
  .p-settings .s-guests { border: 0; padding: 0; background: transparent; box-shadow: none; }
@@ -4187,21 +4891,21 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4187
4891
  .p-settings .s-guest-policy .check { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
4188
4892
  .p-settings .s-guest-policy .check > input { order: 2; }
4189
4893
  .p-settings .s-guest-policy .check > span { font-weight: var(--fw-medium); font-size: 14px; }
4190
- .p-settings .s-guest-policy .note { margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
4894
+ .p-settings .s-guest-policy .note { margin: 6px 0 0; font-size: var(--fs-xs); line-height: 1.6; }
4191
4895
  .p-settings .s-guest-workbench { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
4192
4896
  .p-settings :is(.s-guest-list-card, .s-guest-detail-card) { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
4193
4897
  .p-settings .s-guest-list-card > h4 { margin: 0; padding: 20px; font-size: 18px; }
4194
4898
  .p-settings .s-guest-list-card > .note, .p-settings .s-guest-detail-card > .note { padding: 20px; margin: 0; }
4195
4899
  .p-settings .s-guest-columns, .p-settings .guest-summary { display: grid; grid-template-columns: minmax(90px, 1.2fr) minmax(90px, 1.1fr) minmax(55px, .65fr) auto; gap: 12px; padding: 12px 16px; align-items: center; }
4196
- .p-settings .s-guest-columns { background: var(--surface-2); color: var(--text-3); font-size: 12px; font-weight: var(--fw-medium); border-block: 1px solid var(--border); }
4900
+ .p-settings .s-guest-columns { background: var(--surface-2); color: var(--text-3); font-size: var(--fs-xs); font-weight: var(--fw-medium); border-block: 1px solid var(--border); }
4197
4901
  .p-settings .s-guests .guest-list { margin: 0; border: 0; min-height: 240px; }
4198
- .p-settings .guest-summary { border-bottom: 1px solid var(--border); font-size: 13px; line-height: 1.6; }
4902
+ .p-settings .guest-summary { border-bottom: 1px solid var(--border); font-size: var(--fs-sm); line-height: 1.6; }
4199
4903
  .p-settings .guest-summary:last-child { border-bottom: 0; }
4200
4904
  .p-settings .guest-summary.is-selected { background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
4201
4905
  .p-settings .g-summary-name { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
4202
- .p-settings .g-summary-name small { color: var(--text-3); font-size: 11px; }
4906
+ .p-settings .g-summary-name small { color: var(--text-3); font-size: var(--fs-2xs); }
4203
4907
  .p-settings .g-summary-agents { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
4204
- .p-settings .g-summary-agents > span { border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; max-width: 100%; overflow-wrap: anywhere; font-size: 11px; }
4908
+ .p-settings .g-summary-agents > span { border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; max-width: 100%; overflow-wrap: anywhere; font-size: var(--fs-2xs); }
4205
4909
  .p-settings .s-guests .s-guest-detail-card .guest-row { border: 0; padding: 20px; margin: 0; }
4206
4910
  .p-settings .s-guests .s-guest-detail-card .guest-row[hidden] { display: none; }
4207
4911
  .p-settings .s-guest-detail-card .g-head { gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
@@ -4218,13 +4922,10 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4218
4922
  .p-settings .s-guest-add > div { padding: 0 20px 20px; }
4219
4923
  .p-settings .s-guest-audit > :is(p, ul) { margin: 0 20px 20px; }
4220
4924
  @media (max-width: 1199px) {
4221
- .p-settings .s-access-login-layout { grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); gap: 20px; }
4222
4925
  .p-settings .s-guest-workbench { grid-template-columns: minmax(0, 1fr); }
4223
4926
  .p-settings .s-guests .guest-list { min-height: 0; }
4224
4927
  }
4225
- @media (max-width: 899px) {
4226
- .p-settings .s-access-login-layout { grid-template-columns: minmax(0, 1fr); }
4227
- .p-settings .s-access-related { order: 2; }
4928
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
4228
4929
  .p-settings .s-dev-context { flex-basis: 100%; order: 3; }
4229
4930
  .p-settings .s-effective-view .s-ro-columns { display: none; }
4230
4931
  }
@@ -4232,7 +4933,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4232
4933
  .p-settings .s-access-banner { padding: 12px; }
4233
4934
  .p-settings .s-access-banner > p { flex-basis: calc(100% - 32px); }
4234
4935
  .p-settings .s-access-banner .s-access-policy { padding-left: 28px; }
4235
- .p-settings .s-access-related, .p-settings .s-sharing-list { padding: 16px; }
4936
+ .p-settings .s-sharing-list { padding: 16px; }
4236
4937
  .p-settings .s-guest-policy { grid-template-columns: minmax(0, 1fr); padding: 16px; }
4237
4938
  .p-settings .s-guest-policy > div + div { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 16px; }
4238
4939
  .p-settings .s-guest-columns { display: none; }
@@ -4244,7 +4945,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4244
4945
  .p-settings .s-dev-context { order: 3; flex-basis: 100%; }
4245
4946
  .p-settings .s-dev-actions { flex: none; flex-wrap: nowrap; gap: 4px; margin-left: auto; }
4246
4947
  .p-settings .s-dev-bar .seg-inline .btn { min-width: 50px; }
4247
- .p-settings .s-dev .s-yaml { padding: 16px; font-size: 12px; }
4948
+ .p-settings .s-dev .s-yaml { padding: 16px; font-size: var(--fs-xs); }
4248
4949
  .p-settings .s-dev-state { padding: 10px 12px; }
4249
4950
  .p-settings .s-effective-actions { justify-content: stretch; }
4250
4951
  .p-settings .s-effective-actions > button { width: 100%; justify-content: center; }
@@ -4507,8 +5208,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4507
5208
  the current item is bold, so it is the one that grew. The row of tabs (S4) scrolls instead, and the phone's list wraps. */
4508
5209
  .p-settings > .s-nav .seg-item { min-width: 0; max-width: 100%; }
4509
5210
  .p-settings > .s-nav .seg-item > span:not(.count) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
4510
- @media (min-width: 900px) and (max-width: 1099px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; } }
4511
- @media (max-width: 899px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; white-space: normal; } }
5211
+ @media (min-width: 900px) and (pointer: fine) and (max-width: 1099px), (min-width: 900px) and (pointer: none) and (max-width: 1099px), (min-width: 900px) and (min-height: 501px) and (max-width: 1099px), (min-width: 1024px) and (max-width: 1099px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; } }
5212
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .p-settings > .s-nav .seg-item > span:not(.count) { overflow: visible; text-overflow: clip; white-space: normal; } }
4512
5213
  /* S3. Wide (≥1100px): the category column is its own panel — the sidebar's tone and a divider on its right edge. */
4513
5214
  @media (min-width: 1100px) {
4514
5215
  .p-settings > .s-nav { background: var(--bg-sidebar); border-right: 1px solid var(--border); padding: var(--s-4) var(--s-3) var(--s-4) var(--s-3); }
@@ -4517,7 +5218,7 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4517
5218
  }
4518
5219
  /* S4. Middle (900–1099px): the row becomes real tabs — an underline for the current one, no group titles (a divider instead),
4519
5220
  and a fade at the right edge that says it scrolls. */
4520
- @media (min-width: 900px) and (max-width: 1099px) {
5221
+ @media (min-width: 900px) and (pointer: fine) and (max-width: 1099px), (min-width: 900px) and (pointer: none) and (max-width: 1099px), (min-width: 900px) and (min-height: 501px) and (max-width: 1099px), (min-width: 1024px) and (max-width: 1099px) {
4521
5222
  .p-settings > .s-nav { background: var(--bg); border-bottom: 1px solid var(--border); padding: 0 var(--s-4); }
4522
5223
  .p-settings > .s-nav .s-nav-head { display: none; }
4523
5224
  .p-settings > .s-nav .s-nav-groups { align-items: stretch; column-gap: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent); mask-image: linear-gradient(to right, black calc(100% - 32px), transparent); }
@@ -4528,10 +5229,8 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4528
5229
  .p-settings > .s-nav .seg-item.active { background: none; color: var(--accent); border-bottom-color: var(--accent); }
4529
5230
  .p-settings > .s-nav .seg-item.active::before { display: none; }
4530
5231
  }
4531
- /* S5. Phone: "‹ Settings" becomes a full-width bar under the header (tinted, bordered, 48px, the section's name at its right). */
4532
- @media (max-width: 899px) {
4533
- .p-settings > .panel-body .s-back { min-height: 48px; margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-4); padding: 0 var(--s-4); background: var(--surface); border-bottom: 1px solid var(--border); font-weight: var(--fw-semibold); }
4534
- .p-settings .s-back .s-back-here { font-weight: var(--fw-semibold); }
5232
+ /* S5. Phone (M-3245: the section's way back is the header's ←; no "‹ Settings" bar). */
5233
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
4535
5234
  .p-settings[data-view="index"] > .s-nav .s-nav-group + .s-nav-group { border-top: 0; padding-top: 0; }
4536
5235
  }
4537
5236
  /* The agent page's cards: two columns on a wide page (`.ap-span2` across both), one column when it is narrow. */
@@ -4543,6 +5242,43 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4543
5242
  /* A category's panel takes no box of its own: its cards are stacked by .s-section-layout's gap, like Settings' cards. */
4544
5243
  .ap-panel { display: contents; }
4545
5244
  .ap-panel[hidden] { display: none; }
5245
+ /* M-3734: an agent page's Who can use (agent-who-can-use.js): Web guests and Hub, each a card of the section's column. */
5246
+ .ap-who { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
5247
+ .ap-who .ap-who-admins { margin: 0; }
5248
+ .ap-who-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
5249
+ .ap-who-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; border-top: 1px solid var(--border); min-width: 0; }
5250
+ .ap-who-row:first-child { border-top: 0; }
5251
+ .ap-who-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
5252
+ background: var(--surface-2); color: var(--text-2); font-weight: 600; }
5253
+ .ap-who-id { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
5254
+ .ap-who-id .note { white-space: normal; }
5255
+ .ap-who-state { margin-top: 2px; }
5256
+ .ap-who-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
5257
+ .ap-who-actions .btn, .ap-who-derived .btn, .ap-who-hub .btn, .ap-who-guests > .field-row .btn { min-height: var(--tap); }
5258
+ .ap-who-add { margin-top: 16px; }
5259
+ .ap-who-add > summary { min-height: var(--tap); display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; list-style: none; }
5260
+ .ap-who-add > summary::-webkit-details-marker { display: none; }
5261
+ .ap-who-add > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
5262
+ .ap-who-add[open] > summary::before { transform: rotate(45deg); }
5263
+ .ap-who-derived { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 8px 0; }
5264
+ .ap-who-derived > .note { margin: 0; }
5265
+ .ap-who-derived .btn { margin-top: 4px; }
5266
+ .ap-who-go { white-space: nowrap; }
5267
+ .ap-who-guests > .field-row { margin: 4px 0 8px; }
5268
+ .ap-who-actions .ap-who-remove { margin-left: 16px; }
5269
+ .ap-who-confirm-note { margin-top: 4px; }
5270
+ .ap-who-add .input { width: 100%; max-width: 420px; min-height: var(--tap); margin: 8px 0; }
5271
+ .ap-who-off { padding: 2px 0 2px 10px; border-left: 3px solid var(--warn); color: var(--text); }
5272
+ .ap-who-hub-state { margin: 8px 0; font-weight: 600; }
5273
+ .ap-who-hub[data-hub-state="shared"] .ap-who-hub-state { color: var(--ok); }
5274
+ .ap-who .err { color: var(--danger); }
5275
+ .ap-who .field-row { flex-wrap: wrap; }
5276
+ .ap-who .field-row .btn { white-space: normal; text-align: center; max-width: 100%; }
5277
+ @media (max-width: 599px) {
5278
+ .ap-who .field-row { flex-direction: column; align-items: stretch; }
5279
+ .ap-who-actions { margin-left: calc(32px + 12px); width: 100%; }
5280
+ .ap-who-actions .ap-who-remove { margin-left: auto; }
5281
+ }
4546
5282
  .p-details .d-actions .field-row { flex-wrap: wrap; }
4547
5283
  /* The sidebar's ⚙: one step to an agent's settings — on hover or focus on a desktop and on the open row, always on a touch screen. */
4548
5284
  .inst-gear { flex: none; width: 28px; height: 28px; padding: 0; color: var(--text-3); display: inline-grid; place-items: center; }
@@ -4559,3 +5295,390 @@ html.oo-immersive .p-fleet > .panel-body { z-index: 50; }
4559
5295
  .chat-popout .main { width: 100%; }
4560
5296
  .chat-popout .popup-pane-head { flex-wrap: nowrap; gap: var(--s-1); padding: var(--s-1) var(--s-2); }
4561
5297
  .chat-popout .popup-pane-head .inst-switch { flex-basis: auto; order: initial; width: auto; display: flex; }
5298
+
5299
+ /* M-3166 (Argon 4–5, the user's OK of round 2): a phone moves around by its drawer alone — no bottom tab bar, no counts or
5300
+ badges on the Fleet side. The drawer is a phone's own: 300 px; one search (the agent filter) with [+] beside it at the top;
5301
+ Fleet 概覽 and 等你處理; then the agents, rows of 48 px (no CLI marks, % or ⋯); 設定 at the foot. M-3209 (the user, iPhone,
5302
+ beta.6: 「大頭被改壞了」): a row's face is the list's own — Detailed, the whole avatar with its dot on its corner; Compact, the
5303
+ dot alone (instance-nav.js draws no avatar there). The drawer shrank the avatar to 10 px and hid only its letters, so a
5304
+ picture or an emoji stayed, squashed beside its dot. Fleet is two rows: ☰ and its tabs, then the page's tools; the org page opens on its list. */
5305
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5306
+ .tabs { display: none !important; }
5307
+ /* The tab bar's room goes; a list page keeps the home-indicator inset. Not inside an agent's pages (the dock keeps it, #3972)
5308
+ nor with the keyboard up (the box sits on the keyboard, #2478): there the padding stays 0. */
5309
+ .shell:not(.in-agent):not(.kb-open) .main { padding-bottom: env(safe-area-inset-bottom); }
5310
+ .sidebar.fleet-side .nav-count, .sidebar.fleet-side .v-group-head .count { display: none !important; }
5311
+ /* M-3211 (the user, 11-16): the drawer is the screen's width (no page beside it: it closes by ←, a swipe to the left —
5312
+ #1605 — or a tap on an agent), and its agents are a messenger's chat list (Telegram's as the reference): the name
5313
+ 17 px semibold, the second line 15 px; Detailed, a 54 px avatar and rows of 72 px; Compact, the dot alone, rows of 52 px. */
5314
+ .sidebar.fleet-side:not(.drawer-narrow) { width: 100vw; max-width: 100vw; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); box-sizing: border-box; }
5315
+ .sidebar.fleet-side:not(.drawer-narrow) .side-head { padding-left: var(--s-1); }
5316
+ .sidebar.fleet-side:not(.drawer-narrow) .side-collapse { order: -1; min-width: var(--tap); min-height: var(--tap); }
5317
+ .sidebar.fleet-side:not(.drawer-narrow) .side-collapse .ic-sidebar { display: none; }
5318
+ .sidebar.fleet-side:not(.drawer-narrow) .side-collapse .ic-close { display: inline-block; }
5319
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst { min-height: 72px; gap: var(--s-3); padding-block: var(--s-2); }
5320
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst .av { width: 54px; height: 54px; margin-top: 0; font-size: var(--fs-xl); }
5321
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst .av.av-emoji { font-size: calc(var(--fs-xl) * 1.4); }
5322
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst .av.av-emoji img { width: 40px; height: 40px; }
5323
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst .av .av-dot { right: 1px; bottom: 1px; width: 14px; height: 14px; box-shadow: 0 0 0 2.5px var(--bg-sidebar); }
5324
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst:is(.active, :hover) .av .av-dot { box-shadow: 0 0 0 2.5px var(--surface-2); }
5325
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst .inst-name { font-size: var(--fs-lg); line-height: calc(22px * var(--text-scale)); font-weight: var(--fw-semibold); }
5326
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst :is(.inst-alt, .inst-when, .inst-machine) { font-size: var(--fs-md); line-height: calc(20px * var(--text-scale)); }
5327
+ .sidebar.fleet-side:not(.drawer-narrow) .v-inst .inst-line2 { margin-top: 2px; }
5328
+ .sidebar.fleet-side:not(.drawer-narrow) .inst-nav.compact .v-li, .sidebar.fleet-side:not(.drawer-narrow) .inst-nav.compact .v-inst { height: 52px; min-height: 52px; padding-block: 0; }
5329
+ .sidebar.fleet-side:not(.drawer-narrow) .inst-nav.compact .inst-status { width: 10px; height: 10px; }
5330
+ .sidebar.fleet-side:not(.drawer-narrow) .inst-nav.compact .inst-line2 { margin-top: 0; }
5331
+ /* M-3222 (the user, iPhone, beta.6): the reminders were big boxes — a fresh reply tinted its row (and pulsed), and a
5332
+ finger's left-over hover tinted another, blocks of uneven height with a lighter band between neighbours. In the drawer
5333
+ (either width) a fresh reply is a quiet marker at the row's own height, its reply time in the accent (.inst-when.fresh);
5334
+ the open row keeps its background. No counts, no dots (the user's rule for the Fleet side). */
5335
+ .sidebar.fleet-side .inst.replied:not(.active):not(:hover) { background: none; }
5336
+ .sidebar.fleet-side .inst.just:not(.active) { animation: none; }
5337
+ .sidebar.fleet-side .inst-nav.compact .inst-when.fresh { color: var(--accent); font-weight: var(--fw-semibold); } /* Compact mutes the time; not a fresh one here */
5338
+ @media (hover: none) { .sidebar.fleet-side .inst:hover:not(.active) { background: none; } }
5339
+ /* M-3212 (the user, 11-16): 窄版, chosen per browser (instance-nav.js, 手機側欄): the drawer as it was before M-3211 — 300 px with
5340
+ the page beside it, the sidebar icon at its right, rows of 48 px in the list's own sizes (the avatars as M-3209 left them). */
5341
+ .sidebar.fleet-side.drawer-narrow { width: 300px; }
5342
+ .sidebar.fleet-side.drawer-narrow .v-inst { min-height: 48px; }
5343
+ /* M-3212: the drawer's agents follow 文字大小 (header-tools.js) in either width, as the chat does (#1523 N3). */
5344
+ .sidebar.fleet-side .inst-nav {
5345
+ --fs-xs: calc(var(--fs-xs-base) * var(--text-scale)); --lh-xs: calc(var(--lh-xs-base) * var(--text-scale));
5346
+ --fs-sm: calc(var(--fs-sm-base) * var(--text-scale)); --lh-sm: calc(var(--lh-sm-base) * var(--text-scale));
5347
+ --fs-2xs: calc(var(--fs-2xs-base) * var(--text-scale)); --fs-3xs: calc(var(--fs-3xs-base) * var(--text-scale));
5348
+ --fs-md: calc(15px * var(--text-scale)); --lh-md: calc(24px * var(--text-scale));
5349
+ --fs-lg: calc(17px * var(--text-scale)); --lh-lg: calc(24px * var(--text-scale));
5350
+ --fs-xl: calc(22px * var(--text-scale)); --lh-xl: calc(28px * var(--text-scale));
5351
+ }
5352
+ .sidebar.fleet-side .side-nav, .sidebar.fleet-side .view-roster { display: contents; }
5353
+ .sidebar.fleet-side .side-head { order: 0; }
5354
+ .sidebar.fleet-side .v-filter { order: 1; position: relative; padding: var(--s-1) calc(var(--tap) + var(--s-3)) var(--s-2) var(--s-3); border: 0; }
5355
+ .sidebar.fleet-side .v-filter .nav-facets { display: none; }
5356
+ .sidebar.fleet-side .v-filter { display: flex; align-items: center; gap: var(--s-1); }
5357
+ .sidebar.fleet-side .v-filter-box { flex: 1; min-width: 0; }
5358
+ .sidebar.fleet-side .nav-sort-phone { display: block; flex: none; }
5359
+ .sidebar.fleet-side .nav-sort-phone > .icon-btn { min-width: var(--tap); min-height: var(--tap); }
5360
+ /* M-3217: + is the filter row's last control (instance-nav.js); the old one, placed at a fixed height (it landed on the
5361
+ Hub switch's row), goes — only when the new one is there (an older cached script keeps its own). */
5362
+ .sidebar.fleet-side .v-filter-new { display: inline-flex; flex: none; min-width: var(--tap); min-height: var(--tap); }
5363
+ .sidebar.fleet-side:has(.v-filter-new) .side-nav > .side-new { display: none !important; }
5364
+ .sidebar.fleet-side:has(.v-filter-new) .v-filter { padding-right: var(--s-2); }
5365
+ .sidebar.fleet-side .side-nav > .side-row { order: 2; }
5366
+ .sidebar.fleet-side #instanceList { order: 3; flex: 1; min-height: 0; overflow-y: auto; }
5367
+ .sidebar.fleet-side .side-foot { order: 4; }
5368
+ .sidebar.fleet-side .side-search, .sidebar.fleet-side .side-nav > a[href="/ui/notices"], .sidebar.fleet-side .inst-head { display: none !important; }
5369
+ .sidebar.fleet-side .side-new { position: absolute; top: calc(var(--header-h) + max(var(--s-1), env(safe-area-inset-top))); right: var(--s-2); width: var(--tap); height: var(--tap); padding: 0; justify-content: center; }
5370
+ .sidebar.fleet-side .side-new .grow { display: none; }
5371
+ .sidebar.fleet-side .inst-row-menu, .sidebar.fleet-side .av-cli, .sidebar.fleet-side .v-group-kind, .sidebar.fleet-side .v-meta { display: none !important; }
5372
+ .p-fleet > .panel-head .sb-search, .p-fleet > .panel-head .panel-actions { display: none !important; }
5373
+ /* M-3722: two rows — ☰ and this page's name (a host-memory warning, its subtitle, under it, #4008 review), then every tab
5374
+ as an icon across the whole width, each a full touch target: eight no longer fit beside ☰ at 390 px. A tab's name stays
5375
+ its accessible name (visually hidden). */
5376
+ .p-fleet > .panel-head { flex-wrap: wrap; }
5377
+ .p-fleet > .panel-head .panel-title { flex: 1 1 0; min-width: 0; }
5378
+ .p-fleet > .panel-head .panel-title h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
5379
+ .p-fleet > .panel-head .panel-title .panel-sub:has(.host-mem) { flex: 1 1 auto; width: auto; }
5380
+ .p-fleet > .panel-head .fleet-phone-tabs { order: 20; flex: 1 0 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; min-width: 0; padding: 0; margin: 0; overflow: visible; }
5381
+ .p-fleet > .panel-head .fleet-phone-tabs .seg-item { min-height: var(--tap); min-width: 0; padding: 0; justify-content: center; }
5382
+ /* The tab you are on: a flat accent-tinted pill and the accent icon (≥ 3:1: the cue). The grey tile alone was about 1.2:1; a
5383
+ line under it read as a raised key (the user, #4453). No line, border or shadow; the same in dark. */
5384
+ .p-fleet > .panel-head .fleet-phone-tabs .seg-item.active { color: var(--accent); background: var(--surface-2); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); box-shadow: none; border-color: transparent; }
5385
+ .p-fleet > .panel-head .fleet-phone-tabs .seg-item span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
5386
+ .p-fleet .oc-bar > span:first-child, .p-fleet .oc-bar .org-counts { display: none; }
5387
+ .p-fleet .oc-bar .oc-tools { flex-wrap: nowrap; overflow-x: auto; width: 100%; }
5388
+ }
5389
+ /* M-3722 (#4453 review): eight 44 px tabs need 352 px. Under 384 px (the gutters would leave less: 360 px phones, 375 px
5390
+ ones) the row runs edge to edge; under 352 px it is two rows of four. Every tab stays a 44 × 44 target. */
5391
+ @media (max-width: 383px) {
5392
+ .p-fleet > .panel-head .fleet-phone-tabs { margin-left: calc(-1 * max(var(--s-4), env(safe-area-inset-left))); margin-right: calc(-1 * max(var(--s-4), env(safe-area-inset-right))); }
5393
+ }
5394
+ @media (max-width: 351px) {
5395
+ .p-fleet > .panel-head .fleet-phone-tabs { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
5396
+ }
5397
+ /* M-3166 (Argon 2, the user's OK of round 2): on a phone a toast (an agent waiting for you, a result) is one line — a pill that a
5398
+ tap puts away — and none shows while the keyboard is up. */
5399
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5400
+ .toasts .toast { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: var(--r-full); padding: var(--s-1) var(--s-3); font-size: var(--fs-sm); cursor: pointer; }
5401
+ .kb-open .toasts { display: none; }
5402
+ }
5403
+
5404
+ /* ── M-3339: contact authorizations (contact-permissions.js, contact-authorizations.js, the chat badge, Needs you) ── */
5405
+ .contact-pill { display: inline-flex; align-items: center; gap: var(--s-1); padding: 1px var(--s-2); border-radius: 999px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); border: 1px solid transparent; }
5406
+ .contact-pill.ok { color: var(--ok); background: var(--ok-bg); }
5407
+ .contact-pill.warn { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
5408
+ .contact-pill.bad { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-line); }
5409
+ .contact-pill.muted { color: var(--text-2); background: var(--surface); border-color: var(--border); }
5410
+ .contact-perm, .contact-auth-page, .contact-ticket-list { display: flex; flex-direction: column; gap: var(--s-3); }
5411
+ .contact-list { list-style: none; margin: var(--s-2) 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
5412
+ .contact-list > li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); padding: var(--s-2) 0; border-top: 1px solid var(--border); }
5413
+ .contact-list > li:first-child { border-top: 0; }
5414
+ .contact-list > li > div, .contact-list > li > .feedback { flex-basis: 100%; }
5415
+ .contact-list .icon-btn { margin-left: auto; }
5416
+ .contact-would ul { margin: var(--s-1) 0 0; padding-left: var(--s-5); }
5417
+ .contact-toggle { min-height: var(--tap); }
5418
+ .contact-approver-add select, .contact-mcp-add .input { flex: 1; min-width: 0; }
5419
+ .contact-owner-warning { display: flex; align-items: center; gap: var(--s-1); margin: 0; }
5420
+ .card.contact-ticket { margin: 0; min-width: 0; }
5421
+ .contact-ticket > *, .contact-ticket-foot > *, .contact-decide > :not(.dlg) { margin: 0; }
5422
+ .contact-ticket[data-state="pending"] { --lbar-color: var(--warn); }
5423
+ .contact-ticket.focus { outline: 2px solid var(--focus); outline-offset: 2px; }
5424
+ .contact-ticket-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-md); line-height: var(--lh-md); }
5425
+ .contact-ticket-head strong { font-weight: var(--fw-semibold); }
5426
+ .contact-ticket-id { font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text-2); }
5427
+ .contact-ticket-state { margin-left: auto; }
5428
+ .contact-ticket-meta { display: flex; flex-direction: column; gap: var(--s-1); }
5429
+ .contact-ticket-route, .contact-ticket-origin { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); margin: 0; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-3); }
5430
+ .contact-agent-chip { font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-medium); color: var(--text); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
5431
+ .contact-ticket-origin .link-btn { border: 0; background: none; padding: 0; color: var(--accent); cursor: pointer; font: inherit; font-weight: var(--fw-medium); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
5432
+ .contact-hop-chain { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-1); min-width: 0; }
5433
+ .contact-hop { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
5434
+ .contact-ticket-message { margin: 0; padding: var(--s-3) var(--s-4); width: 100%; box-sizing: border-box; max-height: 14em; overflow-y: auto; white-space: pre-wrap; overflow-wrap: break-word; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--font-ui); font-size: var(--fs-sm); line-height: var(--lh-sm); }
5435
+ .contact-ticket-foot { display: flex; flex-direction: column; gap: var(--s-1); color: var(--text-3); font-size: var(--fs-xs); line-height: var(--lh-xs); font-variant-numeric: tabular-nums; }
5436
+ .contact-ticket-foot .note, .contact-decide .note { font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--text-3); }
5437
+ .contact-ticket[data-state="pending"] .contact-reason { color: var(--text-2); }
5438
+ .contact-ticket-times { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-4); }
5439
+ .contact-time-item { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
5440
+ .contact-decide { display: flex; flex-direction: column; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--border); font-size: var(--fs-sm); }
5441
+ .contact-decide-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
5442
+ /* M-3736 J (S-228): the one card — Authorize this browser inline while unverified; the choice made before verification
5443
+ marked (a ring, not focus: focus stays where it was); a host whose state isn't known says why. */
5444
+ /* The credits card's layout (the user's approved one-card style): a standard .n-item; the verify line is one row. */
5445
+ .rc-verify { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); margin-top: var(--s-1); font-size: var(--fs-sm); color: var(--text-2); }
5446
+ .rc-verify > *, .rc-auth > *, .rc-more > p { margin: 0; }
5447
+ .rc-auth { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
5448
+ .rc-more > p { margin-top: var(--s-1); }
5449
+ .rc-card .rc-reason .rc-state { margin-right: var(--s-1); }
5450
+ .rc-card :is(.rc-reason, .rc-verify > span) { word-break: keep-all; overflow-wrap: anywhere; }
5451
+ /* The scope phrase wraps as a whole (never "繼續= / 只放行…"), onto its own line when the reason leaves no room. */
5452
+ .rc-card .rc-scope { display: inline-block; max-width: 100%; }
5453
+ .rc-unknown { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
5454
+ .rc-unknown > * { margin: 0; }
5455
+ .contact-allow .field { flex: 1; min-width: 10em; }
5456
+ .contact-person-filter { max-width: 100%; min-width: 0; }
5457
+ .contact-person-filter > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
5458
+ .contact-person-filter .chip-x { flex: none; }
5459
+ .contact-agent-filter { max-width: 100%; }
5460
+ .contact-agent-filter select { min-width: 0; max-width: min(16em, 100%); }
5461
+ .contact-auth-page > .s-page-lead, .contact-filters { margin: 0; }
5462
+ .contact-allow { flex-wrap: wrap; }
5463
+ /* M-3385: the request's text says what it is; a waiting request's line says how long it waits (it wraps, never cut off);
5464
+ "also allow" is a short label beside the buttons with its detail (who, what, where it lives) in the ⓘ right after it;
5465
+ on a phone the date-and-time field gets the row's whole width (side by side it was cut off). */
5466
+ .contact-ticket-message-box { display: flex; flex-direction: column; gap: var(--s-1); }
5467
+ .contact-ticket-label { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-semibold); color: var(--text-2); }
5468
+ .contact-time-item.contact-time-wait { white-space: normal; }
5469
+ /* The label and its ⓘ are one run of text: when the label wraps, the ⓘ follows its last word (never alone at the edge). */
5470
+ .contact-toggle-pair { display: block; flex: 1 1 12em; min-width: 0; text-wrap: balance; }
5471
+ .contact-toggle-pair .contact-toggle { display: inline; }
5472
+ .contact-toggle-pair .contact-toggle input { vertical-align: middle; margin: 0 var(--s-2) 0 0; }
5473
+ .contact-toggle-pair .info-tip { margin-left: var(--s-1); vertical-align: middle; }
5474
+ /* On a phone the label's tap target is the --tap height: vertical padding on the inline label (its hit area, not the line). */
5475
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .contact-toggle-pair .contact-toggle { padding-block: 14px; } }
5476
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .contact-allow { flex-direction: column; align-items: stretch; } }
5477
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5478
+ .contact-ticket-origin .link-btn, .contact-perm .icon-btn, .contact-filters .btn, .contact-person-filter .chip-x, .contact-agent-filter select, .contact-decide .btn, .contact-auth-page .empty .btn { min-height: var(--tap); min-width: var(--tap); }
5479
+ .contact-allow input { min-height: var(--tap); font-size: max(1rem, var(--fs-sm)); }
5480
+ }
5481
+ .msg .meta .contact-badge { display: inline-flex; align-items: center; margin-left: var(--s-2); padding: 0 var(--s-2); border-radius: 999px; font-size: var(--fs-xs); font-weight: var(--fw-semibold);
5482
+ color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); text-decoration: none; }
5483
+ .msg .meta .contact-badge.ok { color: var(--ok); background: var(--ok-bg); border-color: transparent; }
5484
+
5485
+ /* M-3368: a centred colour chooser on both layouts; every miniature uses the page's own palette tokens. */
5486
+ .dlg.theme-picker { width: min(560px, calc(100vw - 32px)); height: fit-content; max-height: 90dvh; margin: auto; border-radius: var(--r-lg); }
5487
+ .theme-picker .dlg-box { height: auto; max-height: 90dvh; }
5488
+ .theme-picker .dlg-body { min-height: 0; }
5489
+ .theme-picker .dlg-head, .theme-picker .dlg-actions { flex: none; }
5490
+ .theme-colours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
5491
+ .theme-colour { position: relative; display: flex; flex-direction: column; min-width: 0; gap: var(--s-2); padding: var(--s-2); border: 2px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; }
5492
+ .theme-colour.selected { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
5493
+ .theme-colour:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
5494
+ .theme-colour > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
5495
+ .theme-colour-name { display: flex; align-items: center; gap: var(--s-1); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
5496
+ .theme-tick { margin-left: auto; width: var(--s-4); flex: none; }
5497
+ .theme-swatch { display: flex; width: 100%; height: 64px; overflow: hidden; border-radius: var(--r-sm); background: var(--bg); }
5498
+ .theme-swatch-side { width: 28%; display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-2) var(--s-1); background: var(--bg-sidebar); }
5499
+ .theme-swatch-side i { height: var(--s-1); background: var(--accent-fill); border-radius: var(--r-full); }
5500
+ .theme-swatch-chat { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); padding: var(--s-2); }
5501
+ .theme-swatch-chat i { width: 75%; height: var(--s-3); background: var(--user-bubble); border-radius: var(--r-sm); }
5502
+ .theme-swatch-chat i:last-child { width: 50%; align-self: flex-end; background: var(--accent-fill); }
5503
+ .theme-appearance { border: 0; padding: 0; margin: var(--s-2) 0 0; min-width: 0; }
5504
+ .theme-appearance legend { padding: 0; margin-bottom: var(--s-2); font-weight: var(--fw-medium); }
5505
+ .theme-mode-options { display: flex; flex-wrap: wrap; gap: var(--s-3); }
5506
+ .theme-mode-options .check { min-height: var(--tap); }
5507
+ .s-theme-colours { align-self: flex-start; }
5508
+ .s-theme-colours-row > .grow { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
5509
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5510
+ .s-theme-colours { min-width: var(--tap); min-height: var(--tap); }
5511
+ .theme-colours { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
5512
+ .theme-picker .dlg-head { padding-top: var(--s-3); }
5513
+ .theme-picker .dlg-body { padding-bottom: var(--s-2); }
5514
+ .theme-picker .dlg-actions { padding-top: var(--s-2); }
5515
+ .theme-mode-options { gap: var(--s-2); }
5516
+ }
5517
+
5518
+ /* Meadow keeps the surrounding UI neutral; inline agent colours still override these inherited tokens. */
5519
+ :root[data-palette="meadow"] .shell:not(.th-page) .p-chat { --bg: var(--palette-chat-bg); --text-2: var(--palette-chat-text-2); --text-3: var(--palette-chat-text-3); background: var(--bg); color: var(--text); }
5520
+ :root[data-palette="meadow"] .shell:not(.th-page) .p-chat > .panel-head { background: var(--surface-2); }
5521
+ :root[data-palette="meadow"] .shell:not(.th-page) .p-chat .msg .meta { width: fit-content; padding: 0 var(--s-1); border-radius: var(--r-sm); background: var(--surface); }
5522
+ :root[data-palette="meadow"] .shell:not(.th-page) .p-chat .msg.user .meta { margin-left: auto; }
5523
+ .theme-swatch[data-palette="meadow"] .theme-swatch-chat { background: var(--palette-chat-bg); }
5524
+ .theme-swatch[data-palette="meadow"] .theme-swatch-chat i:last-child { background: var(--accent-decoration); }
5525
+
5526
+ /* M3377: original leaf/grass art is static on the panel; only its child messages scroll. */
5527
+ :root[data-palette="meadow"] .shell:not(.th-page) .p-chat:not([style*="--bg:"]) {
5528
+ background-image: var(--meadow-wallpaper-tile), linear-gradient(145deg, var(--meadow-wallpaper-start), var(--meadow-wallpaper-end));
5529
+ background-size: 192px 192px, 100% 100%;
5530
+ background-position: 0 0, 0 0;
5531
+ background-repeat: repeat, no-repeat;
5532
+ }
5533
+
5534
+ /* M-3419 approved credential UI: shared controls, with touch sizing only; no new visual treatment. */
5535
+ .credential-dialog :is(p, strong, legend) { overflow-wrap: anywhere; }
5536
+ @media (max-width: 899px), (pointer: coarse) {
5537
+ .credential-dialog :is(.check, summary, .field input, .credential-help, .credential-token-fetch .btn) { min-height: var(--tap); }
5538
+ .credential-dialog .check, .credential-dialog summary { align-items: center; }
5539
+ .credential-dialog summary { display: flex; }
5540
+ /* The inherited Needs you notification action is a touch target in these mockups too. */
5541
+ .p-needs .n-notify .btn { min-height: var(--tap); }
5542
+ }
5543
+
5544
+ .credential-method-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); }
5545
+ .credential-method-row .check { flex: 1; min-width: 0; }
5546
+ .credential-help { flex-shrink: 0; }
5547
+ .credential-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); cursor: pointer; list-style: none; }
5548
+ .credential-disclosure > summary::-webkit-details-marker { display: none; }
5549
+ .credential-disclosure > summary > .icon { flex-shrink: 0; }
5550
+ .credential-disclosure[open] > summary > .icon { transform: rotate(0deg); }
5551
+ .credential-disclosure:not([open]) > summary > .icon { transform: rotate(-90deg); }
5552
+ /* Use the shared runtime-change dialog's fixed header/footer and scrolling body pattern. */
5553
+ .credential-dialog .dlg-head, .credential-dialog .dlg-actions { flex: 0 0 auto; }
5554
+ .credential-dialog .dlg-body { flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; scroll-padding-block: var(--s-4); padding-bottom: var(--s-6); }
5555
+ .credential-dialog .dlg-body > * { flex-shrink: 0; }
5556
+
5557
+ /* M3454/S207: Host health uses the Fleet cards and shared page head. */
5558
+ .host-health { min-width: 0; }
5559
+ .host-health .s-page-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
5560
+ .host-health :is(.host-sample-time, .host-load-value) { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
5561
+ .host-health .host-coverage { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
5562
+ .host-health .host-word { display: inline-block; white-space: nowrap; overflow-wrap: normal; }
5563
+ .host-health .host-pressure-value { white-space: nowrap; overflow-wrap: normal; }
5564
+ .host-health .host-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
5565
+ .host-health .host-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
5566
+ .host-health .host-compute { display: contents; }
5567
+ .host-health .host-storage { grid-column: 1; grid-row: 1; }
5568
+ .host-health .host-space-meter { display: block; width: 100%; height: 8px; margin: 12px 0; accent-color: var(--accent); }
5569
+ .host-health .host-chart circle { fill: var(--accent); }
5570
+ .host-health .card { min-width: 0; }
5571
+ .host-health h3, .host-health h4 { margin: 0 0 12px; }
5572
+ .host-health .host-value { margin: 8px 0; font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--text); overflow-wrap: anywhere; }
5573
+ .host-health .host-range { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
5574
+ .host-health .host-range .active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
5575
+ .host-health .host-volume + .host-volume { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
5576
+ .host-health .host-chart { min-width: 0; margin: 16px 0 0; }
5577
+ .host-health .host-chart figcaption { font-size: var(--fs-sm); color: var(--text-2); }
5578
+ .host-health .host-chart svg { display: block; width: 100%; height: auto; max-height: 150px; overflow: visible; margin: 8px 0; }
5579
+ .host-health .host-chart polyline { stroke: var(--accent); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
5580
+ .host-health .host-chart line { stroke: var(--border); vector-effect: non-scaling-stroke; }
5581
+ .host-health .host-chart .note { margin: 4px 0; }
5582
+ .host-health .host-no-history { padding: 20px 0; }
5583
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5584
+ .p-settings #host-monitoring :is(select, input[type="number"], summary) { min-height: var(--tap); min-width: var(--tap); font-size: max(1rem, var(--fs-sm)); }
5585
+ .host-health .host-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
5586
+ .host-health .host-storage { grid-row: 1; grid-column: 1 / -1; }
5587
+ .host-health .s-page-actions { width: 100%; }
5588
+ .host-health .btn { min-height: 44px; min-width: 44px; }
5589
+ }
5590
+
5591
+ /* Bounded agent table: scroll is confined to the table, never the page. */
5592
+ .host-footprint .table-wrap { max-width: 100%; overflow-x: auto; }
5593
+ .host-footprint table { width: 100%; border-collapse: collapse; text-align: start; }
5594
+ .host-footprint th, .host-footprint td { padding: var(--s-2); border-bottom: 1px solid var(--border); vertical-align: middle; }
5595
+ .host-footprint td { white-space: nowrap; font-variant-numeric: tabular-nums; }
5596
+ .host-footprint th:first-child { min-width: 8rem; }
5597
+ .host-footprint th .btn { white-space: normal; overflow-wrap: anywhere; text-align: start; }
5598
+ .host-footprint [aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
5599
+
5600
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5601
+ .host-footprint th:first-child { min-width: 6rem; }
5602
+ .host-footprint th, .host-footprint td { padding: var(--s-1); }
5603
+ }
5604
+
5605
+ .host-footprint-sample { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
5606
+ .host-footprint-memory { white-space: nowrap; }
5607
+
5608
+ .host-footprint-managed { white-space: nowrap; }
5609
+
5610
+ /* Shared-default adoption is an explicit choice before Save, including touch. */
5611
+ .s-default-adoption select { min-height: var(--tap); max-width: 100%; width: 100%; }
5612
+
5613
+ /* Let operation labels take a readable line before their outcome on narrow screens. */
5614
+ .s-op .s-step .grow { flex-basis: 12rem; }
5615
+ .s-op-name, .s-op-slug { display: block; overflow-wrap: anywhere; }
5616
+ .p-settings .s-page-lead { text-wrap: pretty; }
5617
+
5618
+ .p-settings .s-default-lead-tail { white-space: nowrap; }
5619
+
5620
+ /* Scoped grant metadata wraps as whole phrases; disabled decisions stay readable. */
5621
+ .contact-grant-meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
5622
+ /* #4497: the expiry as a day and a 24-hour time from selects; they wrap as a group on a narrow sheet. */
5623
+ .contact-grant-when { display: flex; flex-direction: column; gap: var(--s-2); }
5624
+ .contact-until { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
5625
+ .contact-until > select { flex: 1 1 12rem; min-width: 0; }
5626
+ .contact-until-time { display: inline-flex; align-items: center; gap: var(--s-1); white-space: nowrap; }
5627
+ .contact-grant-dialog .dlg-body :is(p, .check span) { word-break: keep-all; overflow-wrap: anywhere; } /* zh words whole */
5628
+ /* #4497 recheck: the body scrolls between the head and the footer (a flex child's min-height: auto let it run under the
5629
+ footer buttons on a phone), with room after its last line so that line scrolls clear of them. */
5630
+ .contact-grant-dialog .dlg-body { min-height: 0; padding-bottom: var(--s-6); }
5631
+ .contact-grant-dialog .dlg-title { text-wrap: balance; } /* M-3783: a two-line title on a phone splits evenly, no one-word last line */
5632
+ /* M-3783: the essentials in one line; what the rule allows, folded under it. */
5633
+ .contact-grant-more summary { cursor: pointer; color: var(--accent); font-size: var(--fs-sm); }
5634
+ .contact-grant-more > p { margin: var(--s-1) 0 0; }
5635
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5636
+ .contact-grant-more summary { display: list-item; min-height: var(--tap); padding-block: var(--s-2); box-sizing: border-box; } /* keeps its ▶ marker */
5637
+ }
5638
+ /* #4497: the save button's two-part label wraps inside the button on a phone instead of widening the dialog (m3409's overflow
5639
+ check), as the Hub directory editor's footer does. */
5640
+ .contact-grant-dialog .dlg-actions .btn { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; text-align: center; padding-block: var(--s-2); } /* zh words whole: 「…並設為 / 常用轉交」, never 常 / 用 (M-3783) */
5641
+ /* #4497 recheck: the card's decision buttons keep their whole words; the row wraps to a second line instead of clipping. */
5642
+ .rc-card .rc-decide > .btn { flex: 0 0 auto; max-width: 100%; }
5643
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5644
+ .contact-grant-dialog :is(input:not([type=checkbox]), select, .check) { min-height: var(--tap); }
5645
+ }
5646
+
5647
+ /* M-3610: Fleet › Tasks on a phone (or a coarse pointer) — every toolbar control a full tap target (--tap, 44px): the
5648
+ Fleet tab pills, the search boxes (home, a project), Instances / New project / New main task, and a project's Back and
5649
+ Stats. A desktop with a fine pointer keeps its compact bar. */
5650
+ @media (max-width: 899px), (pointer: coarse) {
5651
+ .p-fleet .seg .seg-item { min-height: var(--tap); }
5652
+ .p-fleet .tb-search input { min-height: var(--tap); }
5653
+ .p-fleet :is(.tb-head-actions, .tb-title, .tb-stats) .btn { min-height: var(--tap); }
5654
+ .p-fleet .tb-project-menu .icon-btn { width: var(--tap); height: var(--tap); } /* a project tile's ⋯ */
5655
+ }
5656
+
5657
+ /* M-3678: the new owner stop action follows the phone tap target. */
5658
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) { .n-actions .hub-close { min-height: var(--tap); min-width: var(--tap); } }
5659
+
5660
+ /* H: provenance stays outside the collapsible message, with the existing flat notice disclosure. */
5661
+ .request-provenance { color: var(--text-2); margin-bottom: var(--s-2); overflow-wrap: anywhere; }
5662
+ .request-provenance strong { color: var(--text); font-size: inherit; font-weight: 600; }
5663
+ .request-provenance p { margin: var(--s-1) 0; }
5664
+ .request-provenance .n-raw { margin: var(--s-1) 0; }
5665
+ .request-provenance summary { cursor: pointer; list-style: disclosure-closed inside; }
5666
+ .request-provenance details[open] > summary { list-style-type: disclosure-open; }
5667
+ .request-provenance .msg-tools { opacity: 1; }
5668
+ .request-provenance .n-raw-text { white-space: pre-wrap; overflow-wrap: anywhere; }
5669
+
5670
+ @media (max-width: 899px), (pointer: coarse) and (max-height: 500px) and (max-width: 1023px) {
5671
+ .request-provenance summary { min-height: var(--tap); display: list-item; padding-block: var(--s-3); }
5672
+ .request-provenance .msg-tools button { min-height: var(--tap); min-width: var(--tap); }
5673
+ }
5674
+
5675
+ /* One neutral viewport for Hub startup, before any workspace identity is drawn. */
5676
+ .session-loading-page { display: grid; place-items: center; min-height: 100dvh; box-sizing: border-box; margin: 0; padding: var(--s-4); background: var(--bg); color: var(--text-2); }
5677
+ /* Like .sk-boot, the initial frame is visible immediately, without content's anti-flash delay. */
5678
+ .session-loading-page .skeleton { opacity: 1; animation: none; }
5679
+
5680
+ /* Beta.28 wording pass: the request-based approvals card keeps zh words whole (「關閉」, never 「關 / 閉」); a word too long still breaks. */
5681
+ .request-context-control p { word-break: keep-all; overflow-wrap: anywhere; }
5682
+
5683
+ /* Keep Traditional Chinese clauses together in the same card on Needs you. */
5684
+ :lang(zh) .request-context-need p { word-break: keep-all; overflow-wrap: anywhere; }