@andorra-labs/code 0.1.8 → 0.1.10

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 (187) hide show
  1. package/THIRD_PARTY_NOTICES.md +2 -1
  2. package/dist/src/account-presentation.d.ts +11 -0
  3. package/dist/src/account-presentation.js +29 -2
  4. package/dist/src/agent-execution.js +57 -4
  5. package/dist/src/agent-mcp.d.ts +12 -0
  6. package/dist/src/agent-mcp.js +81 -2
  7. package/dist/src/app-server/protocol.d.ts +120 -1
  8. package/dist/src/app-server/protocol.js +8 -1
  9. package/dist/src/app-server/reasoning.d.ts +0 -8
  10. package/dist/src/app-server/reasoning.js +15 -28
  11. package/dist/src/app-server.d.ts +32 -0
  12. package/dist/src/app-server.js +214 -21
  13. package/dist/src/auth/AuthManager.d.ts +15 -0
  14. package/dist/src/auth/AuthManager.js +66 -7
  15. package/dist/src/auth/index.d.ts +1 -1
  16. package/dist/src/auth/index.js +1 -1
  17. package/dist/src/auth/store.d.ts +17 -1
  18. package/dist/src/auth/store.js +25 -2
  19. package/dist/src/browser-runner.js +1 -2
  20. package/dist/src/browser-server.js +10 -2
  21. package/dist/src/browser-session.js +6 -2
  22. package/dist/src/browser-stealth.d.ts +29 -0
  23. package/dist/src/browser-stealth.js +166 -0
  24. package/dist/src/browser-ui/app.js +123 -28
  25. package/dist/src/browser-ui/icons/chevron-right.svg +8 -0
  26. package/dist/src/browser-ui/index.html +8 -8
  27. package/dist/src/browser-ui/style.css +199 -171
  28. package/dist/src/browser-ui/tokens.css +198 -0
  29. package/dist/src/browser-view.d.ts +57 -9
  30. package/dist/src/browser-view.js +187 -36
  31. package/dist/src/cli.js +31 -9
  32. package/dist/src/coding-tools.js +9 -5
  33. package/dist/src/command-screens.js +4 -4
  34. package/dist/src/commands.d.ts +1 -1
  35. package/dist/src/commands.js +3 -2
  36. package/dist/src/completion-gates.d.ts +35 -0
  37. package/dist/src/completion-gates.js +25 -0
  38. package/dist/src/completion.d.ts +7 -1
  39. package/dist/src/completion.js +37 -4
  40. package/dist/src/config.d.ts +1 -1
  41. package/dist/src/config.js +2 -2
  42. package/dist/src/context-budget.d.ts +11 -0
  43. package/dist/src/context-budget.js +13 -0
  44. package/dist/src/decision/DecisionEngine.d.ts +5 -1
  45. package/dist/src/decision/DecisionManager.d.ts +1 -0
  46. package/dist/src/decision/DecisionManager.js +14 -3
  47. package/dist/src/decision/FactContinuations.d.ts +6 -0
  48. package/dist/src/decision/FactContinuations.js +9 -1
  49. package/dist/src/decision/FactServiceGate.js +1 -1
  50. package/dist/src/decision/checks.js +1 -1
  51. package/dist/src/decision/hostedSkills.d.ts +37 -0
  52. package/dist/src/decision/hostedSkills.js +64 -0
  53. package/dist/src/decision/providers/AndorraDecisionProvider.d.ts +10 -2
  54. package/dist/src/decision/providers/AndorraDecisionProvider.js +121 -10
  55. package/dist/src/default-graph.d.ts +11 -0
  56. package/dist/src/default-graph.js +20 -0
  57. package/dist/src/duration.d.ts +13 -2
  58. package/dist/src/duration.js +27 -3
  59. package/dist/src/file-diff.d.ts +105 -0
  60. package/dist/src/file-diff.js +244 -0
  61. package/dist/src/graph-manager-chat.d.ts +302 -0
  62. package/dist/src/graph-manager-chat.js +940 -0
  63. package/dist/src/graph-runner.js +6 -0
  64. package/dist/src/graph-server.d.ts +9 -0
  65. package/dist/src/graph-server.js +171 -20
  66. package/dist/src/graph-studio-features.js +2 -2
  67. package/dist/src/graph-sync.js +5 -2
  68. package/dist/src/graph-ui/app.js +369 -183
  69. package/dist/src/graph-ui/controls.css +55 -32
  70. package/dist/src/graph-ui/controls.js +85 -9
  71. package/dist/src/graph-ui/edge-router.js +114 -13
  72. package/dist/src/graph-ui/embed.js +32 -17
  73. package/dist/src/graph-ui/icons.js +1 -0
  74. package/dist/src/graph-ui/index.html +4 -4
  75. package/dist/src/graph-ui/library.css +4 -10
  76. package/dist/src/graph-ui/manager-markdown.js +155 -0
  77. package/dist/src/graph-ui/manager-state.js +191 -0
  78. package/dist/src/graph-ui/manager.css +161 -0
  79. package/dist/src/graph-ui/manager.js +700 -0
  80. package/dist/src/graph-ui/skill-picker.js +6 -6
  81. package/dist/src/graph-ui/studio-canvas.js +17 -15
  82. package/dist/src/graph-ui/studio.css +24 -23
  83. package/dist/src/graph-ui/studio.js +69 -48
  84. package/dist/src/graph-ui/style.css +128 -93
  85. package/dist/src/graph-ui/theme.js +2 -2
  86. package/dist/src/graph-ui/tokens.css +217 -151
  87. package/dist/src/graphs.d.ts +76 -2
  88. package/dist/src/graphs.js +172 -9
  89. package/dist/src/hardened-runtime.js +8 -2
  90. package/dist/src/mcp.d.ts +75 -0
  91. package/dist/src/mcp.js +240 -8
  92. package/dist/src/membership-errors.d.ts +14 -0
  93. package/dist/src/membership-errors.js +24 -1
  94. package/dist/src/membership.d.ts +20 -0
  95. package/dist/src/membership.js +45 -16
  96. package/dist/src/palette.d.ts +25 -8
  97. package/dist/src/palette.js +26 -8
  98. package/dist/src/provider-engine.d.ts +4 -4
  99. package/dist/src/provider-engine.js +39 -22
  100. package/dist/src/provider-keys.d.ts +5 -1
  101. package/dist/src/provider-keys.js +7 -3
  102. package/dist/src/provider-settings.d.ts +4 -1
  103. package/dist/src/provider-settings.js +46 -5
  104. package/dist/src/providers.d.ts +24 -0
  105. package/dist/src/providers.js +47 -2
  106. package/dist/src/qa/guidance.d.ts +26 -0
  107. package/dist/src/qa/guidance.js +46 -0
  108. package/dist/src/qa/index.d.ts +1 -8
  109. package/dist/src/qa/index.js +1 -16
  110. package/dist/src/qa/profile/QaProfile.d.ts +5 -1
  111. package/dist/src/qa/profile/QaProfile.js +6 -2
  112. package/dist/src/qa/runtime/ProcessManager.d.ts +20 -2
  113. package/dist/src/qa/runtime/ProcessManager.js +69 -13
  114. package/dist/src/qa/tools.d.ts +19 -1
  115. package/dist/src/qa/tools.js +20 -145
  116. package/dist/src/react-runtime.d.ts +11 -0
  117. package/dist/src/react-runtime.js +203 -53
  118. package/dist/src/remote/engine-pool.js +21 -6
  119. package/dist/src/run-progress.d.ts +6 -0
  120. package/dist/src/run-progress.js +7 -0
  121. package/dist/src/runtime.d.ts +8 -0
  122. package/dist/src/screen-selection.d.ts +38 -0
  123. package/dist/src/screen-selection.js +103 -0
  124. package/dist/src/session-changes.d.ts +117 -0
  125. package/dist/src/session-changes.js +796 -0
  126. package/dist/src/session-skills.d.ts +75 -0
  127. package/dist/src/session-skills.js +151 -0
  128. package/dist/src/side-panel.d.ts +1 -1
  129. package/dist/src/side-panel.js +6 -12
  130. package/dist/src/skill-commands.js +1 -1
  131. package/dist/src/skills/bundled/control-browser/SKILL.md +9 -1
  132. package/dist/src/skills/bundled/graph-manager/SKILL.md +8 -0
  133. package/dist/src/skills/bundled/provenance.json +3 -3
  134. package/dist/src/skills/bundled/web-gui-tester/SKILL.md +1 -1
  135. package/dist/src/stall-recovery.d.ts +33 -0
  136. package/dist/src/stall-recovery.js +83 -0
  137. package/dist/src/subagent-run.js +1 -2
  138. package/dist/src/telemetry/schema.d.ts +1 -1
  139. package/dist/src/telemetry/schema.js +1 -2
  140. package/dist/src/terminal-ui.d.ts +66 -22
  141. package/dist/src/terminal-ui.js +327 -92
  142. package/dist/src/tool-diff-stats.d.ts +9 -0
  143. package/dist/src/tool-diff-stats.js +20 -0
  144. package/dist/src/tool-names.d.ts +1 -1
  145. package/dist/src/tool-result-filter.js +1 -1
  146. package/dist/src/tools.js +26 -2
  147. package/dist/src/transcript.d.ts +11 -0
  148. package/dist/src/transcript.js +23 -3
  149. package/dist/src/types.d.ts +24 -4
  150. package/dist/src/usage-analytics.d.ts +7 -0
  151. package/dist/src/usage-analytics.js +55 -15
  152. package/docs/concepts/README.md +1 -1
  153. package/docs/concepts/limits.md +9 -0
  154. package/docs/guides/desktop-app.md +1 -1
  155. package/docs/guides/graph-builder.md +16 -1
  156. package/docs/guides/tui.md +9 -9
  157. package/docs/reference/slash-commands.md +2 -1
  158. package/docs/superpowers/plans/2026-11-13-graph-manager-chat.md +203 -0
  159. package/docs/superpowers/plans/2026-11-14-jev-fair-use-pricing.md +79 -0
  160. package/docs/superpowers/specs/2026-11-13-graph-manager-chat-design.md +182 -0
  161. package/docs/superpowers/specs/2026-11-14-jev-fair-use-pricing-design.md +156 -0
  162. package/package.json +1 -1
  163. package/tests/chat-side-panel-test-plan.md +1 -1
  164. package/dist/src/qa/api/http-runner.d.ts +0 -3
  165. package/dist/src/qa/api/http-runner.js +0 -47
  166. package/dist/src/qa/git/ChangeDetector.d.ts +0 -26
  167. package/dist/src/qa/git/ChangeDetector.js +0 -177
  168. package/dist/src/qa/git/DiffReviewer.d.ts +0 -28
  169. package/dist/src/qa/git/DiffReviewer.js +0 -115
  170. package/dist/src/qa/orchestrator/ChangeClassifier.d.ts +0 -14
  171. package/dist/src/qa/orchestrator/ChangeClassifier.js +0 -28
  172. package/dist/src/qa/orchestrator/MergeGate.d.ts +0 -14
  173. package/dist/src/qa/orchestrator/MergeGate.js +0 -40
  174. package/dist/src/qa/orchestrator/QaOrchestrator.d.ts +0 -79
  175. package/dist/src/qa/orchestrator/QaOrchestrator.js +0 -373
  176. package/dist/src/qa/runners/CommandRunner.d.ts +0 -22
  177. package/dist/src/qa/runners/CommandRunner.js +0 -96
  178. package/dist/src/qa/runners/TestRunner.d.ts +0 -21
  179. package/dist/src/qa/runners/TestRunner.js +0 -66
  180. package/dist/src/qa/runtime/RuntimeSmoke.d.ts +0 -11
  181. package/dist/src/qa/runtime/RuntimeSmoke.js +0 -78
  182. package/dist/src/qa/runtime-detect.d.ts +0 -10
  183. package/dist/src/qa/runtime-detect.js +0 -72
  184. package/dist/src/qa/security/DependencyScanner.d.ts +0 -19
  185. package/dist/src/qa/security/DependencyScanner.js +0 -167
  186. package/dist/src/qa/security/SecretScanner.d.ts +0 -3
  187. package/dist/src/qa/security/SecretScanner.js +0 -55
