synabun 2.2.1 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +1 -1
  3. package/docs/whatsapp.md +52 -20
  4. package/hooks/claude-code/pre-websearch.mjs +4 -1
  5. package/hooks/claude-code/prompt-submit.mjs +7 -0
  6. package/lib/mcp-build.js +519 -0
  7. package/lib/mcp-dist.js +10 -4
  8. package/lib/release-scan.mjs +23 -10
  9. package/lib/server-supervisor.js +7 -1
  10. package/lib/virustotal.mjs +146 -40
  11. package/mcp-server/dist/http.d.ts +57 -0
  12. package/mcp-server/dist/http.d.ts.map +1 -1
  13. package/mcp-server/dist/http.js +128 -18
  14. package/mcp-server/dist/http.js.map +1 -1
  15. package/mcp-server/dist/index.d.ts.map +1 -1
  16. package/mcp-server/dist/index.js +14 -9
  17. package/mcp-server/dist/index.js.map +1 -1
  18. package/mcp-server/dist/services/browser-route-flow.d.ts +119 -0
  19. package/mcp-server/dist/services/browser-route-flow.d.ts.map +1 -0
  20. package/mcp-server/dist/services/browser-route-flow.js +340 -0
  21. package/mcp-server/dist/services/browser-route-flow.js.map +1 -0
  22. package/mcp-server/dist/services/desktop-client.js +2 -2
  23. package/mcp-server/dist/services/desktop-client.js.map +1 -1
  24. package/mcp-server/dist/services/embedding-service.d.ts.map +1 -1
  25. package/mcp-server/dist/services/embedding-service.js +2 -1
  26. package/mcp-server/dist/services/embedding-service.js.map +1 -1
  27. package/mcp-server/dist/services/identity.d.ts +66 -3
  28. package/mcp-server/dist/services/identity.d.ts.map +1 -1
  29. package/mcp-server/dist/services/identity.js +61 -4
  30. package/mcp-server/dist/services/identity.js.map +1 -1
  31. package/mcp-server/dist/services/neural-interface.d.ts +133 -1
  32. package/mcp-server/dist/services/neural-interface.d.ts.map +1 -1
  33. package/mcp-server/dist/services/neural-interface.js +630 -64
  34. package/mcp-server/dist/services/neural-interface.js.map +1 -1
  35. package/mcp-server/dist/services/tool-catalog.js +2 -2
  36. package/mcp-server/dist/services/tool-catalog.js.map +1 -1
  37. package/mcp-server/dist/tools/agents.d.ts +3 -2
  38. package/mcp-server/dist/tools/agents.d.ts.map +1 -1
  39. package/mcp-server/dist/tools/agents.js +6 -4
  40. package/mcp-server/dist/tools/agents.js.map +1 -1
  41. package/mcp-server/dist/tools/bluesky.d.ts +20 -7
  42. package/mcp-server/dist/tools/bluesky.d.ts.map +1 -1
  43. package/mcp-server/dist/tools/bluesky.js +147 -45
  44. package/mcp-server/dist/tools/bluesky.js.map +1 -1
  45. package/mcp-server/dist/tools/browser-advanced.d.ts +13 -2
  46. package/mcp-server/dist/tools/browser-advanced.d.ts.map +1 -1
  47. package/mcp-server/dist/tools/browser-advanced.js +153 -18
  48. package/mcp-server/dist/tools/browser-advanced.js.map +1 -1
  49. package/mcp-server/dist/tools/browser-cheatsheet.d.ts +2 -0
  50. package/mcp-server/dist/tools/browser-cheatsheet.d.ts.map +1 -1
  51. package/mcp-server/dist/tools/browser-cheatsheet.js +3 -0
  52. package/mcp-server/dist/tools/browser-cheatsheet.js.map +1 -1
  53. package/mcp-server/dist/tools/browser-navigate.d.ts +3 -3
  54. package/mcp-server/dist/tools/browser-navigate.d.ts.map +1 -1
  55. package/mcp-server/dist/tools/browser-navigate.js +19 -16
  56. package/mcp-server/dist/tools/browser-navigate.js.map +1 -1
  57. package/mcp-server/dist/tools/browser-observe.d.ts +2 -1
  58. package/mcp-server/dist/tools/browser-observe.d.ts.map +1 -1
  59. package/mcp-server/dist/tools/browser-observe.js +61 -20
  60. package/mcp-server/dist/tools/browser-observe.js.map +1 -1
  61. package/mcp-server/dist/tools/morelogin.d.ts +13 -3
  62. package/mcp-server/dist/tools/morelogin.d.ts.map +1 -1
  63. package/mcp-server/dist/tools/morelogin.js +82 -19
  64. package/mcp-server/dist/tools/morelogin.js.map +1 -1
  65. package/mcp-server/dist/tools/skill-tools.d.ts +4 -4
  66. package/mcp-server/dist/tools/youtube/helpers.d.ts +1 -0
  67. package/mcp-server/dist/tools/youtube/helpers.d.ts.map +1 -1
  68. package/mcp-server/dist/tools/youtube/helpers.js +1 -1
  69. package/mcp-server/dist/tools/youtube/helpers.js.map +1 -1
  70. package/mcp-server/dist/tools/youtube/upload.d.ts.map +1 -1
  71. package/mcp-server/dist/tools/youtube/upload.js +225 -88
  72. package/mcp-server/dist/tools/youtube/upload.js.map +1 -1
  73. package/mcp-server/package-lock.json +2 -2
  74. package/mcp-server/package.json +1 -1
  75. package/mcp-server/src/http.ts +135 -17
  76. package/mcp-server/src/index.ts +15 -9
  77. package/mcp-server/src/services/browser-route-flow.ts +403 -0
  78. package/mcp-server/src/services/desktop-client.ts +2 -2
  79. package/mcp-server/src/services/embedding-service.ts +2 -1
  80. package/mcp-server/src/services/identity.ts +80 -4
  81. package/mcp-server/src/services/neural-interface.ts +648 -73
  82. package/mcp-server/src/services/tool-catalog.ts +2 -2
  83. package/mcp-server/src/tools/agents.ts +8 -4
  84. package/mcp-server/src/tools/bluesky.ts +164 -51
  85. package/mcp-server/src/tools/browser-advanced.ts +142 -17
  86. package/mcp-server/src/tools/browser-cheatsheet.ts +3 -0
  87. package/mcp-server/src/tools/browser-navigate.ts +19 -16
  88. package/mcp-server/src/tools/browser-observe.ts +62 -20
  89. package/mcp-server/src/tools/morelogin.ts +82 -19
  90. package/mcp-server/src/tools/youtube/helpers.ts +2 -2
  91. package/mcp-server/src/tools/youtube/upload.ts +218 -99
  92. package/neural-interface/i18n/en.json +655 -123
  93. package/neural-interface/i18n/pt-BR.json +542 -10
  94. package/neural-interface/lib/assistant-api.js +90 -23
  95. package/neural-interface/lib/assistant-brains/claude.js +5 -0
  96. package/neural-interface/lib/assistant-catalog.js +134 -3
  97. package/neural-interface/lib/assistant-dispatch.js +97 -1
  98. package/neural-interface/lib/assistant-persona.js +15 -7
  99. package/neural-interface/lib/assistant-router.js +6 -4
  100. package/neural-interface/lib/assistant-runtime.js +18 -1
  101. package/neural-interface/lib/assistant-task-prompt.js +5 -0
  102. package/neural-interface/lib/assistant-tools.js +10 -1
  103. package/neural-interface/lib/automation-approval.js +249 -0
  104. package/neural-interface/lib/automation-browser-owner-access.js +82 -0
  105. package/neural-interface/lib/backup-service.js +16 -1
  106. package/neural-interface/lib/browser-automation-routes.js +84 -0
  107. package/neural-interface/lib/browser-background-tab.js +72 -3
  108. package/neural-interface/lib/browser-execution.js +16 -3
  109. package/neural-interface/lib/browser-extraction.js +106 -45
  110. package/neural-interface/lib/browser-owner.js +48 -0
  111. package/neural-interface/lib/browser-profile-choices.js +143 -0
  112. package/neural-interface/lib/browser-profiles.js +142 -0
  113. package/neural-interface/lib/browser-session-close.js +84 -0
  114. package/neural-interface/lib/browser-start-handoff.js +202 -0
  115. package/neural-interface/lib/browser-tab-recovery.js +153 -0
  116. package/neural-interface/lib/browser-tool-policy.js +23 -4
  117. package/neural-interface/lib/browser-wedge-retire.js +64 -0
  118. package/neural-interface/lib/chromium-on-device-model.js +67 -0
  119. package/neural-interface/lib/claude-agent-bridge.js +43 -5
  120. package/neural-interface/lib/claude-background-hold.js +239 -0
  121. package/neural-interface/lib/claude-model-catalog.js +12 -0
  122. package/neural-interface/lib/effort-levels.js +28 -2
  123. package/neural-interface/lib/exec-loop-command.js +8 -0
  124. package/neural-interface/lib/http-guards.js +11 -6
  125. package/neural-interface/lib/local-profile-proxy.js +362 -0
  126. package/neural-interface/lib/local-profiles.js +929 -0
  127. package/neural-interface/lib/loop-logger.js +31 -5
  128. package/neural-interface/lib/maritaca/api.js +179 -0
  129. package/neural-interface/lib/maritaca/attachments.js +44 -0
  130. package/neural-interface/lib/maritaca/client.js +362 -0
  131. package/neural-interface/lib/maritaca/key-store.js +122 -0
  132. package/neural-interface/lib/maritaca/models.js +181 -0
  133. package/neural-interface/lib/maritaca/modes.js +39 -0
  134. package/neural-interface/lib/maritaca/opencode-proxy.js +236 -0
  135. package/neural-interface/lib/maritaca/opencode-stream.js +345 -0
  136. package/neural-interface/lib/maritaca/opencode.js +218 -0
  137. package/neural-interface/lib/maritaca/panel-bridge.js +273 -0
  138. package/neural-interface/lib/maritaca/sessions.js +198 -0
  139. package/neural-interface/lib/mcp-external-servers.js +37 -10
  140. package/neural-interface/lib/morelogin-agent-profiles.js +149 -0
  141. package/neural-interface/lib/morelogin.js +278 -14
  142. package/neural-interface/lib/native-loop-providers.js +124 -11
  143. package/neural-interface/lib/native-loop-runtime.js +112 -11
  144. package/neural-interface/lib/owner-authority.js +137 -43
  145. package/neural-interface/lib/page-session.js +111 -27
  146. package/neural-interface/lib/peer-identity.js +263 -43
  147. package/neural-interface/lib/provider-panel-api-key-auth.js +7 -2
  148. package/neural-interface/lib/pty-host/core.js +36 -0
  149. package/neural-interface/lib/pty-host/protocol.js +2 -0
  150. package/neural-interface/lib/request-gate.js +2 -0
  151. package/neural-interface/lib/skills/api-v2.js +13 -2
  152. package/neural-interface/lib/skills/creation-api.js +3 -1
  153. package/neural-interface/lib/skills/evals-api.js +5 -1
  154. package/neural-interface/lib/social-write-pacing.js +151 -0
  155. package/neural-interface/lib/system-activity.js +1 -1
  156. package/neural-interface/lib/terminal-token-redaction.js +293 -0
  157. package/neural-interface/lib/terminal-tokens.js +436 -0
  158. package/neural-interface/lib/worker-mcp-channel.js +45 -10
  159. package/neural-interface/package-lock.json +3 -2
  160. package/neural-interface/package.json +2 -1
  161. package/neural-interface/public/assets/mascot/README.md +11 -0
  162. package/neural-interface/public/assets/mascot/ask.gif +0 -0
  163. package/neural-interface/public/assets/mascot/ask.png +0 -0
  164. package/neural-interface/public/assets/mascot/blocked.gif +0 -0
  165. package/neural-interface/public/assets/mascot/blocked.png +0 -0
  166. package/neural-interface/public/assets/mascot/budget.gif +0 -0
  167. package/neural-interface/public/assets/mascot/budget.png +0 -0
  168. package/neural-interface/public/assets/mascot/computer.gif +0 -0
  169. package/neural-interface/public/assets/mascot/computer.png +0 -0
  170. package/neural-interface/public/assets/mascot/edit.gif +0 -0
  171. package/neural-interface/public/assets/mascot/edit.png +0 -0
  172. package/neural-interface/public/assets/mascot/error.gif +0 -0
  173. package/neural-interface/public/assets/mascot/error.png +0 -0
  174. package/neural-interface/public/assets/mascot/hover-attention.gif +0 -0
  175. package/neural-interface/public/assets/mascot/hover-attention.png +0 -0
  176. package/neural-interface/public/assets/mascot/idle-hero.gif +0 -0
  177. package/neural-interface/public/assets/mascot/idle-hero.png +0 -0
  178. package/neural-interface/public/assets/mascot/idle.gif +0 -0
  179. package/neural-interface/public/assets/mascot/idle.png +0 -0
  180. package/neural-interface/public/assets/mascot/manifest.json +254 -0
  181. package/neural-interface/public/assets/mascot/mcp.gif +0 -0
  182. package/neural-interface/public/assets/mascot/mcp.png +0 -0
  183. package/neural-interface/public/assets/mascot/memory.gif +0 -0
  184. package/neural-interface/public/assets/mascot/memory.png +0 -0
  185. package/neural-interface/public/assets/mascot/offline.gif +0 -0
  186. package/neural-interface/public/assets/mascot/offline.png +0 -0
  187. package/neural-interface/public/assets/mascot/pick.gif +0 -0
  188. package/neural-interface/public/assets/mascot/pick.png +0 -0
  189. package/neural-interface/public/assets/mascot/plan.gif +0 -0
  190. package/neural-interface/public/assets/mascot/plan.png +0 -0
  191. package/neural-interface/public/assets/mascot/present.gif +0 -0
  192. package/neural-interface/public/assets/mascot/present.png +0 -0
  193. package/neural-interface/public/assets/mascot/project.gif +0 -0
  194. package/neural-interface/public/assets/mascot/project.png +0 -0
  195. package/neural-interface/public/assets/mascot/read.gif +0 -0
  196. package/neural-interface/public/assets/mascot/read.png +0 -0
  197. package/neural-interface/public/assets/mascot/runs.gif +0 -0
  198. package/neural-interface/public/assets/mascot/runs.png +0 -0
  199. package/neural-interface/public/assets/mascot/scenes/automation.gif +0 -0
  200. package/neural-interface/public/assets/mascot/scenes/automation.png +0 -0
  201. package/neural-interface/public/assets/mascot/scenes/browser.gif +0 -0
  202. package/neural-interface/public/assets/mascot/scenes/browser.png +0 -0
  203. package/neural-interface/public/assets/mascot/scenes/code.gif +0 -0
  204. package/neural-interface/public/assets/mascot/scenes/code.png +0 -0
  205. package/neural-interface/public/assets/mascot/scenes/complex.gif +0 -0
  206. package/neural-interface/public/assets/mascot/scenes/complex.png +0 -0
  207. package/neural-interface/public/assets/mascot/scenes/computer.gif +0 -0
  208. package/neural-interface/public/assets/mascot/scenes/computer.png +0 -0
  209. package/neural-interface/public/assets/mascot/scenes/design.gif +0 -0
  210. package/neural-interface/public/assets/mascot/scenes/design.png +0 -0
  211. package/neural-interface/public/assets/mascot/scenes/edit.gif +0 -0
  212. package/neural-interface/public/assets/mascot/scenes/edit.png +0 -0
  213. package/neural-interface/public/assets/mascot/scenes/generic.gif +0 -0
  214. package/neural-interface/public/assets/mascot/scenes/generic.png +0 -0
  215. package/neural-interface/public/assets/mascot/scenes/image_gen.gif +0 -0
  216. package/neural-interface/public/assets/mascot/scenes/image_gen.png +0 -0
  217. package/neural-interface/public/assets/mascot/scenes/manifest.json +173 -0
  218. package/neural-interface/public/assets/mascot/scenes/memory.gif +0 -0
  219. package/neural-interface/public/assets/mascot/scenes/memory.png +0 -0
  220. package/neural-interface/public/assets/mascot/scenes/quick.gif +0 -0
  221. package/neural-interface/public/assets/mascot/scenes/quick.png +0 -0
  222. package/neural-interface/public/assets/mascot/scenes/read.gif +0 -0
  223. package/neural-interface/public/assets/mascot/scenes/read.png +0 -0
  224. package/neural-interface/public/assets/mascot/scenes/research.gif +0 -0
  225. package/neural-interface/public/assets/mascot/scenes/research.png +0 -0
  226. package/neural-interface/public/assets/mascot/scenes/review.gif +0 -0
  227. package/neural-interface/public/assets/mascot/scenes/review.png +0 -0
  228. package/neural-interface/public/assets/mascot/scenes/search.gif +0 -0
  229. package/neural-interface/public/assets/mascot/scenes/search.png +0 -0
  230. package/neural-interface/public/assets/mascot/scenes/shell.gif +0 -0
  231. package/neural-interface/public/assets/mascot/scenes/shell.png +0 -0
  232. package/neural-interface/public/assets/mascot/scenes/thinking.gif +0 -0
  233. package/neural-interface/public/assets/mascot/scenes/thinking.png +0 -0
  234. package/neural-interface/public/assets/mascot/scenes/video_gen.gif +0 -0
  235. package/neural-interface/public/assets/mascot/scenes/video_gen.png +0 -0
  236. package/neural-interface/public/assets/mascot/scenes/web.gif +0 -0
  237. package/neural-interface/public/assets/mascot/scenes/web.png +0 -0
  238. package/neural-interface/public/assets/mascot/search.gif +0 -0
  239. package/neural-interface/public/assets/mascot/search.png +0 -0
  240. package/neural-interface/public/assets/mascot/shell.gif +0 -0
  241. package/neural-interface/public/assets/mascot/shell.png +0 -0
  242. package/neural-interface/public/assets/mascot/skill.gif +0 -0
  243. package/neural-interface/public/assets/mascot/skill.png +0 -0
  244. package/neural-interface/public/assets/mascot/sleep.gif +0 -0
  245. package/neural-interface/public/assets/mascot/sleep.png +0 -0
  246. package/neural-interface/public/assets/mascot/subagent.gif +0 -0
  247. package/neural-interface/public/assets/mascot/subagent.png +0 -0
  248. package/neural-interface/public/assets/mascot/success.gif +0 -0
  249. package/neural-interface/public/assets/mascot/success.png +0 -0
  250. package/neural-interface/public/assets/mascot/think.gif +0 -0
  251. package/neural-interface/public/assets/mascot/think.png +0 -0
  252. package/neural-interface/public/assets/mascot/wait.gif +0 -0
  253. package/neural-interface/public/assets/mascot/wait.png +0 -0
  254. package/neural-interface/public/assets/mascot/watch.gif +0 -0
  255. package/neural-interface/public/assets/mascot/watch.png +0 -0
  256. package/neural-interface/public/assets/mascot/web.gif +0 -0
  257. package/neural-interface/public/assets/mascot/web.png +0 -0
  258. package/neural-interface/public/onboarding.html +14 -1
  259. package/neural-interface/public/shared/agent-runtime-options.js +49 -8
  260. package/neural-interface/public/shared/agy/agy-panel.js +2 -2
  261. package/neural-interface/public/shared/agy/agy-render.js +41 -1
  262. package/neural-interface/public/shared/agy/agy-styles.js +5 -0
  263. package/neural-interface/public/shared/api.js +5 -4
  264. package/neural-interface/public/shared/assistant/asst-ask-styles.js +8 -8
  265. package/neural-interface/public/shared/assistant/asst-ask.js +1 -1
  266. package/neural-interface/public/shared/assistant/asst-brain-picker.js +99 -9
  267. package/neural-interface/public/shared/assistant/asst-computer.js +47 -2
  268. package/neural-interface/public/shared/assistant/asst-control.js +1 -1
  269. package/neural-interface/public/shared/assistant/asst-limit-wait.js +7 -5
  270. package/neural-interface/public/shared/assistant/asst-panel.js +13 -5
  271. package/neural-interface/public/shared/assistant/asst-rack-styles.js +4 -4
  272. package/neural-interface/public/shared/assistant/asst-render.js +16 -10
  273. package/neural-interface/public/shared/assistant/asst-route-models.js +64 -4
  274. package/neural-interface/public/shared/assistant/asst-route.js +24 -7
  275. package/neural-interface/public/shared/assistant/asst-routes-editor.js +154 -39
  276. package/neural-interface/public/shared/assistant/asst-run-stage.js +3 -3
  277. package/neural-interface/public/shared/assistant/asst-scene-styles.js +8 -111
  278. package/neural-interface/public/shared/assistant/asst-scenes.js +46 -318
  279. package/neural-interface/public/shared/assistant/asst-sidepanel.js +2 -2
  280. package/neural-interface/public/shared/assistant/asst-state.js +72 -2
  281. package/neural-interface/public/shared/assistant/asst-styles.js +60 -15
  282. package/neural-interface/public/shared/automation-approval-view.js +75 -0
  283. package/neural-interface/public/shared/cdx/cdx-panel.js +2 -2
  284. package/neural-interface/public/shared/cdx/cdx-render.js +73 -7
  285. package/neural-interface/public/shared/cdx/cdx-tabs.js +3 -3
  286. package/neural-interface/public/shared/context-menu-model.js +2 -0
  287. package/neural-interface/public/shared/cp/cp-agents.js +8 -0
  288. package/neural-interface/public/shared/cp/cp-permissions.js +6 -2
  289. package/neural-interface/public/shared/cp/cp-rehydrate.js +25 -1
  290. package/neural-interface/public/shared/cp/cp-tasks-model.js +33 -0
  291. package/neural-interface/public/shared/editor/editor-panel-logic.js +10 -0
  292. package/neural-interface/public/shared/editor/editor-panel.js +10 -2
  293. package/neural-interface/public/shared/html-shell.js +30 -22
  294. package/neural-interface/public/shared/judgments-log-origins.js +29 -0
  295. package/neural-interface/public/shared/morelogin-profile-choices.js +107 -0
  296. package/neural-interface/public/shared/morelogin-profile-field.js +186 -0
  297. package/neural-interface/public/shared/mtc/mtc-client.js +181 -0
  298. package/neural-interface/public/shared/mtc/mtc-compose.js +40 -0
  299. package/neural-interface/public/shared/mtc/mtc-copy.js +253 -0
  300. package/neural-interface/public/shared/mtc/mtc-logic.js +478 -0
  301. package/neural-interface/public/shared/mtc/mtc-panel.js +1354 -0
  302. package/neural-interface/public/shared/mtc/mtc-render.js +172 -0
  303. package/neural-interface/public/shared/mtc/mtc-styles.js +437 -0
  304. package/neural-interface/public/shared/ocp-v2/ocp-v2-automation-ownership.js +23 -0
  305. package/neural-interface/public/shared/ocp-v2/ocp-v2-events.js +13 -0
  306. package/neural-interface/public/shared/ocp-v2/ocp-v2-icons.js +3 -1
  307. package/neural-interface/public/shared/ocp-v2/ocp-v2-panel.js +10 -4
  308. package/neural-interface/public/shared/ocp-v2/ocp-v2-render.js +6 -86
  309. package/neural-interface/public/shared/ocp-v2/ocp-v2-ws.js +5 -2
  310. package/neural-interface/public/shared/owner-access.js +134 -0
  311. package/neural-interface/public/shared/owner-authority-view.js +92 -0
  312. package/neural-interface/public/shared/page-session.js +143 -14
  313. package/neural-interface/public/shared/poll-backoff.js +59 -0
  314. package/neural-interface/public/shared/provider-icons.js +3 -0
  315. package/neural-interface/public/shared/schedules-view.js +7 -0
  316. package/neural-interface/public/shared/server-back.js +50 -0
  317. package/neural-interface/public/shared/settings/settings-browser-owner-access.js +72 -0
  318. package/neural-interface/public/shared/settings/settings-data.js +7 -1
  319. package/neural-interface/public/shared/settings/settings-ia.js +3 -1
  320. package/neural-interface/public/shared/settings/settings-kit.js +11 -3
  321. package/neural-interface/public/shared/settings/settings-local-profiles.js +153 -0
  322. package/neural-interface/public/shared/settings/settings-maritaca-opencode.js +105 -0
  323. package/neural-interface/public/shared/settings/settings-shell.js +7 -0
  324. package/neural-interface/public/shared/shown-children.js +72 -0
  325. package/neural-interface/public/shared/sidepanel-session-status.js +16 -2
  326. package/neural-interface/public/shared/state.js +1 -1
  327. package/neural-interface/public/shared/static-bg-state.js +22 -0
  328. package/neural-interface/public/shared/styles.css +457 -164
  329. package/neural-interface/public/shared/synabun-mascot-assets.js +67 -0
  330. package/neural-interface/public/shared/synabun-mascot.js +136 -12
  331. package/neural-interface/public/shared/synabun-ticker.js +3 -0
  332. package/neural-interface/public/shared/synabun-tools.js +173 -0
  333. package/neural-interface/public/shared/tool-heartbeat.js +43 -0
  334. package/neural-interface/public/shared/tool-list-picker.js +3 -1
  335. package/neural-interface/public/shared/tool-list-view.js +23 -4
  336. package/neural-interface/public/shared/topright-overflow-logic.js +1 -0
  337. package/neural-interface/public/shared/ui-automation-approval.js +188 -0
  338. package/neural-interface/public/shared/ui-automation-studio.js +138 -91
  339. package/neural-interface/public/shared/ui-claude-panel.js +209 -31
  340. package/neural-interface/public/shared/ui-judgments.js +37 -10
  341. package/neural-interface/public/shared/ui-maritaca-panel.js +15 -0
  342. package/neural-interface/public/shared/ui-navbar.js +23 -0
  343. package/neural-interface/public/shared/ui-owner-access.js +191 -0
  344. package/neural-interface/public/shared/ui-owner-authority.js +162 -0
  345. package/neural-interface/public/shared/ui-panels.js +3 -1
  346. package/neural-interface/public/shared/ui-schedules-studio.js +118 -17
  347. package/neural-interface/public/shared/ui-scroll-follow.js +3 -0
  348. package/neural-interface/public/shared/ui-sessions.js +45 -16
  349. package/neural-interface/public/shared/ui-settings.js +676 -42
  350. package/neural-interface/public/shared/ui-sidepanel-session-entry.js +8 -2
  351. package/neural-interface/public/shared/ui-sidepanel-sessions.js +3 -3
  352. package/neural-interface/public/shared/ui-sidepanel-tray.js +24 -0
  353. package/neural-interface/public/shared/ui-sidepanel-windows.js +1 -1
  354. package/neural-interface/public/shared/ui-terminal.js +15 -7
  355. package/neural-interface/public/shared/ui-tutorial-preview.js +4 -0
  356. package/neural-interface/public/shared/ui-update.js +3 -0
  357. package/neural-interface/public/shared/ui-whiteboard.js +4 -0
  358. package/neural-interface/public/shared/window-keys.js +38 -0
  359. package/neural-interface/scripts/build-mascot-assets.mjs +30 -0
  360. package/neural-interface/server.js +2903 -359
  361. package/npm-shrinkwrap.json +5 -17
  362. package/package.json +5 -6
  363. package/postinstall.js +38 -39
  364. package/setup.js +33 -31
  365. package/skills/synabun/modules/changelog.md +14 -0
