@vivix-labs/media-tools 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 (76) hide show
  1. package/README.md +132 -2
  2. package/dist/Inter-LICENSE.txt +93 -0
  3. package/dist/UI-LICENSE.txt +21 -0
  4. package/dist/assets/35a50-G5EJUNOC.svg +6 -0
  5. package/dist/assets/369ca-BISNKZ3M.svg +6 -0
  6. package/dist/assets/441bc-BCMNQ72W.svg +6 -0
  7. package/dist/assets/483f0-T6ZAGTDG.svg +6 -0
  8. package/dist/assets/6911b-ESLYKSC6.svg +6 -0
  9. package/dist/assets/Inter-LICENSE.txt +93 -0
  10. package/dist/assets/UI-system-LICENSE.txt +21 -0
  11. package/dist/assets/add-JY533O73.svg +5 -0
  12. package/dist/assets/area-P2WOMBT5.svg +9 -0
  13. package/dist/assets/b70bb-BTTOKPOH.svg +6 -0
  14. package/dist/assets/b9919-3S3O6YOT.svg +6 -0
  15. package/dist/assets/calendar-JI6USFRJ.svg +1 -0
  16. package/dist/assets/check-JSRRIXN5.svg +5 -0
  17. package/dist/assets/check-on-content-FQUVG3IZ.svg +5 -0
  18. package/dist/assets/chevron-down-K7YKS2EY.svg +5 -0
  19. package/dist/assets/chevron-left-JQCLK2WZ.svg +3 -0
  20. package/dist/assets/chevron-right-TNE35DBJ.svg +3 -0
  21. package/dist/assets/chevron-up-VBHYAJVB.svg +5 -0
  22. package/dist/assets/clear-XNEZJKFC.svg +5 -0
  23. package/dist/assets/close-GO5F7YFS.svg +10 -0
  24. package/dist/assets/dccd4-CZJXWICW.svg +6 -0
  25. package/dist/assets/dd163-3S3O6YOT.svg +6 -0
  26. package/dist/assets/detail-E52XPONK.svg +4 -0
  27. package/dist/assets/draw-FOFX5TOM.svg +6 -0
  28. package/dist/assets/e8aed-CZJXWICW.svg +6 -0
  29. package/dist/assets/ea990-CZJXWICW.svg +6 -0
  30. package/dist/assets/edit-JUVJDD5A.svg +6 -0
  31. package/dist/assets/expand-IAV75AFA.svg +6 -0
  32. package/dist/assets/export-W2OBXZDQ.svg +6 -0
  33. package/dist/assets/fullscreen-L2JCXIN2.svg +6 -0
  34. package/dist/assets/fullscreen-large-MPLIWDMI.svg +6 -0
  35. package/dist/assets/grid-TLG5JYWB.svg +8 -0
  36. package/dist/assets/import-AFBUV2VV.svg +4 -0
  37. package/dist/assets/inter-latin-400-normal-55WT6UWF.woff2 +0 -0
  38. package/dist/assets/inter-latin-500-normal-W62DVTXI.woff2 +0 -0
  39. package/dist/assets/inter-latin-600-normal-R6Y2SZCR.woff2 +0 -0
  40. package/dist/assets/inter-latin-700-normal-SU5XVJMF.woff2 +0 -0
  41. package/dist/assets/list-5VUAOZUH.svg +9 -0
  42. package/dist/assets/magic-OMME7FOV.svg +9 -0
  43. package/dist/assets/more-AEJ5MHWV.svg +5 -0
  44. package/dist/assets/mute-SXOSCR2U.svg +6 -0
  45. package/dist/assets/mute-large-LSZZ44HF.svg +6 -0
  46. package/dist/assets/pause-2E4UY4FW.svg +6 -0
  47. package/dist/assets/pause-large-XEUBL4KC.svg +6 -0
  48. package/dist/assets/placeholder-audio-EJEBE7OB.svg +11 -0
  49. package/dist/assets/placeholder-image-NOVXFVRL.svg +10 -0
  50. package/dist/assets/placeholder-script-LR2GKWKS.svg +7 -0
  51. package/dist/assets/placeholder-video-ZFOYHYCR.svg +7 -0
  52. package/dist/assets/play-WIIT3XQK.svg +5 -0
  53. package/dist/assets/play-cover-WQLOHHPZ.svg +5 -0
  54. package/dist/assets/playback-play-YRMIX5W4.svg +5 -0
  55. package/dist/assets/playback-play-large-TM3QUJGG.svg +5 -0
  56. package/dist/assets/player-cover-shade-LLH6KOCQ.png +0 -0
  57. package/dist/assets/reset-JESMTEMV.svg +6 -0
  58. package/dist/assets/search-JUOSGQRM.svg +6 -0
  59. package/dist/assets/select-VU7WR7B4.svg +7 -0
  60. package/dist/assets/sound-file-YYY6VNYN.svg +3 -0
  61. package/dist/assets/volume-2TYGJL6F.svg +6 -0
  62. package/dist/assets/volume-large-QNULSJ2I.svg +6 -0
  63. package/dist/client.bundle.js +1872 -0
  64. package/dist/client.css +2575 -0
  65. package/dist/client.d.ts +19 -0
  66. package/dist/client.js +3 -0
  67. package/dist/server.d.ts +11 -0
  68. package/dist/server.js +1763 -0
  69. package/dist/shared.d.ts +667 -0
  70. package/dist/shared.js +217 -0
  71. package/dist/worker.d.ts +2 -0
  72. package/dist/worker.js +189 -0
  73. package/package.json +42 -3
  74. package/skills/SKILL.md +49 -0
  75. package/skills/references/processing.md +32 -0
  76. package/studio-plugin.json +11 -0
