gentle-pi 4.6.0 → 4.8.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 (536) hide show
  1. package/README.md +65 -55
  2. package/assets/agents/gentle-ai-explore.md +4 -3
  3. package/assets/agents/gentle-ai-verify.md +23 -6
  4. package/assets/agents/gentle-ai-worker.md +9 -6
  5. package/assets/agents/jd-fix-agent.md +1 -0
  6. package/assets/agents/jd-judge-a.md +2 -3
  7. package/assets/agents/jd-judge-b.md +2 -3
  8. package/assets/agents/review-readability.md +1 -5
  9. package/assets/agents/review-reliability.md +1 -5
  10. package/assets/agents/review-resilience.md +1 -5
  11. package/assets/agents/review-risk.md +1 -5
  12. package/assets/design-canvas/canvas-api.js +45 -0
  13. package/assets/design-canvas/canvas-boards.js +456 -0
  14. package/assets/design-canvas/canvas-boot.js +217 -0
  15. package/assets/design-canvas/canvas-checks.js +491 -0
  16. package/assets/design-canvas/canvas-comments.js +315 -0
  17. package/assets/design-canvas/canvas-compare.js +159 -0
  18. package/assets/design-canvas/canvas-events.js +75 -0
  19. package/assets/design-canvas/canvas-export.js +393 -0
  20. package/assets/design-canvas/canvas-focus.js +203 -0
  21. package/assets/design-canvas/canvas-handoffs.js +150 -0
  22. package/assets/design-canvas/canvas-i18n-es.js +392 -0
  23. package/assets/design-canvas/canvas-i18n.js +108 -0
  24. package/assets/design-canvas/canvas-layout.js +526 -0
  25. package/assets/design-canvas/canvas-menu.js +213 -0
  26. package/assets/design-canvas/canvas-messages.js +86 -0
  27. package/assets/design-canvas/canvas-minimap.js +163 -0
  28. package/assets/design-canvas/canvas-parts.js +401 -0
  29. package/assets/design-canvas/canvas-popover.js +234 -0
  30. package/assets/design-canvas/canvas-rail.js +348 -0
  31. package/assets/design-canvas/canvas-sizes.js +524 -0
  32. package/assets/design-canvas/canvas-store.js +164 -0
  33. package/assets/design-canvas/canvas-tokens.js +674 -0
  34. package/assets/design-canvas/canvas-ui.js +24 -0
  35. package/assets/design-canvas/canvas-view.js +184 -0
  36. package/assets/design-canvas/canvas.css +759 -16
  37. package/assets/design-canvas/canvas.js +2 -1497
  38. package/assets/design-canvas/index.html +117 -36
  39. package/assets/design-canvas/inspector.js +546 -16
  40. package/assets/install-wizard/wizard.js +6 -1
  41. package/assets/migrations/agent-body-history.json +40 -1
  42. package/assets/orchestrator-delegation-reference.md +10 -16
  43. package/assets/orchestrator-delegation.md +5 -5
  44. package/assets/orchestrator-full-delegation-card.md +64 -0
  45. package/assets/orchestrator-full-delegation.md +34 -0
  46. package/assets/orchestrator-memory.md +5 -5
  47. package/assets/orchestrator-prompts.md +2 -2
  48. package/assets/orchestrator-quota-recovery.md +5 -0
  49. package/assets/orchestrator-skills.md +14 -13
  50. package/assets/orchestrator-tracking.md +10 -14
  51. package/assets/orchestrator-verification.md +12 -8
  52. package/assets/orchestrator-writer.md +4 -4
  53. package/assets/orchestrator.md +21 -25
  54. package/bin/gentle-shell.mjs +292 -65
  55. package/contracts/review-provider-contract-mirror/provider-contract.lock.json +8 -9
  56. package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/manifest.json +3 -3
  57. package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/orchestration/pi.md +1 -0
  58. package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/routing/pi.md +6 -6
  59. package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/generated/provider-capabilities.baseline.json +3 -3
  60. package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/generated/provider-roles.baseline.json +1 -1
  61. package/docs/agent-status.md +61 -0
  62. package/docs/assets/brand/sponsor-banner.svg +60 -0
  63. package/docs/bundled-install.md +20 -10
  64. package/docs/delegated-verification.md +46 -8
  65. package/docs/desktop-rpc.md +1253 -0
  66. package/docs/gentle-agents-activity.md +40 -0
  67. package/docs/gentle-shell.md +91 -30
  68. package/docs/install-wizard.md +30 -21
  69. package/docs/odd-preparation-continuity.md +24 -0
  70. package/docs/permission-modes.md +17 -4
  71. package/docs/prompt-budget.md +12 -0
  72. package/docs/rdd-odd-friction-triage-2026-11-07.md +57 -0
  73. package/docs/readme-reference.md +142 -45
  74. package/docs/render-cache-performance.md +11 -1
  75. package/docs/review-coordinator.md +53 -0
  76. package/docs/review-delivery-preflight.md +22 -0
  77. package/docs/review-request-context.md +19 -0
  78. package/docs/review-windows-acl.md +18 -0
  79. package/docs/voice.md +6 -3
  80. package/docs/work-continuity.md +11 -1
  81. package/docs/yolo-mode.md +5 -5
  82. package/extensions/ask-user-choice.ts +1 -0
  83. package/extensions/ask-user-question.ts +3 -2
  84. package/extensions/child-context.ts +21 -7
  85. package/extensions/child-safety.ts +3 -0
  86. package/extensions/gentle-agent-status.ts +99 -0
  87. package/extensions/gentle-agents.ts +559 -66
  88. package/extensions/gentle-ai.ts +2001 -518
  89. package/extensions/gentle-design.ts +69 -3
  90. package/extensions/gentle-desktop-rpc.ts +143 -0
  91. package/extensions/gentle-guide.ts +3 -0
  92. package/extensions/gentle-shell.ts +398 -115
  93. package/extensions/gentle-todo.ts +66 -27
  94. package/extensions/gentle-tps.ts +48 -0
  95. package/extensions/quiet-tools.ts +38 -8
  96. package/extensions/skill-registry.ts +349 -167
  97. package/extensions/startup-banner.ts +30 -3
  98. package/lib/agent-assets.ts +30 -6
  99. package/lib/agent-profile-pin.ts +3 -3
  100. package/lib/agent-profiles.ts +160 -2
  101. package/lib/agent-status.ts +105 -0
  102. package/lib/agent-tool-overlay.ts +117 -0
  103. package/lib/agents-config.ts +93 -6
  104. package/lib/agents-history.ts +24 -5
  105. package/lib/agents-message-delivery.ts +17 -0
  106. package/lib/agents-messaging.ts +55 -7
  107. package/lib/agents-protocol.ts +15 -0
  108. package/lib/agents-report-cap.ts +115 -0
  109. package/lib/agents-runner.ts +272 -16
  110. package/lib/agents-session-transport.ts +17 -1
  111. package/lib/auto-permission-runtime.ts +1 -1
  112. package/lib/background-jobs-tools.ts +9 -4
  113. package/lib/bounded-writer-admission.ts +197 -32
  114. package/lib/card-content-policy.ts +8 -6
  115. package/lib/child-context-files.ts +21 -6
  116. package/lib/codemode-renderer.ts +1 -0
  117. package/lib/command-palette.ts +133 -17
  118. package/lib/context-backstop.ts +14 -5
  119. package/lib/delivery-conflict-markers.ts +349 -0
  120. package/lib/design-canvas-assets.ts +36 -0
  121. package/lib/design-canvas-server.ts +241 -23
  122. package/lib/design-comments.ts +94 -4
  123. package/lib/design-handoffs.ts +2 -1
  124. package/lib/design-layout.ts +125 -0
  125. package/lib/design-parts.ts +281 -0
  126. package/lib/design-system-tokens.ts +111 -0
  127. package/lib/desktop-agents-service.ts +294 -0
  128. package/lib/desktop-design-service.ts +233 -0
  129. package/lib/desktop-jobs-service.ts +263 -0
  130. package/lib/desktop-rpc-agents.ts +294 -0
  131. package/lib/desktop-rpc-config.ts +731 -0
  132. package/lib/desktop-rpc-design.ts +138 -0
  133. package/lib/desktop-rpc-jobs.ts +181 -0
  134. package/lib/desktop-rpc-permissions.ts +177 -0
  135. package/lib/desktop-rpc-profiles.ts +196 -0
  136. package/lib/desktop-rpc-usage.ts +229 -0
  137. package/lib/desktop-rpc.ts +225 -0
  138. package/lib/desktop-usage-service.ts +310 -0
  139. package/lib/destructive-command-guard.ts +236 -17
  140. package/lib/execution-surface-guard.ts +20 -0
  141. package/lib/exploration-budget.ts +4 -2
  142. package/lib/gentle-ai-binary.ts +1 -1
  143. package/lib/gentle-ai-renderer.ts +13 -1
  144. package/lib/gentle-design.ts +204 -14
  145. package/lib/gentle-shell-bundled.ts +106 -28
  146. package/lib/gentle-shell-launcher.ts +43 -8
  147. package/lib/herdr-activity.ts +14 -2
  148. package/lib/herdr-busy.ts +45 -0
  149. package/lib/hidden-tools.ts +35 -0
  150. package/lib/image-attachments.ts +33 -0
  151. package/lib/image-disk-cache.ts +137 -0
  152. package/lib/inprocess-reviewer.ts +358 -144
  153. package/lib/jobs-view.ts +198 -11
  154. package/lib/model-fallback-policy.ts +9 -0
  155. package/lib/model-routing-authority.ts +31 -4
  156. package/lib/nan-provider.ts +42 -28
  157. package/lib/native-choice-list.ts +20 -2
  158. package/lib/native-review-cli.ts +172 -20
  159. package/lib/orchestrator-discovery.ts +39 -2
  160. package/lib/orchestrator-mode-policy.ts +105 -0
  161. package/lib/questionnaire/questionnaire-view.ts +105 -12
  162. package/lib/rdd-mode-control.ts +32 -0
  163. package/lib/reply-language-anchor.ts +129 -0
  164. package/lib/request-context-placement.ts +53 -0
  165. package/lib/review-blocker.ts +92 -0
  166. package/lib/review-candidate-symlink-scan.ts +136 -0
  167. package/lib/review-candidate-view-owner.ts +81 -44
  168. package/lib/review-candidate-view.ts +11 -1
  169. package/lib/review-continuation-registry.ts +116 -0
  170. package/lib/review-coordinator.ts +407 -0
  171. package/lib/review-delivery-preflight.ts +85 -0
  172. package/lib/review-failure-facts.ts +49 -0
  173. package/lib/review-host-relay.ts +51 -11
  174. package/lib/review-integration-v2.ts +63 -4
  175. package/lib/review-relay-phase-timing.ts +45 -0
  176. package/lib/review-start-context.ts +17 -0
  177. package/lib/reviewer-stream.ts +87 -0
  178. package/lib/session-profile-freeze.ts +4 -2
  179. package/lib/shell-bar.ts +140 -58
  180. package/lib/shell-changes.ts +2 -0
  181. package/lib/shell-panel.ts +17 -3
  182. package/lib/shell-prompt.ts +16 -3
  183. package/lib/shell-sidebar-layout.ts +112 -40
  184. package/lib/shell-sidebar.ts +7 -0
  185. package/lib/shell-todo.ts +10 -3
  186. package/lib/shell-usage.ts +10 -0
  187. package/lib/verifier-admission.ts +1 -1
  188. package/lib/vim-editor-adapter.ts +9 -2
  189. package/lib/visual-customization-policy.ts +36 -16
  190. package/lib/visual-customize-view.ts +216 -21
  191. package/lib/visual-layout-preview.ts +9 -5
  192. package/lib/visual-profiles.ts +2 -2
  193. package/lib/windows-session-transport.ts +53 -2
  194. package/lib/writer-batch-admission.ts +55 -0
  195. package/lib/yolo-session-policy.ts +46 -16
  196. package/package.json +3 -2
  197. package/prompts/skill-creation.md +1 -10
  198. package/runtime/design-canvas-assets.mjs +37 -0
  199. package/runtime/gentle-ai-binary.mjs +1 -1
  200. package/runtime/gentle-shell-bundled.mjs +106 -28
  201. package/runtime/gentle-shell-launcher.mjs +42 -7
  202. package/runtime/native-review-cli.mjs +169 -17
  203. package/runtime/review-integration-v2.mjs +63 -4
  204. package/scripts/bootstrap.cmd +2 -2
  205. package/scripts/bootstrap.sh +41 -4
  206. package/scripts/build-full-delegation-card.mjs +179 -0
  207. package/scripts/build-runtime-modules.mjs +1 -0
  208. package/scripts/bundled-install.mjs +38 -8
  209. package/scripts/download-progress.mjs +68 -0
  210. package/scripts/gentle-ai-installer.mjs +41 -18
  211. package/scripts/gentle-ai-proxy.mjs +294 -0
  212. package/scripts/install-gentle-ai.mjs +14 -1
  213. package/scripts/installer-downloads.mjs +34 -8
  214. package/scripts/installer-preflight.mjs +33 -22
  215. package/scripts/installer-probes.mjs +25 -5
  216. package/scripts/installer-runner.mjs +27 -12
  217. package/scripts/installer-server.mjs +46 -16
  218. package/scripts/installer-windows.mjs +2 -2
  219. package/scripts/pi-update.mjs +166 -27
  220. package/scripts/prepare-verifier.mjs +107 -0
  221. package/scripts/render-cache-host.mjs +72 -0
  222. package/scripts/render-cache-performance-worker.mjs +5 -4
  223. package/scripts/render-cache-performance.mjs +6 -1
  224. package/scripts/run-test-suite.mjs +40 -28
  225. package/scripts/update-agent-body-history.mjs +55 -8
  226. package/scripts/verify-package-files.mjs +50 -19
  227. package/scripts/voice-worker.cjs +32 -6
  228. package/skills/branch-pr/SKILL.md +16 -16
  229. package/skills/comment-writer/SKILL.md +1 -1
  230. package/skills/design/SKILL.md +16 -13
  231. package/skills/gentle-ai/SKILL.md +7 -7
  232. package/skills/gentle-ui-design/SKILL.md +46 -0
  233. package/skills/gentle-ui-design/references/adaptive-interfaces.md +46 -0
  234. package/skills/gentle-ui-design/references/browse-and-compare.md +62 -0
  235. package/skills/gentle-ui-design/references/composition-and-feedback.md +56 -0
  236. package/skills/gentle-ui-design/references/task-and-content.md +60 -0
  237. package/skills/judgment-day/SKILL.md +2 -2
  238. package/skills/judgment-day/references/prompts-and-formats.md +1 -1
  239. package/skills/rdd-defect-workflow/SKILL.md +6 -6
  240. package/skills/skill-improver/SKILL.md +2 -2
  241. package/skills/skill-registry/SKILL.md +11 -11
  242. package/skills/tui-design/SKILL.md +1 -1
  243. package/skills/work-unit-commits/SKILL.md +10 -11
  244. package/tests/agent-home.test.ts +28 -9
  245. package/tests/agent-profiles-workflow.test.ts +163 -0
  246. package/tests/agent-prompt-diet-contract.test.ts +101 -0
  247. package/tests/agent-risk-escalation.test.ts +1 -1
  248. package/tests/agent-status.test.ts +143 -0
  249. package/tests/agent-tool-overlay-acceptance.test.ts +158 -0
  250. package/tests/agent-tool-overlay.test.ts +89 -0
  251. package/tests/agents-config.test.ts +106 -1
  252. package/tests/agents-history.test.ts +31 -0
  253. package/tests/agents-jobs-frames.test.ts +93 -0
  254. package/tests/agents-message-delivery.test.ts +36 -0
  255. package/tests/agents-prompt-lifecycle-runtime.test.ts +376 -0
  256. package/tests/agents-queries.test.ts +144 -4
  257. package/tests/agents-report-cap.test.ts +126 -0
  258. package/tests/agents-runner-drain.test.ts +193 -0
  259. package/tests/agents-runner.test.ts +215 -3
  260. package/tests/agents-session-transport.test.ts +34 -0
  261. package/tests/always-on-prompt-verdicts-contract.test.ts +188 -0
  262. package/tests/append-system-prompt-route.test.ts +12 -1
  263. package/tests/approved-text-leftovers-contract.test.ts +136 -0
  264. package/tests/artifact-language.test.ts +1 -1
  265. package/tests/ask-user-choice.test.ts +4 -3
  266. package/tests/ask-user-question.test.ts +99 -1
  267. package/tests/audit-leftovers-contract.test.ts +51 -0
  268. package/tests/auto-permission-runtime.test.ts +1 -1
  269. package/tests/autonomous-guard.test.ts +346 -10
  270. package/tests/bounded-stop-contract.test.ts +51 -3
  271. package/tests/branch-pr-skill.test.ts +10 -1
  272. package/tests/bridge-cost.test.ts +19 -4
  273. package/tests/bundled-install.test.ts +31 -6
  274. package/tests/card-content-policy.test.ts +3 -3
  275. package/tests/chained-pr-skill.test.ts +8 -6
  276. package/tests/child-context-files.test.ts +64 -8
  277. package/tests/child-safety.test.ts +11 -0
  278. package/tests/child-skills-catalog.test.ts +56 -0
  279. package/tests/codegraph-tools.test.ts +11 -5
  280. package/tests/codemode-rendering.test.ts +4 -1
  281. package/tests/command-palette.test.ts +284 -1
  282. package/tests/delegate-for-reason-contract.test.ts +32 -10
  283. package/tests/delivery-conflict-markers.test.ts +348 -0
  284. package/tests/design-canvas-all-sizes.test.ts +631 -0
  285. package/tests/design-canvas-allowlist.test.ts +32 -0
  286. package/tests/design-canvas-assets.test.ts +11 -695
  287. package/tests/design-canvas-boards.test.ts +77 -0
  288. package/tests/design-canvas-checks.test.ts +655 -0
  289. package/tests/design-canvas-compare.test.ts +79 -0
  290. package/tests/design-canvas-events.test.ts +59 -0
  291. package/tests/design-canvas-export.test.ts +1168 -0
  292. package/tests/design-canvas-focus.test.ts +113 -0
  293. package/tests/design-canvas-handoffs.test.ts +59 -0
  294. package/tests/design-canvas-i18n-review.test.ts +513 -0
  295. package/tests/design-canvas-i18n-views.test.ts +259 -0
  296. package/tests/design-canvas-i18n.test.ts +526 -0
  297. package/tests/design-canvas-inspector.test.ts +937 -0
  298. package/tests/design-canvas-layout.test.ts +1222 -0
  299. package/tests/design-canvas-minimap.test.ts +413 -0
  300. package/tests/design-canvas-modules.test.ts +90 -0
  301. package/tests/design-canvas-parts.test.ts +721 -0
  302. package/tests/design-canvas-rail.test.ts +799 -0
  303. package/tests/design-canvas-server.test.ts +855 -17
  304. package/tests/design-canvas-sizes.test.ts +548 -0
  305. package/tests/design-canvas-store.test.ts +180 -0
  306. package/tests/design-canvas-tokens.test.ts +965 -0
  307. package/tests/design-canvas-view.test.ts +299 -0
  308. package/tests/design-comments.test.ts +201 -1
  309. package/tests/design-handoffs.test.ts +20 -0
  310. package/tests/design-layout.test.ts +100 -0
  311. package/tests/design-parts.test.ts +260 -0
  312. package/tests/design-system-tokens.test.ts +215 -0
  313. package/tests/desktop-rpc-agents.test.ts +893 -0
  314. package/tests/desktop-rpc-config.test.ts +1452 -0
  315. package/tests/desktop-rpc-design.test.ts +662 -0
  316. package/tests/desktop-rpc-jobs.test.ts +796 -0
  317. package/tests/desktop-rpc-permissions.test.ts +311 -0
  318. package/tests/desktop-rpc-profiles.test.ts +140 -0
  319. package/tests/desktop-rpc-safety.test.ts +119 -0
  320. package/tests/desktop-rpc-usage.test.ts +697 -0
  321. package/tests/desktop-rpc.test.ts +252 -0
  322. package/tests/destructive-command-guard.test.ts +52 -0
  323. package/tests/devbinary/pi-host-relay.devtest.ts +149 -80
  324. package/tests/devbinary/review-session-consent.devtest.ts +84 -0
  325. package/tests/download-progress.test.ts +71 -0
  326. package/tests/engram-safety.test.ts +111 -0
  327. package/tests/execution-surface-guard.test.ts +55 -0
  328. package/tests/fixtures/devbinary/status-v9-escalated-non-blocking.captured.json +92 -0
  329. package/tests/fixtures/devbinary/status-v9-escalated-non-blocking.provenance.md +3 -0
  330. package/tests/fixtures/primary-session-prompt/gentleman.golden.md +26 -31
  331. package/tests/fixtures/proxy-tls/proxy.crt +19 -0
  332. package/tests/fixtures/proxy-tls/proxy.key +28 -0
  333. package/tests/fixtures/refusal-identity.probe.mjs +139 -0
  334. package/tests/fixtures/session-profile-v1/gentle-ai-reviewer.ts +89 -0
  335. package/tests/fixtures/session-profile-v1/replay.ts +53 -6
  336. package/tests/full-delegation-closure.test.ts +160 -0
  337. package/tests/full-delegation-notices.test.ts +76 -0
  338. package/tests/generic-agent-tools.test.ts +3 -3
  339. package/tests/gentle-agent-status.test.ts +74 -0
  340. package/tests/gentle-agents-child-jobs.test.ts +237 -0
  341. package/tests/gentle-agents.test.ts +1403 -20
  342. package/tests/gentle-ai-binary.test.ts +3 -1
  343. package/tests/gentle-ai-child-guards.test.ts +1 -0
  344. package/tests/gentle-ai-elapsed-store.test.ts +19 -0
  345. package/tests/gentle-ai-exploration-budget.test.ts +18 -2
  346. package/tests/gentle-ai-installer.test.ts +135 -51
  347. package/tests/gentle-ai-proxy.test.ts +434 -0
  348. package/tests/gentle-ai-renderer.test.ts +36 -2
  349. package/tests/gentle-ai.test.ts +233 -43
  350. package/tests/gentle-design.test.ts +386 -1
  351. package/tests/gentle-herdr-activity.test.ts +9 -6
  352. package/tests/gentle-shell-bin.test.ts +123 -0
  353. package/tests/gentle-shell-bundled.test.ts +293 -31
  354. package/tests/gentle-shell-launcher.test.ts +78 -11
  355. package/tests/gentle-shell.test.ts +1017 -146
  356. package/tests/gentle-todo.test.ts +51 -11
  357. package/tests/gentle-tps.test.ts +123 -0
  358. package/tests/gentle-ui-design-skill.test.ts +59 -0
  359. package/tests/herdr-busy.test.ts +59 -0
  360. package/tests/herdr-task-summary-policy.test.ts +8 -4
  361. package/tests/hidden-tools.test.ts +188 -0
  362. package/tests/image-disk-cache.test.ts +163 -0
  363. package/tests/independent-recovery-delivery.test.ts +97 -0
  364. package/tests/inprocess-reviewer.test.ts +249 -4
  365. package/tests/install-wizard.test.ts +27 -1
  366. package/tests/installer-downloads.test.ts +30 -1
  367. package/tests/installer-posix-bootstrap.test.ts +115 -14
  368. package/tests/installer-preflight.test.ts +54 -5
  369. package/tests/installer-probes.test.ts +146 -0
  370. package/tests/installer-runner.test.ts +79 -44
  371. package/tests/installer-server.test.ts +215 -13
  372. package/tests/installer-windows-bootstrap.test.ts +19 -1
  373. package/tests/jobs-view.test.ts +260 -6
  374. package/tests/judgment-day-severity-admission.test.ts +46 -0
  375. package/tests/lazy-module-contradictions-contract.test.ts +158 -0
  376. package/tests/maintainer/desktop-rpc.maintest.ts +632 -0
  377. package/tests/maintainer/pi-update-source.maintest.ts +48 -18
  378. package/tests/modal-mouse-boundaries.test.ts +136 -0
  379. package/tests/model-fallback-policy.test.ts +26 -7
  380. package/tests/model-routing-authority.test.ts +178 -2
  381. package/tests/nan-provider-runtime.test.ts +17 -3
  382. package/tests/nan-provider.test.ts +111 -56
  383. package/tests/native-choice-list.test.ts +77 -2
  384. package/tests/native-review-capability-contract.test.ts +17 -1
  385. package/tests/native-review-cli-nonblocking-findings.test.ts +165 -0
  386. package/tests/native-review-cli.test.ts +269 -1
  387. package/tests/native-review-parity.test.ts +24 -5
  388. package/tests/native-review-refusal-identity.test.ts +25 -0
  389. package/tests/no-self-pause-contract.test.ts +13 -2
  390. package/tests/odd-integration.test.ts +11 -3
  391. package/tests/odd-routing-canonical-ratchet.test.ts +3 -3
  392. package/tests/odd-routing-contract.test.ts +80 -28
  393. package/tests/orchestrator-budget.test.ts +35 -5
  394. package/tests/orchestrator-consultation-sdk.test.ts +32 -6
  395. package/tests/orchestrator-delegation-mode.test.ts +154 -0
  396. package/tests/orchestrator-discovery.test.ts +28 -0
  397. package/tests/orchestrator-mode-policy.test.ts +175 -0
  398. package/tests/orchestrator-prompt-budget.test.ts +13 -2
  399. package/tests/orchestrator-prompt-diet-contract.test.ts +221 -0
  400. package/tests/orchestrator-rdd-ownership.test.ts +4 -3
  401. package/tests/orchestrator-work-search.test.ts +4 -2
  402. package/tests/package-files.test.ts +25 -1
  403. package/tests/package-manifest.test.ts +16 -13
  404. package/tests/parallel-reason-contract.test.ts +6 -3
  405. package/tests/permission-allowlist.test.ts +372 -0
  406. package/tests/persona-neutral-voseo.test.ts +4 -4
  407. package/tests/persona-reply-language.test.ts +1 -1
  408. package/tests/persona-single-channel.test.ts +13 -5
  409. package/tests/pi-update-launcher.test.ts +25 -7
  410. package/tests/pi-update-source.test.ts +113 -6
  411. package/tests/pi-update.test.ts +294 -19
  412. package/tests/pnpm-workspace-config.test.ts +58 -0
  413. package/tests/pnpm-workspace-policy.test.ts +47 -0
  414. package/tests/primary-context-files.test.ts +233 -0
  415. package/tests/primary-context-three-files.test.ts +174 -0
  416. package/tests/primary-session-prompt.test.ts +13 -0
  417. package/tests/profile-pin.test.ts +29 -2
  418. package/tests/profile-tier-footer.test.ts +5 -0
  419. package/tests/profiles-panel-delegation-mode.test.ts +422 -0
  420. package/tests/provider-defect-handoff.test.ts +9 -2
  421. package/tests/questionnaire-view.test.ts +115 -0
  422. package/tests/quiet-bash-runtime.test.ts +1 -1
  423. package/tests/quiet-tool-rendering.test.ts +48 -0
  424. package/tests/rdd-aware-verification-contract.test.ts +17 -12
  425. package/tests/rdd-customize.test.ts +287 -0
  426. package/tests/rdd-mode-cache.test.ts +450 -0
  427. package/tests/rdd-mode-control.test.ts +407 -0
  428. package/tests/rdd-mode-scope-regression.test.ts +137 -0
  429. package/tests/rdd-off-independent-regression.test.ts +69 -0
  430. package/tests/rdd-status-line.test.ts +112 -1
  431. package/tests/render-cache-performance.test.ts +171 -2
  432. package/tests/reply-language-anchor-placement.test.ts +184 -0
  433. package/tests/reply-language-anchor.test.ts +189 -0
  434. package/tests/request-context-append-only.test.ts +218 -0
  435. package/tests/request-context-placement.test.ts +148 -0
  436. package/tests/review-agent-end-preflight.test.ts +80 -2
  437. package/tests/review-blocker.test.ts +193 -0
  438. package/tests/review-candidate-owner-retry.test.ts +1 -1
  439. package/tests/review-candidate-symlink-scan.test.ts +157 -0
  440. package/tests/review-candidate-view.test.ts +66 -1
  441. package/tests/review-candidate-windows-boundary.test.ts +131 -0
  442. package/tests/review-candidate-windows-probe.test.ts +63 -0
  443. package/tests/review-committed-restart-ack.test.ts +129 -0
  444. package/tests/review-continuation-registry.test.ts +107 -0
  445. package/tests/review-contract-prompt.test.ts +1 -1
  446. package/tests/review-controller-native-routing.test.ts +261 -5
  447. package/tests/review-controller-workspace-root.test.ts +230 -3
  448. package/tests/review-controller.test.ts +98 -12
  449. package/tests/review-coordinator-correction-gate.test.ts +105 -0
  450. package/tests/review-coordinator-findings.test.ts +206 -0
  451. package/tests/review-coordinator-nonblocking-scope.test.ts +169 -0
  452. package/tests/review-coordinator-runtime.test.ts +117 -0
  453. package/tests/review-coordinator.test.ts +462 -0
  454. package/tests/review-delivery-preflight.test.ts +462 -0
  455. package/tests/review-due-compaction.test.ts +31 -0
  456. package/tests/review-due-public-boundary.test.ts +26 -0
  457. package/tests/review-failure-facts.test.ts +87 -0
  458. package/tests/review-host-relay-routing.test.ts +258 -4
  459. package/tests/review-host-relay.test.ts +39 -0
  460. package/tests/review-integration-nonblocking-findings.test.ts +108 -0
  461. package/tests/review-integration-v2.test.ts +46 -3
  462. package/tests/review-json-arguments.test.ts +105 -11
  463. package/tests/review-last-event-closure.test.ts +68 -0
  464. package/tests/review-ledger-contract.test.ts +19 -40
  465. package/tests/review-loadout-rdd-off-sdk.test.ts +95 -32
  466. package/tests/review-one-call-findings.test.ts +131 -0
  467. package/tests/review-one-call-followups.test.ts +308 -0
  468. package/tests/review-one-call-reviewer-requests.test.ts +207 -0
  469. package/tests/review-one-call.test.ts +452 -0
  470. package/tests/review-owner-identity.test.ts +60 -24
  471. package/tests/review-relay-phase-timing.test.ts +128 -0
  472. package/tests/review-relay-transport-agent.test.ts +39 -2
  473. package/tests/review-reviewer-evidence.test.ts +223 -0
  474. package/tests/review-risk-assessment.test.ts +126 -8
  475. package/tests/review-run-statement-guidance-independent.test.ts +54 -0
  476. package/tests/review-session-standing-permission-controller.test.ts +53 -3
  477. package/tests/review-start-context.test.ts +19 -0
  478. package/tests/review-tool-prose-budget.test.ts +122 -0
  479. package/tests/reviewer-stream.test.ts +149 -0
  480. package/tests/run-test-suite.test.ts +122 -1
  481. package/tests/runtime-harness.mjs +4 -1
  482. package/tests/sensitive-path-tools.test.ts +181 -5
  483. package/tests/session-profile-append-controller-pi.test.ts +60 -31
  484. package/tests/session-profile-binding.test.ts +19 -1
  485. package/tests/session-profile-disk-reader-pi.test.ts +58 -16
  486. package/tests/session-profile-extension.test.ts +2 -2
  487. package/tests/session-profile-v1-compat.test.ts +35 -1
  488. package/tests/shell-bar.test.ts +186 -42
  489. package/tests/shell-panel.test.ts +50 -22
  490. package/tests/shell-prompt.test.ts +17 -0
  491. package/tests/shell-sidebar-fullscreen.test.ts +5 -5
  492. package/tests/shell-sidebar-layout.test.ts +294 -23
  493. package/tests/shell-sidebar-scroll-benchmark.test.ts +1 -1
  494. package/tests/shell-surface-transparent.test.ts +89 -0
  495. package/tests/shell-todo.test.ts +12 -0
  496. package/tests/shell-usage.test.ts +59 -10
  497. package/tests/skill-contradictions-contract.test.ts +122 -0
  498. package/tests/skill-registry-watcher.test.ts +216 -2
  499. package/tests/skill-registry.test.ts +1461 -5
  500. package/tests/startup-banner.test.ts +152 -1
  501. package/tests/startup-home-repo.test.ts +2 -0
  502. package/tests/support/design-canvas-dom.ts +369 -0
  503. package/tests/support/review-coordinator-runtime.ts +264 -0
  504. package/tests/task-size-routing-contract.test.ts +45 -12
  505. package/tests/test-strength-contract.test.ts +2 -1
  506. package/tests/todo-request-append-only.test.ts +214 -0
  507. package/tests/tool-batching-contract.test.ts +3 -1
  508. package/tests/update-agent-body-history.test.ts +138 -0
  509. package/tests/verification-tiers-contract.test.ts +229 -0
  510. package/tests/verifier-admission.test.ts +49 -0
  511. package/tests/verifier-preparation.test.ts +229 -0
  512. package/tests/verify-agent-contract.test.ts +20 -2
  513. package/tests/verify-first-launch-contract.test.ts +162 -11
  514. package/tests/vim-editor-adapter.test.ts +2 -2
  515. package/tests/visual-customization-policy.test.ts +39 -6
  516. package/tests/visual-customize-view.test.ts +573 -9
  517. package/tests/visual-layout-preview.test.ts +15 -1
  518. package/tests/visual-profiles.test.ts +11 -0
  519. package/tests/voice-worker.test.ts +73 -2
  520. package/tests/windows-session-transport.test.ts +126 -0
  521. package/tests/work-continuity-contract.test.ts +77 -6
  522. package/tests/writer-admission-messages.test.ts +232 -0
  523. package/tests/writer-batch-admission.test.ts +66 -0
  524. package/tests/writer-edit-surface-scope.test.ts +52 -20
  525. package/tests/writer-feature-document-admission.test.ts +276 -0
  526. package/tests/yolo-customize.test.ts +27 -4
  527. package/tests/yolo-mode.test.ts +62 -18
  528. package/tests/yolo-session-policy.test.ts +270 -1
  529. package/skills/_shared/review-ledger-contract.md +0 -106
  530. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/README.md +0 -0
  531. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/schemas/lens.schema.json +0 -0
  532. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/schemas/refuter.schema.json +0 -0
  533. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/schemas/targeted-validator.schema.json +0 -0
  534. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/vectors/lens.json +0 -0
  535. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/vectors/refuter.json +0 -0
  536. /package/contracts/review-provider-contract-mirror/{v1.4.0 → v1.5.0}/bundle/vectors/targeted-validator.json +0 -0