@@ -1,9 +1,14 @@
1
1
  /*
2
2
  * The Graph Studio's chrome: the library rail, the canvas, the node inspector and the status
3
- * strip. Every colour, measurement and type size comes from `tokens.css`, which carries the same
4
- * register as the desktop client, so the editor embedded in the desktop window is the same
5
- * surface rather than a lookalike. Sizes sit on the shared type scale (`--type-xs` … `--type-lg`)
6
- * and spacing on the 4px scale (`--space-1` … `--space-6`), per ADR 0022.
3
+ * strip. Every colour, measurement and type size comes from `tokens.css`, which the build generates
4
+ * from the desktop client's own tokens, so the editor embedded in the desktop window is the same
5
+ * surface rather than a lookalike. Sizes sit on the shared type scale (`--type-xs` … `--type-lg`),
6
+ * spacing on the 4px scale (`--space-1` … `--space-6`) and corners on the radius scale
7
+ * (`--radius-xs` … `--radius-full`), per ADR 0022.
8
+ *
9
+ * The blue accent fill, focus ring and link ink (`--accent-fill`, `--focus`, `--accent-text`) and the
10
+ * ink tiers for hover and selection (`--hover`, `--selected`) arrive with the client's tokens; until
11
+ * the client declares them, each falls back to the neutral token it replaces.
7
12
  */