@@ -6358,7 +6358,7 @@
6358
6358
  transition: background 0.2s, border-color 0.2s;
6359
6359
  }
6360
6360
  #toolbar-show-btn[hidden],
6361
- body:not(:has(#static-bg.visible)) #toolbar-show-btn,
6361
+ :root:not(.static-bg-visible) #toolbar-show-btn,
6362
6362
  body.fe-editor-open #toolbar-show-btn {
6363
6363
  display: none;
6364
6364
  }
@@ -6393,8 +6393,8 @@
6393
6393
  /* ── Fit: one row in any band, nothing out of reach, nothing over a left panel ──
6394
6394
  --topright-row is the row at its widest without the workspace name: the dock (the switcher with its save button,
6395
6395
  50px; seven tools of 30px and the update button; two dividers; the dock's gaps and edges: 298px in all, 266px
6396
- while the update button is hidden), then --topright-buttons, the tools toggle and the four agent buttons with
6397
- the gaps before them (222px: six 32px buttons, five 6px gaps). Below row + 45px of band the workspace name goes into the switcher's tooltip
6396
+ while the update button is hidden), then --topright-buttons, the tools toggle and the six agent buttons with
6397
+ the gaps before them (260px: seven 32px buttons, six 6px gaps). Below row + 45px of band the workspace name goes into the switcher's tooltip
6398
6398
  (--topright-compact; it shows from 40px on, up to 120px, and takes what the band leaves it). Below the row itself
6399
6399
  nothing wraps: the buttons that do not fit leave the row for the ⋯ menu, lowest priority first
6400
6400
  (ui-topright-overflow.js OVERFLOW_ORDER, measured live). --topright-compact is
@@ -6407,11 +6407,14 @@
6407
6407
  }
6408
6408
  :root {
6409
6409
  --topright-band: calc(100vw - var(--sidebar-total-width, 0px) - var(--right-panel-width, var(--claude-panel-width, 0px)) - 40px);
6410
- --topright-buttons: 222px;
6410
+ --topright-buttons: 260px;
6411
6411
  --topright-row: calc(298px + var(--topright-buttons));
6412
6412
  --topright-compact: clamp(0, tan(atan2(calc(var(--topright-row) + 45px - var(--topright-band)), 0.01px)), 1);
6413
6413
  }
6414
- :root:has(#topright-update-btn[style*="none"]) {
6414
+ /* No update button in the row. The state is a class on <html> (ui-update.js applyTopRightButton), not
6415
+ `:root:has(#topright-update-btn[style*="none"])`: a `[style]` test anchored on the root made every inline style
6416
+ change anywhere re-style the whole page (tests/css-has-performance.test.mjs). */
6417
+ :root:not(.topright-update-shown) {
6415
6418
  --topright-row: calc(266px + var(--topright-buttons));
6416
6419
  }
6417
6420
  @container style(--topright-compact: 1) {
@@ -6431,7 +6434,8 @@
6431
6434
  :root {
6432
6435
  --topright-tray-inset: 0px;
6433
6436
  }
6434
- :root:has(#static-bg.visible) {
6437
+ /* Focus Mode's board is showing: html.static-bg-visible, set with #static-bg.visible (static-bg-state.js). */
6438
+ :root.static-bg-visible {
6435
6439
  --topright-tray-inset: 50px;
6436
6440
  }
6437
6441
  #topright-controls > #term-minimized-tray {
@@ -6583,7 +6587,8 @@
6583
6587
  #topright-claude-panel-btn,
6584
6588
  #topright-codex-panel-btn,
6585
6589
  #topright-opencode-panel-btn,
6586
- #topright-antigravity-panel-btn {
6590
+ #topright-antigravity-panel-btn,
6591
+ #topright-maritaca-panel-btn {
6587
6592
  background: rgba(18, 18, 22, 0.65);
6588
6593
  backdrop-filter: blur(var(--blur-heavy)) saturate(1.3);
6589
6594
  -webkit-backdrop-filter: blur(var(--blur-heavy)) saturate(1.3);
@@ -6599,7 +6604,8 @@
6599
6604
  #topright-claude-panel-btn:hover,
6600
6605
  #topright-codex-panel-btn:hover,
6601
6606
  #topright-opencode-panel-btn:hover,
6602
- #topright-antigravity-panel-btn:hover {
6607
+ #topright-antigravity-panel-btn:hover,
6608
+ #topright-maritaca-panel-btn:hover {
6603
6609
  background: rgba(24, 24, 30, 0.8);
6604
6610
  border-color: rgba(255, 255, 255, 0.1);
6605
6611
  }
@@ -6628,7 +6634,7 @@
6628
6634
  box-shadow: 0 0 0 2px rgba(18, 18, 22, 0.9);
6629
6635
  pointer-events: none;
6630
6636
  }
6631
- #topright-controls.tools-hidden:has(#topright-update-btn:not([style*="none"])) .topright-tools-dot {
6637
+ :root.topright-update-shown #topright-controls.tools-hidden .topright-tools-dot {
6632
6638
  display: block;
6633
6639
  }