@@ -13,6 +13,8 @@
13
13
  --gd-pin: #8ab4ff;
14
14
  --gd-pin-resolved: #7d8a7f;
15
15
  --gd-success: #9be0a8;
16
+ /* An artboard's page before its own background paints. */
17
+ --gd-paper: #fff;
16
18
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
17
19
  font-size: 14px;
18
20
  }
@@ -104,6 +106,10 @@ button:focus-visible, select:focus-visible, textarea:focus-visible, .gd-viewport
104
106
  color: var(--gd-muted);
105
107
  }
106
108
 
109
+ /* Row, Column and Grid: a group like the zoom, the current arrangement pressed. */
110
+ .gd-arrange button { padding: 4px 6px; color: var(--gd-muted); }
111
+ .gd-arrange button[aria-pressed="true"] { border-color: var(--gd-accent); color: var(--gd-accent); }
112
+
107
113
  .gd-toggle[aria-pressed="true"], .gd-primary {
108
114
  background: var(--gd-accent);
109
115
  border-color: var(--gd-accent);
@@ -153,17 +159,27 @@ button:focus-visible, select:focus-visible, textarea:focus-visible, .gd-viewport
153
159
  background: var(--gd-stage);
154
160
  cursor: grab;
155
161
  touch-action: none;
162
+ -webkit-user-select: none;
163
+ user-select: none;
164
+ }
165
+
166
+ /* Editable controls keep their native text selection inside the viewport. */
167
+ .gd-viewport input, .gd-viewport textarea, .gd-viewport [contenteditable]:not([contenteditable="false"]) {
168
+ -webkit-user-select: text;
169
+ user-select: text;
156
170
  }