8
13
 
9
14
  * { box-sizing: border-box; }
@@ -35,42 +40,50 @@ svg.icon { flex: none; display: block; }
35
40
 
36
41
  /* Buttons ---------------------------------------------------------------- */
37
42
 
38
- /* One button system (ADR 0022): a rounded rectangle on the 8px radius at 32px, or 28px for the
39
- small size, told apart by fill. The secondary kind is the resting one: card fill, no outline.
40
- The height is a floor rather than a fixed size, because a button may carry more than one line. */
43
+ /* One button system, the desktop client's `.btn` (ADR 0022): a rounded rectangle at 32px on the 8px
44
+ radius, or 28px on the 6px radius for the small size, told apart by fill. The secondary kind is
45
+ the resting one: the control fill, a step above any surface it sits on, with a medium label. The
46
+ height is a floor rather than a fixed size, because a button may carry more than one line. */
41
47
  button {
42
48
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
43
- min-height: var(--btn-height); padding: var(--space-1) var(--space-3); border-radius: var(--btn-radius);
44
- border: 1px solid transparent; background: var(--bg-card); color: var(--text);
45
- font-size: var(--type-sm); font-weight: var(--weight-regular); white-space: nowrap;
49
+ min-height: var(--btn-height); padding: var(--space-1) var(--space-3); border-radius: var(--radius-md);
50
+ border: 1px solid transparent; background: var(--bg-control); color: var(--text);
51
+ font-size: var(--type-sm); font-weight: var(--weight-strong); white-space: nowrap;
46
52
  user-select: none; -webkit-user-select: none;
47
53
  transition: background-color var(--dur-1) var(--ease-standard),
48
54
  border-color var(--dur-1) var(--ease-standard), color var(--dur-1) var(--ease-standard);
49
55
  }
50
- button:hover:not(:disabled) { background: var(--border); }
56
+ button:hover:not(:disabled) { background: var(--bg-control-hover); }
51
57
  button:active:not(:disabled) { transform: scale(.99); }
52
- button:disabled { opacity: .55; }
53
- .btn-small { min-height: var(--control-height); padding: 0 var(--space-2); font-size: var(--type-xs); }
58
+ /* A control that cannot be used keeps its shape and takes the disabled ink; nothing fades. */
59
+ button:disabled { color: var(--text-disabled); }
60
+ .btn-small { min-height: var(--control-height); padding: 0 var(--space-3); border-radius: var(--radius-sm); font-size: var(--type-xs); }
54
61
 
55
- /* The primary action is the accent fill. */
62
+ /* The primary action is the accent fill, the one filled control on a screen. Disabled, it keeps its
63
+ fill at reduced strength so it still reads as the screen's primary action. */
56
64
  .primary {
57
- border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: var(--weight-strong);
65
+ border-color: var(--accent-fill, var(--accent)); background: var(--accent-fill, var(--accent));
66
+ color: var(--on-accent-fill, var(--on-accent)); font-weight: var(--weight-strong);
58
67
  }
59
- .primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
60
- .primary:disabled { background: var(--accent-soft); border-color: transparent; color: var(--text-2); }
68
+ .primary:hover:not(:disabled) { background: var(--accent-fill-hover, var(--accent-hover)); border-color: var(--accent-fill-hover, var(--accent-hover)); }
69
+ .primary:disabled { background: var(--bg-control); border-color: transparent; color: var(--text-disabled); }
61
70
 
62
- /* Ghost: a bare label or icon that fills only under the pointer. */
71
+ /* Ghost: a bare label or icon that fills one ink tier under the pointer. */
63
72
  .ghost, .icon-button { background: transparent; color: var(--text-2); }
64
- .ghost:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--bg-card); color: var(--text); }
73
+ .ghost:hover:not(:disabled), .icon-button:hover:not(:disabled) { background: var(--hover, var(--bg-hover)); color: var(--text); }
65
74
  .icon-button { min-width: var(--btn-height); padding: 0; }
66
- .icon-button[aria-pressed="true"], .icon-button[aria-expanded="true"] { color: var(--text); background: var(--accent-soft); }
75
+ .icon-button.btn-small { min-width: var(--control-height); }
76
+ /* Pressed or open is the stronger tier, with full ink; selection never changes the weight. */
77
+ .icon-button[aria-pressed="true"], .icon-button[aria-expanded="true"] { color: var(--text); background: var(--selected, var(--accent-soft)); }
67
78
 
68
- :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
79
+ /* The keyboard's focus ring: 2px, offset 2px, only for keyboard focus. Rows in lists and menus show
80
+ a highlight fill instead (their own rules below). */
81
+ :focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; }
69
82
 
70
83
  /* Chips: a compact status label. The warning kind names a problem with the configuration. */
