@vivix-labs/studio-workbench 0.0.0-stage → 1.0.0-beta.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 (105) hide show
  1. package/dist/Inter-LICENSE.txt +93 -0
  2. package/dist/UI-LICENSE.txt +21 -0
  3. package/dist/assets/35a50-G5EJUNOC.svg +6 -0
  4. package/dist/assets/369ca-BISNKZ3M.svg +6 -0
  5. package/dist/assets/441bc-BCMNQ72W.svg +6 -0
  6. package/dist/assets/483f0-T6ZAGTDG.svg +6 -0
  7. package/dist/assets/6911b-ESLYKSC6.svg +6 -0
  8. package/dist/assets/Inter-LICENSE.txt +93 -0
  9. package/dist/assets/UI-system-LICENSE.txt +21 -0
  10. package/dist/assets/add-JY533O73.svg +5 -0
  11. package/dist/assets/area-P2WOMBT5.svg +9 -0
  12. package/dist/assets/b70bb-BTTOKPOH.svg +6 -0
  13. package/dist/assets/b9919-3S3O6YOT.svg +6 -0
  14. package/dist/assets/calendar-JI6USFRJ.svg +1 -0
  15. package/dist/assets/check-JSRRIXN5.svg +5 -0
  16. package/dist/assets/check-on-content-FQUVG3IZ.svg +5 -0
  17. package/dist/assets/chevron-down-K7YKS2EY.svg +5 -0
  18. package/dist/assets/chevron-left-JQCLK2WZ.svg +3 -0
  19. package/dist/assets/chevron-right-TNE35DBJ.svg +3 -0
  20. package/dist/assets/chevron-up-VBHYAJVB.svg +5 -0
  21. package/dist/assets/clear-XNEZJKFC.svg +5 -0
  22. package/dist/assets/close-GO5F7YFS.svg +10 -0
  23. package/dist/assets/dccd4-CZJXWICW.svg +6 -0
  24. package/dist/assets/dd163-3S3O6YOT.svg +6 -0
  25. package/dist/assets/detail-E52XPONK.svg +4 -0
  26. package/dist/assets/draw-FOFX5TOM.svg +6 -0
  27. package/dist/assets/e8aed-CZJXWICW.svg +6 -0
  28. package/dist/assets/ea990-CZJXWICW.svg +6 -0
  29. package/dist/assets/edit-JUVJDD5A.svg +6 -0
  30. package/dist/assets/expand-IAV75AFA.svg +6 -0
  31. package/dist/assets/export-W2OBXZDQ.svg +6 -0
  32. package/dist/assets/fullscreen-L2JCXIN2.svg +6 -0
  33. package/dist/assets/fullscreen-large-MPLIWDMI.svg +6 -0
  34. package/dist/assets/grid-TLG5JYWB.svg +8 -0
  35. package/dist/assets/hero-base-5KRPU5WN.png +0 -0
  36. package/dist/assets/hero-blossom-YNVLGEJJ.webp +0 -0
  37. package/dist/assets/hero-blossom-sequence-TZ74A6VV.webp +0 -0
  38. package/dist/assets/hero-breeze-sequence-CEWDK3QZ.webp +0 -0
  39. package/dist/assets/hero-landscape-H35LYO4H.png +0 -0
  40. package/dist/assets/hero-placeholder-strip-WAPZ6XF4.svg +28 -0
  41. package/dist/assets/hero-pointer-OOZJGR5D.svg +17 -0
  42. package/dist/assets/hero-shot-CNLBX3OX.png +0 -0
  43. package/dist/assets/import-AFBUV2VV.svg +4 -0
  44. package/dist/assets/inria-serif-latin-700-italic-UNRIXGAH.woff2 +0 -0
  45. package/dist/assets/inter-latin-400-normal-55WT6UWF.woff2 +0 -0
  46. package/dist/assets/inter-latin-500-normal-W62DVTXI.woff2 +0 -0
  47. package/dist/assets/inter-latin-600-normal-R6Y2SZCR.woff2 +0 -0
  48. package/dist/assets/inter-latin-700-normal-SU5XVJMF.woff2 +0 -0
  49. package/dist/assets/list-5VUAOZUH.svg +9 -0
  50. package/dist/assets/local-user-MIBWBA6X.png +0 -0
  51. package/dist/assets/magic-OMME7FOV.svg +9 -0
  52. package/dist/assets/more-AEJ5MHWV.svg +5 -0
  53. package/dist/assets/mute-SXOSCR2U.svg +6 -0
  54. package/dist/assets/mute-large-LSZZ44HF.svg +6 -0
  55. package/dist/assets/nav-assets-35EAQZQX.svg +7 -0
  56. package/dist/assets/nav-home-BMDOUQGN.svg +5 -0
  57. package/dist/assets/nav-projects-N5UV3GAG.svg +6 -0
  58. package/dist/assets/nav-queue-2I5E65F4.svg +8 -0
  59. package/dist/assets/pause-2E4UY4FW.svg +6 -0
  60. package/dist/assets/pause-large-XEUBL4KC.svg +6 -0
  61. package/dist/assets/placeholder-audio-EJEBE7OB.svg +11 -0
  62. package/dist/assets/placeholder-image-NOVXFVRL.svg +10 -0
  63. package/dist/assets/placeholder-script-LR2GKWKS.svg +7 -0
  64. package/dist/assets/placeholder-video-ZFOYHYCR.svg +7 -0
  65. package/dist/assets/play-WIIT3XQK.svg +5 -0
  66. package/dist/assets/play-cover-WQLOHHPZ.svg +5 -0
  67. package/dist/assets/playback-play-YRMIX5W4.svg +5 -0
  68. package/dist/assets/playback-play-large-TM3QUJGG.svg +5 -0
  69. package/dist/assets/player-cover-shade-LLH6KOCQ.png +0 -0
  70. package/dist/assets/reset-JESMTEMV.svg +6 -0
  71. package/dist/assets/search-JUOSGQRM.svg +6 -0
  72. package/dist/assets/select-VU7WR7B4.svg +7 -0
  73. package/dist/assets/social-preview-F36PFR67.svg +91 -0
  74. package/dist/assets/sound-file-YYY6VNYN.svg +3 -0
  75. package/dist/assets/template-1-NR5GMMN5.png +0 -0
  76. package/dist/assets/template-2-YUHY6VN5.png +0 -0
  77. package/dist/assets/template-3-JHX6FHCZ.png +0 -0
  78. package/dist/assets/template-4-TAVSM3BI.png +0 -0
  79. package/dist/assets/template-5-ESABL4EM.png +0 -0
  80. package/dist/assets/template-6-4FAHO5N4.png +0 -0
  81. package/dist/assets/template-7-2KRMROJ6.png +0 -0
  82. package/dist/assets/volume-2TYGJL6F.svg +6 -0
  83. package/dist/assets/volume-large-QNULSJ2I.svg +6 -0
  84. package/dist/client.bundle.js +5693 -0
  85. package/dist/client.css +3914 -0
  86. package/dist/client.d.ts +15 -0
  87. package/dist/client.js +3 -0
  88. package/dist/server.d.ts +9 -0
  89. package/dist/server.js +381 -0
  90. package/dist/shared.d.ts +57 -0
  91. package/dist/shared.js +78 -0
  92. package/home-media/product-ad.mp4 +0 -0
  93. package/home-media/short-drama.mp4 +0 -0
  94. package/home-media/tree-shadow-blossom.mp4 +0 -0
  95. package/home-media/tree-shadow-breeze.mp4 +0 -0
  96. package/licenses/Inria-Serif-OFL.txt +93 -0
  97. package/package.json +77 -3
  98. package/presets/table.json +61 -0
  99. package/presets/user-base.json +118 -0
  100. package/skills/SKILL.md +100 -0
  101. package/skills/references/assets-and-views.md +30 -0
  102. package/skills/references/sql-custom-views.md +8 -0
  103. package/skills/scripts/initialize-home.mjs +245 -0
  104. package/studio-plugin.json +31 -0
  105. package/README.md +0 -3