157
171
 
158
172
  .gd-viewport.gd-panning { cursor: grabbing; }
173
+ /* Space held: every press pans, over an artboard too. */
174
+ .gd-viewport.gd-space-pan, .gd-viewport.gd-space-pan * { cursor: grab; }
175
+ .gd-viewport.gd-space-pan.gd-panning, .gd-viewport.gd-space-pan.gd-panning * { cursor: grabbing; }
159
176
 
177
+ /* The world is as big as the bounds of its boards (canvas-layout.js sizes it); each board sits at its position
178
+ in design/<slug>/layout.json, or in a row, 80 px apart, when the design has none. */
160
179
  .gd-world {
161
180
  position: absolute;
162
181
  top: 0;
163
182
  left: 0;
164
- display: flex;
165
- align-items: flex-start;
166
- gap: 80px;
167
183
  padding: 0;
168
184
  transform-origin: 0 0;
169
185
  will-change: transform;
@@ -176,28 +192,46 @@ button:focus-visible, select:focus-visible, textarea:focus-visible, .gd-viewport
176
192
  flex: none;
177
193
  }
178
194
 
195
+ /* Layout: each artboard where canvas-layout.js places it; the one being moved stays above the others. */
196
+ .gd-world .gd-artboard { position: absolute; top: 0; left: 0; }
197
+ .gd-world .gd-lifted { z-index: 1; }
198
+ .gd-viewport.gd-moving, .gd-viewport.gd-moving * { cursor: grabbing; }
199
+
200
+ /* The artboard pressed last, title and frame, until a press elsewhere or Esc. */
201
+ .gd-world .gd-selected {
202
+ outline: calc(2px * var(--gd-inv-zoom, 1)) solid var(--gd-accent);
203
+ outline-offset: calc(6px * var(--gd-inv-zoom, 1));
204
+ }
205
+
206
+ /* The board is placed with no width, so it shrinks to its content: the label never adds to that width
207
+ (a long title or tradeoff wraps), and the board stays as wide as its frame, the size the layout places. */
179
208
  .gd-artboard-label {
180
209
  position: relative;
181
210
  display: flex;
182
211
  flex-direction: column;
183
212
  gap: 2px;
213
+ contain: inline-size;
184
214
  }
