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

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 (1985) 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 +808 -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 +679 -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 +212 -0
  78. package/apps/studio/ai/run-doing.ts +106 -0
  79. package/apps/studio/ai/run-lifecycle.ts +337 -0
  80. package/apps/studio/ai/run-progress.ts +154 -0
  81. package/apps/studio/ai/runs.ts +1232 -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 +1553 -459
  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-imports.ts +23 -4
  302. package/apps/studio/canvas-lib-inline.ts +57 -3
  303. package/apps/studio/canvas-lib.tsx +1033 -263
  304. package/apps/studio/canvas-list-watch.ts +73 -2
  305. package/apps/studio/canvas-meta.schema.json +11 -0
  306. package/apps/studio/canvas-notifications.tsx +28 -3
  307. package/apps/studio/canvas-pipeline.ts +43 -8
  308. package/apps/studio/canvas-replay-keys.ts +65 -0
  309. package/apps/studio/canvas-rows.ts +116 -0
  310. package/apps/studio/canvas-shell.tsx +784 -698
  311. package/apps/studio/canvas-source/errors.ts +315 -0
  312. package/apps/studio/canvas-source/source-map.ts +69 -0
  313. package/apps/studio/canvas-theme-pill.tsx +164 -0
  314. package/apps/studio/canvas-theme.ts +133 -0
  315. package/apps/studio/canvas-top-level.ts +69 -0
  316. package/apps/studio/check/ids.ts +28 -0
  317. package/apps/studio/check/index.ts +586 -0
  318. package/apps/studio/check/link-resolver.ts +75 -0
  319. package/apps/studio/check/meta.ts +79 -0
  320. package/apps/studio/check/video.ts +352 -0
  321. package/apps/studio/client/actions/shell-key-handlers.js +450 -0
  322. package/apps/studio/client/app.jsx +2918 -1203
  323. package/apps/studio/client/canvas-url.js +241 -5
  324. package/apps/studio/client/clipboard-relay.ts +144 -0
  325. package/apps/studio/client/command-palette-match.js +4 -2
  326. package/apps/studio/client/comments-overlay.css +529 -144
  327. package/apps/studio/client/dialogs/asset-picker.jsx +77 -32
  328. package/apps/studio/client/dialogs/command-palette.jsx +453 -67
  329. package/apps/studio/client/dialogs/export-dialog.jsx +6 -781
  330. package/apps/studio/client/dialogs/help-modal.jsx +31 -2
  331. package/apps/studio/client/dialogs/shortcuts-overlay.jsx +201 -106
  332. package/apps/studio/client/edit-op-relay.ts +77 -0
  333. package/apps/studio/client/embed-view.jsx +25 -5
  334. package/apps/studio/client/export-bridge-scope.js +72 -0
  335. package/apps/studio/client/export-center.jsx +179 -369
  336. package/apps/studio/client/export-lane.js +117 -0
  337. package/apps/studio/client/export-region.ts +25 -0
  338. package/apps/studio/client/file-tree.jsx +4 -4
  339. package/apps/studio/client/fonts/LICENSE-Inter-Tight.txt +93 -0
  340. package/apps/studio/client/fonts/LICENSE-Inter.txt +93 -0
  341. package/apps/studio/client/fonts/LICENSE-JetBrains-Mono.txt +93 -0
  342. package/apps/studio/client/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  343. package/apps/studio/client/fonts/inter-latin-wght-normal.woff2 +0 -0
  344. package/apps/studio/client/fonts/inter-tight-latin-ext-wght-normal.woff2 +0 -0
  345. package/apps/studio/client/fonts/inter-tight-latin-wght-normal.woff2 +0 -0
  346. package/apps/studio/client/fonts/jetbrains-mono-latin-ext-wght-normal.woff2 +0 -0
  347. package/apps/studio/client/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  348. package/apps/studio/client/frame-cap.js +132 -0
  349. package/apps/studio/client/generate-dialog.jsx +38 -36
  350. package/apps/studio/client/github.js +85 -26
  351. package/apps/studio/client/home/HomeAsk.jsx +220 -0
  352. package/apps/studio/client/home/InviteSheet.jsx +150 -0
  353. package/apps/studio/client/home/Shelves.jsx +216 -0
  354. package/apps/studio/client/home/Starters.jsx +42 -0
  355. package/apps/studio/client/home/TargetChip.jsx +152 -0
  356. package/apps/studio/client/home/home-api.js +275 -0
  357. package/apps/studio/client/home/home-app.jsx +1884 -0
  358. package/apps/studio/client/home/home-icons.jsx +143 -0
  359. package/apps/studio/client/home/home-menu.js +43 -0
  360. package/apps/studio/client/home/home-model.js +514 -0
  361. package/apps/studio/client/home/home-starters.js +136 -0
  362. package/apps/studio/client/home/home.css +1681 -0
  363. package/apps/studio/client/home/invite-flow.js +422 -0
  364. package/apps/studio/client/home/shell-mode.js +49 -0
  365. package/apps/studio/client/hooks/annotations-hidden-toast.js +21 -0
  366. package/apps/studio/client/hooks/canvas-origin-probe.js +26 -0
  367. package/apps/studio/client/hooks/edit-scope-query.js +16 -0
  368. package/apps/studio/client/hooks/use-action-keys.jsx +121 -0
  369. package/apps/studio/client/hooks/use-canvas-bridge.jsx +881 -247
  370. package/apps/studio/client/hooks/use-git-actions.jsx +33 -12
  371. package/apps/studio/client/hooks/use-palette-and-panels.jsx +722 -287
  372. package/apps/studio/client/hooks/use-photo-and-timeline.jsx +268 -307
  373. package/apps/studio/client/hooks/use-project-data.jsx +23 -2
  374. package/apps/studio/client/hooks/use-shell-core.jsx +582 -126
  375. package/apps/studio/client/hooks/use-tabs.jsx +268 -126
  376. package/apps/studio/client/index-loader.ts +3 -1
  377. package/apps/studio/client/index.html +0 -3
  378. package/apps/studio/client/inspector/color-picker.jsx +29 -18
  379. package/apps/studio/client/inspector/css-knobs.jsx +765 -436
  380. package/apps/studio/client/inspector/css-vocab.jsx +37 -4
  381. package/apps/studio/client/inspector/ds-tokens.js +127 -15
  382. package/apps/studio/client/inspector/grid-tracks-editor.jsx +21 -15
  383. package/apps/studio/client/inspector/inspect-computed.jsx +17 -15
  384. package/apps/studio/client/inspector/inspector-panel.jsx +314 -207
  385. package/apps/studio/client/inspector/layers.jsx +90 -65
  386. package/apps/studio/client/inspector/selection.js +20 -0
  387. package/apps/studio/client/inspector/token-popover.jsx +42 -28
  388. package/apps/studio/client/inspector-controls.jsx +453 -106
  389. package/apps/studio/client/panels/BrandUploadPanel.jsx +8 -229
  390. package/apps/studio/client/panels/ChatPanel.jsx +391 -1674
  391. package/apps/studio/client/panels/CloudBar.jsx +548 -252
  392. package/apps/studio/client/panels/CollabModelInfographic.jsx +77 -20
  393. package/apps/studio/client/panels/CreateProject.jsx +224 -40
  394. package/apps/studio/client/panels/DiffView.jsx +27 -10
  395. package/apps/studio/client/panels/ElicitationPrompt.jsx +4 -3
  396. package/apps/studio/client/panels/FigmaImportPanel.jsx +12 -263
  397. package/apps/studio/client/panels/IdentityBar.jsx +262 -74
  398. package/apps/studio/client/panels/IntroVideoDialog.jsx +6 -1
  399. package/apps/studio/client/panels/PermissionPrompt.jsx +85 -9
  400. package/apps/studio/client/panels/ReadinessList.jsx +71 -46
  401. package/apps/studio/client/panels/RepoBranchSwitcher.jsx +124 -745
  402. package/apps/studio/client/panels/SettingsPanel.jsx +492 -608
  403. package/apps/studio/client/panels/SetupChecklist.jsx +10 -3
  404. package/apps/studio/client/panels/SourceConflictPanel.jsx +96 -20
  405. package/apps/studio/client/panels/SyncConsentDialog.jsx +14 -13
  406. package/apps/studio/client/panels/TeamProjects.jsx +365 -119
  407. package/apps/studio/client/panels/ToolGroup.jsx +6 -2
  408. package/apps/studio/client/panels/acp-runtime.js +127 -22
  409. package/apps/studio/client/panels/acp-usage.js +4 -1
  410. package/apps/studio/client/panels/chat-context.js +74 -5
  411. package/apps/studio/client/panels/chat-header.jsx +67 -0
  412. package/apps/studio/client/panels/chat-markdown.jsx +6 -2
  413. package/apps/studio/client/panels/file-deep-link-dialog.jsx +88 -17
  414. package/apps/studio/client/panels/file-preview.jsx +50 -24
  415. package/apps/studio/client/panels/git-grouping.js +9 -2
  416. package/apps/studio/client/panels/slash-commands.gen.js +171 -0
  417. package/apps/studio/client/panels/slash-commands.js +65 -25
  418. package/apps/studio/client/panels/timeline-media-cache.js +68 -2
  419. package/apps/studio/client/panels/timeline-parse.js +62 -22
  420. package/apps/studio/client/panels/timeline-snap.js +4 -1
  421. package/apps/studio/client/panels/transcript-view.js +9 -0
  422. package/apps/studio/client/photo-knobs.jsx +225 -46
  423. package/apps/studio/client/prefs-migrate.js +79 -0
  424. package/apps/studio/client/report-bug.jsx +59 -26
  425. package/apps/studio/client/selection-scope.js +215 -0
  426. package/apps/studio/client/share-link.js +104 -8
  427. package/apps/studio/client/shell/account-tone.js +28 -0
  428. package/apps/studio/client/shell/banners.jsx +21 -188
  429. package/apps/studio/client/shell/comments-panel.jsx +5 -176
  430. package/apps/studio/client/shell/constants.js +1 -0
  431. package/apps/studio/client/shell/dock.jsx +217 -31
  432. package/apps/studio/client/shell/drop-guard.js +52 -0
  433. package/apps/studio/client/shell/icons.jsx +165 -23
  434. package/apps/studio/client/shell/util.js +20 -33
  435. package/apps/studio/client/shell/viewport.jsx +249 -95
  436. package/apps/studio/client/shell-bus.js +82 -0
  437. package/apps/studio/client/shell-events.js +251 -0
  438. package/apps/studio/client/stamp-follow.js +62 -0
  439. package/apps/studio/client/stores/shell-store.jsx +15 -0
  440. package/apps/studio/client/styles/0-reset.css +79 -16
  441. package/apps/studio/client/styles/1-tokens-maude-v2.css +367 -0
  442. package/apps/studio/client/styles/1-tokens-shell.css +374 -0
  443. package/apps/studio/client/styles/2-layout.css +404 -24
  444. package/apps/studio/client/styles/3-kit-maude-v2.css +683 -0
  445. package/apps/studio/client/styles/_index.css +185 -18
  446. package/apps/studio/client/styles/fonts.css +63 -0
  447. package/apps/studio/client/system/system-view.jsx +52 -6
  448. package/apps/studio/client/tour/collab-tour.js +43 -38
  449. package/apps/studio/client/tour/overlay.jsx +61 -19
  450. package/apps/studio/client/tour/quick-setup-tour.js +27 -20
  451. package/apps/studio/client/tour/tour-model.js +36 -0
  452. package/apps/studio/client/tour/usage-tour.js +43 -24
  453. package/apps/studio/client/tree/tree.jsx +661 -409
  454. package/apps/studio/client/tree-expansion.js +5 -2
  455. package/apps/studio/client/tree-row-menu.jsx +43 -29
  456. package/apps/studio/client/ui-open.js +104 -0
  457. package/apps/studio/client/use-tree-drag.js +2 -0
  458. package/apps/studio/client/v2/access/access-card.jsx +54 -0
  459. package/apps/studio/client/v2/access/access-client.js +525 -0
  460. package/apps/studio/client/v2/access/access-host.jsx +328 -0
  461. package/apps/studio/client/v2/access/access.css +163 -0
  462. package/apps/studio/client/v2/access/ask-to-edit.jsx +97 -0
  463. package/apps/studio/client/v2/access/disabled-reason.js +50 -0
  464. package/apps/studio/client/v2/access/link-off-card.jsx +37 -0
  465. package/apps/studio/client/v2/access/trashed-banner.jsx +123 -0
  466. package/apps/studio/client/v2/advanced/where-matrix.js +231 -0
  467. package/apps/studio/client/v2/ai/AChip.jsx +158 -0
  468. package/apps/studio/client/v2/ai/Advanced.jsx +640 -0
  469. package/apps/studio/client/v2/ai/AiChatIsland.jsx +108 -0
  470. package/apps/studio/client/v2/ai/AskSelectionHost.jsx +173 -0
  471. package/apps/studio/client/v2/ai/AttachMenu.jsx +190 -0
  472. package/apps/studio/client/v2/ai/BigChat.jsx +195 -0
  473. package/apps/studio/client/v2/ai/ChatList.jsx +614 -0
  474. package/apps/studio/client/v2/ai/ChatUndo.jsx +164 -0
  475. package/apps/studio/client/v2/ai/ChoiceCard.jsx +178 -0
  476. package/apps/studio/client/v2/ai/Composer.jsx +655 -0
  477. package/apps/studio/client/v2/ai/ConnectSheet.jsx +118 -0
  478. package/apps/studio/client/v2/ai/Consent.jsx +66 -0
  479. package/apps/studio/client/v2/ai/DropOverlay.jsx +113 -0
  480. package/apps/studio/client/v2/ai/Feed.jsx +589 -0
  481. package/apps/studio/client/v2/ai/FoldNeeds.jsx +23 -0
  482. package/apps/studio/client/v2/ai/NeedsYouSlot.jsx +250 -0
  483. package/apps/studio/client/v2/ai/NotReady.jsx +110 -0
  484. package/apps/studio/client/v2/ai/OfferCard.jsx +165 -0
  485. package/apps/studio/client/v2/ai/PermissionCard.jsx +168 -0
  486. package/apps/studio/client/v2/ai/PickedShots.jsx +33 -0
  487. package/apps/studio/client/v2/ai/ProblemCard.jsx +41 -0
  488. package/apps/studio/client/v2/ai/QuitDialog.jsx +127 -0
  489. package/apps/studio/client/v2/ai/RawLog.jsx +68 -0
  490. package/apps/studio/client/v2/ai/Result.jsx +144 -0
  491. package/apps/studio/client/v2/ai/RunList.jsx +352 -0
  492. package/apps/studio/client/v2/ai/RunSurface.jsx +248 -0
  493. package/apps/studio/client/v2/ai/ScopeChip.jsx +239 -0
  494. package/apps/studio/client/v2/ai/SentStrip.jsx +70 -0
  495. package/apps/studio/client/v2/ai/StoppedDivider.jsx +84 -0
  496. package/apps/studio/client/v2/ai/Suggest.jsx +153 -0
  497. package/apps/studio/client/v2/ai/TurnResult.jsx +95 -0
  498. package/apps/studio/client/v2/ai/WaitingCard.jsx +133 -0
  499. package/apps/studio/client/v2/ai/WillChange.jsx +40 -0
  500. package/apps/studio/client/v2/ai/Working.jsx +74 -0
  501. package/apps/studio/client/v2/ai/advanced-handlers.js +56 -0
  502. package/apps/studio/client/v2/ai/advanced-model.js +214 -0
  503. package/apps/studio/client/v2/ai/ai-list-advanced.css +625 -0
  504. package/apps/studio/client/v2/ai/ai-may.js +75 -0
  505. package/apps/studio/client/v2/ai/ai-offer.js +178 -0
  506. package/apps/studio/client/v2/ai/ai-run.css +281 -0
  507. package/apps/studio/client/v2/ai/ai-send.js +164 -0
  508. package/apps/studio/client/v2/ai/ai.css +261 -0
  509. package/apps/studio/client/v2/ai/answer-note.js +44 -0
  510. package/apps/studio/client/v2/ai/ask-frame.js +131 -0
  511. package/apps/studio/client/v2/ai/ask-selection-lane.js +100 -0
  512. package/apps/studio/client/v2/ai/ask-selection.css +142 -0
  513. package/apps/studio/client/v2/ai/ask-selection.js +84 -0
  514. package/apps/studio/client/v2/ai/attach.css +366 -0
  515. package/apps/studio/client/v2/ai/attach.js +186 -0
  516. package/apps/studio/client/v2/ai/chat-list-model.js +333 -0
  517. package/apps/studio/client/v2/ai/chat-store-api.js +93 -0
  518. package/apps/studio/client/{styles/6-acp-chat.css → v2/ai/chat.css} +1152 -797
  519. package/apps/studio/client/v2/ai/connect-flow.js +75 -0
  520. package/apps/studio/client/v2/ai/gate-lines.js +121 -0
  521. package/apps/studio/client/v2/ai/icons.jsx +66 -0
  522. package/apps/studio/client/v2/ai/jump-model.js +61 -0
  523. package/apps/studio/client/v2/ai/made-by-ai.js +179 -0
  524. package/apps/studio/client/v2/ai/needs-you-store.js +112 -0
  525. package/apps/studio/client/v2/ai/needs-you-toast.js +104 -0
  526. package/apps/studio/client/v2/ai/needs-you.css +554 -0
  527. package/apps/studio/client/v2/ai/needs-you.js +401 -0
  528. package/apps/studio/client/v2/ai/panel-focus.js +71 -0
  529. package/apps/studio/client/v2/ai/panel.css +88 -0
  530. package/apps/studio/client/v2/ai/paste-chips.jsx +108 -0
  531. package/apps/studio/client/v2/ai/picked-shots.js +48 -0
  532. package/apps/studio/client/v2/ai/quit.css +64 -0
  533. package/apps/studio/client/v2/ai/result-shown.js +50 -0
  534. package/apps/studio/client/v2/ai/ring-relay.js +143 -0
  535. package/apps/studio/client/v2/ai/row-slots-lane.js +67 -0
  536. package/apps/studio/client/v2/ai/run-api.js +137 -0
  537. package/apps/studio/client/v2/ai/run-cards.js +31 -0
  538. package/apps/studio/client/v2/ai/run-compare.js +60 -0
  539. package/apps/studio/client/v2/ai/run-icons.jsx +53 -0
  540. package/apps/studio/client/v2/ai/run-model.js +348 -0
  541. package/apps/studio/client/v2/ai/runs-model.js +568 -0
  542. package/apps/studio/client/v2/ai/runs-store.js +161 -0
  543. package/apps/studio/client/v2/ai/runs.css +226 -0
  544. package/apps/studio/client/v2/ai/scope.js +298 -0
  545. package/apps/studio/client/v2/ai/seen-relay.js +95 -0
  546. package/apps/studio/client/v2/ai/sent-attachments.js +77 -0
  547. package/apps/studio/client/v2/ai/stopped.js +69 -0
  548. package/apps/studio/client/v2/ai/suggest-why.js +200 -0
  549. package/apps/studio/client/v2/ai/use-ai-scope.js +198 -0
  550. package/apps/studio/client/v2/ai/use-ask-ai.js +63 -0
  551. package/apps/studio/client/v2/ai/use-ask-selection.js +41 -0
  552. package/apps/studio/client/v2/ai/use-attachments.js +239 -0
  553. package/apps/studio/client/v2/ai/use-chat-runs.js +32 -0
  554. package/apps/studio/client/v2/ai/use-run-versions.js +39 -0
  555. package/apps/studio/client/v2/ai/video/ClipsAttached.jsx +23 -0
  556. package/apps/studio/client/v2/ai/video/LeftOut.jsx +29 -0
  557. package/apps/studio/client/v2/ai/video/WatchProgress.jsx +65 -0
  558. package/apps/studio/client/v2/ai/video/card-model.js +107 -0
  559. package/apps/studio/client/v2/ai/video/cards.jsx +51 -0
  560. package/apps/studio/client/v2/ai/video/clip-pic.js +12 -0
  561. package/apps/studio/client/v2/ai/video/video-cards.css +168 -0
  562. package/apps/studio/client/v2/annotations/annotation-asks.js +171 -0
  563. package/apps/studio/client/v2/annotations/annotation-list-model.js +238 -0
  564. package/apps/studio/client/v2/annotations/annotation-list.css +277 -0
  565. package/apps/studio/client/v2/annotations/annotation-list.jsx +433 -0
  566. package/apps/studio/client/v2/annotations/recent-stickers.js +64 -0
  567. package/apps/studio/client/v2/annotations/stamp-row.jsx +66 -0
  568. package/apps/studio/client/v2/annotations/stamps-glyphs.jsx +35 -0
  569. package/apps/studio/client/v2/annotations/sticker-preload.js +44 -0
  570. package/apps/studio/client/v2/annotations/sticker-search.js +155 -0
  571. package/apps/studio/client/v2/annotations/stickers-gallery.css +295 -0
  572. package/apps/studio/client/v2/annotations/stickers-gallery.jsx +454 -0
  573. package/apps/studio/client/v2/annotations/templates-panel.css +344 -0
  574. package/apps/studio/client/v2/annotations/templates-panel.jsx +240 -0
  575. package/apps/studio/client/v2/annotations/v2-scope.js +20 -0
  576. package/apps/studio/client/v2/annotations/vote-bar.jsx +212 -0
  577. package/apps/studio/client/v2/annotations/vote-sheet.jsx +200 -0
  578. package/apps/studio/client/v2/annotations/vote-store.js +392 -0
  579. package/apps/studio/client/v2/annotations/vote.css +153 -0
  580. package/apps/studio/client/v2/assets/ask-once.js +65 -0
  581. package/apps/studio/client/v2/assets/asset-drop-session.js +238 -0
  582. package/apps/studio/client/v2/assets/asset-state-lane.js +267 -0
  583. package/apps/studio/client/v2/assets/assets-bus.js +109 -0
  584. package/apps/studio/client/v2/assets/browse-model.js +90 -0
  585. package/apps/studio/client/v2/assets/browse-view.jsx +202 -0
  586. package/apps/studio/client/v2/assets/canvas-drop-catcher.jsx +114 -0
  587. package/apps/studio/client/v2/assets/connect-key-sheet.jsx +69 -0
  588. package/apps/studio/client/v2/assets/copy-asset.js +37 -0
  589. package/apps/studio/client/v2/assets/describe-client.js +156 -0
  590. package/apps/studio/client/v2/assets/describe-consent.jsx +184 -0
  591. package/apps/studio/client/v2/assets/describe.css +72 -0
  592. package/apps/studio/client/v2/assets/details-advanced.jsx +76 -0
  593. package/apps/studio/client/v2/assets/details-model.js +233 -0
  594. package/apps/studio/client/v2/assets/details.jsx +292 -0
  595. package/apps/studio/client/v2/assets/generate-ask.jsx +506 -0
  596. package/apps/studio/client/v2/assets/generated.js +83 -0
  597. package/apps/studio/client/v2/assets/import-lines.js +228 -0
  598. package/apps/studio/client/v2/assets/import-offline.js +32 -0
  599. package/apps/studio/client/v2/assets/import-toast.js +56 -0
  600. package/apps/studio/client/v2/assets/just-added.js +32 -0
  601. package/apps/studio/client/v2/assets/kinds-chip.jsx +77 -0
  602. package/apps/studio/client/v2/assets/library-foot.js +42 -0
  603. package/apps/studio/client/v2/assets/missing-frame.css +60 -0
  604. package/apps/studio/client/v2/assets/missing-frame.jsx +218 -0
  605. package/apps/studio/client/v2/assets/multi-select.js +58 -0
  606. package/apps/studio/client/v2/assets/place-asset.js +128 -0
  607. package/apps/studio/client/v2/assets/relink.js +96 -0
  608. package/apps/studio/client/v2/assets/rename-asset.js +83 -0
  609. package/apps/studio/client/v2/assets/search-marks.jsx +75 -0
  610. package/apps/studio/client/v2/assets/takes-overlay.jsx +86 -0
  611. package/apps/studio/client/v2/assets/takes.css +177 -0
  612. package/apps/studio/client/v2/assets/takes.js +224 -0
  613. package/apps/studio/client/v2/assets/tidy.jsx +144 -0
  614. package/apps/studio/client/v2/assets/tile-drag.js +53 -0
  615. package/apps/studio/client/v2/assets/tile-menu.jsx +119 -0
  616. package/apps/studio/client/v2/assets/tile.jsx +131 -0
  617. package/apps/studio/client/v2/assets/trash-assets.js +98 -0
  618. package/apps/studio/client/v2/assets/use-asset-details.js +58 -0
  619. package/apps/studio/client/v2/assets/use-assets.js +121 -0
  620. package/apps/studio/client/v2/assets/use-takes-lane.js +150 -0
  621. package/apps/studio/client/v2/canvases/canvas-icons.jsx +107 -0
  622. package/apps/studio/client/v2/canvases/canvases-panel.jsx +1466 -0
  623. package/apps/studio/client/v2/canvases/canvases.css +699 -0
  624. package/apps/studio/client/v2/canvases/covers.js +32 -0
  625. package/apps/studio/client/v2/canvases/inline-rename.jsx +122 -0
  626. package/apps/studio/client/v2/canvases/jump-list.jsx +100 -0
  627. package/apps/studio/client/v2/canvases/jump-model.js +102 -0
  628. package/apps/studio/client/v2/canvases/kept-on-this-mac.jsx +192 -0
  629. package/apps/studio/client/v2/canvases/last-canvas.js +36 -0
  630. package/apps/studio/client/v2/canvases/move-model.js +45 -0
  631. package/apps/studio/client/v2/canvases/move-sheet.jsx +91 -0
  632. package/apps/studio/client/v2/canvases/open-link.js +154 -0
  633. package/apps/studio/client/v2/canvases/panel-search.js +156 -0
  634. package/apps/studio/client/v2/canvases/rename-model.js +134 -0
  635. package/apps/studio/client/v2/canvases/row-menu.jsx +145 -0
  636. package/apps/studio/client/v2/canvases/row-slots.js +224 -0
  637. package/apps/studio/client/v2/canvases/sort.js +132 -0
  638. package/apps/studio/client/v2/canvases/support-model.js +68 -0
  639. package/apps/studio/client/v2/canvases/trash-canvas.js +120 -0
  640. package/apps/studio/client/v2/canvases/tree-model.js +760 -0
  641. package/apps/studio/client/v2/canvases/use-canvas-index.js +50 -0
  642. package/apps/studio/client/v2/canvases/use-canvases-sort.js +59 -0
  643. package/apps/studio/client/v2/canvases/use-move.js +61 -0
  644. package/apps/studio/client/v2/canvases/use-pins.js +80 -0
  645. package/apps/studio/client/v2/cloud/browser-door.js +152 -0
  646. package/apps/studio/client/v2/cloud/cloud-name.js +38 -0
  647. package/apps/studio/client/v2/code/canvas-error-card.jsx +407 -0
  648. package/apps/studio/client/v2/code/canvas-imports-card.jsx +31 -0
  649. package/apps/studio/client/v2/code/code-bus.js +63 -0
  650. package/apps/studio/client/v2/code/code-view.jsx +277 -0
  651. package/apps/studio/client/v2/code/code.css +373 -0
  652. package/apps/studio/client/v2/code/highlight.js +163 -0
  653. package/apps/studio/client/v2/code/use-canvas-source.js +338 -0
  654. package/apps/studio/client/v2/comments/comment-bridge.js +154 -0
  655. package/apps/studio/client/v2/comments/comment-client.js +84 -0
  656. package/apps/studio/client/v2/comments/comment-tool.js +18 -0
  657. package/apps/studio/client/v2/comments/comments-model.js +213 -0
  658. package/apps/studio/client/v2/comments/comments-panel.jsx +400 -0
  659. package/apps/studio/client/v2/comments/comments.css +305 -0
  660. package/apps/studio/client/v2/comments/mention-callouts.jsx +90 -0
  661. package/apps/studio/client/v2/comments/mention-model.js +118 -0
  662. package/apps/studio/client/v2/comments/native-mention-notice.js +73 -0
  663. package/apps/studio/client/v2/comments/reply-focus.js +30 -0
  664. package/apps/studio/client/v2/comments/use-comments-shell.jsx +176 -0
  665. package/apps/studio/client/v2/create/NameDialog.jsx +95 -0
  666. package/apps/studio/client/v2/create/NameDialogHost.jsx +141 -0
  667. package/apps/studio/client/v2/create/create-project.css +260 -0
  668. package/apps/studio/client/v2/create/duplicate-done.js +45 -0
  669. package/apps/studio/client/v2/create/empty-project.css +113 -0
  670. package/apps/studio/client/v2/create/empty-project.jsx +162 -0
  671. package/apps/studio/client/v2/create/first-draft.js +30 -0
  672. package/apps/studio/client/v2/create/intent-host.jsx +40 -0
  673. package/apps/studio/client/v2/create/name-dialog-bus.js +41 -0
  674. package/apps/studio/client/v2/create/name-dialog.css +36 -0
  675. package/apps/studio/client/v2/create/new-canvas.js +64 -0
  676. package/apps/studio/client/v2/create/open-sizes.js +41 -0
  677. package/apps/studio/client/v2/create/render-error.css +29 -0
  678. package/apps/studio/client/v2/create/render-error.jsx +107 -0
  679. package/apps/studio/client/v2/create/repair-offer.js +36 -0
  680. package/apps/studio/client/v2/create/take-intent.js +154 -0
  681. package/apps/studio/client/v2/create/use-project-empty.js +85 -0
  682. package/apps/studio/client/v2/create/use-render-error.js +116 -0
  683. package/apps/studio/client/v2/diagnostics/diagnostics-bus.js +47 -0
  684. package/apps/studio/client/v2/diagnostics/diagnostics-handlers.js +108 -0
  685. package/apps/studio/client/v2/diagnostics/diagnostics-host.jsx +196 -0
  686. package/apps/studio/client/v2/diagnostics/diagnostics-model.js +253 -0
  687. package/apps/studio/client/v2/diagnostics/diagnostics-sheet.jsx +557 -0
  688. package/apps/studio/client/v2/diagnostics/diagnostics.css +612 -0
  689. package/apps/studio/client/v2/diagnostics/resync-model.js +51 -0
  690. package/apps/studio/client/v2/diagnostics/resync-run.js +79 -0
  691. package/apps/studio/client/v2/diagnostics/sync-actions.js +38 -0
  692. package/apps/studio/client/v2/diagnostics/sync-details/sync-details-model.js +241 -0
  693. package/apps/studio/client/v2/diagnostics/sync-details/sync-details.jsx +392 -0
  694. package/apps/studio/client/v2/diagnostics/use-diagnostics-menu.js +58 -0
  695. package/apps/studio/client/v2/ds/advanced-bus.js +40 -0
  696. package/apps/studio/client/v2/ds/advanced-host.jsx +228 -0
  697. package/apps/studio/client/v2/ds/advanced-model.js +110 -0
  698. package/apps/studio/client/v2/ds/advanced-store.js +47 -0
  699. package/apps/studio/client/v2/ds/advanced.css +277 -0
  700. package/apps/studio/client/v2/ds/advanced.jsx +203 -0
  701. package/apps/studio/client/v2/ds/check-card.jsx +80 -0
  702. package/apps/studio/client/v2/ds/colour-picker.jsx +121 -0
  703. package/apps/studio/client/v2/ds/colour-words.js +48 -0
  704. package/apps/studio/client/v2/ds/conflict-pick.jsx +151 -0
  705. package/apps/studio/client/v2/ds/contrast-warning.jsx +80 -0
  706. package/apps/studio/client/v2/ds/contrast.js +137 -0
  707. package/apps/studio/client/v2/ds/convert-dialog.jsx +133 -0
  708. package/apps/studio/client/v2/ds/convert-host.jsx +143 -0
  709. package/apps/studio/client/v2/ds/convert-model.js +221 -0
  710. package/apps/studio/client/v2/ds/default-write.js +69 -0
  711. package/apps/studio/client/v2/ds/direction-bar.jsx +287 -0
  712. package/apps/studio/client/v2/ds/door-write.js +163 -0
  713. package/apps/studio/client/v2/ds/edge-model.js +151 -0
  714. package/apps/studio/client/v2/ds/edge-write.js +91 -0
  715. package/apps/studio/client/v2/ds/edges.css +152 -0
  716. package/apps/studio/client/v2/ds/follower-swap.js +88 -0
  717. package/apps/studio/client/v2/ds/go-to.js +71 -0
  718. package/apps/studio/client/v2/ds/kinds/master.jsx +214 -0
  719. package/apps/studio/client/v2/ds/kinds/token.jsx +546 -0
  720. package/apps/studio/client/v2/ds/library-bus.js +43 -0
  721. package/apps/studio/client/v2/ds/library-card.jsx +379 -0
  722. package/apps/studio/client/v2/ds/library-host.jsx +436 -0
  723. package/apps/studio/client/v2/ds/library-model.js +305 -0
  724. package/apps/studio/client/v2/ds/library-store.js +45 -0
  725. package/apps/studio/client/v2/ds/library.css +148 -0
  726. package/apps/studio/client/v2/ds/make-host.jsx +244 -0
  727. package/apps/studio/client/v2/ds/make-model.js +208 -0
  728. package/apps/studio/client/v2/ds/make-sheet.jsx +264 -0
  729. package/apps/studio/client/v2/ds/make-write.js +90 -0
  730. package/apps/studio/client/v2/ds/make.css +242 -0
  731. package/apps/studio/client/v2/ds/master-write.js +145 -0
  732. package/apps/studio/client/v2/ds/new-canvas-default.js +89 -0
  733. package/apps/studio/client/v2/ds/off-system-host.jsx +107 -0
  734. package/apps/studio/client/v2/ds/off-system.jsx +101 -0
  735. package/apps/studio/client/v2/ds/outside-banner.jsx +153 -0
  736. package/apps/studio/client/v2/ds/pinned-rows.js +138 -0
  737. package/apps/studio/client/v2/ds/pins.js +102 -0
  738. package/apps/studio/client/v2/ds/preview-bar.jsx +220 -0
  739. package/apps/studio/client/v2/ds/preview-doors.js +47 -0
  740. package/apps/studio/client/v2/ds/preview-mode.js +163 -0
  741. package/apps/studio/client/v2/ds/reach-data.js +68 -0
  742. package/apps/studio/client/v2/ds/reach-model.js +184 -0
  743. package/apps/studio/client/v2/ds/reach-view.jsx +577 -0
  744. package/apps/studio/client/v2/ds/reach.css +298 -0
  745. package/apps/studio/client/v2/ds/rename-write.js +88 -0
  746. package/apps/studio/client/v2/ds/review-bus.js +41 -0
  747. package/apps/studio/client/v2/ds/review-host.jsx +438 -0
  748. package/apps/studio/client/v2/ds/review-model.js +307 -0
  749. package/apps/studio/client/v2/ds/review-sheet.jsx +390 -0
  750. package/apps/studio/client/v2/ds/review.css +894 -0
  751. package/apps/studio/client/v2/ds/row-dots.js +41 -0
  752. package/apps/studio/client/v2/ds/switch-bus.js +56 -0
  753. package/apps/studio/client/v2/ds/switch-host.jsx +241 -0
  754. package/apps/studio/client/v2/ds/switch-model.js +254 -0
  755. package/apps/studio/client/v2/ds/switch-sheet.jsx +364 -0
  756. package/apps/studio/client/v2/ds/switch.css +263 -0
  757. package/apps/studio/client/v2/ds/system-menu.jsx +81 -0
  758. package/apps/studio/client/v2/ds/system-rename.jsx +102 -0
  759. package/apps/studio/client/v2/ds/token-write.js +241 -0
  760. package/apps/studio/client/v2/ds/token.css +185 -0
  761. package/apps/studio/client/v2/ds/trash-token-sheet.jsx +112 -0
  762. package/apps/studio/client/v2/ds/truth-card.jsx +85 -0
  763. package/apps/studio/client/v2/ds/truth-host.jsx +239 -0
  764. package/apps/studio/client/v2/ds/truth-model.js +315 -0
  765. package/apps/studio/client/v2/ds/truth-store.js +45 -0
  766. package/apps/studio/client/v2/ds/truth.css +143 -0
  767. package/apps/studio/client/v2/ds/update-available.jsx +261 -0
  768. package/apps/studio/client/v2/ds/update-dots.js +103 -0
  769. package/apps/studio/client/v2/ds/update-model.js +295 -0
  770. package/apps/studio/client/v2/ds/upgrade-bus.js +40 -0
  771. package/apps/studio/client/v2/ds/upgrade-host.jsx +185 -0
  772. package/apps/studio/client/v2/ds/upgrade-model.js +266 -0
  773. package/apps/studio/client/v2/ds/upgrade-offers.js +34 -0
  774. package/apps/studio/client/v2/ds/upgrade-sheet.jsx +277 -0
  775. package/apps/studio/client/v2/ds/upgrade.css +166 -0
  776. package/apps/studio/client/v2/ds/use-covers.js +27 -0
  777. package/apps/studio/client/v2/ds/use-ds-frames.js +165 -0
  778. package/apps/studio/client/v2/ds/use-ds-model.js +61 -0
  779. package/apps/studio/client/v2/ds/use-ds-search.js +61 -0
  780. package/apps/studio/client/v2/ds/use-ds-state.js +65 -0
  781. package/apps/studio/client/v2/ds/uses-link.jsx +58 -0
  782. package/apps/studio/client/v2/empty/all-trashed-model.js +321 -0
  783. package/apps/studio/client/v2/empty/all-trashed-relay.js +65 -0
  784. package/apps/studio/client/v2/empty/all-trashed.jsx +229 -0
  785. package/apps/studio/client/v2/empty/arriving.jsx +180 -0
  786. package/apps/studio/client/v2/empty/artboard-hint.jsx +47 -0
  787. package/apps/studio/client/v2/empty/ask-button.jsx +35 -0
  788. package/apps/studio/client/v2/empty/confetti.jsx +46 -0
  789. package/apps/studio/client/v2/empty/empty-canvas.jsx +96 -0
  790. package/apps/studio/client/v2/empty/empty-copy.js +265 -0
  791. package/apps/studio/client/v2/empty/empty-hint-store.js +31 -0
  792. package/apps/studio/client/v2/empty/empty-host.jsx +168 -0
  793. package/apps/studio/client/v2/empty/empty.css +440 -0
  794. package/apps/studio/client/v2/empty/empty.jsx +162 -0
  795. package/apps/studio/client/v2/empty/fill-ask.js +22 -0
  796. package/apps/studio/client/v2/empty/free-centre.js +11 -0
  797. package/apps/studio/client/v2/empty/index.js +40 -0
  798. package/apps/studio/client/v2/empty/layers-empty.jsx +22 -0
  799. package/apps/studio/client/v2/empty/not-local.jsx +111 -0
  800. package/apps/studio/client/v2/empty/select-new-artboard.js +32 -0
  801. package/apps/studio/client/v2/empty/skeleton.jsx +51 -0
  802. package/apps/studio/client/v2/empty/spot-art.jsx +923 -0
  803. package/apps/studio/client/v2/empty/spot.jsx +96 -0
  804. package/apps/studio/client/v2/empty/suggestions.jsx +18 -0
  805. package/apps/studio/client/v2/empty/use-empty-canvas.js +251 -0
  806. package/apps/studio/client/v2/export/access-line.jsx +48 -0
  807. package/apps/studio/client/v2/export/advanced/advanced-copy.js +77 -0
  808. package/apps/studio/client/v2/export/advanced/advanced.css +252 -0
  809. package/apps/studio/client/v2/export/advanced/advanced.jsx +148 -0
  810. package/apps/studio/client/v2/export/advanced/command.js +128 -0
  811. package/apps/studio/client/v2/export/advanced/command.jsx +50 -0
  812. package/apps/studio/client/v2/export/advanced/fields.jsx +132 -0
  813. package/apps/studio/client/v2/export/advanced/image.jsx +124 -0
  814. package/apps/studio/client/v2/export/advanced/model.js +199 -0
  815. package/apps/studio/client/v2/export/advanced/names.jsx +65 -0
  816. package/apps/studio/client/v2/export/advanced/print.jsx +99 -0
  817. package/apps/studio/client/v2/export/advanced/render.jsx +63 -0
  818. package/apps/studio/client/v2/export/advanced/video.jsx +76 -0
  819. package/apps/studio/client/v2/export/annotations-policy.js +28 -0
  820. package/apps/studio/client/v2/export/cloud-queue.js +69 -0
  821. package/apps/studio/client/v2/export/copy-command.js +72 -0
  822. package/apps/studio/client/v2/export/copy-png.js +144 -0
  823. package/apps/studio/client/v2/export/done-toast.jsx +89 -0
  824. package/apps/studio/client/v2/export/edges.css +74 -0
  825. package/apps/studio/client/v2/export/export-copy.js +352 -0
  826. package/apps/studio/client/v2/export/export-sheet.jsx +804 -0
  827. package/apps/studio/client/v2/export/export-sizes.js +217 -0
  828. package/apps/studio/client/v2/export/export.css +832 -0
  829. package/apps/studio/client/v2/export/exports-model.js +383 -0
  830. package/apps/studio/client/v2/export/exports-panel.css +192 -0
  831. package/apps/studio/client/v2/export/exports-panel.jsx +164 -0
  832. package/apps/studio/client/v2/export/file-rows.jsx +84 -0
  833. package/apps/studio/client/v2/export/inspector-export.jsx +335 -0
  834. package/apps/studio/client/v2/export/job-row.jsx +358 -0
  835. package/apps/studio/client/v2/export/last-finished.js +34 -0
  836. package/apps/studio/client/v2/export/native-save.js +160 -0
  837. package/apps/studio/client/v2/export/other-formats.jsx +199 -0
  838. package/apps/studio/client/v2/export/parts.jsx +117 -0
  839. package/apps/studio/client/v2/export/preflight/fonts.js +27 -0
  840. package/apps/studio/client/v2/export/preflight/paper.jsx +177 -0
  841. package/apps/studio/client/v2/export/preflight/safe-margin.js +24 -0
  842. package/apps/studio/client/v2/export/preflight/use-preflight.js +74 -0
  843. package/apps/studio/client/v2/export/preview.jsx +79 -0
  844. package/apps/studio/client/v2/export/print.css +219 -0
  845. package/apps/studio/client/v2/export/run-export.js +177 -0
  846. package/apps/studio/client/v2/export/scope-bar.jsx +70 -0
  847. package/apps/studio/client/v2/export/sections/batch-model.js +224 -0
  848. package/apps/studio/client/v2/export/sections/batch.jsx +235 -0
  849. package/apps/studio/client/v2/export/sections/image.jsx +93 -0
  850. package/apps/studio/client/v2/export/sections/print-copy.js +41 -0
  851. package/apps/studio/client/v2/export/sections/print.jsx +285 -0
  852. package/apps/studio/client/v2/export/sections/render-row.jsx +81 -0
  853. package/apps/studio/client/v2/export/sections/version.jsx +176 -0
  854. package/apps/studio/client/v2/export/sections/video-copy.js +92 -0
  855. package/apps/studio/client/v2/export/sections/video-model.js +127 -0
  856. package/apps/studio/client/v2/export/sections/video.jsx +397 -0
  857. package/apps/studio/client/v2/export/sections/web.jsx +151 -0
  858. package/apps/studio/client/v2/export/share-hint.jsx +51 -0
  859. package/apps/studio/client/v2/export/use-export-spec.js +546 -0
  860. package/apps/studio/client/v2/export/video-content.js +75 -0
  861. package/apps/studio/client/v2/export/video.css +221 -0
  862. package/apps/studio/client/v2/fold/advanced-fold.jsx +96 -0
  863. package/apps/studio/client/v2/fold/fold-store.js +151 -0
  864. package/apps/studio/client/v2/fold/fold.css +59 -0
  865. package/apps/studio/client/v2/fold/use-fold.js +36 -0
  866. package/apps/studio/client/v2/handoff/edges.jsx +74 -0
  867. package/apps/studio/client/v2/handoff/handoff-sheet.jsx +469 -0
  868. package/apps/studio/client/v2/handoff/handoff.css +181 -0
  869. package/apps/studio/client/v2/handoff/ready-card.jsx +84 -0
  870. package/apps/studio/client/v2/handoff/targets.js +111 -0
  871. package/apps/studio/client/v2/help/add-guides.js +43 -0
  872. package/apps/studio/client/v2/help/help.css +995 -0
  873. package/apps/studio/client/v2/history/blame.js +161 -0
  874. package/apps/studio/client/v2/history/branch-actions.js +214 -0
  875. package/apps/studio/client/v2/history/change-list.jsx +102 -0
  876. package/apps/studio/client/v2/history/clear-band.js +144 -0
  877. package/apps/studio/client/v2/history/compare-store.js +80 -0
  878. package/apps/studio/client/v2/history/compare-view.jsx +318 -0
  879. package/apps/studio/client/v2/history/compare-words.js +8 -0
  880. package/apps/studio/client/v2/history/git-advanced.jsx +580 -0
  881. package/apps/studio/client/v2/history/git-io.js +58 -0
  882. package/apps/studio/client/v2/history/git-model.js +526 -0
  883. package/apps/studio/client/v2/history/git-parts.jsx +662 -0
  884. package/apps/studio/client/v2/history/history-host.jsx +78 -0
  885. package/apps/studio/client/v2/history/history-panel.jsx +599 -0
  886. package/apps/studio/client/v2/history/history.css +1477 -0
  887. package/apps/studio/client/v2/history/name-dialog.jsx +109 -0
  888. package/apps/studio/client/v2/history/object-filter.js +143 -0
  889. package/apps/studio/client/v2/history/object-history-ask.js +62 -0
  890. package/apps/studio/client/v2/history/object-view.jsx +236 -0
  891. package/apps/studio/client/v2/history/rows.ts +445 -0
  892. package/apps/studio/client/v2/history/use-versions.js +391 -0
  893. package/apps/studio/client/v2/history/view-bar.jsx +80 -0
  894. package/apps/studio/client/v2/import/brand-model.js +145 -0
  895. package/apps/studio/client/v2/import/brand-result.jsx +197 -0
  896. package/apps/studio/client/v2/import/brand-sheet.jsx +434 -0
  897. package/apps/studio/client/v2/import/brand.css +378 -0
  898. package/apps/studio/client/v2/import/figma-artboard.jsx +121 -0
  899. package/apps/studio/client/v2/import/figma-model.js +237 -0
  900. package/apps/studio/client/v2/import/figma-prefill.js +23 -0
  901. package/apps/studio/client/v2/import/figma-sheet.jsx +525 -0
  902. package/apps/studio/client/v2/import/figma-summary.jsx +62 -0
  903. package/apps/studio/client/v2/import/figma.css +179 -0
  904. package/apps/studio/client/v2/import/frame-picker.jsx +57 -0
  905. package/apps/studio/client/v2/inspect/inspect-host.jsx +53 -0
  906. package/apps/studio/client/v2/inspect/inspect-model.js +132 -0
  907. package/apps/studio/client/v2/inspect/inspect-panel.jsx +214 -0
  908. package/apps/studio/client/v2/inspect/inspect.css +87 -0
  909. package/apps/studio/client/v2/inspector/advanced-rows-default.jsx +773 -0
  910. package/apps/studio/client/v2/inspector/advanced-rows.js +106 -0
  911. package/apps/studio/client/v2/inspector/advanced.jsx +286 -0
  912. package/apps/studio/client/v2/inspector/blocks.js +57 -0
  913. package/apps/studio/client/v2/inspector/colour-groups.js +129 -0
  914. package/apps/studio/client/v2/inspector/component-picker.css +133 -0
  915. package/apps/studio/client/v2/inspector/component-picker.jsx +367 -0
  916. package/apps/studio/client/v2/inspector/crumbs.jsx +89 -0
  917. package/apps/studio/client/v2/inspector/css-text.js +179 -0
  918. package/apps/studio/client/v2/inspector/css-write.js +204 -0
  919. package/apps/studio/client/v2/inspector/element-code.js +39 -0
  920. package/apps/studio/client/v2/inspector/element-id.js +70 -0
  921. package/apps/studio/client/v2/inspector/formats-ui.js +101 -0
  922. package/apps/studio/client/v2/inspector/formats-write.js +60 -0
  923. package/apps/studio/client/v2/inspector/frame.jsx +336 -0
  924. package/apps/studio/client/v2/inspector/inspector-actions.js +60 -0
  925. package/apps/studio/client/v2/inspector/inspector.css +2872 -0
  926. package/apps/studio/client/v2/inspector/jsx-slice.js +219 -0
  927. package/apps/studio/client/v2/inspector/kinds/add-width.js +55 -0
  928. package/apps/studio/client/v2/inspector/kinds/artboard-advanced-rows.jsx +89 -0
  929. package/apps/studio/client/v2/inspector/kinds/artboard-advanced.jsx +62 -0
  930. package/apps/studio/client/v2/inspector/kinds/artboard-fixed.jsx +111 -0
  931. package/apps/studio/client/v2/inspector/kinds/artboard-kinds-model.js +171 -0
  932. package/apps/studio/client/v2/inspector/kinds/artboard-model.js +155 -0
  933. package/apps/studio/client/v2/inspector/kinds/artboard-multi.jsx +142 -0
  934. package/apps/studio/client/v2/inspector/kinds/artboard-print-advanced.jsx +210 -0
  935. package/apps/studio/client/v2/inspector/kinds/artboard-print-model.js +112 -0
  936. package/apps/studio/client/v2/inspector/kinds/artboard-print.jsx +268 -0
  937. package/apps/studio/client/v2/inspector/kinds/artboard-rows.jsx +124 -0
  938. package/apps/studio/client/v2/inspector/kinds/artboard-video.jsx +144 -0
  939. package/apps/studio/client/v2/inspector/kinds/artboard-web.jsx +170 -0
  940. package/apps/studio/client/v2/inspector/kinds/artboard.jsx +168 -0
  941. package/apps/studio/client/v2/inspector/kinds/caption.jsx +203 -0
  942. package/apps/studio/client/v2/inspector/kinds/clip-model.js +190 -0
  943. package/apps/studio/client/v2/inspector/kinds/clip.css +157 -0
  944. package/apps/studio/client/v2/inspector/kinds/clip.jsx +447 -0
  945. package/apps/studio/client/v2/inspector/kinds/frame.jsx +118 -0
  946. package/apps/studio/client/v2/inspector/kinds/image.jsx +267 -0
  947. package/apps/studio/client/v2/inspector/kinds/index.js +180 -0
  948. package/apps/studio/client/v2/inspector/kinds/instance.jsx +377 -0
  949. package/apps/studio/client/v2/inspector/kinds/multi-artboard.jsx +129 -0
  950. package/apps/studio/client/v2/inspector/kinds/multi.jsx +220 -0
  951. package/apps/studio/client/v2/inspector/kinds/music.jsx +294 -0
  952. package/apps/studio/client/v2/inspector/kinds/path.jsx +174 -0
  953. package/apps/studio/client/v2/inspector/kinds/shape.jsx +59 -0
  954. package/apps/studio/client/v2/inspector/kinds/text.jsx +518 -0
  955. package/apps/studio/client/v2/inspector/kinds/title-rows.jsx +135 -0
  956. package/apps/studio/client/v2/inspector/kinds/video-facts.js +142 -0
  957. package/apps/studio/client/v2/inspector/layers-row-tools.jsx +93 -0
  958. package/apps/studio/client/v2/inspector/layers-slot.jsx +93 -0
  959. package/apps/studio/client/v2/inspector/link-write.js +52 -0
  960. package/apps/studio/client/v2/inspector/live-size.js +96 -0
  961. package/apps/studio/client/v2/inspector/model.js +228 -0
  962. package/apps/studio/client/v2/inspector/path-point.js +104 -0
  963. package/apps/studio/client/v2/inspector/print-write.js +85 -0
  964. package/apps/studio/client/v2/inspector/safe-zones-write.js +88 -0
  965. package/apps/studio/client/v2/inspector/sections/add-requests.js +35 -0
  966. package/apps/studio/client/v2/inspector/sections/border.jsx +141 -0
  967. package/apps/studio/client/v2/inspector/sections/color-control.jsx +246 -0
  968. package/apps/studio/client/v2/inspector/sections/colour-custom.jsx +826 -0
  969. package/apps/studio/client/v2/inspector/sections/colour-model.js +404 -0
  970. package/apps/studio/client/v2/inspector/sections/colour-popover.jsx +631 -0
  971. package/apps/studio/client/v2/inspector/sections/colour-words.js +131 -0
  972. package/apps/studio/client/v2/inspector/sections/corners.jsx +177 -0
  973. package/apps/studio/client/v2/inspector/sections/effects.jsx +67 -0
  974. package/apps/studio/client/v2/inspector/sections/export-slot.jsx +60 -0
  975. package/apps/studio/client/v2/inspector/sections/fill.jsx +187 -0
  976. package/apps/studio/client/v2/inspector/sections/formats.jsx +209 -0
  977. package/apps/studio/client/v2/inspector/sections/index.js +74 -0
  978. package/apps/studio/client/v2/inspector/sections/interaction.jsx +204 -0
  979. package/apps/studio/client/v2/inspector/sections/layout.jsx +314 -0
  980. package/apps/studio/client/v2/inspector/sections/opacity-row.jsx +37 -0
  981. package/apps/studio/client/v2/inspector/sections/point.jsx +102 -0
  982. package/apps/studio/client/v2/inspector/sections/position.jsx +259 -0
  983. package/apps/studio/client/v2/inspector/sections/recent-colours.js +106 -0
  984. package/apps/studio/client/v2/inspector/sections/row.jsx +91 -0
  985. package/apps/studio/client/v2/inspector/sections/safe-zones.jsx +174 -0
  986. package/apps/studio/client/v2/inspector/sections/sections.css +1474 -0
  987. package/apps/studio/client/v2/inspector/sections/size.jsx +104 -0
  988. package/apps/studio/client/v2/inspector/sections/type.jsx +168 -0
  989. package/apps/studio/client/v2/inspector/sections/warnings.css +44 -0
  990. package/apps/studio/client/v2/inspector/sections/warnings.jsx +137 -0
  991. package/apps/studio/client/v2/inspector/sections.js +226 -0
  992. package/apps/studio/client/v2/inspector/slots.js +110 -0
  993. package/apps/studio/client/v2/inspector/token-chip.jsx +315 -0
  994. package/apps/studio/client/v2/inspector/view-mode.jsx +193 -0
  995. package/apps/studio/client/v2/inspector/warning-fix.js +111 -0
  996. package/apps/studio/client/v2/kinds/ConvertDialog.jsx +183 -0
  997. package/apps/studio/client/v2/kinds/KindChips.jsx +60 -0
  998. package/apps/studio/client/v2/kinds/KindDimHost.jsx +35 -0
  999. package/apps/studio/client/v2/kinds/LayersKindFilter.jsx +108 -0
  1000. package/apps/studio/client/v2/kinds/SizePicker.jsx +566 -0
  1001. package/apps/studio/client/v2/kinds/SizePickerHost.jsx +104 -0
  1002. package/apps/studio/client/v2/kinds/advanced-rows.js +40 -0
  1003. package/apps/studio/client/v2/kinds/convert-api.js +116 -0
  1004. package/apps/studio/client/v2/kinds/convert.css +87 -0
  1005. package/apps/studio/client/v2/kinds/kind-dim-relay.js +93 -0
  1006. package/apps/studio/client/v2/kinds/kind-filter-model.js +106 -0
  1007. package/apps/studio/client/v2/kinds/kind-filter-store.js +71 -0
  1008. package/apps/studio/client/v2/kinds/kind-filter.css +105 -0
  1009. package/apps/studio/client/v2/kinds/layers-kind-model.js +99 -0
  1010. package/apps/studio/client/v2/kinds/size-picker-model.js +189 -0
  1011. package/apps/studio/client/v2/kinds/size-picker.css +393 -0
  1012. package/apps/studio/client/v2/layers/artboard-layers.jsx +105 -0
  1013. package/apps/studio/client/v2/layers/layers.css +94 -0
  1014. package/apps/studio/client/v2/left-panel/advanced-model.js +98 -0
  1015. package/apps/studio/client/v2/left-panel/assets-panel.jsx +1203 -0
  1016. package/apps/studio/client/v2/left-panel/canvas-file-menu.js +115 -0
  1017. package/apps/studio/client/v2/left-panel/canvases-advanced.jsx +270 -0
  1018. package/apps/studio/client/v2/left-panel/canvases-pinned.jsx +274 -0
  1019. package/apps/studio/client/v2/left-panel/layers-advanced.jsx +179 -0
  1020. package/apps/studio/client/v2/left-panel/left-panel-bus.js +83 -0
  1021. package/apps/studio/client/v2/left-panel/left-panel-model.js +184 -0
  1022. package/apps/studio/client/v2/left-panel/left-panel.css +1846 -0
  1023. package/apps/studio/client/v2/left-panel/selector-scope.js +42 -0
  1024. package/apps/studio/client/v2/left-panel/trash-model.js +282 -0
  1025. package/apps/studio/client/v2/left-panel/trash-view.jsx +257 -0
  1026. package/apps/studio/client/v2/left-panel/use-trash.js +172 -0
  1027. package/apps/studio/client/v2/left-panel/view-prefs.js +84 -0
  1028. package/apps/studio/client/v2/onboarding/AdvSheet.jsx +114 -0
  1029. package/apps/studio/client/v2/onboarding/AdvancedSheets.jsx +239 -0
  1030. package/apps/studio/client/v2/onboarding/CliSheet.jsx +101 -0
  1031. package/apps/studio/client/v2/onboarding/ConnectAiSheet.jsx +60 -0
  1032. package/apps/studio/client/v2/onboarding/FigmaSheet.jsx +96 -0
  1033. package/apps/studio/client/v2/onboarding/FolderGithubSheet.jsx +77 -0
  1034. package/apps/studio/client/v2/onboarding/GithubSegment.jsx +241 -0
  1035. package/apps/studio/client/v2/onboarding/HubSheet.jsx +244 -0
  1036. package/apps/studio/client/v2/onboarding/connect-ai-home.js +94 -0
  1037. package/apps/studio/client/v2/onboarding/github-home.js +84 -0
  1038. package/apps/studio/client/v2/onboarding/onboarding-model.js +106 -0
  1039. package/apps/studio/client/v2/onboarding/onboarding.css +546 -0
  1040. package/apps/studio/client/v2/photo/apply-every-use-sheet.jsx +196 -0
  1041. package/apps/studio/client/v2/photo/canvas-rel.js +20 -0
  1042. package/apps/studio/client/v2/photo/looks.js +129 -0
  1043. package/apps/studio/client/v2/photo/photo-section.jsx +625 -0
  1044. package/apps/studio/client/v2/photo/photo.css +218 -0
  1045. package/apps/studio/client/v2/portal-scope.jsx +14 -0
  1046. package/apps/studio/client/v2/presence/faces.jsx +356 -0
  1047. package/apps/studio/client/v2/presence/presence.css +187 -0
  1048. package/apps/studio/client/v2/presence/use-presence-host.js +83 -0
  1049. package/apps/studio/client/v2/present/audience-window.js +63 -0
  1050. package/apps/studio/client/v2/present/canvas-pill.jsx +55 -0
  1051. package/apps/studio/client/v2/present/copy-link.js +82 -0
  1052. package/apps/studio/client/v2/present/follow-location.js +82 -0
  1053. package/apps/studio/client/v2/present/follow-model.js +68 -0
  1054. package/apps/studio/client/v2/present/follow-view.jsx +354 -0
  1055. package/apps/studio/client/v2/present/follow.css +91 -0
  1056. package/apps/studio/client/v2/present/order-map.jsx +64 -0
  1057. package/apps/studio/client/v2/present/order-notes-artboards.js +88 -0
  1058. package/apps/studio/client/v2/present/order-notes-model.js +141 -0
  1059. package/apps/studio/client/v2/present/order-notes-mount.jsx +26 -0
  1060. package/apps/studio/client/v2/present/order-notes-sheet.jsx +293 -0
  1061. package/apps/studio/client/v2/present/order-notes.css +150 -0
  1062. package/apps/studio/client/v2/present/present-chrome-host.jsx +95 -0
  1063. package/apps/studio/client/v2/present/present-controls-model.js +114 -0
  1064. package/apps/studio/client/v2/present/present-controls.jsx +263 -0
  1065. package/apps/studio/client/v2/present/present-zoom-store.js +33 -0
  1066. package/apps/studio/client/v2/present/present.css +258 -0
  1067. package/apps/studio/client/v2/present/presenter-button.jsx +25 -0
  1068. package/apps/studio/client/v2/present/presenter-host.jsx +246 -0
  1069. package/apps/studio/client/v2/present/presenter-model.js +167 -0
  1070. package/apps/studio/client/v2/present/presenter-store.js +140 -0
  1071. package/apps/studio/client/v2/present/presenter-view.css +298 -0
  1072. package/apps/studio/client/v2/present/presenter-view.jsx +241 -0
  1073. package/apps/studio/client/v2/present/video-present-model.js +92 -0
  1074. package/apps/studio/client/v2/present/video-present.css +164 -0
  1075. package/apps/studio/client/v2/present/video-present.jsx +331 -0
  1076. package/apps/studio/client/v2/preview/external-link-confirm.jsx +245 -0
  1077. package/apps/studio/client/v2/preview/link-follow.js +109 -0
  1078. package/apps/studio/client/v2/preview/open-in-app.jsx +46 -0
  1079. package/apps/studio/client/v2/preview/preview-back.js +21 -0
  1080. package/apps/studio/client/v2/preview/preview-bar.jsx +86 -0
  1081. package/apps/studio/client/v2/preview/preview-chrome-host.jsx +234 -0
  1082. package/apps/studio/client/v2/preview/preview-history.js +61 -0
  1083. package/apps/studio/client/v2/preview/preview.css +262 -0
  1084. package/apps/studio/client/v2/preview/zoom-only.jsx +58 -0
  1085. package/apps/studio/client/v2/search/help-model.js +275 -0
  1086. package/apps/studio/client/v2/search/moved-keys.js +74 -0
  1087. package/apps/studio/client/v2/search/palette-icons.js +45 -0
  1088. package/apps/studio/client/v2/search/search-ds.js +142 -0
  1089. package/apps/studio/client/v2/search/search-env.js +110 -0
  1090. package/apps/studio/client/v2/search/search-keywords.js +162 -0
  1091. package/apps/studio/client/v2/search/search-model.js +623 -0
  1092. package/apps/studio/client/v2/search/search-projects.js +214 -0
  1093. package/apps/studio/client/v2/search/search-recent.js +94 -0
  1094. package/apps/studio/client/v2/search/search-remote.js +30 -0
  1095. package/apps/studio/client/v2/search/search.css +519 -0
  1096. package/apps/studio/client/v2/settings/account.jsx +164 -0
  1097. package/apps/studio/client/v2/settings/advanced-prefs.js +91 -0
  1098. package/apps/studio/client/v2/settings/advanced-section.jsx +308 -0
  1099. package/apps/studio/client/v2/settings/connection-row.jsx +79 -0
  1100. package/apps/studio/client/v2/settings/connections-model.js +138 -0
  1101. package/apps/studio/client/v2/settings/connections-section.jsx +663 -0
  1102. package/apps/studio/client/v2/settings/general-section.jsx +155 -0
  1103. package/apps/studio/client/v2/settings/parts.jsx +48 -0
  1104. package/apps/studio/client/v2/settings/prefs-migrate.js +141 -0
  1105. package/apps/studio/client/v2/settings/project-sync-settings.jsx +255 -0
  1106. package/apps/studio/client/v2/settings/reset-section.jsx +164 -0
  1107. package/apps/studio/client/v2/settings/settings-handlers.js +46 -0
  1108. package/apps/studio/client/v2/settings/settings-model.js +523 -0
  1109. package/apps/studio/client/v2/settings/settings-sheet.jsx +204 -0
  1110. package/apps/studio/client/v2/settings/settings.css +975 -0
  1111. package/apps/studio/client/v2/settings/theme-auto.js +75 -0
  1112. package/apps/studio/client/v2/settings/use-advanced-prefs.js +32 -0
  1113. package/apps/studio/client/v2/settings/use-connections.js +485 -0
  1114. package/apps/studio/client/v2/share/glyphs.jsx +92 -0
  1115. package/apps/studio/client/v2/share/invite-row.jsx +68 -0
  1116. package/apps/studio/client/v2/share/link-dialog.js +53 -0
  1117. package/apps/studio/client/v2/share/link-row.jsx +38 -0
  1118. package/apps/studio/client/v2/share/move-to-cloud.jsx +88 -0
  1119. package/apps/studio/client/v2/share/people-list.jsx +151 -0
  1120. package/apps/studio/client/v2/share/person.jsx +26 -0
  1121. package/apps/studio/client/v2/share/role-menu.jsx +145 -0
  1122. package/apps/studio/client/v2/share/share-advanced.jsx +411 -0
  1123. package/apps/studio/client/v2/share/share-model.js +469 -0
  1124. package/apps/studio/client/v2/share/share-sheet.jsx +602 -0
  1125. package/apps/studio/client/v2/share/share.css +828 -0
  1126. package/apps/studio/client/v2/shell/account-card-model.js +114 -0
  1127. package/apps/studio/client/v2/shell/account-card.jsx +177 -0
  1128. package/apps/studio/client/v2/shell/annotation-prefs-store.js +105 -0
  1129. package/apps/studio/client/v2/shell/ask-to-edit.js +33 -0
  1130. package/apps/studio/client/v2/shell/callouts-host.jsx +151 -0
  1131. package/apps/studio/client/v2/shell/callouts-model.js +358 -0
  1132. package/apps/studio/client/v2/shell/callouts.css +164 -0
  1133. package/apps/studio/client/v2/shell/callouts.jsx +162 -0
  1134. package/apps/studio/client/v2/shell/canvas-mode.js +393 -0
  1135. package/apps/studio/client/v2/shell/contrast.css +37 -0
  1136. package/apps/studio/client/v2/shell/corner-icons.jsx +153 -0
  1137. package/apps/studio/client/v2/shell/dock-rail-homes.js +106 -0
  1138. package/apps/studio/client/v2/shell/f6-cycle.js +124 -0
  1139. package/apps/studio/client/v2/shell/floating-panels.css +2858 -0
  1140. package/apps/studio/client/v2/shell/fold-ghost.js +70 -0
  1141. package/apps/studio/client/v2/shell/format-update.css +43 -0
  1142. package/apps/studio/client/v2/shell/format-update.js +487 -0
  1143. package/apps/studio/client/v2/shell/format-update.jsx +479 -0
  1144. package/apps/studio/client/v2/shell/held-conflict.js +51 -0
  1145. package/apps/studio/client/v2/shell/image-pick.js +140 -0
  1146. package/apps/studio/client/v2/shell/insets-now.js +35 -0
  1147. package/apps/studio/client/v2/shell/inspector-follow.js +113 -0
  1148. package/apps/studio/client/v2/shell/menu-runner.js +711 -0
  1149. package/apps/studio/client/v2/shell/modal-focus.js +259 -0
  1150. package/apps/studio/client/v2/shell/mode-switch.jsx +418 -0
  1151. package/apps/studio/client/v2/shell/native-doors.js +121 -0
  1152. package/apps/studio/client/v2/shell/occlusion-insets.js +116 -0
  1153. package/apps/studio/client/v2/shell/panel-availability.js +27 -0
  1154. package/apps/studio/client/v2/shell/panel-layout.js +144 -0
  1155. package/apps/studio/client/v2/shell/panel-sizes.js +150 -0
  1156. package/apps/studio/client/v2/shell/paste-forward.js +43 -0
  1157. package/apps/studio/client/v2/shell/present-from-label.js +19 -0
  1158. package/apps/studio/client/v2/shell/project-menu-model.js +216 -0
  1159. package/apps/studio/client/v2/shell/project-pill.css +214 -0
  1160. package/apps/studio/client/v2/shell/project-pill.jsx +456 -0
  1161. package/apps/studio/client/v2/shell/recovery-store.js +139 -0
  1162. package/apps/studio/client/v2/shell/role-denial.js +73 -0
  1163. package/apps/studio/client/v2/shell/role-gate.js +29 -0
  1164. package/apps/studio/client/v2/shell/save-hold-notice.js +69 -0
  1165. package/apps/studio/client/v2/shell/save-status.js +191 -0
  1166. package/apps/studio/client/v2/shell/scroll-lock.js +49 -0
  1167. package/apps/studio/client/v2/shell/share-cluster-host.jsx +389 -0
  1168. package/apps/studio/client/v2/shell/share-cluster.css +608 -0
  1169. package/apps/studio/client/v2/shell/share-cluster.jsx +255 -0
  1170. package/apps/studio/client/v2/shell/shell-error-boundary.jsx +81 -0
  1171. package/apps/studio/client/v2/shell/shell-panels-relay.js +95 -0
  1172. package/apps/studio/client/v2/shell/shell-parity.js +457 -0
  1173. package/apps/studio/client/v2/shell/shell-parity.json +2106 -0
  1174. package/apps/studio/client/v2/shell/single-keys-store.js +49 -0
  1175. package/apps/studio/client/v2/shell/tool-panels.css +39 -0
  1176. package/apps/studio/client/v2/shell/tool-panels.js +156 -0
  1177. package/apps/studio/client/v2/shell/use-account.js +59 -0
  1178. package/apps/studio/client/v2/shell/use-annotation-prefs.js +77 -0
  1179. package/apps/studio/client/v2/shell/use-canvas-mode-lane.js +388 -0
  1180. package/apps/studio/client/v2/shell/use-dismiss-outside.js +35 -0
  1181. package/apps/studio/client/v2/shell/use-fit-on-ai-pin.js +42 -0
  1182. package/apps/studio/client/v2/shell/use-fit-while-ai-drafts.js +37 -0
  1183. package/apps/studio/client/v2/shell/use-occluded-insets.js +107 -0
  1184. package/apps/studio/client/v2/shell/use-panel-layout.js +45 -0
  1185. package/apps/studio/client/v2/shell/use-single-keys.js +56 -0
  1186. package/apps/studio/client/v2/shell/use-tool-panels.js +205 -0
  1187. package/apps/studio/client/v2/signin/CreateLocalSheet.jsx +155 -0
  1188. package/apps/studio/client/v2/signin/SignInCard.jsx +284 -0
  1189. package/apps/studio/client/v2/signin/SignInToast.jsx +22 -0
  1190. package/apps/studio/client/v2/signin/WhatsNewLine.jsx +64 -0
  1191. package/apps/studio/client/v2/signin/advanced-rows.js +40 -0
  1192. package/apps/studio/client/v2/signin/signin-model.js +138 -0
  1193. package/apps/studio/client/v2/signin/signin.css +484 -0
  1194. package/apps/studio/client/v2/signin/use-signin.js +209 -0
  1195. package/apps/studio/client/v2/signin/use-whats-new-line.js +94 -0
  1196. package/apps/studio/client/v2/sync-states/back-online.jsx +61 -0
  1197. package/apps/studio/client/v2/sync-states/conflict-card.jsx +326 -0
  1198. package/apps/studio/client/v2/sync-states/offline-foot.jsx +79 -0
  1199. package/apps/studio/client/v2/sync-states/row-words.js +83 -0
  1200. package/apps/studio/client/v2/sync-states/sync-states-model.js +264 -0
  1201. package/apps/studio/client/v2/sync-states/sync-states.css +232 -0
  1202. package/apps/studio/client/v2/timeline/Timeline.jsx +3194 -0
  1203. package/apps/studio/client/v2/timeline/TimelineHost.jsx +360 -0
  1204. package/apps/studio/client/v2/timeline/advanced/actions.js +27 -0
  1205. package/apps/studio/client/v2/timeline/advanced/advanced-store.js +116 -0
  1206. package/apps/studio/client/v2/timeline/advanced/advanced.css +323 -0
  1207. package/apps/studio/client/v2/timeline/advanced/cut-as-code.jsx +127 -0
  1208. package/apps/studio/client/v2/timeline/advanced/easing-curve.jsx +200 -0
  1209. package/apps/studio/client/v2/timeline/advanced/foot.jsx +210 -0
  1210. package/apps/studio/client/v2/timeline/advanced/model.js +121 -0
  1211. package/apps/studio/client/v2/timeline/advanced/render-settings.jsx +62 -0
  1212. package/apps/studio/client/v2/timeline/advanced/video-cap.js +174 -0
  1213. package/apps/studio/client/v2/timeline/ai-edge-model.js +111 -0
  1214. package/apps/studio/client/v2/timeline/ai-edge.css +104 -0
  1215. package/apps/studio/client/v2/timeline/ai-edge.jsx +113 -0
  1216. package/apps/studio/client/v2/timeline/anchor-lane.js +80 -0
  1217. package/apps/studio/client/v2/timeline/anchor.js +80 -0
  1218. package/apps/studio/client/v2/timeline/assemble-video.js +64 -0
  1219. package/apps/studio/client/v2/timeline/clip-search.js +88 -0
  1220. package/apps/studio/client/v2/timeline/clip-verb.js +224 -0
  1221. package/apps/studio/client/v2/timeline/comment-strip-host.jsx +93 -0
  1222. package/apps/studio/client/v2/timeline/comment-strip-model.js +103 -0
  1223. package/apps/studio/client/v2/timeline/comment-strip.jsx +82 -0
  1224. package/apps/studio/client/v2/timeline/edit/clip-menu.js +118 -0
  1225. package/apps/studio/client/v2/timeline/edit/clip-menu.jsx +48 -0
  1226. package/apps/studio/client/v2/timeline/edit/drop.jsx +101 -0
  1227. package/apps/studio/client/v2/timeline/edit/move.jsx +43 -0
  1228. package/apps/studio/client/v2/timeline/edit/ripple.js +43 -0
  1229. package/apps/studio/client/v2/timeline/edit/trim.jsx +52 -0
  1230. package/apps/studio/client/v2/timeline/edit/words.js +65 -0
  1231. package/apps/studio/client/v2/timeline/fit-fill.jsx +172 -0
  1232. package/apps/studio/client/v2/timeline/fit-model.js +137 -0
  1233. package/apps/studio/client/v2/timeline/fold.js +128 -0
  1234. package/apps/studio/client/v2/timeline/footage-rows.jsx +46 -0
  1235. package/apps/studio/client/v2/timeline/footage-state.js +135 -0
  1236. package/apps/studio/client/v2/timeline/glyphs.jsx +118 -0
  1237. package/apps/studio/client/v2/timeline/island-context.js +29 -0
  1238. package/apps/studio/client/v2/timeline/island-controls.jsx +83 -0
  1239. package/apps/studio/client/v2/timeline/island.jsx +54 -0
  1240. package/apps/studio/client/v2/timeline/joins/join-model.js +133 -0
  1241. package/apps/studio/client/v2/timeline/joins/joins.css +277 -0
  1242. package/apps/studio/client/v2/timeline/joins/transition-picker.jsx +240 -0
  1243. package/apps/studio/client/v2/timeline/keys.js +74 -0
  1244. package/apps/studio/client/v2/timeline/lanes/caption-lane.jsx +149 -0
  1245. package/apps/studio/client/v2/timeline/lanes/music-lane.jsx +294 -0
  1246. package/apps/studio/client/v2/timeline/lanes/music-media.js +200 -0
  1247. package/apps/studio/client/v2/timeline/lanes/music-model.js +190 -0
  1248. package/apps/studio/client/v2/timeline/loop-handle.jsx +70 -0
  1249. package/apps/studio/client/v2/timeline/marker-store.js +117 -0
  1250. package/apps/studio/client/v2/timeline/markers.js +79 -0
  1251. package/apps/studio/client/v2/timeline/marks.jsx +152 -0
  1252. package/apps/studio/client/v2/timeline/music-hint.jsx +98 -0
  1253. package/apps/studio/client/v2/timeline/other-takes-model.js +103 -0
  1254. package/apps/studio/client/v2/timeline/other-takes-store.js +49 -0
  1255. package/apps/studio/client/v2/timeline/other-takes.css +98 -0
  1256. package/apps/studio/client/v2/timeline/other-takes.jsx +269 -0
  1257. package/apps/studio/client/v2/timeline/peers.jsx +246 -0
  1258. package/apps/studio/client/v2/timeline/playhead.js +97 -0
  1259. package/apps/studio/client/v2/timeline/poster.js +109 -0
  1260. package/apps/studio/client/v2/timeline/reframe-island.jsx +478 -0
  1261. package/apps/studio/client/v2/timeline/reframe-model.js +135 -0
  1262. package/apps/studio/client/v2/timeline/reframe.css +150 -0
  1263. package/apps/studio/client/v2/timeline/ruler.js +61 -0
  1264. package/apps/studio/client/v2/timeline/selection.js +110 -0
  1265. package/apps/studio/client/v2/timeline/timeline-empty.jsx +108 -0
  1266. package/apps/studio/client/v2/timeline/timeline-store.js +147 -0
  1267. package/apps/studio/client/v2/timeline/timeline.css +2879 -0
  1268. package/apps/studio/client/v2/timeline/together.css +85 -0
  1269. package/apps/studio/client/v2/timeline/track-toggle.js +56 -0
  1270. package/apps/studio/client/v2/timeline/tracks.js +68 -0
  1271. package/apps/studio/client/v2/timeline/transport.js +66 -0
  1272. package/apps/studio/client/v2/timeline/zoom.js +37 -0
  1273. package/apps/studio/client/v2/transcript/TranscriptHost.jsx +162 -0
  1274. package/apps/studio/client/v2/transcript/TranscriptPanel.jsx +358 -0
  1275. package/apps/studio/client/v2/transcript/captions-api.js +297 -0
  1276. package/apps/studio/client/v2/transcript/captions-file-flag.js +38 -0
  1277. package/apps/studio/client/v2/transcript/comp-media-store.js +89 -0
  1278. package/apps/studio/client/v2/transcript/transcript-model.js +240 -0
  1279. package/apps/studio/client/v2/transcript/transcript.css +262 -0
  1280. package/apps/studio/client/v2/undo/projection.js +291 -0
  1281. package/apps/studio/client/v2/undo/undo-history.jsx +286 -0
  1282. package/apps/studio/client/v2/undo/undo.css +81 -0
  1283. package/apps/studio/client/v2/undo/use-undo-mode-lane.js +96 -0
  1284. package/apps/studio/client/v2/undo/use-undo-projection.jsx +460 -0
  1285. package/apps/studio/client/v2/undo/zoom-undo.jsx +79 -0
  1286. package/apps/studio/client/whats-new-seen.js +40 -0
  1287. package/apps/studio/client/whats-new.jsx +65 -62
  1288. package/apps/studio/clip-ops.ts +38 -6
  1289. package/apps/studio/cloud/config-path.ts +42 -0
  1290. package/apps/studio/cloud/endpoints.ts +212 -50
  1291. package/apps/studio/cloud/renew.ts +29 -16
  1292. package/apps/studio/collab/ai-activity.ts +19 -0
  1293. package/apps/studio/collab/awareness-bridge.ts +131 -4
  1294. package/apps/studio/collab/git-lifecycle.ts +52 -20
  1295. package/apps/studio/collab/holds.ts +69 -0
  1296. package/apps/studio/collab/index.ts +25 -0
  1297. package/apps/studio/collab/protocol.ts +64 -0
  1298. package/apps/studio/collab/registry.ts +59 -6
  1299. package/apps/studio/collab/room.ts +374 -16
  1300. package/apps/studio/collab/timeline-awareness.ts +123 -0
  1301. package/apps/studio/collab/timeline-presence.tsx +219 -0
  1302. package/apps/studio/commands/move-artboards-command.ts +45 -4
  1303. package/apps/studio/comments/anchors.ts +147 -0
  1304. package/apps/studio/comments/author-face.ts +41 -0
  1305. package/apps/studio/comments/from-line.ts +43 -0
  1306. package/apps/studio/comments/imported-from.ts +113 -0
  1307. package/apps/studio/comments/local-author.ts +41 -0
  1308. package/apps/studio/comments/mentions.ts +115 -0
  1309. package/apps/studio/comments/mine-stamp.ts +78 -0
  1310. package/apps/studio/comments/ops.ts +293 -0
  1311. package/apps/studio/comments/people.ts +66 -0
  1312. package/apps/studio/comments/where.ts +136 -0
  1313. package/apps/studio/comments-overlay.tsx +1220 -253
  1314. package/apps/studio/config.schema.json +33 -0
  1315. package/apps/studio/context-menu.tsx +126 -42
  1316. package/apps/studio/context.ts +178 -13
  1317. package/apps/studio/cursors-overlay.tsx +28 -11
  1318. package/apps/studio/debug-bundle.ts +21 -5
  1319. package/apps/studio/describe/batch.ts +414 -0
  1320. package/apps/studio/describe/budget.ts +147 -0
  1321. package/apps/studio/describe/claude.ts +273 -0
  1322. package/apps/studio/describe/consent.ts +120 -0
  1323. package/apps/studio/describe/validate.ts +192 -0
  1324. package/apps/studio/design-setup-readiness.ts +2 -2
  1325. package/apps/studio/diagnostics/store.ts +220 -0
  1326. package/apps/studio/dist/client.bundle.js +2429 -2329
  1327. package/apps/studio/dist/comment-mount.js +12 -9
  1328. package/apps/studio/dist/styles.css +1 -1
  1329. package/apps/studio/dom-selection.ts +239 -23
  1330. package/apps/studio/drag-bus.ts +211 -0
  1331. package/apps/studio/draw/serialize-animate.ts +4 -4
  1332. package/apps/studio/ds/board/board-specimen.css +199 -0
  1333. package/apps/studio/ds/board/board.css +674 -0
  1334. package/apps/studio/ds/board/brand-notes.ts +92 -0
  1335. package/apps/studio/ds/board/build-model.ts +418 -0
  1336. package/apps/studio/ds/board/component-states.ts +111 -0
  1337. package/apps/studio/ds/board/directions-model.ts +145 -0
  1338. package/apps/studio/ds/board/directions.css +169 -0
  1339. package/apps/studio/ds/board/directions.tsx +100 -0
  1340. package/apps/studio/ds/board/ds-bar.tsx +107 -0
  1341. package/apps/studio/ds/board/index.tsx +71 -0
  1342. package/apps/studio/ds/board/logo-paint.ts +118 -0
  1343. package/apps/studio/ds/board/outline.tsx +127 -0
  1344. package/apps/studio/ds/board/parts.tsx +160 -0
  1345. package/apps/studio/ds/board/section-brand.tsx +148 -0
  1346. package/apps/studio/ds/board/section-colour.tsx +160 -0
  1347. package/apps/studio/ds/board/section-components.tsx +146 -0
  1348. package/apps/studio/ds/board/section-motion.tsx +106 -0
  1349. package/apps/studio/ds/board/section-patterns.tsx +89 -0
  1350. package/apps/studio/ds/board/section-space.tsx +109 -0
  1351. package/apps/studio/ds/board/section-type.tsx +129 -0
  1352. package/apps/studio/ds/board/specimen.tsx +61 -0
  1353. package/apps/studio/ds/board/state.ts +105 -0
  1354. package/apps/studio/ds/board/template.ts +152 -0
  1355. package/apps/studio/ds/board/types.ts +346 -0
  1356. package/apps/studio/ds/canvas-check.ts +914 -0
  1357. package/apps/studio/ds/canvas-cli.ts +346 -0
  1358. package/apps/studio/ds/check-system-verb.ts +88 -0
  1359. package/apps/studio/ds/check-system.ts +293 -0
  1360. package/apps/studio/ds/check.ts +541 -0
  1361. package/apps/studio/ds/cli.ts +348 -0
  1362. package/apps/studio/ds/component-list.ts +150 -0
  1363. package/apps/studio/ds/contrast.ts +438 -0
  1364. package/apps/studio/ds/convert-map.ts +126 -0
  1365. package/apps/studio/ds/convert.ts +603 -0
  1366. package/apps/studio/ds/css-scan.ts +292 -0
  1367. package/apps/studio/ds/default-components.tsx +377 -0
  1368. package/apps/studio/ds/default.ts +58 -0
  1369. package/apps/studio/ds/design-system.tsx.tpl +40 -0
  1370. package/apps/studio/ds/ds-resolver.ts +205 -0
  1371. package/apps/studio/ds/ds-verb.ts +563 -0
  1372. package/apps/studio/ds/edges.ts +412 -0
  1373. package/apps/studio/ds/emit.ts +217 -0
  1374. package/apps/studio/ds/engine.ts +1652 -0
  1375. package/apps/studio/ds/fallbacks.ts +116 -0
  1376. package/apps/studio/ds/generate.ts +746 -0
  1377. package/apps/studio/ds/head.ts +372 -0
  1378. package/apps/studio/ds/instance-info.ts +90 -0
  1379. package/apps/studio/ds/library.ts +1137 -0
  1380. package/apps/studio/ds/make.ts +726 -0
  1381. package/apps/studio/ds/migrate-emitter.ts +42 -0
  1382. package/apps/studio/ds/nearest.ts +163 -0
  1383. package/apps/studio/ds/outside.ts +343 -0
  1384. package/apps/studio/ds/override-map.ts +213 -0
  1385. package/apps/studio/ds/pairing-css.ts +145 -0
  1386. package/apps/studio/ds/pin-scope.ts +268 -0
  1387. package/apps/studio/ds/registry.ts +228 -0
  1388. package/apps/studio/ds/rename.ts +104 -0
  1389. package/apps/studio/ds/render-rev.ts +144 -0
  1390. package/apps/studio/ds/revision.ts +268 -0
  1391. package/apps/studio/ds/shell-fallbacks.ts +84 -0
  1392. package/apps/studio/ds/switch.ts +426 -0
  1393. package/apps/studio/ds/system-files.ts +251 -0
  1394. package/apps/studio/ds/system.ts +312 -0
  1395. package/apps/studio/ds/undo-hook.ts +46 -0
  1396. package/apps/studio/ds/upgrade-apply.ts +258 -0
  1397. package/apps/studio/ds/upgrade-cli.ts +216 -0
  1398. package/apps/studio/ds/upgrade-codemod.ts +116 -0
  1399. package/apps/studio/ds/upgrade-progress.ts +153 -0
  1400. package/apps/studio/ds/upgrade-prove.ts +429 -0
  1401. package/apps/studio/ds/upgrade-stage.ts +387 -0
  1402. package/apps/studio/ds/upgrade.ts +394 -0
  1403. package/apps/studio/ds/value-types.ts +190 -0
  1404. package/apps/studio/edit-ops/align.ts +43 -0
  1405. package/apps/studio/edit-ops/arrange.ts +93 -0
  1406. package/apps/studio/edit-ops/artboard-facts.ts +70 -0
  1407. package/apps/studio/edit-ops/artboard-resize.ts +50 -0
  1408. package/apps/studio/edit-ops/artboard-trash.ts +77 -0
  1409. package/apps/studio/edit-ops/clear-link.ts +16 -0
  1410. package/apps/studio/edit-ops/clip/captions.ts +154 -0
  1411. package/apps/studio/edit-ops/clip/comp.ts +124 -0
  1412. package/apps/studio/edit-ops/clip/cut-source-range.ts +100 -0
  1413. package/apps/studio/edit-ops/clip/cut-to-beat.ts +136 -0
  1414. package/apps/studio/edit-ops/clip/duck.ts +123 -0
  1415. package/apps/studio/edit-ops/clip/easing.ts +76 -0
  1416. package/apps/studio/edit-ops/clip/formats.ts +163 -0
  1417. package/apps/studio/edit-ops/clip/gestures.ts +161 -0
  1418. package/apps/studio/edit-ops/clip/index.ts +543 -0
  1419. package/apps/studio/edit-ops/clip/jsx.ts +251 -0
  1420. package/apps/studio/edit-ops/clip/place.ts +127 -0
  1421. package/apps/studio/edit-ops/clip/reframe.ts +194 -0
  1422. package/apps/studio/edit-ops/clip/take-swap.ts +53 -0
  1423. package/apps/studio/edit-ops/clip/title-motion.ts +103 -0
  1424. package/apps/studio/edit-ops/clip/title-style.ts +177 -0
  1425. package/apps/studio/edit-ops/clip/track.ts +102 -0
  1426. package/apps/studio/edit-ops/clipboard.ts +482 -0
  1427. package/apps/studio/edit-ops/combine.ts +264 -0
  1428. package/apps/studio/edit-ops/constraints.ts +148 -0
  1429. package/apps/studio/edit-ops/convert-kind.ts +203 -0
  1430. package/apps/studio/edit-ops/corner-radius.ts +86 -0
  1431. package/apps/studio/edit-ops/crop.ts +303 -0
  1432. package/apps/studio/edit-ops/czech-ties.ts +84 -0
  1433. package/apps/studio/edit-ops/detach-instance.ts +119 -0
  1434. package/apps/studio/edit-ops/dispatch.ts +552 -0
  1435. package/apps/studio/edit-ops/distribute.ts +31 -0
  1436. package/apps/studio/edit-ops/ds-instance-update.ts +46 -0
  1437. package/apps/studio/edit-ops/ds-use-nearest.ts +72 -0
  1438. package/apps/studio/edit-ops/duplicate-at-width.ts +241 -0
  1439. package/apps/studio/edit-ops/frame.ts +68 -0
  1440. package/apps/studio/edit-ops/guides.ts +67 -0
  1441. package/apps/studio/edit-ops/hide.ts +30 -0
  1442. package/apps/studio/edit-ops/hover-rules.ts +94 -0
  1443. package/apps/studio/edit-ops/image-fit.ts +571 -0
  1444. package/apps/studio/edit-ops/insert-component.ts +344 -0
  1445. package/apps/studio/edit-ops/insert-preset.ts +151 -0
  1446. package/apps/studio/edit-ops/insert-shape.ts +326 -0
  1447. package/apps/studio/edit-ops/instance-model.ts +286 -0
  1448. package/apps/studio/edit-ops/instance-tree.ts +215 -0
  1449. package/apps/studio/edit-ops/layout-patch.ts +81 -0
  1450. package/apps/studio/edit-ops/lock.ts +30 -0
  1451. package/apps/studio/edit-ops/op-label.ts +155 -0
  1452. package/apps/studio/edit-ops/path-model.ts +671 -0
  1453. package/apps/studio/edit-ops/path.ts +172 -0
  1454. package/apps/studio/edit-ops/photo-every-use.ts +64 -0
  1455. package/apps/studio/edit-ops/photo-use.ts +41 -0
  1456. package/apps/studio/edit-ops/place-freely.ts +47 -0
  1457. package/apps/studio/edit-ops/place-plan.ts +60 -0
  1458. package/apps/studio/edit-ops/print.ts +104 -0
  1459. package/apps/studio/edit-ops/references.ts +231 -0
  1460. package/apps/studio/edit-ops/relink.ts +49 -0
  1461. package/apps/studio/edit-ops/reorder.ts +104 -0
  1462. package/apps/studio/edit-ops/reset-overrides.ts +75 -0
  1463. package/apps/studio/edit-ops/revert.ts +63 -0
  1464. package/apps/studio/edit-ops/rotate.ts +58 -0
  1465. package/apps/studio/edit-ops/safe-zones.ts +38 -0
  1466. package/apps/studio/edit-ops/scope-names.ts +151 -0
  1467. package/apps/studio/edit-ops/select-matching.ts +48 -0
  1468. package/apps/studio/edit-ops/set-gap.ts +65 -0
  1469. package/apps/studio/edit-ops/set-id.ts +42 -0
  1470. package/apps/studio/edit-ops/set-link.ts +39 -0
  1471. package/apps/studio/edit-ops/siblings.ts +105 -0
  1472. package/apps/studio/edit-ops/slot-defaults.ts +48 -0
  1473. package/apps/studio/edit-ops/stamp.ts +27 -0
  1474. package/apps/studio/edit-ops/swap-variant.ts +163 -0
  1475. package/apps/studio/edit-ops/text-copy.ts +146 -0
  1476. package/apps/studio/edit-ops/text-detach.ts +62 -0
  1477. package/apps/studio/edit-ops/text-style-ops.ts +131 -0
  1478. package/apps/studio/edit-ops/text-style.ts +141 -0
  1479. package/apps/studio/edit-ops/tidy.ts +72 -0
  1480. package/apps/studio/edit-ops/types.ts +229 -0
  1481. package/apps/studio/edit-ops/unframe.ts +53 -0
  1482. package/apps/studio/edit-ops/words-css.ts +487 -0
  1483. package/apps/studio/edit-ops/words-paint.ts +521 -0
  1484. package/apps/studio/edit-ops/z-order.ts +81 -0
  1485. package/apps/studio/editing/ai-point-ring.tsx +158 -0
  1486. package/apps/studio/editing/ai-scope-outline.tsx +180 -0
  1487. package/apps/studio/editing/align-bar.tsx +510 -0
  1488. package/apps/studio/editing/anchor-report.ts +123 -0
  1489. package/apps/studio/editing/anchor-reporter.tsx +64 -0
  1490. package/apps/studio/editing/aria-live.tsx +162 -0
  1491. package/apps/studio/editing/arrange.ts +345 -0
  1492. package/apps/studio/editing/artboard-actions.ts +275 -0
  1493. package/apps/studio/editing/artboard-commands.tsx +232 -0
  1494. package/apps/studio/editing/artboard-guides.tsx +265 -0
  1495. package/apps/studio/editing/artboard-handles.tsx +524 -0
  1496. package/apps/studio/editing/artboard-menu.tsx +153 -0
  1497. package/apps/studio/editing/artboard-resize.ts +306 -0
  1498. package/apps/studio/editing/ask-bubble.tsx +161 -0
  1499. package/apps/studio/editing/asset-drag.ts +70 -0
  1500. package/apps/studio/editing/click-to-type.ts +207 -0
  1501. package/apps/studio/editing/clipboard-actions.ts +91 -0
  1502. package/apps/studio/editing/clipboard.ts +194 -0
  1503. package/apps/studio/editing/clipped-grab.ts +45 -0
  1504. package/apps/studio/editing/corner-dots.tsx +394 -0
  1505. package/apps/studio/editing/crop-geometry.ts +128 -0
  1506. package/apps/studio/editing/crop-mode.tsx +522 -0
  1507. package/apps/studio/editing/crumbs.ts +158 -0
  1508. package/apps/studio/editing/draw-geometry.ts +151 -0
  1509. package/apps/studio/editing/draw-tools.tsx +490 -0
  1510. package/apps/studio/editing/drop-chip.tsx +105 -0
  1511. package/apps/studio/editing/duplicate-rhythm.ts +166 -0
  1512. package/apps/studio/editing/edit-chrome-gate.tsx +58 -0
  1513. package/apps/studio/editing/edit-op.ts +90 -0
  1514. package/apps/studio/editing/empty-report.ts +182 -0
  1515. package/apps/studio/editing/empty-reporter.tsx +74 -0
  1516. package/apps/studio/editing/figma-paste.ts +71 -0
  1517. package/apps/studio/editing/finder-drop-model.ts +130 -0
  1518. package/apps/studio/editing/finder-drop.tsx +400 -0
  1519. package/apps/studio/editing/focus-model.tsx +429 -0
  1520. package/apps/studio/editing/gap-bands.tsx +257 -0
  1521. package/apps/studio/editing/hold-rings.tsx +461 -0
  1522. package/apps/studio/editing/image-drop.tsx +193 -0
  1523. package/apps/studio/editing/index.tsx +402 -0
  1524. package/apps/studio/editing/instance-actions.ts +152 -0
  1525. package/apps/studio/editing/kids-summary.ts +75 -0
  1526. package/apps/studio/editing/kind-dim.tsx +54 -0
  1527. package/apps/studio/editing/layout-actions.ts +159 -0
  1528. package/apps/studio/editing/lock-badge.tsx +178 -0
  1529. package/apps/studio/editing/long-page.ts +102 -0
  1530. package/apps/studio/editing/minimap-context.tsx +161 -0
  1531. package/apps/studio/editing/nudge.tsx +212 -0
  1532. package/apps/studio/editing/object-actions.ts +156 -0
  1533. package/apps/studio/editing/object-keys.ts +58 -0
  1534. package/apps/studio/editing/object-menu.tsx +216 -0
  1535. package/apps/studio/editing/object-ops.ts +114 -0
  1536. package/apps/studio/editing/paste-bar.tsx +388 -0
  1537. package/apps/studio/editing/pen/combine-run.ts +113 -0
  1538. package/apps/studio/editing/pen/draw.tsx +364 -0
  1539. package/apps/studio/editing/pen/index.tsx +48 -0
  1540. package/apps/studio/editing/pen/overlay.tsx +147 -0
  1541. package/apps/studio/editing/pen/pen-geometry.ts +234 -0
  1542. package/apps/studio/editing/pen/point-store.ts +64 -0
  1543. package/apps/studio/editing/pen/points.tsx +421 -0
  1544. package/apps/studio/editing/place-freely.tsx +389 -0
  1545. package/apps/studio/editing/place-ghost.tsx +418 -0
  1546. package/apps/studio/editing/place-image.tsx +219 -0
  1547. package/apps/studio/editing/preset-ruler.tsx +218 -0
  1548. package/apps/studio/editing/rename-order.ts +58 -0
  1549. package/apps/studio/editing/reorder-slot.tsx +567 -0
  1550. package/apps/studio/editing/rotate-handle.tsx +353 -0
  1551. package/apps/studio/editing/selection.tsx +319 -0
  1552. package/apps/studio/editing/set-gap.ts +55 -0
  1553. package/apps/studio/editing/size-ghost.tsx +343 -0
  1554. package/apps/studio/editing/space-tap.ts +56 -0
  1555. package/apps/studio/editing/sticky-name.tsx +112 -0
  1556. package/apps/studio/editing/tab-order.tsx +298 -0
  1557. package/apps/studio/editing/take-keys.ts +115 -0
  1558. package/apps/studio/editing/text-actions.ts +214 -0
  1559. package/apps/studio/editing/text-in-place.tsx +187 -0
  1560. package/apps/studio/editing/tidy-preview.tsx +83 -0
  1561. package/apps/studio/editing/token-ruler.tsx +231 -0
  1562. package/apps/studio/editing/type-role.ts +122 -0
  1563. package/apps/studio/editing/undo-preview.tsx +120 -0
  1564. package/apps/studio/editing/video-label.ts +66 -0
  1565. package/apps/studio/editing/video-play.ts +65 -0
  1566. package/apps/studio/editing/world-menu.ts +36 -0
  1567. package/apps/studio/element-ids.ts +1030 -0
  1568. package/apps/studio/equal-spacing-handles.tsx +1 -1
  1569. package/apps/studio/exporters/_runtime.ts +64 -24
  1570. package/apps/studio/exporters/audio.ts +136 -0
  1571. package/apps/studio/exporters/door-fingerprint.ts +202 -0
  1572. package/apps/studio/exporters/estimate.ts +314 -0
  1573. package/apps/studio/exporters/file-names.ts +197 -0
  1574. package/apps/studio/exporters/format-scopes.ts +7 -1
  1575. package/apps/studio/exporters/hub-render-door.ts +368 -0
  1576. package/apps/studio/exporters/index.ts +53 -7
  1577. package/apps/studio/exporters/jobs.ts +484 -80
  1578. package/apps/studio/exporters/jpg.ts +21 -0
  1579. package/apps/studio/exporters/pdf-fonts.ts +102 -0
  1580. package/apps/studio/exporters/pdf.ts +133 -14
  1581. package/apps/studio/exporters/png.ts +136 -9
  1582. package/apps/studio/exporters/print-back.ts +92 -0
  1583. package/apps/studio/exporters/print-preflight.ts +373 -0
  1584. package/apps/studio/exporters/rects-runner.ts +130 -0
  1585. package/apps/studio/exporters/remote.ts +726 -3
  1586. package/apps/studio/exporters/render-seconds.ts +57 -0
  1587. package/apps/studio/exporters/replay.ts +48 -0
  1588. package/apps/studio/exporters/scope.ts +560 -15
  1589. package/apps/studio/exporters/spec-run.ts +270 -0
  1590. package/apps/studio/exporters/spec-v2.ts +408 -0
  1591. package/apps/studio/exporters/video-cap.ts +280 -0
  1592. package/apps/studio/exporters/wait-ai.ts +192 -0
  1593. package/apps/studio/figma/client.ts +67 -0
  1594. package/apps/studio/figma/comments-to-pins.ts +249 -0
  1595. package/apps/studio/figma/comments-to-strokes.ts +6 -1
  1596. package/apps/studio/figma/into-board.ts +141 -0
  1597. package/apps/studio/figma/to-strokes.ts +54 -0
  1598. package/apps/studio/format.ts +172 -30
  1599. package/apps/studio/fs-watch.ts +28 -1
  1600. package/apps/studio/generation/adapters/gemini.ts +3 -0
  1601. package/apps/studio/generation/adapters/stub.ts +133 -0
  1602. package/apps/studio/generation/gen-sidecar.ts +108 -0
  1603. package/apps/studio/generation/registry.ts +16 -5
  1604. package/apps/studio/generation/takes.ts +398 -0
  1605. package/apps/studio/generation/types.ts +7 -0
  1606. package/apps/studio/git/service.ts +143 -14
  1607. package/apps/studio/github/endpoints.ts +1 -1
  1608. package/apps/studio/github/identity-cache.ts +53 -14
  1609. package/apps/studio/handoff/blockers.ts +120 -0
  1610. package/apps/studio/handoff/run.ts +233 -0
  1611. package/apps/studio/handoff/targets.ts +334 -0
  1612. package/apps/studio/handoff/write-scopes.ts +57 -0
  1613. package/apps/studio/handoff.ts +24 -5
  1614. package/apps/studio/history/changes.ts +199 -0
  1615. package/apps/studio/history/describe-annotations.ts +216 -0
  1616. package/apps/studio/history/describe-css.ts +592 -0
  1617. package/apps/studio/history/describe-match.ts +866 -0
  1618. package/apps/studio/history/describe-meta.ts +281 -0
  1619. package/apps/studio/history/describe-version.ts +89 -0
  1620. package/apps/studio/history/describe-words.ts +513 -0
  1621. package/apps/studio/history/describe.ts +1452 -0
  1622. package/apps/studio/history/last-good.ts +123 -0
  1623. package/apps/studio/history/links.ts +112 -0
  1624. package/apps/studio/history/object-history.ts +535 -0
  1625. package/apps/studio/history/render-ok-signal.ts +81 -0
  1626. package/apps/studio/history/restore-artboard-action.ts +183 -0
  1627. package/apps/studio/history/restore-artboard.ts +607 -0
  1628. package/apps/studio/history/restore-object.ts +168 -0
  1629. package/apps/studio/history/run-label.ts +18 -0
  1630. package/apps/studio/history/surface-requests.ts +115 -0
  1631. package/apps/studio/history/titles.ts +259 -0
  1632. package/apps/studio/history/trash.ts +314 -0
  1633. package/apps/studio/history/version-lanes.ts +115 -0
  1634. package/apps/studio/history/versions.ts +458 -0
  1635. package/apps/studio/hmr-broadcast.ts +55 -1
  1636. package/apps/studio/home/ai.ts +79 -0
  1637. package/apps/studio/home/cli.ts +221 -0
  1638. package/apps/studio/home/cloud.ts +297 -0
  1639. package/apps/studio/home/create-local.ts +164 -0
  1640. package/apps/studio/home/github.ts +99 -0
  1641. package/apps/studio/home/hub.ts +340 -0
  1642. package/apps/studio/home/index-gc.ts +288 -0
  1643. package/apps/studio/home/index-reader.ts +338 -0
  1644. package/apps/studio/home/invite.ts +204 -0
  1645. package/apps/studio/home/main.ts +159 -0
  1646. package/apps/studio/home/pid.ts +12 -0
  1647. package/apps/studio/home/routes.ts +591 -0
  1648. package/apps/studio/home/signin.ts +285 -0
  1649. package/apps/studio/home/user-state.ts +177 -0
  1650. package/apps/studio/home/whats-new.ts +42 -0
  1651. package/apps/studio/http.ts +2589 -947
  1652. package/apps/studio/index/assets-response.ts +34 -0
  1653. package/apps/studio/index/assets.ts +335 -0
  1654. package/apps/studio/index/ds-usage.ts +983 -0
  1655. package/apps/studio/index/extract.ts +348 -0
  1656. package/apps/studio/index/extractors/asset-usage.ts +349 -0
  1657. package/apps/studio/index/extractors/attribution-cache.ts +225 -0
  1658. package/apps/studio/index/history-refs.ts +301 -0
  1659. package/apps/studio/index/history-source.ts +39 -0
  1660. package/apps/studio/index/match.ts +307 -0
  1661. package/apps/studio/index/scan-kick.ts +47 -0
  1662. package/apps/studio/index/service.ts +367 -0
  1663. package/apps/studio/index/snapshot.ts +135 -0
  1664. package/apps/studio/index/types.ts +139 -0
  1665. package/apps/studio/index/version-feed.ts +71 -0
  1666. package/apps/studio/input-router.tsx +522 -55
  1667. package/apps/studio/inspect-canvas.ts +86 -0
  1668. package/apps/studio/inspect-overlay.tsx +192 -0
  1669. package/apps/studio/inspect.ts +96 -33
  1670. package/apps/studio/kinds/convert.ts +175 -0
  1671. package/apps/studio/kinds/export-defaults.ts +42 -0
  1672. package/apps/studio/kinds/meta.ts +237 -0
  1673. package/apps/studio/kinds/physical.ts +84 -0
  1674. package/apps/studio/kinds/presets.ts +452 -0
  1675. package/apps/studio/kinds/print-custom.ts +165 -0
  1676. package/apps/studio/kinds/print-edit.ts +130 -0
  1677. package/apps/studio/kinds/print-guides.ts +23 -0
  1678. package/apps/studio/kinds/safe-zones.ts +250 -0
  1679. package/apps/studio/kinds/warnings.ts +422 -0
  1680. package/apps/studio/layer-name.ts +148 -0
  1681. package/apps/studio/layout/free-space.ts +131 -0
  1682. package/apps/studio/link-chip-overlay.tsx +175 -0
  1683. package/apps/studio/link-import.ts +617 -0
  1684. package/apps/studio/loopback-listen.ts +105 -0
  1685. package/apps/studio/macro-guard.ts +67 -0
  1686. package/apps/studio/managed-projects.ts +63 -14
  1687. package/apps/studio/marquee-overlay.tsx +2 -2
  1688. package/apps/studio/measure-overlay.tsx +10 -4
  1689. package/apps/studio/migrate/cli.ts +164 -0
  1690. package/apps/studio/migrate/ds-registry.ts +42 -0
  1691. package/apps/studio/migrate/engine.ts +926 -0
  1692. package/apps/studio/migrate/hub.ts +219 -0
  1693. package/apps/studio/migrate/steps.ts +627 -0
  1694. package/apps/studio/notifications.tsx +197 -52
  1695. package/apps/studio/outbox/content.ts +139 -0
  1696. package/apps/studio/outbox/drain.ts +269 -0
  1697. package/apps/studio/outbox/hub-reachability.ts +58 -0
  1698. package/apps/studio/outbox/index.ts +57 -0
  1699. package/apps/studio/outbox/policy.ts +859 -0
  1700. package/apps/studio/outbox/senders/export-cloud.ts +116 -0
  1701. package/apps/studio/outbox/store.ts +336 -0
  1702. package/apps/studio/outbox/types.ts +160 -0
  1703. package/apps/studio/participants-chrome.tsx +178 -60
  1704. package/apps/studio/paths.ts +8 -0
  1705. package/apps/studio/photo-store.ts +230 -1
  1706. package/apps/studio/port.ts +93 -0
  1707. package/apps/studio/presence/canvas-presence.tsx +522 -0
  1708. package/apps/studio/presence/fields.ts +93 -0
  1709. package/apps/studio/presence/model.ts +296 -0
  1710. package/apps/studio/presence/tones.ts +39 -0
  1711. package/apps/studio/present/fit.ts +138 -0
  1712. package/apps/studio/present/follow.ts +142 -0
  1713. package/apps/studio/present/media-presence.ts +105 -0
  1714. package/apps/studio/present/meta-schema.ts +612 -0
  1715. package/apps/studio/present/order.ts +153 -0
  1716. package/apps/studio/present/pointer-dot.tsx +379 -0
  1717. package/apps/studio/present/pointer-point.ts +24 -0
  1718. package/apps/studio/present/present-media.ts +446 -0
  1719. package/apps/studio/present/present-stage.tsx +1018 -0
  1720. package/apps/studio/present/present-zoom.ts +63 -0
  1721. package/apps/studio/present/relay-strip.ts +136 -0
  1722. package/apps/studio/preview/preview-camera.tsx +442 -0
  1723. package/apps/studio/preview/wheel-scroll.ts +85 -0
  1724. package/apps/studio/print/units.ts +3 -0
  1725. package/apps/studio/print-overlay-content.tsx +127 -10
  1726. package/apps/studio/read-only-mode.ts +83 -0
  1727. package/apps/studio/readiness.ts +18 -3
  1728. package/apps/studio/ripple.ts +19 -1
  1729. package/apps/studio/routes/agent.ts +1025 -0
  1730. package/apps/studio/routes/ai.ts +422 -0
  1731. package/apps/studio/routes/annotations.ts +649 -0
  1732. package/apps/studio/routes/asset-details.ts +87 -0
  1733. package/apps/studio/routes/asset-rename.ts +60 -0
  1734. package/apps/studio/routes/asset-state.ts +137 -0
  1735. package/apps/studio/routes/asset-trash.ts +77 -0
  1736. package/apps/studio/routes/assets.ts +217 -0
  1737. package/apps/studio/routes/availability.ts +94 -0
  1738. package/apps/studio/routes/canvas-meta-rider.ts +304 -0
  1739. package/apps/studio/routes/canvas-origin.ts +88 -0
  1740. package/apps/studio/routes/canvas-source.ts +315 -0
  1741. package/apps/studio/routes/chat-attach.ts +335 -0
  1742. package/apps/studio/routes/chat.ts +137 -0
  1743. package/apps/studio/routes/cloud-move.ts +364 -0
  1744. package/apps/studio/routes/cloud-plan.ts +36 -0
  1745. package/apps/studio/routes/comments.ts +118 -0
  1746. package/apps/studio/routes/connections.ts +132 -0
  1747. package/apps/studio/routes/describe.ts +122 -0
  1748. package/apps/studio/routes/diagnostics.ts +118 -0
  1749. package/apps/studio/routes/ds-check.ts +124 -0
  1750. package/apps/studio/routes/ds-convert.ts +55 -0
  1751. package/apps/studio/routes/ds-edges.ts +136 -0
  1752. package/apps/studio/routes/ds-library.ts +194 -0
  1753. package/apps/studio/routes/ds-make.ts +91 -0
  1754. package/apps/studio/routes/ds-switch.ts +68 -0
  1755. package/apps/studio/routes/ds-upgrade.ts +139 -0
  1756. package/apps/studio/routes/ds.ts +808 -0
  1757. package/apps/studio/routes/edit.ts +658 -0
  1758. package/apps/studio/routes/element-links.ts +155 -0
  1759. package/apps/studio/routes/export.ts +486 -0
  1760. package/apps/studio/routes/figma.ts +200 -0
  1761. package/apps/studio/routes/generate.ts +443 -0
  1762. package/apps/studio/routes/handoff.ts +319 -0
  1763. package/apps/studio/routes/help-guides.ts +37 -0
  1764. package/apps/studio/routes/history.ts +739 -0
  1765. package/apps/studio/routes/import-link.ts +186 -0
  1766. package/apps/studio/routes/index.ts +293 -0
  1767. package/apps/studio/routes/kinds.ts +257 -0
  1768. package/apps/studio/routes/links.ts +72 -0
  1769. package/apps/studio/routes/outbox.ts +87 -0
  1770. package/apps/studio/routes/photo-every-use.ts +241 -0
  1771. package/apps/studio/routes/pins.ts +66 -0
  1772. package/apps/studio/routes/present.ts +187 -0
  1773. package/apps/studio/routes/project-format.ts +148 -0
  1774. package/apps/studio/routes/project-undo.ts +497 -0
  1775. package/apps/studio/routes/settings.ts +179 -0
  1776. package/apps/studio/routes/share.ts +463 -0
  1777. package/apps/studio/routes/shell.ts +137 -0
  1778. package/apps/studio/routes/sync-conflicts.ts +150 -0
  1779. package/apps/studio/routes/sync.ts +172 -0
  1780. package/apps/studio/routes/table.ts +224 -0
  1781. package/apps/studio/routes/trash.ts +393 -0
  1782. package/apps/studio/routes/video.ts +395 -0
  1783. package/apps/studio/routes/votes.ts +486 -0
  1784. package/apps/studio/safe-zones-overlay.tsx +269 -0
  1785. package/apps/studio/scaffold-design.ts +72 -124
  1786. package/apps/studio/schema/annotations.v2.schema.json +2303 -0
  1787. package/apps/studio/schema/beats.v1.schema.json +94 -0
  1788. package/apps/studio/schema/canvas-meta.v2.schema.json +264 -0
  1789. package/apps/studio/schema/canvas-tsx.md +357 -0
  1790. package/apps/studio/schema/comments.v2.schema.json +125 -0
  1791. package/apps/studio/schema/ds-components-v1.schema.json +96 -0
  1792. package/apps/studio/schema/ds-formats.md +146 -0
  1793. package/apps/studio/schema/ds-head-v1.schema.json +67 -0
  1794. package/apps/studio/schema/ds-revision-v1.schema.json +31 -0
  1795. package/apps/studio/schema/ds-schema-v1.fallbacks.css +118 -0
  1796. package/apps/studio/schema/ds-schema-v1.json +2029 -0
  1797. package/apps/studio/schema/ds-schema-v1.schema.json +663 -0
  1798. package/apps/studio/schema/ds-tokens-v1.schema.json +210 -0
  1799. package/apps/studio/schema/edl.v1.schema.json +124 -0
  1800. package/apps/studio/schema/formats.ts +175 -0
  1801. package/apps/studio/schema/gen.v1.schema.json +33 -0
  1802. package/apps/studio/schema/transcript.v1.schema.json +133 -0
  1803. package/apps/studio/server.ts +454 -166
  1804. package/apps/studio/shell/info-file.ts +54 -0
  1805. package/apps/studio/shell/parent-watch.ts +97 -0
  1806. package/apps/studio/shell/profile.ts +61 -0
  1807. package/apps/studio/shell-canvas-file.ts +36 -0
  1808. package/apps/studio/skip-dirs.ts +455 -0
  1809. package/apps/studio/spoof-chars.ts +17 -0
  1810. package/apps/studio/static-lane.ts +212 -0
  1811. package/apps/studio/sync/accepted-cold-start.ts +35 -13
  1812. package/apps/studio/sync/accepted-link.ts +524 -27
  1813. package/apps/studio/sync/access-notices.ts +143 -0
  1814. package/apps/studio/sync/action-feed.ts +145 -0
  1815. package/apps/studio/sync/action-stage.ts +831 -165
  1816. package/apps/studio/sync/asset-push.ts +24 -2
  1817. package/apps/studio/sync/asset-state.ts +391 -0
  1818. package/apps/studio/sync/atomic-write.ts +42 -1
  1819. package/apps/studio/sync/availability.ts +185 -0
  1820. package/apps/studio/sync/canvas-path.ts +70 -6
  1821. package/apps/studio/sync/cell-pairing.ts +5 -24
  1822. package/apps/studio/sync/comment-door.ts +104 -0
  1823. package/apps/studio/sync/conflict-record.ts +186 -0
  1824. package/apps/studio/sync/create-collision.ts +297 -0
  1825. package/apps/studio/sync/ctl-provider.ts +16 -1
  1826. package/apps/studio/sync/file-ledger.ts +12 -0
  1827. package/apps/studio/sync/file-membership.ts +123 -10
  1828. package/apps/studio/sync/file-plane.ts +195 -12
  1829. package/apps/studio/sync/format-sync.ts +13 -7
  1830. package/apps/studio/sync/history-fields.ts +61 -0
  1831. package/apps/studio/sync/hub-link.ts +24 -4
  1832. package/apps/studio/sync/hub-text-undo.ts +178 -0
  1833. package/apps/studio/sync/hubs-config.ts +122 -20
  1834. package/apps/studio/sync/index.ts +1499 -128
  1835. package/apps/studio/sync/journal-client.ts +56 -0
  1836. package/apps/studio/sync/keep-both.ts +187 -0
  1837. package/apps/studio/sync/link-consent.ts +390 -0
  1838. package/apps/studio/sync/local-kernel.ts +2725 -0
  1839. package/apps/studio/sync/media-gate.ts +97 -0
  1840. package/apps/studio/sync/object-conflict.ts +199 -0
  1841. package/apps/studio/sync/poke.ts +50 -0
  1842. package/apps/studio/sync/presentation.ts +20 -2
  1843. package/apps/studio/sync/project-config-push.ts +5 -2
  1844. package/apps/studio/sync/projection.ts +208 -34
  1845. package/apps/studio/sync/resync-trace.ts +220 -0
  1846. package/apps/studio/sync/retry-after.ts +27 -0
  1847. package/apps/studio/sync/status.ts +16 -1
  1848. package/apps/studio/sync/supervisor.ts +20 -2
  1849. package/apps/studio/sync/transaction-client.ts +364 -34
  1850. package/apps/studio/sync/trash-clear-copies.ts +120 -0
  1851. package/apps/studio/sync/trash-watch.ts +157 -0
  1852. package/apps/studio/sync/trash.ts +50 -2
  1853. package/apps/studio/sync/undo-target.ts +110 -0
  1854. package/apps/studio/sync/workspace-signin.ts +14 -3
  1855. package/apps/studio/sync/write-hold.ts +238 -0
  1856. package/apps/studio/sync/writer-registry.ts +380 -5
  1857. package/apps/studio/sync-name-key.ts +59 -0
  1858. package/apps/studio/thumbs/keys.ts +147 -0
  1859. package/apps/studio/thumbs/routes.ts +68 -0
  1860. package/apps/studio/thumbs/service.ts +884 -0
  1861. package/apps/studio/thumbs/store.ts +114 -0
  1862. package/apps/studio/thumbs/validate.ts +62 -0
  1863. package/apps/studio/tool-palette.tsx +782 -563
  1864. package/apps/studio/toolbars/marker-tip.ts +22 -0
  1865. package/apps/studio/toolbars/shell-panels.ts +55 -0
  1866. package/apps/studio/toolbars/tool-panel.ts +89 -0
  1867. package/apps/studio/toolbars/toolbar-css.ts +283 -0
  1868. package/apps/studio/toolbars/toolbar-icons.tsx +135 -0
  1869. package/apps/studio/toolbars/toolbar-rect.ts +82 -0
  1870. package/apps/studio/ui-prefs-migrate.ts +467 -0
  1871. package/apps/studio/ui-prefs.ts +305 -3
  1872. package/apps/studio/undo-stack.ts +10 -0
  1873. package/apps/studio/use-annotation-resize.tsx +23 -17
  1874. package/apps/studio/use-artboard-drag.tsx +156 -15
  1875. package/apps/studio/use-canvas-keys.ts +58 -0
  1876. package/apps/studio/use-chrome-visibility.tsx +13 -0
  1877. package/apps/studio/use-collab.tsx +556 -56
  1878. package/apps/studio/use-element-resize.tsx +13 -9
  1879. package/apps/studio/use-governed-mode.ts +23 -0
  1880. package/apps/studio/use-keyboard-discipline.tsx +114 -49
  1881. package/apps/studio/use-selection-set.tsx +110 -9
  1882. package/apps/studio/use-snap-guides.tsx +74 -5
  1883. package/apps/studio/use-spacing-handles.tsx +90 -27
  1884. package/apps/studio/use-tool-mode.tsx +204 -10
  1885. package/apps/studio/use-undo-stack.tsx +19 -23
  1886. package/apps/studio/video/beats.ts +484 -0
  1887. package/apps/studio/video/decode-webaudio.ts +115 -0
  1888. package/apps/studio/video/decode.ts +288 -0
  1889. package/apps/studio/video/derive.ts +647 -0
  1890. package/apps/studio/video/format-ids.ts +158 -0
  1891. package/apps/studio/video/framing.ts +246 -0
  1892. package/apps/studio/video/inject.ts +324 -0
  1893. package/apps/studio/video/keyframes.ts +356 -0
  1894. package/apps/studio/video/link-groups.ts +40 -0
  1895. package/apps/studio/video/linked-formats.ts +142 -0
  1896. package/apps/studio/video/mask-comments.ts +36 -0
  1897. package/apps/studio/video/media-analysis.ts +169 -0
  1898. package/apps/studio/video/reel-place.ts +286 -0
  1899. package/apps/studio/video/reframe-read.ts +90 -0
  1900. package/apps/studio/video/schema.ts +422 -0
  1901. package/apps/studio/video/speech.ts +129 -0
  1902. package/apps/studio/video/title-motion.ts +85 -0
  1903. package/apps/studio/video/transcript-cut.ts +91 -0
  1904. package/apps/studio/video/whisper-parse.ts +123 -0
  1905. package/apps/studio/video/words-run.ts +210 -0
  1906. package/apps/studio/video/words-timing.ts +222 -0
  1907. package/apps/studio/video-comp.tsx +238 -9
  1908. package/apps/studio/video-links-overlay.tsx +272 -0
  1909. package/apps/studio/video-natural.ts +73 -0
  1910. package/apps/studio/video-play-chrome.tsx +229 -0
  1911. package/apps/studio/video-play-overlay.tsx +190 -0
  1912. package/apps/studio/video-vocab.tsx +460 -0
  1913. package/apps/studio/view-only-gesture.tsx +101 -0
  1914. package/apps/studio/viewport-fit.ts +28 -0
  1915. package/apps/studio/web-overlay-content.tsx +4 -2
  1916. package/apps/studio/whats-new.json +100 -20
  1917. package/apps/studio/whats-new.schema.json +10 -0
  1918. package/apps/studio/whats-new.ts +4 -0
  1919. package/apps/studio/workspace-mode.ts +10 -0
  1920. package/apps/studio/ws.ts +299 -8
  1921. package/cli/bin/maude.mjs +1 -0
  1922. package/cli/commands/design.mjs +401 -72
  1923. package/cli/commands/flow.mjs +12 -1
  1924. package/cli/commands/help.mjs +8 -0
  1925. package/cli/commands/migrate.mjs +55 -0
  1926. package/cli/lib/bash-guard.mjs +1691 -0
  1927. package/cli/lib/confine-out.mjs +150 -0
  1928. package/cli/lib/confine-read.mjs +179 -0
  1929. package/cli/lib/confine-root.mjs +157 -0
  1930. package/cli/lib/design-help.gen.mjs +119 -0
  1931. package/cli/lib/design-hook.mjs +1764 -0
  1932. package/cli/lib/design-link.mjs +68 -4
  1933. package/cli/lib/design-open.mjs +238 -0
  1934. package/cli/lib/export-spec.mjs +394 -0
  1935. package/cli/lib/finding-text.mjs +63 -0
  1936. package/cli/lib/flow-usage.mjs +6 -10
  1937. package/cli/lib/gitignore-block.mjs +1 -0
  1938. package/cli/lib/handoff.mjs +285 -0
  1939. package/cli/lib/handoff.schema.json +336 -0
  1940. package/cli/lib/hubs-config.mjs +10 -0
  1941. package/cli/lib/json-schema-lite.mjs +260 -0
  1942. package/cli/lib/project-links.mjs +88 -0
  1943. package/cli/lib/studio-locate.mjs +83 -0
  1944. package/cli/lib/sub-verbs.mjs +111 -0
  1945. package/cli/lib/workspace-plan.mjs +16 -3
  1946. package/package.json +29 -10
  1947. package/plugins/design/README.md +46 -0
  1948. package/plugins/design/templates/_shell.html +749 -69
  1949. package/plugins/design/templates/blank-canvas.tsx.template +26 -0
  1950. package/plugins/design/templates/brief-board.tsx.template +12 -11
  1951. package/plugins/design/templates/canvas.tsx.template +3 -3
  1952. package/plugins/design/templates/design-system-inspiration/core/README.philosophy.md.tpl +104 -0
  1953. package/plugins/design/templates/design-system-inspiration/core/colors_and_type.css.tpl +38 -3
  1954. package/plugins/design/templates/design-system-inspiration/core/components.json.tpl +127 -0
  1955. package/plugins/design/templates/design-system-inspiration/core/config.json.tpl +1 -0
  1956. package/plugins/design/templates/design-system-inspiration/core/preview/_components.css.tpl +111 -0
  1957. package/plugins/flow/.claude-plugin/config.schema.json +6 -1
  1958. package/apps/studio/annotations/ui/edit-actions.ts +0 -551
  1959. package/apps/studio/canvas-header.ts +0 -165
  1960. package/apps/studio/client/hmr.mjs +0 -113
  1961. package/apps/studio/client/hooks/use-keyboard-shortcuts.jsx +0 -297
  1962. package/apps/studio/client/iframe-lazy.mjs +0 -121
  1963. package/apps/studio/client/inspector/artboard-knobs.jsx +0 -456
  1964. package/apps/studio/client/menus/menubar.jsx +0 -856
  1965. package/apps/studio/client/panels/CapabilityBar.jsx +0 -101
  1966. package/apps/studio/client/panels/ClipInspector.jsx +0 -409
  1967. package/apps/studio/client/panels/GitPanel.jsx +0 -1026
  1968. package/apps/studio/client/panels/OnboardingWizard.jsx +0 -642
  1969. package/apps/studio/client/panels/StickerPicker.jsx +0 -160
  1970. package/apps/studio/client/panels/SyncPanel.jsx +0 -1190
  1971. package/apps/studio/client/panels/TimelinePanel.jsx +0 -2259
  1972. package/apps/studio/client/share-dialog.jsx +0 -91
  1973. package/apps/studio/client/shell/collapsed-rail.jsx +0 -23
  1974. package/apps/studio/client/shell/status-bar.jsx +0 -215
  1975. package/apps/studio/client/styles/1-tokens-maude.css +0 -296
  1976. package/apps/studio/client/styles/1-tokens.css +0 -304
  1977. package/apps/studio/client/styles/3-shell-maude.css +0 -3158
  1978. package/apps/studio/client/styles/3-shell.css +0 -1036
  1979. package/apps/studio/client/styles/4-components-maude.css +0 -134
  1980. package/apps/studio/client/styles/4-components.css +0 -2204
  1981. package/apps/studio/client/styles/5-maude-overrides.css +0 -162
  1982. package/apps/studio/client/styles.css +0 -1264
  1983. package/apps/studio/contextual-toolbar.tsx +0 -512
  1984. package/apps/studio/export-dialog.tsx +0 -827
  1985. package/apps/studio/undo-hud.tsx +0 -16
@@ -1,3158 +0,0 @@
1
- /* @layer shell — maude DS studio chrome (Plan B), ported from `.design/ui/Studio.css`.
2
- *
3
- * The `.st-*` classes are lifted near-verbatim from the approved Studio.css
4
- * mockup (every value a maude `var(--*)` token). They live inside the
5
- * `.maude[data-theme]` root the App renders, so the maude ladder
6
- * (1-tokens-maude.css) drives them. Grown slice-by-slice:
7
- * Task 3 — shell scaffold · menubar · dropdowns · status bar · atoms.
8
- * Task 4 — sidebar · tree · rail. (appended later)
9
- * Task 5 — stage · world chrome. (appended later)
10
- * Task 6 — right panel · palette · toast. (appended later)
11
- *
12
- * Per CLAUDE.md "Lift, don't reinvent"; DDR-014 @layer order preserved.
13
- */
14
-
15
- @layer shell {
16
-
17
- /* ─── Shell scaffold ───────────────────────────────────────────────────────
18
- * The real app fills the viewport (NOT an artboard body), so this overrides the
19
- * mockup's rounded-border `.st-shell` frame: full-bleed flex column, the
20
- * existing `.app` grid flexes as the middle body row between the bars. */
21
- .maude { position: relative; }
22
- .st-shell {
23
- width: 100vw; height: 100vh; overflow: hidden;
24
- display: flex; flex-direction: column;
25
- background: var(--bg-0); color: var(--fg-0);
26
- font-family: var(--font-body); font-size: var(--type-base); line-height: var(--lh-base);
27
- -webkit-font-smoothing: antialiased;
28
- }
29
- /* The legacy grid body (sidebar | main | rsidebar) now flexes between the
30
- * full-width menubar + status bar instead of owning the whole viewport. */
31
- .st-shell > .app { width: 100%; height: auto; flex: 1 1 auto; min-height: 0; }
32
- .st-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
33
-
34
- /* ─── Menubar (top) ───────────────────────────────────────────────────────── */
35
- .st-menubar {
36
- height: 40px; flex: 0 0 40px;
37
- display: flex; align-items: center; gap: var(--space-3);
38
- padding: 0 var(--space-3) 0 var(--space-4);
39
- background: var(--bg-1); border-bottom: 1px solid var(--border-default);
40
- position: relative; z-index: 40;
41
- }
42
- .st-brand { display: inline-flex; align-items: center; gap: var(--space-3); padding-right: var(--space-3); }
43
- .st-brand-mark {
44
- width: 18px; height: 18px;
45
- /* message-bubble corner — bottom-right squared, the other three rounded */
46
- border-radius: var(--radius-sm) var(--radius-sm) 0 var(--radius-sm);
47
- background: var(--accent); display: grid; place-items: center; color: var(--accent-fg);
48
- box-shadow: 0 0 0 3px var(--accent-tint);
49
- }
50
- /* the spark star fills the bubble (32-grid path, identical to the logo specimen) */
51
- .st-brand-mark svg { width: 100%; height: 100%; display: block; }
52
- .st-brand-name { font-family: var(--font-display); font-weight: 600; font-size: var(--type-md); letter-spacing: var(--tracking-tight); }
53
- .st-menus { display: flex; align-items: center; gap: var(--space-1); }
54
- .st-menu {
55
- appearance: none; border: 0; background: transparent; cursor: pointer;
56
- font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-1);
57
- padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs);
58
- transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out);
59
- }
60
- .st-menu:hover { background: var(--bg-3); color: var(--fg-0); }
61
- .st-menu[aria-expanded="true"] { background: var(--bg-3); color: var(--fg-0); }
62
- .st-menu[aria-disabled="true"] { color: var(--fg-3); cursor: default; }
63
- /* keyboard ring: the shared `.maude :is(button…):focus-visible` recipe */
64
-
65
- .st-mb-right { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
66
- .st-stamp {
67
- font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide);
68
- text-transform: uppercase; color: var(--accent);
69
- padding: var(--space-1) var(--space-3); border: 1px solid var(--accent-muted);
70
- border-radius: var(--radius-pill); background: var(--accent-tint);
71
- }
72
- /* Cloud Phase 25 C2 — the viewer-role stamp. Warning hue so "why is editing
73
- missing" has a visible, hoverable answer in the chrome. */
74
- .st-stamp--viewonly {
75
- color: var(--status-warning, var(--accent));
76
- border-color: color-mix(in oklab, var(--status-warning, var(--accent)) 40%, transparent);
77
- background: color-mix(in oklab, var(--status-warning, var(--accent)) 12%, transparent);
78
- }
79
- .st-mb-file { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
80
- .st-mb-file b { color: var(--fg-0); font-weight: 600; }
81
- .st-mb-sep { width: 1px; height: 16px; background: var(--border-default); }
82
- .st-mb-count { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); }
83
- .st-mb-proj { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); }
84
- .st-reportbug {
85
- appearance: none; border: 0; background: transparent; cursor: pointer;
86
- width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-sm);
87
- color: var(--fg-1);
88
- }
89
- .st-reportbug:hover { background: var(--bg-3); color: var(--fg-0); }
90
-
91
- .st-whatsnew {
92
- position: relative; appearance: none; border: 0; background: transparent; cursor: pointer;
93
- width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-sm);
94
- color: var(--fg-1);
95
- }
96
- .st-whatsnew:hover { background: var(--bg-3); color: var(--fg-0); }
97
- .st-whatsnew[data-unseen="true"] { color: var(--accent); }
98
- .st-whatsnew[data-unseen="true"]::after {
99
- content: ""; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px;
100
- border-radius: var(--radius-pill); background: var(--accent); border: 1.5px solid var(--bg-1);
101
- }
102
-
103
- /* feature-background-export-notification-center — menubar Exports button.
104
- Mirrors .st-whatsnew's attribute-driven state (data-busy instead of
105
- data-unseen — running/queued exports, not an unread count). */
106
- .st-exports {
107
- position: relative; appearance: none; border: 0; background: transparent; cursor: pointer;
108
- width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-sm);
109
- color: var(--fg-1); font-size: 13px;
110
- }
111
- .st-exports:hover { background: var(--bg-3); color: var(--fg-0); }
112
- .st-exports[data-busy="true"] { color: var(--accent); }
113
- .st-exports__count {
114
- position: absolute; top: -2px; right: -2px; min-width: 14px; height: 14px; padding: 0 3px;
115
- display: grid; place-items: center; border-radius: var(--radius-pill);
116
- background: var(--accent); color: var(--accent-fg); font-family: var(--font-mono);
117
- font-size: 9px; font-weight: 700; line-height: 1; border: 1.5px solid var(--bg-1);
118
- }
119
-
120
- /* ─── Menubar dropdown ────────────────────────────────────────────────────── */
121
- .st-dropdown {
122
- position: absolute; top: 38px; min-width: 230px;
123
- background: var(--bg-2); border: 1px solid var(--border-default);
124
- border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
125
- /* above the floating st-banner (9100) — an open menu must never sit under
126
- a transient notice */
127
- padding: var(--space-2); z-index: 9150;
128
- animation: st-pop var(--dur-panel) var(--ease-out);
129
- transform-origin: top left;
130
- }
131
- @keyframes st-pop { from { opacity: 0; transform: translateY(-4px) scale(0.985); } to { opacity: 1; transform: none; } }
132
- .st-dd-hd {
133
- font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide);
134
- text-transform: uppercase; color: var(--fg-3); padding: var(--space-2) var(--space-3) var(--space-1);
135
- }
136
- .st-dd-item {
137
- display: flex; align-items: center; gap: var(--space-3); justify-content: space-between;
138
- padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs);
139
- font-size: var(--type-sm); color: var(--fg-1); cursor: pointer;
140
- appearance: none; border: 0; background: transparent; width: 100%; text-align: left;
141
- font-family: var(--font-body);
142
- }
143
- .st-dd-item:hover, .st-dd-item.is-hover { background: var(--bg-4); color: var(--fg-0); }
144
- .st-dd-item[aria-disabled="true"] { color: var(--fg-3); cursor: default; }
145
- .st-dd-item[aria-disabled="true"]:hover { background: transparent; color: var(--fg-3); }
146
- .st-dd-item .st-dd-lead { display: inline-flex; align-items: center; gap: var(--space-3); }
147
- .st-dd-check { width: 14px; color: var(--accent); display: inline-flex; }
148
- .st-dd-sep { height: 1px; background: var(--border-subtle); margin: var(--space-2) var(--space-2); }
149
- .st-dd-phase { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
150
-
151
- /* ─── Icon button (shared chrome control) ─────────────────────────────────── */
152
- .st-iconbtn {
153
- appearance: none; border: 0; background: transparent; cursor: pointer;
154
- width: 26px; height: 26px; display: grid; place-items: center;
155
- border-radius: var(--radius-sm); color: var(--fg-2);
156
- transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out);
157
- }
158
- .st-iconbtn:hover { background: var(--bg-3); color: var(--fg-0); }
159
- /* Refresh-files button: spin the reload glyph while the tree re-reads so the
160
- * action visibly registers even when /_index-data returns instantly. Disabled
161
- * state stays full-opacity (it's a "busy" beat, not an unavailable control). */
162
- .st-refresh:disabled { cursor: default; opacity: 1; }
163
- .st-refresh.is-spinning svg { animation: st-refresh-spin 0.6s linear infinite; transform-origin: 50% 50%; }
164
- @keyframes st-refresh-spin { to { transform: rotate(360deg); } }
165
- @media (prefers-reduced-motion: reduce) {
166
- .st-refresh.is-spinning svg { animation: none; }
167
- }
168
-
169
- /* ─── Presence avatars (menubar) ──────────────────────────────────────────── */
170
- .st-presence { display: flex; align-items: center; }
171
- /* DS avatar recipe (ui_kits showcase `.sc-avatar`): hue-TINTED surface + hue
172
- * border + fg-0 text. A solid hue fill with white text broke the accent-fg
173
- * contrast rule on dark and washed out entirely in light theme. */
174
- .st-avatar {
175
- --av-hue: var(--accent);
176
- width: 22px; height: 22px; border-radius: var(--radius-pill);
177
- display: grid; place-items: center;
178
- font-family: var(--font-mono); font-size: 10px; line-height: 1;
179
- letter-spacing: 0.02em; text-transform: uppercase; font-weight: 600;
180
- background: color-mix(in oklab, var(--av-hue) 22%, var(--bg-3));
181
- border: 1px solid var(--av-hue);
182
- color: var(--fg-0);
183
- }
184
- .st-presence .st-avatar { margin-left: -6px; box-shadow: 0 0 0 1.5px var(--bg-1); }
185
- .st-presence .st-avatar:first-child { margin-left: 0; }
186
-
187
- /* ─── Status bar (bottom — context) ───────────────────────────────────────── */
188
- .st-statusbar {
189
- height: 30px; flex: 0 0 30px; display: flex; align-items: center; gap: var(--space-4);
190
- padding: 0 var(--space-4); background: var(--bg-2);
191
- border-top: 1px solid var(--border-strong);
192
- box-shadow: inset 0 1px 0 color-mix(in oklab, var(--fg-0) 6%, transparent);
193
- font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); z-index: 30;
194
- }
195
- .st-sb-slot { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }
196
- .st-sb-slot .lbl { color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: 10px; flex: none; }
197
- .st-sb-slot .val { color: var(--fg-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
198
- .st-sb-slot + .st-sb-slot { padding-left: var(--space-4); border-left: 1px solid var(--border-subtle); }
199
- .st-sb-active { font-weight: 500; }
200
- .st-sb-active .lead { width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); flex: none; }
201
- .st-sb-sel .val { color: var(--accent); }
202
- .st-sb-sel-clear { appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; }
203
- .st-sb-sel-clear:hover { color: var(--fg-0); }
204
- .st-sb-spacer { flex: 1; }
205
- .st-sb-theme { display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; appearance: none; color: var(--fg-0); font-family: var(--font-mono); font-size: var(--type-xs); padding: 3px var(--space-3); border-radius: var(--radius-sm); border: 1px solid var(--border-default); background: var(--bg-3); }
206
- .st-sb-theme:hover { background: var(--bg-4); border-color: var(--border-strong); }
207
- .st-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); display: inline-block; flex: none; }
208
- .st-live-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--presence-offline); flex: none; }
209
- .st-live-dot.is-connected { background: var(--presence-online); }
210
- .st-sb-sync-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--status-warn); flex: none; }
211
- .st-sb-sync-dot.is-online { background: var(--presence-online); }
212
- /* feature-sync-progress-modal — the chip doubles as the Sync-panel toggle. */
213
- .st-sb-sync--btn { appearance: none; border: 0; padding: 0; border-radius: 0; background: transparent; font: inherit; cursor: pointer; }
214
- .st-sb-sync--btn:hover .val, .st-sb-sync--btn.is-open .val { color: var(--accent); }
215
- .st-sb-sync--btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
216
-
217
- /* Phase 28 — clickable "changes" slot (opens the Changes panel). Button reset; the
218
- .st-sb-slot + .st-sb-slot rule still supplies the divider + left padding. */
219
- .st-sb-changes { appearance: none; border: 0; padding: 0; border-radius: 0; background: transparent; font: inherit; cursor: pointer; }
220
- .st-sb-changes:hover .val, .st-sb-changes.is-open .val { color: var(--accent); }
221
- .st-sb-changes:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
222
- .st-sb-changes-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--border-strong); flex: none; }
223
- .st-sb-changes.has-changes .st-sb-changes-dot { background: var(--status-warn); }
224
- .st-sb-changes.has-unpushed .st-sb-changes-dot { background: var(--accent); }
225
-
226
- /* The running release. Ambient, not a state to act on — so it sits at the same
227
- weight as a slot label rather than at .val's foreground. No new tokens. */
228
- .st-sb-version .val { color: var(--fg-2); }
229
-
230
- /* ═══ Task 4 — body row · sidebar · tree · rail ═══════════════════════════════ */
231
-
232
- /* The body flex row replaces the legacy `.app` grid: rail | sidebar | main | rpanel. */
233
- .st-body { flex: 1; display: flex; min-height: 0; min-width: 0; }
234
- .st-body > .main { flex: 1; min-width: 0; }
235
- .st-body > .st-rpanel { flex: 0 0 304px; }
236
-
237
- /* ─── Dock slot (feature-configurable-panel-docking) ──────────────────────────
238
- * A left/right slot: an optional tab strip over the active panel, which fills the
239
- * remaining height. The wrapper owns the resizable width; the inner panel fills
240
- * it (width:100% wins over the panel's own inline width, which we no longer set). */
241
- .st-dockslot { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; flex: none; }
242
- .st-dockslot.is-collapsed { width: 0 !important; flex-basis: 0 !important; }
243
- .st-dockslot > .st-rpanel,
244
- .st-dockslot > .st-sidebar { flex: 1 1 auto; width: 100%; min-height: 0; }
245
- .st-docktabs { display: flex; gap: 2px; padding: var(--space-2) var(--space-2) 0; border-bottom: 1px solid var(--border-subtle); background: var(--bg-1); flex: none; }
246
- .st-docktab { appearance: none; border: 0; background: transparent; cursor: pointer; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm) var(--radius-sm) 0 0; color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); transition: color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out); }
247
- .st-docktab:hover { color: var(--fg-1); background: var(--bg-2); }
248
- .st-docktab.is-active { color: var(--fg-0); background: var(--bg-2); box-shadow: inset 0 -2px 0 var(--accent); }
249
- .st-docktab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
250
-
251
- /* ─── Left sidebar — file tree ────────────────────────────────────────────── */
252
- .st-sidebar {
253
- width: 252px; flex: 0 0 252px;
254
- background: var(--bg-1); border-right: 1px solid var(--border-default);
255
- display: flex; flex-direction: column; min-height: 0;
256
- transition: width var(--dur-panel) var(--ease-in-out), flex-basis var(--dur-panel) var(--ease-in-out);
257
- overflow: hidden;
258
- }
259
- .st-sidebar.is-collapsed { width: 0; flex-basis: 0; border-right-color: transparent; }
260
- .st-sb-hd {
261
- display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
262
- padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle);
263
- }
264
- .st-sb-title { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); }
265
- .st-sb-hd-actions { display: flex; align-items: center; gap: var(--space-2); }
266
- .st-live { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); white-space: nowrap; }
267
-
268
- .st-search { padding: var(--space-3) var(--space-3) var(--space-2); }
269
- .st-search-box {
270
- display: flex; align-items: center; gap: var(--space-2);
271
- background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
272
- padding: var(--space-2) var(--space-3); color: var(--fg-3);
273
- }
274
- .st-search-box svg { flex: none; }
275
- .st-search-box input {
276
- appearance: none; border: 0; background: transparent; color: var(--fg-0);
277
- font-family: var(--font-body); font-size: var(--type-sm); width: 100%; min-width: 0;
278
- }
279
- .st-search-box input::placeholder { color: var(--fg-3); }
280
- .st-search-box .kbd { margin-left: auto; }
281
- .st-search-clear { appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; margin-left: auto; font-size: 14px; line-height: 1; padding: 0 2px; }
282
- .st-search-clear:hover { color: var(--fg-0); }
283
-
284
- /* New-board composer (Phase 22) — opens inline below the header on the + click. */
285
- .st-newboard { display: flex; gap: var(--space-2); padding: var(--space-2) var(--space-3); }
286
- .st-newboard input {
287
- flex: 1; min-width: 0; appearance: none; background: var(--bg-3); border: 1px solid var(--accent-muted);
288
- border-radius: var(--radius-sm); color: var(--fg-0); font-family: var(--font-body); font-size: var(--type-sm);
289
- padding: var(--space-2) var(--space-3);
290
- }
291
- .st-newboard-go {
292
- appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-fg);
293
- border-radius: var(--radius-sm); cursor: pointer; padding: 0 var(--space-3); font-family: var(--font-mono); font-size: var(--type-sm);
294
- }
295
- .st-newboard-go:disabled { opacity: 0.5; cursor: not-allowed; }
296
- .st-newboard-err { padding: var(--space-1) var(--space-4) var(--space-2); color: var(--status-error); font-size: var(--type-xs); }
297
-
298
- .st-tree { flex: 1; overflow-y: auto; padding: var(--space-2) var(--space-2) var(--space-4); }
299
- .st-tree-section { margin-bottom: var(--space-2); }
300
- .st-tree-sec-hd {
301
- display: flex; align-items: center; gap: var(--space-2); width: 100%;
302
- padding: var(--space-2) var(--space-3); cursor: pointer; color: var(--fg-2);
303
- appearance: none; border: 0; background: transparent; text-align: left;
304
- }
305
- .st-tree-sec-hd:hover { color: var(--fg-0); }
306
- /* feature-file-tree-drag-drop-folders (dogfood follow-up) — the section
307
- header is the drop target for "move back to this group's root". Same
308
- accent language as .st-row.is-drop-target. */
309
- .st-tree-sec-hd.is-drop-target { background: var(--accent-tint); color: var(--fg-0); box-shadow: inset 2px 0 0 var(--accent); }
310
- .st-tree-sec-hd .st-sec-name { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
311
- /* --fg-2, not --fg-3: a 10px count is text, and --fg-3 is 3.0:1 on the
312
- sidebar — below WCAG AA (axe on the cloud cell, F3 S19, 2026-09-24). */
313
- .st-tree-sec-hd .st-pill {
314
- margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--fg-2);
315
- padding: 0 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
316
- }
317
- .st-tree-empty { padding: var(--space-2) var(--space-5); color: var(--fg-3); font-size: var(--type-xs); font-style: italic; }
318
-
319
- .st-row {
320
- display: flex; align-items: center; gap: var(--space-2); width: 100%;
321
- padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs);
322
- font-size: var(--type-sm); color: var(--fg-1); cursor: default; position: relative;
323
- appearance: none; border: 0; background: transparent; text-align: left; font-family: var(--font-body);
324
- }
325
- .st-row:hover { background: var(--bg-2); }
326
- .st-row.is-sel { background: var(--accent-tint); color: var(--fg-0); box-shadow: inset 2px 0 0 var(--accent); }
327
- .st-row.is-muted { color: var(--fg-3); }
328
- .st-row[aria-disabled="true"] { cursor: default; }
329
- /* feature-file-tree-drag-drop-folders (Task 8) — a valid drop target reuses
330
- the exact .st-row.is-sel treatment (same accent language: "this is where
331
- it lands"), the dragged source dims, and a busy row (server round-trip
332
- in flight) dims further + suspends pointer events so it can't be re-dragged
333
- mid-move. */
334
- .st-row.is-drop-target { background: var(--accent-tint); color: var(--fg-0); box-shadow: inset 2px 0 0 var(--accent); }
335
- .st-row.is-dragging { opacity: 0.45; transition: opacity var(--dur-soft) var(--ease-out); }
336
- .st-row.is-busy { opacity: 0.6; pointer-events: none; }
337
- @media (prefers-reduced-motion: reduce) { .st-row.is-dragging { transition-duration: 1ms; } }
338
- .st-row-glyph { width: 14px; display: inline-flex; justify-content: center; color: var(--fg-3); flex: 0 0 14px; }
339
- .st-row.is-sel .st-row-glyph { color: var(--accent); }
340
- .st-row-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
341
- .st-row-badge {
342
- margin-left: auto; font-family: var(--font-mono); font-size: 10px; line-height: 1;
343
- min-width: 16px; height: 16px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center;
344
- border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-fg); flex: none;
345
- }
346
- /* DDR-174 (T15) — "reconstructed from an image, experimental" marker. Sits left
347
- of the git/open-count badges (which already claim margin-left:auto), so this
348
- one gets an explicit left margin instead of fighting for the auto slot.
349
- `--status-warn` stays on the border only (a UI-component outline needs just
350
- 3:1, which it clears) — a11y-auditor caught it also being used as 9px TEXT
351
- color failing WCAG AA in light theme (~3.46:1 vs the required 4.5:1); the
352
- sibling `.st-git-badge[data-kind="M"]` avoids this by using the warn token
353
- as a fill with a fixed dark foreground instead. Text uses `--fg-2` (the
354
- DS's own documented AA-clearing muted-text token) so both themes pass. */
355
- .st-row-exp-badge {
356
- margin-left: 6px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.02em;
357
- line-height: 1; padding: 2px 4px; display: inline-flex; align-items: center; justify-content: center;
358
- border-radius: var(--radius-xs); border: 1px dashed var(--status-warn); color: var(--fg-2); flex: none;
359
- }
360
- /* delete affordance — sibling of the row button (can't nest buttons). */
361
- .st-row-wrap { position: relative; display: flex; align-items: center; }
362
- .st-tree-item:focus-visible { outline: none; }
363
- .st-tree-item:focus-visible > .st-row-wrap { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-sm); }
364
- .st-row-wrap .st-row { flex: 1; }
365
- .st-row-del {
366
- position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%);
367
- appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer;
368
- width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--radius-xs);
369
- opacity: 0; transition: opacity var(--dur-soft) var(--ease-out);
370
- }
371
- /* Kept in the a11y tree (opacity, not display:none) so keyboard users reach it. */
372
- .st-row-wrap:hover .st-row-del, .st-row-del:focus-visible { opacity: 1; }
373
- /* Shift the open-comments badge AND the M/A/D/U git badge left of the delete
374
- button on hover/focus so they don't overlap (the delete is absolute at the
375
- row's right edge). */
376
- .st-row-wrap:hover .st-row-badge,
377
- .st-row-wrap:focus-within .st-row-badge,
378
- .st-row-wrap:hover .st-git-badge,
379
- .st-row-wrap:focus-within .st-git-badge { margin-right: 24px; }
380
- .st-row-del:hover { color: var(--status-error); background: color-mix(in oklab, var(--status-error) 14%, transparent); }
381
- /* feature-file-tree-drag-drop-folders (Task 9) — the keyboard-reachable
382
- "⋯" trigger (Move to… / New folder here). Same treatment as .st-row-del;
383
- sits to ITS left when both share a row (a canvas row has delete too). */
384
- .st-row-menu-btn {
385
- position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%);
386
- appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer;
387
- width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--radius-xs);
388
- opacity: 0; transition: opacity var(--dur-soft) var(--ease-out);
389
- }
390
- .st-row-wrap:hover .st-row-menu-btn, .st-row-menu-btn:focus-visible { opacity: 1; }
391
- .st-row-menu-btn:hover { background: var(--bg-3); color: var(--fg-0); }
392
- .st-row-menu-btn.has-delete-sibling { right: calc(var(--space-2) + 24px); }
393
- @media (prefers-reduced-motion: reduce) { .st-row-menu-btn, .st-row-del { transition-duration: 1ms; } }
394
-
395
- /* DS-folder row — chevron toggles disclosure, name opens the system view. */
396
- .st-ds-folder { display: flex; align-items: center; gap: 0; padding: 0; }
397
- .st-ds-folder.is-sel { background: var(--accent-tint); border-radius: var(--radius-xs); box-shadow: inset 2px 0 0 var(--accent); }
398
- .st-ds-chev { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--fg-3); display: inline-flex; padding: var(--space-2) 0 var(--space-2) var(--space-2); }
399
- .st-ds-open { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--fg-1); flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-2); text-align: left; padding: var(--space-2) var(--space-3) var(--space-2) 0; font-family: var(--font-body); font-size: var(--type-sm); }
400
- .st-ds-folder.is-sel .st-ds-open { color: var(--fg-0); }
401
-
402
- /* collapsed rail — thin strip with a re-open affordance */
403
- .st-rail {
404
- width: 0; flex: 0 0 0; overflow: hidden; background: var(--bg-1);
405
- border-right: 1px solid transparent;
406
- transition: width var(--dur-panel) var(--ease-in-out), flex-basis var(--dur-panel) var(--ease-in-out), border-color var(--dur-panel) var(--ease-in-out);
407
- }
408
- .st-rail.is-shown { width: 44px; flex-basis: 44px; border-right-color: var(--border-default); }
409
- .st-rail-inner { width: 44px; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; }
410
-
411
- /* ═══ Task 5 — stage (iframe viewport frame) + empty state ════════════════════
412
- * The canvas iframe (canvas-shell.tsx) renders its OWN dotted world + floating
413
- * toolbar + minimap + zoom HUD (DDR-054, reskinned to maude in Task 7). The
414
- * shell stage only frames it; the maude dot-grid shows in the empty/system
415
- * state behind the iframe. NO shell-side floating chrome — that would duplicate
416
- * the in-iframe controls. Keeps the legacy `.viewport > iframe` fill rules. */
417
- .st-stage {
418
- background: var(--canvas-bg);
419
- background-image: radial-gradient(var(--canvas-dot) 1.1px, transparent 1.2px);
420
- background-size: var(--canvas-grid) var(--canvas-grid);
421
- }
422
- .st-empty {
423
- position: absolute; inset: 0; display: flex; flex-direction: column;
424
- align-items: center; justify-content: center; gap: var(--space-4);
425
- text-align: center; padding: var(--space-8); pointer-events: none;
426
- }
427
- .st-empty code, .st-empty .kbd, .st-empty strong { pointer-events: auto; }
428
- .st-empty-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
429
- .st-empty-wm { font-family: var(--font-display); font-size: var(--type-2xl); font-weight: 600; letter-spacing: var(--tracking-tight); color: var(--fg-0); }
430
- .st-empty-sub { font-size: var(--type-xs); color: var(--fg-3); letter-spacing: var(--tracking-wide); }
431
- .st-empty-title { font-family: var(--font-display); font-size: var(--type-xl); font-weight: 600; color: var(--fg-1); }
432
- .st-empty-body { max-width: 540px; font-size: var(--type-sm); line-height: 1.7; color: var(--fg-2); }
433
- .st-empty-body code { font-family: var(--font-mono); font-size: var(--type-xs); background: var(--bg-2); color: var(--accent); padding: 1px 5px; border-radius: var(--radius-xs); }
434
- .st-empty-body strong { color: var(--fg-0); font-weight: 600; }
435
- /* DDR-166 plan, Phase 2 (T7) — persistent "Setup" affordance, shown only while
436
- the project's own setup (design system / first canvas / brand assets) is
437
- incomplete; auto-hides once probeSetupReadiness() reports ready. */
438
- .st-empty-quick-setup { pointer-events: auto; margin-top: var(--space-2); }
439
-
440
- /* ═══ feature-studio-file-preview — non-canvas file preview overlay ════════
441
- * Layered above the (still-mounted) canvas iframe / empty state so switching
442
- * back to a canvas is instant. Shell-token only, no hardcoded colors. */
443
- .st-file-preview-overlay {
444
- position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column;
445
- background: var(--bg-1); overflow: auto;
446
- }
447
- .st-file-preview-overlay:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
448
- .st-file-preview { display: flex; flex-direction: column; min-height: 100%; }
449
- .st-file-preview-header {
450
- flex: none; margin: 0; padding: var(--space-3) var(--space-4); font-family: var(--font-mono);
451
- font-size: var(--type-xs); font-weight: 400; color: var(--fg-2); border-bottom: 1px solid var(--border-subtle);
452
- background: var(--bg-0);
453
- }
454
- .st-file-preview-body { flex: 1; padding: var(--space-6); }
455
- .st-file-preview-status { color: var(--fg-3); font-size: var(--type-sm); }
456
- .st-file-preview-error { color: var(--status-error); }
457
- .st-file-preview-text {
458
- font-family: var(--font-mono); font-size: var(--type-xs); line-height: 1.6; color: var(--fg-1);
459
- white-space: pre-wrap; word-break: break-word; background: var(--bg-0);
460
- border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-4);
461
- }
462
- .st-file-preview-markdown { max-width: 720px; color: var(--fg-1); }
463
- .st-file-preview-image-wrap {
464
- display: flex; align-items: center; justify-content: center; min-height: 200px;
465
- background-image: linear-gradient(45deg, var(--bg-2) 25%, transparent 25%),
466
- linear-gradient(-45deg, var(--bg-2) 25%, transparent 25%),
467
- linear-gradient(45deg, transparent 75%, var(--bg-2) 75%),
468
- linear-gradient(-45deg, transparent 75%, var(--bg-2) 75%);
469
- background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0;
470
- border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
471
- }
472
- .st-file-preview-image-wrap { position: relative; }
473
- .st-file-preview-image-wrap.is-loading { min-height: 50vh; }
474
- .st-file-preview-image {
475
- max-width: 100%; max-height: 70vh; object-fit: contain;
476
- transition: opacity var(--dur-soft) var(--ease-out);
477
- }
478
- /* Until it has fully arrived the photo stays hidden behind the status line —
479
- * a half-painted or failed <img> reads as broken. */
480
- .st-file-preview-image-wrap.is-loading .st-file-preview-image { opacity: 0; }
481
- .st-file-preview-loading {
482
- position: absolute; inset: 0;
483
- display: flex; flex-direction: column; align-items: center; justify-content: center;
484
- gap: var(--space-3);
485
- font-size: var(--type-sm); color: var(--fg-2);
486
- }
487
- .st-file-preview-image-wrap.is-error .st-file-preview-loading { position: static; padding: var(--space-6); }
488
- .st-file-preview-spinner {
489
- width: 20px; height: 20px; border-radius: 50%;
490
- border: 2px solid var(--bg-3); border-top-color: var(--accent);
491
- animation: st-spin 0.8s linear infinite;
492
- }
493
- @media (prefers-reduced-motion: reduce) { .st-file-preview-spinner { animation-duration: 2.4s; } }
494
- .st-file-preview-media { max-width: 100%; max-height: 70vh; display: block; }
495
- .st-file-preview-audio { width: 100%; }
496
- .st-file-preview-font { display: flex; flex-direction: column; gap: var(--space-4); }
497
- .st-file-preview-font-specimen { color: var(--fg-0); }
498
- .st-file-preview-font-lg { font-size: 40px; line-height: 1.3; }
499
- .st-file-preview-font-md { font-size: 24px; line-height: 1.4; }
500
- .st-file-preview-font-sm { font-size: 14px; line-height: 1.6; color: var(--fg-2); word-break: break-all; }
501
-
502
- /* ═══ Task 6 — right panel (Inspector / Comments) + palette + toast ═══════════ */
503
- .st-rpanel {
504
- background: var(--bg-1); border-left: 1px solid var(--border-default);
505
- display: flex; flex-direction: column; min-height: 0;
506
- }
507
- .st-rp-tabs { display: flex; gap: var(--space-1); padding: var(--space-2) var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); flex: none; }
508
- .st-rp-tabs--filters { border-bottom: none; padding-bottom: var(--space-3); }
509
- .st-rp-tab {
510
- appearance: none; border: 0; background: transparent; cursor: pointer;
511
- font-size: var(--type-sm); color: var(--fg-2); font-family: var(--font-body);
512
- padding: var(--space-3) var(--space-3); border-bottom: 2px solid transparent;
513
- display: inline-flex; align-items: center; gap: var(--space-2);
514
- }
515
- .st-rp-tab.is-active { color: var(--fg-0); border-bottom-color: var(--accent); }
516
- .st-rp-tab .st-rp-tabct { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
517
- .st-rp-body { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); }
518
- .st-rp-hd { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); }
519
- /* Stage H (INV-3) edit-scope strip — local (this element) vs shared (edits N places). */
520
- .st-scope { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); font-size: var(--type-xs); border-bottom: 1px solid var(--border-subtle); flex: none; animation: st-pop var(--dur-soft) var(--ease-out); }
521
- /* feature-4 detach-component — inline action on the Shared badge. */
522
- .st-scope-detach { margin-left: auto; padding: 1px 8px; border-radius: var(--radius-xs); font-size: var(--type-xs); background: var(--bg-2); color: var(--fg-1); border: 1px solid var(--border-subtle); cursor: pointer; }
523
- .st-scope-detach:hover { background: var(--bg-3); color: var(--fg-0); }
524
- .st-scope-detach:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
525
- .st-scope-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
526
- .st-scope--local { color: var(--fg-2); }
527
- .st-scope--local .st-scope-dot { background: var(--fg-3); }
528
- .st-scope--shared { color: var(--accent); }
529
- .st-scope--shared .st-scope-dot { background: var(--accent); }
530
- .st-rp-empty { color: var(--fg-2); font-size: var(--type-sm); line-height: 1.6; display: flex; flex-direction: column; gap: var(--space-4); }
531
-
532
- /* comment pin (inline badge in the panel) */
533
- .st-pin--inline {
534
- position: static; width: 18px; height: 18px; border-radius: 4px;
535
- background: var(--accent); color: var(--accent-fg); display: grid; place-items: center;
536
- font-family: var(--font-mono); font-size: var(--type-xs); font-weight: 600; flex: none;
537
- }
538
-
539
- /* comments panel */
540
- .st-cm-filters { display: flex; gap: var(--space-1); flex-wrap: wrap; }
541
- .st-cm-filter { appearance: none; border: 1px solid var(--border-default); background: var(--bg-2); cursor: pointer; font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); }
542
- .st-cm-filter.is-active { background: var(--accent-tint); color: var(--accent); border-color: var(--accent-muted); }
543
- .st-cm-group-hd { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-1) 0; appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); }
544
- .st-cm-group-hd:hover { color: var(--fg-0); }
545
- .st-comment { border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-3); background: var(--bg-2); display: flex; flex-direction: column; gap: var(--space-2); cursor: pointer; }
546
- .st-comment:hover { border-color: var(--border-default); }
547
- .st-comment.is-active { border-color: var(--accent-muted); box-shadow: 0 0 0 2px var(--accent-tint); }
548
- .st-comment.is-resolved { opacity: 0.6; }
549
- .st-comment-hd { display: flex; align-items: center; gap: var(--space-2); }
550
- .st-comment-time { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
551
- .st-comment-txt { font-size: var(--type-sm); color: var(--fg-1); line-height: 1.5; word-break: break-word; }
552
- .st-comment-foot { display: flex; align-items: center; gap: var(--space-2); }
553
- .st-comment-sel { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); background: var(--bg-3); padding: 1px 5px; border-radius: var(--radius-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
554
- .st-mini-act { margin-left: auto; display: flex; gap: var(--space-1); flex: none; }
555
- .st-mini-act .st-iconbtn { width: 22px; height: 22px; }
556
-
557
- /* inspector panel rows */
558
- .st-rp-tabct { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
559
- .st-insp-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: var(--space-3); }
560
- .st-insp-label { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
561
- .st-insp-val { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-0); word-break: break-word; }
562
- .st-insp-empty { color: var(--fg-3); font-size: var(--type-sm); line-height: 1.6; }
563
- .st-insp-chips { display: flex; flex-wrap: wrap; gap: var(--space-1); }
564
- .st-insp-chip { font-family: var(--font-mono); font-size: 10px; color: var(--fg-1); background: var(--bg-3); border: 1px solid var(--border-subtle); padding: 1px 5px; border-radius: var(--radius-xs); }
565
-
566
- /* ─── Floating status banners (sync / git-lifecycle) ──────────────────────── */
567
- .st-banner {
568
- /* below the 40px menubar — at top:12px the banner covered the menus + file slot */
569
- position: fixed; top: 48px; left: 50%; transform: translateX(-50%); z-index: 9100;
570
- display: flex; align-items: center; gap: var(--space-3);
571
- padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
572
- border: 1px solid var(--border-default); background: var(--bg-2); color: var(--fg-0);
573
- box-shadow: var(--shadow-md); font-family: var(--font-body); font-size: var(--type-sm);
574
- font-weight: 500; max-width: 80vw; line-height: 1.3;
575
- animation: st-slide-down var(--dur-route) var(--ease-out);
576
- }
577
- @keyframes st-slide-down { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
578
- .st-banner--warn { border-color: var(--status-warn); background: color-mix(in oklab, var(--status-warn) 14%, var(--bg-1)); }
579
- .st-banner--error { border-color: var(--status-error); background: color-mix(in oklab, var(--status-error) 14%, var(--bg-1)); }
580
- .st-banner--success { border-color: var(--status-success); background: color-mix(in oklab, var(--status-success) 14%, var(--bg-1)); }
581
- .st-banner--info { border-color: var(--status-info); background: color-mix(in oklab, var(--status-info) 14%, var(--bg-1)); }
582
- .st-banner-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); flex: none; }
583
- .st-banner--warn .st-banner-dot { background: var(--status-warn); }
584
- .st-banner--error .st-banner-dot { background: var(--status-error); }
585
- .st-banner--success .st-banner-dot { background: var(--status-success); }
586
- .st-banner--info .st-banner-dot { background: var(--status-info); }
587
- .st-banner .btn--sm { margin-left: var(--space-2); }
588
- .st-banner-close { appearance: none; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; margin-left: var(--space-1); border-radius: var(--radius-xs); flex: none; }
589
- .st-banner-close:hover { background: color-mix(in oklab, var(--fg-0) 12%, transparent); color: var(--fg-0); }
590
-
591
- /* ─── Command palette (⌘K) ───────────────────────────────────────────────── */
592
- /* The informational role notice sits BELOW a modal's scrim (9000): it covered
593
- the preview dialog's own header (S19). Warnings and errors keep
594
- .st-banner's 9100 and stay visible over a dialog. */
595
- .st-banner.st-banner--info { z-index: 8990; }
596
- .st-scrim { position: fixed; inset: 0; background: color-mix(in oklab, var(--bg-0) 62%, transparent); z-index: 9000; display: grid; place-items: start center; padding-top: 12vh; }
597
- .st-palette {
598
- width: 560px; max-width: 92vw; background: var(--bg-2); border: 1px solid var(--border-default);
599
- border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
600
- animation: st-pop var(--dur-route) var(--ease-out);
601
- }
602
- .st-pal-search { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-3); }
603
- .st-pal-search input { flex: 1; min-width: 0; appearance: none; border: 0; background: transparent; color: var(--fg-0); font-size: var(--type-lg); font-family: var(--font-body); }
604
- .st-pal-search input::placeholder { color: var(--fg-3); }
605
- .st-pal-search .kbd { margin-left: auto; }
606
- .st-pal-list { max-height: 340px; overflow-y: auto; padding: var(--space-2); }
607
- .st-pal-group { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-3); padding: var(--space-3) var(--space-3) var(--space-1); }
608
- .st-pal-empty { padding: var(--space-5); text-align: center; color: var(--fg-3); font-size: var(--type-sm); }
609
- .st-pal-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3); border-radius: var(--radius-sm); color: var(--fg-1); appearance: none; border: 0; background: transparent; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: var(--type-sm); }
610
- .st-pal-item.is-active { background: var(--accent-tint); color: var(--fg-0); }
611
- .st-pal-label { flex: 1; }
612
- .st-pal-item .st-pal-kbd { margin-left: auto; flex: none; }
613
- .st-pal-icon { width: 26px; height: 26px; border-radius: var(--radius-sm); background: var(--bg-4); display: grid; place-items: center; color: var(--fg-1); flex: none; }
614
- .st-pal-item.is-active .st-pal-icon { background: var(--accent); color: var(--accent-fg); }
615
-
616
- .st-toast-actions { display: flex; gap: var(--space-2); margin-top: var(--space-1); }
617
-
618
- /* ─── Export & handoff dialog (Plan C P9/P10) ──────────────────────────────
619
- * Lifted from Studio.css `.st-dialog*` / `.st-fmt*`. Rendered inside `.st-scrim`. */
620
- .st-dialog { width: 540px; max-width: 92vw; background: var(--bg-1); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: st-pop var(--dur-route) var(--ease-out); }
621
- .st-dialog-hd { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-subtle); }
622
- .st-dialog-title { font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
623
- .st-dialog-bd { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
624
- .st-fmt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
625
- .st-fmt { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-2); cursor: pointer; color: var(--fg-1); appearance: none; text-align: left; }
626
- .st-fmt:hover { border-color: var(--border-strong); }
627
- .st-fmt.is-on { border-color: var(--accent); background: var(--accent-tint); color: var(--fg-0); box-shadow: 0 0 0 2px var(--accent-tint); }
628
- .st-fmt:disabled { opacity: 0.45; cursor: not-allowed; }
629
- .st-fmt:disabled:hover { border-color: var(--border-default); }
630
- /* feature-cloud-export-render-workers — the "why is this disabled" line under the format grid. */
631
- .st-dialog-note { margin-top: var(--space-3); font-size: var(--type-xs); line-height: 1.5; color: var(--fg-2); background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); }
632
- .st-fmt-name { font-family: var(--font-mono); font-size: var(--type-sm); font-weight: 600; }
633
- .st-fmt-sub { font-size: var(--type-xs); color: var(--fg-2); }
634
- .st-dialog-row { display: flex; align-items: center; gap: var(--space-3); }
635
- .st-dialog-lbl { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
636
- .st-select { flex: 1; appearance: none; background: var(--bg-2); color: var(--fg-0); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-family: var(--font-body); font-size: var(--type-sm); cursor: pointer; }
637
- .st-dialog-ft { display: flex; align-items: center; gap: var(--space-3); justify-content: flex-end; padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-subtle); }
638
-
639
- /* ── Unified Settings modal (feature-unified-settings-modal) ────────────────
640
- * One modal for every Maude preference: a vertical tab rail + an internally
641
- * scrolling pane, so no category can push the dialog off-screen. Extends the
642
- * shared .st-dialog shell (which already clips + pops). */
643
- .st-dialog.is-settings { width: 760px; }
644
- .st-settings-tabs { display: grid; grid-template-columns: 184px 1fr; min-height: 0; }
645
- .st-settings-rail { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4); border-right: 1px solid var(--border-subtle); background: var(--bg-0); }
646
- .st-settings-tab { appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); color: var(--fg-2); font-family: var(--font-body); font-size: var(--type-sm); transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out); }
647
- .st-settings-tab:hover { background: var(--bg-3); color: var(--fg-0); }
648
- .st-settings-tab.is-active { background: var(--accent-tint); color: var(--fg-0); font-weight: 600; }
649
- .st-settings-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
650
- /* The scrolling pane — this is the fix for the AI-generation section overflowing
651
- * the viewport; the pane scrolls, the page never does. */
652
- .st-settings-pane { max-height: min(72vh, 620px); overflow-y: auto; padding: var(--space-5); }
653
- .st-settings-pane .st-rp-hd { margin-bottom: var(--space-3); }
654
- .st-pref-row { display: flex; align-items: flex-start; gap: var(--space-4); justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); cursor: pointer; }
655
- .st-pref-row:last-child { border-bottom: 0; }
656
- .st-pref-row.is-disabled { cursor: default; opacity: 0.6; }
657
- .st-pref-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
658
- .st-pref-label { font-size: var(--type-sm); color: var(--fg-0); font-weight: 500; }
659
- .st-pref-note { font-size: var(--type-xs); color: var(--fg-3); line-height: 1.45; }
660
- /* Switch — styled checkbox; compositor-only transition (transform/background). */
661
- .st-switch { appearance: none; flex: none; position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--bg-4); border: 1px solid var(--border-default); cursor: pointer; transition: background var(--dur-soft) var(--ease-out); margin-top: 2px; }
662
- .st-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--fg-2); transition: transform var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out); }
663
- .st-switch:checked { background: var(--accent); border-color: var(--accent); }
664
- .st-switch:checked::after { transform: translateX(14px); background: var(--accent-fg); }
665
- .st-switch:disabled { cursor: default; }
666
- .st-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
667
- @media (prefers-reduced-motion: reduce) { .st-switch, .st-switch::after, .st-settings-tab { transition-duration: 1ms; } }
668
- /* Layout tab — left/right segmented control per panel. */
669
- .st-sidetoggle { display: inline-flex; flex: none; border: 1px solid var(--border-default); border-radius: var(--radius-sm); overflow: hidden; }
670
- .st-sidebtn { appearance: none; border: 0; background: var(--bg-2); color: var(--fg-2); cursor: pointer; font-family: var(--font-mono); font-size: var(--type-xs); padding: var(--space-1) var(--space-3); min-width: 46px; transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out); }
671
- .st-sidebtn + .st-sidebtn { border-left: 1px solid var(--border-default); }
672
- .st-sidebtn:hover:not(:disabled) { background: var(--bg-3); color: var(--fg-0); }
673
- .st-sidebtn.is-active { background: var(--accent); color: var(--accent-fg); }
674
- .st-sidebtn:disabled { opacity: 0.5; cursor: default; }
675
- .st-sidebtn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
676
- .st-export-recent { display: flex; flex-direction: column; gap: 2px; max-height: 132px; overflow-y: auto; }
677
- .st-export-recent-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font-size: var(--type-xs); color: var(--fg-2); }
678
- .st-export-recent-row:hover { background: var(--bg-2); }
679
- .st-export-recent-row .st-mono { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
680
-
681
- /* ─── AssetPicker (feature-element-editing-robustness Stage F1) ───────────── */
682
- .st-btn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--fg-1); font-family: var(--font-mono); font-size: var(--type-xs); padding: 0 12px; transition: background var(--dur-soft) var(--ease-out), border-color var(--dur-soft) var(--ease-out); }
683
- .st-btn:hover { background: var(--bg-3); border-color: var(--border-strong, var(--border-default)); }
684
- .st-btn:disabled { opacity: 0.55; cursor: default; }
685
- .st-asset-picker { width: 620px; }
686
- .st-ap-toolbar { display: flex; align-items: center; gap: var(--space-3); }
687
- .st-ap-err { color: var(--danger, #e5484d); font-family: var(--font-mono); font-size: var(--type-xs); }
688
- .st-ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: var(--space-3); max-height: 52vh; overflow-y: auto; padding: 2px; }
689
- .st-ap-empty { grid-column: 1 / -1; color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); padding: var(--space-6) 0; text-align: center; }
690
- .st-ap-cell { position: relative; appearance: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-2); text-align: left; transition: border-color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out); }
691
- .st-ap-cell:hover { border-color: var(--accent, var(--border-strong, var(--border-default))); background: var(--bg-3); }
692
- .st-ap-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xs); background: var(--bg-4, var(--bg-3)); display: block; }
693
- .st-ap-name { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
694
-
695
- /* feature-bulk-media-insert — multi-select grid state + destination toggle + confirm bar */
696
- .st-ap-cell[data-selected="true"] { border-color: var(--accent); background: var(--bg-3); }
697
- .st-ap-check { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); background: var(--bg-1); color: var(--accent-fg, #fff); display: grid; place-items: center; }
698
- .st-ap-cell[data-selected="true"] .st-ap-check { background: var(--accent); border-color: var(--accent); }
699
- .st-ap-confirm { flex-wrap: wrap; }
700
- .st-ap-count { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); }
701
- .st-ap-seg { display: inline-flex; border: 1px solid var(--border-default); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
702
- .st-ap-seg-btn { appearance: none; border: 0; background: transparent; color: var(--fg-2); font-size: var(--type-xs); font-family: var(--font-mono); padding: var(--space-2) var(--space-3); cursor: pointer; }
703
- .st-ap-seg-btn[aria-pressed="true"] { background: var(--bg-4); color: var(--fg-0); }
704
- .st-ap-seg-btn:disabled { opacity: 0.45; cursor: default; }
705
- .st-ap-seg-btn + .st-ap-seg-btn { border-left: 1px solid var(--border-subtle); }
706
- .st-ap-dest-note { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); }
707
- .st-ap-confirm-spacer { flex: 1; }
708
-
709
- /* ─── StickerPicker (feature-whiteboard-annotation-improvements Phase 4) ──── */
710
- .st-sticker-picker { width: 640px; }
711
- .st-sticker-picker .input {
712
- font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-0);
713
- background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
714
- padding: var(--space-3) var(--space-4); width: 100%;
715
- transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out);
716
- }
717
- .st-sticker-picker .input::placeholder { color: var(--fg-3); }
718
- .st-sticker-picker .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
719
- .st-sp-body { max-height: 56vh; overflow-y: auto; padding: 2px; display: flex; flex-direction: column; gap: var(--space-5); }
720
- .st-sp-pack-hd { display: flex; align-items: baseline; gap: var(--space-2); padding: 0 2px; }
721
- .st-sp-pack-name { font-family: var(--font-mono); font-size: var(--type-xs); font-weight: 600; color: var(--fg-1); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
722
- .st-sp-pack-author { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-3); }
723
- .st-sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: var(--space-2); }
724
- .st-sp-cell { appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; padding: 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-2); transition: border-color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out); }
725
- .st-sp-cell:hover { border-color: var(--accent, var(--border-strong, var(--border-default))); background: var(--bg-3); }
726
- .st-sp-thumb { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
727
- .st-sp-empty { color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); padding: var(--space-6) 0; text-align: center; }
728
- .st-sp-ft { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--border-subtle); font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
729
- .st-sp-ft a { color: var(--fg-2); }
730
- .st-cp-replace { width: 100%; justify-content: center; }
731
- /* Media "Replace…" — a full-width button, NOT inside the 3-col .st-cp-row grid
732
- (which would drop it into the 10px provenance-dot column and clip it). */
733
- .st-cp-mediabtn { padding: var(--space-1) 0 var(--space-2); }
734
-
735
- /* ─── Inspector panel fields / layers / css (Plan C P11–P13) ───────────────
736
- * Lifted from Studio.css; complements the already-present `.st-insp-row`,
737
- * `.st-insp-label`, `.st-rp-*`. */
738
- .st-insp-fields { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
739
- .st-field { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: var(--space-1) var(--space-2); width: 58px; text-align: right; }
740
- .st-field-lead { display: inline-flex; align-items: center; gap: var(--space-1); }
741
- .st-field-lead .k { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); }
742
- /* Phase 12.3 — maude DS coordinate cell (components-inputs `.fld-mini`): a mono
743
- * axis tag glued to the tabular field, the tag a left segment of one bordered
744
- * group. focus-within rings the whole cell (border-accent + 3px tint halo). */
745
- .st-fmini { display: inline-flex; align-items: stretch; min-width: 0; flex: 1 1 0; border: 1px solid var(--border-default); border-radius: var(--radius-xs); overflow: hidden; background: var(--bg-3); transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out); }
746
- .st-fmini .st-mtag { flex: none; display: flex; align-items: center; justify-content: center; width: 20px; font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); background: var(--bg-2); border-right: 1px solid var(--border-default); }
747
- .st-fmini input, .st-fmini .st-fminival { flex: 1 1 auto; min-width: 0; width: 100%; box-sizing: border-box; appearance: none; border: 0; border-radius: 0; background: transparent; color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); text-align: right; padding: 3px var(--space-2); }
748
- .st-fmini input:focus { outline: none; }
749
- .st-fmini:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
750
- .st-insp-unit { align-self: center; font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); letter-spacing: var(--tracking-wide); }
751
- /* design-critic 1.2 — the Inspect FILL/TEXT chip was collapsing to a thin sliver
752
- * (read as a text caret) because its container `.st-swatch-row` had no flex rule,
753
- * so the inline swatch span ignored its width/height. Define the row + make the
754
- * chip a block so the resolved colour reads as a real swatch. */
755
- .st-swatch-row { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
756
- .st-insp-swatch { display: block; width: 18px; height: 18px; border-radius: var(--radius-xs); border: 1px solid var(--border-default); flex: none; }
757
- .st-layer { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2); border-radius: var(--radius-xs); font-size: var(--type-sm); color: var(--fg-1); font-family: var(--font-mono); }
758
- .st-layer:hover { background: var(--bg-2); }
759
- /* maude signature — selection is an accent-tint wash + an inset 2px accent bar,
760
- * never a solid fill (DS hard rule). */
761
- .st-layer.is-sel { background: var(--accent-tint); color: var(--fg-0); box-shadow: inset 2px 0 0 var(--accent); }
762
- /* Phase 12 Task 4 — browsable layers tree rows */
763
- .st-layer--row { cursor: pointer; padding: 3px var(--space-2); gap: 4px; white-space: nowrap; }
764
- .st-layer--row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
765
- .st-layer-caret { flex: none; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--fg-3); font-size: 9px; line-height: 1; cursor: pointer; padding: 0; }
766
- .st-layer-label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
767
- .st-layer-type { flex: none; font-size: 9px; color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
768
- /* Phase 12.3 (W3.1) — type icon tint + per-row visibility (eye) toggle. */
769
- .st-layer-ticon { flex: none; color: var(--fg-3); }
770
- .st-layer.is-sel .st-layer-ticon { color: var(--accent); }
771
- .st-layer-eye { flex: none; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--fg-3); cursor: pointer; padding: 0; border-radius: var(--radius-xs); opacity: 0; }
772
- .st-layer--row:hover .st-layer-eye, .st-layer--row:focus-within .st-layer-eye { opacity: 1; }
773
- .st-layer-eye:hover { color: var(--fg-0); background: var(--bg-3); }
774
- .st-layer-eye:focus-visible { outline: none; color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
775
- /* feature-4 T7 — synthetic group row (unstamped wrapper): a muted, italic
776
- structural stand-in. Not selectable, not draggable, no eye — it exists only
777
- to restore real nesting in the tree. The folder icon reads as "container". */
778
- .st-layer.is-group { cursor: default; color: var(--fg-3); }
779
- .st-layer.is-group .st-layer-label { font-style: italic; }
780
- .st-layer.is-group .st-layer-type { opacity: 0.7; }
781
- .st-layer.is-group:hover { background: var(--bg-2); }
782
- /* feature-4 T7a — component-instance rows (Figma purple). ◆ = the component's
783
- own frame root, ◇ = an inner member. The purple is deliberately Figma-adjacent
784
- so the vocabulary transfers. */
785
- .st-layer.is-instance { color: var(--layer-instance, #a78bfa); }
786
- .st-layer.is-instance .st-layer-label { color: var(--layer-instance, #a78bfa); }
787
- .st-layer.is-instance .st-layer-type { color: var(--layer-instance, #a78bfa); opacity: 0.75; }
788
- .st-layer-inst-glyph { flex: none; width: 14px; text-align: center; font-size: 10px; color: var(--layer-instance, #a78bfa); }
789
- .st-layer.is-sel.is-instance { box-shadow: inset 2px 0 0 var(--layer-instance, #a78bfa); }
790
- /* feature-4 T7b — locked rows: padlock stays visible when locked; dimmed label. */
791
- .st-layer-lock { flex: none; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--fg-3); cursor: pointer; padding: 0; border-radius: var(--radius-xs); opacity: 0; }
792
- .st-layer--row:hover .st-layer-lock, .st-layer--row:focus-within .st-layer-lock { opacity: 1; }
793
- .st-layer-lock:hover { color: var(--fg-0); background: var(--bg-3); }
794
- .st-layer-lock:focus-visible { outline: none; color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
795
- .st-layer.is-locked .st-layer-lock { opacity: 1; color: var(--fg-1); }
796
- .st-layer.is-locked .st-layer-label { opacity: 0.6; }
797
- /* feature-4 T7c — inline rename input matches the row's mono type. */
798
- .st-layer-rename { flex: 1 1 auto; min-width: 40px; font: inherit; color: var(--fg-0); background: var(--bg-1); border: 1px solid var(--accent); border-radius: var(--radius-xs); padding: 0 4px; outline: none; }
799
- /* a hidden layer stays dim + keeps its eye visible (so it can be re-shown) */
800
- .st-layer.is-hidden { opacity: 0.45; }
801
- .st-layer.is-hidden .st-layer-eye { opacity: 1; color: var(--fg-2); }
802
- /* Phase 12.1 (DDR-138) — drag-to-reorder affordances (same model as the in-canvas
803
- drag): the dragged row floats with the cursor via an inline transform (its slot
804
- stays reserved). A fixed blue DIVIDER marks the drop — INDENTED (left offset) to
805
- the depth it will nest at (dnd-kit-tree / Figma style). */
806
- .st-layer-divider {
807
- position: fixed;
808
- z-index: 60;
809
- height: 2px;
810
- background: var(--accent);
811
- border-radius: 1px;
812
- pointer-events: none;
813
- box-shadow: 0 0 0 1px var(--bg-0);
814
- }
815
- .st-rp-hint { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); padding: 4px var(--space-2) 6px; letter-spacing: var(--tracking-wide); }
816
- .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
817
- .st-css { font-family: var(--font-mono); font-size: var(--type-xs); background: var(--bg-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-3); line-height: 1.7; color: var(--fg-1); }
818
- .st-css .comment { color: var(--fg-3); }
819
-
820
- /* Phase 12.2 — in-canvas CSS editor knobs. Full-width value fields (NOT the 58px
821
- read-only inspect fields), grouped sections, color swatch, per-field feedback. */
822
- .st-css-panel { display: flex; flex-direction: column; gap: var(--space-2); }
823
- .st-css-title { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); word-break: break-word; }
824
- .st-css-group { font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-3); margin-top: var(--space-3); }
825
- .st-css-row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: var(--space-2); }
826
- .st-css-label { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); }
827
- .st-css-control { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
828
- .st-css-input { flex: 1 1 auto; min-width: 0; width: 100%; box-sizing: border-box; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: var(--space-1) var(--space-2); text-align: left; }
829
- .st-css-input::placeholder { color: var(--fg-3); }
830
- .st-css-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
831
- .st-css-swatch { position: relative; flex: none; width: 22px; height: 22px; border-radius: var(--radius-xs); border: 1px solid var(--border-default); padding: 0; cursor: pointer; overflow: hidden; background-image: linear-gradient(45deg, var(--bg-2) 25%, transparent 25%), linear-gradient(-45deg, var(--bg-2) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--bg-2) 75%), linear-gradient(-45deg, transparent 75%, var(--bg-2) 75%); background-size: 8px 8px; background-position: 0 0, 0 4px, 4px -4px, -4px 0; }
832
- .st-css-swatch > span { position: absolute; inset: 0; }
833
- .st-css-swatch input[type="color"] { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); opacity: 0; cursor: pointer; border: 0; padding: 0; }
834
- .st-css-status { font-family: var(--font-mono); font-size: 10px; min-height: 12px; }
835
- .st-css-status.is-error { color: oklch(0.62 0.2 25); }
836
- .st-css-status.is-saved { color: var(--fg-3); }
837
- .st-css-help { font-size: var(--type-xs); color: var(--fg-3); line-height: 1.5; margin-top: var(--space-2); }
838
- .st-css-help code { font-family: var(--font-mono); color: var(--fg-2); background: var(--bg-3); padding: 0 3px; border-radius: 3px; }
839
- .st-css-disabled { color: var(--fg-2); font-size: var(--type-sm); line-height: 1.6; }
840
- .st-css-disabled code { font-family: var(--font-mono); color: var(--accent); background: var(--bg-2); padding: 1px 5px; border-radius: var(--radius-xs); }
841
-
842
-
843
- /* Phase 12.2 port — interactive CSS panel knobs (DDR-104). Ported from the
844
- critic-approved + user-iterated Studio.css spec. Tokens resolve from the
845
- shell .maude[data-theme] root (1-tokens-maude.css). */
846
- /* ─── CSS panel · Phase 12.2 spec (DDR-104) ──────────────────────────────────
847
- * Hybrid vocabulary (friendly section headers + CSS-named rows), per-field
848
- * token dropdowns, nested box-model widget, per-row provenance, two-hatch
849
- * Advanced section. Scoped `.st-cp-*` (never reuses the cramped `.st-field`).
850
- * Critic iter-1 fixes: live text off the disabled --fg-3 token → --fg-2 (WCAG
851
- * AA ≥4.5:1); SHAPE-coded provenance (circle/square/ring, not colour alone);
852
- * colour swatch lives INSIDE the token field so every control shares one left
853
- * rail; 24px+ targets (bind / seg / box-model inputs); legible box-model. */
854
- .st-cp { display: flex; flex-direction: column; gap: var(--space-4); }
855
-
856
- /* element identity — Phase 12.3 (W2.3) hairline under the header for structure
857
- * (Figma-ish). DDR-171 critic pass — this is the panel's own top-level
858
- * boundary (vs. a section's internal divider below), so it gets the stronger
859
- * of the two border tokens; otherwise the id-row rule and the first section's
860
- * `.st-cp-sechd` rule read as identical weight stacked ~40px apart. */
861
- .st-cp-id { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-strong); }
862
- .st-cp-idtag { font-family: var(--font-mono); font-size: var(--type-sm); color: var(--fg-0); }
863
- .st-cp-idcls { color: var(--accent); }
864
- /* DDR-171 — the Advanced/Designer vocabulary toggle lives in the `.st-cp-id`
865
- * row's corner slot as a plain `IconButtonGroup` (`.st-cp-iconseg`, styled
866
- * below) — no extra wrapper class needed, `.st-cp-id`'s own flex/space-between
867
- * places it. Deliberately NOT a full-width `Segmented` row (too heavy for a
868
- * mode switch this minor — every other toggle in this panel is icon-sized).
869
- * The active glyph gets the stronger accent-tint treatment (normally reserved
870
- * for `aria-pressed` toggles) rather than the neutral `.is-active` fill every
871
- * OTHER icon-seg in this panel uses — this one is a mode switch, not a value
872
- * picker, so "which mode am I in" needs to read at a glance, not just on
873
- * close inspection. Scoped to `.st-cp-idmode` so it doesn't touch direction /
874
- * align / overflow etc. */
875
- .st-cp-idmode .st-cp-iconseg button.is-active { background: var(--accent-tint); color: var(--accent); }
876
-
877
- /* ── DDR-171 Designer-mode layout refinement ─────────────────────────────────
878
- * Why Figma's panel reads cleaner than our raw-CSS panel, and what we borrow
879
- * for Designer mode ONLY (Advanced mode stays byte-identical — it's the
880
- * DDR-104-critic-gated developer surface where mono labels + provenance dots
881
- * ARE the point). Three root causes, three scoped fixes:
882
- *
883
- * 1. Figma has NO per-row status dot — our provenance dot on every row builds
884
- * a "punch-card" rail down the left edge. In Designer mode we hide the dot
885
- * for INHERITED/unset rows (the common case) and keep it only where a value
886
- * is genuinely token-bound or overridden — that's a useful "this is
887
- * customized" marker even for a designer, and rare enough not to form a
888
- * rail. The 14px grid column stays reserved so labels never shift.
889
- * 2. Figma section headers are quiet title-case ("Auto layout"), not code
890
- * labels ("AUTO LAYOUT"). We drop the mono/uppercase/tracking for the body
891
- * font, sentence case, one step brighter — reads as a group heading, not a
892
- * token name.
893
- * 3. Figma row labels are soft sans, not monospace — we switch the label font
894
- * to the body face so the column reads as prose, not a code editor. */
895
- .st-cp--designer .st-cp-prov--inherit { visibility: hidden; }
896
- .st-cp--designer .st-cp-sechd {
897
- font-family: var(--font-body);
898
- font-size: var(--type-sm);
899
- font-weight: 600;
900
- text-transform: none;
901
- letter-spacing: normal;
902
- color: var(--fg-1);
903
- padding-bottom: var(--space-2);
904
- }
905
- .st-cp--designer .st-cp-sechd:hover, .st-cp--designer .st-cp-sechd:hover svg { color: var(--fg-0); }
906
- .st-cp--designer .st-cp-label { font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-1); }
907
- .st-cp--designer .st-cp-modelabel { font-family: var(--font-body); font-size: var(--type-sm); }
908
- /* a touch more air between clusters — Figma's sections breathe. */
909
- .st-cp--designer .st-cp-sec { gap: var(--space-3); }
910
-
911
- /* a Designer cluster's "···" overflow disclosure — same visual weight as the
912
- * section reset glyph (`.st-cp-secreset`), right-aligned under the cluster's
913
- * common rows. */
914
- .st-cp-clustermore-row { display: flex; justify-content: flex-end; }
915
- .st-cp-clustermore { appearance: none; cursor: pointer; background: transparent; border: 0; color: var(--fg-3); font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); padding: var(--space-1) var(--space-2); border-radius: var(--radius-xs); }
916
- .st-cp-clustermore:hover { color: var(--accent); background: var(--accent-tint); }
917
- .st-cp-clustermore:focus-visible { outline: none; color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
918
-
919
- /* sections */
920
- .st-cp-sec { display: flex; flex-direction: column; gap: var(--space-2); }
921
- /* section header — collapsible disclosure button */
922
- .st-cp-sechd { width: 100%; appearance: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-2); background: transparent; border: 0; border-bottom: 1px solid var(--border-subtle); text-align: left; font-family: var(--font-mono); font-size: var(--type-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--fg-2); padding: 0 0 var(--space-1); }
923
- .st-cp-sechd svg { color: var(--fg-2); }
924
- .st-cp-sechd:hover, .st-cp-sechd:hover svg { color: var(--fg-0); }
925
- /* Phase 12.3 — section header row carries the shared underline so the toggle
926
- * button + the per-section reset sit on one baseline. */
927
- .st-cp-sechd-row { display: flex; align-items: stretch; gap: var(--space-1); border-bottom: 1px solid var(--border-subtle); }
928
- .st-cp-sechd-row .st-cp-sechd { border-bottom: 0; flex: 1 1 auto; }
929
- /* reset affordances — a subtle revert glyph (⟲). Muted by default, brightens on
930
- * hover/focus. The per-row variant lives in .st-cp-ctl / .st-cp-kv; the
931
- * per-section variant sits at the end of the header row. */
932
- .st-cp-reset, .st-cp-secreset { flex: none; appearance: none; cursor: pointer; background: transparent; border: 0; color: var(--fg-3); font-size: 12px; line-height: 1; padding: 2px; border-radius: var(--radius-xs); }
933
- .st-cp-reset { width: 16px; height: 16px; }
934
- .st-cp-reset:hover, .st-cp-secreset:hover { color: var(--accent); background: var(--accent-tint); }
935
- .st-cp-reset:focus-visible, .st-cp-secreset:focus-visible { outline: none; color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
936
- .st-cp-secreset { align-self: center; display: inline-grid; place-items: center; }
937
- .st-cp-secreset.is-quiet { color: var(--fg-3); opacity: 0.4; cursor: default; }
938
- .st-cp-secreset.is-quiet:hover { color: var(--fg-3); background: transparent; }
939
- /* read-only name field for an existing custom CSS prop / HTML attr row */
940
- .st-cp-fin--ro { flex: 0 0 38%; background: var(--bg-2); color: var(--fg-2); cursor: default; }
941
- .st-cp-fin--ro:focus { outline: none; border-color: var(--border-strong); box-shadow: none; }
942
-
943
- /* a labelled row: [provenance] [css property] [control]. DDR-171 critic pass —
944
- * the dot column widened 10px→14px (was) so the provenance dot reads as a
945
- * detached status signal instead of looking glued to the label when several
946
- * rows stack (dot's own size is unchanged — this only adds breathing room,
947
- * doesn't shrink an already-small interactive/focusable target). */
948
- .st-cp-row { display: grid; grid-template-columns: 14px 92px 1fr; align-items: center; column-gap: var(--space-3); min-height: 32px; padding: 3px 0; }
949
- /* #1 bigger-bet — unset rows recede so the overridden ones pop; full opacity on
950
- * hover/focus so they're still editable. The panel reads as a diff of overrides. */
951
- .st-cp-row.is-unset { opacity: 0.5; transition: opacity var(--dur-soft) var(--ease-out); }
952
- .st-cp-row.is-unset:hover, .st-cp-row.is-unset:focus-within { opacity: 1; }
953
- /* one-line labels keep the row rhythm uniform; the full property name is in the
954
- * row's title tooltip (design-critic 4.1 — uneven wrap was the top craft nit). */
955
- .st-cp-label { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
956
- .st-cp-ctl { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
957
-
958
- /* provenance — SHAPE-coded so token/override/inherited survive small size +
959
- * colour-blindness: token = filled accent circle · override = filled neutral
960
- * square · inherited = hollow ring. Each carries role=img + aria-label. */
961
- .st-cp-prov { width: 9px; height: 9px; display: inline-block; flex: none; padding: 0; }
962
- /* Phase 12.3 (#4) — the row's leading dot is a button: provenance + save status
963
- * (glow) + double-click reset. No appearance chrome; the variant fills it. */
964
- /* reset native button chrome; the variants own the FILL (a transparent bg here
965
- * would out-specify them and hollow the dot — that was the bug). */
966
- button.st-cp-prov { appearance: none; border: 0; cursor: default; }
967
- .st-cp-prov.is-resettable { cursor: pointer; }
968
- .st-cp-prov.is-resettable:hover { box-shadow: 0 0 0 3px var(--bg-4); }
969
- .st-cp-prov:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent-tint); }
970
- /* save-status glows (replaces the trailing ✓/! markers) */
971
- .st-cp-prov.is-saved { box-shadow: 0 0 0 3px color-mix(in oklab, var(--status-success) 45%, transparent); }
972
- .st-cp-prov.is-saving { box-shadow: 0 0 0 3px color-mix(in oklab, var(--fg-2) 35%, transparent); }
973
- .st-cp-prov.is-err { background: var(--status-error); border-color: var(--status-error); box-shadow: 0 0 0 3px color-mix(in oklab, var(--status-error) 40%, transparent); }
974
- /* handoff — provenance dots match the design specimen (supersedes the older
975
- * shape-coded/neutral scheme): token-bound = accent · raw override = fg-1 ·
976
- * inherited = hollow ring. All circles. */
977
- .st-cp-prov--bound { background: var(--accent); border-radius: 50%; }
978
- .st-cp-prov--raw { background: var(--fg-1); border-radius: 50%; }
979
- .st-cp-prov--inherit { background: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); border-radius: 50%; }
980
-
981
- /* colour swatch — standalone (border cluster) + inline (inside the token field) */
982
- .st-cp-swatch { flex: none; width: 22px; height: 22px; border-radius: var(--radius-xs); border: 1px solid var(--border-default); }
983
- .st-cp-swatch--mini { width: 18px; height: 18px; }
984
- .st-cp-tokswatch { flex: none; width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--border-default); }
985
-
986
- /* token field (per-field DS-token dropdown) */
987
- .st-cp-token { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: var(--space-2); appearance: none; cursor: pointer; font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: 4px var(--space-2); }
988
- .st-cp-token:hover { border-color: var(--accent); }
989
- .st-cp-tokdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
990
- .st-cp-tokname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
991
- .st-cp-token svg { flex: none; color: var(--fg-2); }
992
-
993
- /* number field: input + steppers + unit-select + bind-to-token */
994
- .st-cp-num { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: stretch; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); overflow: hidden; min-height: 26px; }
995
- /* #2 — Figma-style property prefix segment inside the numeric field. */
996
- .st-cp-numlead { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); border-right: 1px solid var(--border-subtle); background: var(--bg-2); }
997
- .st-cp-num:focus-within .st-cp-numlead { color: var(--fg-1); }
998
- .st-cp-num:hover { border-color: var(--border-strong); }
999
- .st-cp-num:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1000
- .st-cp-numin { flex: 1 1 auto; min-width: 0; width: 100%; appearance: none; border: 0; background: transparent; color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); padding: 3px var(--space-2); }
1001
- .st-cp-numin::placeholder { color: var(--fg-2); }
1002
- .st-cp-numin:focus { outline: none; }
1003
- /* Phase 12.3 (W2.2) — scrub affordance: a number field signals it's draggable
1004
- * (ew-resize), reverts to a text caret when focused for typing. While a scrub is
1005
- * active the whole document holds the resize cursor + suppresses selection. */
1006
- .st-cp-scrub { cursor: ew-resize; }
1007
- .st-cp-scrub:focus { cursor: text; }
1008
- body.st-scrubbing, body.st-scrubbing * { cursor: ew-resize !important; user-select: none !important; }
1009
- .st-cp-step { flex: none; display: flex; flex-direction: column; border-left: 1px solid var(--border-subtle); }
1010
- .st-cp-stepb { flex: 1; appearance: none; cursor: pointer; border: 0; background: var(--bg-2); color: var(--fg-2); font-size: 7px; line-height: 1; padding: 0 5px; }
1011
- .st-cp-stepb:first-child { border-bottom: 1px solid var(--border-subtle); }
1012
- .st-cp-stepb:hover { color: var(--accent); }
1013
- .st-cp-unit { flex: none; appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; border: 0; border-left: 1px solid var(--border-subtle); background: var(--bg-2); color: var(--fg-2); font-family: var(--font-mono); font-size: 10px; padding: 0 var(--space-2); }
1014
- .st-cp-unit svg { color: var(--fg-2); }
1015
- .st-cp-bind { flex: none; width: 24px; appearance: none; cursor: pointer; border: 0; border-left: 1px solid var(--border-subtle); background: var(--bg-2); position: relative; }
1016
- .st-cp-bind::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--fg-2); }
1017
- .st-cp-bind:hover::before { border-color: var(--accent); }
1018
- .st-cp-numin--mini { flex: none; width: 38px; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); }
1019
-
1020
- /* feature-inspector-controls-redesign — shared control library (inspector-controls.jsx).
1021
- * The drag-to-scrub affordance now lives on the LEADING handle, not the input,
1022
- * so click-to-type + select-all work; the input keeps a plain text caret. */
1023
- .st-cp-handle { cursor: ew-resize; touch-action: none; }
1024
- .st-cp-handle:hover { color: var(--fg-1); background: var(--bg-3); }
1025
- .st-cp-grip { display: inline-block; width: 7px; height: 12px; color: var(--fg-2); background-image: radial-gradient(currentColor 0.8px, transparent 0.8px); background-size: 3px 4px; background-position: center; opacity: 0.7; }
1026
- .st-cp-handle:hover .st-cp-grip { opacity: 1; }
1027
- /* static unit suffix inside a number field (e.g. a SliderField's compact numeric) */
1028
- .st-cp-numsuffix { flex: none; display: inline-flex; align-items: center; padding: 0 6px; color: var(--fg-2); font-family: var(--font-mono); font-size: 10px; border-left: 1px solid var(--border-subtle); background: var(--bg-2); }
1029
- /* compact numeric — the exact-value box paired with a Slider */
1030
- .st-cp-num--compact { flex: 0 0 auto; width: 64px; }
1031
- .st-cp-num--compact .st-cp-numin { text-align: right; }
1032
- /* SliderField row: real slider (flex) + compact numeric (fixed) */
1033
- .st-cp-sfield { flex: 1 1 auto; display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
1034
- /* Toggle (immediate-effect boolean) */
1035
- .st-cp-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; cursor: pointer; color: var(--fg-1); }
1036
- .st-cp-toggle-lbl { color: var(--fg-1); }
1037
- /* handoff — Toggle is a real switch (not a checkbox), matching the DS .switch. */
1038
- .st-cp-switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 34px; height: 18px; border-radius: var(--radius-pill); background: var(--bg-4); border: 1px solid var(--border-default); cursor: pointer; transition: background var(--dur-flip) var(--ease-out), border-color var(--dur-flip) var(--ease-out); }
1039
- .st-cp-switch::after { content: ""; position: absolute; top: 1px; left: 1px; width: 14px; height: 14px; border-radius: var(--radius-pill); background: var(--fg-1); transition: transform var(--dur-flip) var(--ease-out), background var(--dur-flip) var(--ease-out); }
1040
- .st-cp-switch:checked { background: var(--accent); border-color: var(--accent); }
1041
- .st-cp-switch:checked::after { transform: translateX(16px); background: var(--accent-fg); }
1042
- .st-cp-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
1043
- /* inline help text under a Field control; wrapping a wide row keeps 3 controls fitting */
1044
- .st-cp-help { flex-basis: 100%; font-size: 10px; color: var(--fg-2); margin-top: 2px; }
1045
- .st-cp-row--wide { flex-wrap: wrap; }
1046
-
1047
- /* ════ feature-inspector-controls-redesign — ported design controls ══════════
1048
- * The design-specimen control set promoted into the shared library
1049
- * (inspector-controls.jsx). lucide icons; `.st-cp-*` to match the shell. */
1050
-
1051
- /* bipolar slider zero-tick */
1052
- .st-cp-zero { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--border-strong); }
1053
- .st-cp-dial--scrub, body.st-scrubbing--dial, body.st-scrubbing--dial * { cursor: grabbing !important; }
1054
-
1055
- /* icon button group (flex-direction / justify / align / text-align / overflow) */
1056
- .st-cp-iconseg { display: inline-flex; border: 1px solid var(--border-default); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
1057
- .st-cp-iconseg button { appearance: none; border: 0; background: transparent; color: var(--fg-2); min-width: 30px; height: 26px; display: grid; place-items: center; cursor: pointer; transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out); }
1058
- .st-cp-iconseg button + button { border-left: 1px solid var(--border-subtle); }
1059
- .st-cp-iconseg button:hover:not(.is-active) { color: var(--fg-0); background: var(--bg-3); }
1060
- .st-cp-iconseg button.is-active { background: var(--bg-4); color: var(--fg-0); }
1061
- .st-cp-iconseg button[aria-pressed="true"] { background: var(--accent-tint); color: var(--accent); }
1062
-
1063
- /* DS checkbox */
1064
- .st-cp-check { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 11px; color: var(--fg-1); cursor: pointer; }
1065
- .st-cp-check input { position: absolute; opacity: 0; width: 0; height: 0; }
1066
- .st-cp-check-box { flex: none; width: 15px; height: 15px; border-radius: var(--radius-xs); border: 1px solid var(--border-strong); background: var(--bg-3); display: grid; place-items: center; color: transparent; transition: background var(--dur-soft) var(--ease-out), border-color var(--dur-soft) var(--ease-out); }
1067
- .st-cp-check input:checked + .st-cp-check-box { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
1068
- .st-cp-check input:focus-visible + .st-cp-check-box { box-shadow: 0 0 0 3px var(--accent-tint); }
1069
-
1070
- /* 9-point alignment pad */
1071
- .st-cp-alignpad { width: 68px; height: 68px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-3); flex: none; }
1072
- .st-cp-alignpad button { appearance: none; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
1073
- .st-cp-alignpad button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); transition: background var(--dur-soft) var(--ease-out); }
1074
- .st-cp-alignpad button:hover::before { background: var(--fg-1); }
1075
- .st-cp-alignpad button.is-active::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1076
-
1077
- /* angle dial */
1078
- .st-cp-dial { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-default); background: var(--bg-3); position: relative; cursor: grab; touch-action: none; padding: 0; }
1079
- .st-cp-dial:active { cursor: grabbing; }
1080
- .st-cp-dial:hover { border-color: var(--border-strong); }
1081
- .st-cp-dial:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1082
- .st-cp-dial-needle { position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; background: var(--accent); border-radius: 1px; transform-origin: left center; transform: rotate(var(--angle, 0deg)); }
1083
- .st-cp-dial::after { content: ""; position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--fg-1); transform: translate(-50%, -50%); }
1084
-
1085
- /* collapsable section — height animation + caret rotation (on top of .st-cp-sec) */
1086
- .st-cp-sechd[aria-expanded="false"] .st-cp-caret { transform: rotate(-90deg); }
1087
- .st-cp-caret { transition: transform var(--dur-flip) var(--ease-out); display: inline-grid; place-items: center; }
1088
- .st-cp-sec-anim { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-panel) var(--ease-in-out); }
1089
- .st-cp-sec-anim.is-open { grid-template-rows: 1fr; }
1090
- .st-cp-sec-inner { overflow: hidden; min-height: 0; }
1091
- .st-cp-sec-anim.is-open .st-cp-sec-inner { padding-top: var(--space-1); }
1092
-
1093
- /* compact composite colour field — swatch flush prefix + divider, value [+alpha+eye] */
1094
- .st-cp-cf { display: flex; align-items: stretch; min-height: 26px; min-width: 0; flex: 1 1 auto; border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-3); transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out); }
1095
- .st-cp-cf:hover { border-color: var(--border-strong); }
1096
- /* handoff — accent frame ONLY when editing the value input, not when the swatch
1097
- * (popover trigger) has focus — clicking the swatch left a persistent blue frame. */
1098
- .st-cp-cf:has(.st-cp-cf-in:focus) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1099
- .st-cp-cf .st-cp-tokwrap { display: flex; align-items: stretch; }
1100
- .st-cp-cf > *:last-child { border-top-right-radius: 2px; border-bottom-right-radius: 2px; }
1101
- .st-cp-cf-sw { flex: none; width: 26px; border: 0; border-right: 1px solid var(--border-default); border-radius: 2px 0 0 2px; padding: 0; cursor: pointer; position: relative; overflow: hidden; }
1102
- .st-cp-cf-in { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); text-transform: uppercase; padding: 0 var(--space-2); }
1103
- .st-cp-cf-in.is-bound { color: var(--accent); text-transform: none; }
1104
- .st-cp-cf-in:focus { outline: none; }
1105
- .st-cp-cf-alpha { flex: none; width: 42px; border: 0; border-left: 1px solid var(--border-default); background: transparent; color: var(--fg-1); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); text-align: right; padding: 0 6px; }
1106
- .st-cp-cf-alpha:focus { outline: none; }
1107
- .st-cp-cf-eye { flex: none; width: 26px; border: 0; border-left: 1px solid var(--border-default); background: transparent; color: var(--fg-2); cursor: pointer; display: grid; place-items: center; }
1108
- .st-cp-cf-eye:hover { color: var(--fg-0); background: var(--bg-2); }
1109
- .st-cp-cf-eye.is-off { color: var(--fg-3); }
1110
-
1111
- /* value-token binding (◇ + bound chip) */
1112
- .st-cp-tokfield { display: flex; align-items: center; gap: var(--space-2); flex: 1 1 auto; min-width: 0; }
1113
- .st-cp-tokfield > .st-cp-num, .st-cp-tokfield > .st-cp-boundchip { flex: 1 1 auto; min-width: 0; }
1114
- .st-cp-tokbtn { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-2); color: var(--fg-2); cursor: pointer; position: relative; }
1115
- .st-cp-tokbtn:hover { border-color: var(--border-strong); color: var(--fg-0); }
1116
- .st-cp-tokbtn.is-bound { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
1117
- .st-cp-boundchip { display: flex; align-items: center; gap: var(--space-2); min-height: 26px; border: 1px solid var(--accent-muted); border-radius: var(--radius-xs); background: var(--accent-tint); padding: 0 var(--space-2); }
1118
- .st-cp-boundchip-lead { display: inline-grid; place-items: center; color: var(--accent); }
1119
- .st-cp-boundchip-name { flex: 1 1 auto; min-width: 0; font-family: var(--font-mono); font-size: var(--type-xs); color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1120
- .st-cp-boundchip-x { flex: none; appearance: none; border: 0; background: transparent; color: var(--accent); cursor: pointer; display: grid; place-items: center; padding: 0 2px; }
1121
- .st-cp-boundchip-x:hover { color: var(--fg-0); }
1122
-
1123
- /* corner-radius control — uniform field + detach quad with per-corner glyphs */
1124
- .st-cp-radius { display: grid; gap: var(--space-2); flex: 1 1 auto; min-width: 0; }
1125
- .st-cp-radius-main { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
1126
- .st-cp-radius-main > .st-cp-num { flex: 1 1 auto; min-width: 0; }
1127
- .st-cp-splitbtn { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--radius-xs); background: transparent; color: var(--fg-2); cursor: pointer; }
1128
- .st-cp-splitbtn:hover { color: var(--fg-0); background: var(--bg-3); }
1129
- .st-cp-splitbtn.is-on { color: var(--accent); border-color: var(--accent-muted); background: var(--accent-tint); }
1130
- .st-cp-corners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
1131
- .st-cp-corner { display: flex; align-items: center; gap: 6px; min-height: 26px; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: 0 8px; }
1132
- .st-cp-corner:hover { border-color: var(--border-strong); }
1133
- .st-cp-corner:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1134
- .st-cp-corner input { flex: 1; min-width: 0; width: 100%; appearance: none; border: 0; background: transparent; color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 11px; padding: 0; }
1135
- .st-cp-corner input:focus { outline: none; }
1136
- .st-cp-cnr { flex: none; width: 11px; height: 11px; border: 1.5px solid var(--fg-2); box-sizing: border-box; }
1137
- .st-cp-cnr--tl { border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
1138
- .st-cp-cnr--tr { border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
1139
- .st-cp-cnr--bl { border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
1140
- .st-cp-cnr--br { border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
1141
-
1142
- /* select (font-weight, border-style) */
1143
- .st-cp-select { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: var(--space-2); appearance: none; cursor: pointer; font-family: var(--font-body); font-size: var(--type-xs); color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: 4px var(--space-2); min-height: 26px; }
1144
- .st-cp-select span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1145
- .st-cp-select svg { flex: none; color: var(--fg-2); }
1146
- .st-cp-select--mini { flex: 0 1 auto; }
1147
-
1148
- /* segmented control (text-align) with drawn align glyphs — 26px tall targets */
1149
- .st-cp-seg { display: inline-flex; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); overflow: hidden; }
1150
- .st-cp-segbtn { appearance: none; cursor: pointer; border: 0; background: transparent; min-width: 26px; min-height: 26px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-right: 1px solid var(--border-subtle); }
1151
- .st-cp-segbtn:last-child { border-right: 0; }
1152
- .st-cp-segbtn.is-active { background: var(--accent-tint); }
1153
- .st-cp-segbtn:hover:not(.is-active) { background: var(--bg-4); }
1154
- .st-cp-bars { display: flex; flex-direction: column; gap: 2px; width: 13px; color: var(--fg-1); }
1155
- .st-cp-segbtn.is-active .st-cp-bars { color: var(--accent); }
1156
- .st-cp-bars i { height: 2px; border-radius: 1px; background: currentColor; }
1157
- .st-cp-bars--left i:nth-child(1) { width: 100%; }
1158
- .st-cp-bars--left i:nth-child(2) { width: 60%; }
1159
- .st-cp-bars--left i:nth-child(3) { width: 80%; }
1160
- .st-cp-bars--center i { margin: 0 auto; }
1161
- .st-cp-bars--center i:nth-child(1) { width: 100%; }
1162
- .st-cp-bars--center i:nth-child(2) { width: 55%; }
1163
- .st-cp-bars--center i:nth-child(3) { width: 75%; }
1164
- .st-cp-bars--right i { margin-left: auto; }
1165
- .st-cp-bars--right i:nth-child(1) { width: 100%; }
1166
- .st-cp-bars--right i:nth-child(2) { width: 60%; }
1167
- .st-cp-bars--right i:nth-child(3) { width: 80%; }
1168
- .st-cp-bars--just i { width: 100%; }
1169
-
1170
- /* nested box-model widget (Webflow-style): margin outer · padding inner */
1171
- .st-cp-box { position: relative; margin-top: var(--space-2); padding: 34px 30px; border: 1px dashed var(--border-default); border-radius: var(--radius-sm); background: var(--bg-2); display: grid; place-items: center; }
1172
- .st-cp-boxpad { position: relative; width: 100%; padding: 30px 26px; border: 1px dashed var(--border-subtle); border-radius: var(--radius-xs); background: var(--bg-1); display: grid; place-items: center; }
1173
- /* handoff — spacing size core is PLAIN mono text (no box/border), 1:1 with the
1174
- * design's .icp-box-core. Only the position core (--pos, below) is an accent bar. */
1175
- .st-cp-boxcore { min-width: 72px; padding: 10px 16px; background: transparent; border: 0; color: var(--fg-2); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 10px; text-align: center; }
1176
- .st-cp-boxcore--pos { padding: 7px 12px; border-radius: var(--radius-xs); font-size: 11px; }
1177
- .st-cp-boxtag { position: absolute; top: 4px; left: 6px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); pointer-events: none; }
1178
- .st-cp-boxtag .st-cp-prov { width: 6px; height: 6px; }
1179
- .st-cp-boxv { position: absolute; width: 36px; height: 24px; border: 1px solid transparent; border-radius: var(--radius-xs); background: transparent; color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 11px; text-align: center; padding: 0; }
1180
- .st-cp-boxv.is-zero { color: var(--fg-2); }
1181
- .st-cp-boxv:hover, .st-cp-boxv:focus { border-color: var(--border-strong); background: var(--bg-1); outline: none; color: var(--fg-0); }
1182
- .st-cp-boxv--mt, .st-cp-boxv--pt { top: 1px; left: 50%; transform: translateX(-50%); }
1183
- .st-cp-boxv--mb, .st-cp-boxv--pb { bottom: 1px; left: 50%; transform: translateX(-50%); }
1184
- .st-cp-boxv--ml, .st-cp-boxv--pl { left: 0; top: 50%; transform: translateY(-50%); }
1185
- .st-cp-boxv--mr, .st-cp-boxv--pr { right: 0; top: 50%; transform: translateY(-50%); }
1186
- /* feature-element-editing-robustness Stage B — Position inset widget. One ring
1187
- (no nested padding box): the 4 inset inputs sit on the outer box edges around
1188
- a centered core showing the current `position` keyword (Figma constraints box). */
1189
- .st-cp-boxv--it { top: 1px; left: 50%; transform: translateX(-50%); }
1190
- .st-cp-boxv--ib { bottom: 1px; left: 50%; transform: translateX(-50%); }
1191
- .st-cp-boxv--il { left: 0; top: 50%; transform: translateY(-50%); }
1192
- .st-cp-boxv--ir { right: 0; top: 50%; transform: translateY(-50%); }
1193
- .st-cp-boxtag--i { color: var(--accent); }
1194
- /* handoff — position core IS an accent bar (design); spacing core is plain text */
1195
- .st-cp-boxcore--pos { text-transform: none; letter-spacing: 0; background: var(--accent-tint); border: 1px solid var(--accent); color: var(--accent); }
1196
- .st-cp-boxhint { display: flex; flex-wrap: wrap; gap: var(--space-1); }
1197
- .st-cp-boxhint + .st-cp-row { margin-top: var(--space-1); }
1198
- .st-cp-chip { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: 1px 6px; }
1199
-
1200
- /* opacity slider — role=slider, focusable */
1201
- .st-cp-slider { flex: 1 1 auto; display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
1202
- .st-cp-track { position: relative; flex: 1 1 auto; height: 6px; border-radius: 3px; background: var(--bg-2); border: 1px solid var(--border-default); cursor: pointer; }
1203
- .st-cp-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
1204
- .st-cp-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
1205
- .st-cp-thumb { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--fg-0); border: 2px solid var(--accent); transform: translate(-50%, -50%); }
1206
- .st-cp-slval { flex: none; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); color: var(--fg-1); width: 34px; text-align: right; }
1207
-
1208
- /* border cluster — fills to the right control rail */
1209
- .st-cp-border { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); min-width: 0; }
1210
- .st-cp-border .st-cp-swatch--mini { margin-left: 0; }
1211
- /* design-critic 1.1 — the border row was cramming width+style+swatch; the
1212
- * width field was eating the flex and clipping the style select to "styl▾".
1213
- * Fix the width field, let the style select take the rest. Task 5 (feature-
1214
- * inspector-controls-redesign) — border-width now skips its unit-select
1215
- * (px-only, opts.fixedUnit) so the cluster is narrower to start with;
1216
- * flex-wrap is the fallback so [width][style][swatch] never clips at the
1217
- * panel's 260px minimum — the style select wraps to its own line rather than
1218
- * shrinking to an illegible sliver. */
1219
- .st-cp-border .st-cp-num { flex: 0 0 58px; }
1220
- .st-cp-border .st-cp-nsel { flex: 1 1 96px; max-width: none; min-width: 64px; }
1221
-
1222
- /* per-field save state */
1223
- /* #5 — error-only now (idle/saved status moved into each row's leading dot). */
1224
- .st-cp-save { display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start; font-size: var(--type-xs); font-family: var(--font-mono); padding: 4px var(--space-2); border-radius: var(--radius-xs); background: color-mix(in oklab, var(--status-error) 14%, var(--bg-2)); border: 1px solid var(--status-error); color: var(--status-error); }
1225
- .st-cp-save.is-saved { color: var(--status-success); }
1226
- .st-cp-save.is-saved svg { color: var(--status-success); }
1227
-
1228
- /* Advanced — the two-hatch escape (custom CSS property + custom HTML attribute) */
1229
- .st-cp-adv { border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--bg-0); overflow: hidden; }
1230
- .st-cp-advhd { width: 100%; appearance: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-2); border: 0; background: transparent; color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); padding: var(--space-2) var(--space-3); }
1231
- .st-cp-advhd svg { color: var(--fg-2); }
1232
- .st-cp-advbody { display: flex; flex-direction: column; gap: var(--space-2); padding: 0 var(--space-3) var(--space-3); }
1233
- .st-cp-advgrp { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--fg-2); margin-top: var(--space-1); }
1234
- /* #3 — custom prop/attr rows are ONE line: [name] [value] [×]. The reset glyph
1235
- * used to wrap to a second line; a trailing × close button keeps it on one row. */
1236
- .st-cp-kv { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--space-2); align-items: center; }
1237
- .st-cp-kvx { flex: none; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; appearance: none; cursor: pointer; background: transparent; border: 0; color: var(--fg-3); padding: 0; border-radius: var(--radius-xs); }
1238
- .st-cp-kvx:hover { color: var(--status-error); background: var(--bg-3); }
1239
- .st-cp-kvx:focus-visible { outline: none; color: var(--status-error); box-shadow: 0 0 0 2px var(--accent-tint); }
1240
- .st-cp-kv .st-cp-numin { background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); }
1241
- .st-cp-kv.has-warn .st-cp-numin { border-color: var(--status-warn); }
1242
- .st-cp-warn { font-size: 10px; color: var(--status-warn); font-family: var(--font-mono); }
1243
- .st-cp-add { align-self: flex-start; appearance: none; cursor: pointer; border: 1px dashed var(--border-default); background: transparent; color: var(--fg-1); font-family: var(--font-mono); font-size: var(--type-xs); border-radius: var(--radius-xs); padding: 4px var(--space-2); }
1244
- .st-cp-add:hover { border-color: var(--accent); color: var(--fg-0); }
1245
- .st-cp-note { font-size: 10px; color: var(--fg-2); font-style: italic; }
1246
-
1247
- /* Stage M — Fixed / Hug / Fill sizing-mode segmented control (per axis). */
1248
- .st-cp-modes { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-1); }
1249
- /* handoff — Fixed/Hug/Fill uses the shared Segmented (.st-cp-seg) component,
1250
- * stretched full-width, with a leading W/H axis label. */
1251
- .st-cp-modeseg { display: flex; align-items: center; gap: var(--space-2); }
1252
- .st-cp-modeax { display: inline-flex; align-items: center; justify-content: center; min-width: 14px; font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
1253
- /* handoff — Size mode row: grid-aligned with the other rows (label column +
1254
- * control column), the compact Segmented right-aligned to match the number
1255
- * inputs below, at the same 26px input height. Neutral active, mono lowercase. */
1256
- .st-cp-moderow { display: grid; grid-template-columns: 14px 92px 1fr; align-items: center; column-gap: var(--space-3); min-height: 32px; padding: 3px 0; }
1257
- .st-cp-modelabel { grid-column: 2; font-size: var(--type-xs); color: var(--fg-1); }
1258
- .st-cp-modeseg { grid-column: 3; display: flex; justify-content: flex-end; }
1259
- .st-cp-modeseg .st-cp-seg { flex: none; display: inline-flex; height: 26px; background: var(--bg-2); border-radius: var(--radius-sm); }
1260
- .st-cp-modeseg .st-cp-segbtn { flex: none; display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: var(--type-xs); text-transform: lowercase; color: var(--fg-2); min-width: 0; min-height: 0; padding: 0 var(--space-4); }
1261
- .st-cp-modeseg .st-cp-segbtn.is-active { background: var(--bg-4); color: var(--fg-0); }
1262
- .st-cp-modeseg .st-cp-segbtn:hover:not(.is-active) { background: var(--bg-3); color: var(--fg-0); }
1263
- /* .st-cp-modebtn — still used by the artboard height-sizing control (not CssKnobs). */
1264
- .st-cp-modebtn { flex: 1; appearance: none; cursor: pointer; border: 1px solid var(--border-default); border-left-width: 0; background: var(--bg-2); color: var(--fg-2); font-family: var(--font-mono); font-size: 10px; text-transform: lowercase; min-height: 24px; padding: 0 var(--space-2); }
1265
- .st-cp-modebtn:first-of-type { border-left-width: 1px; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
1266
- .st-cp-modebtn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
1267
- .st-cp-modebtn:hover:not(.is-active):not(:disabled) { background: var(--bg-3); color: var(--fg-0); }
1268
- .st-cp-modebtn.is-active { background: var(--bg-4); color: var(--fg-0); }
1269
- .st-cp-modebtn:disabled { opacity: 0.5; cursor: default; }
1270
- /* Stage M — sub-header for the flex-child row group + the make-flex CTA. */
1271
- .st-cp-subhd { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.04em; margin-top: var(--space-2); }
1272
- .st-cp-makeflex { align-self: flex-start; appearance: none; cursor: pointer; border: 1px dashed var(--border-default); background: transparent; color: var(--fg-1); font-family: var(--font-mono); font-size: var(--type-xs); border-radius: var(--radius-xs); padding: 4px var(--space-2); }
1273
- .st-cp-makeflex:hover:not(:disabled) { border-color: var(--accent); color: var(--fg-0); }
1274
- .st-cp-makeflex:disabled { opacity: 0.5; cursor: default; }
1275
-
1276
- /* feature-3-web-artboards T5 — Grid section's track-list editor. */
1277
- .st-cp-gridtracks { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-1) 0; }
1278
- .st-cp-gridtracks + .st-cp-gridtracks { margin-top: var(--space-2); border-top: 1px solid var(--border-subtle); padding-top: var(--space-2); }
1279
- .st-cp-gridtracks-hd { display: flex; align-items: center; justify-content: space-between; }
1280
- .st-cp-gridtracks-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--fg-2); }
1281
- .st-cp-gridtracks-add { min-height: 22px; padding: 0 var(--space-2); font-size: 10px; }
1282
- .st-cp-gridtrack-row { display: flex; align-items: center; gap: var(--space-1); }
1283
- .st-cp-gridtrack-row .st-cp-nsel { flex: 1 1 auto; }
1284
- .st-cp-gridtrack-remove { flex: 0 0 auto; min-height: 22px; min-width: 22px; padding: 0; justify-content: center; color: var(--fg-2); }
1285
- .st-cp-gridtrack-remove:hover:not(:disabled) { color: var(--status-error); }
1286
-
1287
- /* provenance legend */
1288
- .st-cp-legend { display: flex; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-1); border-top: 1px solid var(--border-subtle); }
1289
- .st-cp-legend span { display: inline-flex; align-items: center; gap: var(--space-1); font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
1290
-
1291
- /* box-model link-all-sides toggle (replaces the cryptic modifier-key chips) */
1292
- .st-cp-boxlink { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
1293
- .st-cp-linkbtn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; min-height: 24px; border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-3); color: var(--fg-1); font-family: var(--font-mono); font-size: 10px; padding: 0 8px; }
1294
- .st-cp-linkbtn.is-on { border-color: var(--accent); color: var(--fg-0); background: var(--accent-tint); }
1295
- .st-cp-linkglyph { width: 13px; height: 9px; border: 1.5px solid currentColor; border-radius: 4px; }
1296
- .st-cp-linkhint { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
1297
-
1298
- /* per-corner border-radius: split toggle + 4-corner inputs (TL/TR/BL/BR) */
1299
- .st-cp-split { flex: none; width: 24px; height: 24px; appearance: none; cursor: pointer; border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-3); position: relative; }
1300
- .st-cp-split.is-on { border-color: var(--accent); background: var(--accent-tint); }
1301
- .st-cp-split::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid var(--fg-1); border-radius: 3px; }
1302
- .st-cp-split.is-on::before { border-color: var(--accent); border-style: dashed; }
1303
- .st-cp-corners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); margin: 0 0 var(--space-1) 18px; }
1304
- .st-cp-cornerf { display: flex; align-items: center; gap: 6px; min-height: 24px; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: 0 8px; }
1305
- .st-cp-cornerf span { font-family: var(--font-mono); font-size: 10px; color: var(--fg-2); }
1306
- .st-cp-cornerf input { flex: 1; min-width: 0; width: 100%; appearance: none; border: 0; background: transparent; color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 11px; padding: 0; }
1307
- .st-cp-cornerf input:focus { outline: none; }
1308
-
1309
- /* Phase 12.2 PORT-only controls — the live panel uses native <select>/<input>
1310
- for real interactivity + a11y where the Studio.tsx spec used styled buttons. */
1311
- /* The port mounts an absolute `inset:0` fill span + a hidden color <input>
1312
- INSIDE the swatch (the spec's swatch was decorative-only, so the ported rule
1313
- has no `position`). Without `relative` the fill anchored to `.maude` and
1314
- painted the element's computed colour across the ENTIRE window (dark element
1315
- → black screen, light → white), and the invisible input swallowed every
1316
- click. The old `.st-css-swatch` had `position:relative` for exactly this. */
1317
- .st-cp-swatch { position: relative; overflow: hidden; }
1318
- .st-cp-caret { flex: none; color: var(--fg-2); font-size: 9px; width: 9px; text-align: center; }
1319
- .st-cp-fin { flex: 1 1 auto; min-width: 0; width: 100%; box-sizing: border-box; appearance: none; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); padding: 4px var(--space-2); min-height: 26px; transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out); }
1320
- .st-cp-fin::placeholder { color: var(--fg-2); }
1321
- .st-cp-fin:hover { border-color: var(--border-strong); }
1322
- /* maude signature focus — border goes accent + a 3px tint halo (DS focus spec). */
1323
- .st-cp-fin:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1324
- .st-cp-nsel { flex: 1 1 auto; min-width: 0; box-sizing: border-box; cursor: pointer; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); color: var(--fg-0); font-family: var(--font-body); font-size: var(--type-xs); padding: 3px var(--space-2); min-height: 26px; transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out); }
1325
- .st-cp-nsel:hover { border-color: var(--border-strong); }
1326
- .st-cp-nsel:focus, .st-cp-nsel:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1327
- .st-cp-nsel--tok { flex: 0 1 auto; max-width: 108px; font-family: var(--font-mono); color: var(--fg-2); background: var(--bg-2); }
1328
- .st-cp-nsel--mini { flex: 0 1 auto; max-width: 92px; }
1329
- .st-cp-unitsel { flex: none; cursor: pointer; appearance: none; border: 0; border-left: 1px solid var(--border-subtle); background: var(--bg-2); color: var(--fg-2); font-family: var(--font-mono); font-size: 10px; padding: 0 4px; }
1330
- /* Phase 12.3 (W2.1) — token picker as a popover. The trigger is a compact
1331
- * variables button (◇ glyph); bound state tints it accent. */
1332
- .st-cp-tokbtn { flex: none; width: 24px; height: 26px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; appearance: none; background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-xs); color: var(--fg-2); padding: 0; }
1333
- .st-cp-tokbtn:hover { color: var(--fg-0); border-color: var(--border-strong); }
1334
- .st-cp-tokbtn:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
1335
- .st-cp-tokbtn.is-bound { color: var(--accent); border-color: var(--accent-muted); background: var(--accent-tint); }
1336
- /* the glyph — a small rotated square (variable diamond, Figma-ish) */
1337
- .st-cp-tokbtn-glyph { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 1px; transform: rotate(45deg); }
1338
- .st-cp-tokbtn.is-bound .st-cp-tokbtn-glyph { background: currentColor; }
1339
- /* the floating popover (portalled to body, fixed-positioned) */
1340
- .st-cp-pop { position: fixed; z-index: 1000; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: var(--space-2); }
1341
- .st-cp-pop-empty { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-2); }
1342
- /* sticky search over the token list */
1343
- .st-cp-pop-search { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: var(--space-2); padding: 0 0 var(--space-2); margin: calc(-1 * var(--space-2)) 0 0; background: var(--bg-2); color: var(--fg-2); }
1344
- .st-cp-pop-search svg { flex: none; margin-left: var(--space-1); }
1345
- .st-cp-pop-search input { flex: 1 1 auto; min-width: 0; appearance: none; background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); color: var(--fg-0); font-family: var(--font-body); font-size: var(--type-xs); padding: 4px var(--space-2); }
1346
- .st-cp-pop-search input::placeholder { color: var(--fg-3); }
1347
- .st-cp-pop-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
1348
- /* #4 — colour popover tabs (Custom picker · Variables list) */
1349
- .st-cp-poptabs { display: flex; border-bottom: 1px solid var(--border-subtle); margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-2)) var(--space-2); }
1350
- .st-cp-poptab { flex: 1; appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-3); border-bottom: 2px solid transparent; }
1351
- .st-cp-poptab.is-active { color: var(--fg-0); border-bottom-color: var(--accent); }
1352
- .st-cp-poptab:hover:not(.is-active) { color: var(--fg-1); }
1353
- /* #6 — the unified HSV colour picker (Custom tab): saturation/value square +
1354
- * hue slider + eyedropper + hex field. The swatch on the colour row is the only
1355
- * trigger (no separate native picker). */
1356
- .st-cp-cpick { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-1); }
1357
- /* handoff — hex row on top + preview circle + RGB fields (design parity) */
1358
- .st-cp-cpick-hexrow { display: flex; align-items: center; gap: var(--space-2); }
1359
- .st-cp-cpick-hexsw { flex: none; width: 34px; height: 26px; border-radius: var(--radius-xs); border: 1px solid var(--border-default); }
1360
- .st-cp-cpick-hex { flex: 1 1 auto; min-width: 0; appearance: none; border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-3); color: var(--fg-0); font-family: var(--font-mono); font-size: var(--type-xs); padding: 4px var(--space-2); }
1361
- .st-cp-cpick-hex:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1362
- .st-cp-cpick-preview { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border-default); }
1363
- .st-cp-cpick-rgb { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
1364
- .st-cp-cpick-rgbf { display: grid; gap: 2px; justify-items: center; }
1365
- .st-cp-cpick-rgbf input { width: 100%; text-align: center; appearance: none; border: 1px solid var(--border-default); border-radius: var(--radius-xs); background: var(--bg-3); color: var(--fg-0); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); padding: 3px 2px; }
1366
- .st-cp-cpick-rgbf input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
1367
- .st-cp-cpick-rgbf span { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); }
1368
- .st-cp-swatch--trigger { position: relative; overflow: hidden; cursor: pointer; appearance: none; padding: 0; }
1369
- .st-cp-swatch--trigger.is-bound { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
1370
- .st-cp-cpick-sv { position: relative; display: block; width: 100%; height: 120px; border-radius: var(--radius-sm); border: 1px solid var(--border-default); overflow: hidden; cursor: crosshair; padding: 0; touch-action: none; }
1371
- .st-cp-cpick-svwhite { position: absolute; inset: 0; background: linear-gradient(to right, #fff, transparent); }
1372
- .st-cp-cpick-svblack { position: absolute; inset: 0; background: linear-gradient(to top, #000, transparent); }
1373
- .st-cp-cpick-knob { position: absolute; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.5); transform: translate(-50%, -50%); pointer-events: none; }
1374
- .st-cp-cpick-controls { display: flex; align-items: center; gap: var(--space-2); }
1375
- .st-cp-cpick-eye { flex: none; width: 26px; height: 16px; display: inline-flex; align-items: center; justify-content: center; appearance: none; cursor: pointer; background: transparent; border: 0; color: var(--fg-2); padding: 0; border-radius: var(--radius-xs); }
1376
- .st-cp-cpick-eye:hover { color: var(--fg-0); }
1377
- .st-cp-cpick-hue { position: relative; flex: 1 1 auto; height: 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); cursor: pointer; padding: 0; touch-action: none; background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%); }
1378
- .st-cp-cpick-huethumb { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,0.4); box-shadow: 0 1px 3px rgba(0,0,0,0.4); transform: translate(-50%, -50%); pointer-events: none; }
1379
- /* W3 — per-design-system grouping. The DS name labels each group when >1 DS. */
1380
- .st-cp-pop-group + .st-cp-pop-group { margin-top: var(--space-2); }
1381
- .st-cp-pop-ds { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--fg-2); padding: 2px var(--space-1) 4px; position: sticky; top: 30px; background: var(--bg-2); z-index: 1; }
1382
- /* color: swatch grid */
1383
- .st-cp-pop-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
1384
- .st-cp-pop-sw { aspect-ratio: 1; min-height: 26px; cursor: pointer; appearance: none; border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: 0; }
1385
- .st-cp-pop-sw:hover { border-color: var(--fg-2); transform: scale(1.06); }
1386
- .st-cp-pop-sw.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
1387
- .st-cp-pop-sw:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
1388
- /* value: variable list (name + resolved value) */
1389
- .st-cp-pop-list { display: flex; flex-direction: column; gap: 1px; }
1390
- .st-cp-pop-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); cursor: pointer; appearance: none; background: transparent; border: 0; border-radius: var(--radius-xs); padding: 5px var(--space-2); text-align: left; }
1391
- .st-cp-pop-row:hover { background: var(--bg-3); }
1392
- .st-cp-pop-row.is-on { background: var(--accent-tint); }
1393
- .st-cp-pop-row:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent-tint); }
1394
- .st-cp-pop-name { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
1395
- /* #2 — colour Variables as a list row: [swatch] [name] [value] */
1396
- .st-cp-pop-crow { justify-content: flex-start; }
1397
- .st-cp-pop-crow .st-cp-pop-name { flex: 1 1 auto; min-width: 0; }
1398
- .st-cp-pop-cswatch { flex: none; width: 16px; height: 16px; border-radius: var(--radius-xs); border: 1px solid var(--border-default); }
1399
- .st-cp-pop-val { flex: none; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 10px; color: var(--fg-2); }
1400
- .st-cp-pop-row.is-on .st-cp-pop-name { color: var(--accent); }
1401
- .st-cp-fs { flex: none; width: 14px; text-align: center; font-family: var(--font-mono); font-size: 11px; }
1402
- .st-cp-fs.is-saving { color: var(--fg-3); }
1403
- .st-cp-fs.is-saved { color: var(--status-success); }
1404
- .st-cp-fs.is-err { color: var(--status-warn); cursor: help; }
1405
-
1406
- /* shared focus ring for the panel's interactive controls (incl. native selects) */
1407
- .st-cp button:focus-visible, .st-cp input:focus-visible, .st-cp select:focus-visible, .st-cp-token:focus-visible, .st-cp-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
1408
- /* ═══ DS-parity polish (specimen sweep) ═══════════════════════════════════════
1409
- * Gaps found auditing the shell against `.design/system/maude/preview/*`:
1410
- * focus-visible coverage, the DS input focus ring, select chevron, unified
1411
- * thin scrollbars, tooltip bubbles. */
1412
-
1413
- /* Catch-all keyboard focus — the DS focus specimen's ONE ring: 2px accent
1414
- * outline at 2px offset wrapped in a 5px --accent-tint halo (`focus.css`
1415
- * .fo-chip). :focus-visible only — mouse clicks never paint it. Inputs are
1416
- * NOT here — they take the DS input recipe (accent border + 3px tint ring). */
1417
- .maude :is(button, [role="tab"], select, summary, a):focus-visible {
1418
- outline: 2px solid var(--accent);
1419
- outline-offset: 2px;
1420
- box-shadow: 0 0 0 5px var(--accent-tint);
1421
- }
1422
- /* tight rows inside scrollers — the inset variant so the ring never clips
1423
- * (focus.css .fo-tree .tree-row recipe). */
1424
- .maude :is(.st-row, .st-dd-item, .st-pal-item, .st-layer, .st-tree-sec-hd, .st-cm-group-hd):focus-visible {
1425
- outline-offset: -2px;
1426
- box-shadow: inset 0 0 0 5px var(--accent-tint);
1427
- }
1428
-
1429
- /* DS input recipe (`_components.css` .input:focus) — accent hairline + 3px tint
1430
- * ring, never the default UA outline. */
1431
- .st-search-box:focus-within {
1432
- border-color: var(--accent);
1433
- box-shadow: 0 0 0 3px var(--accent-tint);
1434
- color: var(--fg-2);
1435
- }
1436
- .st-search-box input:focus { outline: none; }
1437
- .st-newboard input:focus,
1438
- .st-newboard input:focus-visible {
1439
- outline: none;
1440
- border-color: var(--accent);
1441
- box-shadow: 0 0 0 3px var(--accent-tint);
1442
- }
1443
- .st-field:focus {
1444
- outline: none;
1445
- border-color: var(--accent);
1446
- box-shadow: 0 0 0 3px var(--accent-tint);
1447
- }
1448
- .st-select:hover { border-color: var(--border-strong); background-color: var(--bg-3); }
1449
- .st-select:focus-visible {
1450
- outline: none;
1451
- border-color: var(--accent);
1452
- box-shadow: 0 0 0 3px var(--accent-tint);
1453
- }
1454
- /* palette search — the container is the field; the inner input stays naked */
1455
- .st-pal-search input:focus { outline: none; }
1456
- .st-pal-search:focus-within { border-bottom-color: var(--accent-muted); }
1457
-
1458
- /* select chevron — `appearance:none` dropped the UA arrow and left the control
1459
- * affordance-less. Data-URIs can't read tokens, so the stroke is the resolved
1460
- * --fg-1 per theme (dark ≈ #c0c4cf, light ≈ #4f5563). */
1461
- .st-select {
1462
- padding-right: 30px;
1463
- background-repeat: no-repeat;
1464
- background-position: right 10px center;
1465
- background-size: 12px;
1466
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c0c4cf' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5 6 8 10.5 12.5 6'/%3E%3C/svg%3E");
1467
- }
1468
- .maude[data-theme="light"] .st-select {
1469
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234f5563' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5 6 8 10.5 12.5 6'/%3E%3C/svg%3E");
1470
- }
1471
-
1472
- /* unified thin scrollbars — one material everywhere (tree, panels, palette,
1473
- * system view, modals). Hairline thumb, transparent track. */
1474
- .maude * {
1475
- scrollbar-width: thin;
1476
- scrollbar-color: var(--border-default) transparent;
1477
- }
1478
- .maude ::-webkit-scrollbar { width: 8px; height: 8px; }
1479
- .maude ::-webkit-scrollbar-track { background: transparent; }
1480
- .maude ::-webkit-scrollbar-thumb {
1481
- background: var(--border-default);
1482
- border-radius: var(--radius-pill);
1483
- border: 2px solid transparent;
1484
- background-clip: padding-box;
1485
- }
1486
- .maude ::-webkit-scrollbar-thumb:hover { background-color: var(--border-strong); }
1487
-
1488
- /* tooltip bubble — DS `components-tooltips` recipe (bg-2 hairline bubble), CSS
1489
- * attr-driven so chrome controls opt in via `data-tip` without a JS layer.
1490
- * 500ms reveal delay ≈ native tooltip timing; reduced-motion shows instantly. */
1491
- .maude [data-tip] { position: relative; }
1492
- .maude [data-tip]::after {
1493
- content: attr(data-tip);
1494
- position: absolute;
1495
- top: calc(100% + 7px);
1496
- left: 50%;
1497
- transform: translateX(-50%);
1498
- z-index: 9200;
1499
- white-space: nowrap;
1500
- padding: var(--space-2) var(--space-3);
1501
- background: var(--bg-2);
1502
- color: var(--fg-0);
1503
- font-family: var(--font-body);
1504
- font-size: var(--type-xs);
1505
- font-weight: 400;
1506
- letter-spacing: normal;
1507
- text-transform: none;
1508
- line-height: 1;
1509
- border: 1px solid var(--border-default);
1510
- border-radius: var(--radius-sm);
1511
- box-shadow: var(--shadow-md);
1512
- pointer-events: none;
1513
- opacity: 0;
1514
- transition: opacity var(--dur-soft) var(--ease-out);
1515
- }
1516
- .maude [data-tip]:hover::after,
1517
- .maude [data-tip]:focus-visible::after {
1518
- opacity: 1;
1519
- transition-delay: 500ms;
1520
- }
1521
- /* bottom-bar + right-edge hosts flip/clamp so the bubble stays on screen */
1522
- .maude [data-tip][data-tip-pos="top"]::after { top: auto; bottom: calc(100% + 7px); }
1523
- .maude [data-tip][data-tip-pos="left"]::after { top: 50%; left: auto; right: calc(100% + 7px); transform: translateY(-50%); }
1524
-
1525
- /* ═══ Behavioral polish (specimen sweep, round 2) ═════════════════════════════ */
1526
-
1527
- /* ─── Panel grip — DS components-resize-panels recipe ──────────────────────
1528
- * 8px hit area; the panel's own border is the at-rest hairline, the grip seam
1529
- * surfaces accent + grip dots on hover/focus/drag. col-resize everywhere
1530
- * while dragging; iframes drop pointer events so they can't eat the stream. */
1531
- .st-grip {
1532
- flex: 0 0 8px;
1533
- width: 8px;
1534
- position: relative;
1535
- cursor: col-resize;
1536
- display: grid;
1537
- place-items: center;
1538
- background: transparent;
1539
- /* sit over the adjacent panel borders so the accent seam reads centered */
1540
- margin: 0 -4px;
1541
- z-index: 25;
1542
- }
1543
- .st-grip::before {
1544
- content: "";
1545
- position: absolute;
1546
- top: 0; bottom: 0; left: 50%;
1547
- width: 1px;
1548
- transform: translateX(-50%);
1549
- background: transparent;
1550
- transition: background var(--dur-flip) var(--ease-out), width var(--dur-flip) var(--ease-out);
1551
- }
1552
- .st-grip:hover::before,
1553
- .st-grip:focus-visible::before,
1554
- .st-grip.is-active::before { background: var(--accent); width: 2px; }
1555
- .st-grip-dots {
1556
- width: 6px; height: 18px;
1557
- color: var(--accent);
1558
- opacity: 0;
1559
- position: relative;
1560
- transition: opacity var(--dur-flip) var(--ease-out);
1561
- }
1562
- .st-grip:hover .st-grip-dots,
1563
- .st-grip:focus-visible .st-grip-dots,
1564
- .st-grip.is-active .st-grip-dots { opacity: 1; }
1565
- /* specimen recipe — inset ring on the narrow hit area (the seam + dots already
1566
- * surface accent, this keeps a proper outline for WCAG focus visibility) */
1567
- .st-grip:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
1568
- .st-body.is-resizing { cursor: col-resize; user-select: none; }
1569
- .st-body.is-resizing iframe { pointer-events: none; }
1570
- .st-sidebar.is-resizing, .st-rpanel.is-resizing { transition: none; }
1571
-
1572
- /* ─── File tree before its first index (TreeLoading) ───────────────────────── */
1573
- .st-tree-loading {
1574
- display: flex; flex-direction: column; gap: var(--space-2);
1575
- padding: var(--space-3) var(--space-3) var(--space-4);
1576
- }
1577
- .st-tree-loading-head {
1578
- display: flex; align-items: center; gap: var(--space-2);
1579
- font-size: var(--type-sm); color: var(--fg-2);
1580
- margin-bottom: var(--space-1);
1581
- }
1582
- .st-tree-loading-row { height: 10px; }
1583
- .st-tree-loading-hint {
1584
- margin-top: var(--space-2);
1585
- font-size: var(--type-xs); line-height: 1.45; color: var(--fg-2);
1586
- }
1587
-
1588
- /* ─── Canvas-compile skeleton — DS skeletons recipe (.skel pulse) ──────────── */
1589
- .st-canvas-loading {
1590
- position: absolute; inset: 0;
1591
- display: grid; place-items: center;
1592
- pointer-events: none;
1593
- z-index: 5;
1594
- /* OPAQUE from the first frame — the frame underneath is the bare shell (a
1595
- * white page, comment pins over nothing) until the canvas reports rendered. */
1596
- background: var(--canvas-bg);
1597
- }
1598
- /* 180ms appearance delay on the CARD — warm canvases mount in <150ms and never
1599
- * flash it; the backdrop above is immediate so nothing white shows through. */
1600
- .st-canvas-loading > .st-skel-card {
1601
- opacity: 0;
1602
- animation: st-loading-in var(--dur-soft) var(--ease-out) 180ms forwards;
1603
- }
1604
- @keyframes st-loading-in { to { opacity: 1; } }
1605
- .st-canvas-loading-head {
1606
- display: flex; align-items: center; gap: var(--space-2);
1607
- min-width: 0;
1608
- }
1609
- .st-canvas-loading-title {
1610
- font-size: var(--type-sm); color: var(--fg-1);
1611
- white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
1612
- }
1613
- .st-canvas-loading-spinner {
1614
- flex: none;
1615
- width: 14px; height: 14px;
1616
- border-radius: 50%;
1617
- border: 2px solid var(--bg-3);
1618
- border-top-color: var(--accent);
1619
- animation: st-spin 0.8s linear infinite;
1620
- }
1621
- @keyframes st-spin { to { transform: rotate(360deg); } }
1622
- .st-canvas-loading-hint {
1623
- font-size: var(--type-xs); line-height: 1.45; color: var(--fg-2);
1624
- opacity: 0; transition: opacity var(--dur-soft) var(--ease-out);
1625
- }
1626
- .st-canvas-loading-hint.is-shown { opacity: 1; }
1627
- @media (prefers-reduced-motion: reduce) {
1628
- .st-canvas-loading-spinner { animation-duration: 2.4s; }
1629
- }
1630
- .st-skel-card {
1631
- width: 300px;
1632
- display: flex; flex-direction: column; gap: var(--space-3);
1633
- padding: var(--space-5);
1634
- background: var(--bg-1);
1635
- border: 1px solid var(--border-default);
1636
- border-radius: var(--radius-md);
1637
- box-shadow: var(--shadow-md);
1638
- animation: st-pop var(--dur-panel) var(--ease-out);
1639
- }
1640
- .st-skel-cap {
1641
- font-size: var(--type-xs); letter-spacing: var(--tracking-wide);
1642
- text-transform: uppercase; color: var(--fg-2);
1643
- }
1644
- .skel {
1645
- display: block;
1646
- background: var(--bg-3);
1647
- border-radius: var(--radius-xs);
1648
- animation: sk-pulse calc(var(--dur-route) * 3) var(--ease-in-out) infinite alternate;
1649
- }
1650
- @keyframes sk-pulse { from { opacity: 0.45; } to { opacity: 0.95; } }
1651
- @media (prefers-reduced-motion: reduce) { .skel { animation: none; opacity: 0.7; } }
1652
- .st-skel-thumb { height: 96px; border-radius: var(--radius-sm); }
1653
- .st-skel-line { height: 10px; }
1654
-
1655
- /* ─── Canvas failed to load (issue #115) ──────────────────────────────────────
1656
- * Replaces the blank pane the 15s skeleton cap used to leave behind. Same card
1657
- * geometry as the skeleton so the transition from "compiling" to "it didn't"
1658
- * reads as one surface changing state, not a new thing appearing. Interactive
1659
- * (the skeleton is `pointer-events: none`; this one has a button). */
1660
- .st-canvas-error {
1661
- position: absolute; inset: 0;
1662
- display: grid; place-items: center;
1663
- z-index: 6;
1664
- background: var(--canvas-bg);
1665
- }
1666
- .st-canvas-error-card {
1667
- width: 360px; max-width: calc(100% - var(--space-8));
1668
- display: flex; flex-direction: column; gap: var(--space-3);
1669
- padding: var(--space-5);
1670
- background: var(--bg-1);
1671
- border: 1px solid var(--border-default);
1672
- border-radius: var(--radius-md);
1673
- box-shadow: var(--shadow-md);
1674
- animation: st-pop var(--dur-panel) var(--ease-out);
1675
- }
1676
- .st-canvas-error-title {
1677
- font-family: var(--font-display); font-size: var(--type-base); font-weight: 600;
1678
- color: var(--fg-0);
1679
- }
1680
- .st-canvas-error-body { font-size: var(--type-sm); line-height: 1.6; color: var(--fg-2); }
1681
- .st-canvas-error-body code {
1682
- font-family: var(--font-mono); font-size: var(--type-xs);
1683
- background: var(--bg-2); color: var(--accent);
1684
- padding: 1px 5px; border-radius: var(--radius-xs);
1685
- }
1686
- .st-canvas-error-card .btn { align-self: flex-start; }
1687
- @media (prefers-reduced-motion: reduce) { .st-canvas-error-card { animation: none; } }
1688
-
1689
- /* ─── Micro-motion — hover/disclosure transitions on the dense surfaces ───── */
1690
- .st-row,
1691
- .st-comment,
1692
- .st-fmt,
1693
- .st-cm-filter,
1694
- .st-rp-tab,
1695
- .st-dd-item,
1696
- .st-pal-item,
1697
- .st-layer,
1698
- .st-export-recent-row {
1699
- transition: background var(--dur-soft) var(--ease-out),
1700
- border-color var(--dur-soft) var(--ease-out),
1701
- color var(--dur-soft) var(--ease-out);
1702
- }
1703
- /* tree disclosure chevron — one glyph, rotated (animatable) */
1704
- .st-chev { transition: transform var(--dur-flip) var(--ease-out); }
1705
- .st-chev.is-open { transform: rotate(90deg); }
1706
- /* right dock slides in as a panel (DS motion role: panel) */
1707
- .st-rpanel { animation: st-panel-in var(--dur-panel) var(--ease-out); }
1708
- @keyframes st-panel-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
1709
-
1710
- /* ─── Keyboard-shortcuts overlay — DS components-shortcuts-overlay recipe ──── */
1711
- .so-overlay {
1712
- position: relative;
1713
- width: 100%;
1714
- max-width: 720px;
1715
- background: var(--bg-1);
1716
- border: 1px solid var(--border-default);
1717
- border-radius: var(--radius-lg);
1718
- box-shadow: var(--shadow-lg);
1719
- padding: var(--space-6);
1720
- margin-top: -4vh;
1721
- animation: so-enter var(--dur-panel) var(--ease-out) both;
1722
- }
1723
- @keyframes so-enter {
1724
- 0% { opacity: 0; transform: translateY(-6px) scale(0.99); }
1725
- 100% { opacity: 1; transform: none; }
1726
- }
1727
- .so-overlay-hd {
1728
- display: flex;
1729
- align-items: baseline;
1730
- justify-content: space-between;
1731
- gap: var(--space-4);
1732
- margin: 0 0 var(--space-5);
1733
- padding-bottom: var(--space-4);
1734
- border-bottom: 1px solid var(--border-subtle);
1735
- }
1736
- .so-title {
1737
- font-family: var(--font-display);
1738
- font-size: var(--type-lg);
1739
- line-height: var(--lh-lg);
1740
- font-weight: 600;
1741
- letter-spacing: var(--tracking-tight);
1742
- color: var(--fg-0);
1743
- }
1744
- .so-trigger { font-size: var(--type-xs); color: var(--fg-2); }
1745
- .so-columns {
1746
- display: grid;
1747
- grid-template-columns: repeat(2, 1fr);
1748
- gap: var(--space-6) var(--space-7);
1749
- }
1750
- .so-section-hd {
1751
- margin: 0 0 var(--space-3);
1752
- font-family: var(--font-mono);
1753
- font-size: var(--type-xs);
1754
- font-weight: 500;
1755
- letter-spacing: var(--tracking-wide);
1756
- text-transform: uppercase;
1757
- color: var(--fg-2);
1758
- padding-bottom: var(--space-2);
1759
- border-bottom: 1px solid var(--border-subtle);
1760
- }
1761
- /* the canvas-tools column reads as the in-canvas scope — accent-muted header */
1762
- .so-section--tools .so-section-hd {
1763
- color: var(--accent);
1764
- border-bottom-color: color-mix(in oklab, var(--accent) 40%, var(--border-subtle));
1765
- }
1766
- .so-list { display: flex; flex-direction: column; gap: var(--space-1); margin: 0; }
1767
- .so-pair {
1768
- display: grid;
1769
- grid-template-columns: 1fr auto;
1770
- align-items: center;
1771
- gap: var(--space-4);
1772
- padding: var(--space-1) var(--space-1);
1773
- border-radius: var(--radius-xs);
1774
- }
1775
- .so-pair:hover { background: var(--bg-2); }
1776
- .so-pair dt { font-size: var(--type-sm); color: var(--fg-1); }
1777
- .so-pair dd { margin: 0; justify-self: end; }
1778
- .so-combos { display: inline-flex; align-items: center; gap: var(--space-2); }
1779
- .so-combo { display: inline-flex; align-items: center; gap: var(--space-1); }
1780
- .so-or { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-3); padding: 0 1px; }
1781
- .so-overlay-ft {
1782
- display: flex;
1783
- align-items: center;
1784
- justify-content: space-between;
1785
- gap: var(--space-4);
1786
- margin-top: var(--space-5);
1787
- padding-top: var(--space-4);
1788
- border-top: 1px solid var(--border-subtle);
1789
- font-size: var(--type-xs);
1790
- color: var(--fg-2);
1791
- }
1792
- @media (max-width: 640px) { .so-columns { grid-template-columns: 1fr; } }
1793
-
1794
- /* ─── Agent presence pulse — DS motion-presence role (scale+opacity ring) ──── */
1795
- .st-avatar.is-pulsing::after {
1796
- content: "";
1797
- position: absolute;
1798
- inset: -1px;
1799
- border-radius: var(--radius-pill);
1800
- border: 1px solid var(--av-hue);
1801
- animation: st-presence-ring 1600ms var(--ease-out) infinite;
1802
- pointer-events: none;
1803
- }
1804
- .st-avatar { position: relative; }
1805
- @keyframes st-presence-ring {
1806
- 0% { opacity: 0.9; transform: scale(1); }
1807
- 70%, 100% { opacity: 0; transform: scale(1.45); }
1808
- }
1809
- @media (prefers-reduced-motion: reduce) { .st-avatar.is-pulsing::after { animation: none; opacity: 0; } }
1810
-
1811
- /* ── Phase 27 (E2) — GitPanel (Changes / History), mockup-faithful ────────────
1812
- * Ported 1:1 from `.design/ui/GitPanel.css`. The DS treatments the mock LIFTS
1813
- * (.panel/.tabbar/.tab/.textarea/.callout/.check) are folded into the gp-* names
1814
- * so they don't collide with the existing shell classes. Every value a token. */
1815
- .gp-panel { display: flex; flex-direction: column; min-height: 0; background: var(--bg-1); }
1816
-
1817
- /* header: title + "N unsaved" pill + close, then the Changes/History tabbar */
1818
- .gp-head { flex: none; }
1819
- .gp-panel-hd { display: flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-default); }
1820
- .gp-panel-title { font-family: var(--font-display); font-weight: 600; font-size: var(--type-md); color: var(--fg-0); flex: none; }
1821
- .gp-count { font-family: var(--font-mono); font-size: var(--type-xs); font-weight: 600; padding: 1px var(--space-2); border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent); border: 1px solid var(--accent-muted); white-space: nowrap; flex: none; }
1822
- .gp-spacer { flex: 1; min-width: var(--space-2); }
1823
- .gp-draft { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); display: inline-flex; align-items: center; gap: var(--space-1); padding: 1px var(--space-2); border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--bg-2); white-space: nowrap; min-width: 0; flex: 0 1 auto; }
1824
- .gp-draft b { color: var(--fg-0); font-weight: 600; overflow: hidden; text-overflow: ellipsis; max-width: 90px; }
1825
- .gp-draft .gp-sep { color: var(--fg-3); }
1826
- .gp-x { appearance: none; border: none; background: transparent; color: var(--fg-2); font-size: 16px; line-height: 1; cursor: pointer; padding: 2px 5px; border-radius: var(--radius-xs); }
1827
- .gp-x:hover { color: var(--fg-1); background: var(--bg-3); }
1828
-
1829
- /* ── Timeline (DDR-148) — BOTTOM-docked transport + per-sequence track ── */
1830
- .tl-panel { position: relative; display: flex; flex-direction: column; min-height: 0; width: 100%; background: var(--bg-1); border-top: 1px solid var(--border-default); user-select: none; -webkit-user-select: none; }
1831
- /* DDR-150 P4 — drop-media-to-insert affordance */
1832
- .tl-panel.is-drop { outline: 2px dashed var(--accent); outline-offset: -3px; background: color-mix(in oklch, var(--accent) 8%, var(--bg-1)); }
1833
- /* drag the top edge to resize the panel taller/shorter */
1834
- .tl-resize-handle { position: absolute; top: -3px; left: 0; right: 0; height: 8px; cursor: ns-resize; z-index: 6; touch-action: none; }
1835
- .tl-resize-handle::after { content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 44px; height: 3px; border-radius: 2px; background: var(--fg-2); opacity: 0; transition: opacity 0.12s; }
1836
- .tl-resize-handle:hover::after { opacity: 0.55; }
1837
- .tl-volume { width: 66px; height: 4px; margin: 0 2px 0 4px; accent-color: var(--accent); cursor: pointer; }
1838
- .tl-head { display: flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-3) 0 var(--space-3); border-bottom: 1px solid var(--border-subtle); flex: none; }
1839
- .tl-title { font-family: var(--font-display); font-weight: 600; font-size: var(--type-md); color: var(--fg-0); }
1840
- .tl-spacer { flex: 1; }
1841
- .tl-meta { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); white-space: nowrap; }
1842
- /* Task 4 — zoom slider in the transport head. */
1843
- .tl-zoom { width: 90px; accent-color: var(--accent); }
1844
- /* Task 4 — labels stay pinned while the scaled track scrolls horizontally. */
1845
- .tl-row-label { position: sticky; left: 0; z-index: 3; background: var(--bg-1); }
1846
- /* Task 5 — the three-band storyline layout. */
1847
- .tl-band-tag {
1848
- font-family: var(--font-mono);
1849
- font-size: 9px;
1850
- letter-spacing: 0.08em;
1851
- text-transform: uppercase;
1852
- color: var(--fg-3);
1853
- }
1854
- .tl-band-tag--story { color: var(--fg-1); font-weight: 600; }
1855
- .tl-row--storyline { height: 44px; }
1856
- .tl-row--overlay { height: 24px; }
1857
- .tl-row--overlay .tl-seq-block { top: 2px; bottom: 2px; }
1858
- .tl-storyline-track .tl-seq-block.tl-beat { border-radius: 0; border-right-width: 0; }
1859
- .tl-storyline-track .tl-seq-block.tl-beat:first-child { border-top-left-radius: var(--radius-sm); border-bottom-left-radius: var(--radius-sm); }
1860
- /* ⧓ seam chip between storyline beats (read-only until transition edit lands). */
1861
- .tl-seam {
1862
- position: absolute;
1863
- top: 50%;
1864
- transform: translateY(-50%);
1865
- width: 24px;
1866
- height: 24px;
1867
- display: grid;
1868
- place-items: center;
1869
- border-radius: 50%;
1870
- background: var(--bg-0);
1871
- border: 1px solid var(--accent-muted, var(--accent));
1872
- color: var(--fg-1);
1873
- font-size: 13px;
1874
- line-height: 1;
1875
- padding: 0;
1876
- cursor: pointer;
1877
- z-index: 2;
1878
- pointer-events: auto;
1879
- transition: transform var(--dur-1, 120ms) var(--ease-out, ease), border-color var(--dur-1, 120ms) ease;
1880
- }
1881
- .tl-seam:hover { transform: translateY(-50%) scale(1.12); border-color: var(--accent); color: var(--accent); }
1882
- /* WKWebView-safe shell prompt modal (window.prompt is a no-op in Tauri). */
1883
- .st-prompt { width: 420px; max-width: 90vw; }
1884
- .st-prompt .st-input {
1885
- width: 100%;
1886
- box-sizing: border-box;
1887
- padding: 8px 10px;
1888
- border-radius: var(--radius-sm);
1889
- border: 1px solid var(--bg-3);
1890
- background: var(--bg-0);
1891
- color: var(--fg-0);
1892
- font-size: var(--type-sm);
1893
- outline: none;
1894
- }
1895
- .st-prompt .st-input:focus { border-color: var(--accent); }
1896
- /* Task 23 — timeline comment pins (💬 strip above the ruler). */
1897
- .tl-comments-strip { position: absolute; top: -2px; left: 0; right: 0; height: 18px; z-index: 5; pointer-events: none; }
1898
- .tl-comment-pin {
1899
- position: absolute;
1900
- top: 0;
1901
- width: 16px;
1902
- height: 16px;
1903
- display: grid;
1904
- place-items: center;
1905
- border: none;
1906
- background: none;
1907
- font-size: 11px;
1908
- cursor: pointer;
1909
- pointer-events: auto;
1910
- filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
1911
- }
1912
- .tl-comment-pin.is-resolved { opacity: 0.4; }
1913
- .tl-comment-pin.is-detached::after {
1914
- content: '!';
1915
- position: absolute;
1916
- top: -3px;
1917
- right: -3px;
1918
- font-size: 8px;
1919
- color: #ef4444;
1920
- font-weight: 700;
1921
- }
1922
- .tlci-comment-text { margin: 0; font-size: var(--type-sm); color: var(--fg-0); line-height: 1.5; white-space: pre-wrap; }
1923
- /* Task 21 — AI placeholder blocks: dashed accent slate. */
1924
- .tl-seq-block[data-kind="placeholder"] {
1925
- border-style: dashed;
1926
- border-color: var(--accent);
1927
- background: color-mix(in oklab, var(--accent) 12%, var(--bg-2));
1928
- }
1929
- .tl-kind[data-kind="placeholder"] { color: var(--accent); background: color-mix(in oklab, var(--accent) 18%, var(--bg-3)); }
1930
- /* Task 17 — "+" affordance on hard-cut seams. Sits ABOVE the lane so it never
1931
- collides with trim handles / replace buttons at block edges. */
1932
- .tl-seam-add {
1933
- opacity: 0;
1934
- top: -12px;
1935
- transform: none;
1936
- width: 22px;
1937
- height: 22px;
1938
- cursor: pointer;
1939
- background: var(--bg-1);
1940
- transition: opacity var(--dur-1, 120ms) ease, border-color var(--dur-1, 120ms) ease;
1941
- }
1942
- .tl-seam-add svg { display: block; }
1943
- .tl-storyline-track:hover .tl-seam-add { opacity: 0.85; }
1944
- .tl-seam-add:hover { opacity: 1; transform: none; border-color: var(--accent); color: var(--accent); }
1945
- /* Inspector text tab */
1946
- .tlci-textarea {
1947
- width: 100%;
1948
- box-sizing: border-box;
1949
- resize: vertical;
1950
- padding: 6px 8px;
1951
- border-radius: var(--radius-sm);
1952
- border: 1px solid var(--bg-3);
1953
- background: var(--bg-0);
1954
- color: var(--fg-0);
1955
- font-size: var(--type-sm);
1956
- font-family: inherit;
1957
- }
1958
- .tlci-textarea:focus { outline: none; border-color: var(--accent); }
1959
- /* Task 9 — the clip inspector popover (Speed · Audio · Crop · Grade · Transition). */
1960
- .tlci {
1961
- position: fixed;
1962
- z-index: 90;
1963
- width: 264px;
1964
- background: var(--bg-1);
1965
- border: 1px solid var(--bg-3);
1966
- border-radius: var(--radius-md);
1967
- box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
1968
- font-size: var(--type-sm);
1969
- }
1970
- /* DS voice (components-inspector-controls / .st-cp-*): mono uppercase micro-
1971
- labels, hairline --border-subtle separations, squared segments over pill
1972
- chips, --accent-tint for the active state (dogfood 2026-07-30, image #30). */
1973
- .tlci-head { display: flex; align-items: center; gap: var(--space-2); padding: 7px 10px; cursor: grab; border-bottom: 1px solid var(--border-subtle, var(--bg-3)); }
1974
- .tlci-title { font-family: var(--font-mono); font-size: var(--type-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide, 0.08em); color: var(--fg-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1975
- .tlci-x { border: none; background: none; color: var(--fg-2); font-size: 14px; cursor: pointer; padding: 0 4px; }
1976
- .tlci-x:hover { color: var(--fg-0); }
1977
- .tlci-tabs { display: flex; margin: 8px 10px 0; border: 1px solid var(--border-subtle, var(--bg-3)); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
1978
- .tlci-tab { flex: 1; border: none; border-right: 1px solid var(--border-subtle, var(--bg-3)); background: transparent; color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); text-transform: lowercase; padding: 5px 2px; cursor: pointer; }
1979
- .tlci-tab:last-child { border-right: 0; }
1980
- .tlci-tab:hover:not(.is-on) { background: var(--bg-4, var(--bg-3)); }
1981
- .tlci-tab.is-on { background: var(--accent-tint, var(--bg-3)); color: var(--fg-0); }
1982
- .tlci-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
1983
- .tlci-row { display: flex; align-items: center; gap: 8px; }
1984
- .tlci-lbl { width: 76px; flex: none; color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide, 0.08em); }
1985
- .tlci-presets { display: flex; flex-wrap: wrap; gap: 4px; }
1986
- .tlci-chip { border: 1px solid var(--border-subtle, var(--bg-3)); background: var(--bg-2); color: var(--fg-1); font-family: var(--font-mono); font-size: var(--type-xs); padding: 3px 8px; border-radius: var(--radius-sm); cursor: pointer; }
1987
- .tlci-chip:hover:not(.is-on) { background: var(--bg-4, var(--bg-3)); color: var(--fg-0); }
1988
- .tlci-chip.is-on { background: var(--accent-tint, var(--bg-3)); border-color: var(--accent); color: var(--fg-0); }
1989
- .tlci-btn { border: 1px solid var(--border-subtle, var(--bg-3)); background: var(--bg-2); color: var(--fg-0); font-family: var(--font-mono); font-size: var(--type-xs); padding: 5px 10px; border-radius: var(--radius-sm); cursor: pointer; align-self: flex-start; }
1990
- .tlci-btn:hover { border-color: var(--accent); background: var(--bg-4, var(--bg-3)); }
1991
- .tlci-note { margin: 0; color: var(--fg-3); font-size: 10px; line-height: 1.5; }
1992
- /* Phase 2 — block chips (speed / mute) + the left in-point trim handle. */
1993
- .tl-chip { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 9px; padding: 0 4px; border-radius: 3px; background: var(--bg-0); color: var(--fg-1); border: 1px solid var(--bg-3); margin-right: 3px; }
1994
- .tl-seq-trim-in {
1995
- position: absolute;
1996
- top: 0;
1997
- bottom: 0;
1998
- width: 7px;
1999
- cursor: ew-resize;
2000
- z-index: 3;
2001
- border-radius: 2px;
2002
- }
2003
- .tl-seq-trim-in:hover { background: color-mix(in oklab, var(--accent) 50%, transparent); }
2004
- /* Task 8 — live trim/move delta tooltip; red at a clamp (source bounds / 1f). */
2005
- .tl-trim-tip {
2006
- position: absolute;
2007
- top: -20px;
2008
- padding: 1px 6px;
2009
- border-radius: 4px;
2010
- background: var(--bg-0);
2011
- border: 1px solid var(--accent-muted, var(--accent));
2012
- color: var(--fg-0);
2013
- font-family: var(--font-mono);
2014
- font-size: 10px;
2015
- white-space: nowrap;
2016
- z-index: 6;
2017
- pointer-events: none;
2018
- }
2019
- .tl-trim-tip.is-clamped { border-color: #ef4444; color: #ef4444; }
2020
- /* Task 7 — filmstrip thumbnails behind the clip label + real waveforms. */
2021
- .tl-strip {
2022
- position: absolute;
2023
- inset: 0;
2024
- display: flex;
2025
- overflow: hidden;
2026
- border-radius: inherit;
2027
- opacity: 0.55;
2028
- pointer-events: none;
2029
- }
2030
- .tl-strip img { flex: 1 1 0; min-width: 0; object-fit: cover; height: 100%; }
2031
- .tl-seq-block .tl-kind, .tl-seq-block .tl-seq-name { position: relative; z-index: 1; }
2032
- .tl-wave-real { fill: currentColor; stroke: none; opacity: 0.85; }
2033
- /* Task 6 — magnetic reorder: siblings glide to their preview slots, the
2034
- dragged beat floats above. */
2035
- /* superseded by the tokenised rule below */
2036
- .tl-seq-block.is-dragging { z-index: 4; opacity: 0.85; cursor: grabbing; }
2037
- /* Task 6 — file-drop insertion caret. */
2038
- .tl-drop-caret {
2039
- position: absolute;
2040
- top: -2px;
2041
- bottom: -2px;
2042
- width: 2px;
2043
- background: var(--accent);
2044
- border-radius: 1px;
2045
- z-index: 5;
2046
- pointer-events: none;
2047
- }
2048
- .tl-drop-caret::before {
2049
- content: '';
2050
- position: absolute;
2051
- top: -3px;
2052
- left: -3px;
2053
- width: 8px;
2054
- height: 8px;
2055
- border-radius: 50%;
2056
- background: var(--accent);
2057
- }
2058
- /* Task 3 — selected clip: the same accent outline vocabulary as canvas
2059
- selection, so "selected" means one thing everywhere. */
2060
- .tl-seq-block.is-selected {
2061
- outline: 2px solid var(--accent);
2062
- outline-offset: -1px;
2063
- z-index: 2;
2064
- }
2065
- /* Long-comp badge — comp length beyond the 900-frame safe export tier. */
2066
- .tl-long-badge {
2067
- font-family: var(--font-mono);
2068
- font-size: var(--type-xs);
2069
- color: var(--accent);
2070
- border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
2071
- border-radius: 4px;
2072
- padding: 0 6px;
2073
- white-space: nowrap;
2074
- cursor: help;
2075
- }
2076
- .tl-x { appearance: none; border: none; background: transparent; color: var(--fg-2); font-size: 16px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: var(--radius-xs); }
2077
- .tl-x:hover { color: var(--fg-1); background: var(--bg-3); }
2078
- .tl-empty { padding: var(--space-4); color: var(--fg-2); font-size: var(--type-sm); line-height: 1.5; }
2079
- .tl-empty code, .tl-empty b { font-family: var(--font-mono); font-size: var(--type-xs); }
2080
- .tl-empty code { background: var(--bg-2); padding: 1px 4px; border-radius: var(--radius-xs); color: var(--fg-1); }
2081
- .tl-btn { appearance: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--fg-1); cursor: pointer; transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out); }
2082
- .tl-btn:hover { background: var(--bg-3); color: var(--fg-0); }
2083
- .tl-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
2084
- .tl-btn.is-on { background: var(--accent-tint); border-color: var(--accent-muted); color: var(--accent); }
2085
- .tl-btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
2086
- .tl-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-fg); }
2087
- /* issue #75 — which artboard's comp this timeline is scoped to (multi-comp only). */
2088
- .tl-artboard { margin-left: var(--space-2); padding: 2px 7px; border-radius: 999px; border: 1px solid var(--border-default); background: var(--bg-2); color: var(--fg-1); font-size: var(--type-xs); line-height: 1.4; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2089
- /* The shell could not resolve the artboard — read as a warning, not as a name. */
2090
- .tl-artboard.is-unknown { color: var(--fg-3); border-style: dashed; font-style: italic; }
2091
- .tl-readout { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); display: inline-flex; align-items: baseline; gap: 4px; margin-left: var(--space-2); }
2092
- .tl-readout b { color: var(--fg-0); font-weight: 600; }
2093
- .tl-readout .tl-sep { color: var(--fg-3); }
2094
- .tl-readout .tl-time { color: var(--accent); margin-left: var(--space-2); }
2095
- /* the scrolling track area */
2096
- .tl-scroll { flex: 1; min-height: 0; overflow: auto; padding: var(--space-2) var(--space-3) var(--space-3); }
2097
- .tl-tracks { position: relative; min-width: 100%; display: flex; flex-direction: column; gap: 6px; padding-top: 20px; cursor: ew-resize; }
2098
- .tl-ruler { position: absolute; top: 0; left: 96px; right: 0; height: 16px; }
2099
- .tl-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--border-subtle); }
2100
- .tl-tick-label { position: absolute; top: -1px; left: 3px; font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); white-space: nowrap; }
2101
- .tl-row { display: flex; align-items: center; gap: var(--space-2); height: 30px; }
2102
- .tl-row-label { flex: none; width: 88px; display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); overflow: hidden; white-space: nowrap; text-align: right; }
2103
- .tl-row-label-text { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
2104
- /* DDR-150 dogfood #6 — per-row media-kind identity (video / image / audio / JSX). */
2105
- .tl-kind { flex: none; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 3px; font-size: 8px; line-height: 1; color: var(--fg-2); background: var(--bg-3); }
2106
- .tl-kind[data-kind="video"] { color: #7dd3fc; background: color-mix(in oklch, #0ea5e9 22%, var(--bg-3)); }
2107
- .tl-kind[data-kind="image"] { color: #86efac; background: color-mix(in oklch, #22c55e 20%, var(--bg-3)); }
2108
- .tl-kind[data-kind="audio"] { color: #fcd34d; background: color-mix(in oklch, #f59e0b 20%, var(--bg-3)); }
2109
- .tl-kind[data-kind="jsx"] { color: var(--fg-2); font-style: italic; }
2110
- /* DDR-150 dogfood — the right-click clip menu reuses the canvas's shared
2111
- .dc-context-menu component. Its injected CSS reads --maude-chrome-* tokens
2112
- that the CANVAS defines (dark floating chrome) but the SHELL never set — so it
2113
- fell back to white and looked nothing like the canvas menu. Define the same
2114
- dark chrome tokens ON the menu so shell + canvas menus match. */
2115
- .dc-context-menu {
2116
- --maude-chrome-bg-0: oklch(0.165 0.012 255);
2117
- --maude-chrome-fg-0: oklch(0.955 0.005 250);
2118
- --maude-chrome-border: oklch(0.290 0.012 255);
2119
- --maude-chrome-shadow: rgba(0, 0, 0, 0.46);
2120
- --maude-chrome-font-mono: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
2121
- }
2122
- /* Clip layer decomposition — expand toggle + indented sub-rows. */
2123
- .tl-expand { flex: none; width: 16px; height: 16px; display: grid; place-items: center; padding: 0; border: none; background: transparent; color: var(--fg-1); font-size: 10px; line-height: 1; cursor: pointer; border-radius: 3px; }
2124
- .tl-expand:hover:not(.tl-expand--spacer) { color: var(--fg-0); background: var(--accent); }
2125
- .tl-expand--spacer { width: 16px; cursor: default; pointer-events: none; }
2126
- .tl-row--layer .tl-row-label { color: var(--fg-2); }
2127
- .tl-row--layer { opacity: 0.92; }
2128
- .tl-layer-indent { flex: none; width: 10px; }
2129
- .tl-layer-block { top: 5px; bottom: 5px; opacity: 0.7; border-style: dashed; }
2130
- /* Hidden clip — dimmed + hatched so it reads as "won't render" but keeps its slot. */
2131
- .tl-seq-block.is-hidden { opacity: 0.4; background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0,0,0,0.25) 5px, rgba(0,0,0,0.25) 10px); }
2132
- .tl-seq-block.is-hidden .tl-seq-name { text-decoration: line-through; }
2133
- /* Kind tint on the block itself — a video clip reads different from JSX motion. */
2134
- .tl-seq-block[data-kind="video"] { border-color: color-mix(in oklch, #0ea5e9 55%, var(--accent-muted)); background: color-mix(in oklch, #0ea5e9 16%, var(--bg-2)); }
2135
- .tl-seq-block[data-kind="image"] { border-color: color-mix(in oklch, #22c55e 45%, var(--accent-muted)); background: color-mix(in oklch, #22c55e 13%, var(--bg-2)); }
2136
- /* DDR-150 P5 — z-order raise/lower. Stacked ▲/▼; later sibling paints on top. */
2137
- .tl-seq-reorder { display: inline-flex; flex-direction: column; flex: none; opacity: 0; transition: opacity var(--dur-1, 120ms) ease; }
2138
- .tl-row:hover .tl-seq-reorder { opacity: 0.6; }
2139
- .tl-seq-reorder:hover, .tl-seq-reorder:focus-within { opacity: 1; }
2140
- .tl-reorder-btn { width: 13px; height: 8px; display: grid; place-items: center; padding: 0; border: none; border-radius: 2px; background: transparent; color: var(--fg-2); font-size: 7px; line-height: 1; cursor: pointer; }
2141
- .tl-reorder-btn:hover:not(:disabled) { background: var(--accent); color: var(--accent-fg, #fff); }
2142
- .tl-reorder-btn:disabled { opacity: 0.25; cursor: default; }
2143
- @media (prefers-reduced-motion: reduce) { .tl-seq-reorder { transition: none; } }
2144
- .tl-row-track { position: relative; flex: 1; height: 100%; background: var(--bg-2); border-radius: var(--radius-sm); }
2145
- .tl-seq-block { position: absolute; top: 3px; bottom: 3px; appearance: none; border: 1px solid var(--accent-muted); border-radius: var(--radius-xs); background: color-mix(in oklch, var(--accent) 20%, var(--bg-2)); color: var(--fg-0); cursor: pointer; overflow: hidden; padding: 0; min-width: 6px; transition: background var(--dur-soft) var(--ease-out); }
2146
- .tl-seq-block:hover { background: color-mix(in oklch, var(--accent) 32%, var(--bg-2)); }
2147
- .tl-seq-block:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
2148
- .tl-seq-name { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--fg-0); pointer-events: none; white-space: nowrap; }
2149
- .tl-seq-block.is-resizing { background: color-mix(in oklch, var(--accent) 42%, var(--bg-2)); border-color: var(--accent); }
2150
- /* drag-to-retime handle at the block's right edge */
2151
- .tl-seq-resize { position: absolute; top: 3px; bottom: 3px; width: 10px; z-index: 4; cursor: ew-resize; border-radius: 2px; touch-action: none; }
2152
- .tl-seq-resize::after { content: ""; position: absolute; top: 20%; bottom: 20%; left: 4px; width: 2px; border-radius: 1px; background: var(--fg-2); opacity: 0; }
2153
- .tl-seq-resize:hover::after { opacity: 0.9; background: var(--accent); }
2154
- /* DDR-150 P3 — per-clip remove (×). Subtle until the row is hovered. */
2155
- .tl-seq-remove { position: absolute; top: 3px; width: 15px; height: 15px; z-index: 5; display: grid; place-items: center; padding: 0; border: none; border-radius: var(--radius-xs); background: color-mix(in oklch, var(--bg-0) 70%, transparent); color: var(--fg-1); font-size: 13px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity var(--dur-1, 120ms) ease; }
2156
- .tl-row:hover .tl-seq-remove { opacity: 0.7; }
2157
- .tl-seq-remove:hover { opacity: 1; background: var(--status-err, #dc2626); color: #fff; }
2158
- .tl-seq-block.is-moving { cursor: grabbing; box-shadow: 0 0 0 1px var(--accent); }
2159
- /* DDR-150 P3 — per-clip replace-media (⇄). */
2160
- .tl-seq-replace { position: absolute; top: 3px; width: 15px; height: 15px; z-index: 5; display: grid; place-items: center; padding: 0; border: none; border-radius: var(--radius-xs); background: color-mix(in oklch, var(--bg-0) 70%, transparent); color: var(--fg-1); font-size: 11px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity var(--dur-1, 120ms) ease; }
2161
- .tl-row:hover .tl-seq-replace { opacity: 0.7; }
2162
- .tl-seq-replace:hover { opacity: 1; background: var(--accent); color: var(--accent-fg, #fff); }
2163
- /* DDR-150 P5 Task 14 — keyframe markers are click-to-seek */
2164
- .tl-kf { position: absolute; top: 3px; bottom: 3px; min-width: 3px; border-radius: 2px; background: var(--accent); opacity: 0.85; pointer-events: auto; cursor: pointer; }
2165
- .tl-kf:hover { opacity: 1; box-shadow: 0 0 0 1px var(--fg-0); }
2166
- /* audio / music bed row — a distinct teal so it reads as a separate layer */
2167
- .tl-audio-block { position: absolute; top: 3px; bottom: 3px; border: 1px solid color-mix(in oklch, var(--status-ok, #16a34a) 60%, transparent); border-radius: var(--radius-xs); background: color-mix(in oklch, var(--status-ok, #16a34a) 18%, var(--bg-2)); overflow: hidden; min-width: 6px; }
2168
- .tl-audio-block .tl-seq-name { color: var(--fg-0); opacity: 0.9; }
2169
- .tl-wave { position: absolute; inset: 3px 6px; width: calc(100% - 12px); height: calc(100% - 6px); fill: none; stroke: color-mix(in oklch, var(--status-ok, #16a34a) 80%, var(--fg-2)); stroke-width: 1; opacity: 0.55; pointer-events: none; }
2170
- .tl-playhead { position: absolute; top: 16px; bottom: 0; width: 2px; background: var(--fg-0); box-shadow: 0 0 0 1px var(--bg-1); pointer-events: none; z-index: 3; }
2171
- .tl-playhead::before { content: ""; position: absolute; top: -4px; left: -4px; border: 5px solid transparent; border-top-color: var(--fg-0); }
2172
- @media (prefers-reduced-motion: reduce) { .tl-btn, .tl-seq-block { transition: none; } }
2173
- /* tabbar/tab — DS treatment folded in */
2174
- .gp-tabs { display: flex; gap: var(--space-1); padding: var(--space-2) var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); }
2175
- .gp-tab { appearance: none; border: 0; background: transparent; font-size: var(--type-sm); color: var(--fg-2); font-family: var(--font-body); padding: var(--space-3) var(--space-4); cursor: pointer; border-bottom: 2px solid transparent; }
2176
- .gp-tab:hover { color: var(--fg-1); }
2177
- .gp-tab.is-active { color: var(--fg-0); border-bottom-color: var(--accent); }
2178
-
2179
- /* the changed-file list */
2180
- .gp-list { flex: 1; overflow-y: auto; padding: var(--space-2) 0; min-height: 0; }
2181
- .gp-group-hd { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4) var(--space-2); font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); }
2182
- .gp-group-count { color: var(--fg-2); }
2183
- .gp-file { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3) var(--space-2) var(--space-4); border-radius: var(--radius-sm); margin: 0 var(--space-2); }
2184
- .gp-file:hover { background: var(--bg-2); }
2185
- .gp-file.is-checked { background: color-mix(in oklab, var(--accent-tint) 60%, transparent); }
2186
- .gp-check { flex: 0 0 auto; width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }
2187
- .gp-file-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; cursor: pointer; appearance: none; background: none; border: none; padding: 0; text-align: left; }
2188
- .gp-file-name { color: var(--fg-0); font-size: var(--type-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2189
- .gp-file-path { color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2190
- .gp-file.is-checked .gp-file-path { color: var(--fg-1); }
2191
- .gp-file-text:hover .gp-file-name { color: var(--accent); }
2192
- .gp-discard { flex: 0 0 auto; opacity: 0; color: var(--fg-2); background: none; border: none; padding: var(--space-1); border-radius: var(--radius-xs); cursor: pointer; transition: opacity var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out); }
2193
- .gp-file:hover .gp-discard, .gp-file:focus-within .gp-discard { opacity: 1; }
2194
- .gp-discard:hover { color: var(--status-error); background: var(--bg-3); }
2195
- .gp-discard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-xs); opacity: 1; }
2196
-
2197
- /* DDR-115 follow-up — canvas-grouped changes: a canvas + its collapsed
2198
- supporting files (Layout & settings, Annotations) as one logical unit. */
2199
- .gp-unit { display: flex; flex-direction: column; }
2200
- .gp-unit-hd .gp-file-name { font-weight: 500; }
2201
- .gp-disclose { flex: 0 0 auto; display: grid; place-items: center; color: var(--fg-2); background: none; border: none; padding: var(--space-1); border-radius: var(--radius-xs); cursor: pointer; transition: transform var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out); }
2202
- .gp-disclose.is-open { transform: rotate(90deg); }
2203
- .gp-disclose:hover { color: var(--fg-0); }
2204
- .gp-disclose:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2205
- .gp-support { margin: 0 var(--space-2) var(--space-1) var(--space-6); border-left: 1px solid var(--border-default); padding-left: var(--space-2); }
2206
- .gp-support-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-1) var(--space-2); min-width: 0; }
2207
- .gp-support-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
2208
- .gp-support-row .gp-file-name { color: var(--fg-1); font-size: var(--type-sm); }
2209
-
2210
- /* M / A / D / U dirty badge — solid for M/A/D, dashed outline for U (untracked) */
2211
- .gp-badge { flex: 0 0 auto; width: 16px; height: 16px; border-radius: var(--radius-xs); display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 600; line-height: 1; color: oklch(0.11 0.012 260); }
2212
- .gp-badge[data-kind="M"] { background: var(--status-warn); }
2213
- .gp-badge[data-kind="A"] { background: var(--status-success); }
2214
- .gp-badge[data-kind="D"] { background: var(--status-error); }
2215
- .gp-badge[data-kind="U"] { background: transparent; border: 1px dashed var(--border-strong); color: var(--fg-2); }
2216
-
2217
- /* composer footer: select-all · message · Save version / Save all · hint */
2218
- .gp-compose { flex: none; border-top: 1px solid var(--border-default); padding: var(--space-3) var(--space-4) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); background: var(--bg-1); }
2219
- .gp-selectall { display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start; appearance: none; background: none; border: none; padding: 0; font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-1); cursor: pointer; }
2220
- .gp-msg { font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); width: 100%; resize: none; min-height: 64px; transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out); }
2221
- .gp-msg::placeholder { color: var(--fg-2); }
2222
- .gp-msg:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
2223
- .gp-compose-actions { display: flex; align-items: center; gap: var(--space-3); }
2224
- .gp-save { flex: 1; justify-content: center; }
2225
- .gp-save:disabled, .gp-save[aria-disabled="true"], .gp-publish:disabled, .gp-publish[aria-disabled="true"] { background: var(--bg-3); color: var(--fg-3); border-color: var(--border-default); cursor: not-allowed; }
2226
- .gp-hint { font-size: var(--type-xs); color: var(--fg-2); }
2227
- /* cloud-managed posture (DDR-218) — the one save mechanism, named */
2228
- .gp-cloud-note { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-1) 0; font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-base); }
2229
- .gp-cloud-note svg { color: var(--accent); flex: 0 0 auto; }
2230
-
2231
- /* publish / get-latest bar */
2232
- .gp-publishbar { flex: none; border-top: 1px solid var(--border-default); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); background: var(--bg-1); }
2233
- .gp-publish { width: 100%; justify-content: center; }
2234
- .gp-nudge { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-sm); }
2235
- .gp-nudge-text { flex: 1; font-size: var(--type-sm); }
2236
- .gp-nudge-text b { color: var(--fg-0); font-weight: 600; }
2237
- .gp-nudge-text span { color: var(--fg-1); }
2238
- .gp-dot-pulse { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--status-info); flex: 0 0 auto; box-shadow: 0 0 0 0 color-mix(in oklab, var(--status-info) 60%, transparent); animation: gp-pulse 2.4s var(--ease-out) infinite; }
2239
- @keyframes gp-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--status-info) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
2240
- @media (prefers-reduced-motion: reduce) { .gp-dot-pulse { animation: none; } }
2241
-
2242
- /* callout (banner / conflict) — uses the client .callout, gp- adds layout */
2243
- .gp-callout-col { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
2244
- .gp-callout-actions { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
2245
- .gp-pad { padding: var(--space-4) var(--space-4) 0; }
2246
- .gp-sect-label { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); padding: var(--space-4) var(--space-4) var(--space-2); }
2247
-
2248
- /* History timeline with rail */
2249
- .gp-history { padding: var(--space-2) var(--space-3); display: flex; flex-direction: column; gap: 0; overflow-y: auto; min-height: 0; }
2250
- .gp-version { display: grid; grid-template-columns: 18px 1fr auto; gap: var(--space-3); padding: var(--space-3) var(--space-2); align-items: start; position: relative; }
2251
- .gp-version-rail { display: grid; place-items: center; position: relative; }
2252
- .gp-version-node { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--accent); margin-top: 4px; z-index: 1; }
2253
- .gp-version:not(:last-child) .gp-version-rail::after { content: ""; position: absolute; top: 12px; bottom: -12px; width: 1px; background: var(--border-default); }
2254
- .gp-version-body { display: flex; flex-direction: column; min-width: 0; }
2255
- .gp-version-msg { color: var(--fg-0); font-size: var(--type-sm); overflow: hidden; text-overflow: ellipsis; }
2256
- .gp-version-meta { color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); margin-top: 2px; }
2257
- .gp-version-when { color: var(--fg-2); font-family: var(--font-mono); font-size: var(--type-xs); white-space: nowrap; transition: opacity var(--dur-soft) ease; }
2258
- /* accepted revisions (T27/T28) — a row carries its own actions, so it is not a button */
2259
- .gp-version-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: calc(-1 * var(--space-1)); }
2260
-
2261
- /* phase-27.1 — per-file History rows are click-to-preview when a canvas is open */
2262
- .gp-history-scope { color: var(--fg-1); font-size: var(--type-xs); padding: var(--space-1) var(--space-2) var(--space-2); margin: 0; }
2263
- .gp-history-scope b { color: var(--fg-0); }
2264
- .gp-history-hint { color: var(--fg-2); font-size: var(--type-xs); text-align: center; padding: var(--space-3) var(--space-2); margin: 0; }
2265
- .gp-version--clickable { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer; appearance: none; transition: background var(--dur-soft) ease; }
2266
- .gp-version--clickable:hover { background: var(--bg-2); }
2267
- .gp-version--clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
2268
- .gp-version-cue { position: absolute; top: var(--space-2); right: var(--space-2); display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent); font-size: var(--type-xs); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity var(--dur-soft) ease; }
2269
- .gp-version--clickable:hover .gp-version-cue,
2270
- .gp-version--clickable:focus-visible .gp-version-cue { opacity: 1; }
2271
- .gp-version--clickable:hover .gp-version-when,
2272
- .gp-version--clickable:focus-visible .gp-version-when { opacity: 0; }
2273
-
2274
- /* empty state — "Nothing to save" */
2275
- .gp-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); padding: var(--space-8) var(--space-6); text-align: center; }
2276
- .gp-empty-glyph { width: 52px; height: 52px; border-radius: var(--radius-pill); display: grid; place-items: center; background: color-mix(in oklab, var(--status-success) 16%, transparent); color: var(--status-success); }
2277
- .gp-empty-glyph--publish { background: var(--accent-tint); color: var(--accent); }
2278
- .gp-empty h3 { font-family: var(--font-display); font-size: var(--type-lg); color: var(--fg-0); margin: 0; font-weight: 600; }
2279
- .gp-empty p { color: var(--fg-1); font-size: var(--type-sm); max-width: 30ch; margin: 0; }
2280
-
2281
- /* tree dirty badge — mirrors the activity-overlay badge style (DDR-075) */
2282
- .st-git-badge { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: auto; border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: 9px; font-weight: 700; line-height: 1; color: oklch(0.11 0.012 260); flex: none; }
2283
- .st-git-badge[data-kind="M"] { background: var(--status-warn); }
2284
- .st-git-badge[data-kind="A"] { background: var(--status-success); }
2285
- .st-git-badge[data-kind="D"] { background: var(--status-error); }
2286
- .st-git-badge[data-kind="U"] { background: transparent; border: 1px dashed var(--border-strong); color: var(--fg-2); }
2287
-
2288
- /* ── Phase 27 (E2) — DiffView: clean rendered before/after, SYNCED zoom/pan ────
2289
- * Ported from `.design/ui/DiffView.css`. Each pane renders a CLEAN canvas
2290
- * (hide-chrome: no toolbar/minimap/devtools) inside a zoom/pan viewport. Both
2291
- * panes share ONE view transform (locked): scroll to zoom, drag to pan, both
2292
- * track the same region. Header reuses the app brand (.st-brand). */
2293
- /* The shared .st-scrim top-anchors short dialogs (place-items:start center + 12vh
2294
- * pad). The DiffView sheet is tall (92vh), so top-anchoring overflows the bottom
2295
- * (12vh + 92vh > 100vh — the footer got cut off). Center it instead. */
2296
- .dv-scrim { place-items: center; padding-top: 0; }
2297
- .dv-sheet { width: min(1280px, 96vw); height: min(900px, 92vh); display: flex; flex-direction: column; background: var(--bg-1); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
2298
- .dv-hd { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-default); flex: none; }
2299
- .dv-hd .st-brand { padding-right: var(--space-3); border-right: 1px solid var(--border-default); }
2300
- .dv-title { font-family: var(--font-display); font-weight: 600; font-size: var(--type-lg); color: var(--fg-0); }
2301
- .dv-file { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--bg-2); font-family: var(--font-mono); font-size: var(--type-sm); color: var(--fg-1); }
2302
- .dv-spacer { flex: 1; }
2303
- .dv-close { appearance: none; border: none; background: transparent; color: var(--fg-2); cursor: pointer; padding: var(--space-2); border-radius: var(--radius-xs); display: grid; place-items: center; }
2304
- .dv-close:hover { color: var(--fg-0); background: var(--bg-3); }
2305
- /* segmented mode toggle (DS .seg) */
2306
- .dv-seg { display: inline-flex; border: 1px solid var(--border-default); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
2307
- .dv-seg-btn { appearance: none; border: 0; background: transparent; color: var(--fg-2); font-size: var(--type-xs); font-family: var(--font-mono); padding: var(--space-2) var(--space-4); cursor: pointer; }
2308
- .dv-seg-btn[aria-pressed="true"] { background: var(--bg-4); color: var(--fg-0); }
2309
- .dv-seg-btn + .dv-seg-btn { border-left: 1px solid var(--border-subtle); }
2310
-
2311
- /* phase-27.1 — "Saved version" picker: pick which past version the before pane shows */
2312
- .dv-verpick { display: inline-flex; align-items: center; gap: var(--space-2); }
2313
- .dv-verpick-lbl { color: var(--fg-2); font-size: var(--type-xs); }
2314
- .dv-verpick-sel { appearance: none; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--fg-0); font-size: var(--type-xs); font-family: var(--font-mono); padding: var(--space-2) var(--space-5) var(--space-2) var(--space-3); max-width: 22ch; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: right 12px center, right 7px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
2315
- .dv-verpick-sel:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
2316
-
2317
- .dv-stage { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; min-height: 0; }
2318
- .dv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: stretch; flex: 1; min-height: 0; }
2319
- .dv-col { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; min-height: 0; }
2320
- .dv-col-hd { display: flex; align-items: center; gap: var(--space-2); flex: none; }
2321
- .dv-col-tag { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); display: inline-flex; align-items: center; gap: var(--space-1); }
2322
- .dv-col-tag.is-after { color: var(--accent); }
2323
- .dv-col-who { color: var(--fg-2); font-size: var(--type-xs); margin-left: auto; }
2324
-
2325
- /* the rendered-canvas thumbnail = a zoom/pan viewport over a clean iframe */
2326
- .dv-thumb { position: relative; flex: 1; min-height: 0; background: var(--bg-0); border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }
2327
- .dv-thumb.is-after { border-color: var(--accent-muted); }
2328
- .dv-thumb.ring-mine { box-shadow: 0 0 0 2px var(--accent); border-color: var(--accent); }
2329
- .dv-thumb.ring-theirs { box-shadow: 0 0 0 2px var(--status-info); border-color: var(--status-info); }
2330
- .dv-viewport { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: none; }
2331
- .dv-viewport.is-panning { cursor: grabbing; }
2332
- .dv-frame-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform; }
2333
- .dv-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--bg-0); display: block; pointer-events: none; }
2334
- .dv-thumb-note { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-4); text-align: center; font-size: var(--type-xs); color: var(--fg-3); background: repeating-linear-gradient(45deg, var(--bg-1), var(--bg-1) 8px, var(--bg-2) 8px, var(--bg-2) 16px); }
2335
-
2336
- /* shared zoom toolbar — drives the locked view for both panes */
2337
- .dv-zoombar { display: inline-flex; align-items: center; gap: var(--space-1); align-self: center; background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-pill); padding: 2px; flex: none; }
2338
- .dv-zoom-btn { appearance: none; border: none; background: transparent; color: var(--fg-1); cursor: pointer; width: 26px; height: 22px; border-radius: var(--radius-pill); font-size: var(--type-sm); line-height: 1; display: grid; place-items: center; }
2339
- .dv-zoom-btn:hover { background: var(--bg-3); color: var(--fg-0); }
2340
- .dv-zoom-val { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); min-width: 44px; text-align: center; cursor: pointer; appearance: none; border: none; background: transparent; }
2341
- .dv-zoom-val:hover { color: var(--fg-0); }
2342
- .dv-zoom-sync { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); padding-left: var(--space-2); border-left: 1px solid var(--border-subtle); margin-left: var(--space-1); }
2343
-
2344
- /* overlay / slider compare (shares the locked view; frozen layers for the wipe) */
2345
- .dv-overlay { --dv-split: 52%; position: relative; flex: 1; min-height: 0; margin: 0 auto; width: 100%; max-width: 900px; background: var(--bg-0); border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }
2346
- .dv-overlay-layer { position: absolute; inset: 0; }
2347
- .dv-overlay-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--dv-split)); }
2348
- .dv-split { position: absolute; top: 0; bottom: 0; left: var(--dv-split); width: 2px; background: var(--accent); z-index: 3; }
2349
- .dv-split-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; box-shadow: var(--shadow-md); cursor: ew-resize; }
2350
- .dv-split-handle:focus-visible { outline: 2px solid var(--fg-0); outline-offset: 2px; }
2351
- .dv-overlay-tag { position: absolute; bottom: var(--space-3); font-family: var(--font-mono); font-size: var(--type-xs); padding: 2px var(--space-3); border-radius: var(--radius-sm); background: color-mix(in oklab, var(--bg-0) 70%, transparent); color: var(--fg-1); z-index: 4; }
2352
- .dv-overlay-tag.l { left: var(--space-3); }
2353
- .dv-overlay-tag.r { right: var(--space-3); color: var(--accent); }
2354
-
2355
- /* conflict picker */
2356
- .dv-pick-intro { padding: var(--space-4) var(--space-6) 0; flex: none; }
2357
- .dv-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); padding: var(--space-4) var(--space-6) var(--space-2); flex: none; }
2358
- .dv-pick { text-align: left; appearance: none; cursor: pointer; background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); color: var(--fg-1); }
2359
- .dv-pick:hover { border-color: var(--border-strong); background: var(--bg-3); }
2360
- .dv-pick.is-rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-tint); }
2361
- .dv-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2362
- .dv-pick.is-rec .dv-pick-desc { color: var(--fg-1); }
2363
- .dv-pick-hd { display: flex; align-items: center; gap: var(--space-2); }
2364
- .dv-pick-title { font-weight: 600; color: var(--fg-0); font-size: var(--type-sm); }
2365
- .dv-pick-rec { margin-left: auto; font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent-fg); background: var(--accent); border-radius: var(--radius-pill); padding: 1px var(--space-2); }
2366
- .dv-pick-desc { font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-xs); }
2367
-
2368
- /* footer */
2369
- .dv-ft { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid var(--border-default); flex: none; }
2370
- .dv-note { color: var(--fg-2); font-size: var(--type-xs); flex: 1; }
2371
-
2372
- /* ── Phase 28 (E3) — GitHub identity rail + create/pull/share dialogs.
2373
- * All chrome is the SHELL maude DS: solid surfaces (var(--bg-1)/2) and the
2374
- * .st-dialog scrim+card treatment — NEVER the canvas-side `.panel` (it isn't in
2375
- * the client bundle, which made the cards transparent). The identity rail docks
2376
- * at the BOTTOM of the sidebar as a compact avatar; the menu opens upward. */
2377
-
2378
- /* text inputs — the maude DS .input/.textarea recipe (lifted from the canvas-side
2379
- * _components.css, which isn't in the client bundle → my fields fell back to native).
2380
- * Scoped to the github dialogs so it can't collide with the shell's .st-search/.st-field. */
2381
- .gi-dialog .input, .cp-dialog .input, .gi-dialog .textarea, .cp-dialog .textarea, .rb-dialog .textarea {
2382
- font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-0);
2383
- background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
2384
- padding: var(--space-3) var(--space-4); width: 100%;
2385
- transition: border-color var(--dur-soft) var(--ease-out), box-shadow var(--dur-soft) var(--ease-out);
2386
- }
2387
- .gi-dialog .input::placeholder, .cp-dialog .input::placeholder,
2388
- .gi-dialog .textarea::placeholder, .cp-dialog .textarea::placeholder,
2389
- .rb-dialog .textarea::placeholder { color: var(--fg-3); }
2390
- .gi-dialog .input:focus, .cp-dialog .input:focus, .gi-dialog .textarea:focus, .cp-dialog .textarea:focus, .rb-dialog .textarea:focus {
2391
- outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
2392
- }
2393
- .cp-dialog .textarea { resize: vertical; min-height: 76px; }
2394
-
2395
- /* identity rail — sidebar footer */
2396
- .gi-rail { position: relative; flex: 0 0 auto; margin-top: auto; padding: var(--space-2) var(--space-3); border-top: 1px solid var(--border-default); display: flex; flex-direction: column; gap: var(--space-2); }
2397
- /* Truncation the code already assumed: CloudBar.jsx documents `title` as "the
2398
- full sentence on hover (the rail truncates)" — and this rule did not exist,
2399
- so a long hub-supplied project name wrapped and grew, pushing the rail into
2400
- adjacent chrome. Its sibling .gi-rail-err has carried the same three
2401
- properties all along. `anywhere` so a single unbreakable 60-char token
2402
- cannot overflow horizontally either. */
2403
- .gi-rail-hint { font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-1) var(--space-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: anywhere; }
2404
- .gi-rail-signin { width: 100%; justify-content: center; }
2405
- .gi-rail-confirm { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; padding: var(--space-2); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-2); }
2406
- /* …but the deep-link confirm strip is a paragraph that MUST wrap — it explains
2407
- both sides of a consent decision, and one ellipsised line would hide half of
2408
- what the person is agreeing to. */
2409
- .gi-rail-confirm .gi-rail-hint { flex: 1 1 100%; padding: 0; white-space: normal; overflow: visible; }
2410
- .gi-rail-err { font-size: var(--type-xs); color: var(--status-error); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2411
- .gi-avatar { border-radius: var(--radius-pill); display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--accent-fg); background: var(--accent); flex: 0 0 auto; }
2412
- .gi-rail-account { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-1) var(--space-2); border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; color: var(--fg-0); cursor: pointer; text-align: left; }
2413
- .gi-rail-account:hover { background: var(--bg-2); }
2414
- .gi-rail-account.is-open { background: var(--bg-2); border-color: var(--border-default); }
2415
- .gi-rail-account:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2416
- .gi-rail-login { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: var(--type-sm); color: var(--fg-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2417
- .gi-rail-caret { color: var(--fg-2); flex: 0 0 auto; display: inline-flex; }
2418
-
2419
- /* account menu — opens UPWARD, solid surface */
2420
- .gi-menu { position: absolute; bottom: calc(100% + var(--space-1)); left: var(--space-3); right: var(--space-3); z-index: 9500; background: var(--bg-1); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-2); }
2421
- .gi-menu-hd { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-2) var(--space-3); border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-1); }
2422
- .gi-menu-id { display: flex; flex-direction: column; min-width: 0; }
2423
- .gi-menu-name { font-weight: 600; color: var(--fg-0); font-size: var(--type-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2424
- .gi-menu-login { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); }
2425
- .gi-menu-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-2) var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--fg-1); font-size: var(--type-sm); cursor: pointer; text-align: left; }
2426
- .gi-menu-item svg { color: var(--fg-2); }
2427
- .gi-menu-item:hover { background: var(--bg-2); color: var(--fg-0); }
2428
- .gi-menu-item:hover svg { color: var(--fg-1); }
2429
- .gi-menu-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
2430
- /* the already-linked project's row — a state, not an action (fix 7, sync RCA) */
2431
- .gi-menu-item.is-connected { cursor: default; }
2432
- .gi-menu-item.is-connected:hover { background: transparent; color: var(--fg-1); }
2433
- .gi-menu-item.is-connected:hover svg { color: var(--fg-2); }
2434
- .gi-menu-item--danger, .gi-menu-item--danger svg { color: var(--status-error); }
2435
- .gi-menu-item--danger:hover { background: color-mix(in oklab, var(--status-error) 14%, transparent); color: var(--status-error); }
2436
- .gi-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-1) 0; }
2437
-
2438
- /* shared dialog shell (device-code + create/pull/share) — lifts .st-scrim/.st-dialog */
2439
- .gi-modal, .cp-modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 9600; padding: var(--space-6); }
2440
- .gi-scrim, .cp-scrim { position: fixed; inset: 0; background: color-mix(in oklab, var(--bg-0) 72%, transparent); }
2441
- .gi-dialog, .cp-dialog { position: relative; background: var(--bg-1); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: st-pop var(--dur-route) var(--ease-out); }
2442
-
2443
- /* device-code dialog */
2444
- .gi-dialog--code { width: min(460px, 92vw); padding: var(--space-6); gap: var(--space-5); }
2445
- .gi-dc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); }
2446
- .gi-dc-head h2 { margin: 0; font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
2447
- .gi-dc-marks { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--border-default); color: var(--fg-0); }
2448
- .gi-dc-head p { margin: 0; color: var(--fg-2); font-size: var(--type-sm); line-height: var(--lh-base); max-width: 38ch; }
2449
- .gi-dc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
2450
- .gi-dc-steps li { display: flex; align-items: flex-start; gap: var(--space-3); }
2451
- .gi-dc-step-n { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--accent-tint); border: 1px solid var(--accent-muted); color: var(--accent); font-family: var(--font-mono); font-size: var(--type-xs); font-weight: 600; }
2452
- .gi-dc-step-tx { font-size: var(--type-sm); color: var(--fg-1); line-height: var(--lh-base); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
2453
- .gi-dc-url { font-family: var(--font-mono); color: var(--fg-0); background: var(--bg-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: 1px var(--space-2); }
2454
- .gi-code { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-5); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-2); }
2455
- .gi-code-val { font-family: var(--font-mono); font-size: var(--type-2xl); font-weight: 600; letter-spacing: 0.16em; color: var(--fg-0); }
2456
- .gi-code-copy { flex: 0 0 auto; }
2457
- /* the manual path out of the device dialog — always rendered, never a fallback
2458
- that only appears once something has already failed */
2459
- .gi-dc-link { display: flex; flex-direction: column; gap: var(--space-2); }
2460
- .gi-dc-link-lbl { font-size: var(--type-xs); color: var(--fg-2); }
2461
- .gi-dc-link-row { display: flex; align-items: center; gap: var(--space-2); }
2462
- .gi-dc-link-a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--type-xs); color: var(--accent); text-decoration: none; cursor: pointer; }
2463
- .gi-dc-link-a:hover { text-decoration: underline; }
2464
- .gi-dc-link-a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2465
- .gi-dc-status { display: flex; align-items: center; gap: var(--space-3); font-size: var(--type-sm); color: var(--fg-2); }
2466
- .gi-pulse { width: 9px; height: 9px; flex: 0 0 auto; border-radius: var(--radius-pill); background: var(--status-info); animation: gi-pulse 1.8s var(--ease-out) infinite; }
2467
- @keyframes gi-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--status-info) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
2468
- .gi-dc-foot { display: flex; align-items: center; gap: var(--space-3); }
2469
- .gi-dc-foot-note { font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-sm); }
2470
-
2471
- /* maude:// decision modal — same dialog family, one job: name both sides */
2472
- .gi-dl-pair { display: flex; align-items: stretch; gap: var(--space-3); }
2473
- .gi-dl-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-2); }
2474
- .gi-dl-lbl { font-size: var(--type-xs); color: var(--fg-2); }
2475
- .gi-dl-val { font-family: var(--font-mono); font-size: var(--type-sm); font-weight: 600; color: var(--fg-0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2476
- .gi-dl-arrow { flex: 0 0 auto; display: grid; place-items: center; color: var(--fg-2); }
2477
- .gi-dl-what { margin: 0; font-size: var(--type-sm); color: var(--fg-1); line-height: var(--lh-base); }
2478
- .gi-dl-what code { font-family: var(--font-mono); font-size: var(--type-xs); background: var(--bg-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: 1px var(--space-1); }
2479
- .gi-dl-note { margin: 0; font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-base); }
2480
- /* The warn colour rides the border + wash ONLY — `--status-warn` as text fails
2481
- AA at this size (DDR-097's file-tree badge fix; the ACP elicitation warning
2482
- carries the same note). Text stays on --fg-1/--fg-0. */
2483
- .gi-dl-warn { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--status-warn); border-radius: var(--radius-md); background: color-mix(in oklab, var(--status-warn) 12%, transparent); font-size: var(--type-sm); line-height: var(--lh-base); color: var(--fg-1); }
2484
- .gi-dl-warn strong { color: var(--fg-0); }
2485
-
2486
- /* create / pull / share dialog */
2487
- .cp-dialog { width: min(560px, 94vw); max-height: 88vh; }
2488
- .cp-dialog-hd { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-5) var(--space-5) var(--space-4); border-bottom: 1px solid var(--border-subtle); flex: none; }
2489
- .cp-dialog-titles { flex: 1; min-width: 0; }
2490
- .cp-dialog-hd h2 { margin: 0; font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
2491
- .cp-dialog-hd p { margin: var(--space-1) 0 0; font-size: var(--type-sm); color: var(--fg-2); line-height: var(--lh-base); }
2492
- .cp-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); overflow: auto; }
2493
- .cp-body--list { gap: var(--space-3); }
2494
- .cp-ft { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-subtle); background: var(--bg-1); flex: none; }
2495
- .cp-spacer { flex: 1; }
2496
- .cp-cl-glyph { flex: 0 0 auto; display: inline-flex; }
2497
- .cp-field { display: flex; flex-direction: column; gap: var(--space-2); }
2498
- .cp-field-label { font-size: var(--type-sm); font-weight: 600; color: var(--fg-0); display: flex; align-items: center; gap: var(--space-2); }
2499
- .cp-optional { font-weight: 400; font-size: var(--type-xs); color: var(--fg-2); text-transform: lowercase; }
2500
- .cp-field-help { font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-base); }
2501
- .cp-field-help b { color: var(--fg-1); font-family: var(--font-mono); font-weight: 500; }
2502
- .cp-input, .cp-textarea { width: 100%; }
2503
- .cp-textarea { resize: none; }
2504
- .cp-seg { width: 100%; }
2505
- .cp-seg button { flex: 1; justify-content: center; gap: var(--space-2); }
2506
- .cp-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
2507
- .cp-invite { display: flex; align-items: center; gap: var(--space-2); position: relative; }
2508
- .cp-invite-at { position: absolute; left: var(--space-3); font-family: var(--font-mono); color: var(--fg-2); pointer-events: none; }
2509
- .cp-dialog .cp-invite-input { flex: 1; padding-left: calc(var(--space-3) + 0.9em); font-family: var(--font-mono); }
2510
- .cp-invite-btn { flex: 0 0 auto; }
2511
- .cp-repolist { display: flex; flex-direction: column; gap: var(--space-1); max-height: 360px; overflow: auto; }
2512
- .cp-repo { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-2); color: var(--fg-0); cursor: pointer; text-align: left; }
2513
- .cp-repo:hover:not(:disabled) { border-color: var(--accent); background: var(--bg-3); }
2514
- .cp-repo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2515
- .cp-repo:disabled { cursor: default; opacity: 0.6; }
2516
- .cp-repo.is-busy { opacity: 1; border-color: var(--accent); }
2517
- .cp-repo > svg:first-child { color: var(--fg-2); flex: 0 0 auto; }
2518
- .cp-repo-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
2519
- .cp-repo-name { font-weight: 600; font-size: var(--type-sm); color: var(--fg-0); }
2520
- .cp-repo-meta { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); }
2521
- .cp-repo-go { color: var(--fg-3); flex: 0 0 auto; display: inline-flex; }
2522
- .cp-repo:hover:not(:disabled) .cp-repo-go { color: var(--accent); }
2523
- .cp-repo.is-busy .cp-repo-go { color: var(--accent); }
2524
- .cp-spin { animation: cp-spin 0.9s linear infinite; transform-origin: center; }
2525
- @keyframes cp-spin { to { transform: rotate(360deg); } }
2526
-
2527
- @media (prefers-reduced-motion: reduce) { .gi-pulse, .cp-spin { animation: none; } .gi-dialog, .cp-dialog { animation: none; } }
2528
-
2529
- /* ─── Presentation Mode ────────────────────────────────────────────────────
2530
- View ▸ Presentation Mode — a non-destructive "artboards only" overlay. Hides
2531
- every piece of shell chrome while leaving the canvas viewport (.main) mounted
2532
- so its pan/zoom + open tabs survive an exit. The two structural rules below
2533
- hide (a) the menubar + status bar — the .st-shell children that aren't the
2534
- body — and (b) the sidebar / collapsed rail / resize grips / side panels —
2535
- the .st-body children that aren't the viewport. The canvas iframe hides its
2536
- OWN floating chrome (minimap, zoom pill, tool palette, annotations, comment
2537
- pins) via the dgn:'view-chrome' bridge. Escape hatch: Esc or the pill. */
2538
- .maude.is-present .st-shell > :not(.st-body) { display: none !important; }
2539
- .maude.is-present .st-body > :not(.main) { display: none !important; }
2540
- /* Top-level banners (.st-banner — SyncBanner + the "repo state changed" notice)
2541
- are DELIBERATELY left visible in present mode: they're the DDR-102 fail-closed
2542
- sync/divergence warnings, and an untrusted canvas (DDR-054) must not be able to
2543
- silence a security-relevant notice by entering Presentation Mode (phase-28
2544
- audit F-1). They're transient + rare, so they don't clutter a clean view. */
2545
-
2546
- /* Floating escape-hatch pill — the only chrome visible while presenting.
2547
- Deliberately understated (55% opacity) so it doesn't intrude on a clean
2548
- screenshot, brightening to full on hover/focus. */
2549
- .st-present-exit {
2550
- position: fixed; top: var(--space-4); right: var(--space-4); z-index: 200;
2551
- display: inline-flex; align-items: center; gap: var(--space-2);
2552
- padding: var(--space-2) var(--space-3);
2553
- appearance: none; cursor: pointer;
2554
- font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-1);
2555
- background: var(--bg-1); border: 1px solid var(--border-default);
2556
- border-radius: var(--radius-pill);
2557
- box-shadow: 0 4px 16px rgb(0 0 0 / 0.18);
2558
- opacity: 0.72;
2559
- transition: opacity var(--dur-soft) var(--ease-out),
2560
- background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out);
2561
- }
2562
- .st-present-exit:hover,
2563
- .st-present-exit:focus-visible { opacity: 1; background: var(--bg-3); color: var(--fg-0); }
2564
- .st-present-exit > svg { color: var(--fg-2); flex: 0 0 auto; }
2565
- .st-present-exit:hover > svg,
2566
- .st-present-exit:focus-visible > svg { color: var(--accent); }
2567
- .st-present-exit-kbd {
2568
- font-family: var(--font-mono); font-size: var(--type-xs);
2569
- color: var(--fg-3); border: 1px solid var(--border-subtle);
2570
- border-radius: var(--radius-xs); padding: 1px 5px; line-height: 1.4;
2571
- }
2572
- @media (prefers-reduced-motion: reduce) { .st-present-exit { transition: none; } }
2573
-
2574
- /* ── Phase 29 (E4) — OnboardingWizard (first-run). Ported from the approved
2575
- `.design/ui/Onboarding.tsx` mockup (≥4.5/5); ob-* classes, every value a token. ── */
2576
- .ob-overlay {
2577
- position: fixed; inset: 0; z-index: 100;
2578
- background: var(--bg-0);
2579
- display: flex;
2580
- }
2581
- .ob-shell {
2582
- position: absolute; inset: 0;
2583
- display: flex;
2584
- background: var(--bg-0); color: var(--fg-0);
2585
- font-family: var(--font-body); font-size: var(--type-base); line-height: var(--lh-base);
2586
- overflow: hidden;
2587
- }
2588
- .ob-rail {
2589
- flex: 0 0 372px; display: flex; flex-direction: column; gap: var(--space-7);
2590
- padding: var(--space-8) var(--space-7);
2591
- background: radial-gradient(120% 90% at 0% 0%, var(--accent-tint) 0%, transparent 55%), var(--bg-1);
2592
- border-right: 1px solid var(--border-default);
2593
- }
2594
- .ob-rail-brand { display: inline-flex; align-items: center; gap: var(--space-3); }
2595
- /* maude mark tile — lifted from system/maude/preview/logo.css `.lg-mark`: spark in
2596
- * --accent-fg on the indigo, bottom-right corner squared (bubble), accent-tint halo. */
2597
- .ob-mark { display: grid; place-items: center; flex: 0 0 auto; background: var(--accent); color: var(--accent-fg); border-radius: 24% 24% 0 24%; box-shadow: 0 0 0 3px var(--accent-tint); }
2598
- .ob-mark svg { width: 100%; height: 100%; display: block; }
2599
- .ob-rail-wordmark { font-family: var(--font-display); font-size: var(--type-xl); font-weight: 600; letter-spacing: var(--tracking-tight); }
2600
- .ob-rail-h { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: var(--type-2xl); line-height: var(--lh-xl); font-weight: 600; letter-spacing: var(--tracking-tight); color: var(--fg-0); }
2601
- .ob-rail-lede p { margin: 0; max-width: 30ch; color: var(--fg-2); font-size: var(--type-md); line-height: var(--lh-lg); }
2602
- .ob-rail-reassure { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
2603
- .ob-rail-reassure li { display: flex; align-items: center; gap: var(--space-3); color: var(--fg-1); font-size: var(--type-sm); }
2604
- .ob-rail-tick { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent); }
2605
- .ob-rail-signed { display: inline-flex; align-items: center; gap: var(--space-3); align-self: flex-start; padding: var(--space-2) var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-pill); background: var(--bg-2); font-size: var(--type-sm); color: var(--fg-1); }
2606
- .ob-rail-signed b { color: var(--fg-0); font-weight: 600; }
2607
- .ob-rail-signed-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--presence-online); box-shadow: 0 0 0 3px color-mix(in oklab, var(--presence-online) 28%, transparent); }
2608
- .ob-rail-foot { margin-top: auto; color: var(--fg-2); font-size: var(--type-xs); font-family: var(--font-mono); }
2609
-
2610
- .ob-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-8) clamp(var(--space-7), 6vw, 96px); overflow: auto; }
2611
- .ob-back { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2); border: 1px solid var(--border-default); border-radius: var(--radius-pill); background: var(--bg-1); color: var(--fg-1); font-size: var(--type-sm); cursor: pointer; }
2612
- .ob-back:hover { border-color: var(--border-strong); color: var(--fg-0); }
2613
- .ob-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2614
- .ob-head { display: flex; flex-direction: column; gap: var(--space-2); }
2615
- .ob-eyebrow { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); }
2616
- .ob-head h1 { margin: 0; font-family: var(--font-display); font-size: var(--type-3xl); line-height: var(--lh-2xl); font-weight: 600; letter-spacing: var(--tracking-tight); }
2617
- .ob-head p { margin: 0; max-width: 56ch; color: var(--fg-2); font-size: var(--type-md); line-height: var(--lh-lg); }
2618
- .ob-watch-intro { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-1); padding: var(--space-2) var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-pill); background: var(--bg-1); color: var(--fg-1); font-size: var(--type-sm); cursor: pointer; }
2619
- .ob-watch-intro:hover { border-color: var(--border-strong); color: var(--fg-0); background: var(--bg-2); }
2620
- .ob-watch-intro:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2621
-
2622
- .ob-doors { display: flex; flex-direction: column; gap: var(--space-4); max-width: 720px; }
2623
- .ob-door { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); width: 100%; text-align: left; padding: var(--space-5); border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--bg-1); color: inherit; cursor: pointer; transition: border-color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out), transform var(--dur-soft) var(--ease-out); }
2624
- .ob-door:hover { border-color: var(--border-strong); background: var(--bg-2); transform: translateY(-1px); }
2625
- .ob-door:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2626
- .ob-door:disabled { opacity: 0.6; cursor: default; }
2627
- .ob-door--primary { padding: var(--space-6); border-color: color-mix(in oklab, var(--accent) 55%, transparent); background: linear-gradient(180deg, var(--accent-tint) 0%, transparent 70%), var(--bg-1); box-shadow: var(--shadow-md); }
2628
- .ob-door--primary:hover { border-color: var(--accent); }
2629
- .ob-door--advanced { background: var(--bg-1); border-style: dashed; border-color: var(--border-strong); }
2630
- .ob-door--advanced:hover { background: var(--bg-2); }
2631
- .ob-door-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--bg-3); color: var(--fg-1); border: 1px solid var(--border-subtle); }
2632
- .ob-door-icon--gh { background: var(--fg-0); color: var(--bg-0); border-color: transparent; }
2633
- .ob-door-icon--quiet { width: 40px; height: 40px; background: var(--bg-2); color: var(--fg-2); }
2634
- .ob-door-tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
2635
- .ob-door-title { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
2636
- .ob-door--primary .ob-door-title { font-size: var(--type-xl); }
2637
- .ob-door-sub { color: var(--fg-2); font-size: var(--type-sm); line-height: var(--lh-md); }
2638
- .ob-door-tag { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent); padding: 2px var(--space-2); border-radius: var(--radius-pill); background: var(--accent-tint); }
2639
- .ob-door-adv { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); padding: 1px var(--space-2); border: 1px solid var(--border-default); border-radius: var(--radius-sm); }
2640
- .ob-door-cta { display: flex; }
2641
- .ob-door-btn { pointer-events: none; white-space: nowrap; }
2642
- .ob-door-go { color: var(--fg-3); display: grid; place-items: center; }
2643
- .ob-door:hover .ob-door-go { color: var(--fg-1); }
2644
- .ob-foot-note { margin: 0; color: var(--fg-2); font-size: var(--type-xs); }
2645
-
2646
- /* Opt-in crash reporting checkbox (Phase 32 / Task 4) — quiet footer affordance. */
2647
- .ob-crash-optin { display: flex; align-items: flex-start; gap: var(--space-2); max-width: 560px; margin: var(--space-3) 0 0; color: var(--fg-2); font-size: var(--type-xs); line-height: var(--lh-md); cursor: pointer; text-align: left; }
2648
- .ob-crash-optin input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
2649
-
2650
- /* AI-editing readiness strip (Phase 33 / DDR-128) — non-blocking, collapsible. */
2651
- .ob-readiness { max-width: 560px; margin: var(--space-3) 0 0; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--bg-1); text-align: left; }
2652
- .ob-readiness-sum { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); cursor: pointer; list-style: none; font-size: var(--type-sm); color: var(--fg-1); }
2653
- .ob-readiness-sum::-webkit-details-marker { display: none; }
2654
- .ob-readiness-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }
2655
- .ob-readiness-dot--ok { background: var(--status-success); }
2656
- .ob-readiness-dot--warn { background: var(--status-warning, var(--status-info)); }
2657
- .ob-readiness-lede { font-weight: 600; color: var(--fg-0); }
2658
- .ob-readiness-hint { margin-left: auto; color: var(--fg-3); font-size: var(--type-xs); }
2659
- .ob-readiness-body { padding: 0 var(--space-3) var(--space-3); display: flex; flex-direction: column; gap: var(--space-3); }
2660
- .ob-readiness-note { margin: 0; color: var(--fg-2); font-size: var(--type-xs); line-height: var(--lh-md); }
2661
-
2662
- .ob-create { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); width: 100%; max-width: 720px; text-align: left; padding: var(--space-5); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--accent-tint) 0%, transparent 80%), var(--bg-1); cursor: pointer; color: inherit; transition: border-color var(--dur-soft) var(--ease-out); }
2663
- .ob-create:hover { border-color: var(--accent); }
2664
- .ob-create:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2665
- .ob-create-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--accent); color: var(--accent-fg); }
2666
- .ob-create-tx { display: flex; flex-direction: column; gap: 2px; }
2667
- .ob-create-title { font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
2668
- .ob-create-sub { color: var(--fg-2); font-size: var(--type-sm); }
2669
- .ob-create-btn { pointer-events: none; }
2670
- .ob-section-label { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); margin-top: var(--space-2); }
2671
- .ob-repolist { display: flex; flex-direction: column; gap: var(--space-2); max-width: 720px; }
2672
- .ob-repo { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); width: 100%; text-align: left; padding: var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-1); color: inherit; cursor: pointer; transition: border-color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out); }
2673
- .ob-repo:hover { border-color: var(--border-strong); background: var(--bg-2); }
2674
- .ob-repo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2675
- .ob-repo:disabled { opacity: 0.6; cursor: default; }
2676
- .ob-repo-icon { color: var(--fg-2); display: grid; place-items: center; }
2677
- .ob-repo-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
2678
- .ob-repo-name { font-weight: 600; color: var(--fg-0); }
2679
- .ob-repo-meta { color: var(--fg-2); font-size: var(--type-xs); font-family: var(--font-mono); }
2680
- .ob-repo-go { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--fg-2); font-size: var(--type-sm); white-space: nowrap; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); }
2681
- .ob-repo:hover .ob-repo-go { color: var(--accent); background: var(--accent-tint); }
2682
-
2683
- .ob-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); width: 100%; max-width: 720px; padding: var(--space-8) var(--space-6); border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-1); text-align: center; color: inherit; cursor: pointer; }
2684
- .ob-drop:hover { border-color: var(--accent); }
2685
- .ob-drop:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2686
- .ob-drop:disabled { opacity: 0.6; cursor: default; }
2687
- .ob-drop-glyph { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--radius-lg); background: var(--bg-3); color: var(--accent); margin-bottom: var(--space-2); }
2688
- .ob-drop-title { font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
2689
- .ob-drop-or { color: var(--fg-2); font-size: var(--type-sm); }
2690
- .ob-callout { max-width: 720px; }
2691
- .ob-callout-glyph { flex: 0 0 auto; display: grid; place-items: center; }
2692
-
2693
- .ob-form { display: flex; flex-direction: column; gap: var(--space-4); max-width: 560px; }
2694
- .ob-field { display: flex; flex-direction: column; gap: var(--space-2); }
2695
- .ob-field-label { font-size: var(--type-sm); font-weight: 600; color: var(--fg-1); }
2696
- .ob-field-wrap { position: relative; display: flex; align-items: center; }
2697
- .ob-field-pre { position: absolute; left: var(--space-3); color: var(--fg-3); pointer-events: none; }
2698
- .ob-input { width: 100%; }
2699
- .ob-field-wrap .ob-input { padding-left: calc(var(--space-3) * 2 + 16px); font-family: var(--font-mono); }
2700
- .ob-form-actions { display: flex; gap: var(--space-3); margin-top: var(--space-1); }
2701
-
2702
- .ob-toast { position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%); max-width: 480px; z-index: 101; box-shadow: var(--shadow-lg); }
2703
- .ob-spin { animation: ob-spin 0.8s linear infinite; }
2704
- @keyframes ob-spin { to { transform: rotate(360deg); } }
2705
- @media (prefers-reduced-motion: reduce) {
2706
- .ob-door, .ob-create, .ob-repo, .ob-back { transition-duration: 1ms; }
2707
- .ob-door:hover { transform: none; }
2708
- .ob-spin { animation-duration: 1ms; }
2709
- }
2710
-
2711
- /* ── Team projects (plan T22) — the designer's way in: recent managed copies,
2712
- Maude Cloud projects, a team server sign-in. Composes the ob-* door parts; the
2713
- dialog frame reuses gi-modal/gi-dialog from the project switcher. ── */
2714
- .gi-dl-open { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-default); }
2715
- .sp-ai-held { display: flex; flex-direction: column; gap: var(--space-2); }
2716
- .sp-ai-actions { display: flex; gap: var(--space-2); }
2717
- /* ── SourceConflictPanel (plan T28) — two versions, line by line. ── */
2718
- .gi-dialog.scp-dialog { width: min(760px, 94vw); max-height: min(820px, 90vh); overflow: auto; display: flex; flex-direction: column; padding: var(--space-6); gap: var(--space-4); }
2719
- .scp-recovery { display: grid; gap: var(--space-2); font-size: var(--type-xs); color: var(--fg-1); }
2720
- .scp-recovery summary { cursor: pointer; padding: var(--space-2) 0; }
2721
- .scp-recovery pre { margin: 0; padding: var(--space-3); max-height: 160px; overflow: auto; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-1); font: var(--type-xs)/1.55 var(--font-mono); }
2722
- .scp-recovery summary:focus-visible, .scp-recovery pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2723
- .scp-legend { display: flex; gap: var(--space-4); font-size: var(--type-xs); color: var(--fg-2); }
2724
- .scp-key::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: var(--space-2); vertical-align: -1px; }
2725
- .scp-key--mine::before { background: color-mix(in oklch, var(--status-warn) 45%, transparent); }
2726
- .scp-key--theirs::before { background: color-mix(in oklch, var(--status-info) 45%, transparent); }
2727
- .scp-diff { flex: 1; min-height: 120px; overflow: auto; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-1); font-family: var(--font-mono); font-size: var(--type-xs); line-height: 1.55; }
2728
- .scp-diff:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2729
- .scp-line { display: flex; gap: var(--space-2); padding: 0 var(--space-3); white-space: pre; }
2730
- .scp-line code { font: inherit; color: var(--fg-1); }
2731
- .scp-mark { width: 1ch; color: var(--fg-3); flex: none; }
2732
- .scp-line--mine { background: color-mix(in oklch, var(--status-warn) 14%, transparent); }
2733
- .scp-line--theirs { background: color-mix(in oklch, var(--status-info) 14%, transparent); }
2734
- .scp-line--skip { color: var(--fg-3); font-style: italic; }
2735
- .scp-line--skip code { color: var(--fg-3); }
2736
- .scp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
2737
- .scp-hint { font-size: var(--type-xs); color: var(--fg-2); }
2738
- .scp-error { margin: 0; color: var(--status-error); font-size: var(--type-sm); }
2739
- .tp { display: flex; flex-direction: column; gap: var(--space-5); max-width: 720px; }
2740
- .tp-section { display: flex; flex-direction: column; gap: var(--space-3); }
2741
- .tp-device { display: flex; flex-direction: column; gap: var(--space-3); max-width: 560px; }
2742
- .tp-device .ob-form-actions { align-items: center; justify-content: space-between; }
2743
- .gi-dialog.tp-dialog { width: min(620px, 94vw); max-height: min(760px, 90vh); overflow: auto; padding: var(--space-6); gap: var(--space-4); }
2744
- .tp-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
2745
- .tp-dialog-head h2 { margin: 0; font-size: var(--type-lg); color: var(--fg-0); }
2746
- .tp-dialog-head p { margin: var(--space-1) 0 0; color: var(--fg-2); font-size: var(--type-sm); }
2747
-
2748
- /* ── Phase 29 (E4) — RepoBranchSwitcher. REDESIGNED to the approved mockup
2749
- (.design/ui/RepoBranchSwitcher.tsx): a compact ONE-LINE dock at the BOTTOM of the
2750
- sidebar (above the IdentityBar avatar) that opens ONE popup UPWARD. Mirrors the
2751
- gi-rail/gi-menu anatomy so the two bottom surfaces read as one dock. ── */
2752
- .rb-dock-wrap {
2753
- flex: 0 0 auto;
2754
- display: flex; flex-direction: column; gap: var(--space-1);
2755
- padding: var(--space-3);
2756
- border-top: 1px solid var(--border-default);
2757
- background: var(--bg-1);
2758
- box-shadow: 0 -10px 18px -12px color-mix(in oklab, var(--bg-0) 80%, transparent);
2759
- }
2760
- .rb-dock { position: relative; }
2761
- /* Proactive "remote has updates" nudge — a full-width primary button above the dock
2762
- trigger, shown when the tracking remote is ahead (status.remoteAhead). */
2763
- .rb-getlatest { width: 100%; justify-content: flex-start; gap: var(--space-2); animation: rb-getlatest-in var(--dur-soft, 160ms) var(--ease-out, ease-out); }
2764
- .rb-getlatest-tx { flex: 0 0 auto; }
2765
- .rb-getlatest-sub { margin-left: auto; font-weight: 500; opacity: 0.9; font-size: var(--type-xs); white-space: nowrap; }
2766
- @keyframes rb-getlatest-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
2767
- @media (prefers-reduced-motion: reduce) { .rb-getlatest, .rb-resume { animation: none; } }
2768
- /* "Continue on <draft>" resume nudge — a subtle secondary row (not the primary blue),
2769
- shown above the dock trigger when you're on the Shared version but have a draft. */
2770
- .rb-resume { display: flex; align-items: center; gap: var(--space-1); width: 100%; animation: rb-getlatest-in var(--dur-soft, 160ms) var(--ease-out, ease-out); }
2771
- .rb-resume-go { flex: 1 1 auto; display: flex; align-items: center; gap: var(--space-2); min-width: 0; text-align: left; padding: var(--space-2) var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-2); color: var(--fg-1); cursor: pointer; font-size: var(--type-sm); transition: border-color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out); }
2772
- .rb-resume-go:hover { border-color: var(--border-strong); background: var(--bg-3); }
2773
- .rb-resume-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2774
- .rb-resume-icon { color: var(--status-warn); flex: 0 0 auto; display: grid; place-items: center; }
2775
- .rb-resume-tx { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2776
- .rb-resume-arrow { color: var(--fg-3); flex: 0 0 auto; }
2777
- .rb-resume-x { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-3); cursor: pointer; }
2778
- .rb-resume-x:hover { background: var(--bg-3); color: var(--fg-1); }
2779
- .rb-resume-x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2780
- /* The compact one-line trigger — "📁 <project> · ◐ <version> ⌃" */
2781
- .rb-trigger {
2782
- display: flex; align-items: center; gap: var(--space-2);
2783
- width: 100%; text-align: left;
2784
- padding: var(--space-2) var(--space-3);
2785
- border: 1px solid var(--border-default); border-radius: var(--radius-md);
2786
- background: var(--bg-2); color: var(--fg-1); cursor: pointer; font-size: var(--type-sm);
2787
- transition: border-color var(--dur-soft) var(--ease-out), background var(--dur-soft) var(--ease-out);
2788
- }
2789
- .rb-trigger:hover, .rb-trigger.is-open { border-color: var(--border-strong); background: var(--bg-3); }
2790
- .rb-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2791
- .rb-trigger-icon { color: var(--accent); flex: 0 0 auto; display: grid; place-items: center; }
2792
- .rb-trigger-proj { font-weight: 600; color: var(--fg-0); flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2793
- .rb-trigger-sep { color: var(--fg-3); flex: 0 0 auto; }
2794
- .rb-trigger-ver { display: inline-flex; align-items: center; gap: var(--space-1); min-width: 0; flex: 1 1 auto; color: var(--presence-online); }
2795
- .rb-trigger-ver.is-draft { color: var(--status-warn); }
2796
- .rb-trigger-ver-name { color: var(--fg-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2797
- .rb-trigger-caret { color: var(--fg-2); flex: 0 0 auto; }
2798
- /* Web studio: the switcher degrades to a read-only awareness badge (DDR-119).
2799
- Git vocab ("branch: X"), no hover affordance, no actions — the dev switches
2800
- from their terminal. Neutral colour distinguishes it from the native dock's
2801
- green "Shared version" / amber draft. */
2802
- .rb-trigger--ro { cursor: default; }
2803
- .rb-trigger--ro:hover { border-color: var(--border-default); background: var(--bg-2); }
2804
- .rb-trigger-ver--ro { color: var(--fg-2); flex: 0 1 auto; }
2805
- .rb-trigger-ver--ro .rb-trigger-ver-name { color: var(--fg-1); font-family: var(--font-mono); font-size: var(--type-xs); }
2806
- /* GitPanel read-only footer hint (web studio — actions live in the terminal). */
2807
- .gp-ro-hint { padding: var(--space-3) var(--space-4); color: var(--fg-2); }
2808
-
2809
- /* feature-sync-progress-modal — the Sync panel (per-file sync rows). Reuses
2810
- * the gp- head chrome; sp- covers only the sync-specific rows/sections. */
2811
- .sp-panel { display: flex; flex-direction: column; }
2812
- .sp-body { flex: 1; overflow-y: auto; padding-bottom: var(--space-4); }
2813
- .sp-note { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-2) var(--space-1) var(--space-2); font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-base); }
2814
- .sp-note-dot { width: 7px; height: 7px; margin-top: 3px; border-radius: var(--radius-pill); background: var(--status-warn); flex: none; }
2815
- .sp-note-dot.is-synced { background: var(--presence-online); }
2816
- .sp-note-dot.is-refused, .sp-note-dot.is-stalled, .sp-note-dot.is-offline { background: var(--status-error); }
2817
- .sp-note > .btn { flex: none; white-space: nowrap; }
2818
- .sp-sect-attention { color: var(--status-error); }
2819
- .sp-list { list-style: none; margin: 0; padding: 0; }
2820
- .sp-row { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-4); font-size: var(--type-sm); color: var(--fg-1); min-width: 0; }
2821
- .sp-row-dot { width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--status-warn); flex: none; }
2822
- .sp-row.is-connected .sp-row-dot { background: var(--presence-online); }
2823
- .sp-row.is-auth-rejected .sp-row-dot { background: var(--status-error); }
2824
- .sp-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: var(--type-xs); }
2825
- .sp-row-state { flex: none; font-size: var(--type-xs); color: var(--fg-2); }
2826
- .sp-row.is-auth-rejected .sp-row-state { color: var(--status-error); }
2827
- .sp-truncated { padding: var(--space-1) var(--space-4); font-size: var(--type-xs); color: var(--fg-2); }
2828
- .sp-assets-line { padding: var(--space-1) var(--space-4); font-size: var(--type-sm); color: var(--fg-1); }
2829
- .sp-assets-active { padding: 0 var(--space-4); font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2830
- .sp-assets-retry { padding: var(--space-1) var(--space-4); font-size: var(--type-xs); color: var(--fg-2); }
2831
- /* A held breaker is not an error and not routine — it is waiting for a person. */
2832
- .sp-assets-retry strong { color: var(--fg-0); }
2833
- .sp-held-paths { margin-top: var(--space-1); }
2834
- .sp-held-paths summary { cursor: pointer; color: var(--fg-1); }
2835
- .sp-held-paths ul { margin: var(--space-1) 0 0; padding-left: var(--space-4); max-height: 12rem; overflow-y: auto; }
2836
- .sp-held-paths li { font-family: var(--font-mono, monospace); word-break: break-all; }
2837
- /* feature-sync-resync-and-out-of-process-sweep — Resync (header) re-runs the
2838
- * whole sync; Cancel (assets line) stops only the upload sweep. */
2839
- .sp-resync { appearance: none; flex: none; font-family: var(--font-body); font-size: var(--type-xs); color: var(--fg-1); background: var(--bg-2); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 2px var(--space-2); cursor: pointer; transition: color var(--dur-soft) var(--ease-out), border-color var(--dur-soft) var(--ease-out); }
2840
- .sp-resync:hover:not(:disabled) { color: var(--fg-0); border-color: var(--border-strong); }
2841
- .sp-resync:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
2842
- .sp-resync:disabled { color: var(--fg-3); cursor: default; }
2843
- .sp-resync-note { padding: 0 var(--space-4) var(--space-2); font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-base); }
2844
- /* Consent-class notices (feature-before-first-external-users Task 1) — a warm
2845
- card at the top of the panel body: says what leaves this machine, dismissed
2846
- per (notice, hub) on this machine. */
2847
- .sp-notice { margin: var(--space-2) var(--space-4); padding: var(--space-2) var(--space-3); border: 1px solid var(--status-warn); border-radius: var(--radius-md); background: color-mix(in oklab, var(--status-warn) 8%, transparent); }
2848
- .sp-notice-text { margin: 0 0 var(--space-1); font-size: var(--type-xs); color: var(--fg-1); line-height: var(--lh-base); }
2849
- .sp-notice-dismiss { appearance: none; font-family: var(--font-body); font-size: var(--type-xs); color: var(--fg-2); background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
2850
- .sp-notice-dismiss:hover { color: var(--fg-0); }
2851
- .sp-notice-dismiss:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
2852
-
2853
- /* First-upgrade sync consent (feature-before-first-external-users Task 2) —
2854
- rides the shared .st-scrim/.st-dialog shell. */
2855
- .st-consent .st-dialog-bd { font-size: var(--type-sm); color: var(--fg-1); line-height: var(--lh-base); }
2856
- .st-consent .st-dialog-bd p { margin: 0 0 var(--space-2); }
2857
- .st-consent-list { margin: 0 0 var(--space-2); padding-left: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
2858
- .st-consent-fine { font-size: var(--type-xs); color: var(--fg-2); }
2859
- .st-consent-note { font-size: var(--type-xs); color: var(--status-error); }
2860
- .st-consent .st-dialog-ft { display: flex; justify-content: flex-end; gap: var(--space-2); }
2861
-
2862
- /* Sync settings (feature-before-first-external-users Task 2) — the three
2863
- toggles that used to mean "edit linkedHub.* JSON by hand". */
2864
- .sp-setting { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-1) var(--space-4); font-size: var(--type-sm); color: var(--fg-1); cursor: pointer; }
2865
- .sp-setting input[type='checkbox'] { margin-top: 2px; accent-color: var(--accent); flex: none; }
2866
- .sp-setting > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
2867
- .sp-setting small { font-size: var(--type-xs); color: var(--fg-2); line-height: var(--lh-base); }
2868
- .sp-setting-select { align-items: center; justify-content: space-between; }
2869
- .sp-setting-select select { font-family: var(--font-body); font-size: var(--type-xs); color: var(--fg-1); background: var(--bg-2); border: 1px solid var(--stroke-1); border-radius: var(--radius-sm); padding: 2px var(--space-1); flex: none; }
2870
- .sp-setting-select select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
2871
-
2872
- .sp-assets-cancel { appearance: none; margin-left: var(--space-2); font-family: var(--font-body); font-size: var(--type-xs); color: var(--fg-2); background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
2873
- .sp-assets-cancel:hover { color: var(--status-error); }
2874
- .sp-assets-cancel:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
2875
- /* The popup — opens UPWARD from the dock (gi-menu anatomy). SOLID opaque menu
2876
- * surface + border here (NOT the canvas `.panel`, which isn't in the client bundle
2877
- * — phase-28 lesson; the tree must never bleed through). */
2878
- .rb-pop { padding: var(--space-2); display: flex; flex-direction: column; gap: 1px; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
2879
- .rb-pop--up { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--space-1)); z-index: 30; max-height: 600px; overflow-y: auto; }
2880
- .rb-pop-hd, .rb-pop-grouplabel { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); padding: var(--space-2) var(--space-3) var(--space-1); }
2881
- .rb-pop-grouplabel { padding-top: var(--space-3); }
2882
- .rb-pop-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; text-align: left; padding: var(--space-2) var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--fg-1); cursor: pointer; transition: background var(--dur-soft) var(--ease-out); }
2883
- .rb-pop-item:hover { background: var(--bg-2); }
2884
- .rb-pop-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
2885
- .rb-pop-item.is-current { background: var(--accent-tint); }
2886
- .rb-pop-item--action { color: var(--accent); }
2887
- .rb-pop-icon { flex: 0 0 auto; color: var(--fg-2); display: grid; place-items: center; }
2888
- .rb-pop-item--action .rb-pop-icon { color: var(--accent); }
2889
- .rb-pop-icon--shared { color: var(--presence-online); }
2890
- .rb-pop-icon--draft { color: var(--status-warn); }
2891
- /* a remote-only draft (on the team's remote, not downloaded yet) reads quieter
2892
- * than a local draft — it's a "could open" not a "yours". */
2893
- .rb-pop-icon--remote { color: var(--fg-2); }
2894
- .rb-pop-icon--spin svg { animation: rb-pop-spin 0.6s linear infinite; transform-origin: 50% 50%; }
2895
- @keyframes rb-pop-spin { to { transform: rotate(360deg); } }
2896
- @media (prefers-reduced-motion: reduce) { .rb-pop-icon--spin svg { animation: none; } }
2897
- .rb-pop-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
2898
- .rb-pop-name { font-weight: 600; font-size: var(--type-sm); color: var(--fg-0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2899
- .rb-pop-item--action .rb-pop-name { color: var(--accent); }
2900
- .rb-pop-sub { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2901
- .rb-pop-item.is-current .rb-pop-sub { color: var(--fg-1); }
2902
- .rb-pop-check { color: var(--accent); flex: 0 0 auto; }
2903
- .rb-pop-sep { height: 1px; background: var(--border-default); margin: var(--space-2); }
2904
- /* draft filter — shown only once the draft list is long enough to warrant it. */
2905
- .rb-search { padding: var(--space-1) var(--space-2) var(--space-2); }
2906
- .rb-search-input { width: 100%; }
2907
- .rb-pop-empty { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-2) var(--space-3); }
2908
- /* fold-back CTA (Task 7) — the one filled action in the Version section. Compact:
2909
- * type-sm title + type-xs sub + tight padding, so it reads as a strong row, not a
2910
- * giant banner. */
2911
- .rb-fold { display: flex; align-items: center; gap: var(--space-2); width: 100%; text-align: left; margin: var(--space-2) 0; padding: var(--space-2) var(--space-3); border: 0; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-fg); cursor: pointer; transition: background var(--dur-soft) var(--ease-out); }
2912
- .rb-fold:hover { background: var(--accent-hover); }
2913
- .rb-fold:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
2914
- .rb-fold-icon { flex: 0 0 auto; display: grid; place-items: center; color: var(--accent-fg); }
2915
- .rb-fold-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
2916
- .rb-fold-title { font-weight: 600; font-size: var(--type-sm); line-height: var(--lh-sm); color: var(--accent-fg); }
2917
- .rb-fold-sub { font-size: var(--type-xs); line-height: var(--lh-sm); color: var(--accent-fg); }
2918
- /* new-draft inline form (anchored upward above the dock). Solid bg (not `.panel`). */
2919
- .rb-newdraft { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); }
2920
- .rb-newdraft--up { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--space-1)); z-index: 30; background: var(--bg-1); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
2921
- .rb-newdraft-field { display: flex; flex-direction: column; gap: var(--space-2); }
2922
- .rb-newdraft-label { font-size: var(--type-sm); font-weight: 600; color: var(--fg-1); }
2923
- .rb-newdraft-input { width: 100%; }
2924
- .rb-newdraft-actions { display: flex; gap: var(--space-2); justify-content: flex-end; }
2925
- .rb-newdraft-err, .rb-switcher-err { color: var(--status-error); font-size: var(--type-xs); }
2926
- /* In-popup, non-blocking notice (DDR-133) — a Fetch failure shows here, contextual
2927
- to the action, and never hides the branch list rendered above it. */
2928
- .rb-pop-notice { margin: var(--space-1) var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: color-mix(in oklch, var(--status-error) 12%, transparent); color: var(--status-error); font-size: var(--type-xs); line-height: var(--lh-md); }
2929
- .rb-newdraft-hint { margin: 0; color: var(--fg-2); font-size: var(--type-xs); line-height: var(--lh-md); }
2930
- /* switching state (compact, in the dock). */
2931
- .rb-switching { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-2); color: var(--fg-1); font-size: var(--type-sm); }
2932
- .rb-switching b { color: var(--fg-0); }
2933
- .rb-spin { color: var(--accent); animation: rb-spin 0.8s linear infinite; flex: 0 0 auto; }
2934
- @keyframes rb-spin { to { transform: rotate(360deg); } }
2935
- /* fold-back confirm sheet (modal over the shell). */
2936
- .rb-scrim { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--space-6); background: color-mix(in oklab, var(--bg-0) 64%, transparent); backdrop-filter: blur(2px); }
2937
- .rb-sheet { width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--bg-1); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: left; }
2938
- .rb-sheet-icon { width: 38px; height: 38px; border-radius: var(--radius-md); display: grid; place-items: center; color: var(--accent); background: var(--accent-tint); margin-bottom: var(--space-1); }
2939
- .rb-sheet-title { margin: 0; font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); letter-spacing: var(--tracking-tight); }
2940
- .rb-sheet-body { margin: 0; color: var(--fg-1); font-size: var(--type-md); line-height: var(--lh-md); }
2941
- .rb-sheet-body b { color: var(--fg-0); font-weight: 600; }
2942
- .rb-sheet-meta { margin: 0; color: var(--fg-2); font-size: var(--type-sm); line-height: var(--lh-md); }
2943
- .rb-pr-url { font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--type-xs); word-break: break-all; user-select: all; opacity: 0.8; }
2944
- .rb-sheet-actions { display: flex; gap: var(--space-2); justify-content: flex-end; margin-top: var(--space-2); }
2945
- @media (prefers-reduced-motion: reduce) {
2946
- .rb-spin { animation-duration: 1ms; }
2947
- .rb-trigger, .rb-pop-item, .rb-fold, .rb-identity-account { transition-duration: 1ms; }
2948
- }
2949
-
2950
- }
2951
-
2952
- /* ── enhanced-video-editing visual pass (FCP/iMovie proportions) ──────────── */
2953
- .tl-row--storyline { height: 64px; }
2954
- .tl-row--overlay { height: 36px; }
2955
- .tl-row--overlay .tl-seq-block { top: 3px; bottom: 3px; }
2956
- .tl-storyline-track .tl-seq-block { border-radius: 6px; }
2957
- .tl-storyline-track .tl-seq-block.tl-beat { border-right: 1px solid var(--bg-0); }
2958
- /* Filmstrip fills the block; identity moves into a small scrimmed chip. */
2959
- .tl-strip { opacity: 1; }
2960
- .tl-seq-block .tl-seq-name {
2961
- position: absolute;
2962
- left: 6px;
2963
- bottom: 4px;
2964
- max-width: calc(100% - 12px);
2965
- overflow: hidden;
2966
- text-overflow: ellipsis;
2967
- white-space: nowrap;
2968
- font-size: 10px;
2969
- padding: 1px 6px;
2970
- border-radius: 3px;
2971
- background: rgba(0, 0, 0, 0.55);
2972
- color: #fff;
2973
- z-index: 1;
2974
- }
2975
- .tl-seq-block .tl-kind { position: absolute; top: 4px; left: 6px; z-index: 1; }
2976
- /* Overlay layers read FCP-purple; audio stays green via data-kind. */
2977
- .tl-row--overlay .tl-seq-block[data-kind="video"],
2978
- .tl-row--overlay .tl-seq-block[data-kind="image"] {
2979
- border-color: color-mix(in oklch, #8b5cf6 55%, var(--accent-muted));
2980
- background: color-mix(in oklch, #8b5cf6 16%, var(--bg-2));
2981
- }
2982
- /* Ruler: quieter frame ticks, prominent second ticks. */
2983
- .tl-ruler { height: 20px; border-bottom: 1px solid var(--bg-3); }
2984
- .tl-tick { background: none; bottom: auto; width: 0; border-left: 1px solid var(--bg-3); height: 6px; top: 14px; }
2985
- .tl-tick.is-major { height: 12px; top: 8px; border-left-color: var(--fg-3); }
2986
- .tl-tick-label { top: -12px; left: 3px; font-size: 9px; color: var(--fg-3); }
2987
- .tl-tick.is-major .tl-tick-label { color: var(--fg-2); }
2988
- /* Playhead: strong line + grab head, FCP style. */
2989
- .tl-playhead { width: 2px; background: var(--accent); }
2990
- .tl-playhead::before {
2991
- content: '';
2992
- position: absolute;
2993
- top: -1px;
2994
- left: -5px;
2995
- width: 12px;
2996
- height: 10px;
2997
- background: var(--accent);
2998
- clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%);
2999
- }
3000
- .tl-tracks { padding-top: 24px; min-height: 100%; }
3001
-
3002
- /* ── Debate-driven UX pass: figure/ground, identity, predictive feedback ──── */
3003
- /* One dominant lane: the storyline is an inset trough; overlays recede. */
3004
- .tl-storyline-track {
3005
- background: color-mix(in oklab, var(--fg-0) 7%, var(--bg-2));
3006
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
3007
- border-radius: var(--radius-sm);
3008
- }
3009
- .tl-row--overlay .tl-row-track { background: color-mix(in oklab, var(--bg-2) 55%, var(--bg-1)); }
3010
- .tl-row--audio .tl-row-track { background: color-mix(in oklab, #22c55e 6%, var(--bg-1)); }
3011
- /* Blocks read as physical objects: stronger fill + inner top highlight. */
3012
- .tl-seq-block {
3013
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(0, 0, 0, 0.12);
3014
- }
3015
- .tl-storyline-track .tl-seq-block.tl-beat {
3016
- background: color-mix(in oklab, #0ea5e9 22%, var(--bg-1));
3017
- border-color: color-mix(in oklab, #0ea5e9 60%, var(--bg-3));
3018
- }
3019
- /* Lane identity: V1/V2/A1 chips in a left-aligned gutter. */
3020
- .tl-row-label { justify-content: flex-start; padding-left: 6px; gap: 5px; }
3021
- .tl-lane-id {
3022
- font-family: var(--font-mono);
3023
- font-size: 9px;
3024
- font-weight: 700;
3025
- color: var(--fg-2);
3026
- border: 1px solid var(--bg-3);
3027
- border-radius: 3px;
3028
- padding: 0 4px;
3029
- background: var(--bg-2);
3030
- }
3031
- .tl-lane-id--story { color: var(--fg-0); border-color: var(--accent); background: color-mix(in oklab, var(--accent) 14%, var(--bg-2)); }
3032
- .tl-lane-id--audio { color: #15803d; border-color: color-mix(in oklab, #22c55e 45%, var(--bg-3)); }
3033
- /* Dogfood 2026-07-30 — vertical layer reorder: the V-chip is the drag handle. */
3034
- .tl-lane-id--grab { cursor: grab; touch-action: none; }
3035
- .tl-lane-id--grab:hover { border-color: var(--accent); color: var(--fg-0); }
3036
- .tl-row.is-layer-dragging { opacity: 0.6; }
3037
- .tl-row.is-layer-dragging .tl-lane-id--grab { cursor: grabbing; }
3038
- .tl-row.is-layer-target {
3039
- box-shadow: inset 0 0 0 1px var(--accent);
3040
- background: color-mix(in oklab, var(--accent) 8%, transparent);
3041
- }
3042
- /* Comment tool armed: the whole track area places pins. */
3043
- .tl-panel.is-commenting .tl-row-track,
3044
- .tl-panel.is-commenting .tl-seq-block,
3045
- .tl-panel.is-commenting .tl-ruler { cursor: crosshair; }
3046
- /* In-place 💬 badge pinned ON a clip at the comment's frame offset. */
3047
- .tl-clip-pin {
3048
- position: absolute;
3049
- top: -7px;
3050
- width: 16px;
3051
- height: 16px;
3052
- display: grid;
3053
- place-items: center;
3054
- font-size: 11px;
3055
- line-height: 1;
3056
- cursor: pointer;
3057
- z-index: 4;
3058
- filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
3059
- }
3060
- .tl-clip-pin.is-resolved { opacity: 0.4; }
3061
- /* Expand chevron on a decomposable storyline beat (old scene components). */
3062
- .tl-beat-expand {
3063
- position: absolute;
3064
- left: 3px;
3065
- top: 3px;
3066
- width: 15px;
3067
- height: 15px;
3068
- display: grid;
3069
- place-items: center;
3070
- font-size: 9px;
3071
- color: var(--fg-2);
3072
- background: color-mix(in oklab, var(--bg-0) 70%, transparent);
3073
- border-radius: 3px;
3074
- cursor: pointer;
3075
- z-index: 3;
3076
- }
3077
- .tl-beat-expand:hover { color: var(--fg-0); background: var(--bg-0); }
3078
- /* Image overlays show the still itself. */
3079
- .tl-strip--img img { flex: 1 1 auto; width: 100%; object-fit: cover; }
3080
- /* Dragged beat LIFTS (grabbing hand, shadow, slight scale) — compositor-only. */
3081
- .tl-seq-block.is-dragging {
3082
- cursor: grabbing;
3083
- opacity: 0.95;
3084
- transform: scale(1.02);
3085
- box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
3086
- z-index: 6;
3087
- }
3088
- /* Neighbour shuffle + drops ride the DS motion tokens, not hardcoded ms. */
3089
- .tl-storyline-track.is-reordering .tl-seq-block:not(.is-dragging) {
3090
- transition: left var(--dur-2, 160ms) var(--ease-out, ease-out);
3091
- }
3092
- /* Vertical layer-move target: the storyline glows while a clip hovers over it. */
3093
- .tl-storyline-track.is-drop-target {
3094
- outline: 2px dashed var(--accent);
3095
- outline-offset: -2px;
3096
- background: color-mix(in oklab, var(--accent) 10%, var(--bg-2));
3097
- }
3098
- /* Snap confirmation: momentary accent rule at the latched frame. */
3099
- .tl-snapline {
3100
- position: absolute;
3101
- top: 18px;
3102
- bottom: 0;
3103
- width: 1px;
3104
- background: var(--accent);
3105
- box-shadow: 0 0 6px var(--accent);
3106
- z-index: 5;
3107
- pointer-events: none;
3108
- animation: tl-snap-pulse 0.35s var(--ease-out, ease-out);
3109
- }
3110
- @keyframes tl-snap-pulse {
3111
- 0% { opacity: 1; }
3112
- 100% { opacity: 0.25; }
3113
- }
3114
- /* Playhead carries its own timecode. */
3115
- .tl-playhead-time {
3116
- position: absolute;
3117
- top: -2px;
3118
- left: 8px;
3119
- font-family: var(--font-mono);
3120
- font-size: 9px;
3121
- color: var(--bg-0);
3122
- background: var(--accent);
3123
- border-radius: 3px;
3124
- padding: 0 4px;
3125
- white-space: nowrap;
3126
- }
3127
- /* Affordances visible at REST (promote on hover) — zero-opacity told nothing. */
3128
- .tl-seq-resize, .tl-seq-trim-in {
3129
- opacity: 0.35;
3130
- background: color-mix(in oklab, var(--fg-0) 18%, transparent);
3131
- border-radius: 2px;
3132
- }
3133
- .tl-seq-resize:hover, .tl-seq-trim-in:hover { opacity: 1; background: var(--accent); }
3134
- .tl-seam { opacity: 0.8; }
3135
- /* The dead space below the lanes IS the new-layer drop target. */
3136
- .tl-newlayer-zone {
3137
- flex: 1;
3138
- min-height: 44px;
3139
- margin-top: 6px;
3140
- border: 1.5px dashed var(--bg-3);
3141
- border-radius: var(--radius-sm);
3142
- display: flex;
3143
- align-items: center;
3144
- color: var(--fg-3);
3145
- font-size: var(--type-xs);
3146
- font-family: var(--font-mono);
3147
- transition: border-color var(--dur-2, 160ms) var(--ease-out, ease-out), background var(--dur-2, 160ms) var(--ease-out, ease-out);
3148
- }
3149
- .tl-newlayer-zone.is-active, .tl-panel.is-drop .tl-newlayer-zone {
3150
- border-color: var(--accent);
3151
- color: var(--fg-1);
3152
- background: color-mix(in oklab, var(--accent) 7%, transparent);
3153
- }
3154
- @media (prefers-reduced-motion: reduce) {
3155
- .tl-snapline { animation: none; }
3156
- .tl-storyline-track.is-reordering .tl-seq-block:not(.is-dragging) { transition: none; }
3157
- .tl-newlayer-zone { transition: none; }
3158
- }