@vivix-labs/plugin-marketplace 1.0.0-beta.10 → 1.0.0-beta.15

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