cozyclay 1.9.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/CHANGELOG.md +171 -0
  2. package/bin/agent/agent-routes.mjs +74 -70
  3. package/bin/agent/agent-runner.mjs +10 -3
  4. package/bin/agent/motion-runtime.mjs +32 -260
  5. package/bin/agent/providers.mjs +46 -3
  6. package/bin/agent/session-store.mjs +41 -5
  7. package/bin/agent/studio-prompt.mjs +1 -1
  8. package/bin/agent/studio-tools.mjs +48 -11
  9. package/bin/cozyclay.mjs +26 -8
  10. package/bin/live/cli.mjs +22 -3
  11. package/bin/mcp-runtime.mjs +35 -20
  12. package/bin/telemetry-state.mjs +5 -2
  13. package/bin/update-check.mjs +15 -0
  14. package/dist/app/index.html +6 -6
  15. package/dist/assets/analytics-MVZOEW8O.js +1 -0
  16. package/dist/assets/app-C1sdVbg4.css +1 -0
  17. package/dist/assets/app-CA55tcI3.js +4876 -0
  18. package/dist/assets/{demo-B-eg1CT8.js → demo-ByeYp-dY.js} +1 -1
  19. package/dist/assets/{first-shot-handoff-CGgnvNu8.js → first-shot-handoff-DgT28ZiV.js} +1 -1
  20. package/dist/assets/{landing-IbRp3FnQ.js → landing-BaXkpFip.js} +1 -1
  21. package/dist/assets/shot-prompt-CbqWcWYi.css +1 -0
  22. package/dist/assets/shot-prompt-Yrt99wZx.js +17 -0
  23. package/dist/assets/{ticket-BgIzOBOf.js → ticket-BcmsnHn5.js} +1 -1
  24. package/dist/assets/workflow-DRdwoDBT.css +1 -0
  25. package/dist/assets/workflow-dNPGY9xz.js +179 -0
  26. package/dist/cozyclay-package.json +1 -1
  27. package/dist/fonts/IBM-Plex-Sans-OFL.txt +92 -0
  28. package/dist/fonts/JetBrains-Mono-OFL.txt +93 -0
  29. package/dist/fonts/README.md +13 -9
  30. package/dist/fonts/ibm-plex-sans-400-latin.woff2 +0 -0
  31. package/dist/fonts/ibm-plex-sans-500-latin.woff2 +0 -0
  32. package/dist/fonts/ibm-plex-sans-600-latin.woff2 +0 -0
  33. package/dist/fonts/jetbrains-mono-400-latin.woff2 +0 -0
  34. package/dist/fonts/jetbrains-mono-500-latin.woff2 +0 -0
  35. package/dist/index.html +7 -7
  36. package/dist/privacy/index.html +13 -8
  37. package/dist/sitemap.xml +6 -6
  38. package/dist/workflow/index.html +5 -5
  39. package/mcp/LIVE-PROTOCOL.md +1 -1
  40. package/mcp/live-hub.mjs +35 -93
  41. package/mcp/mesh-file.mjs +48 -0
  42. package/mcp/server.mjs +6 -77
  43. package/mcp/tool-handlers.mjs +224 -377
  44. package/package.json +2 -1
  45. package/src/App.jsx +1273 -9075
  46. package/src/analytics.js +393 -9
  47. package/src/app-context.js +211 -0
  48. package/src/app-stage.jsx +25 -24
  49. package/src/ardy/auto-fix-panel.css +108 -0
  50. package/src/ardy/collision-blockers.js +9 -3
  51. package/src/ardy/fix-collisions.js +10 -66
  52. package/src/ardy/ground.js +4 -4
  53. package/src/ardy/ik-drag.js +101 -0
  54. package/src/ardy/ik-key-json.js +43 -0
  55. package/src/ardy/ik.js +122 -76
  56. package/src/ardy/physics-panel.css +2 -0
  57. package/src/ardy/physics-panel.jsx +17 -5
  58. package/src/ardy/platform-fit-panel.css +64 -0
  59. package/src/ardy/platform-fit-panel.jsx +40 -0
  60. package/src/ardy/platform-fit.js +326 -0
  61. package/src/ardy/playback.js +166 -20
  62. package/src/ardy/range-pin.js +299 -0
  63. package/src/ardy/timeline-coordinates.js +26 -0
  64. package/src/ardy/timeline.css +1199 -0
  65. package/src/ardy/timeline.jsx +149 -41
  66. package/src/ardy/waypoints.js +2 -2
  67. package/src/asset-pane.css +462 -0
  68. package/src/asset-pane.jsx +461 -232
  69. package/src/command-bus.js +349 -0
  70. package/src/commands/ai.js +31 -0
  71. package/src/commands/cast.js +140 -0
  72. package/src/commands/elements/character.js +13 -0
  73. package/src/commands/elements/motion.js +14 -0
  74. package/src/commands/elements/object.js +22 -0
  75. package/src/commands/elements/scene.js +16 -0
  76. package/src/commands/elements/shot.js +9 -0
  77. package/src/commands/elements/stage.js +11 -0
  78. package/src/commands/elements.js +155 -0
  79. package/src/commands/export.js +20 -0
  80. package/src/commands/index.js +40 -0
  81. package/src/commands/motion.js +231 -0
  82. package/src/commands/objects.js +174 -0
  83. package/src/commands/project.js +53 -0
  84. package/src/commands/scene.js +81 -0
  85. package/src/commands/shared.js +19 -0
  86. package/src/commands/shot.js +103 -0
  87. package/src/commands/stage.js +17 -0
  88. package/src/commands/view.js +42 -0
  89. package/src/document-store.js +144 -0
  90. package/src/domains/cast.js +1007 -0
  91. package/src/domains/motion.js +3219 -0
  92. package/src/domains/objects.js +932 -0
  93. package/src/domains/scenes.js +817 -0
  94. package/src/domains/shots.js +404 -0
  95. package/src/domains/stage.js +93 -0
  96. package/src/dualview.jsx +113 -57
  97. package/src/facing-marks.js +3 -0
  98. package/src/first-success-guide.jsx +14 -14
  99. package/src/grid-view.js +18 -5
  100. package/src/hierarchy-model.js +24 -16
  101. package/src/hierarchy-panel.css +386 -0
  102. package/src/hierarchy-panel.jsx +150 -21
  103. package/src/{fal-motion-client.js → i2v-motion-client.js} +13 -13
  104. package/src/i2v-motion-studio.jsx +180 -0
  105. package/src/ik-camera.js +3 -0
  106. package/src/main.jsx +6 -0
  107. package/src/motion/generation.js +105 -0
  108. package/src/motion-readiness-ui.jsx +4 -4
  109. package/src/motion-readiness.js +11 -0
  110. package/src/motion-trail.js +366 -9
  111. package/src/object-gizmo.jsx +7 -1
  112. package/src/otio.js +2 -1
  113. package/src/panels/CameraPanel.jsx +60 -0
  114. package/src/panels/CharacterTransformPanel.jsx +48 -0
  115. package/src/panels/EnvironmentPanel.jsx +40 -0
  116. package/src/panels/Foldout.jsx +32 -0
  117. package/src/panels/LightPanel.jsx +24 -0
  118. package/src/panels/ObjectTransformPanel.jsx +554 -0
  119. package/src/panels/PosePanel.jsx +97 -0
  120. package/src/panels/ProjectPanel.jsx +33 -0
  121. package/src/panels/PromptBlocksPanel.jsx +442 -0
  122. package/src/panels/PropsPanel.jsx +70 -0
  123. package/src/panels/ReferenceImageField.jsx +91 -0
  124. package/src/panels/RigControlPanel.jsx +78 -0
  125. package/src/panels/RigPanel.jsx +37 -0
  126. package/src/panels/SubjectBox.jsx +47 -0
  127. package/src/panels/SubjectsPanel.jsx +39 -0
  128. package/src/panels/VideoCapturePanel.jsx +180 -0
  129. package/src/panels/details.css +1171 -0
  130. package/src/panels/motion.css +197 -0
  131. package/src/panels/pose.css +39 -0
  132. package/src/planview.jsx +60 -31
  133. package/src/posestudio.jsx +59 -4
  134. package/src/project-browser.css +1073 -0
  135. package/src/project-browser.jsx +284 -123
  136. package/src/range-pin-object-transform.js +19 -0
  137. package/src/range-pin-panel.css +518 -0
  138. package/src/range-pin-panel.jsx +344 -0
  139. package/src/result-modal.jsx +5 -5
  140. package/src/room.jsx +79 -51
  141. package/src/scene-objects.js +37 -1
  142. package/src/scenes.js +5 -0
  143. package/src/semantic-edit.js +2 -0
  144. package/src/settings-menu.jsx +39 -105
  145. package/src/shell/BottomDock.jsx +450 -0
  146. package/src/shell/DetailsSlot.jsx +513 -0
  147. package/src/shell/LibrarySlot.jsx +86 -0
  148. package/src/shell/MenuBar.jsx +601 -0
  149. package/src/shell/OutlinerSlot.jsx +50 -0
  150. package/src/shell/PreferencesDialog.jsx +538 -0
  151. package/src/shell/PreferencesSlot.jsx +40 -0
  152. package/src/shell/StatusBar.jsx +125 -0
  153. package/src/shell/StudioShell.jsx +92 -0
  154. package/src/shell/TopBar.jsx +129 -0
  155. package/src/shell/ViewportToolbar.jsx +656 -0
  156. package/src/shell/agent-glass.css +296 -0
  157. package/src/shell/dock.css +93 -0
  158. package/src/shell/glass-regions.css +985 -0
  159. package/src/shell/glass.css +687 -0
  160. package/src/shell/log-store.js +52 -0
  161. package/src/shell/mode.css +9 -0
  162. package/src/shell/preferences.css +651 -0
  163. package/src/shell/shell.css +282 -0
  164. package/src/shell/studio-shell-context.js +19 -0
  165. package/src/shell/topbar.css +435 -0
  166. package/src/shell/viewport.css +451 -0
  167. package/src/store/authored-intent.js +22 -0
  168. package/src/store/runtime-adapters.js +92 -0
  169. package/src/store/scene-stage.js +21 -0
  170. package/src/store/use-document-store.js +14 -0
  171. package/src/studio-actions.js +210 -0
  172. package/src/studio-agent-commands.js +41 -271
  173. package/src/studio-agent-context.js +39 -10
  174. package/src/studio-agent-motion.js +122 -373
  175. package/src/studio-agent-protocol.js +67 -31
  176. package/src/studio-app-binding.js +379 -0
  177. package/src/studio-contact-sheet.js +73 -0
  178. package/src/studio-elements.js +58 -51
  179. package/src/styles/themes.css +200 -0
  180. package/src/styles/tokens.css +69 -0
  181. package/src/styles.css +460 -1742
  182. package/src/theme.js +44 -0
  183. package/src/timeline-extent.js +16 -0
  184. package/src/trail-key-conflicts.js +39 -0
  185. package/src/trail-pick.js +59 -0
  186. package/src/ui.jsx +8 -8
  187. package/src/use-case-question.jsx +66 -0
  188. package/src/workflow/AgentPanel.jsx +82 -69
  189. package/src/workflow/agent-client.js +12 -2
  190. package/src/workflow/agent-panel.css +34 -32
  191. package/src/workflow/cozy-scene-node.css +2 -0
  192. package/src/workflow/workflow.css +2 -0
  193. package/tools/ardy/__pycache__/cclay_gvhmr_worker.cpython-313.pyc +0 -0
  194. package/tools/ardy/bridge.mjs +164 -146
  195. package/tools/ardy/visual-qa.mjs +5 -5
  196. package/tools/bench/EXP3.md +61 -0
  197. package/tools/bench/cclay_bench_extract_incam.py +125 -0
  198. package/tools/bench/cclay_bench_extract_obs.py +204 -0
  199. package/tools/bench/cclay_bench_runner.py +42 -0
  200. package/tools/bench/cube-contact.mjs +162 -0
  201. package/tools/bench/exp3.mjs +152 -0
  202. package/tools/bench/extract-bench-lib.mjs +216 -0
  203. package/tools/bench/extract-bench.mjs +302 -0
  204. package/tools/bench/fal-generate.mjs +88 -0
  205. package/tools/bench/fit/README.md +189 -0
  206. package/tools/bench/fit/camera.mjs +59 -0
  207. package/tools/bench/fit/contact.mjs +419 -0
  208. package/tools/bench/fit/footlock.mjs +234 -0
  209. package/tools/bench/fit/motion.mjs +85 -0
  210. package/tools/bench/fit/pin.mjs +27 -0
  211. package/tools/bench/fit/remote.mjs +105 -0
  212. package/tools/bench/fit-bench.mjs +126 -0
  213. package/tools/bench/fit-sanity.mjs +45 -0
  214. package/tools/bench/metrics.mjs +313 -0
  215. package/tools/bench/obs/depth.mjs +258 -0
  216. package/tools/bench/obs/extrinsics.mjs +175 -0
  217. package/tools/bench/obs/fit_mannequin_betas.py +340 -0
  218. package/tools/bench/obs/ground.mjs +294 -0
  219. package/tools/bench/obs/heading.mjs +151 -0
  220. package/tools/bench/obs/ladder.mjs +555 -0
  221. package/tools/bench/obs/mannequin-betas.json +124 -0
  222. package/tools/bench/obs/remote.mjs +83 -0
  223. package/tools/bench/obs/rest_joints.py +52 -0
  224. package/tools/bench/obs/ybot-targets.mjs +49 -0
  225. package/tools/bench/obs-bench.mjs +520 -0
  226. package/tools/bench/score.mjs +343 -0
  227. package/tools/bench/summarize.mjs +86 -0
  228. package/tools/dev/pages/privacy.html +13 -8
  229. package/tools/gt-render/browser.mjs +159 -0
  230. package/tools/gt-render/camera-math.mjs +276 -0
  231. package/tools/gt-render/page.mjs +267 -0
  232. package/tools/gt-render/render.mjs +514 -0
  233. package/tools/gt-render/scene-box.mjs +31 -0
  234. package/tools/gt-render/take-transform.mjs +87 -0
  235. package/tools/morphgs/assets/gen_truth.py +39 -0
  236. package/tools/morphgs/assets/mesh_ori_rig.txt +27 -0
  237. package/tools/morphgs/assets/playback-check.mjs +30 -0
  238. package/tools/morphgs/demo-gate.sh +26 -0
  239. package/tools/morphgs/fbx2morphgs.mjs +68 -0
  240. package/tools/morphgs/morphgs-to-cskel27.mjs +105 -0
  241. package/tools/morphgs/patches/preprocess_src-none-mode.patch +76 -0
  242. package/tools/morphgs/setup-on-cluster.sh +126 -0
  243. package/tools/qa/css-rule-usage.mjs +283 -0
  244. package/tools/qa/studio-control-count.mjs +70 -32
  245. package/tools/run-tests.mjs +134 -12
  246. package/tools/track/DESIGN.md +513 -0
  247. package/tools/track/backfill-provenance.mjs +116 -0
  248. package/tools/track/budget.mjs +8 -0
  249. package/tools/track/check-rig.mjs +209 -0
  250. package/tools/track/diagnostics.schema.json +60 -0
  251. package/tools/track/export-rig.mjs +256 -0
  252. package/tools/track/fallback.mjs +7 -0
  253. package/tools/track/fk-parity-fixture.mjs +161 -0
  254. package/tools/track/gate.mjs +349 -0
  255. package/tools/track/masks.mjs +318 -0
  256. package/tools/track/metrics.mjs +201 -0
  257. package/tools/track/publish-obs.mjs +108 -0
  258. package/tools/track/py/check_env.py +61 -0
  259. package/tools/track/py/eval_lr.py +229 -0
  260. package/tools/track/py/lr_viterbi.py +294 -0
  261. package/tools/track/py/masks.py +405 -0
  262. package/tools/track/py/objective.py +382 -0
  263. package/tools/track/py/rig.py +508 -0
  264. package/tools/track/py/scene.py +326 -0
  265. package/tools/track/py/test_joint_indices.py +123 -0
  266. package/tools/track/py/test_lr_viterbi.py +195 -0
  267. package/tools/track/py/test_masks.py +229 -0
  268. package/tools/track/py/test_rig.py +288 -0
  269. package/tools/track/py/test_scene.py +354 -0
  270. package/tools/track/py/test_track.py +328 -0
  271. package/tools/track/py/track.py +411 -0
  272. package/tools/track/remote.mjs +140 -0
  273. package/tools/track/rig-dump.mjs +227 -0
  274. package/tools/track/run-box-tests.mjs +14 -0
  275. package/tools/track/run-box.mjs +168 -0
  276. package/tools/track/setup-box.sh +59 -0
  277. package/tools/track/study-2d.mjs +728 -0
  278. package/dist/assets/analytics-B1hnH66c.js +0 -1
  279. package/dist/assets/app-BWusbqgO.js +0 -4861
  280. package/dist/assets/app-qKDo4PBX.css +0 -1
  281. package/dist/assets/shot-prompt-CHUtw6af.js +0 -17
  282. package/dist/assets/shot-prompt-C_g2BHVc.css +0 -1
  283. package/dist/assets/workflow-CVwzMhz2.js +0 -179
  284. package/dist/assets/workflow-DsudxKHF.css +0 -1
  285. package/src/fal-motion-studio.jsx +0 -180
  286. package/src/scene-history.js +0 -129