@@ -0,0 +1,2575 @@
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/media-tools/src/ui/styles.css */
1979
+ .mt-root {
1980
+ font-family: var(--vx-font-inter);
1981
+ color: var(--vx-text-primary);
1982
+ font-size: 14px;
1983
+ line-height: 1.5;
1984
+ }
1985
+ .mt-root button,
1986
+ .mt-root input,
1987
+ .mt-root select {
1988
+ font: inherit;
1989
+ }
1990
+ .mt-root h3 {
1991
+ font-size: 14px;
1992
+ margin: 0 0 8px;
1993
+ }
1994
+ .mt-editor .vx-dialog {
1995
+ width: min(720px, calc(100vw - 32px));
1996
+ max-width: none;
1997
+ border-radius: 16px;
1998
+ border-color: var(--vx-surface-input);
1999
+ }
2000
+ .mt-editor .vx-dialog::backdrop {
2001
+ background: var(--vx-overlay-dialog);
2002
+ backdrop-filter: blur(40px);
2003
+ }
2004
+ .mt-editor .vx-dialog > header {
2005
+ height: auto;
2006
+ border: 0;
2007
+ padding: 24px 24px 0;
2008
+ margin-bottom: 24px;
2009
+ }
2010
+ .mt-editor .vx-dialog > header h2 {
2011
+ font: 600 22px / 1.2 var(--vx-font-inter);
2012
+ }
2013
+ .mt-editor .vx-dialog > header > button {
2014
+ align-self: start;
2015
+ margin: -8px -8px 0 0;
2016
+ }
2017
+ .mt-editor .vx-dialog-body {
2018
+ padding: 0 24px;
2019
+ }
2020
+ .mt-editor .vx-dialog > footer {
2021
+ padding: 32px 24px 24px;
2022
+ }
2023
+ .mt-editor[data-mode=crop] .vx-dialog[open] {
2024
+ display: flex;
2025
+ flex-direction: column;
2026
+ overflow: hidden;
2027
+ }
2028
+ .mt-editor[data-mode=crop] .vx-dialog > :is(header, footer) {
2029
+ flex-shrink: 0;
2030
+ }
2031
+ .mt-editor[data-mode=crop] .vx-dialog-body {
2032
+ min-height: 0;
2033
+ overflow: auto;
2034
+ padding-block: 16px;
2035
+ margin-block: -16px;
2036
+ }
2037
+ .mt-editor-actions {
2038
+ display: flex;
2039
+ align-items: center;
2040
+ justify-content: space-between;
2041
+ width: 100%;
2042
+ gap: 16px;
2043
+ }
2044
+ .mt-editor-actions > button {
2045
+ padding-inline: 0;
2046
+ color: var(--vx-text-secondary);
2047
+ }
2048
+ .mt-editor-confirm {
2049
+ display: flex;
2050
+ align-items: center;
2051
+ gap: 8px;
2052
+ }
2053
+ .mt-editor .mt-editor-hint {
2054
+ line-height: 1.5;
2055
+ display: flex;
2056
+ justify-content: space-between;
2057
+ gap: 8px;
2058
+ color: var(--vx-text-secondary);
2059
+ font-size: 14px;
2060
+ margin: 16px 0;
2061
+ }
2062
+ .mt-editor-hint > [role=status] {
2063
+ white-space: nowrap;
2064
+ }
2065
+ .mt-editor .vx-segment {
2066
+ min-width: 0;
2067
+ }
2068
+ .mt-editor .vx-segment label {
2069
+ display: flex;
2070
+ align-items: stretch;
2071
+ gap: 0;
2072
+ margin: 0;
2073
+ color: var(--vx-text-primary);
2074
+ }
2075
+ .mt-editor .vx-frame-range > img {
2076
+ max-height: none;
2077
+ border-radius: inherit;
2078
+ }
2079
+ .mt-player .vx-playback-controls > input,
2080
+ .mt-compare-preview .vx-playback-controls > input {
2081
+ padding: 0;
2082
+ border: 0;
2083
+ margin: 0;
2084
+ background: transparent;
2085
+ min-width: 0;
2086
+ }
2087
+ .mt-compare-preview .vx-video-stage video {
2088
+ max-height: none;
2089
+ border-radius: 0;
2090
+ background: transparent;
2091
+ }
2092
+ .mt-editor .vx-frame-range {
2093
+ margin-inline: 0;
2094
+ }
2095
+ .mt-editor .vx-frame-range::after {
2096
+ content: "";
2097
+ position: absolute;
2098
+ inset: 0;
2099
+ border-radius: inherit;
2100
+ pointer-events: none;
2101
+ background:
2102
+ linear-gradient(
2103
+ to right,
2104
+ var(--vx-white-white-6a) 0 var(--vx-range-start),
2105
+ transparent var(--vx-range-start) var(--vx-range-end),
2106
+ var(--vx-white-white-6a) var(--vx-range-end) 100%);
2107
+ }
2108
+ .mt-editor .vx-frame-range[data-variant=trim] {
2109
+ border-radius: 8px;
2110
+ }
2111
+ .mt-editor .vx-frame-range[data-variant=trim] .vx-frame-selection {
2112
+ border: 1.822px solid var(--vx-green-dark);
2113
+ border-radius: 8px;
2114
+ background: color-mix(in srgb, var(--vx-green-dark) 30%, transparent);
2115
+ }
2116
+ .mt-editor .vx-frame-selection > .vx-tag {
2117
+ position: absolute;
2118
+ top: 4px;
2119
+ left: 4px;
2120
+ max-width: calc(100% - 8px);
2121
+ overflow: hidden;
2122
+ }
2123
+ .mt-editor .vx-frame-handle {
2124
+ top: 50%;
2125
+ width: 20px;
2126
+ height: 32px;
2127
+ transform: translate(-50%, -50%);
2128
+ display: flex;
2129
+ align-items: center;
2130
+ justify-content: center;
2131
+ background: transparent;
2132
+ }
2133
+ .mt-editor .vx-frame-handle::after {
2134
+ width: 5.467px;
2135
+ height: 12.756px;
2136
+ border-radius: 1.822px;
2137
+ background: var(--vx-green-dark);
2138
+ }
2139
+ .mt-editor .vx-frame-handle::before {
2140
+ content: "";
2141
+ position: absolute;
2142
+ z-index: 1;
2143
+ left: 50%;
2144
+ top: 50%;
2145
+ transform: translate(-50%, -50%);
2146
+ width: 1.822px;
2147
+ height: 9.111px;
2148
+ border-radius: 0.911px;
2149
+ background: var(--vx-text-on-content-primary);
2150
+ }
2151
+ .mt-precision {
2152
+ margin-top: 12px;
2153
+ color: var(--vx-text-secondary);
2154
+ font-size: 12px;
2155
+ }
2156
+ .mt-precision > summary {
2157
+ cursor: pointer;
2158
+ width: fit-content;
2159
+ }
2160
+ .mt-precision .mt-fields {
2161
+ color: var(--vx-text-primary);
2162
+ }
2163
+ .mt-player {
2164
+ position: relative;
2165
+ background: #000;
2166
+ color: #fff;
2167
+ border-radius: 12px;
2168
+ overflow: hidden;
2169
+ min-width: 0;
2170
+ }
2171
+ .mt-player-fit {
2172
+ height: 320px;
2173
+ width: 100%;
2174
+ display: grid;
2175
+ place-items: center;
2176
+ }
2177
+ .mt-editor .mt-player {
2178
+ aspect-ratio: 16 / 9;
2179
+ display: flex;
2180
+ flex-direction: column;
2181
+ }
2182
+ .mt-editor .mt-player-fit {
2183
+ height: 0;
2184
+ flex: 1;
2185
+ min-height: 0;
2186
+ }
2187
+ .mt-player[data-placement=overlay] > .vx-playback-controls {
2188
+ position: absolute;
2189
+ inset: auto 8px 4px;
2190
+ }
2191
+ .mt-editor .mt-player > .vx-playback-controls {
2192
+ background: transparent;
2193
+ color: var(--vx-text-on-content-primary);
2194
+ --vx-text-primary: var(--vx-text-on-content-primary);
2195
+ --vx-surface-hover: var(--vx-overlay-tag);
2196
+ }
2197
+ .mt-editor .mt-player > .vx-playback-controls input {
2198
+ accent-color: var(--vx-text-on-content-primary);
2199
+ }
2200
+ .mt-picture {
2201
+ position: relative;
2202
+ overflow: hidden;
2203
+ flex: none;
2204
+ background: #000;
2205
+ }
2206
+ .mt-picture-clip {
2207
+ position: absolute;
2208
+ inset: 0;
2209
+ overflow: hidden;
2210
+ }
2211
+ .mt-picture video {
2212
+ position: absolute;
2213
+ max-width: none !important;
2214
+ max-height: none !important;
2215
+ object-fit: fill;
2216
+ display: block;
2217
+ }
2218
+ .mt-player:fullscreen {
2219
+ width: 100%;
2220
+ height: 100%;
2221
+ display: flex;
2222
+ flex-direction: column;
2223
+ border-radius: 0;
2224
+ }
2225
+ .mt-player:fullscreen .mt-player-fit {
2226
+ height: auto;
2227
+ flex: 1;
2228
+ min-height: 0;
2229
+ }
2230
+ .mt-editor[data-mode=crop] .mt-player,
2231
+ .mt-editor[data-mode=crop] .mt-picture {
2232
+ overflow: visible;
2233
+ }
2234
+ .mt-crop-shade {
2235
+ position: absolute;
2236
+ inset: 0;
2237
+ overflow: hidden;
2238
+ pointer-events: none;
2239
+ }
2240
+ .mt-crop-shade > span {
2241
+ position: absolute;
2242
+ box-shadow: 0 0 0 100vmax var(--vx-overlay-tag);
2243
+ }
2244
+ .mt-crop-frame {
2245
+ position: absolute;
2246
+ border: 1px solid var(--vx-text-on-content-primary);
2247
+ box-sizing: border-box;
2248
+ cursor: move;
2249
+ touch-action: none;
2250
+ }
2251
+ .mt-crop-frame:focus-visible {
2252
+ outline: 3px solid #7bb3ff;
2253
+ outline-offset: 2px;
2254
+ }
2255
+ .mt-crop-grid {
2256
+ position: absolute;
2257
+ inset: 0;
2258
+ pointer-events: none;
2259
+ background:
2260
+ linear-gradient(
2261
+ to right,
2262
+ transparent 33.1%,
2263
+ rgb(255 255 255 / 0.45) 33.1%,
2264
+ rgb(255 255 255 / 0.45) 33.5%,
2265
+ transparent 33.5%,
2266
+ transparent 66.4%,
2267
+ rgb(255 255 255 / 0.45) 66.4%,
2268
+ rgb(255 255 255 / 0.45) 66.8%,
2269
+ transparent 66.8%),
2270
+ linear-gradient(
2271
+ to bottom,
2272
+ transparent 33.1%,
2273
+ rgb(255 255 255 / 0.45) 33.1%,
2274
+ rgb(255 255 255 / 0.45) 33.5%,
2275
+ transparent 33.5%,
2276
+ transparent 66.4%,
2277
+ rgb(255 255 255 / 0.45) 66.4%,
2278
+ rgb(255 255 255 / 0.45) 66.8%,
2279
+ transparent 66.8%);
2280
+ }
2281
+ .mt-crop-handle {
2282
+ position: absolute;
2283
+ width: 28px !important;
2284
+ height: 28px !important;
2285
+ padding: 0 !important;
2286
+ background: transparent !important;
2287
+ border: 0 !important;
2288
+ border-radius: 0 !important;
2289
+ touch-action: none;
2290
+ }
2291
+ .mt-crop-handle:after {
2292
+ content: "";
2293
+ display: block;
2294
+ position: absolute;
2295
+ width: 7.68px;
2296
+ height: 7.68px;
2297
+ left: 50%;
2298
+ top: 50%;
2299
+ transform: translate(-50%, -50%);
2300
+ box-sizing: border-box;
2301
+ background: var(--vx-text-on-content-primary);
2302
+ border: 0.64px solid var(--vx-text-secondary);
2303
+ border-radius: 0;
2304
+ }
2305
+ .mt-crop-handle[data-corner=nw] {
2306
+ left: -14px;
2307
+ top: -14px;
2308
+ cursor: nwse-resize;
2309
+ }
2310
+ .mt-crop-handle[data-corner=ne] {
2311
+ right: -14px;
2312
+ top: -14px;
2313
+ cursor: nesw-resize;
2314
+ }
2315
+ .mt-crop-handle[data-corner=sw] {
2316
+ left: -14px;
2317
+ bottom: -14px;
2318
+ cursor: nesw-resize;
2319
+ }
2320
+ .mt-crop-handle[data-corner=se] {
2321
+ right: -14px;
2322
+ bottom: -14px;
2323
+ cursor: nwse-resize;
2324
+ }
2325
+ .mt-fields {
2326
+ display: flex;
2327
+ align-items: end;
2328
+ gap: 16px;
2329
+ flex-wrap: wrap;
2330
+ margin-top: 16px;
2331
+ }
2332
+ .mt-fields label {
2333
+ display: grid;
2334
+ gap: 5px;
2335
+ flex: 1;
2336
+ min-width: 140px;
2337
+ }
2338
+ .mt-fields input,
2339
+ .mt-fields select {
2340
+ width: 100%;
2341
+ box-sizing: border-box;
2342
+ padding: 8px 10px;
2343
+ border: 1px solid var(--vx-border-secondary);
2344
+ border-radius: 6px;
2345
+ background: var(--vx-background-dialog);
2346
+ color: inherit;
2347
+ }
2348
+ .mt-root .mt-subtitle,
2349
+ .mt-root .mt-help {
2350
+ line-height: 1.5;
2351
+ color: var(--vx-text-secondary);
2352
+ font-size: 13px;
2353
+ margin: 0 0 12px;
2354
+ }
2355
+ .mt-root .mt-help {
2356
+ font-size: 14px;
2357
+ margin-top: 12px;
2358
+ }
2359
+ .mt-error {
2360
+ color: #b42318;
2361
+ background: #fff2f0;
2362
+ padding: 10px 12px;
2363
+ border-radius: 6px;
2364
+ overflow-wrap: anywhere;
2365
+ }
2366
+ .mt-toolbar {
2367
+ display: flex;
2368
+ justify-content: space-between;
2369
+ align-items: center;
2370
+ gap: 16px;
2371
+ margin-bottom: 16px;
2372
+ }
2373
+ .mt-toolbar .mt-help {
2374
+ margin: 0;
2375
+ }
2376
+ .mt-compare-columns {
2377
+ display: grid;
2378
+ grid-template-rows: auto auto auto auto;
2379
+ column-gap: 16px;
2380
+ overflow-x: auto;
2381
+ padding-bottom: 8px;
2382
+ }
2383
+ .mt-compare-column {
2384
+ position: relative;
2385
+ min-width: 0;
2386
+ padding-inline: 0;
2387
+ display: grid;
2388
+ grid-template-rows: subgrid;
2389
+ grid-row: span 4;
2390
+ align-content: start;
2391
+ }
2392
+ .mt-compare-column + .mt-compare-column::before {
2393
+ content: "";
2394
+ position: absolute;
2395
+ inset-block: 0;
2396
+ left: -8px;
2397
+ width: 1px;
2398
+ background: var(--vx-border-secondary);
2399
+ pointer-events: none;
2400
+ }
2401
+ .mt-compare-preview {
2402
+ aspect-ratio: 16 / 9;
2403
+ min-width: 0;
2404
+ overflow: hidden;
2405
+ border-radius: 12px;
2406
+ background: var(--vx-surface-input);
2407
+ }
2408
+ .mt-compare-preview :is(.mt-player, .vx-video-player) {
2409
+ height: 100%;
2410
+ background: var(--vx-black-black);
2411
+ }
2412
+ .mt-compare-preview :is(.mt-player-fit, .vx-video-stage) {
2413
+ height: 100%;
2414
+ min-height: 0;
2415
+ aspect-ratio: auto;
2416
+ }
2417
+ .mt-compare-preview .mt-picture {
2418
+ background: transparent;
2419
+ }
2420
+ .mt-compare-preview .vx-video-cover {
2421
+ background: linear-gradient(transparent 45%, #0009);
2422
+ align-items: end;
2423
+ justify-items: end;
2424
+ padding: 20px;
2425
+ }
2426
+ .mt-compare-preview .vx-video-cover > div {
2427
+ display: block;
2428
+ inset: auto 64px 20px 20px;
2429
+ font-size: 16px;
2430
+ line-height: 24px;
2431
+ }
2432
+ .mt-compare-preview .vx-video-cover > button {
2433
+ background: var(--vx-white-white);
2434
+ color: var(--vx-black-black);
2435
+ width: 36px;
2436
+ height: 36px;
2437
+ padding: 8px;
2438
+ }
2439
+ .mt-compare-preview .vx-video-player[data-state=cover] > .vx-playback-controls {
2440
+ display: none;
2441
+ }
2442
+ .mt-compare-preview .vx-playback-controls {
2443
+ color: var(--vx-text-on-content-primary);
2444
+ --vx-button-foreground: var(--vx-text-on-content-primary);
2445
+ background: linear-gradient(transparent, #000c);
2446
+ border-radius: 0;
2447
+ }
2448
+ .mt-compare-preview .vx-video-stage > video {
2449
+ background: var(--vx-black-black);
2450
+ object-fit: contain;
2451
+ }
2452
+ .mt-candidate-caption {
2453
+ display: grid;
2454
+ align-content: start;
2455
+ gap: 4px;
2456
+ padding: 16px 0;
2457
+ font-size: 12px;
2458
+ color: var(--vx-text-secondary);
2459
+ }
2460
+ .mt-candidate-heading {
2461
+ display: flex;
2462
+ align-items: start;
2463
+ justify-content: space-between;
2464
+ gap: 8px;
2465
+ }
2466
+ .mt-candidate-heading > div:first-child {
2467
+ display: grid;
2468
+ gap: 4px;
2469
+ min-width: 0;
2470
+ }
2471
+ .mt-candidate-heading .vx-action-menu {
2472
+ flex: none;
2473
+ margin-top: -4px;
2474
+ }
2475
+ .mt-candidate-heading .vx-action-menu-items {
2476
+ inset-inline: auto 0;
2477
+ }
2478
+ .mt-candidate-caption strong {
2479
+ font-size: 14px;
2480
+ color: var(--vx-text-primary);
2481
+ overflow-wrap: anywhere;
2482
+ }
2483
+ .mt-candidate-context:not(:empty) {
2484
+ border-top: 1px solid var(--vx-border-secondary);
2485
+ padding-top: 16px;
2486
+ }
2487
+ .mt-candidate-context dl {
2488
+ display: grid;
2489
+ grid-template-columns: 1fr;
2490
+ gap: 4px;
2491
+ margin: 0;
2492
+ font-size: 14px;
2493
+ }
2494
+ .mt-candidate-context dt {
2495
+ color: var(--vx-text-secondary);
2496
+ }
2497
+ .mt-candidate-context dd {
2498
+ margin: 0 0 8px;
2499
+ overflow-wrap: anywhere;
2500
+ }
2501
+ .mt-column-actions {
2502
+ display: flex;
2503
+ gap: 6px;
2504
+ flex-wrap: wrap;
2505
+ align-items: center;
2506
+ }
2507
+ .mt-empty {
2508
+ padding: 30px 16px;
2509
+ text-align: center;
2510
+ color: var(--vx-text-secondary);
2511
+ height: 100%;
2512
+ box-sizing: border-box;
2513
+ font-size: 13px;
2514
+ display: grid;
2515
+ place-content: center;
2516
+ }
2517
+ .mt-job {
2518
+ display: grid;
2519
+ grid-template-columns: minmax(160px, 1fr) minmax(140px, 220px);
2520
+ gap: 12px;
2521
+ border-bottom: 1px solid var(--vx-border-secondary);
2522
+ padding: 16px 0;
2523
+ }
2524
+ .mt-job p {
2525
+ margin: 4px 0;
2526
+ font-size: 13px;
2527
+ }
2528
+ .mt-job .mt-column-actions {
2529
+ grid-column: 1/-1;
2530
+ }
2531
+ .mt-job-progress {
2532
+ display: grid;
2533
+ align-content: center;
2534
+ gap: 4px;
2535
+ font-size: 12px;
2536
+ }
2537
+ .mt-job progress {
2538
+ width: 100%;
2539
+ }
2540
+ .mt-job details {
2541
+ font-size: 12px;
2542
+ color: var(--vx-text-secondary);
2543
+ }
2544
+ .mt-job summary {
2545
+ cursor: pointer;
2546
+ }
2547
+ .mt-job code {
2548
+ user-select: all;
2549
+ overflow-wrap: anywhere;
2550
+ }
2551
+ .mt-pagination {
2552
+ display: flex;
2553
+ justify-content: space-between;
2554
+ margin-top: 16px;
2555
+ }
2556
+ @media (max-width: 600px) {
2557
+ .mt-fields {
2558
+ gap: 10px;
2559
+ }
2560
+ .mt-toolbar {
2561
+ flex-wrap: wrap;
2562
+ }
2563
+ .mt-job {
2564
+ grid-template-columns: 1fr;
2565
+ }
2566
+ .mt-editor .mt-editor-hint {
2567
+ flex-wrap: wrap;
2568
+ }
2569
+ .mt-editor .vx-segment {
2570
+ overflow-x: auto;
2571
+ }
2572
+ .mt-editor .vx-segment label {
2573
+ flex: 1 0 auto;
2574
+ }
2575
+ }