71
84
  .chip {
72
85
  display: inline-flex; align-items: center; gap: var(--space-1); min-height: 22px; padding: 0 var(--space-2);
73
- border-radius: 999px; background: var(--bg-card); color: var(--text-2); font-size: var(--type-xs); white-space: nowrap;
86
+ border-radius: var(--radius-full); background: var(--bg-card); color: var(--text-2); font-size: var(--type-xs); white-space: nowrap;
74
87
  }
75
88
  .chip-accent { background: var(--accent-soft); color: var(--text); }
76
89
  .chip-warning { background: var(--bg-card); color: var(--warn-text); box-shadow: inset 0 0 0 1px var(--warn); }
@@ -84,7 +97,7 @@ input, select, textarea {
84
97
  transition: border-color var(--dur-1) var(--ease-standard), box-shadow var(--dur-1) var(--ease-standard);
85
98
  }
86
99
  input:hover, select:hover, textarea:hover { border-color: var(--text-3); }
87
- input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
100
+ input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--focus, var(--accent)); box-shadow: 0 0 0 3px var(--accent-ring); }
88
101
  input::placeholder, textarea::placeholder { color: var(--text-3); }
89
102
  /* A field carries prose unless it is marked as code, so the mono face is opt-in. */
90
103
  textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
@@ -93,7 +106,7 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
93
106
 