6634
6640
 
@@ -7861,9 +7867,10 @@
7861
7867
  .cxp-session-pill, .ocpv2-session-pill, .agy-session-pill,
7862
7868
  .ocp-session-pill, .term-minimized-pill-label)::after { animation-play-state: paused !important; }
7863
7869
 
7864
- /* Hidden tab: freeze the 30+ infinite glow/pulse animations so a background
7865
- tab consumes zero compositor time; they resume where they left off */
7866
- body.app-hidden * { animation-play-state: paused !important; }
7870
+ /* Hidden tab: no universal rule under body.app-hidden. A hidden tab draws no frames, so its
7871
+ animations already cost nothing; the rule itself cost 7-10 ms of whole-page style
7872
+ recalculation each time the class changed (14.5k elements, 2026-11-06), paid on the
7873
+ first frame after returning to the tab. The class stays: synabun-ticker.js reads it. */
7867
7874
 
7868
7875
  /* Offset top resize handles below the drag handle area per panel */
7869
7876
  #category-sidebar > .resize-handle-t,
@@ -13700,7 +13707,9 @@
13700
13707
  .settings-panel,
13701
13708
  .command-runner-panel,
13702
13709
  .schedules-studio-panel,
13703
- .styleguide-panel {
13710
+ .styleguide-panel,
13711
+ .aap-modal,
13712
+ .aap-flag-note {
13704
13713
  /* Text roles for the dark panel. Each clears WCAG AA (4.5:1) on the panel and inside a group. */
13705
13714
  --stg-text: rgba(255,255,255,0.92);
13706
13715
  --stg-body: rgba(255,255,255,0.84);
@@ -13830,6 +13839,8 @@
13830
13839
  .settings-panel .settings-nav-item[data-status="disconnected"]::after { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5); }
13831
13840
  .settings-panel .settings-nav-item.active[data-status="connected"]::after { background: #fff; }
13832
13841
  .settings-panel .settings-nav-item.active[data-status="disconnected"]::after { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.85); }
13842
+ /* No owner access (ui-owner-access.js): the inline alert's warning tint, a ring like "Off" so it is not a state */
13843
+ .settings-panel .settings-nav-item[data-status="refused"]::after { background: transparent; box-shadow: inset 0 0 0 1.5px #ffb74d; }
13833
13844
 
13834
13845
  .stg-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
13835
13846
  .stg-main > .settings-content { flex: 1; min-height: 0; padding: 22px 24px 28px; }
@@ -13993,7 +14004,9 @@
13993
14004
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center;
13994
14005
  }
13995
14006
  .settings-panel .stg-field:has(> :is(.cc-dropdown, select, .recall-toggle, input[type="number"], .cc-toggle)) > label { grid-column: 1; margin: 0; }
13996
- .settings-panel .stg-field:has(> :is(.cc-dropdown, select, .recall-toggle, input[type="number"], .cc-toggle)) > :not(label):not(.stg-help) { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
14007
+ /* The control itself, named: a subject that matches nearly every element (`> :not(label):not(.stg-help)`) behind a
14008
+ :has() made each whole-page re-style cost tens of ms (tests/css-has-performance.test.mjs). */
14009
+ .settings-panel .stg-field:has(> :is(.cc-dropdown, select, .recall-toggle, input[type="number"], .cc-toggle)) > :is(.cc-dropdown, select, .recall-toggle, input[type="number"], .cc-toggle) { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
13997
14010
  .settings-panel .stg-field:has(> :is(.cc-dropdown, select, .recall-toggle, input[type="number"], .cc-toggle)) > .stg-help { grid-column: 1; grid-row: 2; }
13998
14011
  .settings-panel .stg-toggle-field {
13999
14012
  display: flex; align-items: center; gap: 16px;
@@ -14588,6 +14601,11 @@
14588
14601
  .settings-panel .settings-content .cc-dropdown-item:hover,
14589
14602
  .settings-panel :is(.stg-dropdown, .bc-dropdown) .cc-dropdown-item:hover { background: var(--stg-accent-fill); color: #fff; }
14590
14603
  .settings-panel .cc-dropdown.disabled .cc-dropdown-trigger { opacity: 0.5; }
14604
+ /* A choice that is listed and cannot be picked (a Firefox-type MoreLogin profile): the Schedules window's look of one. */
14605
+ .settings-panel .settings-content .cc-dropdown-item[aria-disabled="true"],
14606
+ .settings-panel .settings-content .cc-dropdown-item[aria-disabled="true"]:hover,
14607
+ .settings-panel :is(.stg-dropdown, .bc-dropdown) .cc-dropdown-item[aria-disabled="true"],
14608
+ .settings-panel :is(.stg-dropdown, .bc-dropdown) .cc-dropdown-item[aria-disabled="true"]:hover { opacity: .45; cursor: default; background: none; color: var(--stg-text); }
14591
14609
 
14592
14610
  /* ── The older custom switch (.cc-toggle) gets the same capsule as .recall-toggle ── */
14593
14611
  .settings-panel .cc-toggle { width: 32px; height: 18px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); transition: background-color 0.15s ease; }
@@ -14833,8 +14851,9 @@
14833
14851
  .settings-panel .settings-content .stg-provider-card:hover {
14834
14852
  min-height: 36px; margin: 0; padding: 10px 0; background: none; border: 0; border-radius: 0;
14835
14853
  }
14836
- .settings-panel .settings-content :is(.stg-provider-card, .stg-ollama-card) + .stg-provider-card,
14837
- .settings-panel .settings-content .stg-ollama-card + .stg-provider-card { border-top: 1px solid var(--stg-sep); }
14854
+ .settings-panel .settings-content :is(.stg-provider-card, .stg-ollama-card, .stg-maritaca-card) + .stg-provider-card,
14855
+ .settings-panel .settings-content :is(.stg-ollama-card, .stg-maritaca-card) + .stg-provider-card,
14856
+ .settings-panel .settings-content .stg-ollama-card + .stg-maritaca-card { border-top: 1px solid var(--stg-sep); }
14838
14857
  .settings-panel .settings-content .stg-provider-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; }
14839
14858
  .settings-panel .settings-content .stg-provider-ident { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1 1 auto; min-width: 0; }
14840
14859
  .settings-panel .settings-content .stg-provider-name { font-size: 13px; font-weight: 500; line-height: 1.35; letter-spacing: 0; color: var(--stg-text); overflow-wrap: anywhere; }
@@ -15112,7 +15131,7 @@
15112
15131
  .settings-panel .stg-card-body > :is(.stg-help, .settings-hint, .cc-hint, .setup-hint, p):first-child { margin-top: 10px !important; }
15113
15132
  /* a closed row-card keeps no trace of its body (no stray hairline or gap under the row) */
15114
15133
  .settings-panel .stg-card-body .stg-card[data-collapsible].collapsed > .stg-card-body,
15115
- .settings-panel .stg-card-body .stg-card[data-collapsible] > .stg-card-body:not(:has(> :not([style*="display:none"]):not([style*="display: none"]):not([hidden]))) { margin-top: 0; border-top: 0; }
15134
+ .settings-panel .stg-card-body .stg-card[data-collapsible] > .stg-card-body[data-empty] { margin-top: 0; border-top: 0; }
15116
15135
 
15117
15136
  /* ── Chevrons and disclosure triangles: 10px, quiet ── */
15118
15137
  .settings-panel :is(.cc-section-chevron, .cc-panel-chevron, .stg-model-expand-icon) { width: 10px !important; height: 10px !important; stroke: rgba(255,255,255,0.45) !important; }
@@ -17760,6 +17779,9 @@
17760
17779
  --ed-menu-hover: var(--s-hover);
17761
17780
  --ed-menu-radius: 8px;
17762
17781
  --ed-menu-shadow: 0 12px 32px rgba(0,0,0,0.4);
17782
+ /* The header's and the bars' type: the editor's mono for names and queries, the app's body font for buttons */
17783
+ --ed-font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
17784
+ --ed-font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
17763
17785
  /* Fills the app frame (flush, so the frame's 16px corners are its own) beside a docked right sidepanel */
17764
17786
  position: fixed;
17765
17787
  top: var(--frame-top);
@@ -17905,63 +17927,92 @@
17905
17927
  /* The strip clips: the focus ring is drawn inside the tab */
17906
17928
  body .fe-editor-panel .fe-editor-tabs .fe-editor-tab.fe-editor-tab:focus-visible { outline-offset: -2px; }
17907
17929
 
17908
- /* Header */
17930
+ /* Header: the file's name, the tools as one cluster, and the three actions. The floating-window family rules
17931
+ further down (--fw-*) give every window header its height and its focus ring; what they also set (padding,
17932
+ control sizes, colours) is set again for this header in the block after them ("The code editor's header"). */
17909
17933
  .fe-editor-header {
17910
17934
  display: flex;
17911
17935
  align-items: center;
17912
- gap: 6px;
17913
- padding: 8px 12px 6px;
17914
- border-bottom: 1px solid rgba(255,255,255,0.04);
17936
+ gap: 8px;
17937
+ padding: 4px 10px 4px 8px;
17938
+ border-bottom: 1px solid var(--b-light);
17915
17939
  flex-shrink: 0;
17916
- background: linear-gradient(to bottom, rgba(255,255,255,0.025), transparent);
17940
+ background: linear-gradient(180deg, var(--s-light), var(--s-subtle));
17941
+ box-shadow: inset 0 1px 0 var(--b-subtle);
17917
17942
  position: relative;
17918
17943
  overflow: visible;
17919
17944
  }
17920
17945
 
17921
17946
  .fe-editor-back {
17922
17947
  background: none; border: none; cursor: pointer;
17923
- padding: 4px; border-radius: 4px; display: flex;
17924
- flex-shrink: 0;
17948
+ padding: 4px; border-radius: var(--r-small); display: flex;
17949
+ align-items: center; justify-content: center;
17950
+ flex-shrink: 0; color: var(--t-secondary);
17925
17951
  }
17926
17952
  .fe-editor-back svg {
17927
17953
  width: 15px; height: 15px; fill: none;
17928
- stroke: rgba(255,255,255,0.35); stroke-width: 2;
17954
+ stroke: currentColor; stroke-width: 2;
17929
17955
  stroke-linecap: round; stroke-linejoin: round;
17930
17956
  }
17931
- .fe-editor-back:hover { background: rgba(255,255,255,0.05); }
17932
- .fe-editor-back:hover svg { stroke: var(--t-bright); }
17957
+ .fe-editor-back:hover { background: var(--s-hover); color: var(--t-bright); }
17958
+ /* The title: a lamp for the unsaved state, then the path with the file's name in the brighter colour */
17959
+ .fe-editor-title {
17960
+ display: flex; align-items: center; gap: 8px;
17961
+ flex: 1 1 140px; min-width: 0;
17962
+ }
17933
17963
  .fe-editor-dot {
17934
- width: 7px; height: 7px; border-radius: 50%;
17964
+ width: 6px; height: 6px; border-radius: 50%;
17935
17965
  background: transparent; flex-shrink: 0;
17936
- transition: background 0.2s;
17966
+ box-shadow: inset 0 0 0 1px var(--b-visible);
17967
+ transition: background-color 150ms ease, box-shadow 150ms ease;
17968
+ }
17969
+ .fe-editor-dot.dirty {
17970
+ background: var(--ed-warn);
17971
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--ed-warn) 18%, transparent);
17937
17972
  }
17938
- .fe-editor-dot.dirty { background: #ffca28; }
17939
17973
  .fe-editor-filepath {
17940
- font-size: 11px; font-family: var(--ff-mono);
17941
- color: var(--t-secondary); overflow: hidden;
17974
+ font-family: var(--ed-font-mono);
17975
+ font-size: var(--fs-xs); line-height: 1.3;
17976
+ color: var(--t-secondary); min-width: 0; overflow: hidden;
17942
17977
  text-overflow: ellipsis; white-space: nowrap;
17978
+ /* clipped from its start: the folders give way, the file's name stays */
17943
17979
  direction: rtl; text-align: left;
17944
17980
  }
17981
+ .fe-editor-pathtext { direction: ltr; unicode-bidi: isolate; }
17982
+ .fe-editor-filedir { color: var(--t-secondary); }
17983
+ .fe-editor-filename { color: var(--t-bright); font-weight: 500; }
17984
+ /* The tools, as one cluster on a soft inset surface */
17985
+ .fe-editor-tools {
17986
+ display: flex; align-items: center; gap: 2px;
17987
+ padding: 2px; border-radius: var(--r-card);
17988
+ background: rgba(0,0,0,0.22);
17989
+ box-shadow: inset 0 0 0 1px var(--b-subtle), inset 0 1px 2px rgba(0,0,0,0.25);
17990
+ flex-shrink: 0;
17991
+ }
17945
17992
  .fe-editor-action {
17946
17993
  background: none; border: none; cursor: pointer;
17947
- padding: 4px; border-radius: 4px; display: flex;
17948
- flex-shrink: 0;
17994
+ padding: 4px; border-radius: var(--r-small); display: flex;
17995
+ align-items: center; justify-content: center;
17996
+ flex-shrink: 0; color: var(--t-secondary);
17997
+ transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
17949
17998
  }
17950
17999
  .fe-editor-action svg {
17951
18000
  width: 14px; height: 14px; fill: none;
17952
- stroke: rgba(255,255,255,0.3); stroke-width: 2;
18001
+ stroke: currentColor; stroke-width: 2;
17953
18002
  stroke-linecap: round; stroke-linejoin: round;
17954
18003
  }
17955
- .fe-editor-action:hover { background: rgba(255,255,255,0.05); }
17956
- .fe-editor-action:hover svg { stroke: var(--t-bright); }
17957
- .fe-editor-action.active svg { stroke: var(--accent-blue, #6366f1); }
18004
+ .fe-editor-action:hover { background: var(--s-hover); color: var(--t-bright); }
18005
+ .fe-editor-action.active {
18006
+ background: var(--s-hover); color: var(--fw-focus);
18007
+ box-shadow: inset 0 0 0 1px var(--b-light);
18008
+ }
17958
18009
  .fe-editor-action[hidden] { display: none; }
17959
18010
  .fe-editor-help-wrap { position: relative; display: flex; }
17960
18011
  .fe-editor-help-btn svg circle,
17961
18012
  .fe-editor-help-btn svg path,
17962
18013
  .fe-editor-help-btn svg line {
17963
18014
  fill: none;
17964
- stroke: rgba(255,255,255,0.35);
18015
+ stroke: currentColor;
17965
18016
  stroke-width: 2;
17966
18017
  stroke-linecap: round;
17967
18018
  stroke-linejoin: round;
@@ -17973,8 +18024,8 @@
17973
18024
  right: 0;
17974
18025
  margin-top: 6px;
17975
18026
  background: var(--bg-panel, rgba(18,18,24,0.97));
17976
- border: 1px solid rgba(255,255,255,0.08);
17977
- border-radius: 8px;
18027
+ border: 1px solid var(--b-light);
18028
+ border-radius: var(--r-card);
17978
18029
  padding: 10px 14px;
17979
18030
  min-width: 200px;
17980
18031
  max-height: min(60vh, 440px);
@@ -18019,10 +18070,26 @@
18019
18070
  white-space: nowrap;
18020
18071
  }
18021
18072
  .fe-editor-sep {
18022
- width: 1px; height: 14px;
18023
- background: rgba(255,255,255,0.06);
18073
+ width: 1px; height: 16px;
18074
+ background: var(--b-light);
18024
18075
  flex-shrink: 0;
18025
18076
  }
18077
+ /* The actions: Save is the one primary action (the guide's accent, only while it can save); Discard and Close
18078
+ stay quiet until pointed at, Close in the danger colour then */
18079
+ .fe-editor-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
18080
+ .fe-editor-header .fe-editor-btn {
18081
+ font-family: var(--ed-font-ui); font-size: 12px; font-weight: 500; line-height: 1;
18082
+ height: 24px; padding: 0 10px; border-radius: var(--r-small);
18083
+ border: 1px solid transparent; background: none; color: var(--t-secondary);
18084
+ white-space: nowrap;
18085
+ transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
18086
+ }
18087
+ .fe-editor-header .fe-editor-btn:hover:not(:disabled) { color: var(--t-bright); background: var(--s-hover); }
18088
+ .fe-editor-header .fe-editor-btn:disabled { opacity: 0.35; cursor: default; }
18089
+ .fe-editor-header .fe-editor-save { border-color: var(--b-light); background: var(--s-subtle); }
18090
+ .fe-editor-header .fe-editor-save:not(:disabled) { background: var(--accent-gold); border-color: transparent; color: var(--fw-on-accent); font-weight: 600; }
18091
+ .fe-editor-header .fe-editor-save:not(:disabled):hover { background: color-mix(in srgb, var(--accent-gold) 86%, white); color: var(--fw-on-accent); }
18092
+ .fe-editor-header #fe-editor-close:hover:not(:disabled) { color: var(--accent-red); background: var(--accent-red-bg); }
18026
18093
  .fe-editor-btn {
18027
18094
  font-size: 10px; padding: 4px 10px; border-radius: 4px;
18028
18095
  border: 1px solid rgba(255,255,255,0.06);
@@ -18032,10 +18099,6 @@
18032
18099
  }
18033
18100
  .fe-editor-btn:hover:not(:disabled) { border-color: rgba(255,255,255,0.14); color: var(--t-secondary); background: rgba(255,255,255,0.03); }
18034
18101
  .fe-editor-btn:disabled { opacity: 0.3; cursor: default; }
18035
- .fe-editor-save.dirty { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.35); color: #a5b4fc; }
18036
- .fe-editor-save.dirty:hover { background: rgba(99,102,241,0.2); border-color: rgba(99,102,241,0.5); }
18037
- #fe-editor-close { border-color: rgba(255,82,82,0.35); color: var(--accent-red); }
18038
- #fe-editor-close:hover:not(:disabled) { border-color: rgba(255,82,82,0.55); color: var(--accent-red); background: var(--accent-red-bg); }
18039
18102
 
18040
18103
  /* Editor body — CodeMirror, the Markdown preview, or a message in their place */
18041
18104
  .fe-editor-body {
@@ -18282,21 +18345,24 @@
18282
18345
  /* View toggle (Raw/Preview) */
18283
18346
  .fe-editor-view-toggle {
18284
18347
  display: flex;
18285
- gap: 0;
18286
- border: 1px solid rgba(255,255,255,0.06);
18287
- border-radius: 4px;
18288
- overflow: hidden;
18348
+ gap: 2px;
18349
+ padding: 2px;
18350
+ border-radius: var(--r-card);
18351
+ background: rgba(0,0,0,0.22);
18352
+ box-shadow: inset 0 0 0 1px var(--b-subtle);
18353
+ flex-shrink: 0;
18289
18354
  }
18290
18355
  .fe-editor-toggle-btn {
18291
- font-size: 10px; padding: 3px 10px;
18356
+ font-family: var(--ed-font-ui); font-size: 11px; font-weight: 500; line-height: 1;
18357
+ height: 20px; padding: 0 9px; border-radius: var(--r-small);
18292
18358
  background: none; border: none;
18293
- color: var(--t-muted); cursor: pointer;
18294
- font-family: var(--ff-mono);
18295
- transition: all 0.12s;
18359
+ color: var(--t-secondary); cursor: pointer;
18360
+ transition: color 150ms ease, background-color 150ms ease;
18296
18361
  }
18297
- .fe-editor-toggle-btn:hover { color: var(--t-secondary); }
18362
+ .fe-editor-toggle-btn:hover { color: var(--t-bright); background: var(--s-hover); }
18298
18363
  .fe-editor-toggle-btn.active {
18299
- background: rgba(255,255,255,0.06); color: var(--t-bright);
18364
+ background: var(--s-hover); color: var(--t-bright);
18365
+ box-shadow: inset 0 0 0 1px var(--b-light);
18300
18366
  }
18301
18367
 
18302
18368
  /* Markdown preview pane */
@@ -18345,14 +18411,17 @@
18345
18411
  .fe-editor-preview th { background: rgba(0,0,0,0.15); font-weight: 600; color: var(--t-bright); }
18346
18412
  .fe-editor-preview img { max-width: 100%; border-radius: var(--r-small); }
18347
18413
 
18348
- /* Find & Replace bar */
18414
+ /* Find & Replace bar: a recessed strip under the header, the query in the editor's mono, the three switches as
18415
+ chips, and the guide's focus ring on the fields (a border in the focus colour and a soft halo; the family's
18416
+ outline is turned off for them in the block after the family rules) */
18349
18417
  .fe-editor-find {
18350
18418
  display: none;
18351
18419
  flex-direction: column;
18352
- gap: 2px;
18353
- padding: 4px 12px;
18354
- border-bottom: 1px solid rgba(255,255,255,0.06);
18355
- background: rgba(0,0,0,0.15);
18420
+ gap: 4px;
18421
+ padding: 6px 10px 6px 12px;
18422
+ border-bottom: 1px solid var(--b-subtle);
18423
+ background: rgba(0,0,0,0.16);
18424
+ box-shadow: inset 0 1px 0 rgba(0,0,0,0.3);
18356
18425
  flex-shrink: 0;
18357
18426
  }
18358
18427
  .fe-editor-find.open {
@@ -18361,99 +18430,123 @@
18361
18430
  .fe-editor-find-row {
18362
18431
  display: flex;
18363
18432
  align-items: center;
18364
- gap: 4px;
18433
+ gap: 6px;
18365
18434
  }
18366
18435
  .fe-editor-find-input {
18367
- flex: 1;
18368
- max-width: 260px;
18369
- background: rgba(0,0,0,0.2);
18370
- border: 1px solid rgba(255,255,255,0.08);
18371
- border-radius: 4px;
18372
- padding: 4px 8px;
18373
- font-family: var(--ff-mono);
18374
- font-size: 11px;
18436
+ flex: 1 1 160px;
18437
+ max-width: 300px;
18438
+ min-width: 0;
18439
+ height: 24px;
18440
+ background: rgba(0,0,0,0.28);
18441
+ border: 1px solid var(--b-light);
18442
+ border-radius: var(--r-small);
18443
+ padding: 0 8px;
18444
+ font-family: var(--ed-font-mono);
18445
+ font-size: 12px;
18375
18446
  color: var(--t-bright);
18376
18447
  outline: none;
18448
+ transition: border-color 150ms ease, box-shadow 150ms ease;
18377
18449
  }
18378
- .fe-editor-find-input:focus {
18379
- border-color: rgba(99,102,241,0.4);
18450
+ .fe-editor-find-input::placeholder,
18451
+ .fe-editor-replace-input::placeholder,
18452
+ .fe-editor-goto-input::placeholder { color: var(--t-secondary); }
18453
+ .fe-editor-find-input:focus,
18454
+ .fe-editor-replace-input:focus,
18455
+ .fe-editor-goto-input:focus {
18456
+ border-color: var(--stg-focus, #93c5fd);
18457
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--stg-focus, #93c5fd) 28%, transparent);
18380
18458
  }
18381
18459
  .fe-editor-find-input.invalid,
18382
- .fe-editor-goto-input.invalid { border-color: var(--ed-error); }
18460
+ .fe-editor-goto-input.invalid { border-color: var(--ed-error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ed-error) 22%, transparent); }
18383
18461
  .fe-editor-find-toggle {
18384
- background: none; border: 1px solid transparent; cursor: pointer;
18385
- min-width: 22px; padding: 2px 4px; border-radius: 3px;
18386
- font-family: var(--ff-mono); font-size: 10px; line-height: 14px;
18462
+ height: 20px; min-width: 28px; padding: 0 7px; border-radius: 999px;
18463
+ border: 1px solid var(--b-light); background: var(--s-subtle); cursor: pointer;
18464
+ font-family: var(--ed-font-mono); font-size: 10.5px; line-height: 18px; font-weight: 500;
18387
18465
  color: var(--t-secondary);
18388
- transition: color 0.12s, background-color 0.12s, border-color 0.12s;
18466
+ transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
18389
18467
  }
18390
- .fe-editor-find-toggle:hover { background: rgba(255,255,255,0.05); color: var(--t-bright); }
18468
+ .fe-editor-find-toggle:hover { background: var(--s-hover); border-color: var(--b-hover); color: var(--t-bright); }
18391
18469
  .fe-editor-find-toggle[aria-pressed="true"] {
18392
- background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.35); color: #a5b4fc;
18470
+ background: var(--accent-blue-bg); border-color: color-mix(in srgb, var(--fw-focus) 55%, transparent); color: var(--fw-focus); font-weight: 600;
18393
18471
  }
18394
18472
  .fe-editor-find-count {
18395
- font-size: 10px;
18396
- font-family: var(--ff-mono);
18473
+ font-size: 11px;
18474
+ font-family: var(--ed-font-mono);
18475
+ font-variant-numeric: tabular-nums;
18397
18476
  color: var(--t-secondary);
18398
- min-width: 50px;
18477
+ min-width: 54px;
18478
+ padding: 0 2px;
18399
18479
  text-align: center;
18480
+ white-space: nowrap;
18400
18481
  }
18401
18482
  .fe-editor-find-nav {
18402
- background: none; border: none; cursor: pointer;
18403
- padding: 3px; border-radius: 3px; display: flex;
18483
+ width: 24px; height: 24px; padding: 0; position: relative;
18484
+ display: flex; align-items: center; justify-content: center;
18485
+ background: var(--s-subtle); border: 1px solid var(--b-light); border-radius: var(--r-small);
18486
+ color: var(--t-secondary); cursor: pointer;
18487
+ transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
18404
18488
  }
18405
18489
  .fe-editor-find-nav svg {
18406
- width: 14px; height: 14px; fill: none;
18407
- stroke: rgba(255,255,255,0.35); stroke-width: 2;
18490
+ width: 13px; height: 13px; fill: none;
18491
+ stroke: currentColor; stroke-width: 2;
18408
18492
  stroke-linecap: round; stroke-linejoin: round;
18409
18493
  }
18410
- .fe-editor-find-nav:hover { background: rgba(255,255,255,0.05); }
18411
- .fe-editor-find-nav:hover svg { stroke: var(--t-bright); }
18494
+ .fe-editor-find-nav:hover { background: var(--s-hover); border-color: var(--b-hover); color: var(--t-bright); z-index: 1; }
18495
+ /* previous and next as one pair; close beside them, quiet until pointed at */
18496
+ #fe-editor-find-prev { border-top-right-radius: 0; border-bottom-right-radius: 0; }
18497
+ #fe-editor-find-next { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -7px; }
18498
+ #fe-editor-find-close { margin-left: 2px; background: none; border-color: transparent; }
18499
+ #fe-editor-find-close:hover { background: var(--s-hover); border-color: transparent; }
18412
18500
  .fe-editor-replace-row {
18413
18501
  display: flex;
18414
18502
  align-items: center;
18415
- gap: 4px;
18503
+ gap: 6px;
18416
18504
  }
18417
18505
  .fe-editor-replace-input {
18418
- flex: 1;
18419
- max-width: 260px;
18420
- background: rgba(0,0,0,0.2);
18421
- border: 1px solid rgba(255,255,255,0.08);
18422
- border-radius: 4px;
18423
- padding: 4px 8px;
18424
- font-family: var(--ff-mono);
18425
- font-size: 11px;
18506
+ flex: 1 1 160px;
18507
+ max-width: 300px;
18508
+ min-width: 0;
18509
+ height: 24px;
18510
+ background: rgba(0,0,0,0.28);
18511
+ border: 1px solid var(--b-light);
18512
+ border-radius: var(--r-small);
18513
+ padding: 0 8px;
18514
+ font-family: var(--ed-font-mono);
18515
+ font-size: 12px;
18426
18516
  color: var(--t-bright);
18427
18517
  outline: none;
18428
- }
18429
- .fe-editor-replace-input:focus {
18430
- border-color: rgba(99,102,241,0.4);
18518
+ transition: border-color 150ms ease, box-shadow 150ms ease;
18431
18519
  }
18432
18520
  .fe-editor-replace-btn {
18433
- background: rgba(255,255,255,0.04);
18434
- border: 1px solid rgba(255,255,255,0.08);
18435
- border-radius: 4px;
18436
- padding: 3px 10px;
18437
- font-family: var(--ff-mono);
18438
- font-size: 10px;
18439
- color: var(--t-muted);
18521
+ height: 22px;
18522
+ padding: 0 10px;
18523
+ background: var(--s-subtle);
18524
+ border: 1px solid var(--b-light);
18525
+ border-radius: var(--r-small);
18526
+ font-family: var(--ed-font-ui);
18527
+ font-size: 11px;
18528
+ font-weight: 500;
18529
+ line-height: 1;
18530
+ color: var(--t-secondary);
18440
18531
  cursor: pointer;
18441
- transition: all 0.12s;
18532
+ white-space: nowrap;
18533
+ transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
18442
18534
  }
18443
18535
  .fe-editor-replace-btn:hover {
18444
- background: rgba(255,255,255,0.08);
18445
- color: var(--t-secondary);
18446
- border-color: rgba(255,255,255,0.14);
18536
+ background: var(--s-hover);
18537
+ color: var(--t-bright);
18538
+ border-color: var(--b-hover);
18447
18539
  }
18448
18540
 
18449
- /* Go to Line bar */
18541
+ /* Go to Line bar: the find bar's strip and field */
18450
18542
  .fe-editor-goto {
18451
18543
  display: none;
18452
18544
  align-items: center;
18453
18545
  gap: 8px;
18454
- padding: 4px 12px;
18455
- border-bottom: 1px solid rgba(255,255,255,0.06);
18456
- background: rgba(0,0,0,0.15);
18546
+ padding: 6px 12px;
18547
+ border-bottom: 1px solid var(--b-subtle);
18548
+ background: rgba(0,0,0,0.16);
18549
+ box-shadow: inset 0 1px 0 rgba(0,0,0,0.3);
18457
18550
  flex-shrink: 0;
18458
18551
  }
18459
18552
  .fe-editor-goto.open {
@@ -18462,30 +18555,29 @@
18462
18555
  .fe-editor-goto-label,
18463
18556
  .fe-editor-goto-hint {
18464
18557
  font-size: 11px;
18465
- font-family: var(--ff-mono);
18466
- color: var(--t-muted);
18558
+ font-family: var(--ed-font-mono);
18559
+ color: var(--t-secondary);
18467
18560
  }
18468
18561
  .fe-editor-goto-hint { font-size: 10px; }
18469
18562
  .fe-editor-goto-input {
18470
18563
  width: 80px;
18471
- background: rgba(0,0,0,0.2);
18472
- border: 1px solid rgba(255,255,255,0.08);
18473
- border-radius: 4px;
18474
- padding: 4px 8px;
18475
- font-family: var(--ff-mono);
18476
- font-size: 11px;
18564
+ height: 24px;
18565
+ background: rgba(0,0,0,0.28);
18566
+ border: 1px solid var(--b-light);
18567
+ border-radius: var(--r-small);
18568
+ padding: 0 8px;
18569
+ font-family: var(--ed-font-mono);
18570
+ font-size: 12px;
18477
18571
  color: var(--t-bright);
18478
18572
  outline: none;
18479
18573
  -moz-appearance: textfield;
18574
+ transition: border-color 150ms ease, box-shadow 150ms ease;
18480
18575
  }
18481
18576
  .fe-editor-goto-input::-webkit-inner-spin-button,
18482
18577
  .fe-editor-goto-input::-webkit-outer-spin-button {
18483
18578
  -webkit-appearance: none;
18484
18579
  margin: 0;
18485
18580
  }
18486
- .fe-editor-goto-input:focus {
18487
- border-color: rgba(99,102,241,0.4);
18488
- }
18489
18581
 
18490
18582
  @media (prefers-reduced-motion: reduce) {
18491
18583
  .fe-editor-panel,
@@ -19349,6 +19441,8 @@
19349
19441
  --ed-menu-hover: var(--s-hover);
19350
19442
  --ed-menu-radius: 8px;
19351
19443
  --ed-menu-shadow: 0 12px 32px rgba(0,0,0,0.4);
19444
+ --ed-font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
19445
+ --ed-font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
19352
19446
  position: fixed; z-index: 300000;
19353
19447
  width: min(1180px, 94vw); height: min(760px, 86vh);
19354
19448
  min-width: 380px; min-height: 320px; max-width: 100vw;
@@ -21360,6 +21454,10 @@
21360
21454
  padding: 5px 7px;
21361
21455
  font-size: var(--fs-xs);
21362
21456
  }
21457
+ .as-runtime-field > .cc-dropdown.as-select > .cc-dropdown-trigger {
21458
+ padding: 5px 7px;
21459
+ font-size: var(--fs-xs);
21460
+ }
21363
21461
  .as-input, .as-textarea {
21364
21462
  width: 100%; padding: 7px 8px;
21365
21463
  background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.08);
@@ -21376,24 +21474,14 @@
21376
21474
  }
21377
21475
  .as-textarea { resize: vertical; min-height: 48px; }
21378
21476
 
21379
- /* Native <select> styled to match .as-input */
21380
- select.as-select {
21381
- appearance: none; -webkit-appearance: none; -moz-appearance: none;
21382
- padding-right: 28px;
21383
- cursor: pointer;
21384
- background-image:
21385
- linear-gradient(45deg, transparent 50%, rgba(203,213,225,0.75) 50%),
21386
- linear-gradient(135deg, rgba(203,213,225,0.75) 50%, transparent 50%);
21387
- background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
21388
- background-size: 5px 5px, 5px 5px;
21389
- background-repeat: no-repeat;
21390
- text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
21391
- }
21392
- select.as-select:hover { border-color: rgba(148,163,184,0.25); }
21393
- select.as-select option {
21394
- background: #1a1f2a; color: var(--t-bright);
21395
- padding: 6px 8px;
21477
+ /* Styled dropdown (cc-dropdown.js) sized to fill a field like .as-input did */
21478
+ .cc-dropdown.as-select { width: 100%; }
21479
+ .cc-dropdown.as-select > .cc-dropdown-trigger {
21480
+ width: 100%;
21481
+ justify-content: space-between;
21396
21482
  }
21483
+ .as-folder-picker > .cc-dropdown { width: 100%; }
21484
+ .as-folder-picker > .cc-dropdown > .cc-dropdown-trigger { width: 100%; justify-content: space-between; }
21397
21485
 
21398
21486
  /* ── Icon Picker ── */
21399
21487
  .as-icon-picker { position: relative; width: fit-content; }
@@ -23094,27 +23182,45 @@
23094
23182
  display: flex; flex-direction: column; gap: 12px;
23095
23183
  }
23096
23184
 
23097
- /* Template select — matches app input fields */
23098
- .as-qt-select {
23185
+ /* Template picker (cc-dropdown.js) — matches app input fields */
23186
+ .cc-dropdown.as-qt-select { width: 100%; }
23187
+ .cc-dropdown.as-qt-select > .cc-dropdown-trigger {
23099
23188
  width: 100%;
23100
23189
  background: rgba(255,255,255,0.03);
23101
23190
  border: 1px solid rgba(255,255,255,0.07);
23102
23191
  border-radius: 9px;
23103
23192
  color: var(--t-bright);
23104
23193
  font-size: 12px; padding: 8px 12px;
23105
- appearance: none; cursor: pointer;
23106
23194
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
23107
23195
  transition: all 0.18s ease;
23108
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
23109
- background-repeat: no-repeat; background-position: right 10px center;
23196
+ justify-content: space-between;
23110
23197
  }
23111
- .as-qt-select:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
23112
- .as-qt-select:focus { border-color: rgba(255,255,255,0.18); outline: none; }
23113
- .as-qt-select option { background: #1a1c24; color: #fff; }
23198
+ .cc-dropdown.as-qt-select > .cc-dropdown-trigger:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
23199
+ .cc-dropdown.as-qt-select.open > .cc-dropdown-trigger { border-color: rgba(255,255,255,0.18); }
23114
23200
 
23115
23201
  /* Groups — no overrides on launch chips, they inherit native styling */
23116
23202
  .as-qt-group { display: flex; flex-direction: column; gap: 6px; }
23117
23203
 
23204
+ /* The "MoreLogin profile" field (morelogin-profile-field.js) in the launch panel and the timer form */
23205
+ .as-ml-field { --as-ml-warn: #fbbf24; }
23206
+ .as-ml-field:has(.cc-dropdown.open) { position: relative; z-index: 1000; }
23207
+ .as-ml-control { display: flex; align-items: center; gap: 6px; min-width: 0; }
23208
+ .as-ml-control > .cc-dropdown { flex: 1 1 auto; min-width: 0; }
23209
+ .as-ml-refresh {
23210
+ display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
23211
+ background: none; border: none; padding: 4px; line-height: 0;
23212
+ color: var(--t-muted); cursor: pointer;
23213
+ border-radius: var(--r-small); transition: all 0.15s;
23214
+ }
23215
+ .as-ml-refresh:hover:not(:disabled) { color: var(--t-secondary); background: var(--s-hover); }
23216
+ .as-ml-refresh:disabled { opacity: 0.45; cursor: default; }
23217
+ .as-ml-help { margin: 6px 0 0; color: var(--t-muted); font-size: 11px; line-height: 1.45; }
23218
+ .as-qt-group > .as-ml-help { margin-top: 0; }
23219
+ .as-ml-help--warn { color: var(--as-ml-warn); }
23220
+ /* A profile that is listed and cannot be picked (a Firefox-type one): the Schedules window's look of a disabled choice. */
23221
+ .as-ml-field .cc-dropdown-item[aria-disabled="true"],
23222
+ .as-ml-field .cc-dropdown-item[aria-disabled="true"]:hover { opacity: .45; cursor: default; background: none; color: inherit; }
23223
+
23118
23224
  /* Browser toggle — monochromatic switch */
23119
23225
  .as-qt-browser-toggle {
23120
23226
  display: flex; align-items: center; gap: 8px; cursor: pointer;
@@ -23271,13 +23377,15 @@
23271
23377
  font-size: var(--fs-xs); font-weight: 600; color: var(--t-secondary);
23272
23378
  }
23273
23379
  .as-sched-field input[type="text"],
23274
- .as-sched-field select {
23380
+ .as-sched-field .cc-dropdown-trigger {
23275
23381
  background: var(--bg-deep, rgba(0,0,0,0.3)); border: 1px solid var(--s-border);
23276
23382
  border-radius: 6px; padding: 8px 10px; font-size: var(--fs-sm); color: var(--t-bright);
23277
23383
  font-family: inherit; outline: none; transition: border-color 0.15s;
23278
23384
  }
23279
23385
  .as-sched-field input:focus,
23280
- .as-sched-field select:focus { border-color: rgba(79,195,247,0.4); }
23386
+ .as-sched-field .cc-dropdown.open .cc-dropdown-trigger { border-color: rgba(79,195,247,0.4); }
23387
+ .as-sched-field > .cc-dropdown { width: 100%; }
23388
+ .as-sched-field .cc-dropdown-trigger { width: 100%; justify-content: space-between; }
23281
23389
  .as-sched-hint { font-weight: 400; opacity: 0.6; font-size: 10px; }
23282
23390
 
23283
23391
  /* Field row — side-by-side fields */
@@ -23776,6 +23884,7 @@
23776
23884
  .sched-form-control--start { justify-content: flex-start; }
23777
23885
  .sched-form-stack { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 0; }
23778
23886
  .sched-help { margin: 0; color: var(--stg-help); font-size: var(--fs-xs); line-height: 1.45; }
23887
+ .sched-help--warn { color: var(--stg-warn); }
23779
23888
  details.sched-form-section > summary { list-style: none; cursor: pointer; border-radius: var(--sched-control-radius); }
23780
23889
  details.sched-form-section > summary::-webkit-details-marker { display: none; }
23781
23890
  details.sched-form-section > summary::before {
@@ -23842,6 +23951,61 @@
23842
23951
  .sched-dialog-body .sched-help { max-width: 52ch; }
23843
23952
  .sched-dialog-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 14px 18px 16px; }
23844
23953
 
23954
+ /* ── Approval of what an agent changed (ui-automation-approval.js; re-review of 2026-11-11, finding 3) ──
23955
+ One dialog for the Schedules window and Automation Studio, in the panels' own roles (--stg-*, --fw-*). */
23956
+ .aap-modal {
23957
+ position: fixed; inset: 0; z-index: 300012; display: flex; align-items: center; justify-content: center;
23958
+ padding: 16px; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
23959
+ }
23960
+ .aap-dialog {
23961
+ width: 560px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column;
23962
+ color: var(--stg-text); background: var(--s-panel); border: 1px solid var(--b-visible);
23963
+ border-radius: 10px; box-shadow: var(--shadow-xl); font-family: var(--stg-font);
23964
+ }
23965
+ .aap-dialog h4 { margin: 0; padding: 14px 18px 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; }
23966
+ .aap-body { padding: 8px 18px 4px; overflow-y: auto; min-height: 0; }
23967
+ .aap-name { margin: 0 0 6px; font-size: var(--fs-sm); line-height: 1.4; overflow-wrap: anywhere; }
23968
+ .aap-help, .aap-muted { margin: 4px 0 8px; font-size: var(--fs-xs); line-height: 1.45; color: var(--stg-help); max-width: 64ch; }
23969
+ .aap-help { color: var(--stg-body); }
23970
+ .aap-notice { margin: 6px 0 8px; font-size: var(--fs-xs); line-height: 1.45; }
23971
+ .aap-warn { color: var(--stg-warn); }
23972
+ .aap-section { margin: 14px 0 2px; font-size: var(--fs-xs); font-weight: 600; color: var(--stg-text); }
23973
+ .aap-block { margin: 8px 0; padding: 8px 10px; border: 1px solid var(--stg-line); border-radius: 9px; background: var(--stg-group); }
23974
+ .aap-block h5 { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--stg-help); }
23975
+ .aap-text {
23976
+ margin: 0; max-height: 220px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere;
23977
+ font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-xs); line-height: 1.45; color: var(--stg-body);
23978
+ }
23979
+ .aap-theme + .aap-theme { margin-top: 6px; }
23980
+ .aap-line { margin: 4px 0; font-size: var(--fs-xs); line-height: 1.45; color: var(--stg-body); overflow-wrap: anywhere; }
23981
+ .aap-strong { color: var(--stg-text); font-weight: 500; }
23982
+ .aap-key { color: var(--stg-help); margin-right: 4px; }
23983
+ .aap-chip { display: inline-block; padding: 0 6px; border: 1px solid var(--stg-line); border-radius: 0; font-size: var(--fs-xs); color: var(--stg-warn); }
23984
+ .aap-list { margin: 0; padding-left: 16px; font-size: var(--fs-xs); line-height: 1.5; color: var(--stg-body); }
23985
+ .aap-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 12px 18px 16px; border-top: 1px solid var(--stg-sep); }
23986
+ .aap-btn {
23987
+ display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 2px 12px;
23988
+ border: 1px solid var(--stg-field-line); border-radius: 5px; background: var(--stg-control); color: var(--stg-text);
23989
+ cursor: pointer; font-family: var(--stg-font); font-size: var(--fs-xs); font-weight: 500; line-height: 1.2;
23990
+ }
23991
+ .aap-btn:hover:not(:disabled) { background: var(--stg-control-hover); }
23992
+ .aap-btn:focus-visible { outline: 2px solid var(--stg-focus); outline-offset: 1px; }
23993
+ .aap-btn:disabled { opacity: 0.55; cursor: default; }
23994
+ .aap-btn--primary { color: #fff; background: var(--stg-accent-fill); border-color: transparent; }
23995
+ .aap-btn--primary:hover:not(:disabled) { background: var(--stg-accent-fill-hover); }
23996
+ /* The flag in a list row and the notice in an editor or a detail. */
23997
+ .aap-flag { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; font-size: var(--fs-xs); line-height: 1.3; color: var(--stg-help, var(--t-secondary)); }
23998
+ .aap-flag[data-tone="warn"] { color: var(--stg-warn, #fbbf24); } /* the DESIGN.md warning status, where a panel has no --stg-* */
23999
+ .aap-flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
24000
+ .aap-flag-note {
24001
+ display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; padding: 8px 10px;
24002
+ border: 1px solid var(--stg-line); border-radius: 9px; background: var(--stg-group);
24003
+ font-size: var(--fs-xs); line-height: 1.45; color: var(--stg-body);
24004
+ }
24005
+ .aap-flag-note[data-tone="warn"] { border-color: color-mix(in srgb, var(--stg-warn) 35%, transparent); }
24006
+ .aap-flag-note p { margin: 0; flex: 1 1 260px; min-width: 0; }
24007
+ .aap-flag-note .aap-btn { flex-shrink: 0; }
24008
+
23845
24009
  /* ── Narrow windows ── */
23846
24010
  @container sched (max-width: 780px) {
23847
24011
  .sched-body { grid-template-columns: minmax(0, 1fr); }
@@ -26793,7 +26957,7 @@
26793
26957
  .sp-sidepanel.sp-floating, .fe-editor-panel, .sched-prompt-modal, .term-picker-modal)
26794
26958
  > :is(.settings-panel-header, .ss-header, .as-header, .sched-header,
26795
26959
  .sm-header, .cr-header, .sg-header, .ig-header, .detail-header, .tw-header,
26796
- .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header,
26960
+ .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .mtc-header,
26797
26961
  .fe-editor-header, .sched-prompt-head, .term-picker-header) {
26798
26962
  min-height: var(--fw-header-min-height);
26799
26963
  height: auto;
@@ -26821,7 +26985,7 @@
26821
26985
  .sp-sidepanel.sp-floating, .fe-editor-panel)
26822
26986
  > :is(.settings-panel-header, .ss-header, .as-header, .sched-header,
26823
26987
  .sm-header, .cr-header, .ig-header, .detail-header, .tw-header,
26824
- .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .fe-editor-header)
26988
+ .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .mtc-header, .fe-editor-header)
26825
26989
  :is(h3, .ig-title, .detail-header-name, .term-float-tab-title) {
26826
26990
  font-family: var(--ff-heading);
26827
26991
  font-size: var(--fs-sm);
@@ -26840,13 +27004,13 @@
26840
27004
  .sp-sidepanel.sp-floating, .fe-editor-panel)
26841
27005
  > :is(.settings-panel-header, .ss-header, .as-header, .sched-header,
26842
27006
  .sm-header, .cr-header, .ig-header, .detail-header, .tw-header,
26843
- .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .fe-editor-header)
27007
+ .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .mtc-header, .fe-editor-header)
26844
27008
  :is(.settings-panel-close, .backdrop-toggle-btn, .pin-btn, .ss-close,
26845
27009
  .ss-header-btn, .as-close, .as-header-btn, .sched-close, .sched-header-btn,
26846
27010
  .sm-close, .sm-header-btn, .cr-close, .ig-btn, .detail-action-btn, .tw-close,
26847
27011
  .tw-header-btn, .term-float-tab-btn, .cp-header-btn, .cxp-header-btn,
26848
27012
  .ocpv2-header-btn, .asp-header-btn, .cp-session-btn, .cp-header-rename-btn,
26849
- .cxp-btn, .cxp-session-btn, .cxp-header-rename, .ocpv2-btn, .ocpv2-session-btn,
27013
+ .cxp-btn, .cxp-session-btn, .cxp-header-rename, .mtc-btn, .mtc-session-btn, .mtc-header-rename, .ocpv2-btn, .ocpv2-session-btn,
26850
27014
  .ocpv2-header-rename, .asp-btn, .asp-tabs-btn, .sp-window-toggle, .sp-window-move,
26851
27015
  .fe-editor-back, .fe-editor-action, .fe-editor-btn) {
26852
27016
  min-width: var(--fw-header-control-size);
@@ -26864,13 +27028,13 @@
26864
27028
  .sp-sidepanel.sp-floating, .fe-editor-panel)
26865
27029
  > :is(.settings-panel-header, .ss-header, .as-header, .sched-header,
26866
27030
  .sm-header, .cr-header, .ig-header, .detail-header, .tw-header,
26867
- .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .fe-editor-header)
27031
+ .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .mtc-header, .fe-editor-header)
26868
27032
  :is(.settings-panel-close, .backdrop-toggle-btn, .pin-btn, .ss-close,
26869
27033
  .ss-header-btn, .as-close, .as-header-btn, .sched-close, .sched-header-btn,
26870
27034
  .sm-close, .sm-header-btn, .cr-close, .ig-btn, .detail-action-btn, .tw-close,
26871
27035
  .tw-header-btn, .term-float-tab-btn, .cp-header-btn, .cxp-header-btn,
26872
27036
  .ocpv2-header-btn, .asp-header-btn, .cp-session-btn, .cp-header-rename-btn,
26873
- .cxp-btn, .cxp-session-btn, .cxp-header-rename, .ocpv2-btn, .ocpv2-session-btn,
27037
+ .cxp-btn, .cxp-session-btn, .cxp-header-rename, .mtc-btn, .mtc-session-btn, .mtc-header-rename, .ocpv2-btn, .ocpv2-session-btn,
26874
27038
  .ocpv2-header-rename, .asp-btn, .asp-tabs-btn, .sp-window-toggle, .sp-window-move,
26875
27039
  .fe-editor-back, .fe-editor-action, .fe-editor-btn):hover:not(:disabled) {
26876
27040
  background-color: var(--s-hover);
@@ -26889,9 +27053,9 @@
26889
27053
  .image-gallery-panel, .detail-card, .tw, .term-float-tab, .sp-sidepanel.sp-floating)
26890
27054
  > :is(.settings-panel-header, .ss-header, .as-header, .sched-header,
26891
27055
  .sm-header, .cr-header, .ig-header, .detail-header, .tw-header,
26892
- .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header)
27056
+ .term-float-tab-header, .cp-header, .cxp-header, .ocpv2-header, .asp-header, .mtc-header)
26893
27057
  :is(.settings-panel-close, .ss-close, .as-close, .sched-close, .sm-close,
26894
- .cr-close, .tw-close, .close-btn, .cp-close-btn, .cxp-btn-danger,
27058
+ .cr-close, .tw-close, .close-btn, .cp-close-btn, .cxp-btn-danger, .mtc-btn-danger,
26895
27059
  .ocpv2-btn-danger, .asp-close, .detail-action-btn--danger):hover:not(:disabled) {
26896
27060
  color: var(--accent-red);
26897
27061
  background-color: var(--accent-red-bg);
@@ -26949,6 +27113,49 @@
26949
27113
  top: calc(var(--fw-header-min-height) + 1px);
26950
27114
  }
26951
27115
 
27116
+ /* The code editor's header (styles.css "Header", in the editor's block): the family's height and its focus
27117
+ ring stay; its padding, its control sizes, radii and colours are set again here for this header. The doubled
27118
+ class outweighs the family rules above, whose :is() lists count as their heaviest entry. */
27119
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header {
27120
+ gap: 8px;
27121
+ row-gap: 4px;
27122
+ padding: 4px 10px 4px 8px;
27123
+ flex-wrap: wrap;
27124
+ border-bottom: 1px solid var(--b-light);
27125
+ background: linear-gradient(180deg, var(--s-light), var(--s-subtle));
27126
+ box-shadow: inset 0 1px 0 var(--b-subtle);
27127
+ }
27128
+ /* at the top of the panel its corners are the panel's (a plan's banner above it makes it square) */
27129
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header:first-child {
27130
+ border-top-left-radius: inherit;
27131
+ border-top-right-radius: inherit;
27132
+ }
27133
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-back {
27134
+ min-width: 26px; min-height: 26px; padding: 4px;
27135
+ border-radius: var(--r-small); color: var(--t-secondary);
27136
+ }
27137
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-back:hover:not(:disabled) { background-color: var(--s-hover); color: var(--t-bright); }
27138
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-tools .fe-editor-action {
27139
+ min-width: 24px; min-height: 24px; height: 24px; padding: 0;
27140
+ border-radius: var(--r-small); color: var(--t-secondary);
27141
+ }
27142
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-tools .fe-editor-action:hover:not(:disabled) { background-color: var(--s-hover); color: var(--t-bright); }
27143
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-tools .fe-editor-action.active {
27144
+ background-color: var(--s-hover); color: var(--fw-focus);
27145
+ box-shadow: inset 0 0 0 1px var(--b-light);
27146
+ }
27147
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-btn {
27148
+ min-width: 0; min-height: 24px; height: 24px; padding: 0 10px;
27149
+ border-radius: var(--r-small); color: var(--t-secondary);
27150
+ max-width: none; white-space: nowrap; overflow-wrap: normal;
27151
+ }
27152
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header .fe-editor-btn:hover:not(:disabled) { background-color: var(--s-hover); color: var(--t-bright); }
27153
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header #fe-editor-save:not(:disabled) { background-color: var(--accent-gold); color: var(--fw-on-accent); }
27154
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header #fe-editor-save:not(:disabled):hover { background-color: color-mix(in srgb, var(--accent-gold) 86%, white); color: var(--fw-on-accent); }
27155
+ body .fe-editor-panel.fe-editor-panel > .fe-editor-header #fe-editor-close:hover:not(:disabled) { color: var(--accent-red); background-color: var(--accent-red-bg); }
27156
+ /* the find, replace and go-to-line fields show the guide's focus ring (their own rules), not the family's outline */
27157
+ body .fe-editor-panel.fe-editor-panel :is(.fe-editor-find-input, .fe-editor-replace-input, .fe-editor-goto-input):focus-visible { outline: none; }
27158
+
26952
27159
  /* Inner editor/dialog title rows, never ordinary section or content headings.
26953
27160
  Override the older narrow-container padding without fixing their height. */
26954
27161
  body :is(.ss-editor-header, .as-detail-header, .as-picker-header, .as-wizard-header,
@@ -29092,8 +29299,94 @@
29092
29299
  outline: 2px solid var(--stg-focus, #93c5fd);
29093
29300
  outline-offset: 2px;
29094
29301
  }
29095
- body:has(.update-check-toast:not(.crash-notice)) .crash-notice { bottom: auto; top: 64px; }
29302
+ /* Another update toast on the page (both are children of <body>): its sibling, before or after it. Not
29303
+ `body:has(…)`, which re-checks the whole page on every change (tests/css-has-performance.test.mjs). */
29304
+ .update-check-toast:not(.crash-notice) ~ .crash-notice,
29305
+ .crash-notice:has(~ .update-check-toast:not(.crash-notice)) { bottom: auto; top: 64px; }
29096
29306
  @media (prefers-reduced-motion: reduce) { .crash-notice { transition: none; } }
29307
+ /* The banner of a degraded owner authority (ui-owner-authority.js): the update toast's glass and type (DESIGN.md
29308
+ `toast`), at the top centre of the page so it never meets the bottom-right toasts, which replace each other (it is
29309
+ not an .update-check-toast for that reason), non-modal (nothing behind it is blocked), with the warning tint of the
29310
+ inline alert (DESIGN.md `alert`: rgba(255,183,77,.22) border, #ffb74d). */
29311
+ .owner-authority-notice {
29312
+ position: fixed;
29313
+ top: 64px;
29314
+ left: 0;
29315
+ right: 0;
29316
+ margin-inline: auto;
29317
+ z-index: 300050;
29318
+ display: flex;
29319
+ gap: 12px;
29320
+ align-items: flex-start;
29321
+ width: max-content;
29322
+ min-width: 240px;
29323
+ max-width: min(520px, calc(100vw - 40px));
29324
+ padding: 12px 14px;
29325
+ border-radius: 14px;
29326
+ background: rgba(20, 20, 24, 0.85);
29327
+ backdrop-filter: blur(20px) saturate(160%);
29328
+ -webkit-backdrop-filter: blur(20px) saturate(160%);
29329
+ border: 1px solid rgba(255, 183, 77, 0.22);
29330
+ color: var(--t-text);
29331
+ font-size: 12px;
29332
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
29333
+ opacity: 0;
29334
+ transform: translateY(-8px);
29335
+ transition: opacity 0.25s ease, transform 0.25s ease;
29336
+ pointer-events: auto;
29337
+ }
29338
+ .owner-authority-notice.show { opacity: 1; transform: translateY(0); }
29339
+ .owner-authority-icon {
29340
+ width: 24px; height: 24px;
29341
+ border-radius: 50%;
29342
+ display: flex; align-items: center; justify-content: center;
29343
+ font-weight: 700; font-size: 14px;
29344
+ flex-shrink: 0;
29345
+ background: rgba(255, 183, 77, 0.18);
29346
+ color: #ffb74d;
29347
+ }
29348
+ .owner-authority-body { flex: 1; min-width: 0; }
29349
+ .owner-authority-title { font-weight: 600; margin-bottom: 4px; }
29350
+ .owner-authority-sub { color: var(--t-muted); overflow-wrap: anywhere; margin-top: 2px; }
29351
+ .owner-authority-reason { font-family: var(--ff-mono, ui-monospace, Menlo, monospace); font-size: 11px; }
29352
+ .owner-authority-hint { color: var(--t-muted); opacity: 0.7; margin-top: 6px; font-size: 11px; overflow-wrap: anywhere; }
29353
+ .owner-authority-notice .action-btn:focus-visible {
29354
+ outline: 2px solid var(--stg-focus, #93c5fd);
29355
+ outline-offset: 2px;
29356
+ }
29357
+ @media (prefers-reduced-motion: reduce) { .owner-authority-notice { transition: none; } }
29358
+ /* The banner of a page without the owner's access (ui-owner-access.js): the same banner, below the one above when
29359
+ both show. A panel whose data was refused shows the "No access" block (the inline alert's warning tint, DESIGN.md
29360
+ `alert`; the card radius and the md spacing) in place of an empty list or default values. */
29361
+ .owner-authority-notice ~ .owner-access-notice { top: 168px; }
29362
+ .owner-no-access {
29363
+ display: flex;
29364
+ gap: 12px;
29365
+ align-items: flex-start;
29366
+ margin: 0 0 12px;
29367
+ padding: 12px 14px;
29368
+ border-radius: 9px;
29369
+ border: 1px solid rgba(255, 183, 77, 0.22);
29370
+ background: rgba(255, 183, 77, 0.06);
29371
+ color: var(--t-text);
29372
+ font-size: 12px;
29373
+ line-height: 1.45;
29374
+ text-align: left;
29375
+ }
29376
+ .owner-no-access--compact { margin: 12px; }
29377
+ .owner-no-access-icon {
29378
+ width: 20px; height: 20px;
29379
+ border-radius: 50%;
29380
+ display: flex; align-items: center; justify-content: center;
29381
+ font-weight: 700; font-size: 12px;
29382
+ flex-shrink: 0;
29383
+ background: rgba(255, 183, 77, 0.18);
29384
+ color: #ffb74d;
29385
+ }
29386
+ .owner-no-access-body { flex: 1; min-width: 0; }
29387
+ .owner-no-access-title { font-weight: 600; margin-bottom: 2px; }
29388
+ .owner-no-access-desc { color: var(--t-muted); overflow-wrap: anywhere; }
29389
+ .owner-access-disabled { cursor: not-allowed; opacity: 0.5; }
29097
29390
 
29098
29391
  .update-channel-pill {
29099
29392
  display: inline-block;
@@ -29331,7 +29624,7 @@ body .styleguide-panel {
29331
29624
  duration. This eliminates their continuous compositor/paint cost on idle
29332
29625
  foreground tabs without changing anything for users who haven't opted in.
29333
29626
  (Interaction-time and hidden-tab freezing are handled separately via the
29334
- body.ui-interacting / body.app-hidden play-state rules.)
29627
+ body.ui-interacting play-state rules and the ticker's stop on body.app-hidden.)
29335
29628
  ═══════════════════════════════════════════════════════════════════════════ */
29336
29629
  @media (prefers-reduced-motion: reduce) {
29337
29630
  *,