185
215
 
186
- /* The handoff row above Implement this: anchored to the label's bottom right, kept at screen
187
- size like the pins, and wrapped within the artboard's on-screen width. */
216
+ /* The handoff row above Implement this and the ⋯ menu beside it: anchored to the label's bottom right,
217
+ kept at screen size like the pins, and wrapped within the artboard's on-screen width. */
188
218
  .gd-board-actions {
189
219
  position: absolute;
190
220
  right: 0;
191
221
  bottom: 0;
192
- display: flex;
193
- flex-direction: column;
194
- align-items: flex-end;
222
+ display: grid;
223
+ grid-template-columns: auto auto;
224
+ justify-content: end;
225
+ justify-items: end;
226
+ align-items: center;
195
227
  gap: 4px;
196
228
  max-width: calc(100% / var(--gd-inv-zoom, 1));
197
229
  transform: scale(var(--gd-inv-zoom, 1));
198
230
  transform-origin: right bottom;
199
231
  }
200
232
 
233
+ .gd-board-actions > .gd-handoff { grid-column: 1 / -1; }
234
+
201
235
  .gd-implement { white-space: nowrap; }
202
236
 
203
237
  /* At 100% the label makes room for the handoff row above Implement this. */
@@ -320,14 +354,19 @@ button:focus-visible, select:focus-visible, textarea:focus-visible, .gd-viewport
320
354
  .gd-commenting .gd-shield:hover { background: transparent; box-shadow: none; }