94
107
  .rail {
95
108
  position: relative; isolation: isolate;
96
- width: var(--rail-width, 238px); min-width: 0; flex-shrink: 0;
109
+ width: var(--rail-width, 232px); min-width: 0; flex-shrink: 0;
97
110
  display: flex; flex-direction: column; min-height: 0;
98
111
  background: var(--bg-rail); border-right: 1px solid var(--border);
99
112
  /* Sidebar rows are controls, not prose. */
@@ -122,25 +135,30 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
122
135
 
123
136
  .section-label {
124
137
  display: flex; align-items: center; justify-content: space-between;
125
- font-size: var(--type-xs); color: var(--text-3); margin: var(--space-2) 2px var(--space-2); padding: 0 var(--space-2);
138
+ font-size: var(--type-label); font-weight: var(--weight-strong); color: var(--text-3); margin: var(--space-2) 2px var(--space-2); padding: 0 var(--space-2);
126
139
  }
127
140
  .section-label button {
128
141
  border: 0; background: transparent; padding: 0; width: 24px; min-height: 24px; height: 24px;
129
142
  color: var(--text-2);
130
143
  }
131
- .section-label button:hover:not(:disabled) { background: var(--rail-wash); color: var(--text); }
144
+ .section-label button { border-radius: var(--radius-sm); }
145
+ .section-label button:hover:not(:disabled) { background: var(--hover, var(--rail-wash)); color: var(--text); }
132
146
 
133
147
  #search, #node-search { margin-bottom: var(--space-3); }
134
148
  /* The rail's two filters rest as a quiet wash with a magnifier, not an outlined box: the rail is a
135
149
  list of rows, and an outline at rest read as a form. The outline returns under the pointer and
136
- the accent ring on focus. The glyph is a mid grey that holds on both grounds. */
150
+ the accent ring on focus. The glyph is Lucide's search on its 1.5 stroke, in each appearance's
151
+ muted ink (an image cannot read a token, so the two inks are written into it). */
137
152
  .rail input[type="search"] {
138
153
  padding-left: 30px; border-color: transparent; background-color: var(--rail-wash);
139
- background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23858585' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.6-3.6'/></svg>");
154
+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a9aa4' stroke-width='1.5' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.6-3.6'/></svg>");
140
155
  background-repeat: no-repeat; background-position: 9px 50%; background-size: 14px 14px;
141
156
  }
157
+ :root[data-theme='light'] .rail input[type="search"] {
158
+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c5d63' stroke-width='1.5' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.6-3.6'/></svg>");
159
+ }
142
160
  .rail input[type="search"]:hover { border-color: var(--border-strong); }
143
- .rail input[type="search"]:focus-visible { border-color: var(--accent); background-color: var(--bg-input); }
161
+ .rail input[type="search"]:focus-visible { border-color: var(--focus, var(--accent)); background-color: var(--bg-input); }
144
162
 
145
163
  /* Rows: one anatomy, everywhere. */
146
164
  #graphs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
@@ -148,43 +166,49 @@ textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
148
166
  .graph-drafts-head {
149
167
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
150
168
  margin-top: var(--space-2); padding: var(--space-1) var(--space-2) 2px;
151
- font-size: var(--type-xs); color: var(--text-3);
169
+ font-size: var(--type-label); font-weight: var(--weight-strong); color: var(--text-3);
152
170
  }
153
171
  .graph-drafts-clear, .graph-drafts-toggle {
154
172
  border: 0; background: transparent; min-height: 0; height: auto; width: auto;
155
- padding: 2px var(--space-1); border-radius: var(--row-radius);
156
- font: inherit; font-size: var(--type-xs); color: var(--text-3); cursor: pointer;
173
+ padding: 2px var(--space-1); border-radius: var(--radius-xs);
174
+ font: inherit; font-size: var(--type-xs); font-weight: var(--weight-regular); color: var(--text-3); cursor: pointer;
157
175
  }
158
- .graph-drafts-clear:hover:not(:disabled), .graph-drafts-toggle:hover { background: var(--rail-wash); color: var(--text); }
159
- .graph-drafts-toggle { justify-self: start; margin: 2px var(--space-1) 0; }
176
+ .graph-drafts-clear:hover:not(:disabled), .graph-drafts-toggle:hover { background: var(--hover, var(--rail-wash)); color: var(--text); }
177
+ .graph-drafts-toggle { justify-self: start; margin: 2px var(--space-1) 0; display: inline-flex; align-items: center; gap: var(--space-1); }
178
+ .graph-drafts-toggle .icon { flex: none; transition: transform var(--dur-1) var(--ease-standard); }
179
+ .graph-drafts-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
160
180
  .graph-row.draft-row span { color: var(--text-2); }
161
181
  .graph-row.draft-row small { font-variant-numeric: tabular-nums; }
162
182
  .graph-row {
163
183
  display: flex; align-items: center; justify-content: space-between; width: 100%;
164
184
  min-height: var(--row-height); padding: 0 var(--space-2); gap: var(--space-2);
165
185
  border: 0; background: transparent; color: var(--text-2); text-align: left;
166
- border-radius: var(--row-radius); font-size: var(--type-row);
186
+ border-radius: var(--row-radius); font-size: var(--type-row); font-weight: var(--weight-regular);
167
187
  }
168
- .graph-row:hover { background: var(--rail-wash); color: var(--text); }
169
- .graph-row.active { background: var(--rail-wash); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
188
+ /* Hover is one ink tier and selection a stronger one with full ink, the desktop rail's own rows; the
189
+ selected row is the fill alone, with no edge bar. A row under keyboard focus shows the hover fill
190
+ rather than a ring. */
191
+ .graph-row:hover:not(:disabled), .graph-row:focus-visible { background: var(--hover, var(--rail-wash)); color: var(--text); outline: none; }
192
+ .graph-row.active, .graph-row.active:hover:not(:disabled), .graph-row.active:focus-visible { background: var(--selected, var(--accent-soft)); color: var(--text); }
170
193
  .graph-row span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
171
194
  .graph-row small { color: var(--text-3); font-size: var(--type-xs); flex-shrink: 0; }
172
195
 
173
196
  .library-label { margin-top: var(--space-5); }
174
197
  .library-group { margin: var(--space-2) 0; }
175
- .library-group > summary { font-size: var(--type-xs); font-weight: var(--weight-strong); color: var(--text-2); padding: var(--space-2); cursor: pointer; }
198
+ .library-group > summary { font-size: var(--type-label); font-weight: var(--weight-strong); color: var(--text-3); padding: var(--space-2); cursor: pointer; }
176
199
  .library-group .help { font-size: var(--type-xs); padding: 0 var(--space-2); }
177
200
 
178
- /* A library item is something you pick up: an icon in its type's colour, the name, and a short
179
- description. It drags onto the canvas, and a click or Enter adds it at the viewport's corner. */
201
+ /* A library item is something you pick up: its kind's icon, the name, and a short description. It
202
+ drags onto the canvas, and a click or Enter adds it at the viewport's corner. The kind is the
203
+ icon's shape; the chrome gives it no hue. */
180
204
  .library-item {
181
205
  display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: var(--space-2); row-gap: 2px; align-items: start;
182
206
  width: 100%; min-height: 0; text-align: left; border: 0; background: transparent;
183
- padding: 6px var(--space-2); border-radius: var(--row-radius); color: var(--text-2); cursor: grab;
207
+ padding: 6px var(--space-2); border-radius: var(--row-radius); color: var(--text-2); font-weight: var(--weight-regular); cursor: grab;
184
208
  }
185
209
  .library-item:active:not(:disabled) { cursor: grabbing; }
186
- .library-item:hover:not(:disabled) { background: var(--rail-wash); color: var(--text); }
187
- .library-item > svg.icon { grid-column: 1; grid-row: 1 / span 2; margin-top: 1px; color: var(--type-colour, var(--text-3)); }
210
+ .library-item:hover:not(:disabled), .library-item:focus-visible { background: var(--hover, var(--rail-wash)); color: var(--text); outline: none; }
211
+ .library-item > svg.icon { grid-column: 1; grid-row: 1 / span 2; margin-top: 1px; color: var(--text-2); }
188
212
  .library-item b { grid-column: 2; grid-row: 1; display: block; font-weight: var(--weight-strong); font-size: var(--type-sm); white-space: normal; overflow-wrap: anywhere; }
189
213
  .library-item span { grid-column: 2; grid-row: 2; display: block; color: var(--text-3); font-size: var(--type-xs); white-space: normal; line-height: 1.35; }
190
214
 
@@ -198,10 +222,14 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
198
222
 
199
223
  /* One toolbar row: the way back (when embedded), the graph's name and revision, then the two
200
224
  secondary actions, the inspector toggle, the overflow menu and the one primary action. */
225
+ /* The strip is the window's 36px title strip, the desktop's `.chrome`: every control in it is the
226
+ 28px size, so 28 + 2 × 3px + the 1px rule holds it at 36. A min-height alone grew it to 41px around
227
+ a 32px button. */
201
228
  .chrome {
202
- min-height: calc(var(--chrome-height) + var(--space-2)); flex-shrink: 0; display: flex; align-items: center; gap: var(--space-2);
203
- padding: var(--space-1) var(--space-3); border-bottom: 1px solid var(--border); background: var(--bg-surface);
229
+ min-height: var(--chrome-height); flex-shrink: 0; display: flex; align-items: center; gap: var(--space-2);
230
+ padding: 3px var(--space-3); border-bottom: 1px solid var(--border); background: var(--bg-surface);
204
231
  }
232
+ .chrome .icon-button { min-width: var(--control-height); min-height: var(--control-height); border-radius: var(--radius-sm); }
205
233
  .graph-heading { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: baseline; }
206
234
  .graph-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--weight-strong); font-size: var(--type-md); }
207
235
  .graph-heading span { font-size: var(--type-xs); color: var(--text-3); white-space: nowrap; }
@@ -210,18 +238,21 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
210
238
  .chrome-actions > .primary { margin-left: var(--space-1); }
211
239
  .host-chrome { display: flex; align-items: center; gap: var(--space-1); flex: none; padding-right: var(--space-2); border-right: 1px solid var(--border); }
212
240
 
213
- /* The overflow menu. */
241
+ /* The overflow menu: an 8px popover with a 4px inset, rows on the 4px radius at the row height. A
242
+ row under the pointer or keyboard focus fills one ink tier; menus show no focus ring. It arrives
243
+ and leaves the same way (controls.css, "Exits"). */
214
244
  .menu { position: relative; }
215
245
  .menu-list {
216
246
  position: absolute; z-index: 20; top: calc(100% + var(--space-1)); right: 0; min-width: 210px;
217
- display: flex; flex-direction: column; padding: var(--space-1);
218
- background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--btn-radius); box-shadow: var(--shadow-menu);
247
+ display: flex; flex-direction: column; gap: 1px; padding: var(--space-1);
248
+ background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-menu);
249
+ animation: controls-panel-in var(--dur-1) var(--ease-standard);
219
250
  }
