@1agh/maude 1.10.0 → 2.0.0-rc.1

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 (1971) hide show
  1. package/apps/hub/src/project-transactions/baseline.mjs +276 -0
  2. package/apps/hub/src/project-transactions/kernel.mjs +1756 -0
  3. package/apps/hub/src/project-transactions/lanes.mjs +287 -0
  4. package/apps/hub/src/project-transactions/runs-core.mjs +639 -0
  5. package/apps/hub/src/project-transactions/store-core.mjs +831 -0
  6. package/apps/studio/access/closure.ts +1075 -0
  7. package/apps/studio/access/filters.ts +1193 -0
  8. package/apps/studio/access/frame.ts +365 -0
  9. package/apps/studio/access/known-canvases.ts +82 -0
  10. package/apps/studio/access/request.ts +637 -0
  11. package/apps/studio/access/roles.ts +187 -0
  12. package/apps/studio/access/scope.ts +407 -0
  13. package/apps/studio/access/share-map.ts +434 -0
  14. package/apps/studio/acp/adapter-stderr.ts +22 -0
  15. package/apps/studio/acp/agent-path.ts +39 -0
  16. package/apps/studio/acp/ask-queue.ts +238 -0
  17. package/apps/studio/acp/audience.ts +615 -0
  18. package/apps/studio/acp/bootstrap-brief.ts +32 -15
  19. package/apps/studio/acp/bridge.ts +890 -114
  20. package/apps/studio/acp/chat-search.ts +195 -0
  21. package/apps/studio/acp/connected-fact.ts +83 -0
  22. package/apps/studio/acp/design-write-verb.ts +71 -0
  23. package/apps/studio/acp/env.ts +86 -0
  24. package/apps/studio/acp/index.ts +775 -58
  25. package/apps/studio/acp/login-state.ts +15 -1
  26. package/apps/studio/acp/may-scope.ts +771 -0
  27. package/apps/studio/acp/plugin-bootstrap.ts +90 -5
  28. package/apps/studio/acp/probe.ts +18 -4
  29. package/apps/studio/acp/repo-private.ts +73 -0
  30. package/apps/studio/acp/running.ts +50 -5
  31. package/apps/studio/acp/transcript.ts +356 -21
  32. package/apps/studio/acp/write-scope.ts +141 -11
  33. package/apps/studio/actions/agents.ts +2068 -0
  34. package/apps/studio/actions/canvas-keys.ts +41 -0
  35. package/apps/studio/actions/ctx.ts +118 -0
  36. package/apps/studio/actions/defs/_v1.ts +55 -0
  37. package/apps/studio/actions/defs/ai-runs.ts +56 -0
  38. package/apps/studio/actions/defs/annotation.ts +164 -0
  39. package/apps/studio/actions/defs/app.ts +269 -0
  40. package/apps/studio/actions/defs/canvas.ts +281 -0
  41. package/apps/studio/actions/defs/chat.ts +158 -0
  42. package/apps/studio/actions/defs/diagnostics.ts +52 -0
  43. package/apps/studio/actions/defs/ds.ts +139 -0
  44. package/apps/studio/actions/defs/edit.ts +986 -0
  45. package/apps/studio/actions/defs/export.ts +221 -0
  46. package/apps/studio/actions/defs/history.ts +175 -0
  47. package/apps/studio/actions/defs/native.ts +264 -0
  48. package/apps/studio/actions/defs/presence.ts +53 -0
  49. package/apps/studio/actions/defs/search.ts +90 -0
  50. package/apps/studio/actions/defs/sync.ts +47 -0
  51. package/apps/studio/actions/defs/timeline.ts +254 -0
  52. package/apps/studio/actions/defs/tool.ts +152 -0
  53. package/apps/studio/actions/defs/ui.ts +38 -0
  54. package/apps/studio/actions/defs/video.ts +115 -0
  55. package/apps/studio/actions/defs/view.ts +556 -0
  56. package/apps/studio/actions/documents.ts +32 -0
  57. package/apps/studio/actions/forward.ts +48 -0
  58. package/apps/studio/actions/help.ts +115 -0
  59. package/apps/studio/actions/index.ts +51 -0
  60. package/apps/studio/actions/keymap.gen.ts +1170 -0
  61. package/apps/studio/actions/keys.ts +271 -0
  62. package/apps/studio/actions/legacy.ts +250 -0
  63. package/apps/studio/actions/manifest-version.ts +18 -0
  64. package/apps/studio/actions/menu.ts +203 -0
  65. package/apps/studio/actions/native-menu.ts +132 -0
  66. package/apps/studio/actions/resolve.ts +118 -0
  67. package/apps/studio/actions/types.ts +266 -0
  68. package/apps/studio/actions/uniqueness.ts +119 -0
  69. package/apps/studio/actions/verbs.ts +306 -0
  70. package/apps/studio/actions.manifest.json +7826 -0
  71. package/apps/studio/actions.parity.json +268 -0
  72. package/apps/studio/activity.ts +4 -31
  73. package/apps/studio/agent-runs.ts +676 -0
  74. package/apps/studio/ai/attach-grants.ts +497 -0
  75. package/apps/studio/ai/copy-meta.ts +204 -0
  76. package/apps/studio/ai/create-claim.ts +88 -0
  77. package/apps/studio/ai/lease-home.ts +202 -0
  78. package/apps/studio/ai/run-doing.ts +106 -0
  79. package/apps/studio/ai/run-lifecycle.ts +320 -0
  80. package/apps/studio/ai/run-progress.ts +154 -0
  81. package/apps/studio/ai/runs.ts +1180 -0
  82. package/apps/studio/ai/save-hold.ts +565 -0
  83. package/apps/studio/ai/watch-progress.ts +182 -0
  84. package/apps/studio/ai/write-claim-scope.ts +39 -0
  85. package/apps/studio/ai/write-claim.ts +193 -0
  86. package/apps/studio/ai-banner.tsx +8 -14
  87. package/apps/studio/annotations/ai-read.ts +289 -1
  88. package/apps/studio/annotations/ai-write.ts +281 -23
  89. package/apps/studio/annotations/artboard-members.ts +86 -0
  90. package/apps/studio/annotations/board-ops.ts +358 -0
  91. package/apps/studio/annotations/board-schema.ts +81 -0
  92. package/apps/studio/annotations/constants.ts +2 -0
  93. package/apps/studio/annotations/elements/_shared.ts +290 -1
  94. package/apps/studio/annotations/elements/arrow.model.ts +29 -2
  95. package/apps/studio/annotations/elements/ballot.model.ts +110 -0
  96. package/apps/studio/annotations/elements/media.model.ts +11 -1
  97. package/apps/studio/annotations/elements/section.model.ts +3 -1
  98. package/apps/studio/annotations/elements/stamp.model.ts +83 -0
  99. package/apps/studio/annotations/elements/sticky.model.ts +235 -0
  100. package/apps/studio/annotations/elements/vote.model.ts +71 -0
  101. package/apps/studio/annotations/fields.ts +51 -0
  102. package/apps/studio/annotations/figjam-into.ts +119 -0
  103. package/apps/studio/annotations/hosts.ts +231 -0
  104. package/apps/studio/annotations/migrate-v1.ts +21 -2
  105. package/apps/studio/annotations/ops.ts +23 -0
  106. package/apps/studio/annotations/registry.ts +154 -16
  107. package/apps/studio/annotations/route.ts +268 -0
  108. package/apps/studio/annotations/run-tag.ts +150 -0
  109. package/apps/studio/annotations/stamp-kinds.ts +66 -0
  110. package/apps/studio/annotations/templates.ts +154 -0
  111. package/apps/studio/annotations/text-steps.ts +253 -0
  112. package/apps/studio/annotations/time-marks.ts +140 -0
  113. package/apps/studio/annotations/types.ts +22 -0
  114. package/apps/studio/annotations/ui/ai-marks.tsx +64 -0
  115. package/apps/studio/annotations/ui/ai-seen.tsx +117 -0
  116. package/apps/studio/annotations/ui/arrow-bind.ts +347 -0
  117. package/apps/studio/annotations/ui/arrow-cards.tsx +396 -0
  118. package/apps/studio/annotations/ui/arrow-kinds.ts +90 -0
  119. package/apps/studio/annotations/ui/bar-place.ts +18 -0
  120. package/apps/studio/annotations/ui/element-node.tsx +300 -52
  121. package/apps/studio/annotations/ui/host-view.ts +99 -0
  122. package/apps/studio/annotations/ui/locked.tsx +83 -0
  123. package/apps/studio/annotations/ui/lod.tsx +246 -0
  124. package/apps/studio/annotations/ui/placement.tsx +270 -0
  125. package/apps/studio/annotations/ui/pointer-pipeline.ts +10 -0
  126. package/apps/studio/annotations/ui/posture.ts +124 -0
  127. package/apps/studio/annotations/ui/quiet-tip.ts +28 -0
  128. package/apps/studio/annotations/ui/render-model.ts +27 -2
  129. package/apps/studio/annotations/ui/rest-route.ts +152 -0
  130. package/apps/studio/annotations/ui/ride.ts +957 -0
  131. package/apps/studio/annotations/ui/scene.tsx +59 -11
  132. package/apps/studio/annotations/ui/section-fold.ts +95 -0
  133. package/apps/studio/annotations/ui/shell-asks.ts +62 -0
  134. package/apps/studio/annotations/ui/stamps.ts +221 -0
  135. package/apps/studio/annotations/ui/stamps.tsx +272 -0
  136. package/apps/studio/annotations/ui/sticker-drop.ts +147 -0
  137. package/apps/studio/annotations/ui/sticker-preview.ts +41 -0
  138. package/apps/studio/annotations/ui/sticky-resolve.ts +106 -0
  139. package/apps/studio/annotations/ui/template-place.ts +108 -0
  140. package/apps/studio/annotations/ui/text-editor.tsx +6 -4
  141. package/apps/studio/annotations/ui/text-session.ts +63 -1
  142. package/apps/studio/annotations/ui/text-style.ts +11 -3
  143. package/apps/studio/annotations/ui/time-pins.tsx +134 -0
  144. package/apps/studio/annotations/ui/tool-prefs.ts +242 -0
  145. package/apps/studio/annotations/ui/tool-state.ts +211 -0
  146. package/apps/studio/annotations/ui/visibility.ts +76 -0
  147. package/apps/studio/annotations/ui/vote-dots.tsx +283 -0
  148. package/apps/studio/annotations/v1-adapter.ts +88 -5
  149. package/apps/studio/annotations/validate-board.ts +257 -0
  150. package/apps/studio/annotations/vote-guard.ts +48 -0
  151. package/apps/studio/annotations/votes-local.ts +481 -0
  152. package/apps/studio/annotations-bindings.ts +54 -8
  153. package/apps/studio/annotations-context-toolbar.tsx +612 -150
  154. package/apps/studio/annotations-layer.tsx +1768 -674
  155. package/apps/studio/annotations-model.ts +80 -5
  156. package/apps/studio/api.ts +1522 -454
  157. package/apps/studio/artboard-activity-overlay.tsx +530 -3
  158. package/apps/studio/artboard-ai-copies.tsx +187 -0
  159. package/apps/studio/artboard-convert-marks.tsx +142 -0
  160. package/apps/studio/artboard-gap-mark.tsx +177 -0
  161. package/apps/studio/artboard-ghosts-overlay.tsx +106 -0
  162. package/apps/studio/artboard-growth-memory.ts +56 -0
  163. package/apps/studio/artboard-growth-tag.tsx +115 -0
  164. package/apps/studio/artboard-guides-overlay.tsx +86 -26
  165. package/apps/studio/artboard-marquee.tsx +21 -6
  166. package/apps/studio/artboard-new-section.tsx +188 -0
  167. package/apps/studio/artboard-warn-mark.tsx +330 -0
  168. package/apps/studio/asset-details.ts +339 -0
  169. package/apps/studio/asset-generated.ts +99 -0
  170. package/apps/studio/asset-origins.ts +147 -0
  171. package/apps/studio/asset-placeholder.tsx +481 -0
  172. package/apps/studio/asset-rename.ts +171 -0
  173. package/apps/studio/asset-trash.ts +176 -0
  174. package/apps/studio/asset-upload-bars.tsx +167 -0
  175. package/apps/studio/asset-upload.ts +145 -1
  176. package/apps/studio/attribute-artboards.ts +327 -0
  177. package/apps/studio/bin/_ab-headless.sh +35 -0
  178. package/apps/studio/bin/_ab-park.sh +83 -0
  179. package/apps/studio/bin/_agent-browser-safe.mjs +36 -3
  180. package/apps/studio/bin/_annotate-post.mjs +137 -0
  181. package/apps/studio/bin/_assets.mjs +213 -0
  182. package/apps/studio/bin/_brand-colours.mjs +189 -0
  183. package/apps/studio/bin/_brand-fonts.mjs +158 -0
  184. package/apps/studio/bin/_brand-site.mjs +309 -0
  185. package/apps/studio/bin/_canvas-errors.mjs +143 -0
  186. package/apps/studio/bin/_canvas-rects-playwright.mjs +6 -3
  187. package/apps/studio/bin/_canvas-rects-static.mjs +1 -1
  188. package/apps/studio/bin/_check.mjs +122 -0
  189. package/apps/studio/bin/_comments.mjs +274 -0
  190. package/apps/studio/bin/_curl-local.mjs +122 -3
  191. package/apps/studio/bin/_decode-webaudio.mjs +120 -0
  192. package/apps/studio/bin/_describe.mjs +220 -0
  193. package/apps/studio/bin/_ds-check.mjs +26 -0
  194. package/apps/studio/bin/_ds-prove-playwright.mjs +327 -0
  195. package/apps/studio/bin/_ds-upgrade.mjs +14 -0
  196. package/apps/studio/bin/_ds.mjs +82 -0
  197. package/apps/studio/bin/_enumerate-artboards-playwright.mjs +6 -3
  198. package/apps/studio/bin/_exports.mjs +244 -0
  199. package/apps/studio/bin/_fetch-asset.mjs +209 -15
  200. package/apps/studio/bin/_history.mjs +509 -0
  201. package/apps/studio/bin/_html-playwright.mjs +10 -3
  202. package/apps/studio/bin/_import-asset.mjs +446 -15
  203. package/apps/studio/bin/_import-brand.mjs +40 -156
  204. package/apps/studio/bin/_import-figma.mjs +878 -20
  205. package/apps/studio/bin/_import-tokens.mjs +8 -118
  206. package/apps/studio/bin/_index-cli.mjs +126 -0
  207. package/apps/studio/bin/_layout-check.mjs +35 -0
  208. package/apps/studio/bin/_logs.mjs +130 -0
  209. package/apps/studio/bin/_motion-sample-playwright.mjs +6 -3
  210. package/apps/studio/bin/_no-egress.sh +36 -0
  211. package/apps/studio/bin/_pdf-playwright.mjs +9 -3
  212. package/apps/studio/bin/_perf-probe-safari.mjs +327 -37
  213. package/apps/studio/bin/_perf-probe-studio.mjs +259 -0
  214. package/apps/studio/bin/_perf-probe.mjs +35 -1
  215. package/apps/studio/bin/_perf-shared.mjs +377 -12
  216. package/apps/studio/bin/_place.mjs +35 -0
  217. package/apps/studio/bin/_png-playwright.mjs +27 -7
  218. package/apps/studio/bin/_pptx-playwright.mjs +4 -3
  219. package/apps/studio/bin/_pw-launch.mjs +124 -2
  220. package/apps/studio/bin/_record-shot.sh +65 -0
  221. package/apps/studio/bin/_rects-input.mjs +69 -0
  222. package/apps/studio/bin/_reel-place.mjs +160 -0
  223. package/apps/studio/bin/_region.mjs +37 -1
  224. package/apps/studio/bin/_runs.mjs +178 -0
  225. package/apps/studio/bin/_screenshot-playwright.mjs +6 -3
  226. package/apps/studio/bin/_studio-verb.mjs +220 -0
  227. package/apps/studio/bin/_svg-playwright.mjs +4 -3
  228. package/apps/studio/bin/_sync.mjs +179 -0
  229. package/apps/studio/bin/_thumbs-playwright.mjs +704 -0
  230. package/apps/studio/bin/_tile-draw.mjs +74 -0
  231. package/apps/studio/bin/_transcribe-local.mjs +243 -0
  232. package/apps/studio/bin/_transcribe.mjs +48 -56
  233. package/apps/studio/bin/_trash.mjs +287 -0
  234. package/apps/studio/bin/_url-guard.mjs +88 -0
  235. package/apps/studio/bin/_url-guard.sh +16 -0
  236. package/apps/studio/bin/_video-playwright.mjs +9 -3
  237. package/apps/studio/bin/_video-verbs.mjs +403 -0
  238. package/apps/studio/bin/_write-claim.mjs +124 -0
  239. package/apps/studio/bin/annotate.mjs +348 -330
  240. package/apps/studio/bin/assets.sh +28 -0
  241. package/apps/studio/bin/beats.mjs +237 -0
  242. package/apps/studio/bin/beats.sh +24 -0
  243. package/apps/studio/bin/bootstrap-check.sh +2 -1
  244. package/apps/studio/bin/canvas-edit.sh +17 -9
  245. package/apps/studio/bin/canvas-errors.sh +18 -0
  246. package/apps/studio/bin/canvas-rects.sh +14 -0
  247. package/apps/studio/bin/canvas-source.sh +18 -0
  248. package/apps/studio/bin/captions.sh +13 -0
  249. package/apps/studio/bin/chat-open.sh +2 -2
  250. package/apps/studio/bin/check.sh +27 -0
  251. package/apps/studio/bin/comments.sh +20 -0
  252. package/apps/studio/bin/cut-to-beat.sh +13 -0
  253. package/apps/studio/bin/cut-words.sh +13 -0
  254. package/apps/studio/bin/describe.sh +28 -0
  255. package/apps/studio/bin/draw-proof.sh +41 -8
  256. package/apps/studio/bin/ds-check.sh +30 -0
  257. package/apps/studio/bin/ds-upgrade.sh +30 -0
  258. package/apps/studio/bin/ds.sh +29 -0
  259. package/apps/studio/bin/exports.sh +19 -0
  260. package/apps/studio/bin/generate.sh +45 -3
  261. package/apps/studio/bin/handoff.sh +60 -1
  262. package/apps/studio/bin/history.sh +24 -0
  263. package/apps/studio/bin/import-brand.sh +5 -3
  264. package/apps/studio/bin/index.sh +26 -0
  265. package/apps/studio/bin/layout-check.sh +20 -0
  266. package/apps/studio/bin/logs.sh +17 -0
  267. package/apps/studio/bin/perf.sh +93 -3
  268. package/apps/studio/bin/photo-bg-remove.sh +49 -7
  269. package/apps/studio/bin/place.sh +20 -0
  270. package/apps/studio/bin/read-annotations.mjs +52 -1
  271. package/apps/studio/bin/reel-place.sh +15 -0
  272. package/apps/studio/bin/runs.sh +19 -0
  273. package/apps/studio/bin/screenshot.sh +37 -21
  274. package/apps/studio/bin/server-up.sh +50 -13
  275. package/apps/studio/bin/smoke.sh +10 -0
  276. package/apps/studio/bin/sync.sh +18 -0
  277. package/apps/studio/bin/to-lottie.sh +1 -1
  278. package/apps/studio/bin/transcribe-local.sh +27 -0
  279. package/apps/studio/bin/trash.sh +23 -0
  280. package/apps/studio/bin/visual-sanity.sh +1 -0
  281. package/apps/studio/bridge/canvas-mode-store.ts +301 -0
  282. package/apps/studio/bridge/canvas-modes.ts +548 -0
  283. package/apps/studio/bridge/dgn-protocol.ts +2671 -0
  284. package/apps/studio/bridge/esc-ladder.ts +98 -0
  285. package/apps/studio/bridge/link-target.ts +157 -0
  286. package/apps/studio/bridge/mode-shows.ts +167 -0
  287. package/apps/studio/bridge/occlusion.ts +108 -0
  288. package/apps/studio/bridge/paste-data.ts +101 -0
  289. package/apps/studio/build.ts +12 -1
  290. package/apps/studio/bunfig.toml +4 -0
  291. package/apps/studio/canvas-build-sandbox.ts +34 -5
  292. package/apps/studio/canvas-build-worker.ts +23 -1
  293. package/apps/studio/canvas-build.ts +419 -15
  294. package/apps/studio/canvas-comment-mount.tsx +113 -25
  295. package/apps/studio/canvas-create.ts +285 -49
  296. package/apps/studio/canvas-cursors.ts +12 -0
  297. package/apps/studio/canvas-ds-icons.tsx +241 -0
  298. package/apps/studio/canvas-edit.ts +1188 -172
  299. package/apps/studio/canvas-hud-tokens.gen.ts +120 -0
  300. package/apps/studio/canvas-icons.tsx +47 -0
  301. package/apps/studio/canvas-lib-inline.ts +57 -3
  302. package/apps/studio/canvas-lib.tsx +1033 -263
  303. package/apps/studio/canvas-list-watch.ts +73 -2
  304. package/apps/studio/canvas-meta.schema.json +11 -0
  305. package/apps/studio/canvas-notifications.tsx +28 -3
  306. package/apps/studio/canvas-pipeline.ts +43 -8
  307. package/apps/studio/canvas-replay-keys.ts +65 -0
  308. package/apps/studio/canvas-rows.ts +116 -0
  309. package/apps/studio/canvas-shell.tsx +784 -698
  310. package/apps/studio/canvas-source/errors.ts +315 -0
  311. package/apps/studio/canvas-source/source-map.ts +69 -0
  312. package/apps/studio/canvas-theme-pill.tsx +164 -0
  313. package/apps/studio/canvas-theme.ts +133 -0
  314. package/apps/studio/canvas-top-level.ts +69 -0
  315. package/apps/studio/check/ids.ts +28 -0
  316. package/apps/studio/check/index.ts +586 -0
  317. package/apps/studio/check/link-resolver.ts +75 -0
  318. package/apps/studio/check/meta.ts +79 -0
  319. package/apps/studio/check/video.ts +352 -0
  320. package/apps/studio/client/actions/shell-key-handlers.js +450 -0
  321. package/apps/studio/client/app.jsx +2914 -1203
  322. package/apps/studio/client/canvas-url.js +241 -5
  323. package/apps/studio/client/clipboard-relay.ts +144 -0
  324. package/apps/studio/client/command-palette-match.js +4 -2
  325. package/apps/studio/client/comments-overlay.css +529 -144
  326. package/apps/studio/client/dialogs/asset-picker.jsx +77 -32
  327. package/apps/studio/client/dialogs/command-palette.jsx +453 -67
  328. package/apps/studio/client/dialogs/export-dialog.jsx +6 -781
  329. package/apps/studio/client/dialogs/help-modal.jsx +31 -2
  330. package/apps/studio/client/dialogs/shortcuts-overlay.jsx +201 -106
  331. package/apps/studio/client/edit-op-relay.ts +77 -0
  332. package/apps/studio/client/embed-view.jsx +25 -5
  333. package/apps/studio/client/export-bridge-scope.js +72 -0
  334. package/apps/studio/client/export-center.jsx +179 -369
  335. package/apps/studio/client/export-lane.js +117 -0
  336. package/apps/studio/client/export-region.ts +25 -0
  337. package/apps/studio/client/file-tree.jsx +4 -4
  338. package/apps/studio/client/frame-cap.js +132 -0
  339. package/apps/studio/client/generate-dialog.jsx +38 -36
  340. package/apps/studio/client/github.js +85 -26
  341. package/apps/studio/client/home/HomeAsk.jsx +220 -0
  342. package/apps/studio/client/home/InviteSheet.jsx +150 -0
  343. package/apps/studio/client/home/Shelves.jsx +216 -0
  344. package/apps/studio/client/home/Starters.jsx +42 -0
  345. package/apps/studio/client/home/TargetChip.jsx +152 -0
  346. package/apps/studio/client/home/home-api.js +275 -0
  347. package/apps/studio/client/home/home-app.jsx +1884 -0
  348. package/apps/studio/client/home/home-icons.jsx +143 -0
  349. package/apps/studio/client/home/home-menu.js +43 -0
  350. package/apps/studio/client/home/home-model.js +514 -0
  351. package/apps/studio/client/home/home-starters.js +136 -0
  352. package/apps/studio/client/home/home.css +1681 -0
  353. package/apps/studio/client/home/invite-flow.js +422 -0
  354. package/apps/studio/client/home/shell-mode.js +49 -0
  355. package/apps/studio/client/hooks/annotations-hidden-toast.js +21 -0
  356. package/apps/studio/client/hooks/canvas-origin-probe.js +26 -0
  357. package/apps/studio/client/hooks/edit-scope-query.js +16 -0
  358. package/apps/studio/client/hooks/use-action-keys.jsx +121 -0
  359. package/apps/studio/client/hooks/use-canvas-bridge.jsx +881 -247
  360. package/apps/studio/client/hooks/use-git-actions.jsx +33 -12
  361. package/apps/studio/client/hooks/use-palette-and-panels.jsx +722 -287
  362. package/apps/studio/client/hooks/use-photo-and-timeline.jsx +268 -307
  363. package/apps/studio/client/hooks/use-project-data.jsx +23 -2
  364. package/apps/studio/client/hooks/use-shell-core.jsx +582 -126
  365. package/apps/studio/client/hooks/use-tabs.jsx +268 -126
  366. package/apps/studio/client/index-loader.ts +3 -1
  367. package/apps/studio/client/inspector/color-picker.jsx +29 -18
  368. package/apps/studio/client/inspector/css-knobs.jsx +765 -436
  369. package/apps/studio/client/inspector/css-vocab.jsx +37 -4
  370. package/apps/studio/client/inspector/ds-tokens.js +127 -15
  371. package/apps/studio/client/inspector/grid-tracks-editor.jsx +21 -15
  372. package/apps/studio/client/inspector/inspect-computed.jsx +17 -15
  373. package/apps/studio/client/inspector/inspector-panel.jsx +314 -207
  374. package/apps/studio/client/inspector/layers.jsx +90 -65
  375. package/apps/studio/client/inspector/selection.js +20 -0
  376. package/apps/studio/client/inspector/token-popover.jsx +42 -28
  377. package/apps/studio/client/inspector-controls.jsx +453 -106
  378. package/apps/studio/client/panels/BrandUploadPanel.jsx +8 -229
  379. package/apps/studio/client/panels/ChatPanel.jsx +391 -1674
  380. package/apps/studio/client/panels/CloudBar.jsx +548 -252
  381. package/apps/studio/client/panels/CollabModelInfographic.jsx +77 -20
  382. package/apps/studio/client/panels/CreateProject.jsx +224 -40
  383. package/apps/studio/client/panels/DiffView.jsx +27 -10
  384. package/apps/studio/client/panels/ElicitationPrompt.jsx +4 -3
  385. package/apps/studio/client/panels/FigmaImportPanel.jsx +12 -263
  386. package/apps/studio/client/panels/IdentityBar.jsx +262 -74
  387. package/apps/studio/client/panels/IntroVideoDialog.jsx +6 -1
  388. package/apps/studio/client/panels/PermissionPrompt.jsx +85 -9
  389. package/apps/studio/client/panels/ReadinessList.jsx +71 -46
  390. package/apps/studio/client/panels/RepoBranchSwitcher.jsx +124 -745
  391. package/apps/studio/client/panels/SettingsPanel.jsx +492 -608
  392. package/apps/studio/client/panels/SetupChecklist.jsx +10 -3
  393. package/apps/studio/client/panels/SourceConflictPanel.jsx +96 -20
  394. package/apps/studio/client/panels/SyncConsentDialog.jsx +14 -13
  395. package/apps/studio/client/panels/TeamProjects.jsx +365 -119
  396. package/apps/studio/client/panels/ToolGroup.jsx +6 -2
  397. package/apps/studio/client/panels/acp-runtime.js +127 -22
  398. package/apps/studio/client/panels/acp-usage.js +4 -1
  399. package/apps/studio/client/panels/chat-context.js +74 -5
  400. package/apps/studio/client/panels/chat-header.jsx +67 -0
  401. package/apps/studio/client/panels/chat-markdown.jsx +6 -2
  402. package/apps/studio/client/panels/file-deep-link-dialog.jsx +88 -17
  403. package/apps/studio/client/panels/file-preview.jsx +50 -24
  404. package/apps/studio/client/panels/git-grouping.js +9 -2
  405. package/apps/studio/client/panels/slash-commands.gen.js +171 -0
  406. package/apps/studio/client/panels/slash-commands.js +65 -25
  407. package/apps/studio/client/panels/timeline-media-cache.js +68 -2
  408. package/apps/studio/client/panels/timeline-parse.js +62 -22
  409. package/apps/studio/client/panels/timeline-snap.js +4 -1
  410. package/apps/studio/client/panels/transcript-view.js +9 -0
  411. package/apps/studio/client/photo-knobs.jsx +225 -46
  412. package/apps/studio/client/prefs-migrate.js +79 -0
  413. package/apps/studio/client/report-bug.jsx +59 -26
  414. package/apps/studio/client/selection-scope.js +215 -0
  415. package/apps/studio/client/share-link.js +104 -8
  416. package/apps/studio/client/shell/account-tone.js +28 -0
  417. package/apps/studio/client/shell/banners.jsx +21 -188
  418. package/apps/studio/client/shell/comments-panel.jsx +5 -176
  419. package/apps/studio/client/shell/constants.js +1 -0
  420. package/apps/studio/client/shell/dock.jsx +217 -31
  421. package/apps/studio/client/shell/drop-guard.js +52 -0
  422. package/apps/studio/client/shell/icons.jsx +165 -23
  423. package/apps/studio/client/shell/util.js +20 -33
  424. package/apps/studio/client/shell/viewport.jsx +249 -95
  425. package/apps/studio/client/shell-bus.js +82 -0
  426. package/apps/studio/client/shell-events.js +251 -0
  427. package/apps/studio/client/stamp-follow.js +62 -0
  428. package/apps/studio/client/stores/shell-store.jsx +15 -0
  429. package/apps/studio/client/styles/0-reset.css +79 -16
  430. package/apps/studio/client/styles/1-tokens-maude-v2.css +367 -0
  431. package/apps/studio/client/styles/1-tokens-shell.css +374 -0
  432. package/apps/studio/client/styles/2-layout.css +404 -24
  433. package/apps/studio/client/styles/3-kit-maude-v2.css +683 -0
  434. package/apps/studio/client/styles/_index.css +183 -18
  435. package/apps/studio/client/system/system-view.jsx +52 -6
  436. package/apps/studio/client/tour/collab-tour.js +43 -38
  437. package/apps/studio/client/tour/overlay.jsx +61 -19
  438. package/apps/studio/client/tour/quick-setup-tour.js +27 -20
  439. package/apps/studio/client/tour/tour-model.js +36 -0
  440. package/apps/studio/client/tour/usage-tour.js +43 -24
  441. package/apps/studio/client/tree/tree.jsx +661 -409
  442. package/apps/studio/client/tree-expansion.js +5 -2
  443. package/apps/studio/client/tree-row-menu.jsx +43 -29
  444. package/apps/studio/client/ui-open.js +104 -0
  445. package/apps/studio/client/use-tree-drag.js +2 -0
  446. package/apps/studio/client/v2/access/access-card.jsx +54 -0
  447. package/apps/studio/client/v2/access/access-client.js +525 -0
  448. package/apps/studio/client/v2/access/access-host.jsx +328 -0
  449. package/apps/studio/client/v2/access/access.css +163 -0
  450. package/apps/studio/client/v2/access/ask-to-edit.jsx +97 -0
  451. package/apps/studio/client/v2/access/disabled-reason.js +50 -0
  452. package/apps/studio/client/v2/access/link-off-card.jsx +37 -0
  453. package/apps/studio/client/v2/access/trashed-banner.jsx +123 -0
  454. package/apps/studio/client/v2/advanced/where-matrix.js +231 -0
  455. package/apps/studio/client/v2/ai/AChip.jsx +158 -0
  456. package/apps/studio/client/v2/ai/Advanced.jsx +640 -0
  457. package/apps/studio/client/v2/ai/AiChatIsland.jsx +108 -0
  458. package/apps/studio/client/v2/ai/AskSelectionHost.jsx +173 -0
  459. package/apps/studio/client/v2/ai/AttachMenu.jsx +190 -0
  460. package/apps/studio/client/v2/ai/BigChat.jsx +195 -0
  461. package/apps/studio/client/v2/ai/ChatList.jsx +614 -0
  462. package/apps/studio/client/v2/ai/ChatUndo.jsx +164 -0
  463. package/apps/studio/client/v2/ai/ChoiceCard.jsx +178 -0
  464. package/apps/studio/client/v2/ai/Composer.jsx +655 -0
  465. package/apps/studio/client/v2/ai/ConnectSheet.jsx +118 -0
  466. package/apps/studio/client/v2/ai/Consent.jsx +66 -0
  467. package/apps/studio/client/v2/ai/DropOverlay.jsx +113 -0
  468. package/apps/studio/client/v2/ai/Feed.jsx +589 -0
  469. package/apps/studio/client/v2/ai/FoldNeeds.jsx +23 -0
  470. package/apps/studio/client/v2/ai/NeedsYouSlot.jsx +250 -0
  471. package/apps/studio/client/v2/ai/NotReady.jsx +110 -0
  472. package/apps/studio/client/v2/ai/OfferCard.jsx +165 -0
  473. package/apps/studio/client/v2/ai/PermissionCard.jsx +168 -0
  474. package/apps/studio/client/v2/ai/PickedShots.jsx +33 -0
  475. package/apps/studio/client/v2/ai/ProblemCard.jsx +41 -0
  476. package/apps/studio/client/v2/ai/QuitDialog.jsx +127 -0
  477. package/apps/studio/client/v2/ai/RawLog.jsx +68 -0
  478. package/apps/studio/client/v2/ai/Result.jsx +144 -0
  479. package/apps/studio/client/v2/ai/RunList.jsx +352 -0
  480. package/apps/studio/client/v2/ai/RunSurface.jsx +248 -0
  481. package/apps/studio/client/v2/ai/ScopeChip.jsx +239 -0
  482. package/apps/studio/client/v2/ai/SentStrip.jsx +70 -0
  483. package/apps/studio/client/v2/ai/StoppedDivider.jsx +84 -0
  484. package/apps/studio/client/v2/ai/Suggest.jsx +153 -0
  485. package/apps/studio/client/v2/ai/TurnResult.jsx +95 -0
  486. package/apps/studio/client/v2/ai/WaitingCard.jsx +133 -0
  487. package/apps/studio/client/v2/ai/WillChange.jsx +40 -0
  488. package/apps/studio/client/v2/ai/Working.jsx +74 -0
  489. package/apps/studio/client/v2/ai/advanced-handlers.js +56 -0
  490. package/apps/studio/client/v2/ai/advanced-model.js +214 -0
  491. package/apps/studio/client/v2/ai/ai-list-advanced.css +625 -0
  492. package/apps/studio/client/v2/ai/ai-may.js +75 -0
  493. package/apps/studio/client/v2/ai/ai-offer.js +178 -0
  494. package/apps/studio/client/v2/ai/ai-run.css +281 -0
  495. package/apps/studio/client/v2/ai/ai-send.js +164 -0
  496. package/apps/studio/client/v2/ai/ai.css +261 -0
  497. package/apps/studio/client/v2/ai/answer-note.js +44 -0
  498. package/apps/studio/client/v2/ai/ask-frame.js +131 -0
  499. package/apps/studio/client/v2/ai/ask-selection-lane.js +100 -0
  500. package/apps/studio/client/v2/ai/ask-selection.css +142 -0
  501. package/apps/studio/client/v2/ai/ask-selection.js +84 -0
  502. package/apps/studio/client/v2/ai/attach.css +366 -0
  503. package/apps/studio/client/v2/ai/attach.js +186 -0
  504. package/apps/studio/client/v2/ai/chat-list-model.js +333 -0
  505. package/apps/studio/client/v2/ai/chat-store-api.js +93 -0
  506. package/apps/studio/client/{styles/6-acp-chat.css → v2/ai/chat.css} +1152 -797
  507. package/apps/studio/client/v2/ai/connect-flow.js +75 -0
  508. package/apps/studio/client/v2/ai/gate-lines.js +121 -0
  509. package/apps/studio/client/v2/ai/icons.jsx +66 -0
  510. package/apps/studio/client/v2/ai/jump-model.js +61 -0
  511. package/apps/studio/client/v2/ai/made-by-ai.js +179 -0
  512. package/apps/studio/client/v2/ai/needs-you-store.js +112 -0
  513. package/apps/studio/client/v2/ai/needs-you-toast.js +104 -0
  514. package/apps/studio/client/v2/ai/needs-you.css +554 -0
  515. package/apps/studio/client/v2/ai/needs-you.js +391 -0
  516. package/apps/studio/client/v2/ai/panel-focus.js +71 -0
  517. package/apps/studio/client/v2/ai/panel.css +88 -0
  518. package/apps/studio/client/v2/ai/paste-chips.jsx +108 -0
  519. package/apps/studio/client/v2/ai/picked-shots.js +48 -0
  520. package/apps/studio/client/v2/ai/quit.css +64 -0
  521. package/apps/studio/client/v2/ai/result-shown.js +50 -0
  522. package/apps/studio/client/v2/ai/ring-relay.js +143 -0
  523. package/apps/studio/client/v2/ai/row-slots-lane.js +67 -0
  524. package/apps/studio/client/v2/ai/run-api.js +137 -0
  525. package/apps/studio/client/v2/ai/run-cards.js +31 -0
  526. package/apps/studio/client/v2/ai/run-compare.js +60 -0
  527. package/apps/studio/client/v2/ai/run-icons.jsx +53 -0
  528. package/apps/studio/client/v2/ai/run-model.js +348 -0
  529. package/apps/studio/client/v2/ai/runs-model.js +568 -0
  530. package/apps/studio/client/v2/ai/runs-store.js +161 -0
  531. package/apps/studio/client/v2/ai/runs.css +226 -0
  532. package/apps/studio/client/v2/ai/scope.js +298 -0
  533. package/apps/studio/client/v2/ai/seen-relay.js +95 -0
  534. package/apps/studio/client/v2/ai/sent-attachments.js +77 -0
  535. package/apps/studio/client/v2/ai/stopped.js +69 -0
  536. package/apps/studio/client/v2/ai/suggest-why.js +200 -0
  537. package/apps/studio/client/v2/ai/use-ai-scope.js +198 -0
  538. package/apps/studio/client/v2/ai/use-ask-ai.js +63 -0
  539. package/apps/studio/client/v2/ai/use-ask-selection.js +41 -0
  540. package/apps/studio/client/v2/ai/use-attachments.js +239 -0
  541. package/apps/studio/client/v2/ai/use-chat-runs.js +32 -0
  542. package/apps/studio/client/v2/ai/use-run-versions.js +39 -0
  543. package/apps/studio/client/v2/ai/video/ClipsAttached.jsx +23 -0
  544. package/apps/studio/client/v2/ai/video/LeftOut.jsx +29 -0
  545. package/apps/studio/client/v2/ai/video/WatchProgress.jsx +65 -0
  546. package/apps/studio/client/v2/ai/video/card-model.js +107 -0
  547. package/apps/studio/client/v2/ai/video/cards.jsx +51 -0
  548. package/apps/studio/client/v2/ai/video/clip-pic.js +12 -0
  549. package/apps/studio/client/v2/ai/video/video-cards.css +168 -0
  550. package/apps/studio/client/v2/annotations/annotation-asks.js +171 -0
  551. package/apps/studio/client/v2/annotations/annotation-list-model.js +238 -0
  552. package/apps/studio/client/v2/annotations/annotation-list.css +277 -0
  553. package/apps/studio/client/v2/annotations/annotation-list.jsx +433 -0
  554. package/apps/studio/client/v2/annotations/recent-stickers.js +64 -0
  555. package/apps/studio/client/v2/annotations/stamp-row.jsx +66 -0
  556. package/apps/studio/client/v2/annotations/stamps-glyphs.jsx +35 -0
  557. package/apps/studio/client/v2/annotations/sticker-preload.js +44 -0
  558. package/apps/studio/client/v2/annotations/sticker-search.js +155 -0
  559. package/apps/studio/client/v2/annotations/stickers-gallery.css +295 -0
  560. package/apps/studio/client/v2/annotations/stickers-gallery.jsx +454 -0
  561. package/apps/studio/client/v2/annotations/templates-panel.css +344 -0
  562. package/apps/studio/client/v2/annotations/templates-panel.jsx +240 -0
  563. package/apps/studio/client/v2/annotations/v2-scope.js +20 -0
  564. package/apps/studio/client/v2/annotations/vote-bar.jsx +212 -0
  565. package/apps/studio/client/v2/annotations/vote-sheet.jsx +200 -0
  566. package/apps/studio/client/v2/annotations/vote-store.js +392 -0
  567. package/apps/studio/client/v2/annotations/vote.css +153 -0
  568. package/apps/studio/client/v2/assets/ask-once.js +65 -0
  569. package/apps/studio/client/v2/assets/asset-drop-session.js +238 -0
  570. package/apps/studio/client/v2/assets/asset-state-lane.js +267 -0
  571. package/apps/studio/client/v2/assets/assets-bus.js +109 -0
  572. package/apps/studio/client/v2/assets/browse-model.js +90 -0
  573. package/apps/studio/client/v2/assets/browse-view.jsx +202 -0
  574. package/apps/studio/client/v2/assets/canvas-drop-catcher.jsx +114 -0
  575. package/apps/studio/client/v2/assets/connect-key-sheet.jsx +69 -0
  576. package/apps/studio/client/v2/assets/copy-asset.js +37 -0
  577. package/apps/studio/client/v2/assets/describe-client.js +156 -0
  578. package/apps/studio/client/v2/assets/describe-consent.jsx +184 -0
  579. package/apps/studio/client/v2/assets/describe.css +72 -0
  580. package/apps/studio/client/v2/assets/details-advanced.jsx +76 -0
  581. package/apps/studio/client/v2/assets/details-model.js +233 -0
  582. package/apps/studio/client/v2/assets/details.jsx +292 -0
  583. package/apps/studio/client/v2/assets/generate-ask.jsx +506 -0
  584. package/apps/studio/client/v2/assets/generated.js +83 -0
  585. package/apps/studio/client/v2/assets/import-lines.js +228 -0
  586. package/apps/studio/client/v2/assets/import-offline.js +32 -0
  587. package/apps/studio/client/v2/assets/import-toast.js +56 -0
  588. package/apps/studio/client/v2/assets/just-added.js +32 -0
  589. package/apps/studio/client/v2/assets/kinds-chip.jsx +77 -0
  590. package/apps/studio/client/v2/assets/library-foot.js +42 -0
  591. package/apps/studio/client/v2/assets/missing-frame.css +60 -0
  592. package/apps/studio/client/v2/assets/missing-frame.jsx +218 -0
  593. package/apps/studio/client/v2/assets/multi-select.js +58 -0
  594. package/apps/studio/client/v2/assets/place-asset.js +128 -0
  595. package/apps/studio/client/v2/assets/relink.js +96 -0
  596. package/apps/studio/client/v2/assets/rename-asset.js +83 -0
  597. package/apps/studio/client/v2/assets/search-marks.jsx +75 -0
  598. package/apps/studio/client/v2/assets/takes-overlay.jsx +86 -0
  599. package/apps/studio/client/v2/assets/takes.css +177 -0
  600. package/apps/studio/client/v2/assets/takes.js +224 -0
  601. package/apps/studio/client/v2/assets/tidy.jsx +144 -0
  602. package/apps/studio/client/v2/assets/tile-drag.js +53 -0
  603. package/apps/studio/client/v2/assets/tile-menu.jsx +119 -0
  604. package/apps/studio/client/v2/assets/tile.jsx +131 -0
  605. package/apps/studio/client/v2/assets/trash-assets.js +98 -0
  606. package/apps/studio/client/v2/assets/use-asset-details.js +58 -0
  607. package/apps/studio/client/v2/assets/use-assets.js +121 -0
  608. package/apps/studio/client/v2/assets/use-takes-lane.js +150 -0
  609. package/apps/studio/client/v2/canvases/canvas-icons.jsx +107 -0
  610. package/apps/studio/client/v2/canvases/canvases-panel.jsx +1466 -0
  611. package/apps/studio/client/v2/canvases/canvases.css +699 -0
  612. package/apps/studio/client/v2/canvases/covers.js +32 -0
  613. package/apps/studio/client/v2/canvases/inline-rename.jsx +122 -0
  614. package/apps/studio/client/v2/canvases/jump-list.jsx +100 -0
  615. package/apps/studio/client/v2/canvases/jump-model.js +102 -0
  616. package/apps/studio/client/v2/canvases/kept-on-this-mac.jsx +192 -0
  617. package/apps/studio/client/v2/canvases/last-canvas.js +36 -0
  618. package/apps/studio/client/v2/canvases/move-model.js +45 -0
  619. package/apps/studio/client/v2/canvases/move-sheet.jsx +91 -0
  620. package/apps/studio/client/v2/canvases/open-link.js +154 -0
  621. package/apps/studio/client/v2/canvases/panel-search.js +156 -0
  622. package/apps/studio/client/v2/canvases/rename-model.js +134 -0
  623. package/apps/studio/client/v2/canvases/row-menu.jsx +145 -0
  624. package/apps/studio/client/v2/canvases/row-slots.js +224 -0
  625. package/apps/studio/client/v2/canvases/sort.js +132 -0
  626. package/apps/studio/client/v2/canvases/support-model.js +68 -0
  627. package/apps/studio/client/v2/canvases/trash-canvas.js +120 -0
  628. package/apps/studio/client/v2/canvases/tree-model.js +760 -0
  629. package/apps/studio/client/v2/canvases/use-canvas-index.js +50 -0
  630. package/apps/studio/client/v2/canvases/use-canvases-sort.js +59 -0
  631. package/apps/studio/client/v2/canvases/use-move.js +61 -0
  632. package/apps/studio/client/v2/canvases/use-pins.js +80 -0
  633. package/apps/studio/client/v2/cloud/browser-door.js +152 -0
  634. package/apps/studio/client/v2/cloud/cloud-name.js +38 -0
  635. package/apps/studio/client/v2/code/canvas-error-card.jsx +407 -0
  636. package/apps/studio/client/v2/code/canvas-imports-card.jsx +31 -0
  637. package/apps/studio/client/v2/code/code-bus.js +63 -0
  638. package/apps/studio/client/v2/code/code-view.jsx +277 -0
  639. package/apps/studio/client/v2/code/code.css +373 -0
  640. package/apps/studio/client/v2/code/highlight.js +163 -0
  641. package/apps/studio/client/v2/code/use-canvas-source.js +338 -0
  642. package/apps/studio/client/v2/comments/comment-bridge.js +154 -0
  643. package/apps/studio/client/v2/comments/comment-client.js +84 -0
  644. package/apps/studio/client/v2/comments/comment-tool.js +18 -0
  645. package/apps/studio/client/v2/comments/comments-model.js +213 -0
  646. package/apps/studio/client/v2/comments/comments-panel.jsx +400 -0
  647. package/apps/studio/client/v2/comments/comments.css +305 -0
  648. package/apps/studio/client/v2/comments/mention-callouts.jsx +90 -0
  649. package/apps/studio/client/v2/comments/mention-model.js +118 -0
  650. package/apps/studio/client/v2/comments/native-mention-notice.js +73 -0
  651. package/apps/studio/client/v2/comments/reply-focus.js +30 -0
  652. package/apps/studio/client/v2/comments/use-comments-shell.jsx +176 -0
  653. package/apps/studio/client/v2/create/NameDialog.jsx +95 -0
  654. package/apps/studio/client/v2/create/NameDialogHost.jsx +141 -0
  655. package/apps/studio/client/v2/create/create-project.css +260 -0
  656. package/apps/studio/client/v2/create/duplicate-done.js +45 -0
  657. package/apps/studio/client/v2/create/empty-project.css +113 -0
  658. package/apps/studio/client/v2/create/empty-project.jsx +162 -0
  659. package/apps/studio/client/v2/create/first-draft.js +30 -0
  660. package/apps/studio/client/v2/create/intent-host.jsx +40 -0
  661. package/apps/studio/client/v2/create/name-dialog-bus.js +41 -0
  662. package/apps/studio/client/v2/create/name-dialog.css +36 -0
  663. package/apps/studio/client/v2/create/new-canvas.js +64 -0
  664. package/apps/studio/client/v2/create/open-sizes.js +41 -0
  665. package/apps/studio/client/v2/create/render-error.css +29 -0
  666. package/apps/studio/client/v2/create/render-error.jsx +107 -0
  667. package/apps/studio/client/v2/create/repair-offer.js +36 -0
  668. package/apps/studio/client/v2/create/take-intent.js +154 -0
  669. package/apps/studio/client/v2/create/use-project-empty.js +85 -0
  670. package/apps/studio/client/v2/create/use-render-error.js +116 -0
  671. package/apps/studio/client/v2/diagnostics/diagnostics-bus.js +47 -0
  672. package/apps/studio/client/v2/diagnostics/diagnostics-handlers.js +108 -0
  673. package/apps/studio/client/v2/diagnostics/diagnostics-host.jsx +196 -0
  674. package/apps/studio/client/v2/diagnostics/diagnostics-model.js +253 -0
  675. package/apps/studio/client/v2/diagnostics/diagnostics-sheet.jsx +557 -0
  676. package/apps/studio/client/v2/diagnostics/diagnostics.css +612 -0
  677. package/apps/studio/client/v2/diagnostics/resync-model.js +51 -0
  678. package/apps/studio/client/v2/diagnostics/resync-run.js +79 -0
  679. package/apps/studio/client/v2/diagnostics/sync-actions.js +38 -0
  680. package/apps/studio/client/v2/diagnostics/sync-details/sync-details-model.js +241 -0
  681. package/apps/studio/client/v2/diagnostics/sync-details/sync-details.jsx +392 -0
  682. package/apps/studio/client/v2/diagnostics/use-diagnostics-menu.js +58 -0
  683. package/apps/studio/client/v2/ds/advanced-bus.js +40 -0
  684. package/apps/studio/client/v2/ds/advanced-host.jsx +228 -0
  685. package/apps/studio/client/v2/ds/advanced-model.js +110 -0
  686. package/apps/studio/client/v2/ds/advanced-store.js +47 -0
  687. package/apps/studio/client/v2/ds/advanced.css +277 -0
  688. package/apps/studio/client/v2/ds/advanced.jsx +203 -0
  689. package/apps/studio/client/v2/ds/check-card.jsx +80 -0
  690. package/apps/studio/client/v2/ds/colour-picker.jsx +121 -0
  691. package/apps/studio/client/v2/ds/colour-words.js +48 -0
  692. package/apps/studio/client/v2/ds/conflict-pick.jsx +151 -0
  693. package/apps/studio/client/v2/ds/contrast-warning.jsx +80 -0
  694. package/apps/studio/client/v2/ds/contrast.js +137 -0
  695. package/apps/studio/client/v2/ds/convert-dialog.jsx +133 -0
  696. package/apps/studio/client/v2/ds/convert-host.jsx +143 -0
  697. package/apps/studio/client/v2/ds/convert-model.js +221 -0
  698. package/apps/studio/client/v2/ds/default-write.js +69 -0
  699. package/apps/studio/client/v2/ds/direction-bar.jsx +287 -0
  700. package/apps/studio/client/v2/ds/door-write.js +163 -0
  701. package/apps/studio/client/v2/ds/edge-model.js +151 -0
  702. package/apps/studio/client/v2/ds/edge-write.js +91 -0
  703. package/apps/studio/client/v2/ds/edges.css +152 -0
  704. package/apps/studio/client/v2/ds/follower-swap.js +88 -0
  705. package/apps/studio/client/v2/ds/go-to.js +71 -0
  706. package/apps/studio/client/v2/ds/kinds/master.jsx +214 -0
  707. package/apps/studio/client/v2/ds/kinds/token.jsx +546 -0
  708. package/apps/studio/client/v2/ds/library-bus.js +43 -0
  709. package/apps/studio/client/v2/ds/library-card.jsx +379 -0
  710. package/apps/studio/client/v2/ds/library-host.jsx +436 -0
  711. package/apps/studio/client/v2/ds/library-model.js +305 -0
  712. package/apps/studio/client/v2/ds/library-store.js +45 -0
  713. package/apps/studio/client/v2/ds/library.css +148 -0
  714. package/apps/studio/client/v2/ds/make-host.jsx +244 -0
  715. package/apps/studio/client/v2/ds/make-model.js +208 -0
  716. package/apps/studio/client/v2/ds/make-sheet.jsx +264 -0
  717. package/apps/studio/client/v2/ds/make-write.js +90 -0
  718. package/apps/studio/client/v2/ds/make.css +242 -0
  719. package/apps/studio/client/v2/ds/master-write.js +145 -0
  720. package/apps/studio/client/v2/ds/new-canvas-default.js +89 -0
  721. package/apps/studio/client/v2/ds/off-system-host.jsx +107 -0
  722. package/apps/studio/client/v2/ds/off-system.jsx +101 -0
  723. package/apps/studio/client/v2/ds/outside-banner.jsx +153 -0
  724. package/apps/studio/client/v2/ds/pinned-rows.js +138 -0
  725. package/apps/studio/client/v2/ds/pins.js +102 -0
  726. package/apps/studio/client/v2/ds/preview-bar.jsx +220 -0
  727. package/apps/studio/client/v2/ds/preview-doors.js +47 -0
  728. package/apps/studio/client/v2/ds/preview-mode.js +163 -0
  729. package/apps/studio/client/v2/ds/reach-data.js +68 -0
  730. package/apps/studio/client/v2/ds/reach-model.js +184 -0
  731. package/apps/studio/client/v2/ds/reach-view.jsx +577 -0
  732. package/apps/studio/client/v2/ds/reach.css +298 -0
  733. package/apps/studio/client/v2/ds/rename-write.js +88 -0
  734. package/apps/studio/client/v2/ds/review-bus.js +41 -0
  735. package/apps/studio/client/v2/ds/review-host.jsx +438 -0
  736. package/apps/studio/client/v2/ds/review-model.js +307 -0
  737. package/apps/studio/client/v2/ds/review-sheet.jsx +390 -0
  738. package/apps/studio/client/v2/ds/review.css +894 -0
  739. package/apps/studio/client/v2/ds/row-dots.js +41 -0
  740. package/apps/studio/client/v2/ds/switch-bus.js +56 -0
  741. package/apps/studio/client/v2/ds/switch-host.jsx +241 -0
  742. package/apps/studio/client/v2/ds/switch-model.js +254 -0
  743. package/apps/studio/client/v2/ds/switch-sheet.jsx +364 -0
  744. package/apps/studio/client/v2/ds/switch.css +263 -0
  745. package/apps/studio/client/v2/ds/system-menu.jsx +81 -0
  746. package/apps/studio/client/v2/ds/system-rename.jsx +102 -0
  747. package/apps/studio/client/v2/ds/token-write.js +241 -0
  748. package/apps/studio/client/v2/ds/token.css +185 -0
  749. package/apps/studio/client/v2/ds/trash-token-sheet.jsx +112 -0
  750. package/apps/studio/client/v2/ds/truth-card.jsx +85 -0
  751. package/apps/studio/client/v2/ds/truth-host.jsx +239 -0
  752. package/apps/studio/client/v2/ds/truth-model.js +315 -0
  753. package/apps/studio/client/v2/ds/truth-store.js +45 -0
  754. package/apps/studio/client/v2/ds/truth.css +143 -0
  755. package/apps/studio/client/v2/ds/update-available.jsx +261 -0
  756. package/apps/studio/client/v2/ds/update-dots.js +103 -0
  757. package/apps/studio/client/v2/ds/update-model.js +295 -0
  758. package/apps/studio/client/v2/ds/upgrade-bus.js +40 -0
  759. package/apps/studio/client/v2/ds/upgrade-host.jsx +185 -0
  760. package/apps/studio/client/v2/ds/upgrade-model.js +266 -0
  761. package/apps/studio/client/v2/ds/upgrade-offers.js +34 -0
  762. package/apps/studio/client/v2/ds/upgrade-sheet.jsx +277 -0
  763. package/apps/studio/client/v2/ds/upgrade.css +166 -0
  764. package/apps/studio/client/v2/ds/use-covers.js +27 -0
  765. package/apps/studio/client/v2/ds/use-ds-frames.js +165 -0
  766. package/apps/studio/client/v2/ds/use-ds-model.js +61 -0
  767. package/apps/studio/client/v2/ds/use-ds-search.js +61 -0
  768. package/apps/studio/client/v2/ds/use-ds-state.js +65 -0
  769. package/apps/studio/client/v2/ds/uses-link.jsx +58 -0
  770. package/apps/studio/client/v2/empty/all-trashed-model.js +321 -0
  771. package/apps/studio/client/v2/empty/all-trashed-relay.js +65 -0
  772. package/apps/studio/client/v2/empty/all-trashed.jsx +229 -0
  773. package/apps/studio/client/v2/empty/arriving.jsx +180 -0
  774. package/apps/studio/client/v2/empty/artboard-hint.jsx +47 -0
  775. package/apps/studio/client/v2/empty/ask-button.jsx +35 -0
  776. package/apps/studio/client/v2/empty/confetti.jsx +46 -0
  777. package/apps/studio/client/v2/empty/empty-canvas.jsx +96 -0
  778. package/apps/studio/client/v2/empty/empty-copy.js +265 -0
  779. package/apps/studio/client/v2/empty/empty-hint-store.js +31 -0
  780. package/apps/studio/client/v2/empty/empty-host.jsx +168 -0
  781. package/apps/studio/client/v2/empty/empty.css +440 -0
  782. package/apps/studio/client/v2/empty/empty.jsx +162 -0
  783. package/apps/studio/client/v2/empty/fill-ask.js +22 -0
  784. package/apps/studio/client/v2/empty/free-centre.js +11 -0
  785. package/apps/studio/client/v2/empty/index.js +40 -0
  786. package/apps/studio/client/v2/empty/layers-empty.jsx +22 -0
  787. package/apps/studio/client/v2/empty/not-local.jsx +111 -0
  788. package/apps/studio/client/v2/empty/select-new-artboard.js +32 -0
  789. package/apps/studio/client/v2/empty/skeleton.jsx +51 -0
  790. package/apps/studio/client/v2/empty/spot-art.jsx +923 -0
  791. package/apps/studio/client/v2/empty/spot.jsx +96 -0
  792. package/apps/studio/client/v2/empty/suggestions.jsx +18 -0
  793. package/apps/studio/client/v2/empty/use-empty-canvas.js +251 -0
  794. package/apps/studio/client/v2/export/access-line.jsx +48 -0
  795. package/apps/studio/client/v2/export/advanced/advanced-copy.js +77 -0
  796. package/apps/studio/client/v2/export/advanced/advanced.css +252 -0
  797. package/apps/studio/client/v2/export/advanced/advanced.jsx +148 -0
  798. package/apps/studio/client/v2/export/advanced/command.js +128 -0
  799. package/apps/studio/client/v2/export/advanced/command.jsx +50 -0
  800. package/apps/studio/client/v2/export/advanced/fields.jsx +132 -0
  801. package/apps/studio/client/v2/export/advanced/image.jsx +124 -0
  802. package/apps/studio/client/v2/export/advanced/model.js +199 -0
  803. package/apps/studio/client/v2/export/advanced/names.jsx +65 -0
  804. package/apps/studio/client/v2/export/advanced/print.jsx +99 -0
  805. package/apps/studio/client/v2/export/advanced/render.jsx +63 -0
  806. package/apps/studio/client/v2/export/advanced/video.jsx +76 -0
  807. package/apps/studio/client/v2/export/annotations-policy.js +28 -0
  808. package/apps/studio/client/v2/export/cloud-queue.js +69 -0
  809. package/apps/studio/client/v2/export/copy-command.js +72 -0
  810. package/apps/studio/client/v2/export/copy-png.js +144 -0
  811. package/apps/studio/client/v2/export/done-toast.jsx +89 -0
  812. package/apps/studio/client/v2/export/edges.css +74 -0
  813. package/apps/studio/client/v2/export/export-copy.js +352 -0
  814. package/apps/studio/client/v2/export/export-sheet.jsx +804 -0
  815. package/apps/studio/client/v2/export/export-sizes.js +217 -0
  816. package/apps/studio/client/v2/export/export.css +832 -0
  817. package/apps/studio/client/v2/export/exports-model.js +383 -0
  818. package/apps/studio/client/v2/export/exports-panel.css +192 -0
  819. package/apps/studio/client/v2/export/exports-panel.jsx +164 -0
  820. package/apps/studio/client/v2/export/file-rows.jsx +84 -0
  821. package/apps/studio/client/v2/export/inspector-export.jsx +335 -0
  822. package/apps/studio/client/v2/export/job-row.jsx +358 -0
  823. package/apps/studio/client/v2/export/last-finished.js +34 -0
  824. package/apps/studio/client/v2/export/native-save.js +160 -0
  825. package/apps/studio/client/v2/export/other-formats.jsx +199 -0
  826. package/apps/studio/client/v2/export/parts.jsx +117 -0
  827. package/apps/studio/client/v2/export/preflight/fonts.js +27 -0
  828. package/apps/studio/client/v2/export/preflight/paper.jsx +177 -0
  829. package/apps/studio/client/v2/export/preflight/safe-margin.js +24 -0
  830. package/apps/studio/client/v2/export/preflight/use-preflight.js +74 -0
  831. package/apps/studio/client/v2/export/preview.jsx +79 -0
  832. package/apps/studio/client/v2/export/print.css +219 -0
  833. package/apps/studio/client/v2/export/run-export.js +177 -0
  834. package/apps/studio/client/v2/export/scope-bar.jsx +70 -0
  835. package/apps/studio/client/v2/export/sections/batch-model.js +224 -0
  836. package/apps/studio/client/v2/export/sections/batch.jsx +235 -0
  837. package/apps/studio/client/v2/export/sections/image.jsx +93 -0
  838. package/apps/studio/client/v2/export/sections/print-copy.js +41 -0
  839. package/apps/studio/client/v2/export/sections/print.jsx +285 -0
  840. package/apps/studio/client/v2/export/sections/render-row.jsx +81 -0
  841. package/apps/studio/client/v2/export/sections/version.jsx +176 -0
  842. package/apps/studio/client/v2/export/sections/video-copy.js +92 -0
  843. package/apps/studio/client/v2/export/sections/video-model.js +127 -0
  844. package/apps/studio/client/v2/export/sections/video.jsx +397 -0
  845. package/apps/studio/client/v2/export/sections/web.jsx +151 -0
  846. package/apps/studio/client/v2/export/share-hint.jsx +51 -0
  847. package/apps/studio/client/v2/export/use-export-spec.js +546 -0
  848. package/apps/studio/client/v2/export/video-content.js +75 -0
  849. package/apps/studio/client/v2/export/video.css +221 -0
  850. package/apps/studio/client/v2/fold/advanced-fold.jsx +96 -0
  851. package/apps/studio/client/v2/fold/fold-store.js +151 -0
  852. package/apps/studio/client/v2/fold/fold.css +59 -0
  853. package/apps/studio/client/v2/fold/use-fold.js +36 -0
  854. package/apps/studio/client/v2/handoff/edges.jsx +74 -0
  855. package/apps/studio/client/v2/handoff/handoff-sheet.jsx +469 -0
  856. package/apps/studio/client/v2/handoff/handoff.css +181 -0
  857. package/apps/studio/client/v2/handoff/ready-card.jsx +84 -0
  858. package/apps/studio/client/v2/handoff/targets.js +111 -0
  859. package/apps/studio/client/v2/help/add-guides.js +43 -0
  860. package/apps/studio/client/v2/help/help.css +995 -0
  861. package/apps/studio/client/v2/history/blame.js +161 -0
  862. package/apps/studio/client/v2/history/branch-actions.js +214 -0
  863. package/apps/studio/client/v2/history/change-list.jsx +102 -0
  864. package/apps/studio/client/v2/history/clear-band.js +144 -0
  865. package/apps/studio/client/v2/history/compare-store.js +80 -0
  866. package/apps/studio/client/v2/history/compare-view.jsx +318 -0
  867. package/apps/studio/client/v2/history/compare-words.js +8 -0
  868. package/apps/studio/client/v2/history/git-advanced.jsx +580 -0
  869. package/apps/studio/client/v2/history/git-io.js +58 -0
  870. package/apps/studio/client/v2/history/git-model.js +526 -0
  871. package/apps/studio/client/v2/history/git-parts.jsx +662 -0
  872. package/apps/studio/client/v2/history/history-host.jsx +78 -0
  873. package/apps/studio/client/v2/history/history-panel.jsx +599 -0
  874. package/apps/studio/client/v2/history/history.css +1477 -0
  875. package/apps/studio/client/v2/history/name-dialog.jsx +109 -0
  876. package/apps/studio/client/v2/history/object-filter.js +143 -0
  877. package/apps/studio/client/v2/history/object-history-ask.js +62 -0
  878. package/apps/studio/client/v2/history/object-view.jsx +236 -0
  879. package/apps/studio/client/v2/history/rows.ts +445 -0
  880. package/apps/studio/client/v2/history/use-versions.js +391 -0
  881. package/apps/studio/client/v2/history/view-bar.jsx +80 -0
  882. package/apps/studio/client/v2/import/brand-model.js +145 -0
  883. package/apps/studio/client/v2/import/brand-result.jsx +197 -0
  884. package/apps/studio/client/v2/import/brand-sheet.jsx +434 -0
  885. package/apps/studio/client/v2/import/brand.css +378 -0
  886. package/apps/studio/client/v2/import/figma-artboard.jsx +121 -0
  887. package/apps/studio/client/v2/import/figma-model.js +237 -0
  888. package/apps/studio/client/v2/import/figma-prefill.js +23 -0
  889. package/apps/studio/client/v2/import/figma-sheet.jsx +525 -0
  890. package/apps/studio/client/v2/import/figma-summary.jsx +62 -0
  891. package/apps/studio/client/v2/import/figma.css +179 -0
  892. package/apps/studio/client/v2/import/frame-picker.jsx +57 -0
  893. package/apps/studio/client/v2/inspect/inspect-host.jsx +53 -0
  894. package/apps/studio/client/v2/inspect/inspect-model.js +132 -0
  895. package/apps/studio/client/v2/inspect/inspect-panel.jsx +214 -0
  896. package/apps/studio/client/v2/inspect/inspect.css +87 -0
  897. package/apps/studio/client/v2/inspector/advanced-rows-default.jsx +773 -0
  898. package/apps/studio/client/v2/inspector/advanced-rows.js +106 -0
  899. package/apps/studio/client/v2/inspector/advanced.jsx +286 -0
  900. package/apps/studio/client/v2/inspector/blocks.js +57 -0
  901. package/apps/studio/client/v2/inspector/colour-groups.js +129 -0
  902. package/apps/studio/client/v2/inspector/component-picker.css +133 -0
  903. package/apps/studio/client/v2/inspector/component-picker.jsx +367 -0
  904. package/apps/studio/client/v2/inspector/crumbs.jsx +89 -0
  905. package/apps/studio/client/v2/inspector/css-text.js +179 -0
  906. package/apps/studio/client/v2/inspector/css-write.js +204 -0
  907. package/apps/studio/client/v2/inspector/element-code.js +39 -0
  908. package/apps/studio/client/v2/inspector/element-id.js +70 -0
  909. package/apps/studio/client/v2/inspector/formats-ui.js +101 -0
  910. package/apps/studio/client/v2/inspector/formats-write.js +60 -0
  911. package/apps/studio/client/v2/inspector/frame.jsx +336 -0
  912. package/apps/studio/client/v2/inspector/inspector-actions.js +60 -0
  913. package/apps/studio/client/v2/inspector/inspector.css +2872 -0
  914. package/apps/studio/client/v2/inspector/jsx-slice.js +219 -0
  915. package/apps/studio/client/v2/inspector/kinds/add-width.js +55 -0
  916. package/apps/studio/client/v2/inspector/kinds/artboard-advanced-rows.jsx +89 -0
  917. package/apps/studio/client/v2/inspector/kinds/artboard-advanced.jsx +62 -0
  918. package/apps/studio/client/v2/inspector/kinds/artboard-fixed.jsx +111 -0
  919. package/apps/studio/client/v2/inspector/kinds/artboard-kinds-model.js +171 -0
  920. package/apps/studio/client/v2/inspector/kinds/artboard-model.js +155 -0
  921. package/apps/studio/client/v2/inspector/kinds/artboard-multi.jsx +142 -0
  922. package/apps/studio/client/v2/inspector/kinds/artboard-print-advanced.jsx +210 -0
  923. package/apps/studio/client/v2/inspector/kinds/artboard-print-model.js +112 -0
  924. package/apps/studio/client/v2/inspector/kinds/artboard-print.jsx +268 -0
  925. package/apps/studio/client/v2/inspector/kinds/artboard-rows.jsx +124 -0
  926. package/apps/studio/client/v2/inspector/kinds/artboard-video.jsx +144 -0
  927. package/apps/studio/client/v2/inspector/kinds/artboard-web.jsx +170 -0
  928. package/apps/studio/client/v2/inspector/kinds/artboard.jsx +168 -0
  929. package/apps/studio/client/v2/inspector/kinds/caption.jsx +203 -0
  930. package/apps/studio/client/v2/inspector/kinds/clip-model.js +190 -0
  931. package/apps/studio/client/v2/inspector/kinds/clip.css +157 -0
  932. package/apps/studio/client/v2/inspector/kinds/clip.jsx +447 -0
  933. package/apps/studio/client/v2/inspector/kinds/frame.jsx +118 -0
  934. package/apps/studio/client/v2/inspector/kinds/image.jsx +267 -0
  935. package/apps/studio/client/v2/inspector/kinds/index.js +180 -0
  936. package/apps/studio/client/v2/inspector/kinds/instance.jsx +377 -0
  937. package/apps/studio/client/v2/inspector/kinds/multi-artboard.jsx +129 -0
  938. package/apps/studio/client/v2/inspector/kinds/multi.jsx +220 -0
  939. package/apps/studio/client/v2/inspector/kinds/music.jsx +294 -0
  940. package/apps/studio/client/v2/inspector/kinds/path.jsx +174 -0
  941. package/apps/studio/client/v2/inspector/kinds/shape.jsx +59 -0
  942. package/apps/studio/client/v2/inspector/kinds/text.jsx +518 -0
  943. package/apps/studio/client/v2/inspector/kinds/title-rows.jsx +135 -0
  944. package/apps/studio/client/v2/inspector/kinds/video-facts.js +142 -0
  945. package/apps/studio/client/v2/inspector/layers-row-tools.jsx +93 -0
  946. package/apps/studio/client/v2/inspector/layers-slot.jsx +93 -0
  947. package/apps/studio/client/v2/inspector/link-write.js +52 -0
  948. package/apps/studio/client/v2/inspector/live-size.js +96 -0
  949. package/apps/studio/client/v2/inspector/model.js +228 -0
  950. package/apps/studio/client/v2/inspector/path-point.js +104 -0
  951. package/apps/studio/client/v2/inspector/print-write.js +85 -0
  952. package/apps/studio/client/v2/inspector/safe-zones-write.js +88 -0
  953. package/apps/studio/client/v2/inspector/sections/add-requests.js +35 -0
  954. package/apps/studio/client/v2/inspector/sections/border.jsx +141 -0
  955. package/apps/studio/client/v2/inspector/sections/color-control.jsx +246 -0
  956. package/apps/studio/client/v2/inspector/sections/colour-custom.jsx +826 -0
  957. package/apps/studio/client/v2/inspector/sections/colour-model.js +404 -0
  958. package/apps/studio/client/v2/inspector/sections/colour-popover.jsx +631 -0
  959. package/apps/studio/client/v2/inspector/sections/colour-words.js +131 -0
  960. package/apps/studio/client/v2/inspector/sections/corners.jsx +177 -0
  961. package/apps/studio/client/v2/inspector/sections/effects.jsx +67 -0
  962. package/apps/studio/client/v2/inspector/sections/export-slot.jsx +60 -0
  963. package/apps/studio/client/v2/inspector/sections/fill.jsx +187 -0
  964. package/apps/studio/client/v2/inspector/sections/formats.jsx +209 -0
  965. package/apps/studio/client/v2/inspector/sections/index.js +74 -0
  966. package/apps/studio/client/v2/inspector/sections/interaction.jsx +204 -0
  967. package/apps/studio/client/v2/inspector/sections/layout.jsx +314 -0
  968. package/apps/studio/client/v2/inspector/sections/opacity-row.jsx +37 -0
  969. package/apps/studio/client/v2/inspector/sections/point.jsx +102 -0
  970. package/apps/studio/client/v2/inspector/sections/position.jsx +259 -0
  971. package/apps/studio/client/v2/inspector/sections/recent-colours.js +106 -0
  972. package/apps/studio/client/v2/inspector/sections/row.jsx +91 -0
  973. package/apps/studio/client/v2/inspector/sections/safe-zones.jsx +174 -0
  974. package/apps/studio/client/v2/inspector/sections/sections.css +1474 -0
  975. package/apps/studio/client/v2/inspector/sections/size.jsx +104 -0
  976. package/apps/studio/client/v2/inspector/sections/type.jsx +168 -0
  977. package/apps/studio/client/v2/inspector/sections/warnings.css +44 -0
  978. package/apps/studio/client/v2/inspector/sections/warnings.jsx +137 -0
  979. package/apps/studio/client/v2/inspector/sections.js +226 -0
  980. package/apps/studio/client/v2/inspector/slots.js +110 -0
  981. package/apps/studio/client/v2/inspector/token-chip.jsx +315 -0
  982. package/apps/studio/client/v2/inspector/view-mode.jsx +193 -0
  983. package/apps/studio/client/v2/inspector/warning-fix.js +111 -0
  984. package/apps/studio/client/v2/kinds/ConvertDialog.jsx +183 -0
  985. package/apps/studio/client/v2/kinds/KindChips.jsx +60 -0
  986. package/apps/studio/client/v2/kinds/KindDimHost.jsx +35 -0
  987. package/apps/studio/client/v2/kinds/LayersKindFilter.jsx +108 -0
  988. package/apps/studio/client/v2/kinds/SizePicker.jsx +566 -0
  989. package/apps/studio/client/v2/kinds/SizePickerHost.jsx +104 -0
  990. package/apps/studio/client/v2/kinds/advanced-rows.js +40 -0
  991. package/apps/studio/client/v2/kinds/convert-api.js +116 -0
  992. package/apps/studio/client/v2/kinds/convert.css +87 -0
  993. package/apps/studio/client/v2/kinds/kind-dim-relay.js +93 -0
  994. package/apps/studio/client/v2/kinds/kind-filter-model.js +106 -0
  995. package/apps/studio/client/v2/kinds/kind-filter-store.js +71 -0
  996. package/apps/studio/client/v2/kinds/kind-filter.css +105 -0
  997. package/apps/studio/client/v2/kinds/layers-kind-model.js +99 -0
  998. package/apps/studio/client/v2/kinds/size-picker-model.js +189 -0
  999. package/apps/studio/client/v2/kinds/size-picker.css +393 -0
  1000. package/apps/studio/client/v2/layers/artboard-layers.jsx +105 -0
  1001. package/apps/studio/client/v2/layers/layers.css +94 -0
  1002. package/apps/studio/client/v2/left-panel/advanced-model.js +98 -0
  1003. package/apps/studio/client/v2/left-panel/assets-panel.jsx +1203 -0
  1004. package/apps/studio/client/v2/left-panel/canvas-file-menu.js +115 -0
  1005. package/apps/studio/client/v2/left-panel/canvases-advanced.jsx +270 -0
  1006. package/apps/studio/client/v2/left-panel/canvases-pinned.jsx +274 -0
  1007. package/apps/studio/client/v2/left-panel/layers-advanced.jsx +179 -0
  1008. package/apps/studio/client/v2/left-panel/left-panel-bus.js +83 -0
  1009. package/apps/studio/client/v2/left-panel/left-panel-model.js +184 -0
  1010. package/apps/studio/client/v2/left-panel/left-panel.css +1846 -0
  1011. package/apps/studio/client/v2/left-panel/selector-scope.js +42 -0
  1012. package/apps/studio/client/v2/left-panel/trash-model.js +282 -0
  1013. package/apps/studio/client/v2/left-panel/trash-view.jsx +257 -0
  1014. package/apps/studio/client/v2/left-panel/use-trash.js +172 -0
  1015. package/apps/studio/client/v2/left-panel/view-prefs.js +84 -0
  1016. package/apps/studio/client/v2/onboarding/AdvSheet.jsx +114 -0
  1017. package/apps/studio/client/v2/onboarding/AdvancedSheets.jsx +239 -0
  1018. package/apps/studio/client/v2/onboarding/CliSheet.jsx +101 -0
  1019. package/apps/studio/client/v2/onboarding/ConnectAiSheet.jsx +60 -0
  1020. package/apps/studio/client/v2/onboarding/FigmaSheet.jsx +96 -0
  1021. package/apps/studio/client/v2/onboarding/FolderGithubSheet.jsx +77 -0
  1022. package/apps/studio/client/v2/onboarding/GithubSegment.jsx +241 -0
  1023. package/apps/studio/client/v2/onboarding/HubSheet.jsx +244 -0
  1024. package/apps/studio/client/v2/onboarding/connect-ai-home.js +94 -0
  1025. package/apps/studio/client/v2/onboarding/github-home.js +84 -0
  1026. package/apps/studio/client/v2/onboarding/onboarding-model.js +106 -0
  1027. package/apps/studio/client/v2/onboarding/onboarding.css +546 -0
  1028. package/apps/studio/client/v2/photo/apply-every-use-sheet.jsx +196 -0
  1029. package/apps/studio/client/v2/photo/canvas-rel.js +20 -0
  1030. package/apps/studio/client/v2/photo/looks.js +129 -0
  1031. package/apps/studio/client/v2/photo/photo-section.jsx +625 -0
  1032. package/apps/studio/client/v2/photo/photo.css +218 -0
  1033. package/apps/studio/client/v2/portal-scope.jsx +14 -0
  1034. package/apps/studio/client/v2/presence/faces.jsx +356 -0
  1035. package/apps/studio/client/v2/presence/presence.css +187 -0
  1036. package/apps/studio/client/v2/presence/use-presence-host.js +83 -0
  1037. package/apps/studio/client/v2/present/audience-window.js +63 -0
  1038. package/apps/studio/client/v2/present/canvas-pill.jsx +55 -0
  1039. package/apps/studio/client/v2/present/copy-link.js +82 -0
  1040. package/apps/studio/client/v2/present/follow-location.js +82 -0
  1041. package/apps/studio/client/v2/present/follow-model.js +68 -0
  1042. package/apps/studio/client/v2/present/follow-view.jsx +354 -0
  1043. package/apps/studio/client/v2/present/follow.css +91 -0
  1044. package/apps/studio/client/v2/present/order-map.jsx +64 -0
  1045. package/apps/studio/client/v2/present/order-notes-artboards.js +88 -0
  1046. package/apps/studio/client/v2/present/order-notes-model.js +141 -0
  1047. package/apps/studio/client/v2/present/order-notes-mount.jsx +26 -0
  1048. package/apps/studio/client/v2/present/order-notes-sheet.jsx +293 -0
  1049. package/apps/studio/client/v2/present/order-notes.css +150 -0
  1050. package/apps/studio/client/v2/present/present-chrome-host.jsx +95 -0
  1051. package/apps/studio/client/v2/present/present-controls-model.js +114 -0
  1052. package/apps/studio/client/v2/present/present-controls.jsx +263 -0
  1053. package/apps/studio/client/v2/present/present-zoom-store.js +33 -0
  1054. package/apps/studio/client/v2/present/present.css +258 -0
  1055. package/apps/studio/client/v2/present/presenter-button.jsx +25 -0
  1056. package/apps/studio/client/v2/present/presenter-host.jsx +246 -0
  1057. package/apps/studio/client/v2/present/presenter-model.js +167 -0
  1058. package/apps/studio/client/v2/present/presenter-store.js +140 -0
  1059. package/apps/studio/client/v2/present/presenter-view.css +298 -0
  1060. package/apps/studio/client/v2/present/presenter-view.jsx +241 -0
  1061. package/apps/studio/client/v2/present/video-present-model.js +92 -0
  1062. package/apps/studio/client/v2/present/video-present.css +164 -0
  1063. package/apps/studio/client/v2/present/video-present.jsx +331 -0
  1064. package/apps/studio/client/v2/preview/external-link-confirm.jsx +245 -0
  1065. package/apps/studio/client/v2/preview/link-follow.js +109 -0
  1066. package/apps/studio/client/v2/preview/open-in-app.jsx +46 -0
  1067. package/apps/studio/client/v2/preview/preview-back.js +21 -0
  1068. package/apps/studio/client/v2/preview/preview-bar.jsx +86 -0
  1069. package/apps/studio/client/v2/preview/preview-chrome-host.jsx +234 -0
  1070. package/apps/studio/client/v2/preview/preview-history.js +61 -0
  1071. package/apps/studio/client/v2/preview/preview.css +262 -0
  1072. package/apps/studio/client/v2/preview/zoom-only.jsx +58 -0
  1073. package/apps/studio/client/v2/search/help-model.js +275 -0
  1074. package/apps/studio/client/v2/search/moved-keys.js +74 -0
  1075. package/apps/studio/client/v2/search/palette-icons.js +45 -0
  1076. package/apps/studio/client/v2/search/search-ds.js +142 -0
  1077. package/apps/studio/client/v2/search/search-env.js +110 -0
  1078. package/apps/studio/client/v2/search/search-keywords.js +162 -0
  1079. package/apps/studio/client/v2/search/search-model.js +623 -0
  1080. package/apps/studio/client/v2/search/search-projects.js +214 -0
  1081. package/apps/studio/client/v2/search/search-recent.js +94 -0
  1082. package/apps/studio/client/v2/search/search-remote.js +30 -0
  1083. package/apps/studio/client/v2/search/search.css +519 -0
  1084. package/apps/studio/client/v2/settings/account.jsx +164 -0
  1085. package/apps/studio/client/v2/settings/advanced-prefs.js +91 -0
  1086. package/apps/studio/client/v2/settings/advanced-section.jsx +308 -0
  1087. package/apps/studio/client/v2/settings/connection-row.jsx +79 -0
  1088. package/apps/studio/client/v2/settings/connections-model.js +138 -0
  1089. package/apps/studio/client/v2/settings/connections-section.jsx +663 -0
  1090. package/apps/studio/client/v2/settings/general-section.jsx +155 -0
  1091. package/apps/studio/client/v2/settings/parts.jsx +48 -0
  1092. package/apps/studio/client/v2/settings/prefs-migrate.js +141 -0
  1093. package/apps/studio/client/v2/settings/project-sync-settings.jsx +255 -0
  1094. package/apps/studio/client/v2/settings/reset-section.jsx +164 -0
  1095. package/apps/studio/client/v2/settings/settings-handlers.js +46 -0
  1096. package/apps/studio/client/v2/settings/settings-model.js +523 -0
  1097. package/apps/studio/client/v2/settings/settings-sheet.jsx +204 -0
  1098. package/apps/studio/client/v2/settings/settings.css +975 -0
  1099. package/apps/studio/client/v2/settings/theme-auto.js +75 -0
  1100. package/apps/studio/client/v2/settings/use-advanced-prefs.js +32 -0
  1101. package/apps/studio/client/v2/settings/use-connections.js +485 -0
  1102. package/apps/studio/client/v2/share/glyphs.jsx +92 -0
  1103. package/apps/studio/client/v2/share/invite-row.jsx +68 -0
  1104. package/apps/studio/client/v2/share/link-dialog.js +53 -0
  1105. package/apps/studio/client/v2/share/link-row.jsx +38 -0
  1106. package/apps/studio/client/v2/share/move-to-cloud.jsx +88 -0
  1107. package/apps/studio/client/v2/share/people-list.jsx +151 -0
  1108. package/apps/studio/client/v2/share/person.jsx +26 -0
  1109. package/apps/studio/client/v2/share/role-menu.jsx +145 -0
  1110. package/apps/studio/client/v2/share/share-advanced.jsx +411 -0
  1111. package/apps/studio/client/v2/share/share-model.js +469 -0
  1112. package/apps/studio/client/v2/share/share-sheet.jsx +602 -0
  1113. package/apps/studio/client/v2/share/share.css +828 -0
  1114. package/apps/studio/client/v2/shell/account-card-model.js +114 -0
  1115. package/apps/studio/client/v2/shell/account-card.jsx +177 -0
  1116. package/apps/studio/client/v2/shell/annotation-prefs-store.js +105 -0
  1117. package/apps/studio/client/v2/shell/ask-to-edit.js +33 -0
  1118. package/apps/studio/client/v2/shell/callouts-host.jsx +151 -0
  1119. package/apps/studio/client/v2/shell/callouts-model.js +358 -0
  1120. package/apps/studio/client/v2/shell/callouts.css +164 -0
  1121. package/apps/studio/client/v2/shell/callouts.jsx +162 -0
  1122. package/apps/studio/client/v2/shell/canvas-mode.js +393 -0
  1123. package/apps/studio/client/v2/shell/contrast.css +37 -0
  1124. package/apps/studio/client/v2/shell/corner-icons.jsx +153 -0
  1125. package/apps/studio/client/v2/shell/dock-rail-homes.js +106 -0
  1126. package/apps/studio/client/v2/shell/f6-cycle.js +124 -0
  1127. package/apps/studio/client/v2/shell/floating-panels.css +2858 -0
  1128. package/apps/studio/client/v2/shell/fold-ghost.js +70 -0
  1129. package/apps/studio/client/v2/shell/format-update.css +43 -0
  1130. package/apps/studio/client/v2/shell/format-update.js +487 -0
  1131. package/apps/studio/client/v2/shell/format-update.jsx +479 -0
  1132. package/apps/studio/client/v2/shell/held-conflict.js +51 -0
  1133. package/apps/studio/client/v2/shell/image-pick.js +140 -0
  1134. package/apps/studio/client/v2/shell/insets-now.js +35 -0
  1135. package/apps/studio/client/v2/shell/inspector-follow.js +113 -0
  1136. package/apps/studio/client/v2/shell/menu-runner.js +711 -0
  1137. package/apps/studio/client/v2/shell/modal-focus.js +259 -0
  1138. package/apps/studio/client/v2/shell/mode-switch.jsx +418 -0
  1139. package/apps/studio/client/v2/shell/native-doors.js +121 -0
  1140. package/apps/studio/client/v2/shell/occlusion-insets.js +116 -0
  1141. package/apps/studio/client/v2/shell/panel-availability.js +27 -0
  1142. package/apps/studio/client/v2/shell/panel-layout.js +144 -0
  1143. package/apps/studio/client/v2/shell/panel-sizes.js +150 -0
  1144. package/apps/studio/client/v2/shell/paste-forward.js +43 -0
  1145. package/apps/studio/client/v2/shell/present-from-label.js +19 -0
  1146. package/apps/studio/client/v2/shell/project-menu-model.js +216 -0
  1147. package/apps/studio/client/v2/shell/project-pill.css +214 -0
  1148. package/apps/studio/client/v2/shell/project-pill.jsx +456 -0
  1149. package/apps/studio/client/v2/shell/recovery-store.js +139 -0
  1150. package/apps/studio/client/v2/shell/role-denial.js +73 -0
  1151. package/apps/studio/client/v2/shell/role-gate.js +29 -0
  1152. package/apps/studio/client/v2/shell/save-hold-notice.js +69 -0
  1153. package/apps/studio/client/v2/shell/save-status.js +191 -0
  1154. package/apps/studio/client/v2/shell/scroll-lock.js +49 -0
  1155. package/apps/studio/client/v2/shell/share-cluster-host.jsx +389 -0
  1156. package/apps/studio/client/v2/shell/share-cluster.css +608 -0
  1157. package/apps/studio/client/v2/shell/share-cluster.jsx +255 -0
  1158. package/apps/studio/client/v2/shell/shell-error-boundary.jsx +81 -0
  1159. package/apps/studio/client/v2/shell/shell-panels-relay.js +95 -0
  1160. package/apps/studio/client/v2/shell/shell-parity.js +457 -0
  1161. package/apps/studio/client/v2/shell/shell-parity.json +2106 -0
  1162. package/apps/studio/client/v2/shell/single-keys-store.js +49 -0
  1163. package/apps/studio/client/v2/shell/tool-panels.css +39 -0
  1164. package/apps/studio/client/v2/shell/tool-panels.js +156 -0
  1165. package/apps/studio/client/v2/shell/use-account.js +59 -0
  1166. package/apps/studio/client/v2/shell/use-annotation-prefs.js +77 -0
  1167. package/apps/studio/client/v2/shell/use-canvas-mode-lane.js +388 -0
  1168. package/apps/studio/client/v2/shell/use-dismiss-outside.js +35 -0
  1169. package/apps/studio/client/v2/shell/use-fit-on-ai-pin.js +42 -0
  1170. package/apps/studio/client/v2/shell/use-fit-while-ai-drafts.js +37 -0
  1171. package/apps/studio/client/v2/shell/use-occluded-insets.js +107 -0
  1172. package/apps/studio/client/v2/shell/use-panel-layout.js +45 -0
  1173. package/apps/studio/client/v2/shell/use-single-keys.js +56 -0
  1174. package/apps/studio/client/v2/shell/use-tool-panels.js +205 -0
  1175. package/apps/studio/client/v2/signin/CreateLocalSheet.jsx +155 -0
  1176. package/apps/studio/client/v2/signin/SignInCard.jsx +284 -0
  1177. package/apps/studio/client/v2/signin/SignInToast.jsx +22 -0
  1178. package/apps/studio/client/v2/signin/WhatsNewLine.jsx +64 -0
  1179. package/apps/studio/client/v2/signin/advanced-rows.js +40 -0
  1180. package/apps/studio/client/v2/signin/signin-model.js +138 -0
  1181. package/apps/studio/client/v2/signin/signin.css +484 -0
  1182. package/apps/studio/client/v2/signin/use-signin.js +209 -0
  1183. package/apps/studio/client/v2/signin/use-whats-new-line.js +94 -0
  1184. package/apps/studio/client/v2/sync-states/back-online.jsx +61 -0
  1185. package/apps/studio/client/v2/sync-states/conflict-card.jsx +326 -0
  1186. package/apps/studio/client/v2/sync-states/offline-foot.jsx +79 -0
  1187. package/apps/studio/client/v2/sync-states/row-words.js +83 -0
  1188. package/apps/studio/client/v2/sync-states/sync-states-model.js +264 -0
  1189. package/apps/studio/client/v2/sync-states/sync-states.css +232 -0
  1190. package/apps/studio/client/v2/timeline/Timeline.jsx +3194 -0
  1191. package/apps/studio/client/v2/timeline/TimelineHost.jsx +360 -0
  1192. package/apps/studio/client/v2/timeline/advanced/actions.js +27 -0
  1193. package/apps/studio/client/v2/timeline/advanced/advanced-store.js +116 -0
  1194. package/apps/studio/client/v2/timeline/advanced/advanced.css +323 -0
  1195. package/apps/studio/client/v2/timeline/advanced/cut-as-code.jsx +127 -0
  1196. package/apps/studio/client/v2/timeline/advanced/easing-curve.jsx +200 -0
  1197. package/apps/studio/client/v2/timeline/advanced/foot.jsx +210 -0
  1198. package/apps/studio/client/v2/timeline/advanced/model.js +121 -0
  1199. package/apps/studio/client/v2/timeline/advanced/render-settings.jsx +62 -0
  1200. package/apps/studio/client/v2/timeline/advanced/video-cap.js +174 -0
  1201. package/apps/studio/client/v2/timeline/ai-edge-model.js +111 -0
  1202. package/apps/studio/client/v2/timeline/ai-edge.css +104 -0
  1203. package/apps/studio/client/v2/timeline/ai-edge.jsx +113 -0
  1204. package/apps/studio/client/v2/timeline/anchor-lane.js +80 -0
  1205. package/apps/studio/client/v2/timeline/anchor.js +80 -0
  1206. package/apps/studio/client/v2/timeline/assemble-video.js +64 -0
  1207. package/apps/studio/client/v2/timeline/clip-search.js +88 -0
  1208. package/apps/studio/client/v2/timeline/clip-verb.js +224 -0
  1209. package/apps/studio/client/v2/timeline/comment-strip-host.jsx +93 -0
  1210. package/apps/studio/client/v2/timeline/comment-strip-model.js +103 -0
  1211. package/apps/studio/client/v2/timeline/comment-strip.jsx +82 -0
  1212. package/apps/studio/client/v2/timeline/edit/clip-menu.js +118 -0
  1213. package/apps/studio/client/v2/timeline/edit/clip-menu.jsx +48 -0
  1214. package/apps/studio/client/v2/timeline/edit/drop.jsx +101 -0
  1215. package/apps/studio/client/v2/timeline/edit/move.jsx +43 -0
  1216. package/apps/studio/client/v2/timeline/edit/ripple.js +43 -0
  1217. package/apps/studio/client/v2/timeline/edit/trim.jsx +52 -0
  1218. package/apps/studio/client/v2/timeline/edit/words.js +65 -0
  1219. package/apps/studio/client/v2/timeline/fit-fill.jsx +172 -0
  1220. package/apps/studio/client/v2/timeline/fit-model.js +137 -0
  1221. package/apps/studio/client/v2/timeline/fold.js +128 -0
  1222. package/apps/studio/client/v2/timeline/footage-rows.jsx +46 -0
  1223. package/apps/studio/client/v2/timeline/footage-state.js +135 -0
  1224. package/apps/studio/client/v2/timeline/glyphs.jsx +118 -0
  1225. package/apps/studio/client/v2/timeline/island-context.js +29 -0
  1226. package/apps/studio/client/v2/timeline/island-controls.jsx +83 -0
  1227. package/apps/studio/client/v2/timeline/island.jsx +54 -0
  1228. package/apps/studio/client/v2/timeline/joins/join-model.js +133 -0
  1229. package/apps/studio/client/v2/timeline/joins/joins.css +277 -0
  1230. package/apps/studio/client/v2/timeline/joins/transition-picker.jsx +240 -0
  1231. package/apps/studio/client/v2/timeline/keys.js +74 -0
  1232. package/apps/studio/client/v2/timeline/lanes/caption-lane.jsx +149 -0
  1233. package/apps/studio/client/v2/timeline/lanes/music-lane.jsx +294 -0
  1234. package/apps/studio/client/v2/timeline/lanes/music-media.js +200 -0
  1235. package/apps/studio/client/v2/timeline/lanes/music-model.js +190 -0
  1236. package/apps/studio/client/v2/timeline/loop-handle.jsx +70 -0
  1237. package/apps/studio/client/v2/timeline/marker-store.js +117 -0
  1238. package/apps/studio/client/v2/timeline/markers.js +79 -0
  1239. package/apps/studio/client/v2/timeline/marks.jsx +152 -0
  1240. package/apps/studio/client/v2/timeline/music-hint.jsx +98 -0
  1241. package/apps/studio/client/v2/timeline/other-takes-model.js +103 -0
  1242. package/apps/studio/client/v2/timeline/other-takes-store.js +49 -0
  1243. package/apps/studio/client/v2/timeline/other-takes.css +98 -0
  1244. package/apps/studio/client/v2/timeline/other-takes.jsx +269 -0
  1245. package/apps/studio/client/v2/timeline/peers.jsx +246 -0
  1246. package/apps/studio/client/v2/timeline/playhead.js +97 -0
  1247. package/apps/studio/client/v2/timeline/poster.js +109 -0
  1248. package/apps/studio/client/v2/timeline/reframe-island.jsx +478 -0
  1249. package/apps/studio/client/v2/timeline/reframe-model.js +135 -0
  1250. package/apps/studio/client/v2/timeline/reframe.css +150 -0
  1251. package/apps/studio/client/v2/timeline/ruler.js +61 -0
  1252. package/apps/studio/client/v2/timeline/selection.js +110 -0
  1253. package/apps/studio/client/v2/timeline/timeline-empty.jsx +108 -0
  1254. package/apps/studio/client/v2/timeline/timeline-store.js +147 -0
  1255. package/apps/studio/client/v2/timeline/timeline.css +2879 -0
  1256. package/apps/studio/client/v2/timeline/together.css +85 -0
  1257. package/apps/studio/client/v2/timeline/track-toggle.js +56 -0
  1258. package/apps/studio/client/v2/timeline/tracks.js +68 -0
  1259. package/apps/studio/client/v2/timeline/transport.js +66 -0
  1260. package/apps/studio/client/v2/timeline/zoom.js +37 -0
  1261. package/apps/studio/client/v2/transcript/TranscriptHost.jsx +162 -0
  1262. package/apps/studio/client/v2/transcript/TranscriptPanel.jsx +358 -0
  1263. package/apps/studio/client/v2/transcript/captions-api.js +297 -0
  1264. package/apps/studio/client/v2/transcript/captions-file-flag.js +38 -0
  1265. package/apps/studio/client/v2/transcript/comp-media-store.js +89 -0
  1266. package/apps/studio/client/v2/transcript/transcript-model.js +240 -0
  1267. package/apps/studio/client/v2/transcript/transcript.css +262 -0
  1268. package/apps/studio/client/v2/undo/projection.js +291 -0
  1269. package/apps/studio/client/v2/undo/undo-history.jsx +286 -0
  1270. package/apps/studio/client/v2/undo/undo.css +81 -0
  1271. package/apps/studio/client/v2/undo/use-undo-mode-lane.js +96 -0
  1272. package/apps/studio/client/v2/undo/use-undo-projection.jsx +460 -0
  1273. package/apps/studio/client/v2/undo/zoom-undo.jsx +79 -0
  1274. package/apps/studio/client/whats-new-seen.js +40 -0
  1275. package/apps/studio/client/whats-new.jsx +65 -62
  1276. package/apps/studio/clip-ops.ts +38 -6
  1277. package/apps/studio/cloud/config-path.ts +42 -0
  1278. package/apps/studio/cloud/endpoints.ts +212 -50
  1279. package/apps/studio/cloud/renew.ts +29 -16
  1280. package/apps/studio/collab/ai-activity.ts +19 -0
  1281. package/apps/studio/collab/awareness-bridge.ts +131 -4
  1282. package/apps/studio/collab/git-lifecycle.ts +52 -20
  1283. package/apps/studio/collab/holds.ts +69 -0
  1284. package/apps/studio/collab/index.ts +25 -0
  1285. package/apps/studio/collab/protocol.ts +64 -0
  1286. package/apps/studio/collab/registry.ts +59 -6
  1287. package/apps/studio/collab/room.ts +374 -16
  1288. package/apps/studio/collab/timeline-awareness.ts +123 -0
  1289. package/apps/studio/collab/timeline-presence.tsx +219 -0
  1290. package/apps/studio/commands/move-artboards-command.ts +45 -4
  1291. package/apps/studio/comments/anchors.ts +147 -0
  1292. package/apps/studio/comments/author-face.ts +41 -0
  1293. package/apps/studio/comments/from-line.ts +43 -0
  1294. package/apps/studio/comments/imported-from.ts +113 -0
  1295. package/apps/studio/comments/local-author.ts +41 -0
  1296. package/apps/studio/comments/mentions.ts +115 -0
  1297. package/apps/studio/comments/mine-stamp.ts +78 -0
  1298. package/apps/studio/comments/ops.ts +293 -0
  1299. package/apps/studio/comments/people.ts +66 -0
  1300. package/apps/studio/comments/where.ts +136 -0
  1301. package/apps/studio/comments-overlay.tsx +1220 -253
  1302. package/apps/studio/config.schema.json +33 -0
  1303. package/apps/studio/context-menu.tsx +126 -42
  1304. package/apps/studio/context.ts +178 -13
  1305. package/apps/studio/cursors-overlay.tsx +28 -11
  1306. package/apps/studio/debug-bundle.ts +21 -5
  1307. package/apps/studio/describe/batch.ts +414 -0
  1308. package/apps/studio/describe/budget.ts +147 -0
  1309. package/apps/studio/describe/claude.ts +273 -0
  1310. package/apps/studio/describe/consent.ts +120 -0
  1311. package/apps/studio/describe/validate.ts +192 -0
  1312. package/apps/studio/design-setup-readiness.ts +2 -2
  1313. package/apps/studio/diagnostics/store.ts +220 -0
  1314. package/apps/studio/dist/client.bundle.js +2429 -2329
  1315. package/apps/studio/dist/comment-mount.js +12 -9
  1316. package/apps/studio/dist/styles.css +1 -1
  1317. package/apps/studio/dom-selection.ts +239 -23
  1318. package/apps/studio/drag-bus.ts +211 -0
  1319. package/apps/studio/draw/serialize-animate.ts +4 -4
  1320. package/apps/studio/ds/board/board-specimen.css +199 -0
  1321. package/apps/studio/ds/board/board.css +674 -0
  1322. package/apps/studio/ds/board/brand-notes.ts +92 -0
  1323. package/apps/studio/ds/board/build-model.ts +418 -0
  1324. package/apps/studio/ds/board/component-states.ts +111 -0
  1325. package/apps/studio/ds/board/directions-model.ts +145 -0
  1326. package/apps/studio/ds/board/directions.css +169 -0
  1327. package/apps/studio/ds/board/directions.tsx +100 -0
  1328. package/apps/studio/ds/board/ds-bar.tsx +107 -0
  1329. package/apps/studio/ds/board/index.tsx +71 -0
  1330. package/apps/studio/ds/board/logo-paint.ts +118 -0
  1331. package/apps/studio/ds/board/outline.tsx +127 -0
  1332. package/apps/studio/ds/board/parts.tsx +160 -0
  1333. package/apps/studio/ds/board/section-brand.tsx +148 -0
  1334. package/apps/studio/ds/board/section-colour.tsx +160 -0
  1335. package/apps/studio/ds/board/section-components.tsx +146 -0
  1336. package/apps/studio/ds/board/section-motion.tsx +106 -0
  1337. package/apps/studio/ds/board/section-patterns.tsx +89 -0
  1338. package/apps/studio/ds/board/section-space.tsx +109 -0
  1339. package/apps/studio/ds/board/section-type.tsx +129 -0
  1340. package/apps/studio/ds/board/specimen.tsx +61 -0
  1341. package/apps/studio/ds/board/state.ts +105 -0
  1342. package/apps/studio/ds/board/template.ts +152 -0
  1343. package/apps/studio/ds/board/types.ts +346 -0
  1344. package/apps/studio/ds/canvas-check.ts +914 -0
  1345. package/apps/studio/ds/canvas-cli.ts +346 -0
  1346. package/apps/studio/ds/check-system-verb.ts +88 -0
  1347. package/apps/studio/ds/check-system.ts +293 -0
  1348. package/apps/studio/ds/check.ts +541 -0
  1349. package/apps/studio/ds/cli.ts +348 -0
  1350. package/apps/studio/ds/component-list.ts +150 -0
  1351. package/apps/studio/ds/contrast.ts +438 -0
  1352. package/apps/studio/ds/convert-map.ts +126 -0
  1353. package/apps/studio/ds/convert.ts +603 -0
  1354. package/apps/studio/ds/css-scan.ts +292 -0
  1355. package/apps/studio/ds/default-components.tsx +377 -0
  1356. package/apps/studio/ds/default.ts +58 -0
  1357. package/apps/studio/ds/design-system.tsx.tpl +40 -0
  1358. package/apps/studio/ds/ds-resolver.ts +205 -0
  1359. package/apps/studio/ds/ds-verb.ts +563 -0
  1360. package/apps/studio/ds/edges.ts +412 -0
  1361. package/apps/studio/ds/emit.ts +217 -0
  1362. package/apps/studio/ds/engine.ts +1652 -0
  1363. package/apps/studio/ds/fallbacks.ts +116 -0
  1364. package/apps/studio/ds/generate.ts +746 -0
  1365. package/apps/studio/ds/head.ts +372 -0
  1366. package/apps/studio/ds/instance-info.ts +90 -0
  1367. package/apps/studio/ds/library.ts +1137 -0
  1368. package/apps/studio/ds/make.ts +726 -0
  1369. package/apps/studio/ds/migrate-emitter.ts +42 -0
  1370. package/apps/studio/ds/nearest.ts +163 -0
  1371. package/apps/studio/ds/outside.ts +343 -0
  1372. package/apps/studio/ds/override-map.ts +213 -0
  1373. package/apps/studio/ds/pairing-css.ts +145 -0
  1374. package/apps/studio/ds/pin-scope.ts +268 -0
  1375. package/apps/studio/ds/registry.ts +228 -0
  1376. package/apps/studio/ds/rename.ts +104 -0
  1377. package/apps/studio/ds/render-rev.ts +144 -0
  1378. package/apps/studio/ds/revision.ts +268 -0
  1379. package/apps/studio/ds/shell-fallbacks.ts +84 -0
  1380. package/apps/studio/ds/switch.ts +426 -0
  1381. package/apps/studio/ds/system-files.ts +251 -0
  1382. package/apps/studio/ds/system.ts +312 -0
  1383. package/apps/studio/ds/undo-hook.ts +46 -0
  1384. package/apps/studio/ds/upgrade-apply.ts +258 -0
  1385. package/apps/studio/ds/upgrade-cli.ts +216 -0
  1386. package/apps/studio/ds/upgrade-codemod.ts +116 -0
  1387. package/apps/studio/ds/upgrade-progress.ts +153 -0
  1388. package/apps/studio/ds/upgrade-prove.ts +429 -0
  1389. package/apps/studio/ds/upgrade-stage.ts +387 -0
  1390. package/apps/studio/ds/upgrade.ts +394 -0
  1391. package/apps/studio/ds/value-types.ts +190 -0
  1392. package/apps/studio/edit-ops/align.ts +43 -0
  1393. package/apps/studio/edit-ops/arrange.ts +93 -0
  1394. package/apps/studio/edit-ops/artboard-facts.ts +70 -0
  1395. package/apps/studio/edit-ops/artboard-resize.ts +50 -0
  1396. package/apps/studio/edit-ops/artboard-trash.ts +77 -0
  1397. package/apps/studio/edit-ops/clear-link.ts +16 -0
  1398. package/apps/studio/edit-ops/clip/captions.ts +154 -0
  1399. package/apps/studio/edit-ops/clip/comp.ts +124 -0
  1400. package/apps/studio/edit-ops/clip/cut-source-range.ts +100 -0
  1401. package/apps/studio/edit-ops/clip/cut-to-beat.ts +136 -0
  1402. package/apps/studio/edit-ops/clip/duck.ts +123 -0
  1403. package/apps/studio/edit-ops/clip/easing.ts +76 -0
  1404. package/apps/studio/edit-ops/clip/formats.ts +163 -0
  1405. package/apps/studio/edit-ops/clip/gestures.ts +161 -0
  1406. package/apps/studio/edit-ops/clip/index.ts +543 -0
  1407. package/apps/studio/edit-ops/clip/jsx.ts +251 -0
  1408. package/apps/studio/edit-ops/clip/place.ts +127 -0
  1409. package/apps/studio/edit-ops/clip/reframe.ts +194 -0
  1410. package/apps/studio/edit-ops/clip/take-swap.ts +53 -0
  1411. package/apps/studio/edit-ops/clip/title-motion.ts +103 -0
  1412. package/apps/studio/edit-ops/clip/title-style.ts +177 -0
  1413. package/apps/studio/edit-ops/clip/track.ts +102 -0
  1414. package/apps/studio/edit-ops/clipboard.ts +482 -0
  1415. package/apps/studio/edit-ops/combine.ts +264 -0
  1416. package/apps/studio/edit-ops/constraints.ts +148 -0
  1417. package/apps/studio/edit-ops/convert-kind.ts +203 -0
  1418. package/apps/studio/edit-ops/corner-radius.ts +86 -0
  1419. package/apps/studio/edit-ops/crop.ts +303 -0
  1420. package/apps/studio/edit-ops/czech-ties.ts +84 -0
  1421. package/apps/studio/edit-ops/detach-instance.ts +119 -0
  1422. package/apps/studio/edit-ops/dispatch.ts +552 -0
  1423. package/apps/studio/edit-ops/distribute.ts +31 -0
  1424. package/apps/studio/edit-ops/ds-instance-update.ts +46 -0
  1425. package/apps/studio/edit-ops/ds-use-nearest.ts +72 -0
  1426. package/apps/studio/edit-ops/duplicate-at-width.ts +241 -0
  1427. package/apps/studio/edit-ops/frame.ts +68 -0
  1428. package/apps/studio/edit-ops/guides.ts +67 -0
  1429. package/apps/studio/edit-ops/hide.ts +30 -0
  1430. package/apps/studio/edit-ops/hover-rules.ts +94 -0
  1431. package/apps/studio/edit-ops/image-fit.ts +571 -0
  1432. package/apps/studio/edit-ops/insert-component.ts +344 -0
  1433. package/apps/studio/edit-ops/insert-preset.ts +151 -0
  1434. package/apps/studio/edit-ops/insert-shape.ts +326 -0
  1435. package/apps/studio/edit-ops/instance-model.ts +286 -0
  1436. package/apps/studio/edit-ops/instance-tree.ts +215 -0
  1437. package/apps/studio/edit-ops/layout-patch.ts +81 -0
  1438. package/apps/studio/edit-ops/lock.ts +30 -0
  1439. package/apps/studio/edit-ops/op-label.ts +155 -0
  1440. package/apps/studio/edit-ops/path-model.ts +671 -0
  1441. package/apps/studio/edit-ops/path.ts +172 -0
  1442. package/apps/studio/edit-ops/photo-every-use.ts +64 -0
  1443. package/apps/studio/edit-ops/photo-use.ts +41 -0
  1444. package/apps/studio/edit-ops/place-freely.ts +47 -0
  1445. package/apps/studio/edit-ops/place-plan.ts +60 -0
  1446. package/apps/studio/edit-ops/print.ts +104 -0
  1447. package/apps/studio/edit-ops/references.ts +231 -0
  1448. package/apps/studio/edit-ops/relink.ts +49 -0
  1449. package/apps/studio/edit-ops/reorder.ts +104 -0
  1450. package/apps/studio/edit-ops/reset-overrides.ts +75 -0
  1451. package/apps/studio/edit-ops/revert.ts +63 -0
  1452. package/apps/studio/edit-ops/rotate.ts +58 -0
  1453. package/apps/studio/edit-ops/safe-zones.ts +38 -0
  1454. package/apps/studio/edit-ops/scope-names.ts +151 -0
  1455. package/apps/studio/edit-ops/select-matching.ts +48 -0
  1456. package/apps/studio/edit-ops/set-gap.ts +65 -0
  1457. package/apps/studio/edit-ops/set-id.ts +42 -0
  1458. package/apps/studio/edit-ops/set-link.ts +39 -0
  1459. package/apps/studio/edit-ops/siblings.ts +105 -0
  1460. package/apps/studio/edit-ops/slot-defaults.ts +48 -0
  1461. package/apps/studio/edit-ops/stamp.ts +27 -0
  1462. package/apps/studio/edit-ops/swap-variant.ts +163 -0
  1463. package/apps/studio/edit-ops/text-copy.ts +146 -0
  1464. package/apps/studio/edit-ops/text-detach.ts +62 -0
  1465. package/apps/studio/edit-ops/text-style-ops.ts +131 -0
  1466. package/apps/studio/edit-ops/text-style.ts +141 -0
  1467. package/apps/studio/edit-ops/tidy.ts +72 -0
  1468. package/apps/studio/edit-ops/types.ts +229 -0
  1469. package/apps/studio/edit-ops/unframe.ts +53 -0
  1470. package/apps/studio/edit-ops/words-css.ts +487 -0
  1471. package/apps/studio/edit-ops/words-paint.ts +521 -0
  1472. package/apps/studio/edit-ops/z-order.ts +81 -0
  1473. package/apps/studio/editing/ai-point-ring.tsx +158 -0
  1474. package/apps/studio/editing/ai-scope-outline.tsx +180 -0
  1475. package/apps/studio/editing/align-bar.tsx +510 -0
  1476. package/apps/studio/editing/anchor-report.ts +123 -0
  1477. package/apps/studio/editing/anchor-reporter.tsx +64 -0
  1478. package/apps/studio/editing/aria-live.tsx +162 -0
  1479. package/apps/studio/editing/arrange.ts +345 -0
  1480. package/apps/studio/editing/artboard-actions.ts +275 -0
  1481. package/apps/studio/editing/artboard-commands.tsx +232 -0
  1482. package/apps/studio/editing/artboard-guides.tsx +265 -0
  1483. package/apps/studio/editing/artboard-handles.tsx +524 -0
  1484. package/apps/studio/editing/artboard-menu.tsx +153 -0
  1485. package/apps/studio/editing/artboard-resize.ts +306 -0
  1486. package/apps/studio/editing/ask-bubble.tsx +161 -0
  1487. package/apps/studio/editing/asset-drag.ts +70 -0
  1488. package/apps/studio/editing/click-to-type.ts +207 -0
  1489. package/apps/studio/editing/clipboard-actions.ts +91 -0
  1490. package/apps/studio/editing/clipboard.ts +194 -0
  1491. package/apps/studio/editing/clipped-grab.ts +45 -0
  1492. package/apps/studio/editing/corner-dots.tsx +394 -0
  1493. package/apps/studio/editing/crop-geometry.ts +128 -0
  1494. package/apps/studio/editing/crop-mode.tsx +522 -0
  1495. package/apps/studio/editing/crumbs.ts +158 -0
  1496. package/apps/studio/editing/draw-geometry.ts +151 -0
  1497. package/apps/studio/editing/draw-tools.tsx +490 -0
  1498. package/apps/studio/editing/drop-chip.tsx +105 -0
  1499. package/apps/studio/editing/duplicate-rhythm.ts +166 -0
  1500. package/apps/studio/editing/edit-chrome-gate.tsx +58 -0
  1501. package/apps/studio/editing/edit-op.ts +90 -0
  1502. package/apps/studio/editing/empty-report.ts +182 -0
  1503. package/apps/studio/editing/empty-reporter.tsx +74 -0
  1504. package/apps/studio/editing/figma-paste.ts +71 -0
  1505. package/apps/studio/editing/finder-drop-model.ts +130 -0
  1506. package/apps/studio/editing/finder-drop.tsx +400 -0
  1507. package/apps/studio/editing/focus-model.tsx +429 -0
  1508. package/apps/studio/editing/gap-bands.tsx +257 -0
  1509. package/apps/studio/editing/hold-rings.tsx +461 -0
  1510. package/apps/studio/editing/image-drop.tsx +193 -0
  1511. package/apps/studio/editing/index.tsx +402 -0
  1512. package/apps/studio/editing/instance-actions.ts +152 -0
  1513. package/apps/studio/editing/kids-summary.ts +75 -0
  1514. package/apps/studio/editing/kind-dim.tsx +54 -0
  1515. package/apps/studio/editing/layout-actions.ts +159 -0
  1516. package/apps/studio/editing/lock-badge.tsx +178 -0
  1517. package/apps/studio/editing/long-page.ts +102 -0
  1518. package/apps/studio/editing/minimap-context.tsx +161 -0
  1519. package/apps/studio/editing/nudge.tsx +212 -0
  1520. package/apps/studio/editing/object-actions.ts +156 -0
  1521. package/apps/studio/editing/object-keys.ts +58 -0
  1522. package/apps/studio/editing/object-menu.tsx +216 -0
  1523. package/apps/studio/editing/object-ops.ts +114 -0
  1524. package/apps/studio/editing/paste-bar.tsx +388 -0
  1525. package/apps/studio/editing/pen/combine-run.ts +113 -0
  1526. package/apps/studio/editing/pen/draw.tsx +364 -0
  1527. package/apps/studio/editing/pen/index.tsx +48 -0
  1528. package/apps/studio/editing/pen/overlay.tsx +147 -0
  1529. package/apps/studio/editing/pen/pen-geometry.ts +234 -0
  1530. package/apps/studio/editing/pen/point-store.ts +64 -0
  1531. package/apps/studio/editing/pen/points.tsx +421 -0
  1532. package/apps/studio/editing/place-freely.tsx +389 -0
  1533. package/apps/studio/editing/place-ghost.tsx +418 -0
  1534. package/apps/studio/editing/place-image.tsx +219 -0
  1535. package/apps/studio/editing/preset-ruler.tsx +218 -0
  1536. package/apps/studio/editing/rename-order.ts +58 -0
  1537. package/apps/studio/editing/reorder-slot.tsx +567 -0
  1538. package/apps/studio/editing/rotate-handle.tsx +353 -0
  1539. package/apps/studio/editing/selection.tsx +319 -0
  1540. package/apps/studio/editing/set-gap.ts +55 -0
  1541. package/apps/studio/editing/size-ghost.tsx +343 -0
  1542. package/apps/studio/editing/space-tap.ts +56 -0
  1543. package/apps/studio/editing/sticky-name.tsx +112 -0
  1544. package/apps/studio/editing/tab-order.tsx +298 -0
  1545. package/apps/studio/editing/take-keys.ts +115 -0
  1546. package/apps/studio/editing/text-actions.ts +214 -0
  1547. package/apps/studio/editing/text-in-place.tsx +187 -0
  1548. package/apps/studio/editing/tidy-preview.tsx +83 -0
  1549. package/apps/studio/editing/token-ruler.tsx +231 -0
  1550. package/apps/studio/editing/type-role.ts +122 -0
  1551. package/apps/studio/editing/undo-preview.tsx +120 -0
  1552. package/apps/studio/editing/video-label.ts +66 -0
  1553. package/apps/studio/editing/video-play.ts +65 -0
  1554. package/apps/studio/editing/world-menu.ts +36 -0
  1555. package/apps/studio/element-ids.ts +1030 -0
  1556. package/apps/studio/equal-spacing-handles.tsx +1 -1
  1557. package/apps/studio/exporters/_runtime.ts +64 -24
  1558. package/apps/studio/exporters/audio.ts +136 -0
  1559. package/apps/studio/exporters/door-fingerprint.ts +202 -0
  1560. package/apps/studio/exporters/estimate.ts +314 -0
  1561. package/apps/studio/exporters/file-names.ts +197 -0
  1562. package/apps/studio/exporters/format-scopes.ts +7 -1
  1563. package/apps/studio/exporters/hub-render-door.ts +368 -0
  1564. package/apps/studio/exporters/index.ts +53 -7
  1565. package/apps/studio/exporters/jobs.ts +484 -80
  1566. package/apps/studio/exporters/jpg.ts +21 -0
  1567. package/apps/studio/exporters/pdf-fonts.ts +102 -0
  1568. package/apps/studio/exporters/pdf.ts +133 -14
  1569. package/apps/studio/exporters/png.ts +136 -9
  1570. package/apps/studio/exporters/print-back.ts +92 -0
  1571. package/apps/studio/exporters/print-preflight.ts +373 -0
  1572. package/apps/studio/exporters/rects-runner.ts +130 -0
  1573. package/apps/studio/exporters/remote.ts +726 -3
  1574. package/apps/studio/exporters/render-seconds.ts +57 -0
  1575. package/apps/studio/exporters/replay.ts +48 -0
  1576. package/apps/studio/exporters/scope.ts +560 -15
  1577. package/apps/studio/exporters/spec-run.ts +270 -0
  1578. package/apps/studio/exporters/spec-v2.ts +408 -0
  1579. package/apps/studio/exporters/video-cap.ts +280 -0
  1580. package/apps/studio/exporters/wait-ai.ts +192 -0
  1581. package/apps/studio/figma/client.ts +67 -0
  1582. package/apps/studio/figma/comments-to-pins.ts +249 -0
  1583. package/apps/studio/figma/comments-to-strokes.ts +6 -1
  1584. package/apps/studio/figma/into-board.ts +141 -0
  1585. package/apps/studio/figma/to-strokes.ts +54 -0
  1586. package/apps/studio/format.ts +172 -30
  1587. package/apps/studio/fs-watch.ts +28 -1
  1588. package/apps/studio/generation/adapters/gemini.ts +3 -0
  1589. package/apps/studio/generation/adapters/stub.ts +133 -0
  1590. package/apps/studio/generation/gen-sidecar.ts +108 -0
  1591. package/apps/studio/generation/registry.ts +16 -5
  1592. package/apps/studio/generation/takes.ts +398 -0
  1593. package/apps/studio/generation/types.ts +7 -0
  1594. package/apps/studio/git/service.ts +143 -14
  1595. package/apps/studio/github/endpoints.ts +1 -1
  1596. package/apps/studio/github/identity-cache.ts +53 -14
  1597. package/apps/studio/handoff/blockers.ts +120 -0
  1598. package/apps/studio/handoff/run.ts +233 -0
  1599. package/apps/studio/handoff/targets.ts +334 -0
  1600. package/apps/studio/handoff/write-scopes.ts +57 -0
  1601. package/apps/studio/handoff.ts +24 -5
  1602. package/apps/studio/history/changes.ts +199 -0
  1603. package/apps/studio/history/describe-annotations.ts +216 -0
  1604. package/apps/studio/history/describe-css.ts +592 -0
  1605. package/apps/studio/history/describe-match.ts +866 -0
  1606. package/apps/studio/history/describe-meta.ts +281 -0
  1607. package/apps/studio/history/describe-version.ts +89 -0
  1608. package/apps/studio/history/describe-words.ts +513 -0
  1609. package/apps/studio/history/describe.ts +1452 -0
  1610. package/apps/studio/history/last-good.ts +123 -0
  1611. package/apps/studio/history/links.ts +112 -0
  1612. package/apps/studio/history/object-history.ts +535 -0
  1613. package/apps/studio/history/render-ok-signal.ts +81 -0
  1614. package/apps/studio/history/restore-artboard-action.ts +183 -0
  1615. package/apps/studio/history/restore-artboard.ts +607 -0
  1616. package/apps/studio/history/restore-object.ts +168 -0
  1617. package/apps/studio/history/run-label.ts +18 -0
  1618. package/apps/studio/history/surface-requests.ts +115 -0
  1619. package/apps/studio/history/titles.ts +259 -0
  1620. package/apps/studio/history/trash.ts +314 -0
  1621. package/apps/studio/history/version-lanes.ts +115 -0
  1622. package/apps/studio/history/versions.ts +458 -0
  1623. package/apps/studio/hmr-broadcast.ts +55 -1
  1624. package/apps/studio/home/ai.ts +79 -0
  1625. package/apps/studio/home/cli.ts +221 -0
  1626. package/apps/studio/home/cloud.ts +297 -0
  1627. package/apps/studio/home/create-local.ts +164 -0
  1628. package/apps/studio/home/github.ts +99 -0
  1629. package/apps/studio/home/hub.ts +340 -0
  1630. package/apps/studio/home/index-gc.ts +288 -0
  1631. package/apps/studio/home/index-reader.ts +338 -0
  1632. package/apps/studio/home/invite.ts +204 -0
  1633. package/apps/studio/home/main.ts +159 -0
  1634. package/apps/studio/home/pid.ts +12 -0
  1635. package/apps/studio/home/routes.ts +591 -0
  1636. package/apps/studio/home/signin.ts +285 -0
  1637. package/apps/studio/home/user-state.ts +177 -0
  1638. package/apps/studio/home/whats-new.ts +42 -0
  1639. package/apps/studio/http.ts +2589 -947
  1640. package/apps/studio/index/assets-response.ts +34 -0
  1641. package/apps/studio/index/assets.ts +335 -0
  1642. package/apps/studio/index/ds-usage.ts +983 -0
  1643. package/apps/studio/index/extract.ts +348 -0
  1644. package/apps/studio/index/extractors/asset-usage.ts +349 -0
  1645. package/apps/studio/index/extractors/attribution-cache.ts +225 -0
  1646. package/apps/studio/index/history-refs.ts +301 -0
  1647. package/apps/studio/index/history-source.ts +39 -0
  1648. package/apps/studio/index/match.ts +307 -0
  1649. package/apps/studio/index/scan-kick.ts +47 -0
  1650. package/apps/studio/index/service.ts +367 -0
  1651. package/apps/studio/index/snapshot.ts +135 -0
  1652. package/apps/studio/index/types.ts +139 -0
  1653. package/apps/studio/index/version-feed.ts +71 -0
  1654. package/apps/studio/input-router.tsx +522 -55
  1655. package/apps/studio/inspect-canvas.ts +86 -0
  1656. package/apps/studio/inspect-overlay.tsx +192 -0
  1657. package/apps/studio/inspect.ts +96 -33
  1658. package/apps/studio/kinds/convert.ts +175 -0
  1659. package/apps/studio/kinds/export-defaults.ts +42 -0
  1660. package/apps/studio/kinds/meta.ts +237 -0
  1661. package/apps/studio/kinds/physical.ts +84 -0
  1662. package/apps/studio/kinds/presets.ts +452 -0
  1663. package/apps/studio/kinds/print-custom.ts +165 -0
  1664. package/apps/studio/kinds/print-edit.ts +130 -0
  1665. package/apps/studio/kinds/print-guides.ts +23 -0
  1666. package/apps/studio/kinds/safe-zones.ts +250 -0
  1667. package/apps/studio/kinds/warnings.ts +422 -0
  1668. package/apps/studio/layer-name.ts +148 -0
  1669. package/apps/studio/layout/free-space.ts +131 -0
  1670. package/apps/studio/link-chip-overlay.tsx +175 -0
  1671. package/apps/studio/link-import.ts +617 -0
  1672. package/apps/studio/loopback-listen.ts +105 -0
  1673. package/apps/studio/macro-guard.ts +67 -0
  1674. package/apps/studio/managed-projects.ts +63 -14
  1675. package/apps/studio/marquee-overlay.tsx +2 -2
  1676. package/apps/studio/measure-overlay.tsx +10 -4
  1677. package/apps/studio/migrate/cli.ts +164 -0
  1678. package/apps/studio/migrate/ds-registry.ts +42 -0
  1679. package/apps/studio/migrate/engine.ts +926 -0
  1680. package/apps/studio/migrate/hub.ts +219 -0
  1681. package/apps/studio/migrate/steps.ts +627 -0
  1682. package/apps/studio/notifications.tsx +197 -52
  1683. package/apps/studio/outbox/content.ts +139 -0
  1684. package/apps/studio/outbox/drain.ts +269 -0
  1685. package/apps/studio/outbox/hub-reachability.ts +58 -0
  1686. package/apps/studio/outbox/index.ts +57 -0
  1687. package/apps/studio/outbox/policy.ts +859 -0
  1688. package/apps/studio/outbox/senders/export-cloud.ts +116 -0
  1689. package/apps/studio/outbox/store.ts +336 -0
  1690. package/apps/studio/outbox/types.ts +160 -0
  1691. package/apps/studio/participants-chrome.tsx +178 -60
  1692. package/apps/studio/paths.ts +8 -0
  1693. package/apps/studio/photo-store.ts +230 -1
  1694. package/apps/studio/port.ts +93 -0
  1695. package/apps/studio/presence/canvas-presence.tsx +522 -0
  1696. package/apps/studio/presence/fields.ts +93 -0
  1697. package/apps/studio/presence/model.ts +296 -0
  1698. package/apps/studio/presence/tones.ts +39 -0
  1699. package/apps/studio/present/fit.ts +138 -0
  1700. package/apps/studio/present/follow.ts +142 -0
  1701. package/apps/studio/present/media-presence.ts +105 -0
  1702. package/apps/studio/present/meta-schema.ts +612 -0
  1703. package/apps/studio/present/order.ts +153 -0
  1704. package/apps/studio/present/pointer-dot.tsx +379 -0
  1705. package/apps/studio/present/pointer-point.ts +24 -0
  1706. package/apps/studio/present/present-media.ts +446 -0
  1707. package/apps/studio/present/present-stage.tsx +1018 -0
  1708. package/apps/studio/present/present-zoom.ts +63 -0
  1709. package/apps/studio/present/relay-strip.ts +136 -0
  1710. package/apps/studio/preview/preview-camera.tsx +442 -0
  1711. package/apps/studio/preview/wheel-scroll.ts +85 -0
  1712. package/apps/studio/print/units.ts +3 -0
  1713. package/apps/studio/print-overlay-content.tsx +127 -10
  1714. package/apps/studio/read-only-mode.ts +83 -0
  1715. package/apps/studio/readiness.ts +18 -3
  1716. package/apps/studio/ripple.ts +19 -1
  1717. package/apps/studio/routes/agent.ts +1025 -0
  1718. package/apps/studio/routes/ai.ts +422 -0
  1719. package/apps/studio/routes/annotations.ts +649 -0
  1720. package/apps/studio/routes/asset-details.ts +87 -0
  1721. package/apps/studio/routes/asset-rename.ts +60 -0
  1722. package/apps/studio/routes/asset-state.ts +137 -0
  1723. package/apps/studio/routes/asset-trash.ts +77 -0
  1724. package/apps/studio/routes/assets.ts +217 -0
  1725. package/apps/studio/routes/availability.ts +94 -0
  1726. package/apps/studio/routes/canvas-meta-rider.ts +304 -0
  1727. package/apps/studio/routes/canvas-origin.ts +88 -0
  1728. package/apps/studio/routes/canvas-source.ts +315 -0
  1729. package/apps/studio/routes/chat-attach.ts +335 -0
  1730. package/apps/studio/routes/chat.ts +137 -0
  1731. package/apps/studio/routes/cloud-move.ts +364 -0
  1732. package/apps/studio/routes/cloud-plan.ts +36 -0
  1733. package/apps/studio/routes/comments.ts +118 -0
  1734. package/apps/studio/routes/connections.ts +132 -0
  1735. package/apps/studio/routes/describe.ts +122 -0
  1736. package/apps/studio/routes/diagnostics.ts +118 -0
  1737. package/apps/studio/routes/ds-check.ts +124 -0
  1738. package/apps/studio/routes/ds-convert.ts +55 -0
  1739. package/apps/studio/routes/ds-edges.ts +136 -0
  1740. package/apps/studio/routes/ds-library.ts +194 -0
  1741. package/apps/studio/routes/ds-make.ts +91 -0
  1742. package/apps/studio/routes/ds-switch.ts +68 -0
  1743. package/apps/studio/routes/ds-upgrade.ts +139 -0
  1744. package/apps/studio/routes/ds.ts +808 -0
  1745. package/apps/studio/routes/edit.ts +658 -0
  1746. package/apps/studio/routes/element-links.ts +155 -0
  1747. package/apps/studio/routes/export.ts +486 -0
  1748. package/apps/studio/routes/figma.ts +200 -0
  1749. package/apps/studio/routes/generate.ts +443 -0
  1750. package/apps/studio/routes/handoff.ts +319 -0
  1751. package/apps/studio/routes/help-guides.ts +37 -0
  1752. package/apps/studio/routes/history.ts +739 -0
  1753. package/apps/studio/routes/import-link.ts +186 -0
  1754. package/apps/studio/routes/index.ts +293 -0
  1755. package/apps/studio/routes/kinds.ts +257 -0
  1756. package/apps/studio/routes/links.ts +72 -0
  1757. package/apps/studio/routes/outbox.ts +87 -0
  1758. package/apps/studio/routes/photo-every-use.ts +241 -0
  1759. package/apps/studio/routes/pins.ts +66 -0
  1760. package/apps/studio/routes/present.ts +187 -0
  1761. package/apps/studio/routes/project-format.ts +148 -0
  1762. package/apps/studio/routes/project-undo.ts +497 -0
  1763. package/apps/studio/routes/settings.ts +179 -0
  1764. package/apps/studio/routes/share.ts +463 -0
  1765. package/apps/studio/routes/shell.ts +137 -0
  1766. package/apps/studio/routes/sync-conflicts.ts +150 -0
  1767. package/apps/studio/routes/sync.ts +172 -0
  1768. package/apps/studio/routes/table.ts +224 -0
  1769. package/apps/studio/routes/trash.ts +393 -0
  1770. package/apps/studio/routes/video.ts +395 -0
  1771. package/apps/studio/routes/votes.ts +486 -0
  1772. package/apps/studio/safe-zones-overlay.tsx +269 -0
  1773. package/apps/studio/scaffold-design.ts +72 -124
  1774. package/apps/studio/schema/annotations.v2.schema.json +2303 -0
  1775. package/apps/studio/schema/beats.v1.schema.json +94 -0
  1776. package/apps/studio/schema/canvas-meta.v2.schema.json +264 -0
  1777. package/apps/studio/schema/canvas-tsx.md +357 -0
  1778. package/apps/studio/schema/comments.v2.schema.json +125 -0
  1779. package/apps/studio/schema/ds-components-v1.schema.json +96 -0
  1780. package/apps/studio/schema/ds-formats.md +146 -0
  1781. package/apps/studio/schema/ds-head-v1.schema.json +67 -0
  1782. package/apps/studio/schema/ds-revision-v1.schema.json +31 -0
  1783. package/apps/studio/schema/ds-schema-v1.fallbacks.css +118 -0
  1784. package/apps/studio/schema/ds-schema-v1.json +2029 -0
  1785. package/apps/studio/schema/ds-schema-v1.schema.json +663 -0
  1786. package/apps/studio/schema/ds-tokens-v1.schema.json +210 -0
  1787. package/apps/studio/schema/edl.v1.schema.json +124 -0
  1788. package/apps/studio/schema/formats.ts +175 -0
  1789. package/apps/studio/schema/gen.v1.schema.json +33 -0
  1790. package/apps/studio/schema/transcript.v1.schema.json +133 -0
  1791. package/apps/studio/server.ts +454 -166
  1792. package/apps/studio/shell/info-file.ts +54 -0
  1793. package/apps/studio/shell/parent-watch.ts +97 -0
  1794. package/apps/studio/shell/profile.ts +61 -0
  1795. package/apps/studio/shell-canvas-file.ts +36 -0
  1796. package/apps/studio/skip-dirs.ts +455 -0
  1797. package/apps/studio/spoof-chars.ts +17 -0
  1798. package/apps/studio/static-lane.ts +212 -0
  1799. package/apps/studio/sync/accepted-cold-start.ts +35 -13
  1800. package/apps/studio/sync/accepted-link.ts +524 -27
  1801. package/apps/studio/sync/access-notices.ts +143 -0
  1802. package/apps/studio/sync/action-feed.ts +145 -0
  1803. package/apps/studio/sync/action-stage.ts +831 -165
  1804. package/apps/studio/sync/asset-push.ts +24 -2
  1805. package/apps/studio/sync/asset-state.ts +391 -0
  1806. package/apps/studio/sync/atomic-write.ts +42 -1
  1807. package/apps/studio/sync/availability.ts +185 -0
  1808. package/apps/studio/sync/canvas-path.ts +70 -6
  1809. package/apps/studio/sync/cell-pairing.ts +5 -24
  1810. package/apps/studio/sync/comment-door.ts +104 -0
  1811. package/apps/studio/sync/conflict-record.ts +186 -0
  1812. package/apps/studio/sync/create-collision.ts +297 -0
  1813. package/apps/studio/sync/ctl-provider.ts +13 -1
  1814. package/apps/studio/sync/file-membership.ts +95 -10
  1815. package/apps/studio/sync/file-plane.ts +76 -7
  1816. package/apps/studio/sync/format-sync.ts +13 -7
  1817. package/apps/studio/sync/history-fields.ts +61 -0
  1818. package/apps/studio/sync/hub-link.ts +24 -4
  1819. package/apps/studio/sync/hub-text-undo.ts +178 -0
  1820. package/apps/studio/sync/hubs-config.ts +122 -20
  1821. package/apps/studio/sync/index.ts +1444 -127
  1822. package/apps/studio/sync/journal-client.ts +44 -0
  1823. package/apps/studio/sync/keep-both.ts +187 -0
  1824. package/apps/studio/sync/link-consent.ts +390 -0
  1825. package/apps/studio/sync/local-kernel.ts +2725 -0
  1826. package/apps/studio/sync/media-gate.ts +97 -0
  1827. package/apps/studio/sync/object-conflict.ts +199 -0
  1828. package/apps/studio/sync/poke.ts +20 -0
  1829. package/apps/studio/sync/presentation.ts +14 -1
  1830. package/apps/studio/sync/project-config-push.ts +5 -2
  1831. package/apps/studio/sync/projection.ts +201 -34
  1832. package/apps/studio/sync/resync-trace.ts +220 -0
  1833. package/apps/studio/sync/status.ts +8 -1
  1834. package/apps/studio/sync/supervisor.ts +20 -2
  1835. package/apps/studio/sync/transaction-client.ts +364 -34
  1836. package/apps/studio/sync/trash-clear-copies.ts +120 -0
  1837. package/apps/studio/sync/trash-watch.ts +157 -0
  1838. package/apps/studio/sync/trash.ts +50 -2
  1839. package/apps/studio/sync/undo-target.ts +110 -0
  1840. package/apps/studio/sync/workspace-signin.ts +14 -3
  1841. package/apps/studio/sync/write-hold.ts +238 -0
  1842. package/apps/studio/sync/writer-registry.ts +380 -5
  1843. package/apps/studio/sync-name-key.ts +59 -0
  1844. package/apps/studio/thumbs/keys.ts +147 -0
  1845. package/apps/studio/thumbs/routes.ts +68 -0
  1846. package/apps/studio/thumbs/service.ts +884 -0
  1847. package/apps/studio/thumbs/store.ts +114 -0
  1848. package/apps/studio/thumbs/validate.ts +62 -0
  1849. package/apps/studio/tool-palette.tsx +782 -563
  1850. package/apps/studio/toolbars/marker-tip.ts +22 -0
  1851. package/apps/studio/toolbars/shell-panels.ts +55 -0
  1852. package/apps/studio/toolbars/tool-panel.ts +89 -0
  1853. package/apps/studio/toolbars/toolbar-css.ts +283 -0
  1854. package/apps/studio/toolbars/toolbar-icons.tsx +135 -0
  1855. package/apps/studio/toolbars/toolbar-rect.ts +82 -0
  1856. package/apps/studio/ui-prefs-migrate.ts +467 -0
  1857. package/apps/studio/ui-prefs.ts +305 -3
  1858. package/apps/studio/undo-stack.ts +10 -0
  1859. package/apps/studio/use-annotation-resize.tsx +23 -17
  1860. package/apps/studio/use-artboard-drag.tsx +156 -15
  1861. package/apps/studio/use-canvas-keys.ts +58 -0
  1862. package/apps/studio/use-chrome-visibility.tsx +13 -0
  1863. package/apps/studio/use-collab.tsx +556 -56
  1864. package/apps/studio/use-element-resize.tsx +13 -9
  1865. package/apps/studio/use-governed-mode.ts +23 -0
  1866. package/apps/studio/use-keyboard-discipline.tsx +114 -49
  1867. package/apps/studio/use-selection-set.tsx +110 -9
  1868. package/apps/studio/use-snap-guides.tsx +74 -5
  1869. package/apps/studio/use-spacing-handles.tsx +90 -27
  1870. package/apps/studio/use-tool-mode.tsx +204 -10
  1871. package/apps/studio/use-undo-stack.tsx +19 -23
  1872. package/apps/studio/video/beats.ts +484 -0
  1873. package/apps/studio/video/decode-webaudio.ts +115 -0
  1874. package/apps/studio/video/decode.ts +288 -0
  1875. package/apps/studio/video/derive.ts +647 -0
  1876. package/apps/studio/video/format-ids.ts +158 -0
  1877. package/apps/studio/video/framing.ts +246 -0
  1878. package/apps/studio/video/inject.ts +324 -0
  1879. package/apps/studio/video/keyframes.ts +356 -0
  1880. package/apps/studio/video/link-groups.ts +40 -0
  1881. package/apps/studio/video/linked-formats.ts +142 -0
  1882. package/apps/studio/video/mask-comments.ts +36 -0
  1883. package/apps/studio/video/media-analysis.ts +169 -0
  1884. package/apps/studio/video/reel-place.ts +286 -0
  1885. package/apps/studio/video/reframe-read.ts +90 -0
  1886. package/apps/studio/video/schema.ts +422 -0
  1887. package/apps/studio/video/speech.ts +129 -0
  1888. package/apps/studio/video/title-motion.ts +85 -0
  1889. package/apps/studio/video/transcript-cut.ts +91 -0
  1890. package/apps/studio/video/whisper-parse.ts +123 -0
  1891. package/apps/studio/video/words-run.ts +210 -0
  1892. package/apps/studio/video/words-timing.ts +222 -0
  1893. package/apps/studio/video-comp.tsx +238 -9
  1894. package/apps/studio/video-links-overlay.tsx +272 -0
  1895. package/apps/studio/video-natural.ts +73 -0
  1896. package/apps/studio/video-play-chrome.tsx +229 -0
  1897. package/apps/studio/video-play-overlay.tsx +190 -0
  1898. package/apps/studio/video-vocab.tsx +460 -0
  1899. package/apps/studio/view-only-gesture.tsx +101 -0
  1900. package/apps/studio/viewport-fit.ts +28 -0
  1901. package/apps/studio/web-overlay-content.tsx +4 -2
  1902. package/apps/studio/whats-new.json +55 -20
  1903. package/apps/studio/whats-new.schema.json +10 -0
  1904. package/apps/studio/whats-new.ts +4 -0
  1905. package/apps/studio/workspace-mode.ts +10 -0
  1906. package/apps/studio/ws.ts +299 -8
  1907. package/cli/bin/maude.mjs +1 -0
  1908. package/cli/commands/design.mjs +401 -72
  1909. package/cli/commands/flow.mjs +12 -1
  1910. package/cli/commands/help.mjs +8 -0
  1911. package/cli/commands/migrate.mjs +55 -0
  1912. package/cli/lib/bash-guard.mjs +1691 -0
  1913. package/cli/lib/confine-out.mjs +150 -0
  1914. package/cli/lib/confine-read.mjs +179 -0
  1915. package/cli/lib/confine-root.mjs +157 -0
  1916. package/cli/lib/design-help.gen.mjs +119 -0
  1917. package/cli/lib/design-hook.mjs +1764 -0
  1918. package/cli/lib/design-link.mjs +68 -4
  1919. package/cli/lib/design-open.mjs +238 -0
  1920. package/cli/lib/export-spec.mjs +394 -0
  1921. package/cli/lib/finding-text.mjs +63 -0
  1922. package/cli/lib/flow-usage.mjs +6 -10
  1923. package/cli/lib/gitignore-block.mjs +1 -0
  1924. package/cli/lib/handoff.mjs +285 -0
  1925. package/cli/lib/handoff.schema.json +336 -0
  1926. package/cli/lib/hubs-config.mjs +10 -0
  1927. package/cli/lib/json-schema-lite.mjs +260 -0
  1928. package/cli/lib/project-links.mjs +88 -0
  1929. package/cli/lib/studio-locate.mjs +83 -0
  1930. package/cli/lib/sub-verbs.mjs +111 -0
  1931. package/cli/lib/workspace-plan.mjs +16 -3
  1932. package/package.json +29 -10
  1933. package/plugins/design/README.md +46 -0
  1934. package/plugins/design/templates/_shell.html +749 -69
  1935. package/plugins/design/templates/blank-canvas.tsx.template +26 -0
  1936. package/plugins/design/templates/brief-board.tsx.template +12 -11
  1937. package/plugins/design/templates/canvas.tsx.template +3 -3
  1938. package/plugins/design/templates/design-system-inspiration/core/README.philosophy.md.tpl +104 -0
  1939. package/plugins/design/templates/design-system-inspiration/core/colors_and_type.css.tpl +38 -3
  1940. package/plugins/design/templates/design-system-inspiration/core/components.json.tpl +127 -0
  1941. package/plugins/design/templates/design-system-inspiration/core/config.json.tpl +1 -0
  1942. package/plugins/design/templates/design-system-inspiration/core/preview/_components.css.tpl +111 -0
  1943. package/plugins/flow/.claude-plugin/config.schema.json +6 -1
  1944. package/apps/studio/annotations/ui/edit-actions.ts +0 -551
  1945. package/apps/studio/canvas-header.ts +0 -165
  1946. package/apps/studio/client/hmr.mjs +0 -113
  1947. package/apps/studio/client/hooks/use-keyboard-shortcuts.jsx +0 -297
  1948. package/apps/studio/client/iframe-lazy.mjs +0 -121
  1949. package/apps/studio/client/inspector/artboard-knobs.jsx +0 -456
  1950. package/apps/studio/client/menus/menubar.jsx +0 -856
  1951. package/apps/studio/client/panels/CapabilityBar.jsx +0 -101
  1952. package/apps/studio/client/panels/ClipInspector.jsx +0 -409
  1953. package/apps/studio/client/panels/GitPanel.jsx +0 -1026
  1954. package/apps/studio/client/panels/OnboardingWizard.jsx +0 -642
  1955. package/apps/studio/client/panels/StickerPicker.jsx +0 -160
  1956. package/apps/studio/client/panels/SyncPanel.jsx +0 -1190
  1957. package/apps/studio/client/panels/TimelinePanel.jsx +0 -2259
  1958. package/apps/studio/client/share-dialog.jsx +0 -91
  1959. package/apps/studio/client/shell/collapsed-rail.jsx +0 -23
  1960. package/apps/studio/client/shell/status-bar.jsx +0 -215
  1961. package/apps/studio/client/styles/1-tokens-maude.css +0 -296
  1962. package/apps/studio/client/styles/1-tokens.css +0 -304
  1963. package/apps/studio/client/styles/3-shell-maude.css +0 -3158
  1964. package/apps/studio/client/styles/3-shell.css +0 -1036
  1965. package/apps/studio/client/styles/4-components-maude.css +0 -134
  1966. package/apps/studio/client/styles/4-components.css +0 -2204
  1967. package/apps/studio/client/styles/5-maude-overrides.css +0 -162
  1968. package/apps/studio/client/styles.css +0 -1264
  1969. package/apps/studio/contextual-toolbar.tsx +0 -512
  1970. package/apps/studio/export-dialog.tsx +0 -827
  1971. package/apps/studio/undo-hud.tsx +0 -16
