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

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