220
251
  .menu-list > button {
221
- justify-content: flex-start; width: 100%; min-height: var(--control-height); padding: 0 var(--space-2);
222
- background: transparent; color: var(--text); border-radius: var(--row-radius);
252
+ justify-content: flex-start; width: 100%; min-height: var(--row-height); padding: 0 var(--space-2);
253
+ background: transparent; color: var(--text); border-radius: var(--radius-xs); font-weight: var(--weight-regular);
223
254
  }
224
- .menu-list > button:hover:not(:disabled), .menu-list > button:focus-visible { background: var(--bg-card); outline: none; }
255
+ .menu-list > button:hover:not(:disabled), .menu-list > button:focus-visible { background: var(--hover, var(--bg-hover)); outline: none; }
225
256
  .menu-list > button > svg.icon { color: var(--text-2); }
226
257
  /* A destructive item (an Agent's Delete) reads as one, icon included. */
227
258
  .menu-list > button.danger, .menu-list > button.danger > svg.icon { color: var(--err-text); }
@@ -231,39 +262,38 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
231
262
 
232
263
  .workspace { flex: 1; display: flex; min-height: 0; position: relative; }
233
264
 
234
- /* The canvas ground carries a fine dot grid that pans with nothing: it is texture, not a ruler. */
265
+ /* The canvas ground carries a fine dot grid in canvas space: `transform()` (app.js) scales it with the
266
+ zoom and moves it with the pan, so a dot sits on every 20-unit snap point. Each dot is drawn at the
267
+ centre of its tile, which is why the script offsets the tile by half a step. */
235
268
  #canvas {
236
269
  flex: 1; position: relative; overflow: hidden; min-width: 0; touch-action: none;
237
270
  background-color: var(--canvas-bg);
238
271
  background-image: radial-gradient(var(--canvas-dot) 1px, transparent 1.2px);
239
- background-size: 20px 20px;
272
+ background-size: 20px 20px; background-position: -10px -10px;
240
273
  }
241
274
  #scene { position: absolute; transform-origin: 0 0; }
242
275
  #edges { position: absolute; overflow: visible; width: 1px; height: 1px; pointer-events: none; }
243
276
  #nodes { position: absolute; }
244
277
 
245
- /* A node is a card: a surface with the register's radius and contact shadow, a coloured stripe on
246
- its left edge naming its kind, and the type's icon beside its name. */
278
+ /* A node is a neutral card: a surface with the register's radius and contact shadow, and its kind's
279
+ icon beside its name. The kind is the icon's shape; the card carries no hue of its own, so the
280
+ canvas reads in the same register as the window around it. */
247
281
  .node {
248
- --type-colour: var(--node-agent);
249
282
  position: absolute; width: 210px; min-height: 94px; padding: var(--space-3) var(--space-3) 0 18px;
250
283
  border: 1px solid var(--border); border-radius: var(--card-radius);
251
284
  background: var(--bg-input); box-shadow: var(--lift-2);
252
285
  text-align: left; cursor: grab; user-select: none; touch-action: none;
253
- background-image: linear-gradient(var(--type-colour), var(--type-colour));
254
- background-size: 4px 100%; background-repeat: no-repeat; background-position: left top;
255
286
  }
256
- .node.join, .node.loop, .node.condition, .node.parallel, .node.approval { --type-colour: var(--node-control); }
257
- .node.action { --type-colour: var(--node-action); }
258
- .node.end { --type-colour: var(--node-end); }
287
+ /* While a card is dragged only its transform changes (app.js); it rises above its neighbours. */
288
+ .node.dragging { z-index: 1; cursor: grabbing; }
259
289
  .node.selected { border-color: var(--accent); box-shadow: var(--lift-3), 0 0 0 1px var(--accent); }