@@ -0,0 +1,2858 @@
1
+ /* client/v2/shell/floating-panels.css — V2-4.1: the window body is the canvas, edge to edge.
2
+ *
3
+ * Floating (the default, `.sh-body--float`): the left / right dock slots are `.island`s laid over the
4
+ * canvas viewport (`.main`, which keeps the whole body), and a panel that is not showing leaves its
5
+ * corner icon (`.sh-corner`). Pinned (View › Advanced › "Pin panels to the side") is today's docked
6
+ * column layout — no rule here applies, `.sh-dockslot-inner` is `display: contents`. ⌘\ (`.is-hidden`)
7
+ * takes every slot out of the layout in both; the corner icons are the way back.
8
+ *
9
+ * Geometry is the kit's: islands sit 16px in from the window edge (`.k-cp` left/top `--space-4`),
10
+ * radius 14 (`--radius-lg`), the soft island shadow. Every island root carries `data-occludes`
11
+ * (dock.jsx / corner-icons.jsx) — use-occluded-insets.js turns them into the canvas' occluded insets.
12
+ *
13
+ * MATERIAL (V2-1.8 M1–M3). Solid, global, never keyed on engine / shell / setting: `.island` below is
14
+ * the ONE rule that applies it, and `--island-backdrop` is the only thing allowed in a
15
+ * `backdrop-filter`. The three tokens are set on `.sh-body--float` because this shell still resolves
16
+ * the v1 `.maude` ladder; when the shell mounts under `.maude-v2` (later Phase 4) the DS' own
17
+ * `--island-bg` / `--island-backdrop: none` replace them and this block shrinks to nothing.
18
+ *
19
+ * MOTION. Every duration is `var(--dur-panel)` — 1ms under prefers-reduced-motion (1-tokens-maude.css
20
+ * collapses it) — and the keyframes are dropped outright there: reduced motion is a cut. */
21
+
22
+ /* ── V2-8.0: rules moved here from the retired styles/ layer files, in their original order and ahead of this file's own rules, so the cascade is unchanged. ── */
23
+
24
+ /* from styles/3-shell-maude.css */
25
+ @layer shell {
26
+ /* ─── Shell scaffold ───────────────────────────────────────────────────────
27
+ * The real app fills the viewport (NOT an artboard body), so this overrides the
28
+ * mockup's rounded-border `.sh-shell` frame: full-bleed flex column, the
29
+ * existing `.app` grid flexes as the middle body row between the bars. */
30
+ .maude {
31
+ position: relative;
32
+ /* Gate-B polish (RC-A): a sheet mounted beside `.sh-shell` (Export, Share, Handoff, the Exports panel,
33
+ the import and design-system sheets) inherited body's v1 mono face; the whole shell speaks the body
34
+ face, mono only where a rule asks for --font-mono. */
35
+ font-family: var(--font-body);
36
+ }
37
+
38
+ .sh-shell {
39
+ width: 100vw;
40
+ height: 100vh;
41
+ overflow: hidden;
42
+ display: flex;
43
+ flex-direction: column;
44
+ background: var(--bg-0);
45
+ color: var(--fg-0);
46
+ font-family: var(--font-body);
47
+ font-size: var(--type-base);
48
+ line-height: var(--lh-base);
49
+ -webkit-font-smoothing: antialiased;
50
+ }
51
+
52
+ /* rc.1 finding 20: `hidden` still lets a focus()/scrollIntoView() scroll the shell up under the tab bar; `clip` is not
53
+ a scroll container at all (a browser without it keeps `hidden` above; v2/shell/scroll-lock.js backs both) */
54
+ @supports (overflow: clip) {
55
+ .sh-shell {
56
+ overflow: clip;
57
+ }
58
+ }
59
+
60
+ /* The legacy grid body (sidebar | main | rsidebar) now flexes between the
61
+ * full-width menubar + status bar instead of owning the whole viewport. */
62
+ .sh-shell > .app {
63
+ width: 100%;
64
+ height: auto;
65
+ flex: 1 1 auto;
66
+ min-height: 0;
67
+ }
68
+
69
+ .sh-mono {
70
+ font-family: var(--font-mono);
71
+ font-variant-numeric: tabular-nums;
72
+ }
73
+
74
+ .sh-brand {
75
+ display: inline-flex;
76
+ align-items: center;
77
+ gap: var(--space-2);
78
+ padding-right: var(--space-2);
79
+ }
80
+
81
+ .sh-brand-mark {
82
+ width: 18px;
83
+ height: 18px;
84
+ /* message-bubble corner — bottom-right squared, the other three rounded */
85
+ border-radius: var(--radius-sm) var(--radius-sm) 0 var(--radius-sm);
86
+ background: var(--accent);
87
+ display: grid;
88
+ place-items: center;
89
+ color: var(--accent-fg);
90
+ box-shadow: 0 0 0 3px var(--accent-tint);
91
+ }
92
+
93
+ /* the spark star fills the bubble (32-grid path, identical to the logo specimen) */
94
+ .sh-brand-mark svg {
95
+ width: 100%;
96
+ height: 100%;
97
+ display: block;
98
+ }
99
+
100
+ .sh-brand-name {
101
+ font-family: var(--font-display);
102
+ font-weight: 600;
103
+ font-size: var(--type-md);
104
+ letter-spacing: var(--tracking-tight);
105
+ }
106
+
107
+ /* keyboard ring: the shared `.maude :is(button…):focus-visible` recipe */
108
+ /* ─── Menubar dropdown ────────────────────────────────────────────────────── */
109
+ .sh-dropdown {
110
+ position: absolute;
111
+ top: 38px;
112
+ min-width: 230px;
113
+ background: var(--bg-2);
114
+ border: 1px solid var(--border-default);
115
+ border-radius: var(--radius-md);
116
+ box-shadow: var(--shadow-lg);
117
+ /* above the floating st-banner (9100) — an open menu must never sit under
118
+ a transient notice */
119
+ padding: var(--space-1);
120
+ z-index: 9150;
121
+ animation: sh-pop var(--dur-panel) var(--ease-out);
122
+ transform-origin: top left;
123
+ }
124
+
125
+ @keyframes sh-pop {
126
+ from {
127
+ opacity: 0;
128
+ transform: translateY(-4px) scale(0.985);
129
+ }
130
+ to {
131
+ opacity: 1;
132
+ transform: none;
133
+ }
134
+ }
135
+
136
+ .sh-dd-hd {
137
+ font-family: var(--font-mono);
138
+ font-size: var(--type-xs);
139
+ letter-spacing: var(--tracking-wide);
140
+ text-transform: uppercase;
141
+ color: var(--fg-2);
142
+ padding: var(--space-1) var(--space-2) 2px;
143
+ }
144
+
145
+ .sh-dd-item {
146
+ display: flex;
147
+ align-items: center;
148
+ gap: var(--space-2);
149
+ justify-content: space-between;
150
+ padding: var(--space-1) var(--space-2);
151
+ border-radius: var(--radius-xs);
152
+ font-size: var(--type-sm);
153
+ color: var(--fg-1);
154
+ cursor: pointer;
155
+ appearance: none;
156
+ border: 0;
157
+ background: transparent;
158
+ width: 100%;
159
+ text-align: left;
160
+ font-family: var(--font-body);
161
+ }
162
+
163
+ .sh-dd-item:hover,
164
+ .sh-dd-item.is-hover {
165
+ background: var(--bg-4);
166
+ color: var(--fg-0);
167
+ }
168
+
169
+ .sh-dd-item[aria-disabled="true"] {
170
+ color: var(--fg-2);
171
+ cursor: default;
172
+ }
173
+
174
+ .sh-dd-item[aria-disabled="true"]:hover {
175
+ background: transparent;
176
+ color: var(--fg-2);
177
+ }
178
+
179
+ /* an empty popover's one line ("No other folders"): text, not a control */
180
+ .sh-dd-item.sh-dd-empty,
181
+ .sh-dd-item.sh-dd-empty:hover {
182
+ margin: 0;
183
+ background: transparent;
184
+ color: var(--fg-2);
185
+ cursor: default;
186
+ }
187
+
188
+ .sh-dd-item .sh-dd-lead {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ gap: var(--space-2);
192
+ }
193
+
194
+ .sh-dd-sep {
195
+ height: 1px;
196
+ background: var(--border-subtle);
197
+ margin: var(--space-1) var(--space-1);
198
+ }
199
+
200
+ /* ─── Icon button (shared chrome control) ─────────────────────────────────── */
201
+ .sh-iconbtn {
202
+ appearance: none;
203
+ border: 0;
204
+ background: transparent;
205
+ cursor: pointer;
206
+ width: 26px;
207
+ height: 26px;
208
+ display: grid;
209
+ place-items: center;
210
+ border-radius: var(--radius-sm);
211
+ color: var(--fg-2);
212
+ transition:
213
+ background var(--dur-soft) var(--ease-out),
214
+ color var(--dur-soft) var(--ease-out);
215
+ }
216
+
217
+ .sh-iconbtn:hover {
218
+ background: var(--bg-3);
219
+ color: var(--fg-0);
220
+ }
221
+
222
+ /* Refresh-files button: spin the reload glyph while the tree re-reads so the
223
+ * action visibly registers even when /_index-data returns instantly. Disabled
224
+ * state stays full-opacity (it's a "busy" beat, not an unavailable control). */
225
+ @keyframes sh-refresh-spin {
226
+ to {
227
+ transform: rotate(360deg);
228
+ }
229
+ }
230
+
231
+ /* DS avatar recipe (ui_kits showcase `.sc-avatar`): hue-TINTED surface + hue
232
+ * border + fg-0 text. A solid hue fill with white text broke the accent-fg
233
+ * contrast rule on dark and washed out entirely in light theme. */
234
+ /* ═══ Task 4 — body row · sidebar · tree · rail ═══════════════════════════════ */
235
+ /* The body flex row replaces the legacy `.app` grid: rail | sidebar | main | rpanel. */
236
+ .sh-body {
237
+ flex: 1;
238
+ display: flex;
239
+ min-height: 0;
240
+ min-width: 0;
241
+ }
242
+
243
+ .sh-body > .main {
244
+ flex: 1;
245
+ min-width: 0;
246
+ }
247
+
248
+ .sh-body > .sh-rpanel {
249
+ flex: 0 0 304px;
250
+ }
251
+
252
+ /* ─── Dock slot (feature-configurable-panel-docking) ──────────────────────────
253
+ * A left/right slot: the active panel (and, V2-4.4b, the AI chat as its own island),
254
+ * which fills the remaining height. The wrapper owns the resizable width; the inner panel fills
255
+ * it (width:100% wins over the panel's own inline width, which we no longer set). */
256
+ .sh-dockslot {
257
+ display: flex;
258
+ flex-direction: column;
259
+ min-height: 0;
260
+ min-width: 0;
261
+ overflow: hidden;
262
+ flex: none;
263
+ }
264
+
265
+ .sh-dockslot.is-collapsed {
266
+ width: 0 !important;
267
+ flex-basis: 0 !important;
268
+ }
269
+
270
+ /* pinned layout: the inner wrapper is display:contents, so the panel is still the slot's flex item — without
271
+ the two `-inner` selectors, the sidebar's own `flex: 0 0 252px` meant 252 px TALL in the column and the
272
+ Canvases list got 6 px */
273
+ .sh-dockslot > .sh-rpanel,
274
+ .sh-dockslot > .sh-sidebar,
275
+ .sh-dockslot > .sh-dockslot-inner > .sh-rpanel,
276
+ .sh-dockslot > .sh-dockslot-inner > .sh-sidebar {
277
+ flex: 1 1 auto;
278
+ width: 100%;
279
+ min-height: 0;
280
+ }
281
+
282
+ /* ─── Left sidebar — file tree ────────────────────────────────────────────── */
283
+ .sh-sidebar {
284
+ width: 252px;
285
+ flex: 0 0 252px;
286
+ background: var(--bg-1);
287
+ border-right: 1px solid var(--border-default);
288
+ display: flex;
289
+ flex-direction: column;
290
+ min-height: 0;
291
+ transition:
292
+ width var(--dur-panel) var(--ease-in-out),
293
+ flex-basis var(--dur-panel) var(--ease-in-out);
294
+ overflow: hidden;
295
+ }
296
+
297
+ .sh-sidebar.is-collapsed {
298
+ width: 0;
299
+ flex-basis: 0;
300
+ border-right-color: transparent;
301
+ }
302
+
303
+ .sh-tree {
304
+ flex: 1;
305
+ overflow-y: auto;
306
+ padding: var(--space-1) var(--space-1) var(--space-3);
307
+ }
308
+
309
+ .sh-tree-section {
310
+ margin-bottom: var(--space-1);
311
+ }
312
+
313
+ .sh-tree-sec-hd {
314
+ display: flex;
315
+ align-items: center;
316
+ gap: var(--space-1);
317
+ width: 100%;
318
+ padding: var(--space-1) var(--space-2);
319
+ cursor: pointer;
320
+ color: var(--fg-2);
321
+ appearance: none;
322
+ border: 0;
323
+ background: transparent;
324
+ text-align: left;
325
+ }
326
+
327
+ .sh-tree-sec-hd:hover {
328
+ color: var(--fg-0);
329
+ }
330
+
331
+ /* feature-file-tree-drag-drop-folders (dogfood follow-up) — the section
332
+ header is the drop target for "move back to this group's root". Same
333
+ accent language as .sh-row.is-drop-target. */
334
+ .sh-tree-sec-hd.is-drop-target {
335
+ background: var(--accent-tint);
336
+ color: var(--fg-0);
337
+ box-shadow: inset 2px 0 0 var(--accent);
338
+ }
339
+
340
+ /* The eyebrow is the island title (CONTRACT section 5): sans, xs, semibold, --fg-2, as the user wrote it. */
341
+ .sh-tree-sec-hd .cv-sec-name {
342
+ font-family: var(--font-body);
343
+ font-size: var(--type-xs);
344
+ font-weight: var(--w-semibold, 600);
345
+ letter-spacing: 0;
346
+ text-transform: none;
347
+ color: var(--fg-2);
348
+ }
349
+
350
+ /* The count is a plain right-aligned tabular numeral in the header row. It used to be the class
351
+ `sh-pill`, which collided with the project pill's absolutely positioned island of the same name and
352
+ floated over the header (design-critic blocker 1). */
353
+ .sh-tree-sec-hd .cv-sec-count {
354
+ margin-left: auto;
355
+ font-family: var(--font-body);
356
+ font-size: var(--type-xs);
357
+ font-variant-numeric: tabular-nums;
358
+ color: var(--fg-2);
359
+ }
360
+
361
+ .sh-tree-empty {
362
+ padding: var(--space-1) var(--space-4);
363
+ color: var(--fg-2);
364
+ font-size: var(--type-xs);
365
+ font-style: italic;
366
+ }
367
+
368
+ .sh-row {
369
+ display: flex;
370
+ align-items: center;
371
+ gap: var(--space-1);
372
+ width: 100%;
373
+ padding: var(--space-1) var(--space-2);
374
+ border-radius: var(--radius-xs);
375
+ font-size: var(--type-sm);
376
+ color: var(--fg-1);
377
+ cursor: default;
378
+ position: relative;
379
+ appearance: none;
380
+ border: 0;
381
+ background: transparent;
382
+ text-align: left;
383
+ font-family: var(--font-body);
384
+ }
385
+
386
+ .sh-row:hover {
387
+ background: var(--bg-2);
388
+ }
389
+
390
+ .sh-row.is-sel {
391
+ background: var(--accent-tint);
392
+ color: var(--fg-0);
393
+ box-shadow: inset 2px 0 0 var(--accent);
394
+ }
395
+
396
+ .sh-row.is-muted {
397
+ color: var(--fg-2);
398
+ }
399
+
400
+ .sh-row[aria-disabled="true"] {
401
+ cursor: default;
402
+ }
403
+
404
+ /* feature-file-tree-drag-drop-folders (Task 8) — a valid drop target reuses
405
+ the exact .sh-row.is-sel treatment (same accent language: "this is where
406
+ it lands"), the dragged source dims, and a busy row (server round-trip
407
+ in flight) dims further + suspends pointer events so it can't be re-dragged
408
+ mid-move. */
409
+ .sh-row.is-drop-target {
410
+ background: var(--accent-tint);
411
+ color: var(--fg-0);
412
+ box-shadow: inset 2px 0 0 var(--accent);
413
+ }
414
+
415
+ .sh-row.is-dragging {
416
+ opacity: 0.45;
417
+ transition: opacity var(--dur-soft) var(--ease-out);
418
+ }
419
+
420
+ .sh-row.is-busy {
421
+ opacity: 0.6;
422
+ pointer-events: none;
423
+ }
424
+
425
+ @media (prefers-reduced-motion: reduce) {
426
+ .sh-row.is-dragging {
427
+ transition-duration: 1ms;
428
+ }
429
+ }
430
+
431
+ .sh-row-glyph {
432
+ width: 14px;
433
+ display: inline-flex;
434
+ justify-content: center;
435
+ color: var(--fg-2);
436
+ flex: 0 0 14px;
437
+ }
438
+
439
+ .sh-row.is-sel .sh-row-glyph {
440
+ color: var(--accent);
441
+ }
442
+
443
+ .sh-row-name {
444
+ white-space: nowrap;
445
+ overflow: hidden;
446
+ text-overflow: ellipsis;
447
+ flex: 1;
448
+ min-width: 0;
449
+ }
450
+
451
+ .sh-row-badge {
452
+ margin-left: auto;
453
+ font-family: var(--font-mono);
454
+ font-size: 10px;
455
+ line-height: 1;
456
+ min-width: 16px;
457
+ height: 16px;
458
+ padding: 0 4px;
459
+ display: inline-flex;
460
+ align-items: center;
461
+ justify-content: center;
462
+ border-radius: var(--radius-pill);
463
+ background: var(--accent);
464
+ color: var(--accent-fg);
465
+ flex: none;
466
+ }
467
+
468
+ /* DDR-174 (T15) — "reconstructed from an image, experimental" marker. Sits left
469
+ of the git/open-count badges (which already claim margin-left:auto), so this
470
+ one gets an explicit left margin instead of fighting for the auto slot.
471
+ `--status-warn` stays on the border only (a UI-component outline needs just
472
+ 3:1, which it clears) — a11y-auditor caught it also being used as 9px TEXT
473
+ color failing WCAG AA in light theme (~3.46:1 vs the required 4.5:1); the
474
+ sibling `.cv-git-badge[data-kind="M"]` avoids this by using the warn token
475
+ as a fill with a fixed dark foreground instead. Text uses `--fg-2` (the
476
+ DS's own documented AA-clearing muted-text token) so both themes pass. */
477
+ .sh-row-exp-badge {
478
+ margin-left: 6px;
479
+ font-family: var(--font-mono);
480
+ font-size: 9px;
481
+ font-weight: 700;
482
+ letter-spacing: 0.02em;
483
+ line-height: 1;
484
+ padding: 2px 4px;
485
+ display: inline-flex;
486
+ align-items: center;
487
+ justify-content: center;
488
+ border-radius: var(--radius-xs);
489
+ border: 1px dashed var(--status-warn);
490
+ color: var(--fg-2);
491
+ flex: none;
492
+ }
493
+
494
+ /* delete affordance — sibling of the row button (can't nest buttons). */
495
+ .sh-row-wrap {
496
+ position: relative;
497
+ display: flex;
498
+ align-items: center;
499
+ }
500
+
501
+ .sh-tree-item:focus-visible {
502
+ outline: none;
503
+ }
504
+
505
+ .sh-tree-item:focus-visible > .sh-row-wrap {
506
+ outline: 2px solid var(--accent);
507
+ outline-offset: -2px;
508
+ border-radius: var(--radius-sm);
509
+ }
510
+
511
+ .sh-row-wrap .sh-row {
512
+ flex: 1;
513
+ }
514
+
515
+ .sh-row-del {
516
+ position: absolute;
517
+ right: var(--space-1);
518
+ top: 50%;
519
+ transform: translateY(-50%);
520
+ appearance: none;
521
+ border: 0;
522
+ background: transparent;
523
+ color: var(--fg-2);
524
+ cursor: pointer;
525
+ width: 22px;
526
+ height: 22px;
527
+ display: grid;
528
+ place-items: center;
529
+ border-radius: var(--radius-xs);
530
+ opacity: 0;
531
+ transition: opacity var(--dur-soft) var(--ease-out);
532
+ }
533
+
534
+ /* Kept in the a11y tree (opacity, not display:none) so keyboard users reach it. */
535
+ .sh-row-wrap:hover .sh-row-del,
536
+ .sh-row-wrap:has(:focus-visible) .sh-row-del,
537
+ .sh-row-del:focus-visible {
538
+ opacity: 1;
539
+ }
540
+
541
+ /* Shift the open-comments badge AND the M/A/D/U git badge left of the delete
542
+ button on hover/focus so they don't overlap (the delete is absolute at the
543
+ row's right edge). */
544
+ .sh-row-wrap:hover .sh-row-badge,
545
+ .sh-row-wrap:focus-within .sh-row-badge,
546
+ .sh-row-wrap:hover .cv-git-badge,
547
+ .sh-row-wrap:focus-within .cv-git-badge {
548
+ margin-right: 24px;
549
+ }
550
+
551
+ .sh-row-del:hover {
552
+ color: var(--status-error);
553
+ background: color-mix(in oklab, var(--status-error) 14%, transparent);
554
+ }
555
+
556
+ /* feature-file-tree-drag-drop-folders (Task 9) — the keyboard-reachable
557
+ "⋯" trigger (Move to… / New folder here). Same treatment as .sh-row-del;
558
+ sits to ITS left when both share a row (a canvas row has delete too). */
559
+ .sh-row-menu-btn {
560
+ position: absolute;
561
+ right: var(--space-1);
562
+ top: 50%;
563
+ transform: translateY(-50%);
564
+ appearance: none;
565
+ border: 0;
566
+ background: transparent;
567
+ color: var(--fg-2);
568
+ cursor: pointer;
569
+ width: 22px;
570
+ height: 22px;
571
+ display: grid;
572
+ place-items: center;
573
+ border-radius: var(--radius-xs);
574
+ opacity: 0;
575
+ transition: opacity var(--dur-soft) var(--ease-out);
576
+ }
577
+
578
+ .sh-row-wrap:hover .sh-row-menu-btn,
579
+ .sh-row-wrap:has(:focus-visible) .sh-row-menu-btn,
580
+ .sh-row-menu-btn:focus-visible {
581
+ opacity: 1;
582
+ }
583
+
584
+ .sh-row-menu-btn:hover {
585
+ background: var(--bg-3);
586
+ color: var(--fg-0);
587
+ }
588
+
589
+ .sh-row-menu-btn.has-delete-sibling {
590
+ right: calc(var(--space-1) + 24px);
591
+ }
592
+
593
+ @media (prefers-reduced-motion: reduce) {
594
+ .sh-row-menu-btn,
595
+ .sh-row-del {
596
+ transition-duration: 1ms;
597
+ }
598
+ }
599
+
600
+ /* ═══ Task 5 — stage (iframe viewport frame) + empty state ════════════════════
601
+ * The canvas iframe (canvas-shell.tsx) renders its OWN dotted world + floating
602
+ * toolbar + minimap + zoom HUD (DDR-054, reskinned to maude in Task 7). The
603
+ * shell stage only frames it; the maude dot-grid shows in the empty/system
604
+ * state behind the iframe. NO shell-side floating chrome — that would duplicate
605
+ * the in-iframe controls. Keeps the legacy `.viewport > iframe` fill rules. */
606
+ .sh-stage {
607
+ background: var(--canvas-bg);
608
+ background-image: radial-gradient(var(--canvas-dot) 1.1px, transparent 1.2px);
609
+ background-size: var(--canvas-grid) var(--canvas-grid);
610
+ }
611
+
612
+ .sh-empty {
613
+ position: absolute;
614
+ inset: 0;
615
+ display: flex;
616
+ flex-direction: column;
617
+ align-items: center;
618
+ justify-content: center;
619
+ gap: var(--space-3);
620
+ text-align: center;
621
+ padding: var(--space-7);
622
+ pointer-events: none;
623
+ }
624
+
625
+ .sh-empty code,
626
+ .sh-empty .kbd,
627
+ .sh-empty strong {
628
+ pointer-events: auto;
629
+ }
630
+
631
+ .sh-empty-title {
632
+ font-family: var(--font-display);
633
+ font-size: var(--type-xl);
634
+ font-weight: 600;
635
+ color: var(--fg-1);
636
+ }
637
+
638
+ .sh-empty-body {
639
+ max-width: 540px;
640
+ font-size: var(--type-sm);
641
+ line-height: 1.7;
642
+ color: var(--fg-2);
643
+ }
644
+
645
+ .sh-empty-body code {
646
+ font-family: var(--font-mono);
647
+ font-size: var(--type-xs);
648
+ background: var(--bg-2);
649
+ color: var(--accent);
650
+ padding: 1px 5px;
651
+ border-radius: var(--radius-xs);
652
+ }
653
+
654
+ .sh-empty-body strong {
655
+ color: var(--fg-0);
656
+ font-weight: 600;
657
+ }
658
+
659
+ /* DDR-166 plan, Phase 2 (T7) — persistent "Setup" affordance, shown only while
660
+ the project's own setup (design system / first canvas / brand assets) is
661
+ incomplete; auto-hides once probeSetupReadiness() reports ready. */
662
+ .sh-empty-quick-setup {
663
+ pointer-events: auto;
664
+ margin-top: var(--space-1);
665
+ }
666
+
667
+ /* ═══ feature-studio-file-preview — non-canvas file preview overlay ════════
668
+ * Layered above the (still-mounted) canvas iframe / empty state so switching
669
+ * back to a canvas is instant. Shell-token only, no hardcoded colors. */
670
+ .sh-file-preview-overlay {
671
+ position: absolute;
672
+ inset: 0;
673
+ z-index: 5;
674
+ display: flex;
675
+ flex-direction: column;
676
+ background: var(--bg-1);
677
+ overflow: auto;
678
+ }
679
+
680
+ .sh-file-preview-overlay:focus-visible {
681
+ outline: 2px solid var(--accent);
682
+ outline-offset: -2px;
683
+ }
684
+
685
+ .sh-file-preview {
686
+ display: flex;
687
+ flex-direction: column;
688
+ min-height: 100%;
689
+ }
690
+
691
+ .sh-file-preview-header {
692
+ flex: none;
693
+ margin: 0;
694
+ padding: var(--space-2) var(--space-3);
695
+ font-family: var(--font-mono);
696
+ font-size: var(--type-xs);
697
+ font-weight: 400;
698
+ color: var(--fg-2);
699
+ border-bottom: 1px solid var(--border-subtle);
700
+ background: var(--bg-0);
701
+ }
702
+
703
+ .sh-file-preview-body {
704
+ flex: 1;
705
+ padding: var(--space-5);
706
+ }
707
+
708
+ .sh-file-preview-status {
709
+ color: var(--fg-2);
710
+ font-size: var(--type-sm);
711
+ }
712
+
713
+ .sh-file-preview-error {
714
+ color: var(--status-error);
715
+ }
716
+
717
+ .sh-file-preview-text {
718
+ font-family: var(--font-mono);
719
+ font-size: var(--type-xs);
720
+ line-height: 1.6;
721
+ color: var(--fg-1);
722
+ white-space: pre-wrap;
723
+ word-break: break-word;
724
+ background: var(--bg-0);
725
+ border: 1px solid var(--border-subtle);
726
+ border-radius: var(--radius-sm);
727
+ padding: var(--space-3);
728
+ }
729
+
730
+ .sh-file-preview-markdown {
731
+ max-width: 720px;
732
+ color: var(--fg-1);
733
+ }
734
+
735
+ .sh-file-preview-image-wrap {
736
+ display: flex;
737
+ align-items: center;
738
+ justify-content: center;
739
+ min-height: 200px;
740
+ background-image:
741
+ linear-gradient(45deg, var(--bg-2) 25%, transparent 25%),
742
+ linear-gradient(-45deg, var(--bg-2) 25%, transparent 25%),
743
+ linear-gradient(45deg, transparent 75%, var(--bg-2) 75%),
744
+ linear-gradient(-45deg, transparent 75%, var(--bg-2) 75%);
745
+ background-size: 16px 16px;
746
+ background-position:
747
+ 0 0,
748
+ 0 8px,
749
+ 8px -8px,
750
+ -8px 0;
751
+ border: 1px solid var(--border-subtle);
752
+ border-radius: var(--radius-sm);
753
+ }
754
+
755
+ .sh-file-preview-image-wrap {
756
+ position: relative;
757
+ }
758
+
759
+ .sh-file-preview-image-wrap.is-loading {
760
+ min-height: 50vh;
761
+ }
762
+
763
+ .sh-file-preview-image {
764
+ max-width: 100%;
765
+ max-height: 70vh;
766
+ object-fit: contain;
767
+ transition: opacity var(--dur-soft) var(--ease-out);
768
+ }
769
+
770
+ /* Until it has fully arrived the photo stays hidden behind the status line —
771
+ * a half-painted or failed <img> reads as broken. */
772
+ .sh-file-preview-image-wrap.is-loading .sh-file-preview-image {
773
+ opacity: 0;
774
+ }
775
+
776
+ .sh-file-preview-loading {
777
+ position: absolute;
778
+ inset: 0;
779
+ display: flex;
780
+ flex-direction: column;
781
+ align-items: center;
782
+ justify-content: center;
783
+ gap: var(--space-2);
784
+ font-size: var(--type-sm);
785
+ color: var(--fg-2);
786
+ }
787
+
788
+ .sh-file-preview-image-wrap.is-error .sh-file-preview-loading {
789
+ position: static;
790
+ padding: var(--space-5);
791
+ }
792
+
793
+ .sh-file-preview-spinner {
794
+ width: 20px;
795
+ height: 20px;
796
+ border-radius: 50%;
797
+ border: 2px solid var(--bg-3);
798
+ border-top-color: var(--accent);
799
+ animation: sh-spin 0.8s linear infinite;
800
+ }
801
+
802
+ @media (prefers-reduced-motion: reduce) {
803
+ .sh-file-preview-spinner {
804
+ animation-duration: 2.4s;
805
+ }
806
+ }
807
+
808
+ .sh-file-preview-media {
809
+ max-width: 100%;
810
+ max-height: 70vh;
811
+ display: block;
812
+ }
813
+
814
+ .sh-file-preview-audio {
815
+ width: 100%;
816
+ }
817
+
818
+ .sh-file-preview-font {
819
+ display: flex;
820
+ flex-direction: column;
821
+ gap: var(--space-3);
822
+ }
823
+
824
+ .sh-file-preview-font-specimen {
825
+ color: var(--fg-0);
826
+ }
827
+
828
+ .sh-file-preview-font-lg {
829
+ font-size: 40px;
830
+ line-height: 1.3;
831
+ }
832
+
833
+ .sh-file-preview-font-md {
834
+ font-size: 24px;
835
+ line-height: 1.4;
836
+ }
837
+
838
+ .sh-file-preview-font-sm {
839
+ font-size: 14px;
840
+ line-height: 1.6;
841
+ color: var(--fg-2);
842
+ word-break: break-all;
843
+ }
844
+
845
+ /* ═══ Task 6 — right panel (Inspector / Comments) + palette + toast ═══════════ */
846
+ .sh-rpanel {
847
+ background: var(--bg-1);
848
+ border-left: 1px solid var(--border-default);
849
+ display: flex;
850
+ flex-direction: column;
851
+ min-height: 0;
852
+ }
853
+
854
+ .sh-rp-tabs {
855
+ display: flex;
856
+ gap: 2px;
857
+ padding: var(--space-1) var(--space-2) 0;
858
+ border-bottom: 1px solid var(--border-subtle);
859
+ flex: none;
860
+ }
861
+
862
+ .sh-rp-tab {
863
+ appearance: none;
864
+ border: 0;
865
+ background: transparent;
866
+ cursor: pointer;
867
+ font-size: var(--type-sm);
868
+ color: var(--fg-2);
869
+ font-family: var(--font-body);
870
+ padding: var(--space-2) var(--space-2);
871
+ border-bottom: 2px solid transparent;
872
+ display: inline-flex;
873
+ align-items: center;
874
+ gap: var(--space-1);
875
+ }
876
+
877
+ .sh-rp-tab.is-active {
878
+ color: var(--fg-0);
879
+ border-bottom-color: var(--accent);
880
+ }
881
+
882
+ .sh-rp-body {
883
+ flex: 1;
884
+ overflow-y: auto;
885
+ padding: var(--space-3);
886
+ display: flex;
887
+ flex-direction: column;
888
+ gap: var(--space-3);
889
+ }
890
+
891
+ .sh-rp-hd {
892
+ font-family: var(--font-mono);
893
+ font-size: var(--type-xs);
894
+ letter-spacing: var(--tracking-wide);
895
+ text-transform: uppercase;
896
+ color: var(--fg-2);
897
+ }
898
+
899
+ /* V2-4.8b — the second half of a panel header: the artboard count (Layers), the element's text
900
+ (Inspector). Quiet, sentence case, same line. */
901
+ .sh-rp-empty {
902
+ color: var(--fg-2);
903
+ font-size: var(--type-sm);
904
+ line-height: 1.6;
905
+ display: flex;
906
+ flex-direction: column;
907
+ gap: var(--space-3);
908
+ }
909
+
910
+ /* inspector panel rows */
911
+ .sh-insp-row {
912
+ display: grid;
913
+ grid-template-columns: 56px 1fr;
914
+ align-items: center;
915
+ gap: var(--space-2);
916
+ }
917
+
918
+ .sh-insp-label {
919
+ font-family: var(--font-mono);
920
+ font-size: var(--type-xs);
921
+ color: var(--fg-2);
922
+ text-transform: uppercase;
923
+ letter-spacing: var(--tracking-wide);
924
+ }
925
+
926
+ /* ─── Floating status banners (sync / git-lifecycle) ──────────────────────── */
927
+ @keyframes sh-slide-down {
928
+ from {
929
+ opacity: 0;
930
+ transform: translate(-50%, -6px);
931
+ }
932
+ to {
933
+ opacity: 1;
934
+ transform: translate(-50%, 0);
935
+ }
936
+ }
937
+
938
+ /* ─── Command palette (⌘K) ───────────────────────────────────────────────── */
939
+ /* The informational role notice sits BELOW a modal's scrim (9000): it covered
940
+ the preview dialog's own header (S19). Warnings and errors keep
941
+ the v1 banner's 9100 and stay visible over a dialog. */
942
+ .sh-scrim {
943
+ position: fixed;
944
+ inset: 0;
945
+ background: color-mix(in oklab, var(--bg-0) 62%, transparent);
946
+ z-index: 9000;
947
+ display: grid;
948
+ place-items: start center;
949
+ padding-top: 12vh;
950
+ }
951
+
952
+ .sh-palette {
953
+ width: 560px;
954
+ max-width: 92vw;
955
+ background: var(--bg-2);
956
+ border: 1px solid var(--border-default);
957
+ border-radius: var(--radius-lg);
958
+ box-shadow: var(--shadow-lg);
959
+ overflow: hidden;
960
+ animation: sh-pop var(--dur-route) var(--ease-out);
961
+ }
962
+
963
+ .sh-pal-search {
964
+ display: flex;
965
+ align-items: center;
966
+ gap: var(--space-2);
967
+ padding: var(--space-3) var(--space-4);
968
+ border-bottom: 1px solid var(--border-subtle);
969
+ color: var(--fg-2);
970
+ }
971
+
972
+ .sh-pal-search input {
973
+ flex: 1;
974
+ min-width: 0;
975
+ appearance: none;
976
+ border: 0;
977
+ background: transparent;
978
+ color: var(--fg-0);
979
+ font-size: var(--type-lg);
980
+ font-family: var(--font-body);
981
+ }
982
+
983
+ .sh-pal-search input::placeholder {
984
+ color: var(--fg-2);
985
+ }
986
+
987
+ .sh-pal-search .kbd {
988
+ margin-left: auto;
989
+ }
990
+
991
+ .sh-pal-list {
992
+ max-height: 340px;
993
+ overflow-y: auto;
994
+ padding: var(--space-1);
995
+ }
996
+
997
+ .sh-pal-group {
998
+ font-family: var(--font-body);
999
+ font-size: var(--type-xs);
1000
+ font-weight: var(--w-semibold, 600);
1001
+ color: var(--fg-2);
1002
+ padding: var(--space-2) var(--space-2) 2px;
1003
+ }
1004
+
1005
+ .sh-pal-item {
1006
+ display: flex;
1007
+ align-items: center;
1008
+ gap: var(--space-2);
1009
+ width: 100%;
1010
+ padding: var(--space-2);
1011
+ border-radius: var(--radius-sm);
1012
+ color: var(--fg-1);
1013
+ appearance: none;
1014
+ border: 0;
1015
+ background: transparent;
1016
+ cursor: pointer;
1017
+ text-align: left;
1018
+ font-family: var(--font-body);
1019
+ font-size: var(--type-sm);
1020
+ }
1021
+
1022
+ .sh-pal-item.is-active {
1023
+ background: var(--accent-tint);
1024
+ color: var(--fg-0);
1025
+ }
1026
+
1027
+ .sh-pal-label {
1028
+ flex: 1;
1029
+ }
1030
+
1031
+ .sh-pal-item .sh-pal-kbd {
1032
+ margin-left: auto;
1033
+ flex: none;
1034
+ }
1035
+
1036
+ .sh-pal-icon {
1037
+ width: 26px;
1038
+ height: 26px;
1039
+ border-radius: var(--radius-sm);
1040
+ background: var(--bg-4);
1041
+ display: grid;
1042
+ place-items: center;
1043
+ color: var(--fg-1);
1044
+ flex: none;
1045
+ }
1046
+
1047
+ .sh-pal-item.is-active .sh-pal-icon {
1048
+ background: var(--accent);
1049
+ color: var(--accent-fg);
1050
+ }
1051
+
1052
+ .sh-toast-actions {
1053
+ display: flex;
1054
+ gap: var(--space-1);
1055
+ margin-top: 2px;
1056
+ }
1057
+
1058
+ /* ─── Export & handoff dialog (Plan C P9/P10) ──────────────────────────────
1059
+ * Lifted from Studio.css `.sh-dialog*` and its format rows. Rendered inside `.sh-scrim`. */
1060
+ .sh-dialog {
1061
+ width: 540px;
1062
+ max-width: 92vw;
1063
+ background: var(--bg-1);
1064
+ border: 1px solid var(--border-default);
1065
+ border-radius: var(--radius-lg);
1066
+ box-shadow: var(--shadow-lg);
1067
+ overflow: hidden;
1068
+ animation: sh-pop var(--dur-route) var(--ease-out);
1069
+ }
1070
+
1071
+ .sh-dialog-hd {
1072
+ display: flex;
1073
+ align-items: center;
1074
+ justify-content: space-between;
1075
+ padding: var(--space-3) var(--space-4);
1076
+ border-bottom: 1px solid var(--border-subtle);
1077
+ }
1078
+
1079
+ .sh-dialog-title {
1080
+ font-family: var(--font-display);
1081
+ font-size: var(--type-lg);
1082
+ font-weight: 600;
1083
+ color: var(--fg-0);
1084
+ }
1085
+
1086
+ .sh-dialog-bd {
1087
+ padding: var(--space-4);
1088
+ display: flex;
1089
+ flex-direction: column;
1090
+ gap: var(--space-3);
1091
+ }
1092
+
1093
+ /* feature-cloud-export-render-workers — the "why is this disabled" line under the format grid. */
1094
+ .sh-dialog-row {
1095
+ display: flex;
1096
+ align-items: center;
1097
+ gap: var(--space-2);
1098
+ }
1099
+
1100
+ .sh-dialog-lbl {
1101
+ font-family: var(--font-mono);
1102
+ font-size: var(--type-xs);
1103
+ color: var(--fg-2);
1104
+ text-transform: uppercase;
1105
+ letter-spacing: var(--tracking-wide);
1106
+ }
1107
+
1108
+ .sh-select {
1109
+ flex: 1;
1110
+ appearance: none;
1111
+ background: var(--bg-2);
1112
+ color: var(--fg-0);
1113
+ border: 1px solid var(--border-default);
1114
+ border-radius: var(--radius-sm);
1115
+ padding: var(--space-1) var(--space-2);
1116
+ font-family: var(--font-body);
1117
+ font-size: var(--type-sm);
1118
+ cursor: pointer;
1119
+ }
1120
+
1121
+ .sh-dialog-ft {
1122
+ display: flex;
1123
+ align-items: center;
1124
+ gap: var(--space-2);
1125
+ justify-content: flex-end;
1126
+ padding: var(--space-3) var(--space-4);
1127
+ border-top: 1px solid var(--border-subtle);
1128
+ }
1129
+
1130
+ /* ── Unified Settings modal (feature-unified-settings-modal) ────────────────
1131
+ * One modal for every Maude preference: a vertical tab rail + an internally
1132
+ * scrolling pane, so no category can push the dialog off-screen. Extends the
1133
+ * shared .sh-dialog shell (which already clips + pops). */
1134
+ .sh-dialog.is-settings {
1135
+ width: 760px;
1136
+ }
1137
+
1138
+ /* ─── AssetPicker (feature-element-editing-robustness Stage F1) ───────────── */
1139
+ .sh-btn {
1140
+ appearance: none;
1141
+ cursor: pointer;
1142
+ display: inline-flex;
1143
+ align-items: center;
1144
+ gap: 5px;
1145
+ min-height: 28px;
1146
+ border: 1px solid var(--border-default);
1147
+ border-radius: var(--radius-sm);
1148
+ background: var(--bg-2);
1149
+ color: var(--fg-1);
1150
+ font-family: var(--font-mono);
1151
+ font-size: var(--type-xs);
1152
+ padding: 0 12px;
1153
+ transition:
1154
+ background var(--dur-soft) var(--ease-out),
1155
+ border-color var(--dur-soft) var(--ease-out);
1156
+ }
1157
+
1158
+ .sh-btn:hover {
1159
+ background: var(--bg-3);
1160
+ border-color: var(--border-strong, var(--border-default));
1161
+ }
1162
+
1163
+ .sh-btn:disabled {
1164
+ opacity: 0.55;
1165
+ cursor: default;
1166
+ }
1167
+
1168
+ .sh-asset-picker {
1169
+ width: 620px;
1170
+ }
1171
+
1172
+ .sh-ap-toolbar {
1173
+ display: flex;
1174
+ align-items: center;
1175
+ gap: var(--space-2);
1176
+ }
1177
+
1178
+ .sh-ap-err {
1179
+ color: var(--danger, #e5484d);
1180
+ font-family: var(--font-mono);
1181
+ font-size: var(--type-xs);
1182
+ }
1183
+
1184
+ .sh-ap-grid {
1185
+ display: grid;
1186
+ grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
1187
+ gap: var(--space-2);
1188
+ max-height: 52vh;
1189
+ overflow-y: auto;
1190
+ padding: 2px;
1191
+ }
1192
+
1193
+ .sh-ap-empty {
1194
+ grid-column: 1 / -1;
1195
+ color: var(--fg-2);
1196
+ font-family: var(--font-mono);
1197
+ font-size: var(--type-xs);
1198
+ padding: var(--space-5) 0;
1199
+ text-align: center;
1200
+ }
1201
+
1202
+ .sh-ap-cell {
1203
+ position: relative;
1204
+ appearance: none;
1205
+ cursor: pointer;
1206
+ display: flex;
1207
+ flex-direction: column;
1208
+ gap: 4px;
1209
+ padding: 6px;
1210
+ border: 1px solid var(--border-subtle);
1211
+ border-radius: var(--radius-sm);
1212
+ background: var(--bg-2);
1213
+ text-align: left;
1214
+ transition:
1215
+ border-color var(--dur-soft) var(--ease-out),
1216
+ background var(--dur-soft) var(--ease-out);
1217
+ }
1218
+
1219
+ .sh-ap-cell:hover {
1220
+ border-color: var(--accent, var(--border-strong, var(--border-default)));
1221
+ background: var(--bg-3);
1222
+ }
1223
+
1224
+ .sh-ap-thumb {
1225
+ width: 100%;
1226
+ aspect-ratio: 1;
1227
+ object-fit: cover;
1228
+ border-radius: var(--radius-xs);
1229
+ background: var(--bg-4, var(--bg-3));
1230
+ display: block;
1231
+ }
1232
+
1233
+ .sh-ap-name {
1234
+ font-family: var(--font-mono);
1235
+ font-size: 10px;
1236
+ color: var(--fg-2);
1237
+ white-space: nowrap;
1238
+ overflow: hidden;
1239
+ text-overflow: ellipsis;
1240
+ }
1241
+
1242
+ /* feature-bulk-media-insert — multi-select grid state + destination toggle + confirm bar */
1243
+ .sh-ap-cell[data-selected="true"] {
1244
+ border-color: var(--accent);
1245
+ background: var(--bg-3);
1246
+ }
1247
+
1248
+ .sh-ap-check {
1249
+ position: absolute;
1250
+ top: 6px;
1251
+ right: 6px;
1252
+ width: 18px;
1253
+ height: 18px;
1254
+ border-radius: var(--radius-pill);
1255
+ border: 1px solid var(--border-default);
1256
+ background: var(--bg-1);
1257
+ color: var(--accent-fg, #fff);
1258
+ display: grid;
1259
+ place-items: center;
1260
+ }
1261
+
1262
+ .sh-ap-cell[data-selected="true"] .sh-ap-check {
1263
+ background: var(--accent);
1264
+ border-color: var(--accent);
1265
+ }
1266
+
1267
+ .sh-ap-confirm {
1268
+ flex-wrap: wrap;
1269
+ }
1270
+
1271
+ .sh-ap-count {
1272
+ font-family: var(--font-mono);
1273
+ font-size: var(--type-xs);
1274
+ color: var(--fg-2);
1275
+ }
1276
+
1277
+ .sh-ap-seg {
1278
+ display: inline-flex;
1279
+ border: 1px solid var(--border-default);
1280
+ border-radius: var(--radius-sm);
1281
+ overflow: hidden;
1282
+ background: var(--bg-2);
1283
+ }
1284
+
1285
+ .sh-ap-seg-btn {
1286
+ appearance: none;
1287
+ border: 0;
1288
+ background: transparent;
1289
+ color: var(--fg-2);
1290
+ font-size: var(--type-xs);
1291
+ font-family: var(--font-mono);
1292
+ padding: var(--space-1) var(--space-2);
1293
+ cursor: pointer;
1294
+ }
1295
+
1296
+ .sh-ap-seg-btn[aria-pressed="true"] {
1297
+ background: var(--bg-4);
1298
+ color: var(--fg-0);
1299
+ }
1300
+
1301
+ .sh-ap-seg-btn:disabled {
1302
+ opacity: 0.45;
1303
+ cursor: default;
1304
+ }
1305
+
1306
+ .sh-ap-seg-btn + .sh-ap-seg-btn {
1307
+ border-left: 1px solid var(--border-subtle);
1308
+ }
1309
+
1310
+ .sh-ap-dest-note {
1311
+ font-family: var(--font-mono);
1312
+ font-size: var(--type-xs);
1313
+ color: var(--fg-2);
1314
+ }
1315
+
1316
+ .sh-ap-confirm-spacer {
1317
+ flex: 1;
1318
+ }
1319
+
1320
+ /* ─── StickerPicker (feature-whiteboard-annotation-improvements Phase 4) ──── */
1321
+ .sh-sticker-picker {
1322
+ width: 640px;
1323
+ }
1324
+
1325
+ .sh-sticker-picker .input {
1326
+ font-family: var(--font-body);
1327
+ font-size: var(--type-sm);
1328
+ color: var(--fg-0);
1329
+ background: var(--bg-3);
1330
+ border: 1px solid var(--border-default);
1331
+ border-radius: var(--radius-sm);
1332
+ padding: var(--space-2) var(--space-3);
1333
+ width: 100%;
1334
+ transition:
1335
+ border-color var(--dur-soft) var(--ease-out),
1336
+ box-shadow var(--dur-soft) var(--ease-out);
1337
+ }
1338
+
1339
+ .sh-sticker-picker .input::placeholder {
1340
+ color: var(--fg-2);
1341
+ }
1342
+
1343
+ .sh-sticker-picker .input:focus {
1344
+ outline: none;
1345
+ border-color: var(--accent);
1346
+ box-shadow: 0 0 0 3px var(--accent-tint);
1347
+ }
1348
+
1349
+ .sh-sp-body {
1350
+ max-height: 56vh;
1351
+ overflow-y: auto;
1352
+ padding: 2px;
1353
+ display: flex;
1354
+ flex-direction: column;
1355
+ gap: var(--space-4);
1356
+ }
1357
+
1358
+ .sh-sp-cell {
1359
+ appearance: none;
1360
+ cursor: pointer;
1361
+ display: flex;
1362
+ flex-direction: column;
1363
+ align-items: center;
1364
+ padding: 6px;
1365
+ border: 1px solid var(--border-subtle);
1366
+ border-radius: var(--radius-sm);
1367
+ background: var(--bg-2);
1368
+ transition:
1369
+ border-color var(--dur-soft) var(--ease-out),
1370
+ background var(--dur-soft) var(--ease-out);
1371
+ }
1372
+
1373
+ .sh-sp-cell:hover {
1374
+ border-color: var(--accent, var(--border-strong, var(--border-default)));
1375
+ background: var(--bg-3);
1376
+ }
1377
+
1378
+ .sh-sp-thumb {
1379
+ width: 100%;
1380
+ aspect-ratio: 1;
1381
+ object-fit: contain;
1382
+ display: block;
1383
+ }
1384
+
1385
+ .sh-sp-empty {
1386
+ color: var(--fg-2);
1387
+ font-family: var(--font-mono);
1388
+ font-size: var(--type-xs);
1389
+ padding: var(--space-5) 0;
1390
+ text-align: center;
1391
+ }
1392
+
1393
+ .sh-sp-ft {
1394
+ display: flex;
1395
+ flex-wrap: wrap;
1396
+ gap: var(--space-1) var(--space-3);
1397
+ padding: var(--space-2) var(--space-4);
1398
+ border-top: 1px solid var(--border-subtle);
1399
+ font-family: var(--font-mono);
1400
+ font-size: 10px;
1401
+ color: var(--fg-2);
1402
+ }
1403
+
1404
+ .sh-sp-ft a {
1405
+ color: var(--fg-2);
1406
+ }
1407
+
1408
+ /* ─── Inspector panel fields / layers / css (Plan C P11–P13) ───────────────
1409
+ * Lifted from Studio.css; complements the already-present `.sh-insp-row`,
1410
+ * `.sh-insp-label`, `.sh-rp-*`. */
1411
+ .sh-insp-fields {
1412
+ display: flex;
1413
+ gap: var(--space-1);
1414
+ flex-wrap: wrap;
1415
+ align-items: center;
1416
+ }
1417
+
1418
+ .sh-insp-unit {
1419
+ align-self: center;
1420
+ font-family: var(--font-mono);
1421
+ font-size: 10px;
1422
+ color: var(--fg-2);
1423
+ letter-spacing: var(--tracking-wide);
1424
+ }
1425
+
1426
+ .sh-insp-swatch {
1427
+ display: block;
1428
+ width: 18px;
1429
+ height: 18px;
1430
+ border-radius: var(--radius-xs);
1431
+ border: 1px solid var(--border-default);
1432
+ flex: none;
1433
+ }
1434
+
1435
+ .sh-layer {
1436
+ display: flex;
1437
+ align-items: center;
1438
+ gap: var(--space-1);
1439
+ padding: var(--space-1);
1440
+ border-radius: var(--radius-xs);
1441
+ font-size: var(--type-sm);
1442
+ color: var(--fg-1);
1443
+ /* gate-b-polish3 (08/14) — Layers speaks the body face; mono stays in Advanced (Show tags and ids) */
1444
+ font-family: var(--font-body);
1445
+ }
1446
+
1447
+ .sh-layer:hover {
1448
+ background: var(--bg-2);
1449
+ }
1450
+
1451
+ /* maude signature — selection is an accent-tint wash + an inset 2px accent bar,
1452
+ * never a solid fill (DS hard rule). */
1453
+ .sh-layer.is-sel {
1454
+ background: var(--accent-tint);
1455
+ color: var(--fg-0);
1456
+ box-shadow: inset 2px 0 0 var(--accent);
1457
+ }
1458
+
1459
+ /* Phase 12 Task 4 — browsable layers tree rows */
1460
+ .sh-layer--row {
1461
+ cursor: pointer;
1462
+ padding: 3px var(--space-1);
1463
+ gap: 4px;
1464
+ white-space: nowrap;
1465
+ }
1466
+
1467
+ .sh-layer--row:focus-visible {
1468
+ outline: 2px solid var(--accent);
1469
+ outline-offset: -2px;
1470
+ }
1471
+
1472
+ .sh-layer-caret {
1473
+ flex: none;
1474
+ width: 14px;
1475
+ height: 14px;
1476
+ display: inline-flex;
1477
+ align-items: center;
1478
+ justify-content: center;
1479
+ background: transparent;
1480
+ border: 0;
1481
+ color: var(--fg-2);
1482
+ font-size: 9px;
1483
+ line-height: 1;
1484
+ cursor: pointer;
1485
+ padding: 0;
1486
+ }
1487
+
1488
+ .sh-layer-label {
1489
+ flex: 1 1 auto;
1490
+ overflow: hidden;
1491
+ text-overflow: ellipsis;
1492
+ }
1493
+
1494
+ .sh-layer-type {
1495
+ flex: none;
1496
+ font-size: var(--type-xs);
1497
+ color: var(--fg-2);
1498
+ }
1499
+
1500
+ /* Phase 12.3 (W3.1) — type icon tint + per-row visibility (eye) toggle. */
1501
+ .sh-layer-ticon {
1502
+ flex: none;
1503
+ color: var(--fg-2);
1504
+ }
1505
+
1506
+ .sh-layer.is-sel .sh-layer-ticon {
1507
+ color: var(--accent);
1508
+ }
1509
+
1510
+ .sh-layer-eye {
1511
+ flex: none;
1512
+ width: 18px;
1513
+ height: 18px;
1514
+ display: inline-flex;
1515
+ align-items: center;
1516
+ justify-content: center;
1517
+ background: transparent;
1518
+ border: 0;
1519
+ color: var(--fg-2);
1520
+ cursor: pointer;
1521
+ padding: 0;
1522
+ border-radius: var(--radius-xs);
1523
+ opacity: 0;
1524
+ }
1525
+
1526
+ .sh-layer--row:hover .sh-layer-eye,
1527
+ .sh-layer--row:focus-within .sh-layer-eye {
1528
+ opacity: 1;
1529
+ }
1530
+
1531
+ .sh-layer-eye:hover {
1532
+ color: var(--fg-0);
1533
+ background: var(--bg-3);
1534
+ }
1535
+
1536
+ .sh-layer-eye:focus-visible {
1537
+ outline: none;
1538
+ color: var(--accent);
1539
+ box-shadow: 0 0 0 2px var(--accent-tint);
1540
+ }
1541
+
1542
+ /* feature-4 T7 — synthetic group row (unstamped wrapper): a muted, italic
1543
+ structural stand-in. Not selectable, not draggable, no eye — it exists only
1544
+ to restore real nesting in the tree. The folder icon reads as "container". */
1545
+ .sh-layer.is-group {
1546
+ cursor: default;
1547
+ color: var(--fg-2);
1548
+ }
1549
+
1550
+ .sh-layer.is-group .sh-layer-label {
1551
+ font-style: italic;
1552
+ }
1553
+
1554
+ .sh-layer.is-group .sh-layer-type {
1555
+ opacity: 0.7;
1556
+ }
1557
+
1558
+ .sh-layer.is-group:hover {
1559
+ background: var(--bg-2);
1560
+ }
1561
+
1562
+ /* feature-4 T7a — component-instance rows (Figma purple). ◆ = the component's
1563
+ own frame root, ◇ = an inner member. The purple is deliberately Figma-adjacent
1564
+ so the vocabulary transfers. */
1565
+ .sh-layer.is-instance {
1566
+ color: var(--layer-instance, #a78bfa);
1567
+ }
1568
+
1569
+ .sh-layer.is-instance .sh-layer-label {
1570
+ color: var(--layer-instance, #a78bfa);
1571
+ }
1572
+
1573
+ .sh-layer.is-instance .sh-layer-type {
1574
+ color: var(--layer-instance, #a78bfa);
1575
+ opacity: 0.75;
1576
+ }
1577
+
1578
+ .sh-layer-inst-glyph {
1579
+ flex: none;
1580
+ width: 14px;
1581
+ text-align: center;
1582
+ font-size: 10px;
1583
+ color: var(--layer-instance, #a78bfa);
1584
+ }
1585
+
1586
+ .sh-layer.is-sel.is-instance {
1587
+ box-shadow: inset 2px 0 0 var(--layer-instance, #a78bfa);
1588
+ }
1589
+
1590
+ /* feature-4 T7b — locked rows: padlock stays visible when locked; dimmed label. */
1591
+ .sh-layer-lock {
1592
+ flex: none;
1593
+ width: 18px;
1594
+ height: 18px;
1595
+ display: inline-flex;
1596
+ align-items: center;
1597
+ justify-content: center;
1598
+ background: transparent;
1599
+ border: 0;
1600
+ color: var(--fg-2);
1601
+ cursor: pointer;
1602
+ padding: 0;
1603
+ border-radius: var(--radius-xs);
1604
+ opacity: 0;
1605
+ }
1606
+
1607
+ .sh-layer--row:hover .sh-layer-lock,
1608
+ .sh-layer--row:focus-within .sh-layer-lock {
1609
+ opacity: 1;
1610
+ }
1611
+
1612
+ .sh-layer-lock:hover {
1613
+ color: var(--fg-0);
1614
+ background: var(--bg-3);
1615
+ }
1616
+
1617
+ .sh-layer-lock:focus-visible {
1618
+ outline: none;
1619
+ color: var(--accent);
1620
+ box-shadow: 0 0 0 2px var(--accent-tint);
1621
+ }
1622
+
1623
+ .sh-layer.is-locked .sh-layer-lock {
1624
+ opacity: 1;
1625
+ color: var(--fg-1);
1626
+ }
1627
+
1628
+ .sh-layer.is-locked .sh-layer-label {
1629
+ opacity: 0.6;
1630
+ }
1631
+
1632
+ /* feature-4 T7c — inline rename input matches the row's mono type. */
1633
+ .sh-layer-rename {
1634
+ flex: 1 1 auto;
1635
+ min-width: 40px;
1636
+ font: inherit;
1637
+ color: var(--fg-0);
1638
+ background: var(--bg-1);
1639
+ border: 1px solid var(--accent);
1640
+ border-radius: var(--radius-xs);
1641
+ padding: 0 4px;
1642
+ outline: none;
1643
+ }
1644
+
1645
+ /* a hidden layer stays dim + keeps its eye visible (so it can be re-shown) */
1646
+ .sh-layer.is-hidden {
1647
+ opacity: 0.45;
1648
+ }
1649
+
1650
+ .sh-layer.is-hidden .sh-layer-eye {
1651
+ opacity: 1;
1652
+ color: var(--fg-2);
1653
+ }
1654
+
1655
+ /* Phase 12.1 (DDR-138) — drag-to-reorder affordances (same model as the in-canvas
1656
+ drag): the dragged row floats with the cursor via an inline transform (its slot
1657
+ stays reserved). A fixed blue DIVIDER marks the drop — INDENTED (left offset) to
1658
+ the depth it will nest at (dnd-kit-tree / Figma style). */
1659
+ .sh-layer-divider {
1660
+ position: fixed;
1661
+ z-index: 60;
1662
+ height: 2px;
1663
+ background: var(--accent);
1664
+ border-radius: 1px;
1665
+ pointer-events: none;
1666
+ box-shadow: 0 0 0 1px var(--bg-0);
1667
+ }
1668
+
1669
+ .sr-only {
1670
+ position: absolute;
1671
+ width: 1px;
1672
+ height: 1px;
1673
+ padding: 0;
1674
+ margin: -1px;
1675
+ overflow: hidden;
1676
+ clip: rect(0 0 0 0);
1677
+ white-space: nowrap;
1678
+ border: 0;
1679
+ }
1680
+
1681
+ .insp-cp-prov.is-resettable:hover {
1682
+ box-shadow: 0 0 0 3px var(--bg-4);
1683
+ }
1684
+
1685
+ /* ═══ DS-parity polish (specimen sweep) ═══════════════════════════════════════
1686
+ * Gaps found auditing the shell against `.design/system/maude/preview/*`:
1687
+ * focus-visible coverage, the DS input focus ring, select chevron, unified
1688
+ * thin scrollbars, tooltip bubbles. */
1689
+ /* Catch-all keyboard focus — the DS focus specimen's ONE ring: 2px accent
1690
+ * outline at 2px offset wrapped in a 5px --accent-tint halo (`focus.css`
1691
+ * .fo-chip). :focus-visible only — mouse clicks never paint it. Inputs are
1692
+ * NOT here — they take the DS input recipe (accent border + 3px tint ring). */
1693
+ .maude :is(button, [role="tab"], select, summary, a):focus-visible {
1694
+ outline: 2px solid var(--accent);
1695
+ outline-offset: 2px;
1696
+ box-shadow: 0 0 0 5px var(--accent-tint);
1697
+ }
1698
+
1699
+ /* tight rows inside scrollers — the inset variant so the ring never clips
1700
+ * (focus.css .fo-tree .tree-row recipe). */
1701
+ .maude
1702
+ :is(
1703
+ .sh-row,
1704
+ .sh-dd-item,
1705
+ .sh-pal-item,
1706
+ .sh-layer,
1707
+ .sh-tree-sec-hd,
1708
+ .sh-cm-group-hd
1709
+ ):focus-visible {
1710
+ outline-offset: -2px;
1711
+ box-shadow: inset 0 0 0 5px var(--accent-tint);
1712
+ }
1713
+
1714
+ .sh-select:hover {
1715
+ border-color: var(--border-strong);
1716
+ background-color: var(--bg-3);
1717
+ }
1718
+
1719
+ .sh-select:focus-visible {
1720
+ outline: none;
1721
+ border-color: var(--accent);
1722
+ box-shadow: 0 0 0 3px var(--accent-tint);
1723
+ }
1724
+
1725
+ /* palette search — the container is the field; the inner input stays naked */
1726
+ .sh-pal-search input:focus {
1727
+ outline: none;
1728
+ }
1729
+
1730
+ .sh-pal-search:focus-within {
1731
+ border-bottom-color: var(--accent-muted);
1732
+ }
1733
+
1734
+ /* select chevron: one kit caret for every native <select> lives in 3-kit-maude-v2.css (Phase 8 C1-kit). */
1735
+ /* unified thin scrollbars — one material everywhere (tree, panels, palette,
1736
+ * system view, modals). Hairline thumb, transparent track. */
1737
+ .maude * {
1738
+ scrollbar-width: thin;
1739
+ scrollbar-color: var(--border-default) transparent;
1740
+ }
1741
+
1742
+ .maude ::-webkit-scrollbar {
1743
+ width: 8px;
1744
+ height: 8px;
1745
+ }
1746
+
1747
+ .maude ::-webkit-scrollbar-track {
1748
+ background: transparent;
1749
+ }
1750
+
1751
+ .maude ::-webkit-scrollbar-thumb {
1752
+ background: var(--border-default);
1753
+ border-radius: var(--radius-pill);
1754
+ border: 2px solid transparent;
1755
+ background-clip: padding-box;
1756
+ }
1757
+
1758
+ .maude ::-webkit-scrollbar-thumb:hover {
1759
+ background-color: var(--border-strong);
1760
+ }
1761
+
1762
+ /* tooltip bubble — DS `components-tooltips` recipe (bg-2 hairline bubble), CSS
1763
+ * attr-driven so chrome controls opt in via `data-tip` without a JS layer.
1764
+ * 500ms reveal delay ≈ native tooltip timing; reduced-motion shows instantly. */
1765
+ .maude [data-tip] {
1766
+ position: relative;
1767
+ }
1768
+
1769
+ .maude [data-tip]::after {
1770
+ content: attr(data-tip);
1771
+ position: absolute;
1772
+ top: calc(100% + 7px);
1773
+ left: 50%;
1774
+ transform: translateX(-50%);
1775
+ z-index: 9200;
1776
+ white-space: nowrap;
1777
+ padding: var(--space-1) var(--space-2);
1778
+ background: var(--bg-2);
1779
+ color: var(--fg-0);
1780
+ font-family: var(--font-body);
1781
+ font-size: var(--type-xs);
1782
+ font-weight: 400;
1783
+ letter-spacing: normal;
1784
+ text-transform: none;
1785
+ line-height: 1;
1786
+ border: 1px solid var(--border-default);
1787
+ border-radius: var(--radius-sm);
1788
+ box-shadow: var(--shadow-md);
1789
+ pointer-events: none;
1790
+ opacity: 0;
1791
+ transition: opacity var(--dur-soft) var(--ease-out);
1792
+ }
1793
+
1794
+ .maude [data-tip]:hover::after,
1795
+ .maude [data-tip]:focus-visible::after {
1796
+ opacity: 1;
1797
+ transition-delay: 500ms;
1798
+ }
1799
+
1800
+ /* bottom-bar + right-edge hosts flip/clamp so the bubble stays on screen */
1801
+ .maude [data-tip][data-tip-pos="top"]::after {
1802
+ top: auto;
1803
+ bottom: calc(100% + 7px);
1804
+ }
1805
+
1806
+ .maude [data-tip][data-tip-pos="left"]::after {
1807
+ top: 50%;
1808
+ left: auto;
1809
+ right: calc(100% + 7px);
1810
+ transform: translateY(-50%);
1811
+ }
1812
+
1813
+ /* ═══ Behavioral polish (specimen sweep, round 2) ═════════════════════════════ */
1814
+ /* ─── Panel grip — DS components-resize-panels recipe ──────────────────────
1815
+ * 8px hit area; the panel's own border is the at-rest hairline, the grip seam
1816
+ * surfaces accent + grip dots on hover/focus/drag. col-resize everywhere
1817
+ * while dragging; iframes drop pointer events so they can't eat the stream. */
1818
+ .sh-grip {
1819
+ flex: 0 0 8px;
1820
+ width: 8px;
1821
+ position: relative;
1822
+ cursor: col-resize;
1823
+ display: grid;
1824
+ place-items: center;
1825
+ background: transparent;
1826
+ /* sit over the adjacent panel borders so the accent seam reads centered */
1827
+ margin: 0 -4px;
1828
+ z-index: 25;
1829
+ }
1830
+
1831
+ .sh-grip::before {
1832
+ content: "";
1833
+ position: absolute;
1834
+ top: 0;
1835
+ bottom: 0;
1836
+ left: 50%;
1837
+ width: 1px;
1838
+ transform: translateX(-50%);
1839
+ background: transparent;
1840
+ transition:
1841
+ background var(--dur-flip) var(--ease-out),
1842
+ width var(--dur-flip) var(--ease-out);
1843
+ }
1844
+
1845
+ .sh-grip:hover::before,
1846
+ .sh-grip:focus-visible::before,
1847
+ .sh-grip.is-active::before {
1848
+ background: var(--accent);
1849
+ width: 2px;
1850
+ }
1851
+
1852
+ .sh-grip-dots {
1853
+ width: 6px;
1854
+ height: 18px;
1855
+ color: var(--accent);
1856
+ opacity: 0;
1857
+ position: relative;
1858
+ transition: opacity var(--dur-flip) var(--ease-out);
1859
+ }
1860
+
1861
+ .sh-grip:hover .sh-grip-dots,
1862
+ .sh-grip:focus-visible .sh-grip-dots,
1863
+ .sh-grip.is-active .sh-grip-dots {
1864
+ opacity: 1;
1865
+ }
1866
+
1867
+ /* specimen recipe — inset ring on the narrow hit area (the seam + dots already
1868
+ * surface accent, this keeps a proper outline for WCAG focus visibility) */
1869
+ .sh-grip:focus-visible {
1870
+ outline: 2px solid var(--accent);
1871
+ outline-offset: -3px;
1872
+ }
1873
+
1874
+ .sh-body.is-resizing {
1875
+ cursor: col-resize;
1876
+ user-select: none;
1877
+ }
1878
+
1879
+ .sh-body.is-resizing iframe {
1880
+ pointer-events: none;
1881
+ }
1882
+
1883
+ .sh-sidebar.is-resizing,
1884
+ .sh-rpanel.is-resizing {
1885
+ transition: none;
1886
+ }
1887
+
1888
+ /* ─── File tree before its first index (TreeLoading) ───────────────────────── */
1889
+ .sh-tree-loading {
1890
+ display: flex;
1891
+ flex-direction: column;
1892
+ gap: var(--space-1);
1893
+ padding: var(--space-2) var(--space-2) var(--space-3);
1894
+ }
1895
+
1896
+ .sh-tree-loading-head {
1897
+ display: flex;
1898
+ align-items: center;
1899
+ gap: var(--space-1);
1900
+ font-size: var(--type-sm);
1901
+ color: var(--fg-2);
1902
+ margin-bottom: 2px;
1903
+ }
1904
+
1905
+ .sh-tree-loading-row {
1906
+ height: 10px;
1907
+ }
1908
+
1909
+ .sh-tree-loading-hint {
1910
+ margin-top: var(--space-1);
1911
+ font-size: var(--type-xs);
1912
+ line-height: 1.45;
1913
+ color: var(--fg-2);
1914
+ }
1915
+
1916
+ /* ─── Canvas-compile skeleton — DS skeletons recipe (.skel pulse) ──────────── */
1917
+ .sh-canvas-loading {
1918
+ position: absolute;
1919
+ inset: 0;
1920
+ display: grid;
1921
+ place-items: center;
1922
+ pointer-events: none;
1923
+ z-index: 5;
1924
+ /* OPAQUE from the first frame — the frame underneath is the bare shell (a
1925
+ * white page, comment pins over nothing) until the canvas reports rendered. */
1926
+ background: var(--canvas-bg);
1927
+ }
1928
+
1929
+ /* 180ms appearance delay on the CARD — warm canvases mount in <150ms and never
1930
+ * flash it; the backdrop above is immediate so nothing white shows through. */
1931
+ .sh-canvas-loading > .sh-skel-card {
1932
+ opacity: 0;
1933
+ animation: sh-loading-in var(--dur-soft) var(--ease-out) 180ms forwards;
1934
+ }
1935
+
1936
+ @keyframes sh-loading-in {
1937
+ to {
1938
+ opacity: 1;
1939
+ }
1940
+ }
1941
+
1942
+ .sh-canvas-loading-head {
1943
+ display: flex;
1944
+ align-items: center;
1945
+ gap: var(--space-1);
1946
+ min-width: 0;
1947
+ }
1948
+
1949
+ .sh-canvas-loading-title {
1950
+ font-size: var(--type-sm);
1951
+ color: var(--fg-1);
1952
+ white-space: nowrap;
1953
+ overflow: hidden;
1954
+ text-overflow: ellipsis;
1955
+ }
1956
+
1957
+ .sh-canvas-loading-spinner {
1958
+ flex: none;
1959
+ width: 14px;
1960
+ height: 14px;
1961
+ border-radius: 50%;
1962
+ border: 2px solid var(--bg-3);
1963
+ border-top-color: var(--accent);
1964
+ animation: sh-spin 0.8s linear infinite;
1965
+ }
1966
+
1967
+ @keyframes sh-spin {
1968
+ to {
1969
+ transform: rotate(360deg);
1970
+ }
1971
+ }
1972
+
1973
+ .sh-canvas-loading-hint {
1974
+ font-size: var(--type-xs);
1975
+ line-height: 1.45;
1976
+ color: var(--fg-2);
1977
+ opacity: 0;
1978
+ transition: opacity var(--dur-soft) var(--ease-out);
1979
+ }
1980
+
1981
+ .sh-canvas-loading-hint.is-shown {
1982
+ opacity: 1;
1983
+ }
1984
+
1985
+ @media (prefers-reduced-motion: reduce) {
1986
+ .sh-canvas-loading-spinner {
1987
+ animation-duration: 2.4s;
1988
+ }
1989
+ }
1990
+
1991
+ .sh-skel-card {
1992
+ width: 300px;
1993
+ display: flex;
1994
+ flex-direction: column;
1995
+ gap: var(--space-2);
1996
+ padding: var(--space-4);
1997
+ background: var(--bg-1);
1998
+ border: 1px solid var(--border-default);
1999
+ border-radius: var(--radius-md);
2000
+ box-shadow: var(--shadow-md);
2001
+ animation: sh-pop var(--dur-panel) var(--ease-out);
2002
+ }
2003
+
2004
+ .skel {
2005
+ display: block;
2006
+ background: var(--bg-3);
2007
+ border-radius: var(--radius-xs);
2008
+ animation: sk-pulse calc(var(--dur-route) * 3) var(--ease-in-out) infinite alternate;
2009
+ }
2010
+
2011
+ @keyframes sk-pulse {
2012
+ from {
2013
+ opacity: 0.45;
2014
+ }
2015
+ to {
2016
+ opacity: 0.95;
2017
+ }
2018
+ }
2019
+
2020
+ @media (prefers-reduced-motion: reduce) {
2021
+ .skel {
2022
+ animation: none;
2023
+ opacity: 0.7;
2024
+ }
2025
+ }
2026
+
2027
+ .sh-skel-thumb {
2028
+ height: 96px;
2029
+ border-radius: var(--radius-sm);
2030
+ }
2031
+
2032
+ .sh-skel-line {
2033
+ height: 10px;
2034
+ }
2035
+
2036
+ /* ─── Canvas failed to load (issue #115) ──────────────────────────────────────
2037
+ * Replaces the blank pane the 15s skeleton cap used to leave behind. Same card
2038
+ * geometry as the skeleton so the transition from "compiling" to "it didn't"
2039
+ * reads as one surface changing state, not a new thing appearing. Interactive
2040
+ * (the skeleton is `pointer-events: none`; this one has a button). */
2041
+ .sh-canvas-error {
2042
+ position: absolute;
2043
+ inset: 0;
2044
+ display: grid;
2045
+ place-items: center;
2046
+ z-index: 6;
2047
+ background: var(--canvas-bg);
2048
+ }
2049
+
2050
+ .sh-canvas-error-card {
2051
+ width: 360px;
2052
+ max-width: calc(100% - var(--space-7));
2053
+ display: flex;
2054
+ flex-direction: column;
2055
+ gap: var(--space-2);
2056
+ padding: var(--space-4);
2057
+ background: var(--bg-1);
2058
+ border: 1px solid var(--border-default);
2059
+ border-radius: var(--radius-md);
2060
+ box-shadow: var(--shadow-md);
2061
+ animation: sh-pop var(--dur-panel) var(--ease-out);
2062
+ }
2063
+
2064
+ .sh-canvas-error-title {
2065
+ font-family: var(--font-display);
2066
+ font-size: var(--type-base);
2067
+ font-weight: 600;
2068
+ color: var(--fg-0);
2069
+ }
2070
+
2071
+ .sh-canvas-error-body {
2072
+ font-size: var(--type-sm);
2073
+ line-height: 1.6;
2074
+ color: var(--fg-2);
2075
+ }
2076
+
2077
+ .sh-canvas-error-body code {
2078
+ font-family: var(--font-mono);
2079
+ font-size: var(--type-xs);
2080
+ background: var(--bg-2);
2081
+ color: var(--accent);
2082
+ padding: 1px 5px;
2083
+ border-radius: var(--radius-xs);
2084
+ }
2085
+
2086
+ .sh-canvas-error-card .btn {
2087
+ align-self: flex-start;
2088
+ }
2089
+
2090
+ @media (prefers-reduced-motion: reduce) {
2091
+ .sh-canvas-error-card {
2092
+ animation: none;
2093
+ }
2094
+ }
2095
+
2096
+ /* ─── Micro-motion — hover/disclosure transitions on the dense surfaces ───── */
2097
+ .sh-row,
2098
+ .sh-rp-tab,
2099
+ .sh-dd-item,
2100
+ .sh-pal-item,
2101
+ .sh-layer,
2102
+ .ex-export-recent-row {
2103
+ transition:
2104
+ background var(--dur-soft) var(--ease-out),
2105
+ border-color var(--dur-soft) var(--ease-out),
2106
+ color var(--dur-soft) var(--ease-out);
2107
+ }
2108
+
2109
+ /* right dock slides in as a panel (DS motion role: panel) */
2110
+ .sh-rpanel {
2111
+ animation: insp-panel-in var(--dur-panel) var(--ease-out);
2112
+ }
2113
+
2114
+ /* ─── Keyboard-shortcuts overlay — DS components-shortcuts-overlay recipe ──── */
2115
+ .so-overlay {
2116
+ position: relative;
2117
+ width: 100%;
2118
+ max-width: 720px;
2119
+ background: var(--bg-1);
2120
+ border: 1px solid var(--border-default);
2121
+ border-radius: var(--radius-lg);
2122
+ box-shadow: var(--shadow-lg);
2123
+ padding: var(--space-5);
2124
+ margin-top: -4vh;
2125
+ animation: so-enter var(--dur-panel) var(--ease-out) both;
2126
+ }
2127
+
2128
+ @keyframes so-enter {
2129
+ 0% {
2130
+ opacity: 0;
2131
+ transform: translateY(-6px) scale(0.99);
2132
+ }
2133
+ 100% {
2134
+ opacity: 1;
2135
+ transform: none;
2136
+ }
2137
+ }
2138
+
2139
+ .so-overlay-hd {
2140
+ display: flex;
2141
+ align-items: baseline;
2142
+ justify-content: space-between;
2143
+ gap: var(--space-3);
2144
+ margin: 0 0 var(--space-4);
2145
+ padding-bottom: var(--space-3);
2146
+ border-bottom: 1px solid var(--border-subtle);
2147
+ }
2148
+
2149
+ .so-title {
2150
+ font-family: var(--font-display);
2151
+ font-size: var(--type-lg);
2152
+ line-height: var(--lh-lg);
2153
+ font-weight: 600;
2154
+ letter-spacing: var(--tracking-tight);
2155
+ color: var(--fg-0);
2156
+ }
2157
+
2158
+ .so-columns {
2159
+ display: grid;
2160
+ grid-template-columns: repeat(2, 1fr);
2161
+ gap: var(--space-5) var(--space-6);
2162
+ }
2163
+
2164
+ .so-section-hd {
2165
+ margin: 0 0 var(--space-2);
2166
+ font-family: var(--font-body);
2167
+ font-size: var(--type-xs);
2168
+ font-weight: var(--w-semibold, 600);
2169
+ color: var(--fg-2);
2170
+ padding-bottom: var(--space-1);
2171
+ border-bottom: 1px solid var(--border-subtle);
2172
+ }
2173
+
2174
+ /* the canvas-tools column reads as the in-canvas scope — accent-muted header */
2175
+ .so-section--tools .so-section-hd {
2176
+ color: var(--accent);
2177
+ border-bottom-color: color-mix(in oklab, var(--accent) 40%, var(--border-subtle));
2178
+ }
2179
+
2180
+ .so-list {
2181
+ display: flex;
2182
+ flex-direction: column;
2183
+ gap: 2px;
2184
+ margin: 0;
2185
+ }
2186
+
2187
+ .so-pair {
2188
+ display: grid;
2189
+ grid-template-columns: 1fr auto;
2190
+ align-items: center;
2191
+ gap: var(--space-3);
2192
+ padding: 2px 2px;
2193
+ border-radius: var(--radius-xs);
2194
+ }
2195
+
2196
+ .so-pair:hover {
2197
+ background: var(--bg-2);
2198
+ }
2199
+
2200
+ .so-pair dt {
2201
+ font-size: var(--type-sm);
2202
+ color: var(--fg-1);
2203
+ }
2204
+
2205
+ .so-pair dd {
2206
+ margin: 0;
2207
+ justify-self: end;
2208
+ }
2209
+
2210
+ .so-combos {
2211
+ display: inline-flex;
2212
+ align-items: center;
2213
+ gap: var(--space-1);
2214
+ }
2215
+
2216
+ .so-or {
2217
+ font-family: var(--font-mono);
2218
+ font-size: var(--type-xs);
2219
+ color: var(--fg-2);
2220
+ padding: 0 1px;
2221
+ }
2222
+
2223
+ .so-overlay-ft {
2224
+ display: flex;
2225
+ align-items: center;
2226
+ justify-content: space-between;
2227
+ gap: var(--space-3);
2228
+ margin-top: var(--space-4);
2229
+ padding-top: var(--space-3);
2230
+ border-top: 1px solid var(--border-subtle);
2231
+ font-size: var(--type-xs);
2232
+ color: var(--fg-2);
2233
+ }
2234
+
2235
+ @media (max-width: 640px) {
2236
+ .so-columns {
2237
+ grid-template-columns: 1fr;
2238
+ }
2239
+ }
2240
+
2241
+ /* header: title + "N unsaved" pill + close, then the Changes/History tabbar */
2242
+ .gp-x {
2243
+ appearance: none;
2244
+ border: none;
2245
+ background: transparent;
2246
+ color: var(--fg-2);
2247
+ font-size: 16px;
2248
+ line-height: 1;
2249
+ cursor: pointer;
2250
+ padding: 2px 5px;
2251
+ border-radius: var(--radius-xs);
2252
+ }
2253
+
2254
+ .gp-x:hover {
2255
+ color: var(--fg-1);
2256
+ background: var(--bg-3);
2257
+ }
2258
+
2259
+ /* WKWebView-safe shell prompt modal (window.prompt is a no-op in Tauri). */
2260
+ .sh-prompt {
2261
+ width: 420px;
2262
+ max-width: 90vw;
2263
+ }
2264
+
2265
+ .sh-prompt .sh-input {
2266
+ width: 100%;
2267
+ box-sizing: border-box;
2268
+ padding: 8px 10px;
2269
+ border-radius: var(--radius-sm);
2270
+ border: 1px solid var(--bg-3);
2271
+ background: var(--bg-0);
2272
+ color: var(--fg-0);
2273
+ font-size: var(--type-sm);
2274
+ outline: none;
2275
+ }
2276
+
2277
+ .sh-prompt .sh-input:focus {
2278
+ border-color: var(--accent);
2279
+ }
2280
+
2281
+ /* DDR-150 dogfood — the right-click clip menu reuses the canvas's shared
2282
+ .dc-context-menu component. Its injected CSS reads --maude-chrome-* tokens
2283
+ that the CANVAS defines but the SHELL never set. gate-a-polish: map them to the shell's own
2284
+ ladder (theme-following, island material, body face) instead of a hard-coded dark oklch set. */
2285
+ .dc-context-menu {
2286
+ --maude-chrome-bg-2: var(--bg-2);
2287
+ --maude-chrome-fg-0: var(--fg-0);
2288
+ --maude-chrome-fg-1: var(--fg-1);
2289
+ --maude-chrome-border: var(--border-subtle);
2290
+ --maude-chrome-shadow: color-mix(in oklab, var(--fg-0) 14%, transparent);
2291
+ --maude-chrome-error: var(--status-error-text, var(--fg-0));
2292
+ --maude-chrome-font-body: var(--font-body);
2293
+ }
2294
+
2295
+ /* the changed-file list */
2296
+ .gp-list {
2297
+ flex: 1;
2298
+ overflow-y: auto;
2299
+ padding: var(--space-1) 0;
2300
+ min-height: 0;
2301
+ }
2302
+
2303
+ /* publish / get-latest bar */
2304
+ @keyframes gp-pulse {
2305
+ 0% {
2306
+ box-shadow: 0 0 0 0 color-mix(in oklab, var(--status-info) 55%, transparent);
2307
+ }
2308
+ 70% {
2309
+ box-shadow: 0 0 0 7px transparent;
2310
+ }
2311
+ 100% {
2312
+ box-shadow: 0 0 0 0 transparent;
2313
+ }
2314
+ }
2315
+
2316
+ /* ─── Presentation Mode ────────────────────────────────────────────────────
2317
+ View ▸ Presentation Mode — a non-destructive "artboards only" overlay. Hides
2318
+ every piece of shell chrome while leaving the canvas viewport (.main) mounted
2319
+ so its pan/zoom + open tabs survive an exit. The two structural rules below
2320
+ hide (a) the menubar + status bar — the .sh-shell children that aren't the
2321
+ body — and (b) the sidebar / collapsed rail / resize grips / side panels —
2322
+ the .sh-body children that aren't the viewport. The canvas iframe hides its
2323
+ OWN floating chrome (minimap, zoom pill, tool palette, annotations, comment
2324
+ pins) via the dgn:'view-chrome' bridge. Escape hatch: Esc or the pill. */
2325
+ .maude.is-present .sh-shell > :not(.sh-body) {
2326
+ display: none !important;
2327
+ }
2328
+
2329
+ .maude.is-present .sh-body > :not(.main) {
2330
+ display: none !important;
2331
+ }
2332
+
2333
+ /* Proactive "remote has updates" nudge — a full-width primary button above the dock
2334
+ trigger, shown when the tracking remote is ahead (status.remoteAhead). */
2335
+ @keyframes rb-getlatest-in {
2336
+ from {
2337
+ opacity: 0;
2338
+ transform: translateY(4px);
2339
+ }
2340
+ to {
2341
+ opacity: 1;
2342
+ transform: none;
2343
+ }
2344
+ }
2345
+
2346
+ /* feature-sync-progress-modal — the Sync panel (per-file sync rows). Reuses
2347
+ * the gp- head chrome; sp- covers only the sync-specific rows/sections. */
2348
+ .sp-body {
2349
+ flex: 1;
2350
+ overflow-y: auto;
2351
+ padding-bottom: var(--space-3);
2352
+ }
2353
+
2354
+ .sp-list {
2355
+ list-style: none;
2356
+ margin: 0;
2357
+ padding: 0;
2358
+ }
2359
+
2360
+ /* a remote-only draft (on the team's remote, not downloaded yet) reads quieter
2361
+ * than a local draft — it's a "could open" not a "yours". */
2362
+ @keyframes rb-pop-spin {
2363
+ to {
2364
+ transform: rotate(360deg);
2365
+ }
2366
+ }
2367
+
2368
+ /* new-draft inline form (anchored upward above the dock). Solid bg (not `.panel`). */
2369
+ .rb-switcher-err {
2370
+ color: var(--status-error);
2371
+ font-size: var(--type-xs);
2372
+ }
2373
+
2374
+ /* switching state (compact, in the dock). */
2375
+ .rb-switching {
2376
+ display: flex;
2377
+ align-items: center;
2378
+ gap: var(--space-1);
2379
+ padding: var(--space-1) var(--space-2);
2380
+ border: 1px solid var(--border-default);
2381
+ border-radius: var(--radius-md);
2382
+ background: var(--bg-2);
2383
+ color: var(--fg-1);
2384
+ font-size: var(--type-sm);
2385
+ }
2386
+
2387
+ .rb-switching b {
2388
+ color: var(--fg-0);
2389
+ }
2390
+
2391
+ @keyframes rb-spin {
2392
+ to {
2393
+ transform: rotate(360deg);
2394
+ }
2395
+ }
2396
+ }
2397
+
2398
+ /* from styles/4-components.css */
2399
+ @layer components {
2400
+ /* Busy state for the Save…/Download button — the bytes fetch + (native) the
2401
+ OS save-dialog handoff can take several seconds on a large export; without
2402
+ this the button just goes silent after the click. */
2403
+ .sh-btn-spin {
2404
+ display: inline-block;
2405
+ width: 11px;
2406
+ height: 11px;
2407
+ margin-right: 5px;
2408
+ vertical-align: -1px;
2409
+ border: 1.5px solid currentColor;
2410
+ border-top-color: transparent;
2411
+ border-radius: 50%;
2412
+ opacity: 0.75;
2413
+ animation: sh-btn-spin 0.7s linear infinite;
2414
+ }
2415
+
2416
+ @keyframes sh-btn-spin {
2417
+ to {
2418
+ transform: rotate(360deg);
2419
+ }
2420
+ }
2421
+
2422
+ @media (prefers-reduced-motion: reduce) {
2423
+ .sh-btn-spin {
2424
+ animation-duration: 1ms;
2425
+ }
2426
+ }
2427
+
2428
+ /* Share links reuse the shell dialog material. */
2429
+ .sh-share-btn {
2430
+ display: inline-flex;
2431
+ align-items: center;
2432
+ justify-content: center;
2433
+ width: 28px;
2434
+ height: 28px;
2435
+ border: 0;
2436
+ border-radius: var(--radius-sm);
2437
+ background: transparent;
2438
+ color: var(--fg-2);
2439
+ cursor: pointer;
2440
+ }
2441
+
2442
+ .sh-share-btn:hover {
2443
+ background: var(--bg-2);
2444
+ color: var(--fg-0);
2445
+ }
2446
+
2447
+ .sh-share-btn:disabled {
2448
+ opacity: 0.4;
2449
+ cursor: default;
2450
+ }
2451
+
2452
+ .sh-share-btn:focus-visible {
2453
+ outline: 2px solid var(--accent);
2454
+ outline-offset: 2px;
2455
+ }
2456
+ }
2457
+
2458
+ /* from styles/4-components-maude.css */
2459
+ @layer components {
2460
+ /* ─── Buttons: the maude-v2 kit button lives in 3-kit-maude-v2.css (@layer components, Phase 8 C1-kit) ─── */
2461
+ /* ─── Keyboard hint ─────────────────────────────────────────────────────── */
2462
+ /* The kit's keycap (`.design/system/maude-v2/preview/_components.css` `.kbd`): body font, 11px, 20px high,
2463
+ 20px wide at minimum, a hairline edge with a 1px floor. It was mono and ~9px with a 2px floor, so ⇧ and
2464
+ ⌥ were barely legible (design-critic warning). */
2465
+ .maude .kbd {
2466
+ display: inline-grid;
2467
+ place-items: center;
2468
+ min-width: 20px;
2469
+ height: 20px;
2470
+ padding: 0 5px;
2471
+ font-family: var(--font-body);
2472
+ font-size: var(--type-xs);
2473
+ line-height: 1;
2474
+ border-radius: var(--radius-xs);
2475
+ background: var(--bg-2);
2476
+ color: var(--fg-1);
2477
+ box-shadow:
2478
+ inset 0 -1px 0 var(--border-default),
2479
+ inset 0 0 0 0.5px var(--border-default);
2480
+ }
2481
+
2482
+ /* ─── Callout ───────────────────────────────────────────────────────────── */
2483
+ .maude .callout {
2484
+ display: flex;
2485
+ gap: var(--space-2);
2486
+ padding: var(--space-3);
2487
+ border: 1px solid var(--border-default);
2488
+ border-left-width: 3px;
2489
+ border-radius: var(--radius-sm);
2490
+ background: var(--bg-1);
2491
+ color: var(--fg-1);
2492
+ }
2493
+
2494
+ .maude .callout--info {
2495
+ border-left-color: var(--status-info);
2496
+ }
2497
+
2498
+ .maude .callout--success {
2499
+ border-left-color: var(--status-success);
2500
+ }
2501
+
2502
+ .maude .callout--warn {
2503
+ border-left-color: var(--status-warn);
2504
+ }
2505
+
2506
+ .maude .callout--error {
2507
+ border-left-color: var(--status-error);
2508
+ }
2509
+ }
2510
+
2511
+ /* ── end of the moved rules ── */
2512
+
2513
+ @layer shell {
2514
+ .sh-body {
2515
+ position: relative; /* the corner icons position against it in either layout */
2516
+ }
2517
+ .sh-body--float {
2518
+ --float-gap: 16px; /* kit: left/top var(--space-4) of the v2 ladder (v1's --space-4 is 12) */
2519
+ --island-radius: 14px; /* kit: --radius-lg of the v2 ladder (v1's is 10) */
2520
+ --island-bg: var(--bg-1);
2521
+ --island-bg-strong: var(--bg-1);
2522
+ --island-backdrop: none;
2523
+ }
2524
+ .maude[data-theme="light"] .sh-body--float {
2525
+ --island-edge: oklch(0.24 0.014 250 / 0.1);
2526
+ --island-shadow:
2527
+ 0 2px 10px oklch(0.24 0.03 250 / 0.07), 0 0.5px 1.5px oklch(0.24 0.03 250 / 0.06);
2528
+ }
2529
+ .maude[data-theme="dark"] .sh-body--float {
2530
+ --island-edge: oklch(1 0 0 / 0.09);
2531
+ --island-shadow: 0 4px 14px oklch(0 0 0 / 0.3), 0 0.5px 1.5px oklch(0 0 0 / 0.26);
2532
+ }
2533
+
2534
+ /* gate-a-polish: the kit's .island--pad (colors_and_type / _components.css) had no rule in the shell, so every
2535
+ island that asked for padding (Inspect, Exports) painted its rows flush against the edge. */
2536
+ .island--pad {
2537
+ padding: var(--space-3);
2538
+ }
2539
+
2540
+ .sh-body--float .island {
2541
+ background: var(--island-bg);
2542
+ -webkit-backdrop-filter: var(--island-backdrop);
2543
+ backdrop-filter: var(--island-backdrop);
2544
+ border-radius: var(--island-radius);
2545
+ box-shadow:
2546
+ var(--island-shadow),
2547
+ inset 0 0 0 0.5px var(--island-edge);
2548
+ color: var(--fg-0);
2549
+ }
2550
+
2551
+ /* ── dock slots ─────────────────────────────────────────────────────────────
2552
+ * The slot is a transparent, click-through frame whose padding is the 16px gap, so its inline width
2553
+ * (the user's panel width) ends exactly at the island's inner edge — the seam the grip sits on and
2554
+ * the drag math in use-shell-core measures from. */
2555
+ .sh-body--float > .sh-dockslot {
2556
+ position: absolute;
2557
+ top: 0;
2558
+ bottom: 0;
2559
+ z-index: 20;
2560
+ box-sizing: border-box;
2561
+ overflow: visible;
2562
+ pointer-events: none;
2563
+ padding: var(--float-gap);
2564
+ }
2565
+ .sh-body--float > .sh-dockslot--left {
2566
+ left: 0;
2567
+ padding-right: 0;
2568
+ /* 12 · the left panel stops above the bottom row (kit `.k-cp`: max-height calc(100% - 68px - 72px)) — the zoom pill
2569
+ and Undo/Redo sit there, and the panel's last row used to run under them */
2570
+ padding-bottom: 72px;
2571
+ /* V2-4.2: the project pill is the top-left island; the panel starts below it (kit: 68px). */
2572
+ padding-top: calc(var(--float-gap) + var(--pill-h, 40px) + var(--pill-gap, 12px));
2573
+ }
2574
+ /* a chat docked under the panel keeps the bottom edge: it IS the bottom row */
2575
+ .sh-body--float > .sh-dockslot--left.has-ai {
2576
+ padding-bottom: var(--float-gap);
2577
+ }
2578
+ .sh-body--float > .sh-dockslot--right {
2579
+ right: 0;
2580
+ padding-left: 0;
2581
+ /* V2-4.3a: the Share cluster is the top-right island; the panel starts below it (kit: 68px). */
2582
+ padding-top: calc(var(--float-gap) + var(--pill-h, 40px) + var(--pill-gap, 12px));
2583
+ }
2584
+ /* A folded AI chat leaves its icon in the slot's bottom corner (.sh-corner--ai): the panel above stops short of
2585
+ it, or the icon sat on the panel's last row (P8 B1: Version history's "Advanced · Branch, git, changed fi…").
2586
+ 28px button + the corner's own padding, and a gap. */
2587
+ .sh-body--float:has(> .sh-corner--ai) > .sh-dockslot--right {
2588
+ padding-bottom: calc(var(--float-gap) + 44px);
2589
+ }
2590
+ .sh-body--float:has(> .sh-corner--ai-left) > .sh-dockslot--left {
2591
+ padding-bottom: max(72px, calc(var(--float-gap) + 44px));
2592
+ }
2593
+ .sh-body--float .sh-dockslot-inner {
2594
+ flex: 1 1 auto;
2595
+ min-height: 0;
2596
+ display: flex;
2597
+ flex-direction: column;
2598
+ overflow: hidden;
2599
+ pointer-events: auto;
2600
+ animation: sh-island-in var(--dur-panel) var(--ease-out);
2601
+ }
2602
+ .sh-body--float .sh-dockslot-inner > .sh-sidebar,
2603
+ .sh-body--float .sh-dockslot-inner > .sh-rpanel {
2604
+ flex: 1 1 auto;
2605
+ width: 100%;
2606
+ background: transparent;
2607
+ border: 0;
2608
+ animation: none;
2609
+ }
2610
+
2611
+ /* ── the AI chat island (V2-4.4b) ───────────────────────────────────────────
2612
+ * The chat is its own island in the slot, under the main panel (kit: bottom corner, `.k-ai`). Alone it
2613
+ * sits at the bottom edge at a chat's height; with a main panel above it the two share the column and
2614
+ * the main panel gives way first. Hidden, it stays mounted (the stream survives — DDR-123). */
2615
+ .sh-dockslot > .sh-dockslot-inner.sh-dockslot-ai[hidden] {
2616
+ display: none;
2617
+ }
2618
+ .sh-body--float > .sh-dockslot {
2619
+ gap: var(--float-gap);
2620
+ }
2621
+ .sh-body--float .sh-dockslot-ai {
2622
+ flex: 0 1 var(--ai-h, 460px);
2623
+ min-height: min(260px, 100%);
2624
+ margin-top: auto;
2625
+ }
2626
+ .sh-body--float > .sh-dockslot.has-ai > .sh-dockslot-inner:not(.sh-dockslot-ai) {
2627
+ flex: 1 1 0;
2628
+ min-height: 120px;
2629
+ }
2630
+ .sh-body--float .sh-dockslot-ai > .sh-rpanel {
2631
+ flex: 1 1 auto;
2632
+ width: 100%;
2633
+ background: transparent;
2634
+ border: 0;
2635
+ }
2636
+
2637
+ /* P8 C3 — the Canvases panel (left) and Version history (right) are content-height islands per board (01 `k-cp`,
2638
+ 11 `pn-vh`, 06 `ad-vh`): the slot's frame is full height, the island is not. It hugs its rows and scrolls only
2639
+ past the window; a chat docked under it does not stretch it either. */
2640
+ .sh-body--float .sh-dockslot-inner:has(> .sh-sidebar),
2641
+ .sh-body--float > .sh-dockslot.has-ai > .sh-dockslot-inner:has(> .sh-sidebar),
2642
+ .sh-body--float .sh-dockslot-inner:has(> .vh-panel),
2643
+ .sh-body--float > .sh-dockslot.has-ai > .sh-dockslot-inner:has(> .vh-panel) {
2644
+ flex: 0 1 auto;
2645
+ min-height: 0;
2646
+ }
2647
+
2648
+ /* Pinned: the inner steps out of the box tree, so the panel is today's direct child of the slot. */
2649
+ .sh-body:not(.sh-body--float) .sh-dockslot-inner {
2650
+ display: contents;
2651
+ }
2652
+ /* ⌘\ — out of the layout, still mounted (the AI chat keeps its stream). */
2653
+ .sh-dockslot.is-hidden {
2654
+ display: none;
2655
+ }
2656
+ .sh-body--float > .sh-dockslot.is-collapsed {
2657
+ display: none;
2658
+ }
2659
+
2660
+ /* ── resize grips: on the island's inner edge ── */
2661
+ .sh-body--float > .sh-grip {
2662
+ position: absolute;
2663
+ top: var(--float-gap);
2664
+ bottom: var(--float-gap);
2665
+ margin: 0;
2666
+ z-index: 25;
2667
+ }
2668
+ .sh-body--float > .sh-grip--l {
2669
+ left: calc(var(--sb-w) - 4px);
2670
+ top: calc(var(--float-gap) + var(--pill-h, 40px) + var(--pill-gap, 12px));
2671
+ }
2672
+ .sh-body--float > .sh-grip--r {
2673
+ right: calc(var(--rp-w) - 4px);
2674
+ top: calc(var(--float-gap) + var(--pill-h, 40px) + var(--pill-gap, 12px));
2675
+ }
2676
+
2677
+ /* P8 C3 (06 ad-pinned) — the handle in use: a 6 × 32 accent pill on the seam (the dots are its hover form) and the
2678
+ chip that says what it does, on the canvas side of the seam. Shown while held, focused or hovered. */
2679
+ .sh-grip.is-active::after,
2680
+ .sh-grip:focus-visible::after {
2681
+ content: "";
2682
+ position: absolute;
2683
+ top: 50%;
2684
+ left: 50%;
2685
+ width: 6px;
2686
+ height: 32px;
2687
+ translate: -50% -50%;
2688
+ border-radius: var(--radius-pill, 999px);
2689
+ background: var(--accent);
2690
+ }
2691
+ .sh-grip.is-active .sh-grip-dots,
2692
+ .sh-grip:focus-visible .sh-grip-dots {
2693
+ opacity: 0;
2694
+ }
2695
+ .sh-grip-tip {
2696
+ position: absolute;
2697
+ top: 50%;
2698
+ z-index: 26;
2699
+ translate: 0 -50%;
2700
+ padding: var(--space-1, 4px) var(--space-2, 8px);
2701
+ border-radius: var(--radius-sm, 6px);
2702
+ background: var(--fg-0);
2703
+ color: var(--bg-2, var(--bg-1));
2704
+ font-size: var(--type-xs, 12px);
2705
+ line-height: 1.3;
2706
+ white-space: nowrap;
2707
+ pointer-events: none;
2708
+ opacity: 0;
2709
+ transition: opacity var(--dur-flip) var(--ease-out);
2710
+ }
2711
+ .sh-grip--l .sh-grip-tip {
2712
+ left: calc(100% + var(--space-2, 8px));
2713
+ }
2714
+ .sh-grip--r .sh-grip-tip {
2715
+ right: calc(100% + var(--space-2, 8px));
2716
+ }
2717
+ .sh-grip.is-active .sh-grip-tip,
2718
+ .sh-grip:focus-visible .sh-grip-tip {
2719
+ opacity: 1;
2720
+ }
2721
+
2722
+ /* ── folded corner icons ── */
2723
+ .sh-corner {
2724
+ position: absolute;
2725
+ z-index: 21;
2726
+ display: grid;
2727
+ padding: var(--space-1);
2728
+ animation: sh-island-in var(--dur-panel) var(--ease-out);
2729
+ }
2730
+ .sh-corner--left {
2731
+ left: var(--float-gap, 16px);
2732
+ top: calc(var(--float-gap, 16px) + var(--pill-h, 40px) + var(--pill-gap, 12px));
2733
+ }
2734
+ .sh-corner--right {
2735
+ right: var(--float-gap, 16px);
2736
+ /* V2-4.3a: below the Share cluster (kit: 68px). */
2737
+ top: calc(var(--float-gap, 16px) + var(--pill-h, 40px) + var(--pill-gap, 12px));
2738
+ }
2739
+ /* P8 r11 (03 `ai-long`) + rc.1 finding 6: a SHOWN AI chat reaches the top of its slot - full height, or just a long
2740
+ chat growing to the window - and a folded panel's icon at that corner stood on the chat's header and hid its Hide
2741
+ chevron. The icon stands beside the chat, on the canvas side, whatever the chat's height: --rp-w / --sb-w are the
2742
+ slot's width, which now includes the chat's own (panel-sizes.js), plus a gap. */
2743
+ .sh-body--float:has(
2744
+ > .sh-dockslot--right:not(.is-hidden):not(.is-collapsed) .sh-dockslot-ai:not([hidden])
2745
+ )
2746
+ > .sh-corner--right {
2747
+ right: calc(var(--rp-w, 0px) + var(--space-2, 8px));
2748
+ }
2749
+ .sh-body--float:has(
2750
+ > .sh-dockslot--left:not(.is-hidden):not(.is-collapsed) .sh-dockslot-ai:not([hidden])
2751
+ )
2752
+ > .sh-corner--left {
2753
+ left: calc(var(--sb-w, 0px) + var(--space-2, 8px));
2754
+ }
2755
+ .sh-corner--ai {
2756
+ right: var(--float-gap, 16px);
2757
+ bottom: var(--float-gap, 16px);
2758
+ }
2759
+ .sh-corner--ai-left {
2760
+ left: var(--float-gap, 16px);
2761
+ bottom: var(--float-gap, 16px);
2762
+ }
2763
+ .sh-corner .sh-iconbtn {
2764
+ position: relative;
2765
+ width: 28px;
2766
+ height: 28px;
2767
+ }
2768
+ .sh-corner-dot {
2769
+ position: absolute;
2770
+ top: 3px;
2771
+ right: 3px;
2772
+ width: 7px;
2773
+ height: 7px;
2774
+ border-radius: 50%;
2775
+ background: var(--accent);
2776
+ box-shadow: 0 0 0 2px var(--island-bg, var(--bg-1));
2777
+ }
2778
+ /* Pinned + ⌘\: the icons float over the canvas with the same material. */
2779
+ .sh-body:not(.sh-body--float) .sh-corner {
2780
+ background: var(--bg-1);
2781
+ border-radius: 14px;
2782
+ box-shadow: var(--shadow-md);
2783
+ }
2784
+ .sh-body:not(.sh-body--float) .sh-corner--left,
2785
+ .sh-body:not(.sh-body--float) .sh-corner--ai-left {
2786
+ left: 16px;
2787
+ }
2788
+ .sh-body:not(.sh-body--float) .sh-corner--right,
2789
+ .sh-body:not(.sh-body--float) .sh-corner--ai {
2790
+ right: 16px;
2791
+ }
2792
+ .sh-body:not(.sh-body--float) .sh-corner--right {
2793
+ top: calc(16px + var(--pill-h, 40px) + var(--pill-gap, 12px));
2794
+ }
2795
+ .sh-body:not(.sh-body--float) .sh-corner--left {
2796
+ top: calc(16px + var(--pill-h, 40px) + var(--pill-gap, 12px));
2797
+ }
2798
+ .sh-body:not(.sh-body--float) .sh-corner--ai,
2799
+ .sh-body:not(.sh-body--float) .sh-corner--ai-left {
2800
+ bottom: 16px;
2801
+ }
2802
+ /* 06 ad-pinned (a11y V4) — a folded panel's icon floats over the CANVAS: with a pinned column open on its side
2803
+ (the AI chat alone keeps the right slot shown) it stands beside that column, not over its header. */
2804
+ .sh-body:not(.sh-body--float):has(> .sh-dockslot--right:not(.is-collapsed):not(.is-hidden))
2805
+ .sh-corner--right {
2806
+ right: calc(var(--rp-w, 0px) + 16px);
2807
+ }
2808
+ .sh-body:not(.sh-body--float):has(> .sh-dockslot--left:not(.is-collapsed):not(.is-hidden))
2809
+ .sh-corner--left {
2810
+ left: calc(var(--sb-w, 0px) + 16px);
2811
+ }
2812
+
2813
+ /* S3.14 (G4, 04 md-motion): a panel that stops showing shrinks toward its corner icon. The ghost is a picture
2814
+ of it (fold-ghost.js) — no hook, no focus, no clicks — gone when the animation ends. */
2815
+ .sh-body .sh-fold-ghost {
2816
+ z-index: 20;
2817
+ transform-origin: top left;
2818
+ animation: sh-island-fold var(--dur-panel) var(--ease-out) forwards;
2819
+ }
2820
+ .sh-body .sh-fold-ghost[data-fold="top-right"] {
2821
+ transform-origin: top right;
2822
+ }
2823
+ .sh-body .sh-fold-ghost[data-fold="bottom-left"] {
2824
+ transform-origin: bottom left;
2825
+ }
2826
+ .sh-body .sh-fold-ghost[data-fold="bottom-right"] {
2827
+ transform-origin: bottom right;
2828
+ }
2829
+ @keyframes sh-island-fold {
2830
+ from {
2831
+ opacity: 1;
2832
+ transform: none;
2833
+ }
2834
+ to {
2835
+ opacity: 0;
2836
+ transform: scale(0.12);
2837
+ }
2838
+ }
2839
+ @keyframes sh-island-in {
2840
+ from {
2841
+ opacity: 0;
2842
+ transform: scale(0.96);
2843
+ }
2844
+ to {
2845
+ opacity: 1;
2846
+ transform: none;
2847
+ }
2848
+ }
2849
+ @media (prefers-reduced-motion: reduce) {
2850
+ .sh-body--float .sh-dockslot-inner,
2851
+ .sh-corner {
2852
+ animation: none;
2853
+ }
2854
+ .sh-body .sh-fold-ghost {
2855
+ display: none; /* a cut (and fold-ghost.js spawns none at 1 ms) */
2856
+ }
2857
+ }
2858
+ }