@@ -0,0 +1,3914 @@
1
+ /* packages/ui-system/dist/tokens.css */
2
+ [data-vx-theme] {
3
+ --vx-font-inter:
4
+ "Vivix Studio Inter",
5
+ system-ui,
6
+ sans-serif;
7
+ --vx-shadow-none: none;
8
+ --vx-shadow-button: 0px 2px 4px 0px rgb(0 0 0 / 4%);
9
+ --vx-shadow-annotation: 0px 2px 12px 0px rgb(0 0 0 / 16%);
10
+ --vx-shadow-menu: 0px 4px 16px 0px rgb(0 0 0 / 8%);
11
+ --vx-shadow-dialog: 0px 4px 20px 0px rgb(0 0 0 / 8%);
12
+ --vx-motion-duration-fast: 120ms;
13
+ --vx-motion-duration-standard: 180ms;
14
+ --vx-motion-duration-enter: 240ms;
15
+ --vx-motion-duration-ambient: 6000ms;
16
+ --vx-motion-easing-standard: cubic-bezier(0.2, 0, 0, 1);
17
+ --vx-motion-easing-enter: cubic-bezier(0.16, 1, 0.3, 1);
18
+ --vx-motion-distance-menu: 4px;
19
+ --vx-motion-distance-dialog: 8px;
20
+ --vx-motion-scale-enter: 0.98;
21
+ --vx-space-2: 2px;
22
+ --vx-space-4: 4px;
23
+ --vx-space-6: 6px;
24
+ --vx-space-8: 8px;
25
+ --vx-space-10: 10px;
26
+ --vx-space-12: 12px;
27
+ --vx-space-16: 16px;
28
+ --vx-space-20: 20px;
29
+ --vx-space-24: 24px;
30
+ --vx-space-32: 32px;
31
+ --vx-radius-xs: 2px;
32
+ --vx-radius-sm: 4px;
33
+ --vx-radius-md: 6px;
34
+ --vx-radius-lg: 8px;
35
+ --vx-radius-xl: 12px;
36
+ --vx-radius-full: 999px;
37
+ --vx-border-width: 1px;
38
+ --vx-divider-width: 0.5px;
39
+ --vx-focus-ring-width: 2px;
40
+ --vx-icon-slot-small: 12px;
41
+ --vx-icon-slot-medium: 16px;
42
+ --vx-icon-slot-large: 20px;
43
+ --vx-menu-width: 224px;
44
+ --vx-dropdown-width: 182px;
45
+ --vx-dropdown-mini-height: 28px;
46
+ --vx-dropdown-medium-height: 32px;
47
+ --vx-dropdown-large-height: 40px;
48
+ --vx-input-width: 180px;
49
+ --vx-input-medium-height: 32px;
50
+ --vx-input-large-height: 40px;
51
+ --vx-input-radius: var(--vx-radius-md);
52
+ --vx-button-pill-shadow: var(--vx-shadow-button);
53
+ --vx-tabs-primary-height: 56px;
54
+ --vx-tabs-secondary-height: 44px;
55
+ --vx-segment-medium-height: 32px;
56
+ --vx-segment-large-height: 36px;
57
+ --vx-media-selection-color: var(--vx-green-dark);
58
+ --vx-tag-height: 16px;
59
+ --vx-dialog-small-width: 480px;
60
+ --vx-dialog-large-width: 720px;
61
+ --vx-dialog-padding: 24px;
62
+ --vx-dialog-radius: 16px;
63
+ --vx-dialog-backdrop-blur: 40px;
64
+ --vx-magic-edit-prompt-width: 460px;
65
+ --vx-magic-edit-prompt-height: 42px;
66
+ --vx-magic-edit-send-height: 34px;
67
+ --vx-magic-edit-selection-fill: color-mix( in srgb, var(--vx-media-selection-color) 20%, transparent );
68
+ --vx-magic-edit-highlight-fill: color-mix(in srgb, var(--vx-state-success) 16%, transparent);
69
+ --vx-magic-edit-highlight-border: color-mix(in srgb, var(--vx-state-success) 50%, transparent);
70
+ --vx-warm-neutral-01: #f9f6f4;
71
+ --vx-warm-neutral-02: #f3f0ed;
72
+ --vx-warm-neutral-03: #f1eeea;
73
+ --vx-warm-neutral-04: #ede8e0;
74
+ --vx-warm-neutral-05: #e9e6e0;
75
+ --vx-warm-neutral-06: #ddd8d3;
76
+ --vx-warm-neutral-07: #ada5a0;
77
+ --vx-warm-neutral-08: #938c88;
78
+ --vx-warm-neutral-09: #736e67;
79
+ --vx-black-black: #000000;
80
+ --vx-black-black-1a: rgb(0 0 0 / 10%);
81
+ --vx-black-black-2a: rgb(0 0 0 / 20%);
82
+ --vx-black-black-3a: rgb(0 0 0 / 30%);
83
+ --vx-black-black-4a: rgb(0 0 0 / 40%);
84
+ --vx-black-black-5a: rgb(0 0 0 / 50%);
85
+ --vx-black-black-6a: rgb(0 0 0 / 60%);
86
+ --vx-black-black-7a: rgb(0 0 0 / 70%);
87
+ --vx-black-black-8a: rgb(0 0 0 / 80%);
88
+ --vx-black-black-9a: rgb(0 0 0 / 90%);
89
+ --vx-dark-neutral-01: #181615;
90
+ --vx-dark-neutral-02: #211e1c;
91
+ --vx-dark-neutral-03: #282420;
92
+ --vx-dark-neutral-04: #322d28;
93
+ --vx-dark-neutral-05: #3c352f;
94
+ --vx-dark-neutral-06: #51483f;
95
+ --vx-dark-neutral-07: #9d8f82;
96
+ --vx-dark-neutral-08: #b6aaa0;
97
+ --vx-dark-neutral-09: #f0e9e3;
98
+ --vx-white-white: #ffffff;
99
+ --vx-white-white-1a: rgb(255 255 255 / 10%);
100
+ --vx-white-white-2a: rgb(255 255 255 / 20%);
101
+ --vx-white-white-3a: rgb(255 255 255 / 30%);
102
+ --vx-white-white-4a: rgb(255 255 255 / 40%);
103
+ --vx-white-white-5a: rgb(255 255 255 / 50%);
104
+ --vx-white-white-6a: rgb(255 255 255 / 60%);
105
+ --vx-white-white-7a: rgb(255 255 255 / 70%);
106
+ --vx-white-white-8a: rgb(255 255 255 / 80%);
107
+ --vx-white-white-9a: rgb(255 255 255 / 90%);
108
+ --vx-neutral-01: #0f0c0c;
109
+ --vx-red-light: #ff3f3f;
110
+ --vx-red-dark: #ff6b6b;
111
+ --vx-orange-light: #f95801;
112
+ --vx-orange-dark: #f95801;
113
+ --vx-blue-light: #315fe8;
114
+ --vx-blue-dark: #5c85ff;
115
+ --vx-blue-beam: #79a4d6;
116
+ --vx-green-green: #3c6852;
117
+ --vx-green-dark: #2ba86a;
118
+ --vx-button-border-width: 1px;
119
+ --vx-button-pill-radius: 1000px;
120
+ --vx-button-circle-radius: 24px;
121
+ --vx-button-disabled-pill-opacity: 0.5;
122
+ --vx-button-trailing-gap: 2px;
123
+ --vx-button-pill-small-padding: 16px;
124
+ --vx-button-pill-small-gap: 4px;
125
+ --vx-button-focus-width: 2px;
126
+ --vx-button-focus-offset: 3px;
127
+ --vx-button-on-content-icon-size: 14px;
128
+ --vx-button-24-height: 24px;
129
+ --vx-button-24-icon-size: 14px;
130
+ --vx-button-24-radius: 6px;
131
+ --vx-button-24-padding-x: 0px;
132
+ --vx-button-24-gap: 6px;
133
+ --vx-button-24-font-size: 14px;
134
+ --vx-button-24-line-height: 18px;
135
+ --vx-button-32-height: 32px;
136
+ --vx-button-32-icon-size: 16px;
137
+ --vx-button-32-radius: 6px;
138
+ --vx-button-32-padding-x: 12px;
139
+ --vx-button-32-gap: 6px;
140
+ --vx-button-32-font-size: 14px;
141
+ --vx-button-32-line-height: 18px;
142
+ --vx-button-40-height: 40px;
143
+ --vx-button-40-icon-size: 18px;
144
+ --vx-button-40-radius: 8px;
145
+ --vx-button-40-padding-x: 16px;
146
+ --vx-button-40-gap: 8px;
147
+ --vx-button-40-font-size: 14px;
148
+ --vx-button-40-line-height: 18px;
149
+ --vx-button-44-height: 44px;
150
+ --vx-button-44-icon-size: 18px;
151
+ --vx-button-44-radius: 8px;
152
+ --vx-button-44-padding-x: 24px;
153
+ --vx-button-44-gap: 8px;
154
+ --vx-button-44-font-size: 16px;
155
+ --vx-button-44-line-height: 21px;
156
+ --vx-button-48-height: 48px;
157
+ --vx-button-48-icon-size: 20px;
158
+ --vx-button-48-radius: 8px;
159
+ --vx-button-48-padding-x: 24px;
160
+ --vx-button-48-gap: 8px;
161
+ --vx-button-48-font-size: 16px;
162
+ --vx-button-48-line-height: 21px;
163
+ --vx-typography-inter-14-medium: normal 500 14px/18px var(--vx-font-inter);
164
+ --vx-typography-inter-14-medium-tracking: 0px;
165
+ --vx-typography-inter-10-semi-bold: normal 600 10px/13px var(--vx-font-inter);
166
+ --vx-typography-inter-12-regular: normal 400 12px/16px var(--vx-font-inter);
167
+ --vx-typography-inter-12-semi-bold: normal 600 12px/16px var(--vx-font-inter);
168
+ --vx-typography-inter-12-medium: normal 500 12px/16px var(--vx-font-inter);
169
+ --vx-typography-inter-12-medium-tracking: 0px;
170
+ --vx-typography-inter-14-regular: normal 400 14px/18px var(--vx-font-inter);
171
+ --vx-typography-inter-14-semi-bold: normal 600 14px/18px var(--vx-font-inter);
172
+ --vx-typography-inter-16-regular: normal 400 16px/21px var(--vx-font-inter);
173
+ --vx-typography-inter-16-semi-bold: normal 600 16px/21px var(--vx-font-inter);
174
+ --vx-typography-inter-16-medium: normal 500 16px/21px var(--vx-font-inter);
175
+ --vx-typography-inter-16-medium-tracking: 0px;
176
+ --vx-typography-inter-18-regular: normal 400 18px/23px var(--vx-font-inter);
177
+ --vx-typography-inter-18-bold: normal 700 18px/23px var(--vx-font-inter);
178
+ --vx-typography-inter-18-semi-bold: normal 600 18px/23px var(--vx-font-inter);
179
+ --vx-typography-inter-18-medium: normal 500 18px/23px var(--vx-font-inter);
180
+ --vx-typography-inter-18-medium-tracking: 0px;
181
+ color: var(--vx-text-primary);
182
+ font: var(--vx-typography-inter-14-regular);
183
+ }
184
+ [data-vx-theme=light] {
185
+ color-scheme: light;
186
+ --vx-background-page: var(--vx-warm-neutral-01);
187
+ --vx-background-dialog: var(--vx-white-white);
188
+ --vx-surface-selected: var(--vx-warm-neutral-05);
189
+ --vx-surface-message: var(--vx-warm-neutral-04);
190
+ --vx-surface-tool-result: var(--vx-warm-neutral-02);
191
+ --vx-surface-input: var(--vx-warm-neutral-03);
192
+ --vx-surface-hover: var(--vx-warm-neutral-03);
193
+ --vx-surface-input-transparency: rgb(241 238 234 / 90%);
194
+ --vx-text-brand-display: rgb(30 38 32 / 90%);
195
+ --vx-text-primary: var(--vx-neutral-01);
196
+ --vx-text-secondary: var(--vx-warm-neutral-08);
197
+ --vx-text-secondary-readable: color-mix( in srgb, var(--vx-warm-neutral-09) 90%, var(--vx-text-primary) );
198
+ --vx-control-border: var(--vx-warm-neutral-09);
199
+ --vx-text-tertiary: var(--vx-warm-neutral-07);
200
+ --vx-text-muted: var(--vx-warm-neutral-06);
201
+ --vx-text-placeholder: var(--vx-warm-neutral-07);
202
+ --vx-text-inverse: var(--vx-white-white);
203
+ --vx-text-subtle-black: var(--vx-neutral-01);
204
+ --vx-text-subtle-white: var(--vx-white-white);
205
+ --vx-text-on-content-primary: var(--vx-white-white);
206
+ --vx-text-on-content-secondary: var(--vx-white-white-7a);
207
+ --vx-icon-primary: var(--vx-neutral-01);
208
+ --vx-icon-secondary: var(--vx-warm-neutral-08);
209
+ --vx-icon-tertiary: var(--vx-warm-neutral-07);
210
+ --vx-icon-muted: var(--vx-warm-neutral-06);
211
+ --vx-icon-placeholder: var(--vx-warm-neutral-07);
212
+ --vx-icon-inverse: var(--vx-white-white);
213
+ --vx-icon-subtle-black: var(--vx-neutral-01);
214
+ --vx-icon-subtle-white: var(--vx-white-white);
215
+ --vx-icon-on-content-primary: var(--vx-white-white);
216
+ --vx-icon-on-content-secondary: var(--vx-white-white-7a);
217
+ --vx-border-primary: var(--vx-warm-neutral-06);
218
+ --vx-border-secondary: var(--vx-warm-neutral-05);
219
+ --vx-border-inverse: var(--vx-neutral-01);
220
+ --vx-border-on-content: var(--vx-white-white);
221
+ --vx-state-danger: var(--vx-red-light);
222
+ --vx-state-warning: var(--vx-orange-light);
223
+ --vx-state-assistance: var(--vx-blue-light);
224
+ --vx-state-success: var(--vx-green-green);
225
+ --vx-overlay-media-control: var(--vx-black-black-8a);
226
+ --vx-overlay-mask: var(--vx-black-black-6a);
227
+ --vx-overlay-dialog: var(--vx-white-white-8a);
228
+ --vx-overlay-tag: rgb(149 149 149 / 40%);
229
+ }
230
+ [data-vx-theme=dark] {
231
+ color-scheme: dark;
232
+ --vx-background-page: var(--vx-dark-neutral-01);
233
+ --vx-background-dialog: var(--vx-dark-neutral-02);
234
+ --vx-surface-selected: var(--vx-dark-neutral-05);
235
+ --vx-surface-message: var(--vx-dark-neutral-04);
236
+ --vx-surface-tool-result: var(--vx-dark-neutral-02);
237
+ --vx-surface-input: var(--vx-dark-neutral-03);
238
+ --vx-surface-hover: var(--vx-dark-neutral-03);
239
+ --vx-surface-input-transparency: rgb(40 36 32 / 90%);
240
+ --vx-text-brand-display: var(--vx-warm-neutral-01);
241
+ --vx-text-primary: var(--vx-dark-neutral-09);
242
+ --vx-text-secondary: var(--vx-dark-neutral-08);
243
+ --vx-text-secondary-readable: var(--vx-text-secondary);
244
+ --vx-control-border: var(--vx-dark-neutral-07);
245
+ --vx-text-tertiary: var(--vx-dark-neutral-07);
246
+ --vx-text-muted: var(--vx-dark-neutral-06);
247
+ --vx-text-placeholder: var(--vx-dark-neutral-07);
248
+ --vx-text-inverse: var(--vx-black-black);
249
+ --vx-text-subtle-black: var(--vx-neutral-01);
250
+ --vx-text-subtle-white: var(--vx-white-white);
251
+ --vx-text-on-content-primary: var(--vx-white-white);
252
+ --vx-text-on-content-secondary: var(--vx-white-white-7a);
253
+ --vx-icon-primary: var(--vx-dark-neutral-09);
254
+ --vx-icon-secondary: var(--vx-dark-neutral-08);
255
+ --vx-icon-tertiary: var(--vx-dark-neutral-07);
256
+ --vx-icon-muted: var(--vx-dark-neutral-06);
257
+ --vx-icon-placeholder: var(--vx-dark-neutral-07);
258
+ --vx-icon-inverse: var(--vx-black-black);
259
+ --vx-icon-subtle-black: var(--vx-neutral-01);
260
+ --vx-icon-subtle-white: var(--vx-white-white);
261
+ --vx-icon-on-content-primary: var(--vx-white-white);
262
+ --vx-icon-on-content-secondary: var(--vx-white-white-7a);
263
+ --vx-border-primary: var(--vx-dark-neutral-06);
264
+ --vx-border-secondary: var(--vx-dark-neutral-05);
265
+ --vx-border-inverse: var(--vx-warm-neutral-01);
266
+ --vx-border-on-content: var(--vx-white-white);
267
+ --vx-state-danger: var(--vx-red-dark);
268
+ --vx-state-warning: var(--vx-orange-dark);
269
+ --vx-state-assistance: var(--vx-blue-dark);
270
+ --vx-state-success: var(--vx-green-dark);
271
+ --vx-overlay-media-control: var(--vx-black-black-8a);
272
+ --vx-overlay-mask: var(--vx-black-black-7a);
273
+ --vx-overlay-dialog: var(--vx-black-black-8a);
274
+ --vx-overlay-tag: rgb(149 149 149 / 40%);
275
+ }
276
+ @scope ([data-vx-theme]) {
277
+ .vx-button[data-size="24"] {
278
+ --vx-button-height: var(--vx-button-24-height);
279
+ --vx-button-icon-size: var(--vx-button-24-icon-size);
280
+ --vx-button-radius: var(--vx-button-24-radius);
281
+ --vx-button-padding-x: var(--vx-button-24-padding-x);
282
+ --vx-button-gap: var(--vx-button-24-gap);
283
+ --vx-button-font-size: var(--vx-button-24-font-size);
284
+ --vx-button-line-height: var(--vx-button-24-line-height);
285
+ }
286
+ .vx-button[data-size="32"] {
287
+ --vx-button-height: var(--vx-button-32-height);
288
+ --vx-button-icon-size: var(--vx-button-32-icon-size);
289
+ --vx-button-radius: var(--vx-button-32-radius);
290
+ --vx-button-padding-x: var(--vx-button-32-padding-x);
291
+ --vx-button-gap: var(--vx-button-32-gap);
292
+ --vx-button-font-size: var(--vx-button-32-font-size);
293
+ --vx-button-line-height: var(--vx-button-32-line-height);
294
+ }
295
+ .vx-button[data-size="40"] {
296
+ --vx-button-height: var(--vx-button-40-height);
297
+ --vx-button-icon-size: var(--vx-button-40-icon-size);
298
+ --vx-button-radius: var(--vx-button-40-radius);
299
+ --vx-button-padding-x: var(--vx-button-40-padding-x);
300
+ --vx-button-gap: var(--vx-button-40-gap);
301
+ --vx-button-font-size: var(--vx-button-40-font-size);
302
+ --vx-button-line-height: var(--vx-button-40-line-height);
303
+ }
304
+ .vx-button[data-size="44"] {
305
+ --vx-button-height: var(--vx-button-44-height);
306
+ --vx-button-icon-size: var(--vx-button-44-icon-size);
307
+ --vx-button-radius: var(--vx-button-44-radius);
308
+ --vx-button-padding-x: var(--vx-button-44-padding-x);
309
+ --vx-button-gap: var(--vx-button-44-gap);
310
+ --vx-button-font-size: var(--vx-button-44-font-size);
311
+ --vx-button-line-height: var(--vx-button-44-line-height);
312
+ }
313
+ .vx-button[data-size="48"] {
314
+ --vx-button-height: var(--vx-button-48-height);
315
+ --vx-button-icon-size: var(--vx-button-48-icon-size);
316
+ --vx-button-radius: var(--vx-button-48-radius);
317
+ --vx-button-padding-x: var(--vx-button-48-padding-x);
318
+ --vx-button-gap: var(--vx-button-48-gap);
319
+ --vx-button-font-size: var(--vx-button-48-font-size);
320
+ --vx-button-line-height: var(--vx-button-48-line-height);
321
+ }
322
+ }
323
+
324
+ /* packages/ui-system/dist/button.css */
325
+ @scope ([data-vx-theme]) {
326
+ .vx-button {
327
+ box-sizing: border-box;
328
+ position: relative;
329
+ display: inline-flex;
330
+ align-items: center;
331
+ justify-content: center;
332
+ vertical-align: middle;
333
+ flex-shrink: 0;
334
+ height: var(--vx-button-height);
335
+ width: var(--vx-button-width, max-content);
336
+ max-width: 100%;
337
+ padding: 0 var(--vx-button-padding-x);
338
+ border: 0 solid transparent;
339
+ border-radius: var(--vx-button-radius);
340
+ background: var(--vx-button-background, transparent);
341
+ color: var(--vx-button-foreground, var(--vx-text-primary));
342
+ font: var(--vx-typography-inter-14-medium);
343
+ font-size: var(--vx-button-font-size);
344
+ line-height: var(--vx-button-line-height);
345
+ letter-spacing: 0;
346
+ white-space: nowrap;
347
+ cursor: pointer;
348
+ appearance: none;
349
+ }
350
+ .vx-button-content {
351
+ display: inline-flex;
352
+ align-items: center;
353
+ justify-content: center;
354
+ gap: var(--vx-button-gap);
355
+ min-width: 0;
356
+ max-width: 100%;
357
+ }
358
+ .vx-button-label {
359
+ overflow: hidden;
360
+ text-overflow: ellipsis;
361
+ }
362
+ .vx-button-trailing {
363
+ margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
364
+ }
365
+ .vx-button[data-width=full] {
366
+ width: 100%;
367
+ }
368
+ .vx-button[data-width=hug] {
369
+ width: max-content;
370
+ }
371
+ .vx-button[data-appearance=filled] {
372
+ --vx-button-background: var(--vx-text-primary);
373
+ --vx-button-foreground: var(--vx-text-inverse);
374
+ }
375
+ .vx-button[data-appearance=tonal] {
376
+ --vx-button-background: var(--vx-surface-input);
377
+ }
378
+ .vx-button[data-appearance=on-content] {
379
+ --vx-button-background: var(--vx-overlay-tag);
380
+ --vx-button-foreground: var(--vx-text-on-content-primary);
381
+ }
382
+ .vx-button[data-variant=text-on-content-sm] {
383
+ --vx-button-background: var(--vx-overlay-media-control);
384
+ }
385
+ .vx-button[data-variant=text-on-content-sm]:hover:not(:disabled) {
386
+ --vx-button-background: var(--vx-black-black-6a);
387
+ }
388
+ .vx-button[data-variant=text-on-content-sm]:focus-visible {
389
+ outline-color: var(--vx-border-on-content);
390
+ }
391
+ .vx-button[data-appearance=on-content][data-state=disabled] {
392
+ --vx-button-foreground: var(--vx-text-on-content-secondary);
393
+ }
394
+ .vx-button[data-appearance=outline] {
395
+ border-width: var(--vx-button-border-width);
396
+ border-color: var(--vx-border-secondary);
397
+ }
398
+ .vx-button[data-appearance=plain] {
399
+ --vx-button-background: var(--vx-background-dialog);
400
+ }
401
+ .vx-button[data-shape=pill] {
402
+ border-radius: var(--vx-button-pill-radius);
403
+ }
404
+ .vx-button[data-variant=pill-plain] {
405
+ box-shadow: var(--vx-shadow-button);
406
+ }
407
+ .vx-button[data-variant=pill-small] {
408
+ --vx-button-background: var(--vx-text-on-content-primary);
409
+ --vx-button-foreground: var(--vx-text-subtle-black);
410
+ --vx-button-padding-x: var(--vx-button-pill-small-padding);
411
+ --vx-button-gap: var(--vx-button-pill-small-gap);
412
+ }
413
+ .vx-button:is([data-shape=icon], [data-shape=circle]) {
414
+ width: var(--vx-button-height);
415
+ padding: 0;
416
+ }
417
+ .vx-button[data-shape=circle] {
418
+ border-radius: var(--vx-button-circle-radius);
419
+ }
420
+ .vx-button[data-appearance=ghost]:not([data-size="40"]) {
421
+ border-radius: var(--vx-button-32-radius);
422
+ }
423
+ .vx-button:hover:not(:disabled):is([data-appearance=filled], [data-variant=text-tonal-md], [data-variant=text-tonal-lg]) {
424
+ background-image: linear-gradient(var(--vx-white-white-1a), var(--vx-white-white-1a));
425
+ }
426
+ .vx-button[data-appearance=ghost]:hover:not(:disabled) {
427
+ --vx-button-background: var(--vx-surface-hover);
428
+ }
429
+ .vx-button:focus-visible {
430
+ outline: var(--vx-button-focus-width) solid var(--vx-state-assistance);
431
+ outline-offset: var(--vx-button-focus-offset);
432
+ }
433
+ .vx-button:active:not(:disabled) {
434
+ filter: brightness(0.96);
435
+ }
436
+ .vx-button:disabled {
437
+ cursor: not-allowed;
438
+ }
439
+ .vx-button[data-state=disabled] {
440
+ --vx-button-foreground: var(--vx-text-placeholder);
441
+ }
442
+ .vx-button[data-state=disabled]:is([data-appearance=filled], [data-appearance=tonal]):not([data-shape=pill]) {
443
+ --vx-button-background: var(--vx-surface-input);
444
+ }
445
+ .vx-button[data-state=disabled][data-shape=pill] {
446
+ opacity: var(--vx-button-disabled-pill-opacity);
447
+ --vx-button-foreground: var(--vx-text-primary);
448
+ }
449
+ .vx-button[data-state=disabled][data-variant=pill-filled] {
450
+ --vx-button-foreground: var(--vx-text-inverse);
451
+ }
452
+ .vx-button[data-state=disabled][data-variant=pill-small] {
453
+ --vx-button-foreground: var(--vx-text-subtle-black);
454
+ }
455
+ .vx-button-loading {
456
+ display: none;
457
+ position: absolute;
458
+ width: 16px;
459
+ height: 16px;
460
+ color: inherit;
461
+ background: currentColor;
462
+ mask: url("./assets/ea990-CZJXWICW.svg") center / contain no-repeat;
463
+ }
464
+ .vx-button[data-state=loading] {
465
+ cursor: progress;
466
+ }
467
+ .vx-button[data-state=loading] .vx-button-content {
468
+ visibility: hidden;
469
+ }
470
+ .vx-button[data-state=loading] .vx-button-loading {
471
+ display: block;
472
+ }
473
+ .vx-button[data-shape=text][data-size="44"] .vx-button-loading {
474
+ width: 20px;
475
+ height: 20px;
476
+ mask-image: url("./assets/369ca-BISNKZ3M.svg");
477
+ }
478
+ .vx-button[data-variant=text-tonal-lg] .vx-button-loading {
479
+ color: var(--vx-text-placeholder);
480
+ mask-image: url("./assets/483f0-T6ZAGTDG.svg");
481
+ }
482
+ .vx-button[data-variant=text-outline-lg] .vx-button-loading {
483
+ mask-image: url("./assets/b70bb-BTTOKPOH.svg");
484
+ }
485
+ .vx-button[data-variant=text-tonal-sm][data-state=loading] {
486
+ --vx-button-background: var(--vx-surface-selected);
487
+ }
488
+ .vx-button[data-variant=text-tonal-sm] .vx-button-loading {
489
+ color: var(--vx-icon-inverse);
490
+ }
491
+ .vx-button[data-variant=pill-plain] .vx-button-loading {
492
+ mask-image: url("./assets/b9919-3S3O6YOT.svg");
493
+ }
494
+ .vx-button[data-variant=pill-small] .vx-button-loading {
495
+ mask-image: url("./assets/dd163-3S3O6YOT.svg");
496
+ }
497
+ .vx-button[data-shape=circle] .vx-button-loading {
498
+ mask-image: url("./assets/dccd4-CZJXWICW.svg");
499
+ }
500
+ .vx-button[data-variant=icon-circle-lg] .vx-button-loading {
501
+ width: 18px;
502
+ height: 18px;
503
+ mask-image: url("./assets/6911b-ESLYKSC6.svg");
504
+ }
505
+ .vx-button[data-shape=icon] .vx-button-loading {
506
+ mask-image: url("./assets/b9919-3S3O6YOT.svg");
507
+ }
508
+ .vx-button[data-shape=icon][data-size="48"] .vx-button-loading {
509
+ width: 18px;
510
+ height: 18px;
511
+ mask-image: url("./assets/441bc-BCMNQ72W.svg");
512
+ }
513
+ .vx-button[data-shape=icon] .vx-button-loading::before {
514
+ content: "";
515
+ position: absolute;
516
+ top: 1px;
517
+ left: 1px;
518
+ width: 16px;
519
+ height: 16px;
520
+ background: currentColor;
521
+ mask: url("./assets/e8aed-CZJXWICW.svg") center / contain no-repeat;
522
+ }
523
+ .vx-button[data-shape=icon][data-size="32"][data-state=loading] {
524
+ --vx-button-background: var(--vx-background-dialog);
525
+ }
526
+ .vx-button[data-appearance=on-content] .vx-button-loading {
527
+ width: var(--vx-button-on-content-icon-size);
528
+ height: var(--vx-button-on-content-icon-size);
529
+ mask-image: url("./assets/35a50-G5EJUNOC.svg");
530
+ }
531
+ .vx-button[data-appearance=on-content] .vx-button-loading::before {
532
+ content: none;
533
+ }
534
+ }
535
+
536
+ /* packages/ui-system/dist/controls.css */
537
+ @scope ([data-vx-theme]) {
538
+ .vx-text {
539
+ margin: 0;
540
+ color: var(--vx-text-primary);
541
+ }
542
+ .vx-text[data-tone=secondary] {
543
+ color: var(--vx-text-secondary-readable);
544
+ }
545
+ .vx-divider {
546
+ display: inline-block;
547
+ flex: none;
548
+ width: 100%;
549
+ height: var(--vx-divider-width);
550
+ background: var(--vx-border-secondary);
551
+ }
552
+ .vx-divider[data-orientation=vertical] {
553
+ width: var(--vx-divider-width);
554
+ height: var(--vx-space-8);
555
+ }
556
+ .vx-checkbox {
557
+ display: inline-flex;
558
+ align-items: center;
559
+ gap: var(--vx-space-8);
560
+ position: relative;
561
+ width: fit-content;
562
+ min-height: var(--vx-space-24);
563
+ cursor: pointer;
564
+ vertical-align: middle;
565
+ }
566
+ .vx-checkbox[data-label-hidden] {
567
+ justify-content: center;
568
+ min-width: var(--vx-space-24);
569
+ }
570
+ .vx-checkbox-input,
571
+ .vx-segment input {
572
+ position: absolute;
573
+ inset: 0;
574
+ width: 100%;
575
+ height: 100%;
576
+ margin: 0;
577
+ opacity: 0;
578
+ cursor: inherit;
579
+ }
580
+ .vx-checkbox-mark {
581
+ --vx-checkbox-active: var(--vx-state-success);
582
+ --vx-checkbox-ink: var(--vx-text-on-content-primary);
583
+ display: inline-grid;
584
+ flex: none;
585
+ place-items: center;
586
+ box-sizing: border-box;
587
+ width: var(--vx-space-16);
588
+ height: var(--vx-space-16);
589
+ border: var(--vx-border-width) solid var(--vx-control-border);
590
+ border-radius: var(--vx-radius-sm);
591
+ background: var(--vx-surface-input);
592
+ color: var(--vx-checkbox-ink);
593
+ }
594
+ .vx-checkbox[data-appearance=on-content] .vx-checkbox-mark {
595
+ --vx-checkbox-active: var(--vx-border-on-content);
596
+ --vx-checkbox-ink: var(--vx-icon-subtle-black);
597
+ background: var(--vx-black-black-4a);
598
+ border-color: var(--vx-text-on-content-secondary);
599
+ }
600
+ .vx-checkbox-input:checked + .vx-checkbox-mark {
601
+ background: var(--vx-checkbox-active);
602
+ border-color: var(--vx-checkbox-active);
603
+ }
604
+ .vx-checkbox-mark > .vx-icon {
605
+ --vx-icon-size: var(--vx-icon-slot-small);
606
+ }
607
+ .vx-checkbox-input:not(:checked) + .vx-checkbox-mark > .vx-icon {
608
+ visibility: hidden;
609
+ }
610
+ .vx-checkbox-input:focus-visible + .vx-checkbox-mark {
611
+ outline: var(--vx-focus-ring-width) solid var(--vx-checkbox-active);
612
+ outline-offset: var(--vx-space-2);
613
+ }
614
+ .vx-checkbox:has(input:disabled),
615
+ .vx-segment label:has(input:disabled) {
616
+ cursor: not-allowed;
617
+ opacity: 0.5;
618
+ }
619
+ .vx-search-input,
620
+ .vx-dropdown-trigger {
621
+ display: inline-flex;
622
+ align-items: center;
623
+ gap: var(--vx-space-4);
624
+ box-sizing: border-box;
625
+ max-width: 100%;
626
+ border: 0;
627
+ border-radius: var(--vx-radius-md);
628
+ }
629
+ .vx-search-input {
630
+ width: var(--vx-input-width);
631
+ height: var(--vx-input-medium-height);
632
+ padding: var(--vx-space-8);
633
+ background: var(--vx-surface-input);
634
+ color: var(--vx-text-secondary-readable);
635
+ }
636
+ .vx-search-input[data-size=large] {
637
+ height: var(--vx-input-large-height);
638
+ padding-inline: var(--vx-space-12);
639
+ }
640
+ .vx-search-input:has(.vx-search-clear) {
641
+ padding-inline-end: var(--vx-space-4);
642
+ }
643
+ .vx-search-input[data-size=large]:has(.vx-search-clear) {
644
+ padding-inline-end: var(--vx-space-8);
645
+ }
646
+ .vx-search-input:has(input:focus-visible) {
647
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
648
+ outline-offset: var(--vx-space-2);
649
+ }
650
+ .vx-search-input:has(input:disabled) {
651
+ opacity: 0.5;
652
+ }
653
+ .vx-search-input:is(:hover, :focus-within):not(:has(input:disabled)) {
654
+ background: var(--vx-surface-selected);
655
+ }
656
+ .vx-search-input > [data-icon=search] {
657
+ transform: scaleY(-1);
658
+ }
659
+ .vx-search-input > input {
660
+ appearance: none;
661
+ flex: 1;
662
+ min-width: 0;
663
+ padding: 0;
664
+ border: 0;
665
+ outline: none;
666
+ background: transparent;
667
+ color: var(--vx-text-primary);
668
+ font: var(--vx-typography-inter-14-regular);
669
+ caret-color: var(--vx-state-success);
670
+ }
671
+ .vx-search-input[data-size=large] > input {
672
+ font: var(--vx-typography-inter-16-regular);
673
+ }
674
+ .vx-search-input > input::placeholder {
675
+ color: var(--vx-text-secondary-readable);
676
+ opacity: 1;
677
+ }
678
+ .vx-search-input input::-webkit-search-cancel-button {
679
+ appearance: none;
680
+ }
681
+ .vx-search-input .vx-search-clear {
682
+ width: var(--vx-space-24);
683
+ height: var(--vx-space-24);
684
+ border-radius: var(--vx-radius-full);
685
+ color: var(--vx-text-secondary-readable);
686
+ }
687
+ .vx-dropdown {
688
+ position: relative;
689
+ display: inline-block;
690
+ width: var(--vx-dropdown-width);
691
+ max-width: 100%;
692
+ }
693
+ .vx-dropdown[data-width=hug] {
694
+ width: max-content;
695
+ }
696
+ .vx-dropdown[data-width=hug] .vx-dropdown-trigger {
697
+ padding-block: var(--vx-space-8);
698
+ }
699
+ .vx-dropdown[data-width=hug] [role=listbox] {
700
+ box-sizing: border-box;
701
+ width: min(var(--vx-menu-width), calc(100vw - var(--vx-space-16)));
702
+ inset-inline-start: auto;
703
+ margin-block-start: var(--vx-space-6);
704
+ }
705
+ .vx-dropdown[data-width=hug] [role=option] {
706
+ box-sizing: border-box;
707
+ padding: var(--vx-space-8) var(--vx-space-12);
708
+ border-radius: var(--vx-radius-lg);
709
+ font: var(--vx-typography-inter-14-regular);
710
+ }
711
+ .vx-dropdown[data-width=hug] [role=option] + [role=option] {
712
+ margin-block-start: var(--vx-space-2);
713
+ }
714
+ .vx-dropdown[data-width=hug] [role=option][aria-selected=true] {
715
+ background: var(--vx-surface-input);
716
+ font-weight: 400;
717
+ }
718
+ .vx-dropdown [role=option] > [data-icon=check] {
719
+ margin-inline-start: auto;
720
+ color: var(--vx-state-success);
721
+ }
722
+ .vx-dropdown-trigger {
723
+ width: 100%;
724
+ height: var(--vx-dropdown-medium-height);
725
+ padding-inline: var(--vx-space-10) var(--vx-space-8);
726
+ background: transparent;
727
+ color: var(--vx-text-primary);
728
+ font: var(--vx-typography-inter-14-semi-bold);
729
+ cursor: pointer;
730
+ }
731
+ .vx-dropdown[data-size=mini] .vx-dropdown-trigger {
732
+ height: var(--vx-dropdown-mini-height);
733
+ padding-inline: var(--vx-space-8) var(--vx-space-6);
734
+ border-radius: var(--vx-radius-sm);
735
+ }
736
+ .vx-dropdown[data-size=large] .vx-dropdown-trigger {
737
+ height: var(--vx-dropdown-large-height);
738
+ padding-inline: var(--vx-space-12) var(--vx-space-10);
739
+ border-radius: var(--vx-radius-lg);
740
+ font: var(--vx-typography-inter-16-semi-bold);
741
+ }
742
+ .vx-dropdown-trigger > .vx-icon {
743
+ --vx-icon-size: var(--vx-icon-slot-medium);
744
+ color: var(--vx-text-secondary-readable);
745
+ }
746
+ .vx-dropdown-trigger:hover:not(:disabled) {
747
+ background: var(--vx-surface-hover);
748
+ }
749
+ .vx-dropdown-trigger[aria-expanded=true] {
750
+ background: var(--vx-surface-selected);
751
+ }
752
+ .vx-dropdown-trigger:disabled {
753
+ color: var(--vx-text-placeholder);
754
+ cursor: not-allowed;
755
+ }
756
+ .vx-dropdown[data-appearance=field] {
757
+ width: 100%;
758
+ min-width: 0;
759
+ }
760
+ .vx-dropdown[data-appearance=field] .vx-dropdown-trigger {
761
+ padding: 0 var(--vx-space-10);
762
+ background: var(--vx-surface-input);
763
+ font: var(--vx-typography-inter-14-regular);
764
+ }
765
+ .vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
766
+ background: var(--vx-surface-selected);
767
+ }
768
+ .vx-dropdown-value {
769
+ display: inline-flex;
770
+ align-items: center;
771
+ min-width: 0;
772
+ gap: var(--vx-space-4);
773
+ }
774
+ .vx-dropdown-value > span:last-child {
775
+ overflow: hidden;
776
+ white-space: nowrap;
777
+ text-overflow: ellipsis;
778
+ }
779
+ .vx-dropdown [role=listbox] {
780
+ position: absolute;
781
+ z-index: 1;
782
+ inset-inline: 0;
783
+ margin: var(--vx-space-4) 0 0;
784
+ max-height: min(15rem, 50vh);
785
+ overflow: auto;
786
+ padding: var(--vx-space-4);
787
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
788
+ border-radius: var(--vx-radius-xl);
789
+ background: var(--vx-background-dialog);
790
+ box-shadow: var(--vx-shadow-menu);
791
+ list-style: none;
792
+ }
793
+ .vx-dropdown [role=option] {
794
+ display: flex;
795
+ align-items: center;
796
+ gap: var(--vx-space-8);
797
+ min-height: 36px;
798
+ padding-inline: var(--vx-space-8);
799
+ border-radius: var(--vx-radius-md);
800
+ overflow-wrap: anywhere;
801
+ cursor: pointer;
802
+ }
803
+ .vx-dropdown [role=option][aria-selected=true] {
804
+ font-weight: 600;
805
+ }
806
+ .vx-dropdown [role=option]:is([data-active=true], :hover):not([aria-disabled=true]) {
807
+ background: var(--vx-surface-hover);
808
+ }
809
+ .vx-dropdown [role=option][aria-disabled=true] {
810
+ color: var(--vx-text-placeholder);
811
+ cursor: not-allowed;
812
+ }
813
+ .vx-tabs,
814
+ .vx-tab-list,
815
+ .vx-tabs-actions,
816
+ .vx-segment {
817
+ display: flex;
818
+ align-items: stretch;
819
+ min-width: 0;
820
+ }
821
+ .vx-tabs,
822
+ .vx-tab-list {
823
+ gap: var(--vx-space-16);
824
+ }
825
+ .vx-tabs-actions {
826
+ align-items: center;
827
+ gap: var(--vx-space-4);
828
+ }
829
+ .vx-tabs {
830
+ height: var(--vx-tabs-primary-height);
831
+ }
832
+ .vx-tab-list {
833
+ flex: 1;
834
+ overflow-x: auto;
835
+ scrollbar-width: none;
836
+ }
837
+ .vx-tabs [role=tab] {
838
+ flex: none;
839
+ padding: var(--vx-space-16) 0 var(--vx-space-12);
840
+ border: 0;
841
+ border-bottom: var(--vx-space-2) solid transparent;
842
+ background: transparent;
843
+ color: var(--vx-text-secondary-readable);
844
+ font: var(--vx-typography-inter-16-semi-bold);
845
+ cursor: pointer;
846
+ white-space: nowrap;
847
+ }
848
+ .vx-tabs [role=tab][aria-selected=true] {
849
+ border-color: var(--vx-state-success);
850
+ color: var(--vx-state-success);
851
+ }
852
+ .vx-tabs [role=tab]:disabled {
853
+ opacity: 0.5;
854
+ cursor: not-allowed;
855
+ }
856
+ .vx-tabs[data-variant=secondary] {
857
+ box-sizing: border-box;
858
+ height: var(--vx-tabs-secondary-height);
859
+ padding-inline: var(--vx-space-16);
860
+ }
861
+ .vx-tabs[data-variant=secondary] [role=tab] {
862
+ padding: 0;
863
+ border: 0;
864
+ font: var(--vx-typography-inter-14-semi-bold);
865
+ }
866
+ .vx-tabs[data-variant=secondary] [role=tab][aria-selected=true] {
867
+ color: var(--vx-text-primary);
868
+ }
869
+ .vx-segment {
870
+ display: inline-flex;
871
+ box-sizing: border-box;
872
+ gap: var(--vx-space-2);
873
+ width: 430px;
874
+ max-width: 100%;
875
+ height: var(--vx-segment-medium-height);
876
+ overflow-x: auto;
877
+ scrollbar-width: none;
878
+ padding: var(--vx-space-2);
879
+ border-radius: var(--vx-radius-lg);
880
+ background: var(--vx-background-page);
881
+ color: var(--vx-text-primary);
882
+ }
883
+ .vx-segment[data-size=large] {
884
+ height: var(--vx-segment-large-height);
885
+ }
886
+ .vx-segment[data-width=full] {
887
+ width: 100%;
888
+ }
889
+ .vx-segment[data-width=hug],
890
+ .vx-segment[data-icon-only=true] {
891
+ width: max-content;
892
+ }
893
+ .vx-segment > label {
894
+ position: relative;
895
+ display: flex;
896
+ flex: 1 0 auto;
897
+ cursor: pointer;
898
+ }
899
+ .vx-segment-item {
900
+ display: inline-flex;
901
+ flex: 1;
902
+ justify-content: center;
903
+ align-items: center;
904
+ gap: var(--vx-space-4);
905
+ padding-inline: var(--vx-space-16);
906
+ border-radius: var(--vx-radius-md);
907
+ font: var(--vx-typography-inter-14-semi-bold);
908
+ white-space: nowrap;
909
+ }
910
+ .vx-segment[data-icon-only=true] .vx-segment-item {
911
+ min-width: 28px;
912
+ padding-inline: 0;
913
+ border-radius: var(--vx-radius-sm);
914
+ }
915
+ .vx-segment input:checked + .vx-segment-item {
916
+ background: var(--vx-background-dialog);
917
+ }
918
+ .vx-dropdown-trigger:focus-visible,
919
+ .vx-tabs [role=tab]:focus-visible,
920
+ .vx-segment input:focus-visible + .vx-segment-item {
921
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
922
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
923
+ }
924
+ @media (prefers-reduced-motion: no-preference) {
925
+ .vx-dropdown-trigger,
926
+ .vx-search-input {
927
+ transition: background-color var(--vx-motion-duration-fast) var(--vx-motion-easing-standard);
928
+ }
929
+ }
930
+ @media (forced-colors: active) {
931
+ .vx-icon::before {
932
+ forced-color-adjust: none;
933
+ background-color: CanvasText;
934
+ }
935
+ .vx-checkbox-mark,
936
+ .vx-segment-item {
937
+ border: var(--vx-border-width) solid ButtonText;
938
+ }
939
+ .vx-checkbox-input:checked + .vx-checkbox-mark,
940
+ .vx-segment input:checked + .vx-segment-item {
941
+ border-color: Highlight;
942
+ }
943
+ }
944
+ }
945
+ .vx-workspace-theme {
946
+ display: inline-flex;
947
+ align-items: center;
948
+ gap: var(--vx-space-4);
949
+ padding: 3px 8px;
950
+ min-height: 32px;
951
+ border: 1px solid var(--vx-border-secondary);
952
+ border-radius: 8px;
953
+ color: var(--vx-text-secondary-readable);
954
+ font: var(--vx-typography-inter-12-regular);
955
+ }
956
+ .vx-workspace-theme select {
957
+ border: 0;
958
+ background: transparent;
959
+ color: var(--vx-text-primary);
960
+ font: var(--vx-typography-inter-12-medium);
961
+ padding: 3px;
962
+ }
963
+
964
+ /* packages/ui-system/dist/field.css */
965
+ @scope ([data-vx-theme]) {
966
+ .vx-field,
967
+ .vx-slider {
968
+ display: grid;
969
+ gap: var(--vx-space-4);
970
+ min-width: 0;
971
+ color: var(--vx-text-primary);
972
+ }
973
+ .vx-field > input {
974
+ box-sizing: border-box;
975
+ width: 100%;
976
+ min-height: var(--vx-input-medium-height);
977
+ padding: var(--vx-space-4) var(--vx-space-8);
978
+ border: var(--vx-border-width) solid var(--vx-control-border);
979
+ border-radius: var(--vx-radius-md);
980
+ background: var(--vx-surface-input);
981
+ color: inherit;
982
+ font: inherit;
983
+ }
984
+ .vx-field[data-size=large] > input {
985
+ min-height: var(--vx-input-large-height);
986
+ }
987
+ .vx-date-picker {
988
+ display: inline-flex;
989
+ align-items: flex-start;
990
+ gap: var(--vx-space-4);
991
+ max-width: 100%;
992
+ }
993
+ .vx-date-picker[data-variant=dropdown] {
994
+ display: flex;
995
+ width: 100%;
996
+ }
997
+ .vx-date-picker .vx-field > span:empty {
998
+ display: none;
999
+ }
1000
+ .vx-date-calendar {
1001
+ box-sizing: border-box;
1002
+ width: min(320px, calc(100vw - 16px));
1003
+ max-height: calc(100dvh - 16px);
1004
+ overflow: auto;
1005
+ inset: auto;
1006
+ position-area: bottom span-right;
1007
+ position-try-fallbacks:
1008
+ flip-inline,
1009
+ flip-block,
1010
+ flip-block flip-inline;
1011
+ margin: var(--vx-space-4) 0;
1012
+ padding: var(--vx-space-8);
1013
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
1014
+ border-radius: var(--vx-radius-xl);
1015
+ background: var(--vx-background-dialog);
1016
+ color: var(--vx-text-primary);
1017
+ box-shadow: var(--vx-shadow-menu);
1018
+ }
1019
+ .vx-date-header {
1020
+ display: flex;
1021
+ justify-content: space-between;
1022
+ align-items: center;
1023
+ gap: var(--vx-space-4);
1024
+ }
1025
+ .vx-date-header > select {
1026
+ min-width: 0;
1027
+ background: var(--vx-surface-input);
1028
+ color: inherit;
1029
+ border: var(--vx-border-width) solid var(--vx-control-border);
1030
+ border-radius: var(--vx-radius-sm);
1031
+ font: inherit;
1032
+ }
1033
+ .vx-date-grid {
1034
+ width: 100%;
1035
+ table-layout: fixed;
1036
+ text-align: center;
1037
+ font: var(--vx-typography-inter-12-medium);
1038
+ }
1039
+ .vx-date-grid td > button {
1040
+ width: 100%;
1041
+ min-height: 32px;
1042
+ border: 0;
1043
+ border-radius: var(--vx-radius-md);
1044
+ background: transparent;
1045
+ color: inherit;
1046
+ font: inherit;
1047
+ cursor: pointer;
1048
+ }
1049
+ .vx-date-grid td > button[data-outside=true] {
1050
+ color: var(--vx-text-secondary-readable);
1051
+ }
1052
+ .vx-date-grid td > button:disabled {
1053
+ color: var(--vx-text-placeholder);
1054
+ cursor: not-allowed;
1055
+ }
1056
+ .vx-date-grid td > button:hover:not(:disabled) {
1057
+ background: var(--vx-surface-hover);
1058
+ }
1059
+ .vx-date-grid td[aria-selected=true] > button {
1060
+ background: var(--vx-surface-selected);
1061
+ font-weight: 600;
1062
+ }
1063
+ .vx-date-grid td > button:focus-visible {
1064
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1065
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
1066
+ }
1067
+ .vx-field > input:disabled,
1068
+ .vx-slider > input:disabled {
1069
+ cursor: not-allowed;
1070
+ opacity: 0.5;
1071
+ }
1072
+ .vx-field > input:focus-visible,
1073
+ .vx-slider > input:focus-visible {
1074
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1075
+ outline-offset: var(--vx-space-2);
1076
+ }
1077
+ .vx-slider-heading {
1078
+ display: flex;
1079
+ justify-content: space-between;
1080
+ gap: var(--vx-space-8);
1081
+ }
1082
+ .vx-slider > input,
1083
+ .vx-playback-controls > input {
1084
+ accent-color: var(--vx-state-success);
1085
+ min-width: 0;
1086
+ margin: 0;
1087
+ }
1088
+ }
1089
+
1090
+ /* packages/ui-system/dist/inline-text.css */
1091
+ @scope ([data-vx-theme]) {
1092
+ .vx-inline-text {
1093
+ cursor: text;
1094
+ border-radius: var(--vx-radius-xs, 4px);
1095
+ outline: none;
1096
+ min-width: 0;
1097
+ min-height: 1lh;
1098
+ overflow-wrap: anywhere;
1099
+ }
1100
+ .vx-inline-text[aria-multiline=true] {
1101
+ white-space: pre-wrap;
1102
+ }
1103
+ .vx-inline-text:not([aria-readonly=true]):hover {
1104
+ background: var(--vx-surface-hover);
1105
+ }
1106
+ .vx-inline-text:focus {
1107
+ background: var(--vx-surface-input);
1108
+ outline: var(--vx-focus-ring-width, 2px) solid var(--vx-state-success);
1109
+ outline-offset: var(--vx-space-2);
1110
+ }
1111
+ .vx-inline-text:empty::before {
1112
+ content: attr(data-placeholder);
1113
+ color: var(--vx-text-secondary);
1114
+ pointer-events: none;
1115
+ }
1116
+ }
1117
+
1118
+ /* packages/ui-system/dist/media.css */
1119
+ @scope ([data-vx-theme]) {
1120
+ .vx-tag {
1121
+ display: inline-flex;
1122
+ align-items: center;
1123
+ min-height: 16px;
1124
+ padding-inline: var(--vx-space-4);
1125
+ border-radius: 3px;
1126
+ background: var(--vx-overlay-tag);
1127
+ color: var(--vx-text-on-content-primary);
1128
+ font: var(--vx-typography-inter-10-semi-bold);
1129
+ white-space: nowrap;
1130
+ }
1131
+ .vx-tag[data-variant=selected] {
1132
+ background: var(--vx-state-success);
1133
+ }
1134
+ .vx-tag[data-variant=subtle] {
1135
+ background: var(--vx-surface-message);
1136
+ color: var(--vx-text-secondary-readable);
1137
+ }
1138
+ .vx-tag[data-variant=neutral] {
1139
+ background: var(--vx-surface-input);
1140
+ color: var(--vx-text-primary);
1141
+ }
1142
+ .vx-media {
1143
+ position: relative;
1144
+ display: grid;
1145
+ place-items: center;
1146
+ box-sizing: border-box;
1147
+ width: 100%;
1148
+ min-width: 0;
1149
+ overflow: hidden;
1150
+ padding: 0;
1151
+ border: 0;
1152
+ border-radius: var(--vx-radius-lg);
1153
+ background: #000;
1154
+ color: var(--vx-text-on-content-primary);
1155
+ font: inherit;
1156
+ }
1157
+ .vx-media:is([data-empty=surface], [data-empty=audio]) {
1158
+ background: var(--vx-surface-input);
1159
+ color: var(--vx-text-primary);
1160
+ }
1161
+ button.vx-media {
1162
+ cursor: pointer;
1163
+ }
1164
+ button.vx-media:disabled {
1165
+ cursor: wait;
1166
+ }
1167
+ button.vx-media:focus-visible {
1168
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1169
+ outline-offset: var(--vx-space-2);
1170
+ }
1171
+ .vx-media > :is(img, video),
1172
+ .vx-video-stage > :is(img, video) {
1173
+ position: absolute;
1174
+ inset: 0;
1175
+ width: 100%;
1176
+ height: 100%;
1177
+ object-fit: contain;
1178
+ }
1179
+ .vx-media > video {
1180
+ pointer-events: none;
1181
+ }
1182
+ .vx-media-empty-label {
1183
+ color: var(--vx-text-secondary-readable);
1184
+ font: var(--vx-typography-inter-12-regular);
1185
+ padding: var(--vx-space-8);
1186
+ }
1187
+ .vx-media[data-state=selected][data-selection=outline]::after {
1188
+ position: absolute;
1189
+ inset: 0;
1190
+ border: 3px solid var(--vx-state-success);
1191
+ border-radius: inherit;
1192
+ content: "";
1193
+ pointer-events: none;
1194
+ }
1195
+ .vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1196
+ position: absolute;
1197
+ z-index: 1;
1198
+ }
1199
+ .vx-media-label {
1200
+ inset: auto auto var(--vx-space-8) var(--vx-space-8);
1201
+ }
1202
+ .vx-media-duration {
1203
+ inset: auto var(--vx-space-8) var(--vx-space-8) auto;
1204
+ }
1205
+ .vx-media-selected {
1206
+ inset: var(--vx-space-8) auto auto var(--vx-space-8);
1207
+ }
1208
+ .vx-media-marker {
1209
+ inset: var(--vx-space-8) var(--vx-space-8) auto auto;
1210
+ display: grid;
1211
+ place-items: center;
1212
+ width: var(--vx-space-16);
1213
+ height: var(--vx-space-16);
1214
+ border: var(--vx-border-width) solid currentColor;
1215
+ border-radius: var(--vx-radius-sm);
1216
+ background: var(--vx-overlay-tag);
1217
+ }
1218
+ .vx-media-progress {
1219
+ position: absolute;
1220
+ inset: 0;
1221
+ display: grid;
1222
+ place-items: center;
1223
+ background: var(--vx-overlay-tag);
1224
+ color: var(--vx-text-on-content-primary);
1225
+ }
1226
+ .vx-media-import {
1227
+ display: grid;
1228
+ gap: var(--vx-space-4);
1229
+ border-radius: var(--vx-radius-md);
1230
+ }
1231
+ .vx-media-import[data-dragging=true] {
1232
+ outline: var(--vx-focus-ring-width) dashed var(--vx-state-assistance);
1233
+ }
1234
+ .vx-import-file,
1235
+ .vx-audio-preview,
1236
+ .vx-playback-controls {
1237
+ display: flex;
1238
+ align-items: center;
1239
+ gap: var(--vx-space-8);
1240
+ }
1241
+ .vx-import-file > span,
1242
+ .vx-audio-preview > div {
1243
+ flex: 1;
1244
+ min-width: 0;
1245
+ overflow-wrap: anywhere;
1246
+ }
1247
+ .vx-audio-preview,
1248
+ .vx-playback-controls {
1249
+ box-sizing: border-box;
1250
+ padding: var(--vx-space-4) var(--vx-space-8);
1251
+ border-radius: var(--vx-radius-lg);
1252
+ background: var(--vx-background-dialog);
1253
+ color: var(--vx-text-primary);
1254
+ }
1255
+ .vx-audio-preview p {
1256
+ margin: 0;
1257
+ color: var(--vx-text-secondary-readable);
1258
+ }
1259
+ .vx-audio-preview[data-variant=voice] {
1260
+ width: 360px;
1261
+ max-width: 100%;
1262
+ padding: var(--vx-space-12);
1263
+ gap: var(--vx-space-12);
1264
+ background: var(--vx-surface-input);
1265
+ }
1266
+ .vx-audio-preview[data-variant=voice] > div > span {
1267
+ font-size: 13px;
1268
+ font-weight: 600;
1269
+ }
1270
+ .vx-audio-preview[data-variant=voice] p,
1271
+ .vx-audio-preview[data-variant=voice] > span {
1272
+ font-size: 11px;
1273
+ line-height: 1.5;
1274
+ }
1275
+ .vx-audio-preview[data-variant=voice] .vx-inline-text:not(:focus) {
1276
+ white-space: nowrap;
1277
+ overflow: hidden;
1278
+ text-overflow: ellipsis;
1279
+ }
1280
+ .vx-audio-preview[data-variant=voice] .vx-button[data-shape=circle] {
1281
+ --vx-button-background: var(--vx-text-on-content-primary);
1282
+ --vx-button-foreground: var(--vx-text-subtle-black);
1283
+ }
1284
+ .vx-audio-preview[data-variant=voice] > span {
1285
+ flex-shrink: 0;
1286
+ color: var(--vx-text-secondary);
1287
+ }
1288
+ .vx-playback-controls {
1289
+ --vx-playback-button-size: 20px;
1290
+ --vx-playback-thumb-size: 8px;
1291
+ height: 44px;
1292
+ min-height: 44px;
1293
+ padding: var(--vx-space-12);
1294
+ gap: var(--vx-space-12);
1295
+ background: linear-gradient(transparent, var(--vx-black-black-2a));
1296
+ color: var(--vx-text-on-content-primary);
1297
+ }
1298
+ .vx-playback-controls[data-size=large] {
1299
+ --vx-playback-button-size: 24px;
1300
+ --vx-playback-thumb-size: 12px;
1301
+ height: 48px;
1302
+ min-height: 48px;
1303
+ }
1304
+ .vx-playback-controls > .vx-button {
1305
+ --vx-button-icon-size: var(--vx-playback-button-size);
1306
+ width: var(--vx-playback-button-size);
1307
+ height: var(--vx-playback-button-size);
1308
+ color: inherit;
1309
+ }
1310
+ .vx-playback-controls > input {
1311
+ appearance: none;
1312
+ flex: 1;
1313
+ min-width: 0;
1314
+ height: 24px;
1315
+ margin: 0;
1316
+ padding: 0;
1317
+ background: transparent;
1318
+ cursor: pointer;
1319
+ }
1320
+ .vx-playback-controls > input::-webkit-slider-runnable-track {
1321
+ height: var(--vx-playback-thumb-size);
1322
+ border-radius: var(--vx-radius-full);
1323
+ background:
1324
+ linear-gradient(
1325
+ to right,
1326
+ var(--vx-white-white-7a) var(--vx-playback-progress),
1327
+ var(--vx-overlay-tag) var(--vx-playback-progress));
1328
+ }
1329
+ .vx-playback-controls > input::-webkit-slider-thumb {
1330
+ appearance: none;
1331
+ box-sizing: border-box;
1332
+ width: var(--vx-playback-thumb-size);
1333
+ height: var(--vx-playback-thumb-size);
1334
+ border: 1px solid transparent;
1335
+ border-radius: 50%;
1336
+ background: var(--vx-white-white);
1337
+ background-clip: padding-box;
1338
+ }
1339
+ .vx-playback-controls > input::-moz-range-track {
1340
+ height: var(--vx-playback-thumb-size);
1341
+ border-radius: var(--vx-radius-full);
1342
+ background: var(--vx-overlay-tag);
1343
+ }
1344
+ .vx-playback-controls > input::-moz-range-progress {
1345
+ height: var(--vx-playback-thumb-size);
1346
+ border-radius: var(--vx-radius-full);
1347
+ background: var(--vx-white-white-7a);
1348
+ }
1349
+ .vx-playback-controls > input::-moz-range-thumb {
1350
+ box-sizing: border-box;
1351
+ width: var(--vx-playback-thumb-size);
1352
+ height: var(--vx-playback-thumb-size);
1353
+ border: 1px solid transparent;
1354
+ border-radius: 50%;
1355
+ background: var(--vx-white-white);
1356
+ background-clip: padding-box;
1357
+ }
1358
+ .vx-playback-controls > span {
1359
+ white-space: nowrap;
1360
+ font: var(--vx-typography-inter-12-medium);
1361
+ font-variant-numeric: tabular-nums;
1362
+ }
1363
+ .vx-video-player {
1364
+ container: vx-video-player / inline-size;
1365
+ position: relative;
1366
+ min-width: 0;
1367
+ overflow: hidden;
1368
+ background: #000;
1369
+ border-radius: var(--vx-radius-xl);
1370
+ }
1371
+ .vx-video-player[data-placement=below] > .vx-playback-controls {
1372
+ border-radius: 0;
1373
+ }
1374
+ .vx-video-stage {
1375
+ position: relative;
1376
+ aspect-ratio: 16 / 9;
1377
+ overflow: hidden;
1378
+ }
1379
+ .vx-video-player:fullscreen {
1380
+ display: grid;
1381
+ align-content: center;
1382
+ }
1383
+ .vx-video-player:fullscreen .vx-video-stage {
1384
+ max-height: 100dvh;
1385
+ }
1386
+ .vx-video-cover {
1387
+ position: absolute;
1388
+ inset: auto 0 0;
1389
+ display: flex;
1390
+ align-items: flex-end;
1391
+ gap: var(--vx-space-16);
1392
+ min-height: 68px;
1393
+ padding: var(--vx-space-20);
1394
+ color: var(--vx-text-on-content-primary);
1395
+ }
1396
+ .vx-video-cover::before {
1397
+ position: absolute;
1398
+ inset: 0;
1399
+ background: url("./assets/player-cover-shade-LLH6KOCQ.png") center / 100% 100% no-repeat;
1400
+ content: "";
1401
+ pointer-events: none;
1402
+ }
1403
+ .vx-video-info {
1404
+ position: relative;
1405
+ flex: 1;
1406
+ min-width: 0;
1407
+ }
1408
+ .vx-video-title {
1409
+ display: flex;
1410
+ align-items: center;
1411
+ gap: var(--vx-space-8);
1412
+ }
1413
+ .vx-video-title strong {
1414
+ overflow: hidden;
1415
+ text-overflow: ellipsis;
1416
+ white-space: nowrap;
1417
+ font: var(--vx-typography-inter-18-bold);
1418
+ }
1419
+ .vx-video-meta {
1420
+ display: flex;
1421
+ align-items: center;
1422
+ gap: var(--vx-space-4);
1423
+ margin-top: var(--vx-space-4);
1424
+ color: var(--vx-text-on-content-secondary);
1425
+ font: var(--vx-typography-inter-14-regular);
1426
+ }
1427
+ .vx-video-meta > span {
1428
+ min-width: 0;
1429
+ overflow: hidden;
1430
+ text-overflow: ellipsis;
1431
+ white-space: nowrap;
1432
+ }
1433
+ .vx-video-player .vx-video-start {
1434
+ --vx-button-background: var(--vx-text-on-content-primary);
1435
+ --vx-button-foreground: var(--vx-text-subtle-black);
1436
+ --vx-button-icon-size: 20px;
1437
+ position: relative;
1438
+ width: 36px;
1439
+ height: 36px;
1440
+ padding-left: 3px;
1441
+ }
1442
+ .vx-video-player[data-placement=overlay] > .vx-playback-controls {
1443
+ position: absolute;
1444
+ inset: auto 0 0;
1445
+ border-radius: 0;
1446
+ }
1447
+ @container vx-video-player (max-width: 336px) {
1448
+ .vx-video-meta {
1449
+ flex-direction: column;
1450
+ align-items: flex-start;
1451
+ gap: 0;
1452
+ }
1453
+ .vx-video-meta > [aria-hidden] {
1454
+ display: none;
1455
+ }
1456
+ }
1457
+ @media (max-width: 480px) {
1458
+ .vx-video-cover {
1459
+ padding: var(--vx-space-12);
1460
+ gap: var(--vx-space-8);
1461
+ }
1462
+ .vx-video-title {
1463
+ flex-wrap: wrap;
1464
+ gap: var(--vx-space-4);
1465
+ }
1466
+ .vx-video-title strong {
1467
+ font: var(--vx-typography-inter-14-semi-bold);
1468
+ }
1469
+ .vx-video-meta {
1470
+ font: var(--vx-typography-inter-10-regular);
1471
+ }
1472
+ }
1473
+ .vx-frame-range {
1474
+ position: relative;
1475
+ min-height: 80px;
1476
+ margin-inline: var(--vx-space-8);
1477
+ border-radius: var(--vx-radius-lg);
1478
+ background: var(--vx-black-black);
1479
+ }
1480
+ .vx-frame-range[data-variant=trim] {
1481
+ min-height: 48px;
1482
+ }
1483
+ .vx-frame-range > img {
1484
+ position: absolute;
1485
+ inset: 0;
1486
+ width: 100%;
1487
+ height: 100%;
1488
+ object-fit: cover;
1489
+ border-radius: inherit;
1490
+ }
1491
+ .vx-frame-selection {
1492
+ position: absolute;
1493
+ inset: 0 calc(100% - var(--vx-range-end)) 0 var(--vx-range-start);
1494
+ display: grid;
1495
+ place-items: center;
1496
+ border: 2px solid var(--vx-state-success);
1497
+ border-radius: inherit;
1498
+ pointer-events: none;
1499
+ }
1500
+ .vx-frame-handle {
1501
+ position: absolute;
1502
+ z-index: 1;
1503
+ top: 0;
1504
+ left: var(--vx-range-start);
1505
+ width: var(--vx-space-16);
1506
+ height: 100%;
1507
+ padding: 0;
1508
+ transform: translateX(-50%);
1509
+ border: 0;
1510
+ border-radius: var(--vx-radius-sm);
1511
+ background: var(--vx-state-success);
1512
+ touch-action: none;
1513
+ cursor: ew-resize;
1514
+ }
1515
+ .vx-frame-handle[data-edge=end] {
1516
+ left: var(--vx-range-end);
1517
+ }
1518
+ .vx-frame-handle:focus-visible {
1519
+ z-index: 2;
1520
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1521
+ }
1522
+ .vx-frame-handle::after {
1523
+ display: block;
1524
+ width: 4px;
1525
+ height: 12px;
1526
+ margin: auto;
1527
+ border-radius: var(--vx-radius-sm);
1528
+ background: var(--vx-text-on-content-primary);
1529
+ content: "";
1530
+ }
1531
+ }
1532
+ @scope ([data-vx-theme]) {
1533
+ .vx-media:is([data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
1534
+ background: var(--vx-surface-input);
1535
+ color: var(--vx-text-placeholder);
1536
+ }
1537
+ }
1538
+
1539
+ /* packages/ui-system/dist/overlays.css */
1540
+ @scope ([data-vx-theme]) {
1541
+ .vx-action-menu {
1542
+ display: inline-block;
1543
+ position: relative;
1544
+ max-width: 100%;
1545
+ }
1546
+ .vx-action-menu-items {
1547
+ position: absolute;
1548
+ z-index: 2;
1549
+ inset-inline-start: 0;
1550
+ top: calc(100% + var(--vx-space-4));
1551
+ box-sizing: border-box;
1552
+ width: min(224px, calc(100vw - 16px));
1553
+ max-height: min(480px, 50vh);
1554
+ overflow: auto;
1555
+ padding: var(--vx-space-4);
1556
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
1557
+ border-radius: var(--vx-radius-xl);
1558
+ background: var(--vx-background-dialog);
1559
+ box-shadow: var(--vx-shadow-menu);
1560
+ }
1561
+ .vx-action-menu-items > button {
1562
+ display: flex;
1563
+ align-items: center;
1564
+ gap: var(--vx-space-8);
1565
+ width: 100%;
1566
+ min-height: 36px;
1567
+ padding: var(--vx-space-4) var(--vx-space-8);
1568
+ border: 0;
1569
+ border-radius: var(--vx-radius-md);
1570
+ background: transparent;
1571
+ color: inherit;
1572
+ font: inherit;
1573
+ text-align: start;
1574
+ cursor: pointer;
1575
+ }
1576
+ .vx-action-menu-items > button[data-size=large] {
1577
+ min-height: 48px;
1578
+ }
1579
+ .vx-action-menu-items > button > span:not(.vx-icon) {
1580
+ flex: 1;
1581
+ overflow-wrap: anywhere;
1582
+ }
1583
+ .vx-action-menu-items > button:disabled {
1584
+ color: var(--vx-text-placeholder);
1585
+ cursor: not-allowed;
1586
+ }
1587
+ .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true]):not(:disabled) {
1588
+ background: var(--vx-surface-hover);
1589
+ }
1590
+ .vx-action-menu-items > button:focus-visible {
1591
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1592
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
1593
+ }
1594
+ .vx-filter-menu {
1595
+ box-sizing: border-box;
1596
+ width: min(280px, calc(100vw - 16px));
1597
+ max-height: min(480px, calc(100dvh - 16px));
1598
+ overflow: auto;
1599
+ inset: auto;
1600
+ position-area: bottom span-right;
1601
+ position-try-fallbacks:
1602
+ flip-inline,
1603
+ flip-block,
1604
+ flip-block flip-inline;
1605
+ margin: var(--vx-space-4) 0;
1606
+ padding: var(--vx-space-8);
1607
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
1608
+ border-radius: var(--vx-radius-xl);
1609
+ background: var(--vx-background-dialog);
1610
+ color: var(--vx-text-primary);
1611
+ box-shadow: var(--vx-shadow-menu);
1612
+ }
1613
+ .vx-filter-menu summary {
1614
+ padding: var(--vx-space-8);
1615
+ cursor: pointer;
1616
+ }
1617
+ .vx-filter-menu summary .vx-tag {
1618
+ margin-inline-start: var(--vx-space-8);
1619
+ }
1620
+ .vx-filter-options {
1621
+ display: grid;
1622
+ gap: var(--vx-space-4);
1623
+ padding: 0 var(--vx-space-8) var(--vx-space-8);
1624
+ }
1625
+ .vx-filter-menu > .vx-button {
1626
+ margin-top: var(--vx-space-8);
1627
+ }
1628
+ .vx-annotation-tools {
1629
+ display: inline-flex;
1630
+ align-items: center;
1631
+ gap: var(--vx-space-2);
1632
+ padding: var(--vx-space-4);
1633
+ border-radius: var(--vx-radius-full);
1634
+ background: var(--vx-state-success);
1635
+ color: var(--vx-text-on-content-primary);
1636
+ }
1637
+ .vx-annotation-tools .vx-button {
1638
+ color: inherit;
1639
+ background: transparent;
1640
+ }
1641
+ .vx-annotation-tools:not([role]) .vx-button:hover {
1642
+ background: var(--vx-overlay-tag);
1643
+ }
1644
+ .vx-annotation-tools[role=toolbar] {
1645
+ border: 1px solid var(--vx-border-secondary);
1646
+ background: var(--vx-background-dialog);
1647
+ color: var(--vx-text-primary);
1648
+ box-shadow: var(--vx-shadow-annotation);
1649
+ }
1650
+ .vx-annotation-tools[role=toolbar] .vx-button:hover:not(:disabled, [aria-pressed=true]) {
1651
+ background: var(--vx-surface-hover);
1652
+ }
1653
+ .vx-annotation-tools[role=toolbar] .vx-button[aria-pressed=true] {
1654
+ background: var(--vx-green-green);
1655
+ color: var(--vx-text-on-content-primary);
1656
+ }
1657
+ .vx-annotation-tools[role=toolbar] .vx-button:disabled {
1658
+ color: var(--vx-text-placeholder);
1659
+ }
1660
+ .vx-annotation-tools[role=toolbar] .vx-button:focus-visible {
1661
+ outline-offset: -2px;
1662
+ }
1663
+ .vx-annotation-tools[role=toolbar] .vx-button[aria-pressed=true]:focus-visible {
1664
+ outline-color: var(--vx-text-on-content-primary);
1665
+ }
1666
+ .vx-dialog {
1667
+ box-sizing: border-box;
1668
+ width: min(480px, calc(100vw - 32px));
1669
+ max-height: calc(100dvh - 32px);
1670
+ padding: 0;
1671
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
1672
+ border-radius: var(--vx-radius-xl);
1673
+ background: var(--vx-background-dialog);
1674
+ color: var(--vx-text-primary);
1675
+ box-shadow: var(--vx-shadow-dialog);
1676
+ }
1677
+ .vx-dialog::backdrop {
1678
+ background: var(--vx-overlay-dialog, rgb(255 255 255 / 80%));
1679
+ backdrop-filter: blur(var(--vx-dialog-backdrop-blur, 40px));
1680
+ }
1681
+ .vx-dialog > :is(header, footer),
1682
+ .vx-dialog-body {
1683
+ padding: var(--vx-space-16);
1684
+ }
1685
+ .vx-dialog > :is(header, footer) {
1686
+ display: flex;
1687
+ justify-content: space-between;
1688
+ align-items: center;
1689
+ gap: var(--vx-space-8);
1690
+ }
1691
+ .vx-dialog > footer {
1692
+ justify-content: flex-end;
1693
+ flex-wrap: wrap;
1694
+ }
1695
+ .vx-dialog h2 {
1696
+ margin: 0;
1697
+ font: var(--vx-typography-inter-16-semi-bold);
1698
+ }
1699
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) {
1700
+ --vx-dialog-section-gap: var(--vx-space-24);
1701
+ --vx-dialog-footer-inset: var(--vx-space-24);
1702
+ width: min(var(--vx-dialog-small-width), calc(100vw - var(--vx-space-32)));
1703
+ padding: var(--vx-dialog-padding);
1704
+ border: var(--vx-border-width) solid var(--vx-surface-input);
1705
+ border-radius: var(--vx-dialog-radius);
1706
+ overflow: auto;
1707
+ }
1708
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header {
1709
+ padding: 0;
1710
+ margin: 0 var(--vx-space-32) var(--vx-dialog-section-gap) 0;
1711
+ }
1712
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header h2 {
1713
+ font: var(--vx-typography-inter-18-semi-bold);
1714
+ }
1715
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header > .vx-button {
1716
+ position: absolute;
1717
+ top: 15px;
1718
+ right: 15px;
1719
+ }
1720
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > .vx-dialog-body {
1721
+ min-width: 0;
1722
+ padding: 0;
1723
+ }
1724
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > footer {
1725
+ margin-top: var(--vx-dialog-section-gap);
1726
+ padding: var(--vx-dialog-footer-inset) 0 0;
1727
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
1728
+ }
1729
+ .vx-dialog[data-variant=create-project] .vx-field {
1730
+ gap: var(--vx-space-8);
1731
+ }
1732
+ .vx-dialog[data-variant=create-project] .vx-field > span {
1733
+ color: var(--vx-text-secondary);
1734
+ font: var(--vx-typography-inter-14-regular);
1735
+ }
1736
+ .vx-dialog[data-variant=create-project] .vx-field > input {
1737
+ height: var(--vx-input-large-height);
1738
+ padding: var(--vx-space-8) var(--vx-space-12);
1739
+ border: 0;
1740
+ border-radius: var(--vx-radius-md);
1741
+ background: var(--vx-surface-input);
1742
+ font: var(--vx-typography-inter-16-regular);
1743
+ }
1744
+ .vx-dialog[data-variant=create-project] .vx-field > input::placeholder {
1745
+ color: var(--vx-text-secondary);
1746
+ opacity: 1;
1747
+ }
1748
+ .vx-dialog[data-variant=create-project] .vx-segment {
1749
+ background: var(--vx-surface-input);
1750
+ }
1751
+ .vx-toast {
1752
+ position: fixed;
1753
+ z-index: 40;
1754
+ left: 50%;
1755
+ bottom: max(var(--vx-space-24), env(safe-area-inset-bottom));
1756
+ transform: translateX(-50%);
1757
+ display: flex;
1758
+ align-items: center;
1759
+ gap: var(--vx-space-8);
1760
+ box-sizing: border-box;
1761
+ width: max-content;
1762
+ max-width: calc(100% - 2 * var(--vx-space-16));
1763
+ padding: var(--vx-space-8) var(--vx-space-16);
1764
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
1765
+ border-radius: var(--vx-radius-md);
1766
+ background: var(--vx-text-primary);
1767
+ color: var(--vx-text-inverse);
1768
+ box-shadow: var(--vx-shadow-dialog);
1769
+ font: var(--vx-typography-inter-12-medium);
1770
+ pointer-events: none;
1771
+ }
1772
+ .vx-toast:empty {
1773
+ display: none;
1774
+ }
1775
+ .vx-prompt-hint {
1776
+ display: grid;
1777
+ justify-items: center;
1778
+ gap: var(--vx-space-12);
1779
+ padding: var(--vx-space-32) var(--vx-space-16);
1780
+ text-align: center;
1781
+ color: var(--vx-text-secondary);
1782
+ }
1783
+ .vx-prompt-hint p {
1784
+ margin: 0;
1785
+ }
1786
+ .vx-prompt-hint textarea {
1787
+ width: min(100%, 480px);
1788
+ min-height: 120px;
1789
+ }
1790
+ }
1791
+
1792
+ /* packages/ui-system/dist/styles.css */
1793
+ @font-face {
1794
+ font-family: "Vivix Studio Inter";
1795
+ src: url("./assets/inter-latin-400-normal-55WT6UWF.woff2") format("woff2");
1796
+ font-weight: 400;
1797
+ font-display: swap;
1798
+ }
1799
+ @font-face {
1800
+ font-family: "Vivix Studio Inter";
1801
+ src: url("./assets/inter-latin-500-normal-W62DVTXI.woff2") format("woff2");
1802
+ font-weight: 500;
1803
+ font-display: swap;
1804
+ }
1805
+ @font-face {
1806
+ font-family: "Vivix Studio Inter";
1807
+ src: url("./assets/inter-latin-600-normal-R6Y2SZCR.woff2") format("woff2");
1808
+ font-weight: 600;
1809
+ font-display: swap;
1810
+ }
1811
+ @font-face {
1812
+ font-family: "Vivix Studio Inter";
1813
+ src: url("./assets/inter-latin-700-normal-SU5XVJMF.woff2") format("woff2");
1814
+ font-weight: 700;
1815
+ font-display: swap;
1816
+ }
1817
+ @scope ([data-vx-theme]) {
1818
+ .vx-icon {
1819
+ display: inline-block;
1820
+ flex: none;
1821
+ width: var(--vx-icon-size, var(--vx-button-icon-size, var(--vx-icon-native-size, 16px)));
1822
+ height: var(--vx-icon-size, var(--vx-button-icon-size, var(--vx-icon-native-size, 16px)));
1823
+ vertical-align: middle;
1824
+ position: relative;
1825
+ }
1826
+ .vx-icon::before {
1827
+ content: "";
1828
+ position: absolute;
1829
+ inset: 0;
1830
+ margin: auto;
1831
+ width: var(--vx-icon-width, 100%);
1832
+ height: var(--vx-icon-height, 100%);
1833
+ background: currentColor;
1834
+ mask: var(--vx-icon-mask) center / contain no-repeat;
1835
+ }
1836
+ .vx-icon[data-icon=add] {
1837
+ --vx-icon-mask: url("./assets/add-JY533O73.svg");
1838
+ }
1839
+ .vx-icon[data-icon=check] {
1840
+ --vx-icon-mask: url("./assets/check-JSRRIXN5.svg");
1841
+ }
1842
+ .vx-icon[data-icon=check-on-content] {
1843
+ --vx-icon-mask: url("./assets/check-on-content-FQUVG3IZ.svg");
1844
+ }
1845
+ .vx-icon[data-icon=chevron-up] {
1846
+ --vx-icon-mask: url("./assets/chevron-up-VBHYAJVB.svg");
1847
+ }
1848
+ .vx-icon[data-icon=expand] {
1849
+ --vx-icon-mask: url("./assets/expand-IAV75AFA.svg");
1850
+ }
1851
+ .vx-icon[data-icon=chevron-down] {
1852
+ --vx-icon-mask: url("./assets/chevron-down-K7YKS2EY.svg");
1853
+ }
1854
+ .vx-icon[data-icon=clear] {
1855
+ --vx-icon-mask: url("./assets/clear-XNEZJKFC.svg");
1856
+ --vx-icon-width: 90.83%;
1857
+ --vx-icon-height: 90.83%;
1858
+ }
1859
+ .vx-icon[data-icon=grid] {
1860
+ --vx-icon-mask: url("./assets/grid-TLG5JYWB.svg");
1861
+ --vx-icon-width: 82.52%;
1862
+ --vx-icon-height: 82.5%;
1863
+ }
1864
+ .vx-icon[data-icon=list] {
1865
+ --vx-icon-mask: url("./assets/list-5VUAOZUH.svg");
1866
+ --vx-icon-width: 83.36%;
1867
+ --vx-icon-height: 75.02%;
1868
+ }
1869
+ .vx-icon[data-icon=search] {
1870
+ --vx-icon-mask: url("./assets/search-JUOSGQRM.svg");
1871
+ --vx-icon-width: 82.5%;
1872
+ --vx-icon-height: 82.5%;
1873
+ }
1874
+ .vx-icon[data-icon=calendar] {
1875
+ --vx-icon-mask: url("./assets/calendar-JI6USFRJ.svg");
1876
+ }
1877
+ .vx-icon[data-icon=import] {
1878
+ --vx-icon-mask: url("./assets/import-AFBUV2VV.svg");
1879
+ }
1880
+ .vx-icon[data-icon=chevron-right] {
1881
+ --vx-icon-mask: url("./assets/chevron-right-TNE35DBJ.svg");
1882
+ }
1883
+ .vx-icon[data-icon=magic] {
1884
+ --vx-icon-size: 18px;
1885
+ --vx-icon-width: 78.125%;
1886
+ --vx-icon-height: 86.46%;
1887
+ --vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
1888
+ }
1889
+ .vx-icon[data-icon=select] {
1890
+ --vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
1891
+ }
1892
+ .vx-icon[data-icon=area] {
1893
+ --vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
1894
+ }
1895
+ .vx-icon[data-icon=draw] {
1896
+ --vx-icon-mask: url("./assets/draw-FOFX5TOM.svg");
1897
+ }
1898
+ .vx-icon[data-icon=close] {
1899
+ --vx-icon-mask: url("./assets/close-GO5F7YFS.svg");
1900
+ }
1901
+ .vx-icon[data-icon=reset] {
1902
+ --vx-icon-mask: url("./assets/reset-JESMTEMV.svg");
1903
+ }
1904
+ .vx-icon[data-icon=more] {
1905
+ --vx-icon-mask: url("./assets/more-AEJ5MHWV.svg");
1906
+ }
1907
+ .vx-icon[data-icon=play] {
1908
+ --vx-icon-mask: url("./assets/play-WIIT3XQK.svg");
1909
+ }
1910
+ .vx-icon[data-icon=pause] {
1911
+ --vx-icon-mask: url("./assets/pause-2E4UY4FW.svg");
1912
+ }
1913
+ .vx-icon[data-icon=mute] {
1914
+ --vx-icon-mask: url("./assets/mute-SXOSCR2U.svg");
1915
+ }
1916
+ .vx-icon[data-icon=volume] {
1917
+ --vx-icon-mask: url("./assets/volume-2TYGJL6F.svg");
1918
+ }
1919
+ .vx-icon[data-icon=fullscreen] {
1920
+ --vx-icon-mask: url("./assets/fullscreen-L2JCXIN2.svg");
1921
+ }
1922
+ .vx-icon[data-icon=sound-file] {
1923
+ --vx-icon-mask: url("./assets/sound-file-YYY6VNYN.svg");
1924
+ }
1925
+ .vx-icon[data-icon=chevron-left] {
1926
+ --vx-icon-mask: url("./assets/chevron-left-JQCLK2WZ.svg");
1927
+ }
1928
+ }
1929
+ @scope ([data-vx-theme]) {
1930
+ .vx-icon[data-icon=placeholder-image] {
1931
+ --vx-icon-mask: url("./assets/placeholder-image-NOVXFVRL.svg");
1932
+ }
1933
+ .vx-icon[data-icon=placeholder-video] {
1934
+ --vx-icon-mask: url("./assets/placeholder-video-ZFOYHYCR.svg");
1935
+ }
1936
+ .vx-icon[data-icon=placeholder-audio] {
1937
+ --vx-icon-mask: url("./assets/placeholder-audio-EJEBE7OB.svg");
1938
+ }
1939
+ .vx-icon[data-icon=placeholder-script] {
1940
+ --vx-icon-mask: url("./assets/placeholder-script-LR2GKWKS.svg");
1941
+ }
1942
+ }
1943
+ @scope ([data-vx-theme]) {
1944
+ .vx-icon[data-icon=detail] {
1945
+ --vx-icon-mask: url("./assets/detail-E52XPONK.svg");
1946
+ }
1947
+ .vx-icon[data-icon=export] {
1948
+ --vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
1949
+ }
1950
+ .vx-icon[data-icon=edit] {
1951
+ --vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
1952
+ }
1953
+ }
1954
+ @scope ([data-vx-theme]) {
1955
+ .vx-icon[data-icon=play-cover] {
1956
+ --vx-icon-mask: url("./assets/play-cover-WQLOHHPZ.svg");
1957
+ }
1958
+ .vx-icon[data-icon=playback-play] {
1959
+ --vx-icon-mask: url("./assets/playback-play-YRMIX5W4.svg");
1960
+ }
1961
+ .vx-icon[data-icon=playback-play-large] {
1962
+ --vx-icon-mask: url("./assets/playback-play-large-TM3QUJGG.svg");
1963
+ }
1964
+ .vx-icon[data-icon=pause-large] {
1965
+ --vx-icon-mask: url("./assets/pause-large-XEUBL4KC.svg");
1966
+ }
1967
+ .vx-icon[data-icon=volume-large] {
1968
+ --vx-icon-mask: url("./assets/volume-large-QNULSJ2I.svg");
1969
+ }
1970
+ .vx-icon[data-icon=mute-large] {
1971
+ --vx-icon-mask: url("./assets/mute-large-LSZZ44HF.svg");
1972
+ }
1973
+ .vx-icon[data-icon=fullscreen-large] {
1974
+ --vx-icon-mask: url("./assets/fullscreen-large-MPLIWDMI.svg");
1975
+ }
1976
+ }
1977
+
1978
+ /* packages/studio-workbench/src/asset-toolbar.css */
1979
+ .ad-asset-toolbar {
1980
+ display: flex;
1981
+ align-items: center;
1982
+ gap: 16px;
1983
+ padding: 16px;
1984
+ flex-wrap: wrap;
1985
+ }
1986
+ .ad-asset-toolbar .vx-search-input {
1987
+ width: 240px;
1988
+ }
1989
+ .ad-asset-toolbar label {
1990
+ display: flex;
1991
+ align-items: center;
1992
+ gap: 8px;
1993
+ font-size: 13px;
1994
+ }
1995
+ .ad-asset-toolbar select {
1996
+ background: var(--vx-background-page);
1997
+ color: inherit;
1998
+ border: 1px solid var(--vx-border-secondary);
1999
+ border-radius: 8px;
2000
+ padding: 7px 10px;
2001
+ }
2002
+ .ad-asset-toolbar > span {
2003
+ margin-left: auto;
2004
+ font-size: 13px;
2005
+ color: var(--vx-text-secondary-readable);
2006
+ }
2007
+ @media (max-width: 540px) {
2008
+ .ad-asset-toolbar {
2009
+ gap: 8px;
2010
+ }
2011
+ .ad-asset-toolbar .vx-search-input {
2012
+ width: 100%;
2013
+ }
2014
+ }
2015
+
2016
+ /* packages/studio-workbench/src/view-preview.css */
2017
+ .studio-home-preview {
2018
+ display: block;
2019
+ width: 100%;
2020
+ aspect-ratio: 16 / 9;
2021
+ border-radius: var(--vx-space-8);
2022
+ background: var(--vx-surface-input) var(--studio-view-art) center / cover no-repeat;
2023
+ }
2024
+ .studio-home-preview[data-preview=social-preview] {
2025
+ --studio-view-art: url("./assets/social-preview-F36PFR67.svg");
2026
+ }
2027
+ .studio-home-preview[data-preview=compare] {
2028
+ --studio-view-art: url("./assets/template-1-NR5GMMN5.png");
2029
+ }
2030
+ .studio-home-preview[data-preview=storyboard] {
2031
+ --studio-view-art: url("./assets/template-2-YUHY6VN5.png");
2032
+ }
2033
+ .studio-home-preview[data-preview=asset-list] {
2034
+ --studio-view-art: url("./assets/template-3-JHX6FHCZ.png");
2035
+ }
2036
+ .studio-home-preview[data-preview=script-editor] {
2037
+ --studio-view-art: url("./assets/template-4-TAVSM3BI.png");
2038
+ }
2039
+ .studio-home-preview[data-preview=ads-compare] {
2040
+ --studio-view-art: url("./assets/template-5-ESABL4EM.png");
2041
+ }
2042
+ .studio-home-preview[data-preview=ads-storyboard] {
2043
+ --studio-view-art: url("./assets/template-6-4FAHO5N4.png");
2044
+ }
2045
+ .studio-home-preview[data-preview=characters] {
2046
+ --studio-view-art: url("./assets/template-7-2KRMROJ6.png");
2047
+ }
2048
+
2049
+ /* packages/studio-workbench/src/home.css */
2050
+ @font-face {
2051
+ font-family: "Inria Serif";
2052
+ font-style: italic;
2053
+ font-weight: 700;
2054
+ font-display: swap;
2055
+ src: url("./assets/inria-serif-latin-700-italic-UNRIXGAH.woff2") format("woff2");
2056
+ }
2057
+ .studio-home {
2058
+ display: grid;
2059
+ gap: 8px;
2060
+ inline-size: 100%;
2061
+ max-inline-size: 1920px;
2062
+ align-self: center;
2063
+ min-width: 0;
2064
+ }
2065
+ .studio-home-toolbar,
2066
+ .studio-home-panel > header {
2067
+ display: flex;
2068
+ align-items: center;
2069
+ justify-content: space-between;
2070
+ gap: 8px;
2071
+ }
2072
+ .studio-home-toolbar {
2073
+ flex-wrap: wrap;
2074
+ }
2075
+ .studio-home-hero {
2076
+ position: relative;
2077
+ overflow: hidden;
2078
+ min-block-size: 123px;
2079
+ border-radius: 16px;
2080
+ isolation: isolate;
2081
+ container: dashboard-hero / inline-size;
2082
+ background:
2083
+ linear-gradient(
2084
+ 90deg,
2085
+ rgb(255 255 255 / 40%),
2086
+ rgb(255 255 255 / 60%) 55.28%),
2087
+ url("./assets/hero-base-5KRPU5WN.png") 50% 32.44% / 108.95% 839.02% no-repeat;
2088
+ }
2089
+ .studio-home-hero::before {
2090
+ position: absolute;
2091
+ left: 53.31%;
2092
+ top: calc(50% - 2.365cqw);
2093
+ width: max(85.56cqw, 380px);
2094
+ height: max(114.04cqw, 507px);
2095
+ transform: translate(-50%, -50%) rotate(90deg);
2096
+ z-index: -1;
2097
+ content: "";
2098
+ --hero-wash: light-dark(rgb(255 255 255 / 40%), rgb(0 0 0 / 70%));
2099
+ background: linear-gradient(var(--hero-wash), var(--hero-wash)), url("./assets/hero-landscape-H35LYO4H.png") center / cover;
2100
+ }
2101
+ .studio-home-hero h1 {
2102
+ color: var(--vx-text-primary);
2103
+ margin: 0;
2104
+ font: italic 700 32px/1.15 "Inria Serif", serif;
2105
+ }
2106
+ .studio-home-hero p {
2107
+ margin: 0;
2108
+ color: var(--vx-text-secondary);
2109
+ }
2110
+ .studio-home-panels {
2111
+ display: grid;
2112
+ gap: 8px;
2113
+ min-width: 0;
2114
+ }
2115
+ .studio-home-panel {
2116
+ min-width: 0;
2117
+ border-radius: 12px;
2118
+ background: var(--vx-background-dialog);
2119
+ }
2120
+ .studio-home-panel > header {
2121
+ min-height: 44px;
2122
+ padding: 0 var(--home-panel-inset);
2123
+ }
2124
+ .studio-home-panel > header h2 {
2125
+ margin: 0;
2126
+ font-size: 16px;
2127
+ }
2128
+ .studio-home-grid {
2129
+ display: grid;
2130
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr));
2131
+ gap: 8px;
2132
+ padding: 12px;
2133
+ }
2134
+ .studio-home-tile {
2135
+ display: grid;
2136
+ align-content: start;
2137
+ text-align: start;
2138
+ gap: 4px;
2139
+ min-width: 0;
2140
+ width: 100%;
2141
+ color: inherit;
2142
+ font: inherit;
2143
+ background: transparent;
2144
+ border: 0;
2145
+ padding: 0;
2146
+ cursor: pointer;
2147
+ }
2148
+ .studio-home-tile:disabled {
2149
+ opacity: 0.5;
2150
+ cursor: default;
2151
+ }
2152
+ .studio-home-tile strong,
2153
+ .studio-home-tile small {
2154
+ display: block;
2155
+ white-space: nowrap;
2156
+ overflow: hidden;
2157
+ text-overflow: ellipsis;
2158
+ }
2159
+ .studio-home-tile small {
2160
+ color: var(--vx-text-secondary);
2161
+ }
2162
+ .studio-home-cover {
2163
+ display: grid;
2164
+ width: 100%;
2165
+ aspect-ratio: 16 / 9;
2166
+ place-items: center;
2167
+ overflow: hidden;
2168
+ border-radius: 8px;
2169
+ background: var(--vx-surface-input);
2170
+ }
2171
+ .studio-home-cover {
2172
+ position: relative;
2173
+ }
2174
+ .studio-home-cover img,
2175
+ .studio-home-cover video {
2176
+ position: absolute;
2177
+ inset: 0;
2178
+ width: 100%;
2179
+ height: 100%;
2180
+ object-fit: contain;
2181
+ }
2182
+ .studio-home-cover:has(img, video) {
2183
+ background: #151515;
2184
+ }
2185
+ .studio-home-template {
2186
+ container-type: inline-size;
2187
+ position: relative;
2188
+ min-width: 0;
2189
+ }
2190
+ .studio-home-template > button:last-child {
2191
+ position: absolute;
2192
+ inset: 0 0 auto;
2193
+ translate: 0 -50%;
2194
+ top: 28.125cqw;
2195
+ margin: auto;
2196
+ height: max-content;
2197
+ width: max-content;
2198
+ opacity: 0;
2199
+ background: var(--vx-background-page);
2200
+ }
2201
+ .studio-home-template:hover > button:last-child,
2202
+ .studio-home-template:focus-within > button:last-child {
2203
+ opacity: 1;
2204
+ }
2205
+ .studio-home-empty {
2206
+ padding: 12px;
2207
+ margin: 0;
2208
+ color: var(--vx-text-secondary);
2209
+ }
2210
+ .studio-home-dialog textarea {
2211
+ box-sizing: border-box;
2212
+ width: 100%;
2213
+ resize: vertical;
2214
+ padding: 10px;
2215
+ border: 1px solid var(--vx-border-secondary);
2216
+ border-radius: 8px;
2217
+ background: var(--vx-surface-input);
2218
+ color: var(--vx-text-primary);
2219
+ font: inherit;
2220
+ }
2221
+ .studio-home-dialog .studio-home-preview {
2222
+ margin-bottom: 12px;
2223
+ max-height: 240px;
2224
+ }
2225
+ @media (max-width: 660px) {
2226
+ .studio-home-hero h1 {
2227
+ font-size: 24px;
2228
+ }
2229
+ .studio-home-grid {
2230
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
2231
+ }
2232
+ }
2233
+ @media (hover: none) {
2234
+ .studio-home-template > button:last-child {
2235
+ opacity: 1;
2236
+ }
2237
+ }
2238
+ .studio-home {
2239
+ --home-panel-inset: 16px;
2240
+ }
2241
+ .studio-home-toolbar > .vx-segment {
2242
+ width: max-content;
2243
+ max-width: 100%;
2244
+ border: 1px solid var(--vx-border-secondary);
2245
+ border-radius: 999px;
2246
+ }
2247
+ .studio-home-hero-copy {
2248
+ padding: 24px 343px 32px 24px;
2249
+ }
2250
+ .studio-home-grid {
2251
+ padding: 0 var(--home-panel-inset) var(--home-panel-inset);
2252
+ }
2253
+ .studio-home-grid:not(.studio-home-gallery) {
2254
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(150px, calc((100% - 32px) / 5))), 1fr));
2255
+ }
2256
+ .studio-home-views {
2257
+ margin-block-start: 4px;
2258
+ --vx-tabs-primary-height: 55px;
2259
+ }
2260
+ .studio-home-views .vx-tabs {
2261
+ padding-inline: var(--home-panel-inset);
2262
+ border-block-end: 1px solid var(--vx-border-secondary);
2263
+ }
2264
+ .studio-home-views .vx-tab-list {
2265
+ gap: var(--vx-space-16);
2266
+ }
2267
+ .studio-home-views [role=tab] {
2268
+ padding-inline: 0;
2269
+ }
2270
+ .studio-home-views .studio-home-empty {
2271
+ padding: var(--home-panel-inset);
2272
+ }
2273
+ .studio-home-template-summary {
2274
+ color: var(--vx-text-secondary-readable);
2275
+ font: var(--vx-typography-inter-12-regular);
2276
+ }
2277
+ .studio-home-gallery {
2278
+ padding-block-start: var(--home-panel-inset);
2279
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 24px) / 4))), 1fr));
2280
+ }
2281
+ .studio-home-template > button:last-child:not(:focus-visible) {
2282
+ pointer-events: none;
2283
+ }
2284
+ .studio-home-template:hover > button:last-child,
2285
+ .studio-home-template:focus-within > button:last-child {
2286
+ pointer-events: auto;
2287
+ }
2288
+ @media (hover: none) {
2289
+ .studio-home-template > button:last-child:not(:focus-visible) {
2290
+ pointer-events: auto;
2291
+ opacity: 1;
2292
+ }
2293
+ }
2294
+ @media (max-width: 660px) {
2295
+ .studio-home {
2296
+ --home-panel-inset: 12px;
2297
+ }
2298
+ .studio-home-grid:not(.studio-home-gallery) {
2299
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
2300
+ }
2301
+ }
2302
+ .studio-home-toolbar .vx-segment-item {
2303
+ padding-inline: var(--vx-space-16);
2304
+ border-radius: 999px;
2305
+ font: var(--vx-typography-inter-16-medium);
2306
+ }
2307
+ .studio-home-toolbar input:checked + .vx-segment-item {
2308
+ color: var(--vx-state-success);
2309
+ background: color-mix(in srgb, var(--vx-state-success) 20%, var(--vx-background-dialog));
2310
+ }
2311
+ .studio-home-actions {
2312
+ display: flex;
2313
+ gap: 8px;
2314
+ align-items: center;
2315
+ margin-inline-start: auto;
2316
+ }
2317
+ .studio-home-toolbar > .vx-segment {
2318
+ box-sizing: border-box;
2319
+ height: 40px;
2320
+ padding: 4px;
2321
+ gap: 4px;
2322
+ background: transparent;
2323
+ }
2324
+ .studio-home-toolbar .vx-segment-item {
2325
+ height: 30px;
2326
+ gap: 4px;
2327
+ }
2328
+ .studio-home-cover {
2329
+ color: var(--vx-text-placeholder);
2330
+ }
2331
+
2332
+ /* packages/studio-workbench/src/home-banner.css */
2333
+ .studio-home-motion-demo {
2334
+ --hero-cycle: 8s;
2335
+ --hero-transition-delay: 3s;
2336
+ --hero-prompt-width: 251.43px;
2337
+ position: absolute;
2338
+ right: 0;
2339
+ bottom: 0;
2340
+ width: 331px;
2341
+ height: 123px;
2342
+ pointer-events: none;
2343
+ }
2344
+ .studio-home-motion-stage,
2345
+ .studio-home-motion-command {
2346
+ position: absolute;
2347
+ inset: 0;
2348
+ }
2349
+ .studio-home-motion-stage[data-scene=blossom] {
2350
+ --hero-prompt-width: 308px;
2351
+ }
2352
+ .studio-home-motion-pill {
2353
+ position: absolute;
2354
+ left: 175px;
2355
+ top: 39px;
2356
+ translate: -50% 0;
2357
+ display: grid;
2358
+ place-items: center;
2359
+ grid-template-columns: minmax(0, 1fr);
2360
+ width: 128px;
2361
+ height: 44px;
2362
+ border: 0.5px solid var(--vx-white-white);
2363
+ border-radius: var(--vx-radius-full);
2364
+ background: var(--vx-white-white-2a);
2365
+ backdrop-filter: blur(6.286px);
2366
+ box-shadow: 0 2px 25px color-mix(in srgb, var(--vx-black-black) 16%, transparent);
2367
+ color: var(--vx-text-on-content-primary);
2368
+ font: var(--vx-typography-inter-14-semi-bold);
2369
+ white-space: nowrap;
2370
+ }
2371
+ .studio-home-motion-pill > span {
2372
+ grid-area: 1 / 1;
2373
+ scale: 1.04762;
2374
+ }
2375
+ .studio-home-motion-typing {
2376
+ position: relative;
2377
+ width: max-content;
2378
+ opacity: 0;
2379
+ }
2380
+ @property --hero-typed { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
2381
+ .studio-home-motion-typed {
2382
+ display: block;
2383
+ clip-path: inset(0 calc(100% - var(--hero-typed)) 0 0);
2384
+ }
2385
+ .studio-home-motion-typing::after {
2386
+ content: "";
2387
+ position: absolute;
2388
+ inset-block: 0;
2389
+ left: var(--hero-typed);
2390
+ width: 2px;
2391
+ border-radius: 2px;
2392
+ background:
2393
+ linear-gradient(
2394
+ 16deg,
2395
+ var(--vx-green-dark) 46.54%,
2396
+ var(--vx-blue-beam) 46.54%);
2397
+ }
2398
+ .studio-home-motion-pointer {
2399
+ position: absolute;
2400
+ left: 206px;
2401
+ top: 76px;
2402
+ width: 25px;
2403
+ height: 25px;
2404
+ background: url("./assets/hero-pointer-OOZJGR5D.svg") no-repeat;
2405
+ }
2406
+ .studio-home-motion-board {
2407
+ position: absolute;
2408
+ left: 0;
2409
+ top: 12px;
2410
+ width: 319px;
2411
+ height: 144px;
2412
+ display: grid;
2413
+ grid-template-columns: 85px 222px;
2414
+ gap: 4px;
2415
+ padding: 4px;
2416
+ border-radius: 12px;
2417
+ backdrop-filter: blur(5.5px);
2418
+ opacity: 0;
2419
+ }
2420
+ .studio-home-motion-board,
2421
+ .studio-home-motion-board-sidebar,
2422
+ .studio-home-motion-board-shots {
2423
+ background: var(--vx-white-white-1a);
2424
+ box-shadow: inset 0 0 0 0.5px var(--vx-white-white), inset 0 0 16px var(--vx-white-white);
2425
+ }
2426
+ .studio-home-motion-board-sidebar,
2427
+ .studio-home-motion-board-shots {
2428
+ position: relative;
2429
+ height: 114px;
2430
+ padding: 4px;
2431
+ border-radius: 8px;
2432
+ }
2433
+ .studio-home-motion-board-line,
2434
+ .studio-home-motion-shot {
2435
+ display: block;
2436
+ border-radius: 4px;
2437
+ background: color-mix(in srgb, var(--vx-white-white) 28%, transparent);
2438
+ box-shadow: inset 0 0 2px color-mix(in srgb, var(--vx-white-white) 46%, transparent);
2439
+ }
2440
+ .studio-home-motion-board-line {
2441
+ width: 76px;
2442
+ height: 12px;
2443
+ margin-bottom: 4px;
2444
+ }
2445
+ .studio-home-motion-board-line:last-child {
2446
+ width: 42px;
2447
+ }
2448
+ .studio-home-motion-shot {
2449
+ position: relative;
2450
+ height: 99px;
2451
+ overflow: hidden;
2452
+ }
2453
+ .studio-home-motion-shot::before,
2454
+ .studio-home-motion-shot video,
2455
+ .studio-home-motion-strip::after {
2456
+ position: absolute;
2457
+ inset: 0;
2458
+ content: "";
2459
+ opacity: 0;
2460
+ }
2461
+ .studio-home-motion-shot::before {
2462
+ background: var(--vx-dashboard-hero-shot-gradient);
2463
+ }
2464
+ .studio-home-motion-shot video {
2465
+ width: 100%;
2466
+ height: 100%;
2467
+ object-fit: cover;
2468
+ }
2469
+ .studio-home-motion-sweep {
2470
+ position: absolute;
2471
+ inset: 0;
2472
+ pointer-events: none;
2473
+ opacity: 0;
2474
+ background: var(--vx-dashboard-hero-shot-gradient);
2475
+ mask-image:
2476
+ linear-gradient(
2477
+ 105deg,
2478
+ transparent 28%,
2479
+ black 46% 54%,
2480
+ transparent 72%);
2481
+ mask-size: 300% 100%;
2482
+ mask-position: 100% 0;
2483
+ mask-repeat: no-repeat;
2484
+ }
2485
+ .studio-home-motion-strip {
2486
+ position: absolute;
2487
+ left: 4px;
2488
+ top: 74px;
2489
+ width: 217px;
2490
+ height: 30px;
2491
+ background: url("./assets/hero-placeholder-strip-WAPZ6XF4.svg") left top / 230px 100% no-repeat;
2492
+ opacity: 0;
2493
+ }
2494
+ .studio-home-motion-strip::after {
2495
+ background: url("./assets/hero-breeze-sequence-CEWDK3QZ.webp") left top / 100% auto no-repeat;
2496
+ }
2497
+ .studio-home-motion-stage[data-scene=blossom] .studio-home-motion-strip::after {
2498
+ background-image: url("./assets/hero-blossom-sequence-TZ74A6VV.webp");
2499
+ }
2500
+ @container dashboard-hero (760px < width <= 1000px) {
2501
+ .studio-home-hero-copy {
2502
+ padding: var(--vx-space-16) 290px var(--vx-space-16) var(--vx-space-24);
2503
+ }
2504
+ .studio-home-hero-title {
2505
+ height: auto;
2506
+ }
2507
+ .studio-home-hero-copy h1 {
2508
+ font: var(--vx-typography-inria-serif-28-bold-italic);
2509
+ line-height: 1.25;
2510
+ text-wrap: balance;
2511
+ }
2512
+ .studio-home-motion-demo {
2513
+ scale: 0.84;
2514
+ transform-origin: bottom right;
2515
+ }
2516
+ }
2517
+ @container dashboard-hero (max-width: 760px) {
2518
+ .studio-home-hero-copy {
2519
+ padding: var(--vx-space-16) var(--vx-space-16) 0;
2520
+ }
2521
+ .studio-home-hero-title {
2522
+ height: auto;
2523
+ }
2524
+ .studio-home-motion-demo {
2525
+ position: relative;
2526
+ margin-inline: auto;
2527
+ }
2528
+ }
2529
+ @container dashboard-hero (max-width: 335px) {
2530
+ .studio-home-motion-demo {
2531
+ left: 50%;
2532
+ margin-left: -165.5px;
2533
+ scale: 0.84;
2534
+ transform-origin: bottom center;
2535
+ }
2536
+ }
2537
+ @media (prefers-reduced-motion: no-preference) {
2538
+ .studio-home-hero {
2539
+ .studio-home-motion-demo {
2540
+ --hero-result-start: calc(var(--hero-cycle) * 0.78);
2541
+ --hero-result-fade: studio-home-motion-result calc(var(--hero-cycle) * 0.08) ease-in-out var(--hero-result-start) both;
2542
+ animation: studio-home-motion-scene-clock var(--hero-transition-delay) linear infinite paused;
2543
+ }
2544
+ .studio-home-motion-demo[data-countdown] {
2545
+ animation-play-state: running;
2546
+ }
2547
+ .studio-home-motion-stage[data-exiting] {
2548
+ animation: studio-home-motion-exit 640ms ease-in-out both;
2549
+ }
2550
+ .studio-home-motion-stage[data-scene=blossom] .studio-home-motion-command {
2551
+ animation: studio-home-motion-command-enter 400ms ease-out both;
2552
+ }
2553
+ .studio-home-motion-pill {
2554
+ animation: studio-home-motion-pill var(--hero-cycle) ease-in-out both;
2555
+ }
2556
+ .studio-home-motion-label {
2557
+ animation: studio-home-motion-label var(--hero-cycle) ease both;
2558
+ }
2559
+ .studio-home-motion-typing {
2560
+ animation: studio-home-motion-prompt var(--hero-cycle) ease both, studio-home-motion-type var(--hero-cycle) linear both;
2561
+ }
2562
+ .studio-home-motion-pointer {
2563
+ animation: studio-home-motion-pointer var(--hero-cycle) ease-in-out both;
2564
+ }
2565
+ .studio-home-motion-board {
2566
+ animation: studio-home-motion-board var(--hero-cycle) ease-out both;
2567
+ }
2568
+ .studio-home-motion-shot {
2569
+ animation: studio-home-motion-shot var(--hero-cycle) ease-in-out both;
2570
+ }
2571
+ .studio-home-motion-shot::before {
2572
+ animation: studio-home-motion-placeholder var(--hero-cycle) ease both;
2573
+ }
2574
+ .studio-home-motion-strip {
2575
+ animation: studio-home-motion-strip var(--hero-cycle) ease both;
2576
+ }
2577
+ .studio-home-motion-sweep {
2578
+ animation: studio-home-motion-sweep var(--hero-cycle) ease-in-out both;
2579
+ }
2580
+ .studio-home-motion-shot-video {
2581
+ animation: var(--hero-result-fade);
2582
+ }
2583
+ .studio-home-motion-strip::after {
2584
+ animation: var(--hero-result-fade), studio-home-motion-sequence calc(var(--hero-cycle) - var(--hero-result-start)) steps(11, end) var(--hero-result-start) both;
2585
+ }
2586
+ }
2587
+ }
2588
+ @keyframes studio-home-motion-scene-clock {
2589
+ from, to {
2590
+ opacity: 1;
2591
+ }
2592
+ }
2593
+ @keyframes studio-home-motion-exit {
2594
+ from {
2595
+ opacity: 1;
2596
+ transform: translateY(0);
2597
+ }
2598
+ to {
2599
+ opacity: 0;
2600
+ transform: translateY(var(--vx-space-24));
2601
+ }
2602
+ }
2603
+ @keyframes studio-home-motion-command-enter {
2604
+ from {
2605
+ opacity: 0;
2606
+ }
2607
+ to {
2608
+ opacity: 1;
2609
+ }
2610
+ }
2611
+ @keyframes studio-home-motion-pill {
2612
+ 0%, 14% {
2613
+ width: 128px;
2614
+ opacity: 1;
2615
+ }
2616
+ 22%, 49% {
2617
+ width: var(--hero-prompt-width);
2618
+ opacity: 1;
2619
+ }
2620
+ 53%, 100% {
2621
+ width: var(--hero-prompt-width);
2622
+ opacity: 0;
2623
+ }
2624
+ }
2625
+ @keyframes studio-home-motion-label {
2626
+ 0%, 14% {
2627
+ opacity: 1;
2628
+ }
2629
+ 18%, 100% {
2630
+ opacity: 0;
2631
+ }
2632
+ }
2633
+ @keyframes studio-home-motion-prompt {
2634
+ 0%, 18%, 54%, 100% {
2635
+ opacity: 0;
2636
+ }
2637
+ 21%, 50% {
2638
+ opacity: 1;
2639
+ }
2640
+ }
2641
+ @keyframes studio-home-motion-type {
2642
+ 0%, 21% {
2643
+ --hero-typed: 0%;
2644
+ animation-timing-function: steps(var(--characters), end);
2645
+ }
2646
+ 42%, 100% {
2647
+ --hero-typed: 100%;
2648
+ }
2649
+ }
2650
+ @keyframes studio-home-motion-pointer {
2651
+ 0%, 8% {
2652
+ opacity: 1;
2653
+ transform: none;
2654
+ }
2655
+ 14% {
2656
+ opacity: 1;
2657
+ transform: translate(-5px, -4px) scale(0.92);
2658
+ }
2659
+ 18%, 100% {
2660
+ opacity: 0;
2661
+ transform: none;
2662
+ }
2663
+ }
2664
+ @keyframes studio-home-motion-board {
2665
+ 0%, 54% {
2666
+ opacity: 0;
2667
+ transform: translateY(8px);
2668
+ }
2669
+ 59%, 100% {
2670
+ opacity: 1;
2671
+ transform: none;
2672
+ }
2673
+ }
2674
+ @keyframes studio-home-motion-shot {
2675
+ 0%, 61% {
2676
+ height: 99px;
2677
+ }
2678
+ 66%, 100% {
2679
+ height: 67px;
2680
+ }
2681
+ }
2682
+ @keyframes studio-home-motion-placeholder {
2683
+ 0%, 61% {
2684
+ opacity: 0;
2685
+ }
2686
+ 66%, 100% {
2687
+ opacity: 0.7;
2688
+ }
2689
+ }
2690
+ @keyframes studio-home-motion-strip {
2691
+ 0%, 62% {
2692
+ opacity: 0;
2693
+ }
2694
+ 67%, 100% {
2695
+ opacity: 1;
2696
+ }
2697
+ }
2698
+ @keyframes studio-home-motion-sequence {
2699
+ from {
2700
+ background-position-y: 0%;
2701
+ }
2702
+ to {
2703
+ background-position-y: 100%;
2704
+ }
2705
+ }
2706
+ @keyframes studio-home-motion-result {
2707
+ from {
2708
+ opacity: 0;
2709
+ }
2710
+ to {
2711
+ opacity: 1;
2712
+ }
2713
+ }
2714
+ @keyframes studio-home-motion-sweep {
2715
+ 0%, 60% {
2716
+ opacity: 0;
2717
+ mask-position: 100% 0;
2718
+ }
2719
+ 62% {
2720
+ opacity: 0.86;
2721
+ mask-position: 100% 0;
2722
+ }
2723
+ 76% {
2724
+ opacity: 0.86;
2725
+ mask-position: 0% 0;
2726
+ }
2727
+ 78%, 100% {
2728
+ opacity: 0;
2729
+ mask-position: 0% 0;
2730
+ }
2731
+ }
2732
+ .studio-home-hero {
2733
+ --vx-white-white: white;
2734
+ --vx-white-white-1a: #ffffff19;
2735
+ --vx-white-white-2a: #ffffff33;
2736
+ --vx-black-black: #000;
2737
+ --vx-text-on-content-primary: white;
2738
+ --vx-typography-inter-14-semi-bold: 600 14px/1.3 Inter, sans-serif;
2739
+ --vx-green-dark: #38664c;
2740
+ --vx-blue-beam: #75c6eb;
2741
+ --vx-dashboard-hero-shot-gradient:
2742
+ linear-gradient(
2743
+ 130deg,
2744
+ #96bca0,
2745
+ #c0dce2,
2746
+ #92b988);
2747
+ }
2748
+ .studio-home-motion-shot video {
2749
+ background: url("./assets/hero-shot-CNLBX3OX.png") center / cover;
2750
+ }
2751
+ .studio-home-motion-stage[data-scene=blossom] .studio-home-motion-shot video {
2752
+ background-image: url("./assets/hero-blossom-YNVLGEJJ.webp");
2753
+ }
2754
+ .studio-home-watch {
2755
+ position: absolute;
2756
+ inset: 0;
2757
+ padding: 0;
2758
+ border: 0;
2759
+ border-radius: inherit;
2760
+ background: transparent;
2761
+ cursor: pointer;
2762
+ }
2763
+ .studio-home-watch:focus-visible {
2764
+ outline: 2px solid var(--vx-state-success);
2765
+ outline-offset: -3px;
2766
+ }
2767
+ .vx-dialog.studio-home-tutorials {
2768
+ position: fixed;
2769
+ inset: 0;
2770
+ box-sizing: border-box;
2771
+ width: 100vw;
2772
+ height: 100dvh;
2773
+ max-width: none;
2774
+ max-height: none;
2775
+ margin: 0;
2776
+ border: 0;
2777
+ border-radius: 0;
2778
+ background: #101010;
2779
+ color: white;
2780
+ }
2781
+ .studio-home-tutorials > header {
2782
+ position: absolute;
2783
+ inset: 0 0 auto;
2784
+ z-index: 1;
2785
+ background: transparent;
2786
+ pointer-events: none;
2787
+ }
2788
+ .studio-home-tutorials > header > h2 {
2789
+ position: absolute;
2790
+ width: 1px;
2791
+ height: 1px;
2792
+ clip-path: inset(50%);
2793
+ }
2794
+ .studio-home-tutorials > header > button {
2795
+ margin-inline-start: auto;
2796
+ pointer-events: auto;
2797
+ }
2798
+ .studio-home-tutorials > .vx-dialog-body {
2799
+ display: grid;
2800
+ grid-template-rows: auto minmax(0, 1fr);
2801
+ justify-items: center;
2802
+ gap: 12px;
2803
+ height: 100%;
2804
+ box-sizing: border-box;
2805
+ padding: 12px;
2806
+ }
2807
+ .studio-home-tutorials .vx-segment {
2808
+ max-width: calc(100% - 56px);
2809
+ }
2810
+ .studio-home-tutorial-stage {
2811
+ width: 100%;
2812
+ min-height: 0;
2813
+ display: grid;
2814
+ place-items: center;
2815
+ }
2816
+ .studio-home-tutorial-stage video {
2817
+ width: 100%;
2818
+ height: 100%;
2819
+ min-height: 0;
2820
+ object-fit: contain;
2821
+ }
2822
+
2823
+ /* packages/studio-workbench/src/custom-view-dialog.css */
2824
+ .studio-template-dialog.vx-dialog {
2825
+ width: min(912px, calc(100vw - 32px));
2826
+ height: min(600px, calc(100dvh - 32px));
2827
+ padding: 24px;
2828
+ overflow: hidden;
2829
+ }
2830
+ .studio-template-dialog.vx-dialog[open] {
2831
+ display: flex;
2832
+ flex-direction: column;
2833
+ }
2834
+ .studio-template-dialog > :is(header, footer) {
2835
+ flex: 0 0 auto;
2836
+ padding: 0;
2837
+ }
2838
+ .studio-template-dialog > header h2 {
2839
+ font: 600 18px/23px var(--vx-font-inter);
2840
+ }
2841
+ .studio-template-dialog > header {
2842
+ margin-bottom: 32px;
2843
+ }
2844
+ .studio-template-dialog > header .vx-button {
2845
+ position: absolute;
2846
+ top: 15px;
2847
+ right: 15px;
2848
+ }
2849
+ .studio-template-dialog > footer {
2850
+ margin-top: 24px;
2851
+ }
2852
+ .studio-template-dialog::backdrop {
2853
+ backdrop-filter: blur(40px);
2854
+ }
2855
+ .studio-template-dialog > .vx-dialog-body {
2856
+ flex: 1;
2857
+ min-height: 0;
2858
+ padding: 0;
2859
+ overflow: hidden;
2860
+ }
2861
+ .studio-template-body {
2862
+ position: relative;
2863
+ height: 100%;
2864
+ }
2865
+ .studio-template-scroll {
2866
+ box-sizing: border-box;
2867
+ height: 100%;
2868
+ overflow: auto;
2869
+ padding: 4px;
2870
+ scroll-padding-block: 4px 120px;
2871
+ }
2872
+ .studio-template-body:not([data-at-end=true])::after {
2873
+ content: "";
2874
+ position: absolute;
2875
+ inset: auto 0 0;
2876
+ height: 120px;
2877
+ background:
2878
+ linear-gradient(
2879
+ to bottom,
2880
+ transparent,
2881
+ var(--vx-background-dialog));
2882
+ pointer-events: none;
2883
+ }
2884
+ .studio-template-options {
2885
+ display: grid;
2886
+ grid-template-columns: repeat(3, minmax(0, 1fr));
2887
+ gap: var(--vx-space-16);
2888
+ }
2889
+ .studio-template-option {
2890
+ position: relative;
2891
+ display: grid;
2892
+ align-content: start;
2893
+ gap: var(--vx-space-4);
2894
+ cursor: pointer;
2895
+ }
2896
+ .studio-template-option input {
2897
+ position: absolute;
2898
+ inset: 0;
2899
+ width: 100%;
2900
+ height: 100%;
2901
+ margin: 0;
2902
+ opacity: 0;
2903
+ cursor: pointer;
2904
+ }
2905
+ .studio-template-option input:checked + .studio-home-preview {
2906
+ box-shadow: inset 0 0 0 2px var(--vx-state-success);
2907
+ }
2908
+ .studio-template-option input:focus-visible + .studio-home-preview {
2909
+ outline: 2px solid var(--vx-state-assistance);
2910
+ outline-offset: 2px;
2911
+ }
2912
+ .studio-template-option small {
2913
+ color: var(--vx-text-secondary-readable);
2914
+ }
2915
+ .studio-template-dialog textarea {
2916
+ box-sizing: border-box;
2917
+ width: 100%;
2918
+ padding: var(--vx-space-8);
2919
+ border: 1px solid var(--vx-control-border);
2920
+ border-radius: var(--vx-radius-md);
2921
+ background: var(--vx-surface-input);
2922
+ color: var(--vx-text-primary);
2923
+ font: inherit;
2924
+ }
2925
+ @media (max-width: 900px) {
2926
+ .studio-template-options {
2927
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2928
+ }
2929
+ }
2930
+ @media (max-width: 480px) {
2931
+ .studio-template-options {
2932
+ grid-template-columns: minmax(0, 1fr);
2933
+ }
2934
+ }
2935
+
2936
+ /* packages/studio-workbench/src/global-workbench.css */
2937
+ body:has(.studio-global) {
2938
+ margin: 0;
2939
+ }
2940
+ .studio-global {
2941
+ min-height: 100dvh;
2942
+ background: var(--vx-background-page);
2943
+ }
2944
+ .studio-global *,
2945
+ .studio-global *::before,
2946
+ .studio-global *::after {
2947
+ box-sizing: border-box;
2948
+ }
2949
+ .studio-global h1,
2950
+ .studio-global h2,
2951
+ .studio-global p {
2952
+ margin: 0;
2953
+ }
2954
+ .studio-shell {
2955
+ display: flex;
2956
+ height: 100dvh;
2957
+ min-width: 0;
2958
+ color: var(--vx-text-primary);
2959
+ font: var(--vx-typography-inter-14-regular);
2960
+ }
2961
+ .studio-glyph {
2962
+ flex: none;
2963
+ width: 20px;
2964
+ height: 20px;
2965
+ }
2966
+ .studio-sidebar {
2967
+ display: flex;
2968
+ flex-direction: column;
2969
+ gap: 16px;
2970
+ width: 240px;
2971
+ flex: none;
2972
+ border-right: var(--vx-divider-width) solid var(--vx-border-secondary);
2973
+ background: var(--vx-background-page);
2974
+ }
2975
+ .studio-logo {
2976
+ display: flex;
2977
+ align-items: center;
2978
+ justify-content: space-between;
2979
+ gap: 4px;
2980
+ padding: 16px 12px 0 16px;
2981
+ white-space: nowrap;
2982
+ }
2983
+ .studio-logo strong {
2984
+ font: var(--vx-typography-inter-16-semi-bold);
2985
+ letter-spacing: -0.6px;
2986
+ }
2987
+ .studio-logo button,
2988
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button {
2989
+ appearance: none;
2990
+ border: 0;
2991
+ background: transparent;
2992
+ color: inherit;
2993
+ cursor: pointer;
2994
+ }
2995
+ .studio-logo button {
2996
+ display: grid;
2997
+ place-items: center;
2998
+ padding: 0;
2999
+ width: 24px;
3000
+ height: 24px;
3001
+ color: var(--vx-icon-secondary);
3002
+ }
3003
+ .studio-sidebar nav {
3004
+ display: flex;
3005
+ flex-direction: column;
3006
+ gap: 2px;
3007
+ padding: 0 12px;
3008
+ flex: 1;
3009
+ min-height: 0;
3010
+ overflow: auto;
3011
+ }
3012
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button {
3013
+ display: flex;
3014
+ align-items: center;
3015
+ gap: 8px;
3016
+ min-height: 32px;
3017
+ height: 32px;
3018
+ flex: none;
3019
+ padding: 4px;
3020
+ border-radius: 8px;
3021
+ text-align: left;
3022
+ font: var(--vx-typography-inter-14-medium);
3023
+ }
3024
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button > .studio-glyph {
3025
+ margin: 2px;
3026
+ }
3027
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button > span:last-child {
3028
+ overflow: hidden;
3029
+ white-space: nowrap;
3030
+ text-overflow: ellipsis;
3031
+ }
3032
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button[aria-current=page] {
3033
+ background: var(--vx-surface-selected);
3034
+ }
3035
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button:hover:not(:disabled) {
3036
+ background: var(--vx-surface-hover);
3037
+ }
3038
+ .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button:disabled {
3039
+ opacity: 0.5;
3040
+ cursor: default;
3041
+ }
3042
+ .studio-sidebar h2 {
3043
+ padding: 16px 4px 6px;
3044
+ font: var(--vx-typography-inter-12-medium);
3045
+ color: var(--vx-text-secondary-readable);
3046
+ }
3047
+ .studio-project-thumbnail {
3048
+ display: grid;
3049
+ place-items: center;
3050
+ width: 24px;
3051
+ height: 24px;
3052
+ flex: none;
3053
+ background: var(--vx-surface-input);
3054
+ color: var(--vx-text-secondary-readable);
3055
+ border-radius: 6px;
3056
+ overflow: hidden;
3057
+ }
3058
+ .studio-project-thumbnail > svg {
3059
+ width: 16px;
3060
+ height: 16px;
3061
+ }
3062
+ .studio-project-thumbnail > :is(img, video) {
3063
+ width: 100%;
3064
+ height: 100%;
3065
+ display: block;
3066
+ object-fit: cover;
3067
+ }
3068
+ .studio-account {
3069
+ display: flex;
3070
+ align-items: center;
3071
+ gap: 8px;
3072
+ padding: 12px 16px;
3073
+ min-height: 56px;
3074
+ font: var(--vx-typography-inter-14-medium);
3075
+ }
3076
+ .studio-user-mark {
3077
+ display: grid;
3078
+ place-items: center;
3079
+ width: 32px;
3080
+ height: 32px;
3081
+ border-radius: 50%;
3082
+ background: var(--vx-surface-input) url("./assets/local-user-MIBWBA6X.png") center / cover no-repeat;
3083
+ }
3084
+ .studio-sidebar[data-collapsed=true] {
3085
+ width: 56px;
3086
+ }
3087
+ .studio-sidebar[data-collapsed=true] .studio-logo {
3088
+ justify-content: center;
3089
+ padding-inline: 0;
3090
+ }
3091
+ .studio-sidebar[data-collapsed=true] :is(.studio-logo strong, nav > button > span:last-child, .studio-project-row > button > span:last-child, .studio-account > span:last-child) {
3092
+ display: none;
3093
+ }
3094
+ .studio-sidebar[data-collapsed=true] nav h2 {
3095
+ height: 24px;
3096
+ padding: 4px;
3097
+ font-size: 0;
3098
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
3099
+ }
3100
+ .studio-sidebar[data-collapsed=true] .studio-account {
3101
+ padding-inline: 12px;
3102
+ }
3103
+ .studio-content {
3104
+ display: flex;
3105
+ flex: 1;
3106
+ flex-direction: column;
3107
+ gap: 8px;
3108
+ min-width: 0;
3109
+ min-height: 0;
3110
+ max-width: 1920px;
3111
+ margin-inline: auto;
3112
+ padding: 8px;
3113
+ overflow: hidden;
3114
+ }
3115
+ .studio-page-header {
3116
+ display: flex;
3117
+ align-items: center;
3118
+ gap: 10px;
3119
+ height: 40px;
3120
+ min-height: 40px;
3121
+ padding: 4px 4px 4px 16px;
3122
+ }
3123
+ .studio-page-header h1 {
3124
+ flex: 1;
3125
+ min-width: 0;
3126
+ overflow: hidden;
3127
+ white-space: nowrap;
3128
+ text-overflow: ellipsis;
3129
+ font: var(--vx-typography-inter-18-semi-bold);
3130
+ }
3131
+ .studio-create-view.vx-button {
3132
+ background: transparent;
3133
+ color: var(--vx-state-success);
3134
+ height: 28px;
3135
+ padding: 4px 12px;
3136
+ }
3137
+ .studio-mobile-nav {
3138
+ display: none;
3139
+ }
3140
+ .studio-page-panel {
3141
+ display: flex;
3142
+ flex-direction: column;
3143
+ flex: 1;
3144
+ min-height: 0;
3145
+ min-width: 0;
3146
+ border-radius: 16px;
3147
+ overflow: hidden;
3148
+ background: var(--vx-background-dialog);
3149
+ }
3150
+ .studio-toolbar {
3151
+ display: flex;
3152
+ align-items: center;
3153
+ gap: 8px;
3154
+ min-height: 56px;
3155
+ padding: 0 16px;
3156
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
3157
+ flex: none;
3158
+ }
3159
+ .studio-view-tabs {
3160
+ display: flex;
3161
+ align-items: stretch;
3162
+ flex: 1;
3163
+ align-self: stretch;
3164
+ min-width: 0;
3165
+ overflow-x: auto;
3166
+ gap: 4px;
3167
+ }
3168
+ .studio-view-tabs > .vx-button {
3169
+ flex: none;
3170
+ height: 100%;
3171
+ padding: 0 12px;
3172
+ border-radius: 0;
3173
+ background: transparent;
3174
+ border-bottom: 2px solid transparent;
3175
+ color: var(--vx-text-secondary-readable);
3176
+ }
3177
+ .studio-view-tabs > .vx-button.active {
3178
+ border-bottom-color: var(--vx-text-primary);
3179
+ color: var(--vx-text-primary);
3180
+ }
3181
+ .studio-toolbar-controls,
3182
+ .studio-bulk {
3183
+ display: flex;
3184
+ align-items: center;
3185
+ gap: 8px;
3186
+ flex: none;
3187
+ }
3188
+ .studio-toolbar-controls > .vx-button,
3189
+ .studio-bulk > .vx-button {
3190
+ background: transparent;
3191
+ }
3192
+ .studio-bulk > span {
3193
+ color: var(--vx-text-secondary-readable);
3194
+ white-space: nowrap;
3195
+ }
3196
+ .studio-results {
3197
+ display: flex;
3198
+ flex-direction: column;
3199
+ flex: 1;
3200
+ min-height: 0;
3201
+ min-width: 0;
3202
+ }
3203
+ .studio-table-scroll {
3204
+ display: flex;
3205
+ flex-direction: column;
3206
+ flex: 1;
3207
+ overflow: auto;
3208
+ min-height: 0;
3209
+ }
3210
+ .studio-table {
3211
+ width: 100%;
3212
+ min-width: 690px;
3213
+ table-layout: fixed;
3214
+ border-collapse: collapse;
3215
+ }
3216
+ .studio-table-assets {
3217
+ min-width: 1200px;
3218
+ }
3219
+ .studio-table th,
3220
+ .studio-table td {
3221
+ padding: 12px 8px;
3222
+ text-align: left;
3223
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
3224
+ vertical-align: middle;
3225
+ overflow-wrap: anywhere;
3226
+ }
3227
+ .studio-table th {
3228
+ height: 44px;
3229
+ padding-block: 8px;
3230
+ color: var(--vx-text-secondary-readable);
3231
+ font: var(--vx-typography-inter-12-regular);
3232
+ }
3233
+ .studio-table :is(th, td):first-child {
3234
+ padding-left: 16px;
3235
+ }
3236
+ .studio-table :is(th, td):last-child {
3237
+ padding-right: 16px;
3238
+ }
3239
+ .studio-table tr:focus-within,
3240
+ .studio-table tbody tr:hover {
3241
+ background: var(--vx-surface-hover);
3242
+ }
3243
+ .studio-row-name.vx-button {
3244
+ height: auto;
3245
+ padding: 0;
3246
+ background: transparent;
3247
+ max-width: 100%;
3248
+ text-align: left;
3249
+ }
3250
+ .studio-row-name .vx-button-label {
3251
+ white-space: normal;
3252
+ font: var(--vx-typography-inter-14-regular);
3253
+ }
3254
+ .studio-cell-text {
3255
+ display: -webkit-box;
3256
+ -webkit-line-clamp: 2;
3257
+ -webkit-box-orient: vertical;
3258
+ overflow: hidden;
3259
+ }
3260
+ .studio-cover {
3261
+ position: relative;
3262
+ }
3263
+ .studio-table .studio-cover {
3264
+ width: 114px;
3265
+ height: 64px;
3266
+ max-width: 100%;
3267
+ }
3268
+ .studio-cover > .vx-media {
3269
+ width: 100%;
3270
+ height: 100%;
3271
+ border-radius: 8px;
3272
+ }
3273
+ .studio-cover-video {
3274
+ position: absolute;
3275
+ inset: 0;
3276
+ width: 100%;
3277
+ height: 100%;
3278
+ object-fit: contain;
3279
+ border-radius: 8px;
3280
+ pointer-events: none;
3281
+ }
3282
+ .studio-cover[data-kind=video] > .vx-media {
3283
+ position: relative;
3284
+ z-index: 1;
3285
+ background: transparent;
3286
+ }
3287
+ .studio-cover-placeholder {
3288
+ position: absolute;
3289
+ inset: 0;
3290
+ display: grid;
3291
+ place-items: center;
3292
+ pointer-events: none;
3293
+ color: var(--vx-icon-secondary);
3294
+ }
3295
+ .studio-cover-placeholder > .studio-glyph {
3296
+ width: 24px;
3297
+ height: 24px;
3298
+ }
3299
+ .studio-categories {
3300
+ display: flex;
3301
+ gap: 4px;
3302
+ flex-wrap: wrap;
3303
+ }
3304
+ .studio-task-state {
3305
+ display: inline-flex;
3306
+ align-items: center;
3307
+ gap: 4px;
3308
+ white-space: nowrap;
3309
+ }
3310
+ .studio-task-state::before {
3311
+ content: "";
3312
+ width: 8px;
3313
+ height: 8px;
3314
+ border-radius: 50%;
3315
+ background: var(--vx-text-secondary);
3316
+ }
3317
+ .studio-task-state[data-state=succeeded] {
3318
+ color: var(--vx-state-success);
3319
+ }
3320
+ .studio-task-state[data-state=succeeded]::before {
3321
+ background: var(--vx-state-success);
3322
+ }
3323
+ .studio-task-state:is([data-state=failed], [data-state=save_failed]) {
3324
+ color: var(--vx-state-danger);
3325
+ }
3326
+ .studio-task-state:is([data-state=failed], [data-state=save_failed])::before {
3327
+ background: var(--vx-state-danger);
3328
+ }
3329
+ .studio-task-state:is([data-state=running], [data-state=queued], [data-state=saving])::before {
3330
+ background: var(--vx-state-assistance);
3331
+ }
3332
+ .studio-grid {
3333
+ display: grid;
3334
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
3335
+ align-content: start;
3336
+ gap: 16px;
3337
+ padding: 16px;
3338
+ overflow: auto;
3339
+ min-height: 0;
3340
+ flex: 1;
3341
+ }
3342
+ .studio-card {
3343
+ display: flex;
3344
+ flex-direction: column;
3345
+ gap: 8px;
3346
+ min-width: 0;
3347
+ padding: 4px 4px 10px;
3348
+ border-radius: 12px;
3349
+ background: var(--vx-background-dialog);
3350
+ }
3351
+ .studio-card-heading {
3352
+ display: flex;
3353
+ align-items: center;
3354
+ gap: 8px;
3355
+ padding: 0 8px;
3356
+ }
3357
+ .studio-card-heading > .studio-row-name {
3358
+ flex: 1;
3359
+ min-width: 0;
3360
+ }
3361
+ .studio-card-heading .studio-row-name .vx-button-label {
3362
+ font: var(--vx-typography-inter-14-semi-bold);
3363
+ white-space: nowrap;
3364
+ overflow: hidden;
3365
+ text-overflow: ellipsis;
3366
+ }
3367
+ .studio-card-subtitle {
3368
+ min-height: 16px;
3369
+ padding: 0 8px;
3370
+ margin-top: -6px;
3371
+ color: var(--vx-text-secondary);
3372
+ font: var(--vx-typography-inter-12-regular);
3373
+ }
3374
+ .studio-card-heading > .vx-action-menu > .vx-button,
3375
+ .studio-table td:last-child > .vx-action-menu > .vx-button {
3376
+ width: 24px;
3377
+ height: 24px;
3378
+ padding: 0;
3379
+ background: transparent;
3380
+ }
3381
+ .studio-card-heading > .vx-action-menu > .vx-button .vx-button-label,
3382
+ .studio-card-heading > .vx-action-menu > .vx-button .vx-button-trailing,
3383
+ .studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-label,
3384
+ .studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-trailing {
3385
+ display: none;
3386
+ }
3387
+ .studio-card-heading > .vx-action-menu > .vx-button::after,
3388
+ .studio-table td:last-child > .vx-action-menu > .vx-button::after {
3389
+ content: "\b7\b7\b7";
3390
+ position: absolute;
3391
+ font-size: 18px;
3392
+ line-height: 1;
3393
+ }
3394
+ .studio-table td:last-child {
3395
+ text-align: right;
3396
+ }
3397
+ @media (hover: hover) {
3398
+ .studio-card:not(:hover):not(:focus-within) .studio-card-heading > .vx-action-menu:not(:has([aria-expanded=true])) {
3399
+ opacity: 0;
3400
+ }
3401
+ }
3402
+ .studio-card > .studio-cover {
3403
+ aspect-ratio: 16/9;
3404
+ }
3405
+ .studio-card dl {
3406
+ display: flex;
3407
+ flex-direction: column;
3408
+ gap: 6px;
3409
+ margin: 0;
3410
+ }
3411
+ .studio-card dl > div {
3412
+ display: flex;
3413
+ gap: 8px;
3414
+ font: var(--vx-typography-inter-12-regular);
3415
+ }
3416
+ .studio-card dt {
3417
+ color: var(--vx-text-secondary-readable);
3418
+ flex: 0 0 34%;
3419
+ }
3420
+ .studio-card dd {
3421
+ margin: 0;
3422
+ overflow: hidden;
3423
+ overflow-wrap: anywhere;
3424
+ }
3425
+ .studio-card > .vx-action-menu {
3426
+ align-self: flex-end;
3427
+ }
3428
+ .studio-empty {
3429
+ display: grid;
3430
+ place-items: center;
3431
+ flex: 1;
3432
+ width: 100%;
3433
+ min-height: 160px;
3434
+ color: var(--vx-text-secondary-readable);
3435
+ text-align: center;
3436
+ }
3437
+ .studio-grid > .studio-empty {
3438
+ grid-column: 1/-1;
3439
+ min-height: 200px;
3440
+ }
3441
+ .studio-feedback {
3442
+ display: flex;
3443
+ align-items: center;
3444
+ justify-content: space-between;
3445
+ gap: 12px;
3446
+ padding: 8px 16px;
3447
+ background: var(--vx-surface-input);
3448
+ border-radius: 8px;
3449
+ overflow-wrap: anywhere;
3450
+ flex: none;
3451
+ }
3452
+ .studio-error {
3453
+ color: var(--vx-state-danger);
3454
+ }
3455
+ .studio-pagination {
3456
+ display: flex;
3457
+ align-items: center;
3458
+ justify-content: center;
3459
+ gap: 16px;
3460
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
3461
+ padding: 8px;
3462
+ flex: none;
3463
+ }
3464
+ .studio-shell[data-detail] > .studio-sidebar,
3465
+ .studio-shell[data-detail] > .studio-content > .studio-page-header,
3466
+ .studio-shell[data-detail] > .studio-content > .studio-mobile-nav {
3467
+ display: none;
3468
+ }
3469
+ .studio-shell[data-detail] > .studio-content {
3470
+ padding: 0;
3471
+ gap: 0;
3472
+ }
3473
+ .studio-shell[data-detail] .studio-asset-detail {
3474
+ border-radius: 0;
3475
+ }
3476
+ .studio-asset-detail {
3477
+ display: flex;
3478
+ flex: 1;
3479
+ min-width: 0;
3480
+ min-height: 0;
3481
+ border-radius: 16px;
3482
+ overflow: hidden;
3483
+ background: var(--vx-background-dialog);
3484
+ }
3485
+ .studio-preview-stage {
3486
+ display: flex;
3487
+ flex: 1;
3488
+ position: relative;
3489
+ min-width: 0;
3490
+ min-height: 0;
3491
+ align-items: center;
3492
+ justify-content: center;
3493
+ padding: 64px 24px;
3494
+ }
3495
+ .studio-preview-stage > img,
3496
+ .studio-preview-stage > video {
3497
+ object-fit: contain;
3498
+ max-width: 100%;
3499
+ max-height: 100%;
3500
+ width: min(960px, 100%);
3501
+ border-radius: 4px;
3502
+ }
3503
+ .studio-preview-stage > audio {
3504
+ max-width: 100%;
3505
+ }
3506
+ .studio-detail-back.vx-button {
3507
+ position: absolute;
3508
+ top: 12px;
3509
+ left: 15px;
3510
+ background: var(--vx-background-dialog);
3511
+ color: var(--vx-text-primary);
3512
+ }
3513
+ .studio-preview-actions {
3514
+ display: flex;
3515
+ align-items: center;
3516
+ gap: 8px;
3517
+ position: absolute;
3518
+ top: 12px;
3519
+ right: 12px;
3520
+ }
3521
+ .studio-preview-actions > .vx-button {
3522
+ background: var(--vx-background-dialog);
3523
+ color: var(--vx-text-primary);
3524
+ }
3525
+ .studio-favorite {
3526
+ display: grid;
3527
+ place-items: center;
3528
+ width: 32px;
3529
+ height: 32px;
3530
+ border: 0;
3531
+ border-radius: 50%;
3532
+ background: var(--vx-background-dialog);
3533
+ color: var(--vx-text-primary);
3534
+ cursor: pointer;
3535
+ }
3536
+ .studio-favorite .studio-glyph {
3537
+ width: 14px;
3538
+ height: 16px;
3539
+ }
3540
+ .studio-favorite[aria-pressed=true] {
3541
+ color: var(--vx-state-success);
3542
+ background: var(--vx-surface-selected);
3543
+ }
3544
+ .studio-preview-details {
3545
+ width: 320px;
3546
+ flex: none;
3547
+ display: flex;
3548
+ flex-direction: column;
3549
+ gap: 24px;
3550
+ padding: 24px 16px;
3551
+ border-left: var(--vx-divider-width) solid var(--vx-border-secondary);
3552
+ overflow-y: auto;
3553
+ overflow-wrap: anywhere;
3554
+ }
3555
+ .studio-preview-details h2 {
3556
+ font: var(--vx-typography-inter-16-semi-bold);
3557
+ }
3558
+ .studio-detail-group {
3559
+ display: flex;
3560
+ flex-direction: column;
3561
+ gap: 8px;
3562
+ }
3563
+ .studio-detail-group > span:first-child {
3564
+ color: var(--vx-text-secondary-readable);
3565
+ }
3566
+ .studio-detail-group p {
3567
+ white-space: pre-wrap;
3568
+ }
3569
+ .studio-detail-group pre {
3570
+ margin: 0;
3571
+ white-space: pre-wrap;
3572
+ overflow-wrap: anywhere;
3573
+ font: var(--vx-typography-inter-12-regular);
3574
+ }
3575
+ .studio-detail-group > .vx-button {
3576
+ align-self: flex-start;
3577
+ padding: 0;
3578
+ height: auto;
3579
+ color: var(--vx-state-success);
3580
+ }
3581
+ .studio-prompt {
3582
+ display: -webkit-box;
3583
+ -webkit-line-clamp: 4;
3584
+ -webkit-box-orient: vertical;
3585
+ overflow: hidden;
3586
+ }
3587
+ .studio-prompt[data-expanded=true] {
3588
+ display: block;
3589
+ }
3590
+ .studio-text-preview {
3591
+ white-space: pre-wrap;
3592
+ overflow-wrap: anywhere;
3593
+ max-width: 100%;
3594
+ max-height: 100%;
3595
+ overflow: auto;
3596
+ margin: 0;
3597
+ }
3598
+ .studio-reference-list {
3599
+ display: flex;
3600
+ flex-direction: column;
3601
+ align-items: flex-start;
3602
+ gap: 8px;
3603
+ }
3604
+ .studio-reference-list .vx-button {
3605
+ max-width: 100%;
3606
+ }
3607
+ .studio-view-form {
3608
+ display: flex;
3609
+ flex-direction: column;
3610
+ gap: 16px;
3611
+ }
3612
+ .studio-view-form fieldset {
3613
+ display: grid;
3614
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
3615
+ gap: 10px 16px;
3616
+ margin: 0;
3617
+ padding: 12px;
3618
+ border: 1px solid var(--vx-border-secondary);
3619
+ border-radius: 8px;
3620
+ min-width: 0;
3621
+ }
3622
+ .studio-view-form legend {
3623
+ padding-inline: 4px;
3624
+ }
3625
+ .studio-view-form p {
3626
+ margin: 0;
3627
+ color: var(--vx-text-secondary-readable);
3628
+ }
3629
+ .studio-view-form [role=alert] {
3630
+ color: var(--vx-state-danger);
3631
+ }
3632
+ .studio-global :is(button, a, textarea, summary):focus-visible {
3633
+ outline: 2px solid var(--vx-state-assistance);
3634
+ outline-offset: 2px;
3635
+ }
3636
+ @media (max-width: 1100px) {
3637
+ .studio-toolbar {
3638
+ flex-wrap: wrap;
3639
+ gap: 8px;
3640
+ padding-block: 8px;
3641
+ }
3642
+ .studio-view-tabs {
3643
+ min-height: 40px;
3644
+ }
3645
+ .studio-toolbar-controls,
3646
+ .studio-bulk {
3647
+ flex-wrap: wrap;
3648
+ }
3649
+ .studio-page-header h1 {
3650
+ font: var(--vx-typography-inter-14-semi-bold);
3651
+ }
3652
+ }
3653
+ @media (max-width: 760px) {
3654
+ .studio-shell {
3655
+ min-height: 100dvh;
3656
+ height: auto;
3657
+ }
3658
+ .studio-sidebar {
3659
+ display: none;
3660
+ }
3661
+ .studio-content {
3662
+ overflow: visible;
3663
+ padding: 8px 16px;
3664
+ }
3665
+ .studio-mobile-nav {
3666
+ display: block;
3667
+ }
3668
+ .studio-page-header {
3669
+ padding-left: 4px;
3670
+ flex-wrap: wrap;
3671
+ height: auto;
3672
+ min-height: 40px;
3673
+ }
3674
+ .studio-page-header h1 {
3675
+ flex: 1 1 120px;
3676
+ }
3677
+ .studio-create-view.vx-button {
3678
+ padding-inline: 4px;
3679
+ }
3680
+ .studio-toolbar {
3681
+ padding: 0 12px 8px;
3682
+ }
3683
+ .studio-view-tabs {
3684
+ flex-basis: 100%;
3685
+ min-height: 56px;
3686
+ }
3687
+ .studio-toolbar-controls,
3688
+ .studio-bulk {
3689
+ flex-wrap: wrap;
3690
+ width: 100%;
3691
+ gap: 6px;
3692
+ }
3693
+ .studio-page-panel {
3694
+ min-height: 60dvh;
3695
+ }
3696
+ .studio-table-scroll {
3697
+ max-height: 70dvh;
3698
+ }
3699
+ .studio-grid {
3700
+ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
3701
+ }
3702
+ .studio-asset-detail {
3703
+ flex-direction: column;
3704
+ overflow: visible;
3705
+ }
3706
+ .studio-preview-stage {
3707
+ height: 45dvh;
3708
+ min-height: 280px;
3709
+ padding: 64px 16px 24px;
3710
+ flex: none;
3711
+ }
3712
+ .studio-preview-details {
3713
+ width: 100%;
3714
+ overflow: visible;
3715
+ border-left: 0;
3716
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
3717
+ }
3718
+ }
3719
+ @media (prefers-reduced-motion: reduce) {
3720
+ .studio-global * {
3721
+ scroll-behavior: auto;
3722
+ }
3723
+ }
3724
+ .studio-shell[data-project] > .studio-content {
3725
+ padding: 0;
3726
+ gap: 0;
3727
+ }
3728
+ .studio-project-frame {
3729
+ flex: 1;
3730
+ width: 100%;
3731
+ min-height: 0;
3732
+ border: 0;
3733
+ color-scheme: normal;
3734
+ }
3735
+ .studio-project-group,
3736
+ .studio-project-pages {
3737
+ display: grid;
3738
+ gap: 2px;
3739
+ }
3740
+ .studio-project-row {
3741
+ position: relative;
3742
+ display: grid;
3743
+ grid-template-columns: minmax(0, 1fr);
3744
+ }
3745
+ .studio-sidebar .studio-project-row:has(.studio-project-actions) > button {
3746
+ padding-inline-end: var(--vx-space-32);
3747
+ }
3748
+ .studio-project-actions {
3749
+ position: absolute;
3750
+ inset-inline-end: var(--vx-space-4);
3751
+ inset-block-start: 50%;
3752
+ translate: 0 -50%;
3753
+ opacity: 0;
3754
+ pointer-events: none;
3755
+ }
3756
+ .studio-project-row:is(:hover, :focus-within, [data-active]) .studio-project-actions {
3757
+ opacity: 1;
3758
+ pointer-events: auto;
3759
+ }
3760
+ @media (hover: none) {
3761
+ .studio-project-actions {
3762
+ opacity: 1;
3763
+ pointer-events: auto;
3764
+ }
3765
+ }
3766
+ .studio-project-pages {
3767
+ margin-inline-start: var(--vx-space-16);
3768
+ padding-inline-start: var(--vx-space-12);
3769
+ border-inline-start: var(--vx-divider-width) solid var(--vx-border-secondary);
3770
+ }
3771
+ .studio-sidebar .studio-project-pages > .studio-project-tab {
3772
+ padding-inline: var(--vx-space-8);
3773
+ font: var(--vx-typography-inter-14-regular);
3774
+ color: var(--vx-text-secondary-readable);
3775
+ }
3776
+ .studio-sidebar .studio-project-pages > .studio-project-tab[aria-current=page] {
3777
+ color: var(--vx-text-primary);
3778
+ font: var(--vx-typography-inter-14-medium);
3779
+ }
3780
+ @media (max-width: 760px) {
3781
+ .studio-shell[data-project] {
3782
+ height: 100dvh;
3783
+ }
3784
+ .studio-shell[data-project] .studio-mobile-nav {
3785
+ padding: 8px 12px;
3786
+ }
3787
+ }
3788
+ .studio-sidebar nav > button > .studio-nav-icon {
3789
+ display: grid;
3790
+ place-items: center;
3791
+ flex: 0 0 24px;
3792
+ inline-size: 24px;
3793
+ block-size: 24px;
3794
+ }
3795
+ .studio-nav-icon::before {
3796
+ content: "";
3797
+ inline-size: 20px;
3798
+ block-size: 20px;
3799
+ background: currentColor;
3800
+ mask: var(--studio-nav-mask) center / contain no-repeat;
3801
+ }
3802
+ .studio-nav-icon[data-icon=home] {
3803
+ --studio-nav-mask: url("./assets/nav-home-BMDOUQGN.svg");
3804
+ }
3805
+ .studio-nav-icon[data-icon=projects] {
3806
+ --studio-nav-mask: url("./assets/nav-projects-N5UV3GAG.svg");
3807
+ }
3808
+ .studio-nav-icon[data-icon=assets] {
3809
+ --studio-nav-mask: url("./assets/nav-assets-35EAQZQX.svg");
3810
+ }
3811
+ .studio-nav-icon[data-icon=tasks] {
3812
+ --studio-nav-mask: url("./assets/nav-queue-2I5E65F4.svg");
3813
+ }
3814
+ .studio-project-caption {
3815
+ display: flex;
3816
+ align-items: center;
3817
+ gap: var(--vx-space-8);
3818
+ min-inline-size: 0;
3819
+ }
3820
+ .studio-project-caption > span {
3821
+ overflow: hidden;
3822
+ text-overflow: ellipsis;
3823
+ }
3824
+ .studio-sample-label {
3825
+ flex: none;
3826
+ border-radius: 3px;
3827
+ padding: 1px 4px;
3828
+ background: var(--vx-surface-input);
3829
+ color: var(--vx-text-secondary-readable);
3830
+ font: var(--vx-typography-inter-12-medium);
3831
+ }
3832
+ .studio-shell[data-focus] {
3833
+ grid-template-columns: minmax(0, 1fr);
3834
+ }
3835
+ .studio-shell[data-focus] > .studio-sidebar {
3836
+ display: none;
3837
+ }
3838
+
3839
+ /* packages/studio-workbench/src/media-tools.css */
3840
+ .file-media-tools .actions {
3841
+ display: flex;
3842
+ flex-wrap: wrap;
3843
+ gap: 8px;
3844
+ margin-top: 12px;
3845
+ }
3846
+ .file-media-tools > label {
3847
+ font-size: 13px;
3848
+ color: var(--vx-text-secondary);
3849
+ }
3850
+ .file-media-tools input,
3851
+ .file-media-choice select {
3852
+ color: var(--vx-text-primary);
3853
+ background: var(--vx-background-dialog);
3854
+ border: 1px solid var(--vx-border-secondary);
3855
+ border-radius: 6px;
3856
+ padding: 8px 10px;
3857
+ }
3858
+ .file-media-comparison > .vx-dialog {
3859
+ width: min(1400px, calc(100vw - 32px));
3860
+ max-width: none;
3861
+ border: 1px solid var(--vx-surface-input);
3862
+ border-radius: 16px;
3863
+ font-family: var(--vx-font-inter);
3864
+ }
3865
+ .file-media-comparison .vx-dialog::backdrop {
3866
+ background: var(--vx-overlay-dialog);
3867
+ backdrop-filter: blur(40px);
3868
+ }
3869
+ .file-media-comparison .vx-dialog > header {
3870
+ height: auto;
3871
+ border: 0;
3872
+ padding: 24px 24px 0;
3873
+ margin-bottom: 24px;
3874
+ }
3875
+ .file-media-comparison .vx-dialog > header h2 {
3876
+ font: 600 22px / 1.2 var(--vx-font-inter);
3877
+ }
3878
+ .file-media-comparison .vx-dialog > header > button {
3879
+ align-self: start;
3880
+ margin: -8px -8px 0 0;
3881
+ }
3882
+ .file-media-comparison .vx-dialog-body {
3883
+ padding: 0 24px 24px;
3884
+ }
3885
+ .file-media-comparison .vx-dialog > footer {
3886
+ padding: 8px 24px 24px;
3887
+ }
3888
+ .file-media-comparison .vx-dialog .vx-dialog {
3889
+ width: min(480px, calc(100vw - 32px));
3890
+ border-radius: 16px;
3891
+ }
3892
+ .file-media-choice {
3893
+ display: grid;
3894
+ gap: 8px;
3895
+ font-size: 14px;
3896
+ }
3897
+ .file-media-choice select {
3898
+ width: 100%;
3899
+ box-sizing: border-box;
3900
+ font: inherit;
3901
+ }
3902
+ .file-media-comparison section[aria-label="Video details"] > dl {
3903
+ display: grid;
3904
+ grid-template-columns: auto minmax(0, 1fr);
3905
+ gap: 12px 24px;
3906
+ font-size: 14px;
3907
+ }
3908
+ .file-media-comparison section[aria-label="Video details"] dt {
3909
+ color: var(--vx-text-secondary);
3910
+ }
3911
+ .file-media-comparison section[aria-label="Video details"] dd {
3912
+ margin: 0;
3913
+ overflow-wrap: anywhere;
3914
+ }