@vivix-labs/ads-workbench 0.0.0-stage → 1.0.0-beta.10

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