260
- /* A node carrying a validation error wears a slight red aura so it reads as needing attention
261
- before the graph can save; a refused Save pulses the aura to point the eye at the cards. */
262
- .node.node-error { border-color: var(--err); box-shadow: 0 0 0 2px var(--err), 0 0 10px 0 var(--err); }
263
- .node.node-error-pulse { animation: node-error-pulse 0.6s ease-in-out 2; }
264
- @keyframes node-error-pulse { 50% { box-shadow: 0 0 0 4px var(--err), 0 0 18px 2px var(--err); } }
290
+ /* A node carrying a validation error takes a crisp 1px red edge, with no glow. A refused Save marks
291
+ the cards once with a slightly heavier edge to point the eye at them, and nothing repeats. */
292
+ .node.node-error { border-color: var(--err); box-shadow: var(--lift-2), 0 0 0 1px var(--err); }
293
+ .node.node-error-pulse { animation: node-error-flash var(--dur-3) var(--ease-standard) 1; }
294
+ @keyframes node-error-flash { 50% { box-shadow: var(--lift-2), 0 0 0 2px var(--err); } }
265
295
  .node-title { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
266
- .node-title > svg.icon { color: var(--type-colour); }
296
+ .node-title > svg.icon { color: var(--text-2); }
267
297
  .node b { display: block; min-width: 0; flex: 1; font-weight: var(--weight-strong); font-size: var(--type-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
268
298
  .node small { display: block; color: var(--text-3); font-size: var(--type-xs); margin-top: 6px; padding-left: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
269
299
  .node .node-start { flex: none; min-height: 18px; padding: 0 6px; }
@@ -283,7 +313,7 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
283
313
  .output-port {
284
314
  height: 25px; display: block; position: relative; width: calc(100% + 30px); margin-left: -18px;
285
315
  text-align: right; border: 0; border-top: 1px solid var(--border); border-radius: 0;
286
- padding: var(--space-1) 15px; background: transparent; font-size: var(--type-xs); line-height: 16px; color: var(--text-3); min-height: 0;
316
+ padding: var(--space-1) 15px; background: transparent; font-size: var(--type-xs); font-weight: var(--weight-regular); line-height: 16px; color: var(--text-3); min-height: 0;
287
317
  overflow: hidden; text-overflow: ellipsis;
288
318
  }
289
319
  .output-port[data-connected] { color: transparent; }
@@ -294,21 +324,22 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
294
324
  background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: 50%;
295
325
  }
296
326
  .output-port[data-connected]:after { background: var(--text-3); border-color: var(--text-3); }
297
- .node .output-port:hover { background: var(--bg-card); }
327
+ .node .output-port:hover:not(:disabled) { background: var(--hover, var(--bg-card)); }
298
328
 
299
- /* Canvas controls: one pill of icon buttons at the bottom centre, beside the minimap. */
329
+ /* Canvas controls: one rounded rectangle of square icon buttons at the bottom centre, beside the
330
+ minimap, which shares its corner. */
300
331
  .canvas-toolbar {
301
332
  position: absolute; z-index: 4; bottom: var(--space-4); left: 50%; transform: translateX(-50%);
302
333
  display: flex; gap: 2px; align-items: center;
303
334
  padding: var(--space-1); background: var(--bg-input); border: 1px solid var(--border);
304
- border-radius: 999px; box-shadow: var(--shadow-menu);
335
+ border-radius: var(--radius-lg); box-shadow: var(--shadow-menu);
305
336
  }
306
337
  .canvas-toolbar button {
307
338
  border: 0; background: transparent; width: var(--control-height); height: var(--control-height); min-height: 0;
308
- padding: 0; border-radius: 999px; color: var(--text-2);
339
+ padding: 0; border-radius: var(--radius-sm); color: var(--text-2); font-weight: var(--weight-regular);
309
340
  }
310
- .canvas-toolbar button:hover:not(:disabled) { background: var(--bg-card); color: var(--text); }
311
- .canvas-toolbar button[aria-pressed="true"] { background: var(--accent-soft); color: var(--text); }
341
+ .canvas-toolbar button:hover:not(:disabled) { background: var(--hover, var(--bg-card)); color: var(--text); }
342
+ .canvas-toolbar button[aria-pressed="true"] { background: var(--selected, var(--accent-soft)); color: var(--text); }
312
343
  .canvas-toolbar .toolbar-divider { height: 16px; border-left: 1px solid var(--border); margin: 0 var(--space-1); }
313
344
  #zoom { font-size: var(--type-xs); min-width: 40px; text-align: center; color: var(--text-2); font-variant-numeric: tabular-nums; }
314
345
 
@@ -318,9 +349,9 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
318
349
  position: absolute; z-index: 3; top: var(--space-3); left: var(--space-3); max-width: calc(100% - 2 * var(--space-3));
319
350
  display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-1) var(--space-1) var(--space-3);
320
351
  color: var(--text-2); font-size: var(--type-xs); background: var(--bg-input); border: 1px solid var(--border);
321
- border-radius: 999px; box-shadow: var(--shadow-menu);
352
+ border-radius: var(--radius-md); box-shadow: var(--shadow-menu);
322
353
  }
323
- .canvas-hint .icon-button { min-width: 22px; width: 22px; min-height: 22px; height: 22px; border-radius: 999px; }
354
+ .canvas-hint .icon-button { min-width: 24px; width: 24px; min-height: 24px; height: 24px; border-radius: var(--radius-sm); }
324
355
  #empty { position: absolute; inset: 45% 20px auto; text-align: center; color: var(--text-3); }
325
356
 
326
357
  /* The node inspector ----------------------------------------------------- */
@@ -338,17 +369,19 @@ main { display: flex; flex: 1; min-width: 0; flex-direction: column; }
338
369
  #inspector-body { padding: var(--space-4); overflow: auto; flex: 1; }
339
370
  #resize { position: absolute; left: -4px; top: 0; bottom: 0; width: 7px; cursor: col-resize; }
340
371
 
341
- /* The inspector's tabs split a node's settings into General, Model, Behavior and Advanced. */
372
+ /* The inspector's tabs split a node's settings into General, Model, Behavior and Advanced: the
373
+ desktop's segmented control, a well with the selected segment raised above it as a lighter chip.
374
+ Every segment has the same weight, so selection never shifts the labels. */
342
375
  .inspector-tabs {
343
376
  display: flex; gap: 2px; margin: calc(-1 * var(--space-2)) 0 var(--space-4); padding: 2px;
344
- background: var(--bg-card); border-radius: var(--btn-radius);
377
+ background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
345
378
  }
346
379
  .inspector-tabs button {
347
- flex: 1; min-height: 26px; padding: 0 var(--space-2); border-radius: var(--row-radius);
348
- background: transparent; color: var(--text-2); font-size: var(--type-xs);
380
+ flex: 1; min-height: 24px; height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-sm);
381
+ background: transparent; color: var(--text-2); font-size: var(--type-xs); font-weight: var(--weight-strong);
349
382
  }
350
- .inspector-tabs button:hover:not(:disabled) { background: transparent; color: var(--text); }
351
- .inspector-tabs button[aria-selected="true"] { background: var(--bg-input); color: var(--text); box-shadow: var(--lift-2); }
383
+ .inspector-tabs button:hover:not(:disabled):not([aria-selected="true"]) { background: transparent; color: var(--text); }
384
+ .inspector-tabs button[aria-selected="true"] { background: var(--bg-raised); color: var(--text); box-shadow: var(--shadow-raised, 0 0 0 1px var(--border)); }
352
385
  .inspector-panel > .section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
353
386
 
354
387
  .field { display: grid; grid-template-columns: minmax(0, auto) 1fr; align-items: center; column-gap: var(--space-1); margin-bottom: var(--space-3); }
@@ -381,13 +414,13 @@ body.prompt-fullscreen #inspector { z-index: 60; }
381
414
  .field, .tool-label, .section h3 { position: relative; }
382
415
  .info-tip { position: static; display: inline-flex; vertical-align: middle; }
383
416
  .info-tip > button {
384
- width: 18px; height: 18px; min-height: 0; padding: 0; border-radius: 999px;
385
- background: transparent; color: var(--text-3);
417
+ width: 18px; height: 18px; min-height: 0; padding: 0; border-radius: var(--radius-full);
418
+ background: transparent; color: var(--text-3); font-weight: var(--weight-regular);
386
419
  }