@@ -0,0 +1,687 @@
1
+ /* #570 glass surfaces for the floating shell. Loaded after every region
2
+ sheet the shell imports; the [data-shell="glass"] attribute keeps these
3
+ ahead of region rules of equal weight that load later. Colours come from
4
+ the theme tokens in src/styles/themes.css. */
5
+ @layer regions {
6
+ /* ------------------------------------------------- floating panels */
7
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-left-column,
8
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-right-column,
9
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-dock-slot {
10
+ /* Region fills inside a panel read --surface-panel; the glass shows
11
+ through instead. Raised and field surfaces stay opaque. */
12
+ --surface-panel: transparent;
13
+ --outliner-header-height: var(--float-head, 48px);
14
+ --details-head-height: var(--float-head, 48px);
15
+ border-radius: var(--float-radius, 20px);
16
+ background: var(--glass-panel);
17
+ -webkit-backdrop-filter: var(--glass-blur);
18
+ backdrop-filter: var(--glass-blur);
19
+ box-shadow: var(--panel-shadow);
20
+ }
21
+ /* The right column holds two floating cards — Details and the Agent — so
22
+ the column itself has no surface. */
23
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-right-column {
24
+ overflow: visible;
25
+ border-radius: 0;
26
+ background: none;
27
+ -webkit-backdrop-filter: none;
28
+ backdrop-filter: none;
29
+ box-shadow: none;
30
+ }
31
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-right-column .inspector-pane,
32
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-right-column .studio-agent-bar,
33
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-right-column .studio-agent-inspector {
34
+ border-radius: var(--float-radius, 20px);
35
+ background: var(--glass-text-panel);
36
+ -webkit-backdrop-filter: var(--glass-blur);
37
+ backdrop-filter: var(--glass-blur);
38
+ box-shadow: var(--panel-shadow);
39
+ }
40
+
41
+ /* The shot camera is drawn into the stage canvas under its card, so the
42
+ dock's glass leaves a hole where the card sits: the fill and inner
43
+ shading live on a masked ::before, the outer shadow on the slot. */
44
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-dock-slot {
45
+ overflow: visible;
46
+ background: none;
47
+ -webkit-backdrop-filter: none;
48
+ backdrop-filter: none;
49
+ box-shadow: var(--panel-shadow-outer);
50
+ }
51
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-dock-slot::before {
52
+ content: "";
53
+ position: absolute;
54
+ inset: 0;
55
+ z-index: -1;
56
+ border-radius: inherit;
57
+ /* A flat fill, not --glass-panel: that gradient runs top highlight to
58
+ bottom shade over the whole panel height, so on the 300px dock it was
59
+ a visible ramp (warm head, dark body) next to the tall columns'
60
+ gentle one. The dock reads as the columns' mid-tone instead. */
61
+ background: var(--glass-text-panel-flat, var(--surface-panel));
62
+ -webkit-backdrop-filter: var(--glass-blur);
63
+ backdrop-filter: var(--glass-blur);
64
+ box-shadow: var(--panel-shadow-inset);
65
+ -webkit-mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
66
+ -webkit-mask-size: 100% 100%, var(--shot-pic-w) var(--shot-pic-h);
67
+ -webkit-mask-position: 0 0, right var(--shot-pic-right) bottom calc(var(--shell-status-h) + var(--shot-pic-bottom));
68
+ -webkit-mask-repeat: no-repeat;
69
+ -webkit-mask-composite: xor;
70
+ mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
71
+ mask-size: 100% 100%, var(--shot-pic-w) var(--shot-pic-h);
72
+ mask-position: 0 0, right var(--shot-pic-right) bottom calc(var(--shell-status-h) + var(--shot-pic-bottom));
73
+ mask-repeat: no-repeat;
74
+ mask-composite: exclude;
75
+ }
76
+ /* The Assets tab has no shot card: the glass is whole. */
77
+ .app[data-shell="glass"][data-dock-tab="assets"]:not([data-embed-mode]) .studio-dock-slot::before,
78
+ .app[data-shell="glass"][data-shot-look]:not([data-embed-mode]) .studio-dock-slot::before {
79
+ -webkit-mask-size: 100% 100%, 0 0;
80
+ mask-size: 100% 100%, 0 0;
81
+ }
82
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-dock-slot > .bottom-window {
83
+ border-radius: inherit;
84
+ overflow: hidden;
85
+ background: none;
86
+ }
87
+
88
+ /* The bottom dock is the Sequencer alone; the shot preview docks into its
89
+ right end (positioned below), so the lanes stop short of it. */
90
+ .app[data-shell="glass"]:not([data-embed-mode]) .bottom-window.v2-dock {
91
+ grid-template-columns: minmax(0, 1fr);
92
+ height: calc(100% - var(--shell-status-h));
93
+ background: none;
94
+ }
95
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-dock > .bottom-timeline {
96
+ grid-column: 1;
97
+ margin-right: var(--shell-camera);
98
+ background: none;
99
+ }
100
+ /* Assets: the Library fills the dock in the Sequencer's place. */
101
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-dock > .studio-library {
102
+ grid-column: 1;
103
+ grid-row: 1;
104
+ display: flex;
105
+ flex-direction: column;
106
+ background: none;
107
+ }
108
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-dock > [hidden] { display: none; }
109
+
110
+ /* Agent under Details, a card of its own; its own header stays. */
111
+ .app[data-shell="glass"] .studio-agent-inspector > .agent-panel { flex: 1 1 auto; min-height: 0; background: none; }
112
+ .app[data-shell="glass"] .studio-agent-inspector .agent-header { padding-right: 44px; }
113
+
114
+ /* Collapsed Agent: one 44px bar at the foot of the right column. */
115
+ .app[data-shell="glass"] .studio-agent-bar {
116
+ flex: 0 0 auto;
117
+ display: flex;
118
+ align-items: center;
119
+ gap: 10px;
120
+ width: 100%;
121
+ height: 44px;
122
+ padding: 0 14px 0 16px;
123
+ border: 0;
124
+ color: var(--text-1);
125
+ font: 600 13px var(--sans);
126
+ text-align: left;
127
+ cursor: pointer;
128
+ }
129
+ .app[data-shell="glass"] .studio-agent-bar:hover .studio-agent-bar-hint { color: var(--text-2); }
130
+ .app[data-shell="glass"] .studio-agent-bar-hint {
131
+ flex: 1 1 auto;
132
+ min-width: 0;
133
+ overflow: hidden;
134
+ color: var(--text-3);
135
+ font-weight: 400;
136
+ font-size: 12px;
137
+ text-overflow: ellipsis;
138
+ white-space: nowrap;
139
+ }
140
+ .app[data-shell="glass"] .studio-agent-bar svg,
141
+ .app[data-shell="glass"] .studio-agent-collapse svg {
142
+ width: 12px;
143
+ height: 12px;
144
+ fill: none;
145
+ stroke: currentColor;
146
+ stroke-width: 1.4;
147
+ stroke-linecap: round;
148
+ stroke-linejoin: round;
149
+ }
150
+ .app[data-shell="glass"] .studio-agent-bar svg { color: var(--text-2); }
151
+ .app[data-shell="glass"] .studio-agent-bar .studio-agent-spark { width: 16px; height: 16px; stroke-width: 1.3; color: var(--seg-on-text); }
152
+ .app[data-shell="glass"] .studio-agent-collapse {
153
+ position: absolute;
154
+ z-index: 2;
155
+ top: 14px;
156
+ right: 10px;
157
+ display: grid;
158
+ place-items: center;
159
+ width: 28px;
160
+ height: 28px;
161
+ padding: 0;
162
+ border: 0;
163
+ border-radius: 14px;
164
+ background: none;
165
+ color: var(--text-2);
166
+ cursor: pointer;
167
+ }
168
+ .app[data-shell="glass"] .studio-agent-collapse:hover { background: var(--surface-raised); color: var(--text-1); }
169
+ .app[data-shell="glass"] .studio-agent-bar:focus-visible,
170
+ .app[data-shell="glass"] .studio-agent-collapse:focus-visible { outline: 2px solid var(--select); outline-offset: -2px; }
171
+
172
+ /* The Top-View only appears while something is drawn on it: a camera rail,
173
+ an object path or root waypoints. */
174
+ .app[data-shell="glass"]:not([data-embed-mode]):not([data-plan-draw]) .vp-inset { display: none; }
175
+ .app[data-shell="glass"] .studio-right-column .inspector-pane,
176
+ .app[data-shell="glass"] .studio-right-column .inspector-scroll { background: none; }
177
+
178
+ /* ----------------------------------------------------- resize grips */
179
+ .app[data-shell="glass"] .shell-splitter::after {
180
+ content: "";
181
+ position: absolute;
182
+ top: 50%;
183
+ left: 50%;
184
+ width: 4px;
185
+ height: 32px;
186
+ border-radius: 2px;
187
+ background: var(--grip);
188
+ transform: translate(-50%, -50%);
189
+ transition: background-color .12s ease, height .12s ease;
190
+ }
191
+ .app[data-shell="glass"] .shell-outliner-splitter::after,
192
+ .app[data-shell="glass"] .shell-agent-splitter::after { width: 32px; height: 4px; }
193
+ .app[data-shell="glass"] .shell-splitter:hover::after { background: var(--grip-hover); }
194
+ .app[data-shell="glass"] .shell-splitter:active::after { background: var(--select); }
195
+
196
+ /* -------------------------------------------------------- top bar */
197
+ /* Menus left, the mode switch centred (from the viewport overlays), the
198
+ MCP state and Generate right. The bar itself lets the stage take the
199
+ pointer between its capsules. */
200
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar {
201
+ gap: 0;
202
+ padding: 0;
203
+ background: none;
204
+ font-size: 13px;
205
+ pointer-events: none;
206
+ }
207
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar > * { pointer-events: auto; }
208
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .menubar,
209
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-mcp,
210
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate {
211
+ box-sizing: border-box;
212
+ height: 40px;
213
+ padding: 0 4px;
214
+ border-radius: var(--capsule-radius, 20px);
215
+ background: var(--glass-capsule);
216
+ -webkit-backdrop-filter: var(--capsule-blur);
217
+ backdrop-filter: var(--capsule-blur);
218
+ box-shadow: var(--capsule-shadow);
219
+ }
220
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .menubar-trigger {
221
+ height: 32px;
222
+ padding: 0 11px;
223
+ border-radius: 16px;
224
+ color: var(--text-1);
225
+ font-size: 13px;
226
+ }
227
+ /* MCP and Generate share one capsule: an icon button, a hairline, then
228
+ the split button. */
229
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-mcp {
230
+ position: relative;
231
+ display: flex;
232
+ align-items: center;
233
+ justify-content: center;
234
+ width: 48px;
235
+ padding: 0 4px 0 8px;
236
+ border-radius: 20px 0 0 20px;
237
+ clip-path: inset(-20px 0 -20px -20px);
238
+ color: var(--text-soft);
239
+ }
240
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-mcp::before {
241
+ content: "";
242
+ width: 16px;
243
+ height: 16px;
244
+ background: currentColor;
245
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.25 3.5h9.5a1.25 1.25 0 0 1 1.25 1.25v5.5a1.25 1.25 0 0 1-1.25 1.25H7.5L4.5 13.5v-2H3.25A1.25 1.25 0 0 1 2 10.25v-5.5A1.25 1.25 0 0 1 3.25 3.5z'/%3E%3C/svg%3E") center / 16px no-repeat;
246
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.25 3.5h9.5a1.25 1.25 0 0 1 1.25 1.25v5.5a1.25 1.25 0 0 1-1.25 1.25H7.5L4.5 13.5v-2H3.25A1.25 1.25 0 0 1 2 10.25v-5.5A1.25 1.25 0 0 1 3.25 3.5z'/%3E%3C/svg%3E") center / 16px no-repeat;
247
+ }
248
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-mcp::after {
249
+ content: "";
250
+ position: absolute;
251
+ top: 12px;
252
+ right: 0;
253
+ width: .5px;
254
+ height: 16px;
255
+ background: var(--divider-strong);
256
+ }
257
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-mcp-text {
258
+ position: absolute;
259
+ width: 1px;
260
+ height: 1px;
261
+ overflow: hidden;
262
+ clip: rect(0 0 0 0);
263
+ white-space: nowrap;
264
+ }
265
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-mcp-dot {
266
+ position: absolute;
267
+ top: 12px;
268
+ left: 26px;
269
+ width: 6px;
270
+ height: 6px;
271
+ margin: 0;
272
+ box-shadow: 0 0 0 1.5px var(--surface-panel);
273
+ }
274
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate {
275
+ gap: 1px;
276
+ padding: 4px 4px 4px 6px;
277
+ border-radius: 0 20px 20px 0;
278
+ clip-path: inset(-20px -20px -20px 0);
279
+ }
280
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate button {
281
+ height: 32px;
282
+ background: var(--primary-fill, var(--primary));
283
+ color: #fff;
284
+ font-size: 13px;
285
+ font-weight: 600;
286
+ }
287
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate-main { padding: 0 14px; border-radius: 16px 4px 4px 16px; }
288
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate-caret { width: 28px; border-radius: 4px 16px 16px 4px; box-shadow: none; }
289
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate button:hover,
290
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate-caret[aria-expanded="true"] {
291
+ background: var(--primary-fill, var(--primary));
292
+ filter: brightness(1.08);
293
+ }
294
+
295
+ /* ------------------------------------ project head (left column top) */
296
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head {
297
+ flex: 0 0 auto;
298
+ display: flex;
299
+ flex-direction: column;
300
+ align-items: flex-start;
301
+ gap: 2px;
302
+ padding: 16px 18px 12px;
303
+ }
304
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .project-menu-wrap { position: relative; max-width: 100%; }
305
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .project-menu-trigger {
306
+ display: flex;
307
+ align-items: center;
308
+ gap: 6px;
309
+ max-width: 100%;
310
+ height: auto;
311
+ margin: 0 0 0 -6px;
312
+ padding: 2px 6px;
313
+ border: 0;
314
+ border-radius: 8px;
315
+ background: none;
316
+ color: var(--text-1);
317
+ font: 600 15px/1.25 var(--sans);
318
+ letter-spacing: -.012em;
319
+ text-align: left;
320
+ }
321
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .project-menu-trigger:hover { background: var(--field-fill); }
322
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .project-dirty-dot { order: 2; width: 6px; height: 6px; background: var(--select); }
323
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .caret { display: none; }
324
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .project-save-status {
325
+ color: var(--label);
326
+ font-size: 11.5px;
327
+ font-weight: 400;
328
+ }
329
+ .app[data-shell="glass"]:not([data-embed-mode]) .studio-project-head .project-menu {
330
+ top: calc(100% + 6px);
331
+ left: -6px;
332
+ z-index: 40;
333
+ }
334
+
335
+ /* --------------------------------------------- viewport overlay rails */
336
+ /* Overlays fill the open stage between the columns: the mode switch rides
337
+ in the top bar's row, tools are a vertical rail on the left, view
338
+ options a vertical rail on the right. */
339
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar {
340
+ top: 0;
341
+ left: var(--shell-center-left);
342
+ right: var(--shell-center-right);
343
+ display: block;
344
+ height: 0;
345
+ z-index: 21;
346
+ }
347
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-toolbar,
348
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-left,
349
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-right {
350
+ position: absolute;
351
+ box-sizing: border-box;
352
+ background: var(--glass-capsule);
353
+ -webkit-backdrop-filter: var(--capsule-blur);
354
+ backdrop-filter: var(--capsule-blur);
355
+ box-shadow: var(--capsule-shadow);
356
+ pointer-events: auto;
357
+ }
358
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-toolbar {
359
+ top: var(--shell-gap);
360
+ left: 50%;
361
+ display: flex;
362
+ align-items: center;
363
+ height: 40px;
364
+ margin: 0;
365
+ padding: 0 5px;
366
+ border: 0;
367
+ border-radius: 20px;
368
+ transform: translateX(-50%);
369
+ }
370
+ /* A quiet segmented switch: words only (the icons return when the names
371
+ fold away on narrower windows), small type, and the current mode is a
372
+ raised pill in the ordinary ink rather than an accent-coloured label. */
373
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-keys { display: flex; gap: 0; }
374
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key {
375
+ display: flex;
376
+ align-items: center;
377
+ gap: 6px;
378
+ width: auto;
379
+ height: 30px;
380
+ padding: 0 14px;
381
+ border: 0;
382
+ border-radius: 15px;
383
+ background: transparent;
384
+ color: var(--text-2);
385
+ font: 500 12px var(--sans);
386
+ letter-spacing: -.005em;
387
+ transition: color .12s ease, background-color .12s ease;
388
+ }
389
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key .vp-icon { display: none; }
390
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key:hover:not(.active) { background: none; color: var(--text-1); }
391
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key.active {
392
+ background: var(--seg-on);
393
+ box-shadow: var(--seg-on-shadow);
394
+ color: var(--text-1);
395
+ font-weight: 600;
396
+ }
397
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key .vp-key-digit { display: none; }
398
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key .vp-mode-name { color: inherit; font: inherit; }
399
+
400
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-left,
401
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-right {
402
+ top: calc(var(--shell-gap) * 2 + 40px + 12px);
403
+ display: flex;
404
+ flex-direction: column;
405
+ align-items: center;
406
+ gap: 2px;
407
+ width: 44px;
408
+ min-width: 0;
409
+ padding: 4px 0;
410
+ border-radius: 22px;
411
+ }
412
+ /* The rails are stage furniture: they float inside the viewport window,
413
+ a gutter's width off its edge, not glued to the columns beside it. */
414
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-left { left: var(--shell-gap); }
415
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-right { right: var(--shell-gap); justify-content: flex-start; }
416
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-left .vp-menu-wrap,
417
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-right .vp-menu-wrap,
418
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-right .view-menu-wrap { position: relative; display: flex; }
419
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-tool-keys,
420
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-values,
421
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-view-pill {
422
+ display: flex;
423
+ flex-direction: column;
424
+ align-items: center;
425
+ gap: 2px;
426
+ height: auto;
427
+ padding: 0;
428
+ border-radius: 0;
429
+ background: none;
430
+ box-shadow: none;
431
+ -webkit-backdrop-filter: none;
432
+ backdrop-filter: none;
433
+ }
434
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-toolbar-divider,
435
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-rail-divider {
436
+ flex: none;
437
+ width: 18px;
438
+ height: .5px;
439
+ margin: 5px 0;
440
+ background: var(--divider-strong);
441
+ }
442
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-pill-divider { display: none; }
443
+ /* Every rail control is a 36px round button with a 16px line icon; its
444
+ words stay for assistive tech and tooltips. */
445
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-add-trigger,
446
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-tool-key,
447
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-pill-segment,
448
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-pill-segment.view-menu-trigger {
449
+ position: relative;
450
+ display: flex;
451
+ align-items: center;
452
+ justify-content: center;
453
+ width: 36px;
454
+ height: 36px;
455
+ padding: 0;
456
+ border: 0;
457
+ border-radius: 18px;
458
+ background: transparent;
459
+ box-shadow: none;
460
+ color: var(--text-soft);
461
+ -webkit-backdrop-filter: none;
462
+ backdrop-filter: none;
463
+ }
464
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-add-trigger { color: var(--text-1); }
465
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-add-trigger:hover,
466
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-add-trigger[aria-expanded="true"],
467
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-tool-key:hover:not(.active),
468
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-pill-segment:hover,
469
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-pill-segment[aria-expanded="true"] {
470
+ background: var(--chip-fill);
471
+ color: var(--text-1);
472
+ }
473
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-tool-key.active {
474
+ background: var(--select);
475
+ color: var(--on-select);
476
+ }
477
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-tool-key[aria-disabled="true"] { opacity: .4; }
478
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-label,
479
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-tool-letter,
480
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-add-plus + .vp-label {
481
+ position: absolute;
482
+ width: 1px;
483
+ height: 1px;
484
+ overflow: hidden;
485
+ clip: rect(0 0 0 0);
486
+ white-space: nowrap;
487
+ }
488
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-add-plus { display: flex; color: inherit; font-size: 0; }
489
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .view-menu-dot {
490
+ position: absolute;
491
+ top: 8px;
492
+ right: 8px;
493
+ }
494
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-icon {
495
+ flex: none;
496
+ fill: none;
497
+ stroke: currentColor;
498
+ stroke-width: 1.3;
499
+ stroke-linecap: round;
500
+ stroke-linejoin: round;
501
+ }
502
+ /* Value buttons (snap, influence, lens, ratio): icon over a small label. */
503
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-value {
504
+ display: flex;
505
+ flex-direction: column;
506
+ align-items: center;
507
+ justify-content: center;
508
+ gap: 4px;
509
+ width: 36px;
510
+ min-height: 40px;
511
+ height: auto;
512
+ padding: 6px 0;
513
+ border: 0;
514
+ border-radius: 18px;
515
+ background: transparent;
516
+ color: var(--label);
517
+ font: 500 9.5px var(--sans);
518
+ }
519
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-value.on {
520
+ background: var(--snap-on-fill);
521
+ color: var(--seg-on-text);
522
+ font-weight: 600;
523
+ }
524
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-value-part {
525
+ display: flex;
526
+ flex-direction: column;
527
+ align-items: center;
528
+ gap: 2px;
529
+ }
530
+ .app[data-shell="glass"]:not([data-embed-mode]) .viewport-titlebar .vp-speed {
531
+ display: flex;
532
+ flex-direction: column;
533
+ align-items: center;
534
+ justify-content: center;
535
+ gap: 2px;
536
+ width: 36px;
537
+ height: 40px;
538
+ padding: 0;
539
+ border-radius: 18px;
540
+ background: none;
541
+ box-shadow: none;
542
+ -webkit-backdrop-filter: none;
543
+ backdrop-filter: none;
544
+ color: var(--label);
545
+ font: 500 9.5px var(--sans);
546
+ }
547
+ /* Menus open beside their rail instead of under it. */
548
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-left .vp-menu,
549
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-left .vp-menu.add-object-menu {
550
+ top: -4px;
551
+ left: calc(100% + 10px);
552
+ right: auto;
553
+ transform: none;
554
+ }
555
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-overlay-right .vp-menu {
556
+ top: -4px;
557
+ left: auto;
558
+ right: calc(100% + 10px);
559
+ transform: none;
560
+ }
561
+
562
+ /* ----------------------------------- shot preview, docked in the dock */
563
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview {
564
+ --shot-preview-header: 0px;
565
+ z-index: 15;
566
+ right: calc(var(--shell-center-right) + var(--shot-pic-right));
567
+ bottom: calc(var(--shell-dock-bottom) + var(--shell-status-h) + var(--shot-pic-bottom));
568
+ width: var(--shot-pic-w);
569
+ height: var(--shot-pic-h);
570
+ border-radius: 10px;
571
+ background: none;
572
+ /* The picture's own hairline (the card's slot around it is bare). */
573
+ box-shadow: inset 0 0 0 1px var(--hairline);
574
+ }
575
+ /* The tag rides on the frame: the rec dot and shot name top-left, the
576
+ guide toggle top-right. Look through lives in the card's footer. */
577
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview-tag {
578
+ top: 5px;
579
+ left: 8px;
580
+ right: 6px;
581
+ height: 18px;
582
+ padding: 0;
583
+ border-radius: 0;
584
+ background: none;
585
+ color: var(--text-2);
586
+ pointer-events: none;
587
+ }
588
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview-tag > * { pointer-events: auto; }
589
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview .vp-rec-dot { width: 5px; height: 5px; background: #ff5f57; }
590
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview-meta { font-size: 10px; font-weight: 500; }
591
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview-lens { display: none; }
592
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview .vp-look-through { display: none; }
593
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-shot-preview .vp-guide-cycle { color: var(--text-3); border-radius: 6px; }
594
+
595
+ /* The Top-View inset keeps to the open stage under the overlay row. */
596
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-inset {
597
+ top: calc(var(--shell-gap) * 2 + 40px + 12px);
598
+ left: calc(var(--shell-center-left) + 56px);
599
+ /* Above the shell frame (shell.css, z 6): a board dragged into a gutter
600
+ must stay visible, not become an invisible drag target under it. */
601
+ z-index: 7;
602
+ border-radius: 14px;
603
+ overflow: hidden;
604
+ }
605
+
606
+ /* ------------------------------------------ library (dock's Assets) */
607
+ .app[data-shell="glass"] .studio-library .content-browser { background: none; }
608
+ .app[data-shell="glass"] .studio-library .content-head {
609
+ flex-wrap: wrap;
610
+ height: auto;
611
+ gap: 8px;
612
+ padding: 8px 12px 8px 6px;
613
+ }
614
+ .app[data-shell="glass"] .studio-library .content-breadcrumb { display: none; }
615
+ .app[data-shell="glass"] .studio-library .content-search {
616
+ order: 9;
617
+ flex: 1 0 100%;
618
+ width: auto;
619
+ height: 30px;
620
+ margin-left: 6px;
621
+ border-radius: 15px;
622
+ }
623
+ .app[data-shell="glass"] .studio-library .content-body:not(.is-log) { flex-direction: column; }
624
+ .app[data-shell="glass"] .studio-library .content-folders {
625
+ flex-direction: row;
626
+ flex-wrap: nowrap;
627
+ gap: 4px;
628
+ width: auto;
629
+ padding: 0 12px 10px;
630
+ overflow-x: auto;
631
+ overflow-y: hidden;
632
+ scrollbar-width: none;
633
+ }
634
+ .app[data-shell="glass"] .studio-library .content-folder {
635
+ height: 26px;
636
+ margin: 0;
637
+ padding: 0 11px;
638
+ border-radius: 13px;
639
+ }
640
+ .app[data-shell="glass"] .studio-library .content-folder.is-utility { margin-top: 0; margin-left: auto; }
641
+ .app[data-shell="glass"] .studio-library .content-main { padding: 0 12px 12px; }
642
+ .app[data-shell="glass"] .studio-library .content-grid {
643
+ grid-template-columns: repeat(3, minmax(0, 1fr));
644
+ gap: 12px 8px;
645
+ }
646
+ .app[data-shell="glass"] .studio-library .content-tile-thumb {
647
+ border-radius: 12px;
648
+ background: color-mix(in srgb, var(--text-1) 5%, transparent);
649
+ }
650
+
651
+ /* ------------------------------------------------------ status bar */
652
+ /* A capsule over the stage, like the viewport rails. */
653
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-statusbar {
654
+ box-sizing: border-box;
655
+ padding: 0 6px 0 14px;
656
+ border-radius: 16px;
657
+ background: var(--glass-capsule);
658
+ -webkit-backdrop-filter: var(--capsule-blur);
659
+ backdrop-filter: var(--capsule-blur);
660
+ box-shadow: var(--capsule-shadow);
661
+ color: var(--text-2);
662
+ font: 400 12px var(--sans);
663
+ overflow: hidden;
664
+ }
665
+
666
+ /* ------------------------------------------------- narrower windows */
667
+ /* The open stage shrinks first; the top row gives way in steps: mode
668
+ names go (icons stay), then the mode switch drops under the top row,
669
+ then Generate shortens. */
670
+ @media (max-width: 1500px) {
671
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key { padding: 0 9px; }
672
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key .vp-icon { display: block; }
673
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-key .vp-mode-name {
674
+ position: absolute;
675
+ width: 1px;
676
+ height: 1px;
677
+ overflow: hidden;
678
+ clip: rect(0 0 0 0);
679
+ }
680
+ }
681
+ @media (max-width: 1280px) {
682
+ .app[data-shell="glass"]:not([data-embed-mode]) .vp-mode-toolbar { top: calc(var(--shell-gap) * 2 + 40px); }
683
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate-full { display: none; }
684
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .topbar-generate-short { display: inline; }
685
+ .app[data-shell="glass"]:not([data-embed-mode]) .v2-topbar .menubar-trigger { padding: 0 8px; }
686
+ }
687
+ }