321
355
  .gd-commenting .gd-shield-hint { display: none; }
322
356
 
323
- .gd-viewport.gd-focused { cursor: default; }
324
- .gd-focused .gd-artboard:not(.gd-focus-board) { opacity: 0.25; }
357
+ .gd-viewport.gd-focused {
358
+ cursor: default;
359
+ -webkit-user-select: auto;
360
+ user-select: auto;
361
+ }
362
+ /* Only the open artboard shows: Desktop fills the window, and the others would peek in beside it. */
363
+ .gd-focused .gd-world > :not(.gd-focus-board) { visibility: hidden; }
325
364
  .gd-focused .gd-focus-board .gd-artboard-frame { box-shadow: 0 0 0 2px var(--gd-accent), 0 2px 16px rgba(0, 0, 0, 0.5); }
326
365
 
327
- /* Floats in the band canvas.js keeps free below the focused artboard. */
366
+ /* Floats in the 48 px band canvas-focus.js keeps free below the focused artboard (BACK_SPACE). */
328
367
  .gd-back {
329
368
  position: absolute;
330
- bottom: 16px;
369
+ bottom: 8px;
331
370
  left: 50%;
332
371
  transform: translateX(-50%);
333
372
  z-index: 5;
@@ -340,6 +379,64 @@ button:focus-visible, select:focus-visible, textarea:focus-visible, .gd-viewport
340
379
 
341
380
  .gd-back[hidden] { display: none; }
342
381
 
382
+ /* The minimap: bottom right of the viewport, over the artboards. canvas-minimap.js draws its map in this
383
+ fixed size (MINIMAP there): a block per board and the visible area outlined. */
384
+ .gd-minimap {
385
+ position: absolute;
386
+ right: 16px;
387
+ bottom: 16px;
388
+ z-index: 5;
389
+ padding: 8px;
390
+ background: var(--gd-panel);
391
+ border: 1px solid var(--gd-border);
392
+ border-radius: 8px;
393
+ cursor: default;
394
+ }
395
+
396
+ .gd-minimap-title {
397
+ display: flex;
398
+ justify-content: space-between;
399
+ align-items: center;
400
+ margin: 0 0 6px;
401
+ color: var(--gd-muted);
402
+ font-size: 11px;
403
+ font-weight: 600;
404
+ }
405
+
406
+ .gd-minimap-map {
407
+ position: relative;
408
+ width: 204px;
409
+ height: 96px;
410
+ overflow: hidden;
411
+ border-radius: 6px;
412
+ background: var(--gd-bg);
413
+ cursor: pointer;
414
+ touch-action: none;
415
+ }
416
+
417
+ .gd-minimap-block {
418
+ position: absolute;
419
+ border-radius: 2px;
420
+ background: var(--gd-muted);
421
+ opacity: 0.5;
422
+ }
423
+
424
+ .gd-minimap-system {
425
+ background: var(--gd-border);
426
+ }
427
+
428
+ .gd-minimap-chosen {
429
+ background: var(--gd-accent);
430
+ opacity: 1;
431
+ }
432
+
433
+ .gd-minimap-view {
434
+ position: absolute;
435
+ border: 1.5px solid var(--gd-focus);
436
+ border-radius: 4px;
437
+ pointer-events: none;
438
+ }
439
+
343
440
  /* Pins live in the transformed world, so they follow pan and zoom; the inverse scale keeps their size. */
344
441
  .gd-pins {
345
442
  position: absolute;
@@ -392,11 +489,28 @@ button:disabled { opacity: 0.5; cursor: default; }
392
489
 
393
490
  .gd-panel[hidden] { display: none; }
394
491
 
395
- .gd-panel-title {
396
- margin: 0 0 8px;
397
- font-size: 15px;
492
+ /* The panel's tabs (canvas-checks.js): Comments and Quality, each with its count; the selected one is underlined. */
493
+ .gd-tabs { display: flex; gap: 4px; margin: 0 0 12px; border-bottom: 1px solid var(--gd-border); }
494
+
495
+ .gd-tab {
496
+ display: inline-flex;
497
+ align-items: center;
498
+ gap: 6px;
499
+ border: 0;
500
+ border-bottom: 2px solid transparent;
501
+ border-radius: 6px 6px 0 0;
502
+ background: transparent;
503
+ color: var(--gd-muted);
398
504
  }
399
505
 
506
+ .gd-tab:hover { color: var(--gd-text); }
507
+ .gd-tab[aria-selected="true"] { color: var(--gd-text); border-bottom-color: var(--gd-accent); }
508
+ .gd-tab:focus-visible { outline: 2px solid var(--gd-focus); outline-offset: -2px; }
509
+ .gd-count { min-width: 20px; padding: 0 5px; border: 1px solid var(--gd-border); border-radius: 4px; font-size: 12px; text-align: center; }
510
+ /* Quality has no count until an artboard has reported. */
511
+ .gd-count:empty { display: none; }
512
+ .gd-tabpanel[hidden], .gd-quality[hidden] { display: none; }
513
+
400
514
  .gd-filter { margin-bottom: 8px; }
401
515
  .gd-filter button[aria-pressed="true"] { border-color: var(--gd-accent); color: var(--gd-accent); }
402
516
 
@@ -449,6 +563,119 @@ button:disabled { opacity: 0.5; cursor: default; }
449
563
  padding: 0 8px 8px;
450
564
  }
451
565
 
566
+ /* Quality (canvas-checks.js): a group per design artboard and a card per finding. The kind is a word in a chip,
567
+ never a dot: a problem in the danger color, advice in the focus amber. */
568
+ .gd-quality { display: flex; flex-direction: column; gap: 16px; }
569
+ .gd-check-group { display: flex; flex-direction: column; gap: 8px; }
570
+ .gd-check-head { display: flex; align-items: center; gap: 8px; }
571
+ .gd-check-heading { flex: 1; min-width: 0; margin: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
572
+ .gd-check-summary { flex: none; padding: 0 6px; border: 1px solid var(--gd-border); border-radius: 4px; color: var(--gd-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
573
+ .gd-check-summary-ok { color: var(--gd-success); border-color: var(--gd-success); }
574
+ .gd-check-summary-fail { color: var(--gd-danger); border-color: var(--gd-danger); }
575
+
576
+ .gd-check {
577
+ display: flex;
578
+ flex-direction: column;
579
+ gap: 4px;
580
+ padding: 8px;
581
+ border: 1px solid var(--gd-border);
582
+ border-radius: 6px;
583
+ background: var(--gd-stage);
584
+ font-size: 12px;
585
+ }
586
+
587
+ .gd-check-top { display: flex; align-items: center; gap: 8px; }
588
+ .gd-check-title { flex: 1; min-width: 0; color: var(--gd-text); font-size: 13px; overflow-wrap: anywhere; }
589
+ .gd-check-kind { flex: none; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; font-weight: 600; }
590
+ .gd-check-fail .gd-check-kind { color: var(--gd-danger); }
591
+ .gd-check-advice .gd-check-kind { color: var(--gd-focus); }
592
+ .gd-check-detail { color: var(--gd-muted); overflow-wrap: anywhere; }
593
+ .gd-check-hidden { color: var(--gd-muted); font-style: italic; }
594
+ .gd-check-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
595
+ .gd-check-show { display: inline-flex; align-items: center; gap: 4px; }
596
+ /* The card whose element the ring marks (aria-current), outlined in its kind's color. */
597
+ .gd-check-active { border-color: var(--gd-focus); box-shadow: 0 0 0 1px var(--gd-focus); }
598
+ .gd-check-fail.gd-check-active { border-color: var(--gd-danger); box-shadow: 0 0 0 1px var(--gd-danger); }
599
+ .gd-check-passed, .gd-check-empty { padding: 8px; border: 1px dashed var(--gd-border); border-radius: 6px; color: var(--gd-muted); font-size: 12px; }
600
+
601
+ /* The ring Show draws around a check's element: by the canvas, never by the artboard's page, beside the frame like the
602
+ pins (in the world, or on the All sizes frame as designed), centered on the element's rect (--gd-mark-w/-h, artboard px).
603
+ The inverse zoom keeps its stroke, its label and its smallest size the same on screen, so a tiny element stays visible. */
604
+ .gd-check-mark {
605
+ --gd-mark-color: var(--gd-focus);
606
+ position: absolute;
607
+ z-index: 2;
608
+ width: max(calc(var(--gd-mark-w) + 8px * var(--gd-inv-zoom, 1)), calc(28px * var(--gd-inv-zoom, 1)));
609
+ height: max(calc(var(--gd-mark-h) + 8px * var(--gd-inv-zoom, 1)), calc(28px * var(--gd-inv-zoom, 1)));
610
+ border: calc(2px * var(--gd-inv-zoom, 1)) solid var(--gd-mark-color);
611
+ border-radius: calc(6px * var(--gd-inv-zoom, 1));
612
+ box-shadow: 0 0 0 calc(2px * var(--gd-inv-zoom, 1)) var(--gd-bg);
613
+ transform: translate(-50%, -50%);
614
+ pointer-events: none;
615
+ }
616
+
617
+ .gd-check-mark-fail { --gd-mark-color: var(--gd-danger); }
618
+
619
+ .gd-check-mark-label {
620
+ position: absolute;
621
+ left: 0;
622
+ bottom: calc(100% + 4px * var(--gd-inv-zoom, 1));
623
+ max-width: 40ch;
624
+ padding: 1px 8px;
625
+ border-radius: 4px;
626
+ background: var(--gd-mark-color);
627
+ color: var(--gd-accent-text);
628
+ font-size: 11px;
629
+ font-weight: 700;
630
+ white-space: nowrap;
631
+ overflow: hidden;
632
+ text-overflow: ellipsis;
633
+ transform: scale(var(--gd-inv-zoom, 1));
634
+ transform-origin: 0 100%;
635
+ }
636
+
637
+ /* Partial implementations (canvas-parts.js): the panel's last section, one card per part. The state is a word in
638
+ a chip, never a dot, colored like the handoff badge. */
639
+ .gd-parts { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gd-border); }
640
+ .gd-parts[hidden] { display: none; }
641
+ .gd-parts-title { margin: 0 0 8px; font-size: 13px; }
642
+
643
+ .gd-parts-list {
644
+ list-style: none;
645
+ margin: 0;
646
+ padding: 0;
647
+ display: flex;
648
+ flex-direction: column;
649
+ gap: 8px;
650
+ }
651
+
652
+ .gd-part {
653
+ display: flex;
654
+ flex-direction: column;
655
+ align-items: flex-start;
656
+ gap: 4px;
657
+ padding: 8px;
658
+ border: 1px solid var(--gd-border);
659
+ border-radius: 6px;
660
+ background: var(--gd-stage);
661
+ color: var(--gd-muted);
662
+ font-size: 12px;
663
+ }
664
+
665
+ .gd-part-head { display: flex; align-items: center; gap: 8px; width: 100%; }
666
+ .gd-part-title { flex: 1; min-width: 0; color: var(--gd-text); font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
667
+ .gd-part-state { flex: none; padding: 0 6px; border: 1px solid var(--gd-border); border-radius: 4px; font-weight: 600; white-space: nowrap; }
668
+ .gd-part[data-status="queued"] .gd-part-state { color: var(--gd-focus); border-color: var(--gd-focus); }
669
+ .gd-part[data-status="sent"] .gd-part-state, .gd-part[data-status="in_progress"] .gd-part-state { color: var(--gd-accent); border-color: var(--gd-accent); }
670
+ .gd-part[data-status="implemented"] .gd-part-state { color: var(--gd-success); border-color: var(--gd-success); }
671
+ .gd-part-excerpt { color: var(--gd-text); overflow-wrap: anywhere; }
672
+ .gd-part-note { overflow-wrap: anywhere; }
673
+ .gd-part-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
674
+ .gd-part-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--gd-text); }
675
+ /* A Remove in flight: marked disabled, still focusable, so keyboard focus stays on it. */
676
+ .gd-part-confirm-yes[aria-disabled="true"] { opacity: 0.5; cursor: default; }
677
+ .gd-part-actions [hidden] { display: none; }
678
+
452
679
  .gd-empty {
453
680
  position: absolute;
454
681
  inset: 0;
@@ -531,6 +758,9 @@ button:disabled { opacity: 0.5; cursor: default; }
531
758
 
532
759
  .gd-popover-message.gd-error, .gd-status.gd-error { color: var(--gd-danger); }
533
760
 
761
+ /* Why Implement only this is disabled (canvas-parts.js), under the buttons. */
762
+ .gd-popover-note { margin: 6px 0 0; color: var(--gd-muted); font-size: 12px; text-align: right; }
763
+
534
764
  /* Compare (S15): the artboard and the running app side by side, over the canvas and the panel. */
535
765
  .gd-compare {
536
766
  position: absolute;
@@ -641,8 +871,521 @@ button:disabled { opacity: 0.5; cursor: default; }
641
871
  .gd-toast[hidden] { display: none; }
642
872
  .gd-toast.gd-error { border-color: var(--gd-danger); color: var(--gd-danger); }
643
873
 
874
+ /* Icons: one hidden sprite in index.html; each icon is an <svg><use href="#i-…"> drawn with the text color. */
875
+ .gd-sprite { position: absolute; }
876
+
877
+ .gd-i {
878
+ width: 18px;
879
+ height: 18px;
880
+ fill: none;
881
+ stroke: currentColor;
882
+ stroke-width: 2;
883
+ stroke-linecap: round;
884
+ stroke-linejoin: round;
885
+ flex: none;
886
+ }
887
+
888
+ .gd-i-s { width: 16px; height: 16px; }
889
+
890
+ /* Tool rail: the first column of the main area, few tools, each an icon with a word under it. */
891
+ .gd-rail {
892
+ flex: none;
893
+ display: flex;
894
+ flex-direction: column;
895
+ align-items: center;
896
+ gap: 4px;
897
+ padding: 8px 4px;
898
+ background: var(--gd-panel);
899
+ border-right: 1px solid var(--gd-border);
900
+ }
901
+
902
+ .gd-rail .gd-tool {
903
+ position: relative;
904
+ display: flex;
905
+ flex-direction: column;
906
+ align-items: center;
907
+ gap: 2px;
908
+ width: 56px;
909
+ min-width: 56px;
910
+ min-height: 52px;
911
+ padding: 4px 0;
912
+ background: transparent;
913
+ border-color: transparent;
914
+ color: var(--gd-muted);
915
+ }
916
+
917
+ .gd-tool-label { font-size: 11px; line-height: 1.2; }
918
+
919
+ .gd-rail .gd-tool:hover:not(:disabled) { color: var(--gd-text); border-color: var(--gd-border); }
920
+
921
+ .gd-rail .gd-tool[aria-pressed="true"], .gd-rail .gd-tool[aria-expanded="true"] {
922
+ background: var(--gd-stage);
923
+ border-color: var(--gd-border);
924
+ color: var(--gd-text);
925
+ }
926
+
927
+ .gd-rail .gd-tool[aria-pressed="true"] .gd-i { color: var(--gd-accent); }
928
+
929
+ /* The pressed tool carries an accent bar on the rail's edge. */
930
+ .gd-rail .gd-tool[aria-pressed="true"]::before {
931
+ content: "";
932
+ position: absolute;
933
+ left: -4px;
934
+ top: 10px;
935
+ bottom: 10px;
936
+ width: 3px;
937
+ border-radius: 0 3px 3px 0;
938
+ background: var(--gd-accent);
939
+ }
940
+
941
+ .gd-sep {
942
+ width: 24px;
943
+ height: 1px;
944
+ margin: 4px 0;
945
+ background: var(--gd-border);
946
+ }
947
+
948
+ .gd-rail .gd-bottom { margin-top: auto; }
949
+
950
+ /* The shared menu (canvas-menu.js), placed at its button by the canvas: fixed, so the world's transform never touches it. */
951
+ .gd-menu {
952
+ position: fixed;
953
+ z-index: 12;
954
+ min-width: 240px;
955
+ max-width: calc(100vw - 24px);
956
+ padding: 6px;
957
+ background: var(--gd-panel);
958
+ border: 1px solid var(--gd-border);
959
+ border-radius: 8px;
960
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
961
+ }
962
+
963
+ .gd-menu[hidden] { display: none; }
964
+
965
+ .gd-menu-item {
966
+ display: flex;
967
+ align-items: center;
968
+ gap: 8px;
969
+ width: 100%;
970
+ min-height: 36px;
971
+ text-align: left;
972
+ background: transparent;
973
+ border-color: transparent;
974
+ }
975
+
976
+ .gd-menu-item:hover, .gd-menu-item:focus-visible { background: var(--gd-stage); }
977
+ .gd-menu-item:focus-visible { outline: 2px solid var(--gd-focus); outline-offset: -2px; }
978
+
979
+ .gd-menu-item[aria-disabled="true"] {
980
+ color: var(--gd-muted);
981
+ cursor: not-allowed;
982
+ }
983
+
984
+ .gd-menu-item[aria-disabled="true"]:hover { background: transparent; border-color: transparent; }
985
+
986
+ .gd-menu-separator { height: 1px; margin: 4px 2px; background: var(--gd-border); }
987
+
988
+ /* A group's heading in a menu (Settings: Language): a label, not an item. */
989
+ .gd-menu-heading { margin: 4px 8px 2px; color: var(--gd-muted); font-size: 12px; font-weight: 600; user-select: none; }
990
+
991
+ /* A line of text in a menu (Settings: messages to the agent stay in English). */
992
+ .gd-menu-note { margin: 4px 8px; max-width: 240px; color: var(--gd-muted); font-size: 12px; }
993
+
994
+ /* The single key that does the same as a menu item (Settings: Keyboard shortcuts, ?). */
995
+ .gd-menu-kbd { margin-left: auto; }
996
+
997
+ /* A checkbox item (Settings: Technical details): a check mark at the end while it is on. */
998
+ .gd-menu-check { margin-left: auto; color: var(--gd-accent); visibility: hidden; }
999
+ .gd-menu-item[aria-checked="true"] .gd-menu-check { visibility: visible; }
1000
+
1001
+ /* Screen sizes (canvas-sizes.js): the top bar's device button shows the open artboard's size (its icon, short
1002
+ name and width × height) and is off outside focus mode; its menu, the shared .gd-menu box under it, holds the
1003
+ sizes as radio items, then the custom width field. */
1004
+ .gd-device-button {
1005
+ display: inline-flex;
1006
+ align-items: center;
1007
+ gap: 6px;
1008
+ color: var(--gd-muted);
1009
+ }
1010
+
1011
+ .gd-bar > .gd-device-button { flex: none; }
1012
+ .gd-device-button[aria-expanded="true"] { background: var(--gd-panel); border-color: var(--gd-muted); color: var(--gd-text); }
1013
+ .gd-device-button:focus-visible { outline: 2px solid var(--gd-focus); outline-offset: 2px; }
1014
+
1015
+ .gd-device-size {
1016
+ color: var(--gd-accent);
1017
+ font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1018
+ }
1019
+
1020
+ .gd-device-size:empty { display: none; }
1021
+
1022
+ .gd-device-menu {
1023
+ width: 300px;
1024
+ padding: 6px;
1025
+ }
1026
+
1027
+ .gd-device-item {
1028
+ flex-wrap: nowrap;
1029
+ min-height: 38px;
1030
+ }
1031
+
1032
+ .gd-device-item[aria-checked="true"] {
1033
+ background: var(--gd-stage);
1034
+ color: var(--gd-text);
1035
+ }
1036
+
1037
+ .gd-device-dim {
1038
+ margin-left: auto;
1039
+ color: var(--gd-muted);
1040
+ font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1041
+ }
1042
+
1043
+ .gd-device-check {
1044
+ margin-left: 8px;
1045
+ color: var(--gd-accent);
1046
+ visibility: hidden;
1047
+ }
1048
+
1049
+ .gd-device-item[aria-checked="true"] .gd-device-check { visibility: visible; }
1050
+
1051
+ .gd-device-custom {
1052
+ display: flex;
1053
+ align-items: center;
1054
+ gap: 8px;
1055
+ min-height: 38px;
1056
+ padding: 0 10px;
1057
+ color: var(--gd-muted);
1058
+ }
1059
+
1060
+ .gd-device-custom.gd-selected { color: var(--gd-text); }
1061
+
1062
+ .gd-device-input {
1063
+ width: 9ch;
1064
+ min-height: 30px;
1065
+ margin-left: auto;
1066
+ padding: 2px 8px;
1067
+ border: 1px solid var(--gd-border);
1068
+ border-radius: 4px;
1069
+ background: var(--gd-bg);
1070
+ color: var(--gd-text);
1071
+ font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1072
+ }
1073
+
1074
+ .gd-device-input:focus-visible { outline: 2px solid var(--gd-focus); outline-offset: 2px; }
1075
+ .gd-device-custom.gd-selected .gd-device-input { border-color: var(--gd-accent); }
1076
+ .gd-device-input[aria-invalid="true"] { border-color: var(--gd-danger); }
1077
+
1078
+ .gd-device-unit { color: var(--gd-muted); font-size: 12px; }
1079
+
1080
+ .gd-device-error {
1081
+ margin: 0 10px 6px;
1082
+ color: var(--gd-danger);
1083
+ font-size: 12px;
1084
+ }
1085
+
1086
+ /* All sizes: the artboard's own frame stays loaded but hidden; a frame per size takes its place, outside the
1087
+ world, below the artboard's label, scaled together (canvas-sizes.js layoutSizes). At the smallest scale the row
1088
+ can still be wider than the viewport: it then starts at its left edge and scrolls sideways. The 4 px of padding,
1089
+ taken back by the margin, keep the frames' outlines inside the scrolling box. */
1090
+ .gd-all-sizes .gd-frame-box { visibility: hidden; }
1091
+
1092
+ .gd-sizes-all {
1093
+ position: absolute;
1094
+ z-index: 3;
1095
+ display: flex;
1096
+ align-items: flex-start;
1097
+ justify-content: safe center;
1098
+ gap: 20px;
1099
+ margin: -4px;
1100
+ padding: 4px;
1101
+ overflow-x: auto;
1102
+ }
1103
+
1104
+ .gd-size-frame {
1105
+ display: flex;
1106
+ flex: none;
1107
+ flex-direction: column;
1108
+ gap: 8px;
1109
+ }
1110
+
1111
+ /* The label is as wide as its scaled frame (canvas-sizes.js): a longer one ends in an ellipsis, its title keeps the whole. */
1112
+ .gd-size-head {
1113
+ overflow: hidden;
1114
+ min-height: 20px;
1115
+ color: var(--gd-muted);
1116
+ font-size: 12px;
1117
+ line-height: 20px;
1118
+ text-overflow: ellipsis;
1119
+ white-space: nowrap;
1120
+ }
1121
+
1122
+ .gd-size-head > * + * { margin-left: 6px; }
1123
+ .gd-size-head > .gd-i { vertical-align: -3px; }
1124
+
1125
+ .gd-size-name { color: var(--gd-text); font-weight: 600; }
1126
+ .gd-size-dim, .gd-size-scale { font-variant-numeric: tabular-nums; }
1127
+
1128
+ .gd-size-scaled {
1129
+ position: relative;
1130
+ overflow: hidden;
1131
+ background: var(--gd-paper);
1132
+ box-shadow: 0 0 0 1px var(--gd-border);
1133
+ }
1134
+
1135
+ .gd-size-stage {
1136
+ position: absolute;
1137
+ top: 0;
1138
+ left: 0;
1139
+ transform-origin: 0 0;
1140
+ }
1141
+
1142
+ .gd-size-iframe {
1143
+ display: block;
1144
+ border: 0;
1145
+ background: var(--gd-paper);
1146
+ }
1147
+
1148
+ .gd-commenting .gd-size-scaled { outline: 2px dashed var(--gd-accent); outline-offset: 2px; }
1149
+
1150
+ /* Overflows: on a frame whose page is wider than it, at the frame's bottom right; the title explains it. In the
1151
+ world it keeps its screen size at any zoom. */
1152
+ .gd-overflow-flag {
1153
+ position: absolute;
1154
+ right: 6px;
1155
+ bottom: 6px;
1156
+ z-index: 2;
1157
+ display: inline-flex;
1158
+ align-items: center;
1159
+ padding: 1px 10px;
1160
+ border: 1px solid var(--gd-focus);
1161
+ border-radius: 4px;
1162
+ background: var(--gd-panel);
1163
+ color: var(--gd-focus);
1164
+ font-size: 12px;
1165
+ font-weight: 600;
1166
+ cursor: help;
1167
+ transform: scale(var(--gd-inv-zoom, 1));
1168
+ transform-origin: 100% 100%;
1169
+ }
1170
+
1171
+ .gd-overflow-flag[hidden] { display: none; }
1172
+ .gd-exporting .gd-overflow-flag { visibility: hidden; }
1173
+
1174
+ /* The size a comment was made at, on its card: a mono chip like the size on the device button. */
1175
+ .gd-comment-viewport {
1176
+ display: inline-block;
1177
+ margin-top: 4px;
1178
+ padding: 1px 6px;
1179
+ border: 1px solid var(--gd-border);
1180
+ border-radius: 4px;
1181
+ color: var(--gd-accent);
1182
+ font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1183
+ white-space: nowrap;
1184
+ }
1185
+
1186
+ /* Token inspector (canvas-tokens.js): with Technical details on, the panel beside the frame of the element under
1187
+ the pointer in Comment mode, with each value and its token; a value off the system says so in words. */
1188
+ .gd-inspector {
1189
+ position: absolute;
1190
+ z-index: 5;
1191
+ width: 280px;
1192
+ max-height: calc(100% - 24px);
1193
+ overflow: auto;
1194
+ background: var(--gd-panel);
1195
+ border: 1px solid var(--gd-border);
1196
+ border-radius: 8px;
1197
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
1198
+ color: var(--gd-text);
1199
+ font-size: 12px;
1200
+ cursor: default;
1201
+ }
1202
+
1203
+ .gd-inspector[hidden] { display: none; }
1204
+
1205
+ .gd-inspector-head {
1206
+ display: flex;
1207
+ align-items: center;
1208
+ gap: 8px;
1209
+ padding: 10px 12px;
1210
+ border-bottom: 1px solid var(--gd-border);
1211
+ }
1212
+
1213
+ .gd-inspector-title { margin: 0; font-size: 13px; white-space: nowrap; }
1214
+
1215
+ .gd-inspector-selector {
1216
+ min-width: 0;
1217
+ color: var(--gd-accent);
1218
+ font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1219
+ overflow: hidden;
1220
+ text-overflow: ellipsis;
1221
+ white-space: nowrap;
1222
+ }
1223
+
1224
+ .gd-inspector-list { display: grid; gap: 8px; margin: 0; padding: 10px 12px; }
1225
+
1226
+ .gd-inspector-row {
1227
+ display: grid;
1228
+ grid-template-columns: 76px minmax(0, 1fr);
1229
+ gap: 12px;
1230
+ }
1231
+
1232
+ .gd-inspector-label { color: var(--gd-muted); }
1233
+
1234
+ .gd-inspector-value {
1235
+ display: flex;
1236
+ flex-wrap: wrap;
1237
+ align-items: center;
1238
+ gap: 6px;
1239
+ margin: 0;
1240
+ min-width: 0;
1241
+ }
1242
+
1243
+ .gd-inspector-code { font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
1244
+ .gd-inspector-near { color: var(--gd-muted); }
1245
+
1246
+ .gd-inspector-swatch {
1247
+ display: inline-block;
1248
+ width: 12px;
1249
+ height: 12px;
1250
+ border: 1px solid var(--gd-border);
1251
+ border-radius: 3px;
1252
+ }
1253
+
1254
+ .gd-inspector-ok { color: var(--gd-success); }
1255
+ .gd-inspector-bad { color: var(--gd-focus); font-weight: 600; }
1256
+ .gd-inspector-note { margin: 0; padding: 0 12px 10px; color: var(--gd-muted); }
1257
+
1258
+ .gd-inspector-actions {
1259
+ display: flex;
1260
+ flex-wrap: wrap;
1261
+ gap: 8px;
1262
+ padding: 10px 12px;
1263
+ border-top: 1px solid var(--gd-border);
1264
+ }
1265
+
1266
+ .gd-inspector button:focus-visible { outline: 2px solid var(--gd-focus); outline-offset: 2px; }
1267
+
1268
+ /* Export (canvas-export.js): the ⋯ button beside Implement this opens the shared menu with the exports. While a
1269
+ PNG is grabbed, the viewport covers the window and only the open artboard's frame shows (exportArtboard). */
1270
+ .gd-menu-button {
1271
+ display: inline-flex;
1272
+ align-items: center;
1273
+ justify-content: center;
1274
+ padding: 0 6px;
1275
+ color: var(--gd-muted);
1276
+ background: transparent;
1277
+ border-color: transparent;
1278
+ }
1279
+
1280
+ .gd-menu-button:hover, .gd-menu-button[aria-expanded="true"] { background: var(--gd-stage); border-color: var(--gd-border); color: var(--gd-text); }
1281
+ .gd-menu-button:focus-visible { outline: 2px solid var(--gd-focus); outline-offset: 2px; }
1282
+
1283
+ .gd-exporting .gd-viewport {
1284
+ position: fixed;
1285
+ inset: 0;
1286
+ z-index: 30;
1287
+ }
1288
+
1289
+ .gd-exporting .gd-viewport > :not(.gd-world),
1290
+ .gd-exporting .gd-artboard:not(.gd-focus-board),
1291
+ .gd-exporting .gd-pins { visibility: hidden; }
1292
+ /* A check's ring lives in the world, beside the frame: never in an export. */
1293
+ .gd-exporting .gd-check-mark { visibility: hidden; }
1294
+
1295
+ .gd-exporting .gd-focus-board .gd-artboard-frame { box-shadow: none; outline: none; }
1296
+
1297
+ /* Export as PDF: only the artboard prints, at its own size (exportPdf sets the page size). */
1298
+ .gd-print { position: fixed; left: 0; top: 0; visibility: hidden; pointer-events: none; }
1299
+ .gd-print iframe { display: block; border: 0; }
1300
+
1301
+ @page { margin: 0; }
1302
+
1303
+ @media print {
1304
+ body.gd-printing { display: block; }
1305
+ body.gd-printing > :not(.gd-print) { display: none; }
1306
+ body.gd-printing .gd-print { position: static; visibility: visible; }
1307
+ }
1308
+
1309
+ /* Keyboard shortcuts: the ? list, the keys a person can change, and the fixed ones. */
1310
+ .gd-dialog {
1311
+ width: min(520px, calc(100vw - 32px));
1312
+ padding: 20px 24px;
1313
+ background: var(--gd-panel);
1314
+ color: var(--gd-text);
1315
+ border: 1px solid var(--gd-border);
1316
+ border-radius: 8px;
1317
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
1318
+ }
1319
+
1320
+ .gd-dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
1321
+
1322
+ .gd-dialog-title { margin: 0 0 12px; font-size: 16px; }
1323
+
1324
+ kbd, .gd-menu-kbd {
1325
+ padding: 2px 5px;
1326
+ font: 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
1327
+ color: var(--gd-muted);
1328
+ border: 1px solid var(--gd-border);
1329
+ border-bottom-width: 2px;
1330
+ border-radius: 4px;
1331
+ }
1332
+
1333
+ .gd-keys {
1334
+ display: grid;
1335
+ grid-template-columns: auto 1fr;
1336
+ gap: 8px 16px;
1337
+ margin: 0;
1338
+ }
1339
+
1340
+ .gd-keys dt { white-space: nowrap; color: var(--gd-muted); }
1341
+ .gd-keys dd { margin: 0; }
1342
+
1343
+ .gd-keys-custom {
1344
+ display: flex;
1345
+ flex-direction: column;
1346
+ gap: 2px;
1347
+ margin: 0;
1348
+ padding: 0;
1349
+ list-style: none;
1350
+ }
1351
+
1352
+ .gd-key-row {
1353
+ display: grid;
1354
+ grid-template-columns: 1fr 3em auto auto;
1355
+ align-items: center;
1356
+ gap: 8px;
1357
+ padding: 3px 6px;
1358
+ border-radius: 6px;
1359
+ }
1360
+
1361
+ .gd-key-current { justify-self: start; }
1362
+
1363
+ .gd-key-waiting {
1364
+ background: var(--gd-stage);
1365
+ box-shadow: inset 0 0 0 1px var(--gd-accent);
1366
+ }
1367
+
1368
+ .gd-key-waiting .gd-key-current { color: var(--gd-accent); border-color: var(--gd-accent); }
1369
+
1370
+ .gd-small { min-height: 26px; padding: 2px 8px; font-size: 12px; }
1371
+
1372
+ .gd-keys-message {
1373
+ min-height: 18px;
1374
+ margin: 6px 0 12px;
1375
+ color: var(--gd-muted);
1376
+ font-size: 12px;
1377
+ }
1378
+
1379
+ .gd-keys-message.gd-error { color: var(--gd-danger); }
1380
+ .gd-dialog-note { margin: 12px 0 0; color: var(--gd-muted); font-size: 12px; }
1381
+ .gd-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
1382
+ .gd-keys-restore { margin-right: auto; }
1383
+
644
1384
  @media (prefers-reduced-motion: no-preference) {
645
1385
  button { transition: border-color 120ms ease; }
646
1386
  .gd-shield-hint { transition: opacity 120ms ease; }
647
- .gd-artboard { transition: opacity 160ms ease; }
1387
+ .gd-check-mark { animation: gd-mark-pulse 900ms ease 2; }
648
1388
  }
1389
+
1390
+ /* Show's ring pulses twice when it appears, only with motion allowed. */
1391
+ @keyframes gd-mark-pulse { 50% { box-shadow: 0 0 0 calc(6px * var(--gd-inv-zoom, 1)) var(--gd-mark-color); } }