387
- .info-tip > button:hover:not(:disabled), .info-tip > button:focus-visible, .info-tip.open > button { color: var(--text); background: var(--bg-card); }
420
+ .info-tip > button:hover:not(:disabled), .info-tip > button:focus-visible, .info-tip.open > button { color: var(--text); background: var(--hover, var(--bg-card)); }
388
421
  .info-tip-text {
389
422
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-width: 360px;
390
- padding: var(--space-2) var(--space-3); border-radius: var(--btn-radius); border: 1px solid var(--border);
423
+ padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--border);
391
424
  background: var(--bg-input); color: var(--text-2); box-shadow: var(--shadow-menu);
392
425
  font-size: var(--type-xs); line-height: 1.5; font-weight: var(--weight-regular); white-space: normal;
393
426
  opacity: 0; visibility: hidden; pointer-events: none;
@@ -414,8 +447,8 @@ body.prompt-fullscreen #inspector { z-index: 60; }
414
447
  #inspector-body .disclosure > div > .section:first-child { border-top: 0; padding-top: 0; }
415
448
 
416
449
  .help { font-size: var(--type-xs); line-height: 1.5; color: var(--text-2); }
417
- .link-button { font-size: var(--type-xs); margin-left: var(--space-5); border: 0; background: transparent; text-decoration: underline; color: var(--text-2); min-height: 0; padding: 0; }
418
- .link-button:hover:not(:disabled) { background: transparent; color: var(--text); }
450
+ .link-button { font-size: var(--type-xs); font-weight: var(--weight-regular); margin-left: var(--space-5); border: 0; background: transparent; text-decoration: underline; color: var(--accent-text, var(--text-2)); min-height: 0; padding: 0; }
451
+ .link-button:hover:not(:disabled) { background: transparent; color: var(--accent-text, var(--text)); }
419
452
  .provider-warning { margin: 0 0 var(--space-3); }
420
453
 
421
454
  /* Skills in prompts (skill-picker.js): the `/` picker reuses the dropdown panel, and a name this
@@ -449,7 +482,7 @@ body.prompt-fullscreen #inspector { z-index: 60; }
449
482
  .actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
450
483
  .model-context { font-size: var(--type-xs); }
451
484
  .modifier-badge {
452
- display: inline-block; font-size: var(--type-xs); border-radius: var(--space-1); background: var(--bg-card);
485
+ display: inline-block; font-size: var(--type-xs); border-radius: var(--radius-xs); background: var(--bg-card);
453
486
  color: var(--text-2); padding: 2px 6px; margin: 2px 2px 6px 0;
454
487
  }
455
488
  .cycle-help { padding: var(--space-3); border: 1px solid var(--border); background: var(--bg-card); border-radius: var(--btn-radius); margin-bottom: var(--space-3); }
@@ -463,10 +496,10 @@ body.prompt-fullscreen #inspector { z-index: 60; }
463
496
  color: var(--text-3); background: var(--bg-surface);
464
497
  }
465
498
  .status button {
466
- border: 0; background: transparent; font-size: var(--type-xs); height: 22px; min-height: 0; padding: 0 var(--space-2);
467
- border-radius: var(--row-radius); color: var(--text-3);
499
+ border: 0; background: transparent; font-size: var(--type-xs); font-weight: var(--weight-regular); height: 22px; min-height: 0; padding: 0 var(--space-2);
500
+ border-radius: var(--radius-xs); color: var(--text-3);
468
501
  }
469
- .status button:hover:not(:disabled) { background: var(--bg-card); color: var(--text); }
502
+ .status button:hover:not(:disabled) { background: var(--hover, var(--bg-card)); color: var(--text); }
470
503
  .status.error { color: var(--err-text); }
471
504
  #status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
472
505
  .status-actions { display: flex; gap: var(--space-1); align-items: center; }
@@ -495,7 +528,7 @@ body.prompt-fullscreen #inspector { z-index: 60; }
495
528
  .rail-body.is-scrolling, #graphs.is-scrolling, .rail-body:focus-visible, #graphs:focus-visible { scrollbar-color: var(--text-3) transparent; }
496
529
  .rail-body::-webkit-scrollbar, #graphs::-webkit-scrollbar { width: 6px; height: 0; }
497
530
  .rail-body::-webkit-scrollbar-track, #graphs::-webkit-scrollbar-track { background: transparent; }
498
- .rail-body::-webkit-scrollbar-thumb, #graphs::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
531
+ .rail-body::-webkit-scrollbar-thumb, #graphs::-webkit-scrollbar-thumb { background: transparent; border-radius: var(--radius-sm); }
499
532
  .rail-body.is-scrolling::-webkit-scrollbar-thumb, #graphs.is-scrolling::-webkit-scrollbar-thumb,
500
533
  .rail-body:focus-visible::-webkit-scrollbar-thumb, #graphs:focus-visible::-webkit-scrollbar-thumb { background: var(--text-3); }
501
534
  .rail-body::-webkit-scrollbar-button, #graphs::-webkit-scrollbar-button { display: none; }
@@ -527,4 +560,6 @@ body.prompt-fullscreen #inspector { z-index: 60; }
527
560
 
528
561
  @media (prefers-reduced-motion: reduce) {
529
562
  * { scroll-behavior: auto !important; transition-duration: var(--dur-1) !important; animation: none !important; }
563
+ /* Nothing moves: a pressed button does not shrink. Colour still changes over --dur-1. */
564
+ button:active:not(:disabled) { transform: none; }
530
565
  }
@@ -46,8 +46,8 @@
46
46
  toggle.hidden = embedded;
47
47
  toggle.textContent = theme === 'dark' ? 'Light' : 'Dark';
48
48
  toggle.setAttribute('aria-label', theme === 'dark'
49
- ? 'Switch the graph editor to the light appearance'
50
- : 'Switch the graph editor to the dark appearance');
49
+ ? 'Switch the Workflow Editor to the light appearance'
50
+ : 'Switch the Workflow Editor to the dark appearance');
51
51
  }
52
52
  // The canvas draws its connection colours from the tokens, so a change repaints them.
53
53
  document.dispatchEvent(new CustomEvent('andorra:themechange', { detail: theme }));