@vokality/design-system 0.0.0-stage → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/README.md +134 -2
  3. package/dist/charts/chart.d.ts +52 -0
  4. package/dist/charts/chart.js +108 -0
  5. package/dist/components/Accordion/Accordion.d.ts +15 -0
  6. package/dist/components/Accordion/Accordion.js +16 -0
  7. package/dist/components/Alert/Alert.d.ts +14 -0
  8. package/dist/components/Alert/Alert.js +12 -0
  9. package/dist/components/AppShell/AppShell.d.ts +21 -0
  10. package/dist/components/AppShell/AppShell.js +48 -0
  11. package/dist/components/Avatar/Avatar.d.ts +11 -0
  12. package/dist/components/Avatar/Avatar.js +19 -0
  13. package/dist/components/AvatarGroup/AvatarGroup.d.ts +11 -0
  14. package/dist/components/AvatarGroup/AvatarGroup.js +13 -0
  15. package/dist/components/Badge/Badge.d.ts +9 -0
  16. package/dist/components/Badge/Badge.js +6 -0
  17. package/dist/components/BarChart/BarChart.d.ts +7 -0
  18. package/dist/components/BarChart/BarChart.js +45 -0
  19. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +11 -0
  20. package/dist/components/Breadcrumbs/Breadcrumbs.js +11 -0
  21. package/dist/components/Button/Button.d.ts +17 -0
  22. package/dist/components/Button/Button.js +23 -0
  23. package/dist/components/Calendar/Calendar.d.ts +21 -0
  24. package/dist/components/Calendar/Calendar.js +144 -0
  25. package/dist/components/Card/Card.d.ts +16 -0
  26. package/dist/components/Card/Card.js +11 -0
  27. package/dist/components/Checkbox/Checkbox.d.ts +12 -0
  28. package/dist/components/Checkbox/Checkbox.js +24 -0
  29. package/dist/components/Code/Code.d.ts +7 -0
  30. package/dist/components/Code/Code.js +6 -0
  31. package/dist/components/CodeBlock/CodeBlock.d.ts +10 -0
  32. package/dist/components/CodeBlock/CodeBlock.js +43 -0
  33. package/dist/components/Combobox/Combobox.d.ts +23 -0
  34. package/dist/components/Combobox/Combobox.js +188 -0
  35. package/dist/components/Combobox/ListPanel.d.ts +16 -0
  36. package/dist/components/Combobox/ListPanel.js +75 -0
  37. package/dist/components/CommandPalette/CommandPalette.d.ts +23 -0
  38. package/dist/components/CommandPalette/CommandPalette.js +86 -0
  39. package/dist/components/Container/Container.d.ts +10 -0
  40. package/dist/components/Container/Container.js +7 -0
  41. package/dist/components/ContextMenu/ContextMenu.d.ts +11 -0
  42. package/dist/components/ContextMenu/ContextMenu.js +56 -0
  43. package/dist/components/DatePicker/DatePicker.d.ts +25 -0
  44. package/dist/components/DatePicker/DatePicker.js +198 -0
  45. package/dist/components/DescriptionList/DescriptionList.d.ts +12 -0
  46. package/dist/components/DescriptionList/DescriptionList.js +6 -0
  47. package/dist/components/Dialog/Dialog.d.ts +23 -0
  48. package/dist/components/Dialog/Dialog.js +53 -0
  49. package/dist/components/Divider/Divider.d.ts +6 -0
  50. package/dist/components/Divider/Divider.js +10 -0
  51. package/dist/components/Drawer/Drawer.d.ts +6 -0
  52. package/dist/components/Drawer/Drawer.js +6 -0
  53. package/dist/components/EmptyState/EmptyState.d.ts +11 -0
  54. package/dist/components/EmptyState/EmptyState.js +10 -0
  55. package/dist/components/ErrorSummary/ErrorSummary.d.ts +10 -0
  56. package/dist/components/ErrorSummary/ErrorSummary.js +28 -0
  57. package/dist/components/FaqList/FaqList.d.ts +10 -0
  58. package/dist/components/FaqList/FaqList.js +6 -0
  59. package/dist/components/Field/Field.d.ts +12 -0
  60. package/dist/components/Field/Field.js +25 -0
  61. package/dist/components/Figure/Figure.d.ts +11 -0
  62. package/dist/components/Figure/Figure.js +6 -0
  63. package/dist/components/FileUpload/FileUpload.d.ts +25 -0
  64. package/dist/components/FileUpload/FileUpload.js +47 -0
  65. package/dist/components/Grid/Grid.d.ts +12 -0
  66. package/dist/components/Grid/Grid.js +10 -0
  67. package/dist/components/HatchDivider/HatchDivider.d.ts +2 -0
  68. package/dist/components/HatchDivider/HatchDivider.js +5 -0
  69. package/dist/components/Heading/Heading.d.ts +12 -0
  70. package/dist/components/Heading/Heading.js +11 -0
  71. package/dist/components/Icon/Icon.d.ts +8 -0
  72. package/dist/components/Icon/Icon.js +17 -0
  73. package/dist/components/IconButton/IconButton.d.ts +11 -0
  74. package/dist/components/IconButton/IconButton.js +16 -0
  75. package/dist/components/Inline/Inline.d.ts +13 -0
  76. package/dist/components/Inline/Inline.js +8 -0
  77. package/dist/components/Input/Input.d.ts +10 -0
  78. package/dist/components/Input/Input.js +25 -0
  79. package/dist/components/Kbd/Kbd.d.ts +7 -0
  80. package/dist/components/Kbd/Kbd.js +6 -0
  81. package/dist/components/LineChart/LineChart.d.ts +7 -0
  82. package/dist/components/LineChart/LineChart.js +53 -0
  83. package/dist/components/Link/Link.d.ts +7 -0
  84. package/dist/components/Link/Link.js +12 -0
  85. package/dist/components/LinkProvider/LinkProvider.d.ts +22 -0
  86. package/dist/components/LinkProvider/LinkProvider.js +21 -0
  87. package/dist/components/List/List.d.ts +24 -0
  88. package/dist/components/List/List.js +24 -0
  89. package/dist/components/MediaCard/MediaCard.d.ts +19 -0
  90. package/dist/components/MediaCard/MediaCard.js +25 -0
  91. package/dist/components/Menu/Menu.d.ts +14 -0
  92. package/dist/components/Menu/Menu.js +53 -0
  93. package/dist/components/Menu/entries.d.ts +40 -0
  94. package/dist/components/Menu/entries.js +146 -0
  95. package/dist/components/MultiSelect/MultiSelect.d.ts +24 -0
  96. package/dist/components/MultiSelect/MultiSelect.js +166 -0
  97. package/dist/components/NavList/NavList.d.ts +19 -0
  98. package/dist/components/NavList/NavList.js +10 -0
  99. package/dist/components/NumberInput/NumberInput.d.ts +13 -0
  100. package/dist/components/NumberInput/NumberInput.js +90 -0
  101. package/dist/components/OtpInput/OtpInput.d.ts +19 -0
  102. package/dist/components/OtpInput/OtpInput.js +75 -0
  103. package/dist/components/PageHeader/PageHeader.d.ts +18 -0
  104. package/dist/components/PageHeader/PageHeader.js +11 -0
  105. package/dist/components/Pagination/Pagination.d.ts +15 -0
  106. package/dist/components/Pagination/Pagination.js +22 -0
  107. package/dist/components/PasswordInput/PasswordInput.d.ts +7 -0
  108. package/dist/components/PasswordInput/PasswordInput.js +11 -0
  109. package/dist/components/Popover/Popover.d.ts +18 -0
  110. package/dist/components/Popover/Popover.js +26 -0
  111. package/dist/components/Progress/Progress.d.ts +13 -0
  112. package/dist/components/Progress/Progress.js +24 -0
  113. package/dist/components/Prose/Prose.d.ts +8 -0
  114. package/dist/components/Prose/Prose.js +7 -0
  115. package/dist/components/Quote/Quote.d.ts +10 -0
  116. package/dist/components/Quote/Quote.js +7 -0
  117. package/dist/components/Radio/Radio.d.ts +7 -0
  118. package/dist/components/Radio/Radio.js +9 -0
  119. package/dist/components/RadioGroup/RadioGroup.d.ts +21 -0
  120. package/dist/components/RadioGroup/RadioGroup.js +41 -0
  121. package/dist/components/SearchInput/SearchInput.d.ts +10 -0
  122. package/dist/components/SearchInput/SearchInput.js +39 -0
  123. package/dist/components/SectionHeader/SectionHeader.d.ts +10 -0
  124. package/dist/components/SectionHeader/SectionHeader.js +9 -0
  125. package/dist/components/SegmentedControl/SegmentedControl.d.ts +19 -0
  126. package/dist/components/SegmentedControl/SegmentedControl.js +21 -0
  127. package/dist/components/Select/Select.d.ts +26 -0
  128. package/dist/components/Select/Select.js +262 -0
  129. package/dist/components/Skeleton/Skeleton.d.ts +8 -0
  130. package/dist/components/Skeleton/Skeleton.js +13 -0
  131. package/dist/components/Slider/Slider.d.ts +21 -0
  132. package/dist/components/Slider/Slider.js +43 -0
  133. package/dist/components/Sparkline/Sparkline.d.ts +11 -0
  134. package/dist/components/Sparkline/Sparkline.js +15 -0
  135. package/dist/components/Spinner/Spinner.d.ts +8 -0
  136. package/dist/components/Spinner/Spinner.js +8 -0
  137. package/dist/components/SquareGlyph/SquareGlyph.d.ts +7 -0
  138. package/dist/components/SquareGlyph/SquareGlyph.js +6 -0
  139. package/dist/components/Stack/Stack.d.ts +11 -0
  140. package/dist/components/Stack/Stack.js +8 -0
  141. package/dist/components/Stat/Stat.d.ts +13 -0
  142. package/dist/components/Stat/Stat.js +22 -0
  143. package/dist/components/Steps/Steps.d.ts +13 -0
  144. package/dist/components/Steps/Steps.js +13 -0
  145. package/dist/components/Switch/Switch.d.ts +7 -0
  146. package/dist/components/Switch/Switch.js +16 -0
  147. package/dist/components/Table/Table.d.ts +48 -0
  148. package/dist/components/Table/Table.js +144 -0
  149. package/dist/components/Tabs/Tabs.d.ts +19 -0
  150. package/dist/components/Tabs/Tabs.js +29 -0
  151. package/dist/components/Tag/Tag.d.ts +12 -0
  152. package/dist/components/Tag/Tag.js +8 -0
  153. package/dist/components/Text/Text.d.ts +10 -0
  154. package/dist/components/Text/Text.js +7 -0
  155. package/dist/components/Textarea/Textarea.d.ts +6 -0
  156. package/dist/components/Textarea/Textarea.js +17 -0
  157. package/dist/components/ThemeScript/ThemeScript.d.ts +7 -0
  158. package/dist/components/ThemeScript/ThemeScript.js +9 -0
  159. package/dist/components/TileGrid/TileGrid.d.ts +13 -0
  160. package/dist/components/TileGrid/TileGrid.js +8 -0
  161. package/dist/components/TimePicker/TimePicker.d.ts +28 -0
  162. package/dist/components/TimePicker/TimePicker.js +192 -0
  163. package/dist/components/Timeline/Timeline.d.ts +16 -0
  164. package/dist/components/Timeline/Timeline.js +10 -0
  165. package/dist/components/Toaster/Toaster.d.ts +50 -0
  166. package/dist/components/Toaster/Toaster.js +63 -0
  167. package/dist/components/Tooltip/Tooltip.d.ts +11 -0
  168. package/dist/components/Tooltip/Tooltip.js +21 -0
  169. package/dist/components/TreeView/TreeView.d.ts +30 -0
  170. package/dist/components/TreeView/TreeView.js +127 -0
  171. package/dist/components.css +1798 -0
  172. package/dist/fonts/FONT-NOTICES.txt +20 -0
  173. package/dist/fonts/IBMPlexSans-Latin.woff2 +0 -0
  174. package/dist/fonts/IBMPlexSans-OFL.txt +93 -0
  175. package/dist/fonts/Manrope-Latin.woff2 +0 -0
  176. package/dist/fonts/Manrope-OFL.txt +93 -0
  177. package/dist/fonts/SpaceGrotesk-Latin.woff2 +0 -0
  178. package/dist/fonts/SpaceGrotesk-OFL.txt +93 -0
  179. package/dist/fonts.css +23 -0
  180. package/dist/hooks/useTheme.d.ts +16 -0
  181. package/dist/hooks/useTheme.js +82 -0
  182. package/dist/icons/arrow-down.svg +1 -0
  183. package/dist/icons/arrow-up-right.svg +1 -0
  184. package/dist/icons/arrow-up.svg +1 -0
  185. package/dist/icons/calendar.svg +1 -0
  186. package/dist/icons/chart.svg +1 -0
  187. package/dist/icons/check.svg +1 -0
  188. package/dist/icons/chevron-down.svg +1 -0
  189. package/dist/icons/chevron-left.svg +1 -0
  190. package/dist/icons/chevron-right.svg +1 -0
  191. package/dist/icons/chevrons-up-down.svg +1 -0
  192. package/dist/icons/circle-alert.svg +1 -0
  193. package/dist/icons/circle-check.svg +1 -0
  194. package/dist/icons/clock.svg +1 -0
  195. package/dist/icons/copy.svg +1 -0
  196. package/dist/icons/ellipsis.svg +1 -0
  197. package/dist/icons/file.svg +1 -0
  198. package/dist/icons/folder.svg +1 -0
  199. package/dist/icons/home.svg +1 -0
  200. package/dist/icons/info.svg +1 -0
  201. package/dist/icons/map-pin.svg +1 -0
  202. package/dist/icons/menu.svg +1 -0
  203. package/dist/icons/minus.svg +1 -0
  204. package/dist/icons/pencil.svg +1 -0
  205. package/dist/icons/phone.svg +1 -0
  206. package/dist/icons/plus.svg +1 -0
  207. package/dist/icons/quote.svg +1 -0
  208. package/dist/icons/search.svg +1 -0
  209. package/dist/icons/sidebar.svg +1 -0
  210. package/dist/icons/trash.svg +1 -0
  211. package/dist/icons/triangle-alert.svg +1 -0
  212. package/dist/icons/upload.svg +1 -0
  213. package/dist/icons/users.svg +1 -0
  214. package/dist/icons/x.svg +1 -0
  215. package/dist/index.d.ts +178 -0
  216. package/dist/index.js +93 -0
  217. package/dist/internal/CharCount.d.ts +17 -0
  218. package/dist/internal/CharCount.js +23 -0
  219. package/dist/internal/choice.d.ts +65 -0
  220. package/dist/internal/choice.js +111 -0
  221. package/dist/internal/focusables.d.ts +3 -0
  222. package/dist/internal/focusables.js +8 -0
  223. package/dist/internal/options.d.ts +15 -0
  224. package/dist/internal/options.js +30 -0
  225. package/dist/internal/status.d.ts +6 -0
  226. package/dist/internal/status.js +5 -0
  227. package/dist/internal/useIsoLayoutEffect.d.ts +3 -0
  228. package/dist/internal/useIsoLayoutEffect.js +4 -0
  229. package/dist/internal/useScrollActive.d.ts +3 -0
  230. package/dist/internal/useScrollActive.js +12 -0
  231. package/dist/internal/useUid.d.ts +2 -0
  232. package/dist/internal/useUid.js +6 -0
  233. package/dist/lib/cx.d.ts +2 -0
  234. package/dist/lib/cx.js +4 -0
  235. package/dist/lib/dates.d.ts +10 -0
  236. package/dist/lib/dates.js +107 -0
  237. package/dist/lib/format.d.ts +15 -0
  238. package/dist/lib/format.js +50 -0
  239. package/dist/lib/icons.d.ts +220 -0
  240. package/dist/lib/icons.js +54 -0
  241. package/dist/lib/intl.d.ts +4 -0
  242. package/dist/lib/intl.js +19 -0
  243. package/dist/lib/math.d.ts +5 -0
  244. package/dist/lib/math.js +36 -0
  245. package/dist/lib/omit.d.ts +2 -0
  246. package/dist/lib/omit.js +10 -0
  247. package/dist/lib/space.d.ts +4 -0
  248. package/dist/lib/space.js +9 -0
  249. package/dist/lib/text.d.ts +8 -0
  250. package/dist/lib/text.js +12 -0
  251. package/dist/lib/theme.d.ts +16 -0
  252. package/dist/lib/theme.js +14 -0
  253. package/dist/lib/utils.d.ts +17 -0
  254. package/dist/lib/utils.js +5 -0
  255. package/dist/tailwind.css +110 -0
  256. package/dist/tokens.css +316 -0
  257. package/dist/tokens.dtcg.json +1606 -0
  258. package/dist/tokens.json +1217 -0
  259. package/dist/types.d.ts +67 -0
  260. package/dist/types.js +1 -0
  261. package/dist/vokality.css +2139 -0
  262. package/dist/vokality.iife.js +19408 -0
  263. package/docs/brand.md +163 -0
  264. package/docs/components/Accordion/README.md +24 -0
  265. package/docs/components/Alert/README.md +31 -0
  266. package/docs/components/AppShell/README.md +20 -0
  267. package/docs/components/Avatar/README.md +17 -0
  268. package/docs/components/AvatarGroup/README.md +12 -0
  269. package/docs/components/Badge/README.md +24 -0
  270. package/docs/components/BarChart/README.md +30 -0
  271. package/docs/components/Breadcrumbs/README.md +16 -0
  272. package/docs/components/Button/README.md +43 -0
  273. package/docs/components/Calendar/README.md +43 -0
  274. package/docs/components/Card/README.md +16 -0
  275. package/docs/components/Checkbox/README.md +30 -0
  276. package/docs/components/Code/README.md +9 -0
  277. package/docs/components/CodeBlock/README.md +15 -0
  278. package/docs/components/Combobox/README.md +43 -0
  279. package/docs/components/CommandPalette/README.md +20 -0
  280. package/docs/components/Container/README.md +10 -0
  281. package/docs/components/ContextMenu/README.md +13 -0
  282. package/docs/components/Dashboard/README.md +12 -0
  283. package/docs/components/DatePicker/README.md +34 -0
  284. package/docs/components/DescriptionList/README.md +18 -0
  285. package/docs/components/Dialog/README.md +28 -0
  286. package/docs/components/Divider/README.md +15 -0
  287. package/docs/components/Drawer/README.md +16 -0
  288. package/docs/components/EmptyState/README.md +17 -0
  289. package/docs/components/ErrorPage/README.md +11 -0
  290. package/docs/components/ErrorSummary/README.md +16 -0
  291. package/docs/components/FaqList/README.md +11 -0
  292. package/docs/components/Field/README.md +27 -0
  293. package/docs/components/Figure/README.md +9 -0
  294. package/docs/components/FileUpload/README.md +20 -0
  295. package/docs/components/FormPage/README.md +11 -0
  296. package/docs/components/Grid/README.md +11 -0
  297. package/docs/components/HatchDivider/README.md +10 -0
  298. package/docs/components/Heading/README.md +10 -0
  299. package/docs/components/Icon/README.md +23 -0
  300. package/docs/components/IconButton/README.md +28 -0
  301. package/docs/components/Inline/README.md +9 -0
  302. package/docs/components/Input/README.md +31 -0
  303. package/docs/components/Kbd/README.md +13 -0
  304. package/docs/components/LineChart/README.md +27 -0
  305. package/docs/components/Link/README.md +31 -0
  306. package/docs/components/List/README.md +21 -0
  307. package/docs/components/ListDetail/README.md +11 -0
  308. package/docs/components/MediaCard/README.md +16 -0
  309. package/docs/components/Menu/README.md +45 -0
  310. package/docs/components/MultiSelect/README.md +41 -0
  311. package/docs/components/NavList/README.md +21 -0
  312. package/docs/components/NumberInput/README.md +19 -0
  313. package/docs/components/OtpInput/README.md +17 -0
  314. package/docs/components/PageHeader/README.md +17 -0
  315. package/docs/components/Pagination/README.md +22 -0
  316. package/docs/components/PasswordInput/README.md +13 -0
  317. package/docs/components/Popover/README.md +23 -0
  318. package/docs/components/Progress/README.md +19 -0
  319. package/docs/components/Prose/README.md +12 -0
  320. package/docs/components/Quote/README.md +13 -0
  321. package/docs/components/Radio/README.md +25 -0
  322. package/docs/components/RadioGroup/README.md +23 -0
  323. package/docs/components/SearchInput/README.md +23 -0
  324. package/docs/components/SectionHeader/README.md +14 -0
  325. package/docs/components/SegmentedControl/README.md +19 -0
  326. package/docs/components/Select/README.md +52 -0
  327. package/docs/components/SettingsPage/README.md +11 -0
  328. package/docs/components/SignIn/README.md +11 -0
  329. package/docs/components/Skeleton/README.md +16 -0
  330. package/docs/components/Slider/README.md +22 -0
  331. package/docs/components/Sparkline/README.md +13 -0
  332. package/docs/components/Spinner/README.md +16 -0
  333. package/docs/components/SquareGlyph/README.md +18 -0
  334. package/docs/components/Stack/README.md +11 -0
  335. package/docs/components/Stat/README.md +20 -0
  336. package/docs/components/Steps/README.md +22 -0
  337. package/docs/components/Switch/README.md +27 -0
  338. package/docs/components/Table/README.md +35 -0
  339. package/docs/components/Tabs/README.md +26 -0
  340. package/docs/components/Tag/README.md +21 -0
  341. package/docs/components/Text/README.md +11 -0
  342. package/docs/components/Textarea/README.md +20 -0
  343. package/docs/components/ThemeScript/README.md +47 -0
  344. package/docs/components/TileGrid/README.md +12 -0
  345. package/docs/components/TimePicker/README.md +19 -0
  346. package/docs/components/Timeline/README.md +12 -0
  347. package/docs/components/Toaster/README.md +34 -0
  348. package/docs/components/Tooltip/README.md +23 -0
  349. package/docs/components/TreeView/README.md +15 -0
  350. package/package.json +76 -4
@@ -0,0 +1,1798 @@
1
+ /* Vokality components. Every color, size and duration comes from tokens.css. */
2
+ body {
3
+ margin: 0;
4
+ background: var(--background);
5
+ color: var(--foreground);
6
+ font-family: var(--font-sans);
7
+ font-size: var(--text-base, 1rem);
8
+ line-height: 1.6;
9
+ -webkit-font-smoothing: antialiased;
10
+ }
11
+
12
+ /* Layout utilities (also used inside components) */
13
+ .vk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
14
+ .vk-stack { display: grid; gap: 1rem; }
15
+
16
+ /* Page surfaces */
17
+ .vk-dot-grid {
18
+ background-color: var(--background);
19
+ background-image: radial-gradient(circle, color-mix(in srgb, var(--foreground) 12%, transparent) 0.5px, transparent 0.6px);
20
+ background-size: 10px 10px;
21
+ }
22
+
23
+ .vk-grain { position: relative; }
24
+ .vk-grain::before {
25
+ content: "";
26
+ position: absolute;
27
+ inset: 0;
28
+ pointer-events: none;
29
+ opacity: 0.14;
30
+ mix-blend-mode: soft-light;
31
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
32
+ }
33
+
34
+ /* Icon */
35
+ .vk-icon { display: block; flex-shrink: 0; }
36
+
37
+ /* Button: primary (filled) and outline */
38
+ .vk-btn {
39
+ display: inline-flex;
40
+ align-items: stretch;
41
+ gap: 0;
42
+ box-sizing: border-box;
43
+ max-width: 100%;
44
+ min-height: 40px;
45
+ padding: 0;
46
+ font: inherit;
47
+ font-family: var(--font-sans);
48
+ font-size: var(--text-xs);
49
+ letter-spacing: 0.14em;
50
+ text-transform: uppercase;
51
+ line-height: 1.25;
52
+ border-radius: var(--radius, 0);
53
+ text-decoration: none;
54
+ cursor: pointer;
55
+ transition: border-color var(--motion-normal) var(--ease-standard),
56
+ background var(--motion-normal) var(--ease-standard),
57
+ color var(--motion-normal) var(--ease-standard);
58
+ }
59
+ .vk-btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
60
+ .vk-btn-primary {
61
+ font-weight: 700;
62
+ color: var(--primary-foreground);
63
+ background: var(--primary);
64
+ border: 1px solid var(--primary);
65
+ }
66
+ .vk-btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
67
+ .vk-btn-primary:disabled { cursor: progress; opacity: 0.7; }
68
+ .vk-btn-outline {
69
+ font-weight: 600;
70
+ color: var(--foreground);
71
+ background: transparent;
72
+ border: 1px solid var(--primary);
73
+ }
74
+ .vk-btn-outline:hover { background: var(--primary-tint); border-color: var(--primary-hover); }
75
+ .vk-btn-ghost {
76
+ font-weight: 600;
77
+ color: var(--foreground);
78
+ background: transparent;
79
+ border: 1px solid transparent;
80
+ }
81
+ .vk-btn-ghost:hover { background: var(--primary-tint); }
82
+ .vk-btn-outline:disabled, .vk-btn-ghost:disabled { cursor: not-allowed; opacity: 0.5; }
83
+ .vk-btn-sm { min-height: 32px; font-size: 0.6875rem; }
84
+ .vk-btn-sm .vk-btn-label { padding: 0.4rem 0.75rem 0.4rem 0.85rem; }
85
+ .vk-btn-sm .vk-btn-label:only-child { padding-right: 0.85rem; }
86
+ .vk-btn-sm .vk-btn-glyph { width: 1.85rem; }
87
+ .vk-btn-label { display: inline-flex; align-items: center; padding: 0.65rem 1.1rem 0.65rem 1.25rem; }
88
+ .vk-btn-label:only-child { padding-right: 1.25rem; }
89
+ .vk-btn-glyph {
90
+ display: flex;
91
+ align-items: center;
92
+ justify-content: center;
93
+ align-self: stretch;
94
+ width: 2.25rem;
95
+ flex-shrink: 0;
96
+ }
97
+ .vk-btn-outline .vk-btn-glyph { color: var(--primary); }
98
+ .vk-btn-outline:hover .vk-btn-glyph { color: var(--primary-hover); }
99
+ @media (max-width: 40rem) {
100
+ .vk-btn { width: 100%; justify-content: space-between; }
101
+ }
102
+
103
+ /* Square glyph */
104
+ @keyframes vk-glyph-blink {
105
+ 0%, 72%, 100% { opacity: 1; filter: brightness(1); }
106
+ 78% { opacity: 0.32; filter: brightness(1.35); }
107
+ 84% { opacity: 1; filter: brightness(1); }
108
+ }
109
+ @keyframes vk-glyph-sweep {
110
+ 0%, 72%, 100% { border-color: var(--border); }
111
+ 76% { border-color: color-mix(in srgb, var(--border) 35%, var(--primary) 65%) var(--border) var(--border) var(--border); }
112
+ 80% { border-color: var(--border) color-mix(in srgb, var(--border) 35%, var(--primary) 65%) var(--border) var(--border); }
113
+ 84% { border-color: var(--border) var(--border) color-mix(in srgb, var(--border) 35%, var(--primary) 65%) var(--border); }
114
+ 88% { border-color: var(--border) var(--border) var(--border) color-mix(in srgb, var(--border) 35%, var(--primary) 65%); }
115
+ }
116
+ .vk-glyph {
117
+ flex-shrink: 0;
118
+ display: inline-flex;
119
+ align-items: center;
120
+ justify-content: center;
121
+ box-sizing: border-box;
122
+ width: 2.125rem;
123
+ height: 2.125rem;
124
+ border: 1px solid var(--border);
125
+ border-radius: var(--radius, 0);
126
+ line-height: 1;
127
+ animation: vk-glyph-sweep 3.4s linear infinite;
128
+ }
129
+ .vk-glyph-char {
130
+ font-family: var(--font-numeric);
131
+ font-variant-numeric: tabular-nums;
132
+ font-size: 1.0625rem;
133
+ font-weight: 500;
134
+ letter-spacing: 0.02em;
135
+ color: var(--muted-subtle);
136
+ animation: vk-glyph-blink 3.4s steps(1, end) infinite;
137
+ }
138
+
139
+ /* Section intro */
140
+ .vk-section-header { margin: 0 0 clamp(1.5rem, 4vw, 2rem); }
141
+ .vk-section-heading {
142
+ display: flex;
143
+ align-items: center;
144
+ gap: 0.65rem;
145
+ margin: 0;
146
+ font-family: var(--font-display);
147
+ font-size: var(--text-xs);
148
+ font-weight: 500;
149
+ letter-spacing: 0.1em;
150
+ text-transform: uppercase;
151
+ color: var(--foreground);
152
+ }
153
+ .vk-section-heading .vk-glyph { border-color: var(--glyph-line); }
154
+ .vk-section-heading .vk-glyph-char { color: var(--primary); }
155
+ .vk-section-lead {
156
+ margin: clamp(1rem, 2.5vw, 1.35rem) 0 0;
157
+ max-width: 44rem;
158
+ font-size: clamp(1.0625rem, 2.4vw, 1.375rem);
159
+ line-height: 1.5;
160
+ letter-spacing: -0.01em;
161
+ color: var(--foreground);
162
+ }
163
+
164
+ /* Divider */
165
+ .vk-divider { box-sizing: border-box; width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid var(--border-subtle); }
166
+ .vk-divider-dashed { border-top: 1px dashed var(--dash-line); }
167
+ .vk-divider-strong { border-top-color: var(--border); }
168
+
169
+ /* Hatch divider */
170
+ .vk-hatch {
171
+ display: block;
172
+ box-sizing: border-box;
173
+ width: 100%;
174
+ height: clamp(0.85rem, 2.1vw, 1.2rem);
175
+ border-top: 1px solid var(--hatch-edge);
176
+ border-bottom: 1px solid var(--hatch-edge);
177
+ background-color: var(--hatch-ground);
178
+ background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, var(--hatch-line) 8px, var(--hatch-line) 9px);
179
+ }
180
+
181
+ /* Card and step */
182
+ .vk-card-grid { display: grid; grid-template-columns: 1fr; gap: clamp(0.75rem, 2vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
183
+ @media (min-width: 40rem) {
184
+ .vk-card-grid-2, .vk-card-grid-3, .vk-card-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
185
+ }
186
+ @media (min-width: 40rem) and (max-width: 59.99rem) {
187
+ .vk-card-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
188
+ }
189
+ @media (min-width: 60rem) {
190
+ .vk-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
191
+ .vk-card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
192
+ }
193
+ .vk-card {
194
+ display: flex;
195
+ flex-direction: column;
196
+ gap: 0.65rem;
197
+ box-sizing: border-box;
198
+ min-width: 0;
199
+ padding: clamp(1.15rem, 2.8vw, 1.6rem);
200
+ border: 1px solid var(--border-subtle);
201
+ background: var(--card-fill);
202
+ list-style: none;
203
+ }
204
+ .vk-card-eyebrow {
205
+ margin: 0;
206
+ font-size: var(--text-xs);
207
+ font-weight: 600;
208
+ letter-spacing: 0.12em;
209
+ text-transform: uppercase;
210
+ color: var(--primary);
211
+ }
212
+ .vk-card-title {
213
+ margin: 0;
214
+ font-family: var(--font-display);
215
+ font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
216
+ font-weight: 700;
217
+ letter-spacing: -0.015em;
218
+ line-height: 1.3;
219
+ color: var(--foreground);
220
+ }
221
+ .vk-card-body {
222
+ margin: 0;
223
+ font-size: clamp(0.875rem, 1.9vw, 0.96875rem);
224
+ line-height: 1.65;
225
+ color: var(--muted-foreground);
226
+ }
227
+ .vk-card-points {
228
+ display: grid;
229
+ gap: 0.4rem;
230
+ margin: auto 0 0;
231
+ padding: 0.85rem 0 0;
232
+ border-top: 1px solid var(--border-subtle);
233
+ list-style: none;
234
+ font-size: var(--text-sm);
235
+ color: var(--foreground);
236
+ }
237
+ .vk-card-points li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.55rem; }
238
+ .vk-card-points li::before { content: "+"; color: var(--primary); }
239
+ .vk-card-footnote {
240
+ margin: auto 0 0;
241
+ padding-top: 0.85rem;
242
+ border-top: 1px solid var(--border-subtle);
243
+ font-size: var(--text-sm);
244
+ color: var(--foreground);
245
+ }
246
+ .vk-step-number {
247
+ font-family: var(--font-numeric);
248
+ font-variant-numeric: tabular-nums;
249
+ font-size: var(--text-2xl);
250
+ font-weight: 500;
251
+ line-height: 1;
252
+ color: var(--primary);
253
+ }
254
+
255
+ /* Media card */
256
+ .vk-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
257
+ @media (max-width: 40rem) { .vk-media-grid { grid-template-columns: 1fr; } }
258
+ @media (min-width: 60rem) { .vk-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
259
+ .vk-media-card { min-width: 0; list-style: none; }
260
+ .vk-media-card-wrap {
261
+ display: flex;
262
+ flex-direction: column;
263
+ gap: clamp(0.85rem, 2.15vw, 1.1rem);
264
+ text-decoration: none;
265
+ color: inherit;
266
+ border-radius: var(--radius, 0);
267
+ }
268
+ .vk-media-card-wrap:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
269
+ .vk-media-card-media { position: relative; aspect-ratio: var(--vk-media-ratio, 16 / 9); max-width: 100%; overflow: hidden; background: var(--media-placeholder); }
270
+ .vk-media-card-img {
271
+ display: block;
272
+ width: 100%;
273
+ height: 100%;
274
+ object-fit: cover;
275
+ transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
276
+ }
277
+ .vk-media-card-wrap:hover .vk-media-card-img,
278
+ .vk-media-card-wrap:focus-visible .vk-media-card-img { transform: scale(1.04); }
279
+ .vk-media-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 0; }
280
+ .vk-media-card-title {
281
+ font-family: var(--font-display);
282
+ font-size: clamp(1rem, 2.35vw, 1.125rem);
283
+ font-weight: 600;
284
+ letter-spacing: -0.02em;
285
+ line-height: 1.2;
286
+ color: var(--foreground);
287
+ }
288
+ .vk-media-card-meta,
289
+ .vk-media-card-link {
290
+ font-size: 0.6875rem;
291
+ font-weight: 600;
292
+ letter-spacing: 0.08em;
293
+ text-transform: uppercase;
294
+ line-height: 1.35;
295
+ }
296
+ .vk-media-card-meta { color: var(--muted-subtle); }
297
+ .vk-media-card-services {
298
+ margin: clamp(0.2rem, 0.75vw, 0.35rem) 0 0;
299
+ font-size: clamp(0.8125rem, 2vw, 0.875rem);
300
+ line-height: 1.55;
301
+ letter-spacing: 0.01em;
302
+ color: var(--muted-foreground);
303
+ }
304
+ .vk-media-card-link {
305
+ display: inline-flex;
306
+ align-items: center;
307
+ gap: 0.4rem;
308
+ margin-top: clamp(0.35rem, 1vw, 0.5rem);
309
+ color: var(--foreground);
310
+ transition: color var(--motion-fast) var(--ease-standard);
311
+ }
312
+ .vk-media-card-wrap:hover .vk-media-card-link,
313
+ .vk-media-card-wrap:focus-visible .vk-media-card-link { color: var(--primary); }
314
+ .vk-media-card-arrow { width: 0.875rem; height: 0.875rem; transition: transform var(--motion-fast) var(--ease-standard); }
315
+ .vk-media-card-wrap:hover .vk-media-card-arrow,
316
+ .vk-media-card-wrap:focus-visible .vk-media-card-arrow { transform: translate(1px, -1px); }
317
+
318
+ /* Media card, outlined variant */
319
+ .vk-media-card-outlined .vk-media-card-wrap {
320
+ gap: 0;
321
+ height: 100%;
322
+ border: 1px solid var(--border-subtle);
323
+ background: var(--card-fill);
324
+ transition: border-color var(--motion-normal) var(--ease-standard);
325
+ }
326
+ .vk-media-card-outlined .vk-media-card-wrap:hover { border-color: var(--primary-line); }
327
+ .vk-media-card-outlined .vk-media-card-media { border-bottom: 1px solid var(--border-subtle); }
328
+ .vk-media-card-outlined .vk-media-card-body { gap: 0.5rem; padding: clamp(1rem, 2.5vw, 1.35rem); }
329
+ .vk-media-card-outlined .vk-media-card-wrap:hover .vk-media-card-img { transform: none; }
330
+ .vk-media-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
331
+
332
+ /* Badge */
333
+ .vk-badge {
334
+ display: inline-flex;
335
+ align-items: center;
336
+ padding: 0.2rem 0.5rem;
337
+ border: 1px solid var(--primary-line);
338
+ font-family: var(--font-sans);
339
+ font-size: 0.625rem;
340
+ font-weight: 600;
341
+ letter-spacing: 0.12em;
342
+ text-transform: uppercase;
343
+ line-height: 1.2;
344
+ color: var(--primary);
345
+ }
346
+
347
+ /* Quote */
348
+ .vk-quote {
349
+ position: relative;
350
+ display: flex;
351
+ flex-direction: column;
352
+ height: 100%;
353
+ margin: 0;
354
+ padding: 0 0 clamp(1.15rem, 2.85vw, 1.85rem);
355
+ }
356
+ .vk-quote-text {
357
+ margin: 0;
358
+ padding-right: clamp(1.35rem, 3.5vw, 1.75rem);
359
+ font-size: clamp(0.9rem, 2.15vw, 1.05rem);
360
+ line-height: 1.78;
361
+ letter-spacing: 0.01em;
362
+ color: var(--muted-foreground);
363
+ }
364
+ .vk-quote-text strong { font-weight: 400; color: inherit; }
365
+ .vk-quote-icon {
366
+ position: absolute;
367
+ top: 0;
368
+ right: 0;
369
+ color: color-mix(in srgb, var(--muted-foreground) 72%, var(--foreground) 28%);
370
+ opacity: 0.75;
371
+ pointer-events: none;
372
+ }
373
+ .vk-quote-icon .vk-icon { width: 1.125rem; height: 1.125rem; }
374
+ .vk-quote-footer { margin-top: auto; padding-top: clamp(0.45rem, 1.25vw, 0.65rem); }
375
+ .vk-quote-cite { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.75rem; font-style: normal; line-height: 1.35; }
376
+ .vk-quote-identity { display: inline-flex; align-items: center; gap: clamp(0.45rem, 1.25vw, 0.6rem); }
377
+ .vk-avatar {
378
+ width: clamp(1.75rem, 4.5vw, 2.125rem);
379
+ height: clamp(1.75rem, 4.5vw, 2.125rem);
380
+ border-radius: var(--radius-round);
381
+ object-fit: cover;
382
+ flex-shrink: 0;
383
+ }
384
+ .vk-avatar-initials {
385
+ display: inline-flex;
386
+ align-items: center;
387
+ justify-content: center;
388
+ background: color-mix(in srgb, var(--muted-foreground) 22%, transparent);
389
+ font-family: var(--font-display);
390
+ font-size: clamp(0.625rem, 1.5vw, 0.6875rem);
391
+ font-weight: 600;
392
+ letter-spacing: 0.02em;
393
+ color: var(--muted-foreground);
394
+ }
395
+ .vk-quote-name { font-family: var(--font-display); font-size: clamp(0.8125rem, 2vw, 0.875rem); font-weight: 600; color: var(--foreground); }
396
+ .vk-quote-sep { margin-inline: clamp(0.3rem, 1.2vw, 0.5rem); color: color-mix(in srgb, var(--muted-foreground) 55%, transparent); font-size: clamp(0.75rem, 1.8vw, 0.8125rem); user-select: none; }
397
+ .vk-quote-role {
398
+ position: relative;
399
+ top: 1px;
400
+ font-family: var(--font-numeric);
401
+ font-size: 0.6875rem;
402
+ font-weight: 500;
403
+ letter-spacing: 0.06em;
404
+ text-transform: uppercase;
405
+ color: var(--muted-subtle);
406
+ }
407
+
408
+ /* FAQ */
409
+ .vk-faq-list { display: grid; grid-template-columns: 1fr; gap: clamp(1.1rem, 2.5vw, 1.5rem); max-width: 52rem; margin: 0; }
410
+ @media (min-width: 60rem) {
411
+ .vk-faq-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
412
+ .vk-faq-list-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
413
+ }
414
+ .vk-faq-item { padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--border-subtle); background: var(--card-fill); }
415
+ .vk-faq-question {
416
+ margin: 0 0 0.5rem;
417
+ font-family: var(--font-display);
418
+ font-size: clamp(0.9375rem, 2vw, 1.0625rem);
419
+ font-weight: 600;
420
+ letter-spacing: -0.01em;
421
+ line-height: 1.4;
422
+ color: var(--foreground);
423
+ }
424
+ .vk-faq-answer { margin: 0; font-size: clamp(0.875rem, 1.9vw, 0.969rem); line-height: 1.65; color: var(--muted-foreground); }
425
+
426
+ /* Tile grid */
427
+ .vk-tile-heading {
428
+ margin: 0 0 clamp(1rem, 2.5vw, 1.25rem);
429
+ font-family: var(--font-display);
430
+ font-size: var(--text-xs);
431
+ font-weight: 600;
432
+ letter-spacing: 0.14em;
433
+ text-transform: uppercase;
434
+ line-height: 1.25;
435
+ color: var(--muted-foreground);
436
+ }
437
+ .vk-tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
438
+ @media (max-width: 48rem) { .vk-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
439
+ @media (max-width: 28rem) { .vk-tile-grid { grid-template-columns: 1fr; } }
440
+ .vk-tile {
441
+ display: flex;
442
+ flex-direction: column;
443
+ gap: 0.45rem;
444
+ height: 100%;
445
+ box-sizing: border-box;
446
+ padding: clamp(0.9rem, 2.5vw, 1.25rem);
447
+ border: 1px solid var(--border-subtle);
448
+ text-decoration: none;
449
+ color: inherit;
450
+ transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
451
+ }
452
+ .vk-tile:hover { border-color: var(--primary-line); }
453
+ .vk-tile-active,
454
+ .vk-tile-active:hover { background: var(--primary-tint); border-color: var(--primary-hover); }
455
+ .vk-tile:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
456
+ .vk-tile-label {
457
+ font-family: var(--font-display);
458
+ font-size: var(--text-sm);
459
+ font-weight: 600;
460
+ letter-spacing: -0.01em;
461
+ line-height: 1.25;
462
+ color: var(--foreground);
463
+ }
464
+
465
+ /* Icon button */
466
+ .vk-icon-btn {
467
+ display: inline-flex;
468
+ align-items: center;
469
+ justify-content: center;
470
+ box-sizing: border-box;
471
+ width: 40px;
472
+ height: 40px;
473
+ padding: 0;
474
+ color: var(--foreground);
475
+ background: transparent;
476
+ border: 1px solid transparent;
477
+ border-radius: var(--radius, 0);
478
+ cursor: pointer;
479
+ text-decoration: none;
480
+ transition: color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
481
+ }
482
+ .vk-icon-btn:hover { background: var(--primary-tint); }
483
+ .vk-icon-btn-outline { border-color: var(--muted-subtle); }
484
+ .vk-icon-btn-outline:hover { border-color: var(--primary-hover); }
485
+ .vk-icon-btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
486
+ .vk-icon-btn:disabled { cursor: not-allowed; opacity: 0.5; }
487
+
488
+ /* Link */
489
+ .vk-link {
490
+ display: inline-flex;
491
+ align-items: baseline;
492
+ gap: 0.2em;
493
+ color: var(--foreground);
494
+ text-decoration: underline;
495
+ text-decoration-color: var(--primary-line);
496
+ text-decoration-thickness: 1px;
497
+ text-underline-offset: 0.2em;
498
+ transition: color var(--motion-fast) var(--ease-standard), text-decoration-color var(--motion-fast) var(--ease-standard);
499
+ }
500
+ .vk-link:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
501
+ .vk-link:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
502
+ .vk-link-muted { color: var(--muted-foreground); text-decoration-color: currentColor; }
503
+ .vk-link-icon { align-self: center; }
504
+
505
+ /* Form fields */
506
+ .vk-field { display: grid; gap: 0.4rem; min-width: 0; }
507
+ .vk-field-optional { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted-subtle); }
508
+ .vk-field-hint { font-size: var(--text-sm); line-height: 1.5; color: var(--muted-subtle); }
509
+ .vk-input:disabled { cursor: not-allowed; color: var(--muted-subtle); background: transparent; border-style: dashed; }
510
+ /* Only real fields: :read-only also matches every non-editable element, such as the select trigger. */
511
+ input.vk-input:read-only, textarea.vk-input:read-only { background: transparent; }
512
+ .vk-field-label {
513
+ font-size: var(--text-xs);
514
+ font-weight: 600;
515
+ letter-spacing: 0.12em;
516
+ text-transform: uppercase;
517
+ color: var(--muted-foreground);
518
+ }
519
+ .vk-input {
520
+ box-sizing: border-box;
521
+ width: 100%;
522
+ min-height: var(--control-height, 44px);
523
+ padding: 0.6rem 0.75rem;
524
+ font: inherit;
525
+ font-size: var(--text-base);
526
+ color: var(--foreground);
527
+ background: var(--card);
528
+ border: 1px solid var(--input-border);
529
+ border-radius: var(--radius, 0);
530
+ }
531
+ .vk-input::placeholder { color: var(--muted-subtle); }
532
+ .vk-input:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--primary); }
533
+ .vk-input[aria-invalid="true"] { border-color: var(--primary); }
534
+ textarea.vk-input, .vk-textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
535
+ .vk-select { position: relative; display: grid; min-width: 0; }
536
+ .vk-select-trigger {
537
+ display: flex;
538
+ align-items: center;
539
+ padding-right: 2.5rem;
540
+ text-align: left;
541
+ cursor: pointer;
542
+ user-select: none;
543
+ }
544
+ .vk-select-open .vk-select-trigger { border-color: var(--primary); }
545
+ .vk-select-trigger[aria-disabled="true"] { cursor: not-allowed; color: var(--muted-subtle); background: transparent; border-style: dashed; }
546
+ .vk-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
547
+ .vk-select-placeholder { color: var(--muted-subtle); }
548
+ .vk-select-icon {
549
+ position: absolute;
550
+ top: 22px;
551
+ right: 0.75rem;
552
+ translate: 0 -50%;
553
+ color: var(--muted-foreground);
554
+ pointer-events: none;
555
+ transition: rotate var(--motion-fast) var(--ease-standard);
556
+ }
557
+ .vk-select-open .vk-select-icon { rotate: 180deg; }
558
+ .vk-select-menu {
559
+ position: absolute;
560
+ top: calc(100% + 0.25rem);
561
+ left: 0;
562
+ right: 0;
563
+ z-index: var(--z-dropdown);
564
+ box-sizing: border-box;
565
+ /* --vk-float-max: the room left on the open side (set while open, see useFloating). */
566
+ max-height: min(16rem, var(--vk-float-max, 16rem));
567
+ margin: 0;
568
+ padding: 0.25rem 0;
569
+ overflow-y: auto;
570
+ list-style: none;
571
+ background: var(--surface-elevated);
572
+ border: 1px solid var(--border);
573
+ border-radius: var(--radius, 0);
574
+ outline: none;
575
+ }
576
+ .vk-select-option {
577
+ display: flex;
578
+ align-items: center;
579
+ justify-content: space-between;
580
+ gap: 0.75rem;
581
+ padding: 0.6rem 0.75rem;
582
+ font-size: var(--text-base);
583
+ line-height: 1.4;
584
+ color: var(--foreground);
585
+ cursor: pointer;
586
+ }
587
+ .vk-select-option-text { display: grid; gap: 0.1rem; min-width: 0; }
588
+ .vk-select-option-description { font-size: var(--text-sm); color: var(--muted-foreground); }
589
+ .vk-select-option-active { background: var(--primary-tint); }
590
+ .vk-select-option[aria-selected="true"] { color: var(--primary-hover); }
591
+ .vk-select-check { color: var(--primary-hover); }
592
+ .vk-select-option[aria-disabled="true"] { color: var(--muted-subtle); cursor: not-allowed; }
593
+ .vk-select-option[aria-disabled="true"] .vk-select-option-description { color: var(--muted-subtle); }
594
+ .vk-field-error { margin: 0; font-size: var(--text-sm); color: var(--primary-hover); }
595
+
596
+ /* Select (Radix Select, popper position). The shared .vk-select-* rules live in styles/fields.css;
597
+ these cover the Radix parts: state comes from data-state, data-highlighted and data-disabled,
598
+ and the list is portalled and placed by Radix's popper wrapper. */
599
+ .vk-select-trigger { margin: 0; letter-spacing: inherit; }
600
+ .vk-select-trigger[data-state="open"] { border-color: var(--primary); }
601
+ .vk-select-trigger[data-state="open"] .vk-select-icon { rotate: 180deg; }
602
+ .vk-select-content {
603
+ /* Undo the in-place placement of .vk-select-menu: the popper wrapper positions the list. */
604
+ position: relative;
605
+ top: auto;
606
+ right: auto;
607
+ left: auto;
608
+ z-index: var(--z-popover);
609
+ min-width: var(--radix-select-trigger-width);
610
+ max-width: var(--radix-select-content-available-width);
611
+ max-height: min(16rem, var(--radix-select-content-available-height));
612
+ overflow: hidden;
613
+ }
614
+ .vk-select-content[data-state="open"] { animation: vk-select-in var(--motion-normal) var(--ease-standard); }
615
+ @keyframes vk-select-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
616
+ /* Radix hides the viewport's scrollbar; keep a thin one so a long list reads as scrollable. */
617
+ .vk-select-content .vk-select-viewport { scrollbar-width: thin; }
618
+ /* Options take focus; the fill marks the active one. */
619
+ .vk-select-content .vk-select-option { outline: none; }
620
+ .vk-select-content .vk-select-option[data-highlighted] { background: var(--primary-tint); }
621
+ .vk-select-content .vk-select-option[data-state="checked"] { color: var(--primary-hover); }
622
+ .vk-select-content .vk-select-option[data-disabled] { color: var(--muted-subtle); cursor: not-allowed; }
623
+ .vk-select-content .vk-select-option[data-disabled] .vk-select-option-description { color: var(--muted-subtle); }
624
+
625
+ @media (forced-colors: active) {
626
+ .vk-select-content .vk-select-option[data-highlighted] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
627
+ }
628
+ @media (prefers-reduced-motion: reduce) {
629
+ .vk-select-content { animation: none; }
630
+ }
631
+ /* Checkbox, radio, switch. The box and the switch track are Radix controls (buttons with data-state);
632
+ a standalone Radio draws the same box after a native radio (.vk-choice-input). */
633
+ .vk-choice { position: relative; display: inline-flex; align-items: flex-start; gap: 0.65rem; cursor: pointer; }
634
+ .vk-choice-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
635
+ .vk-choice-box {
636
+ flex-shrink: 0;
637
+ display: inline-flex;
638
+ align-items: center;
639
+ justify-content: center;
640
+ box-sizing: border-box;
641
+ width: 18px;
642
+ height: 18px;
643
+ margin-top: 0.1875rem;
644
+ padding: 0;
645
+ color: var(--primary-foreground);
646
+ background: var(--card);
647
+ border: 1px solid var(--muted-subtle);
648
+ border-radius: var(--radius, 0);
649
+ cursor: inherit;
650
+ transition: background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
651
+ }
652
+ .vk-choice-mark { opacity: 0; }
653
+ .vk-choice-dot { width: 8px; height: 8px; background: var(--primary); opacity: 0; }
654
+ .vk-choice:hover .vk-choice-box { border-color: var(--primary-hover); }
655
+ .vk-choice .vk-choice-box:is([data-state="checked"], [data-state="indeterminate"]),
656
+ .vk-choice-input:checked + .vk-choice-box { border-color: var(--primary); }
657
+ .vk-choice-box:not(.vk-choice-box-radio):is([data-state="checked"], [data-state="indeterminate"]) { background: var(--primary); }
658
+ .vk-choice-box:is([data-state="checked"], [data-state="indeterminate"]) :is(.vk-choice-mark, .vk-choice-dot),
659
+ .vk-choice-input:checked + .vk-choice-box .vk-choice-dot { opacity: 1; }
660
+ .vk-choice-box:focus-visible,
661
+ .vk-switch-track:focus-visible,
662
+ .vk-choice-input:focus-visible + .vk-choice-box { outline: 2px solid var(--ring); outline-offset: 2px; }
663
+ .vk-choice .vk-choice-box[aria-invalid="true"],
664
+ .vk-choice-input[aria-invalid="true"] + .vk-choice-box { border-color: var(--primary); }
665
+ .vk-choice-text { display: grid; gap: 0.15rem; min-width: 0; }
666
+ .vk-choice-label { font-size: var(--text-sm); line-height: 1.6; color: var(--foreground); }
667
+ .vk-choice-description { font-size: var(--text-sm); line-height: 1.5; color: var(--muted-foreground); }
668
+ .vk-switch-track {
669
+ flex-shrink: 0;
670
+ position: relative;
671
+ box-sizing: border-box;
672
+ width: 36px;
673
+ height: 20px;
674
+ margin-top: 0.125rem;
675
+ padding: 0;
676
+ background: var(--card);
677
+ border: 1px solid var(--muted-subtle);
678
+ border-radius: var(--radius, 0);
679
+ cursor: inherit;
680
+ transition: background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
681
+ }
682
+ .vk-switch-thumb {
683
+ position: absolute;
684
+ top: 2px;
685
+ left: 2px;
686
+ width: 14px;
687
+ height: 14px;
688
+ background: var(--muted-foreground);
689
+ transition: transform var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
690
+ }
691
+ .vk-switch:hover .vk-switch-track { border-color: var(--primary-hover); }
692
+ .vk-switch .vk-switch-track[data-state="checked"] { background: var(--primary); border-color: var(--primary); }
693
+ .vk-switch-thumb[data-state="checked"] { transform: translateX(16px); background: var(--primary-foreground); }
694
+ .vk-choice-disabled { cursor: not-allowed; }
695
+ .vk-choice-disabled .vk-choice-box, .vk-choice-disabled .vk-switch-track { border-style: dashed; background: transparent; }
696
+ .vk-choice-disabled .vk-choice-label { color: var(--muted-subtle); }
697
+ .vk-choice-disabled .vk-choice-box:is([data-state="checked"], [data-state="indeterminate"]),
698
+ .vk-choice-disabled .vk-switch-track[data-state="checked"],
699
+ .vk-choice-disabled .vk-choice-input:checked + .vk-choice-box { border-style: solid; border-color: var(--muted-subtle); background: var(--muted-subtle); }
700
+ .vk-choice-disabled .vk-choice-box-radio[data-state="checked"],
701
+ .vk-choice-disabled .vk-choice-input:checked + .vk-choice-box-radio { background: transparent; }
702
+ .vk-choice-disabled .vk-choice-dot { background: var(--muted-subtle); }
703
+ .vk-choice-disabled .vk-switch-thumb[data-state="checked"] { background: var(--background); }
704
+ .vk-choice-disabled:hover .vk-choice-box, .vk-choice-disabled:hover .vk-switch-track { border-color: var(--muted-subtle); }
705
+ .vk-choice-group { display: grid; gap: 0.6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
706
+ .vk-choice-group > legend { padding: 0; margin-bottom: 0.6rem; }
707
+ .vk-choice-list { display: grid; gap: 0.6rem; }
708
+ .vk-choice-group-inline .vk-choice-list { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
709
+ /* Tag */
710
+ .vk-tag {
711
+ display: inline-flex;
712
+ align-items: center;
713
+ gap: 0.15rem;
714
+ box-sizing: border-box;
715
+ max-width: 100%;
716
+ min-height: 26px;
717
+ padding: 0.1rem 0.5rem;
718
+ font-size: var(--text-sm);
719
+ line-height: 1.3;
720
+ color: var(--foreground);
721
+ background: var(--surface-elevated);
722
+ border: 1px solid var(--border);
723
+ border-radius: var(--radius, 0);
724
+ }
725
+ .vk-tag:has(.vk-tag-remove) { padding-right: 0.15rem; }
726
+ .vk-tag-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
727
+ .vk-tag-remove {
728
+ display: inline-flex;
729
+ align-items: center;
730
+ justify-content: center;
731
+ width: 20px;
732
+ height: 20px;
733
+ padding: 0;
734
+ color: var(--muted-foreground);
735
+ background: transparent;
736
+ border: 0;
737
+ border-radius: var(--radius, 0);
738
+ cursor: pointer;
739
+ }
740
+ .vk-tag-remove:hover { color: var(--foreground); background: var(--primary-tint); }
741
+ .vk-tag-remove:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; }
742
+
743
+ /* Search and clear */
744
+ .vk-search, .vk-combobox-field { position: relative; display: grid; min-width: 0; }
745
+ .vk-search-icon { position: absolute; top: 22px; left: 0.75rem; translate: 0 -50%; color: var(--muted-foreground); pointer-events: none; }
746
+ .vk-search-input, .vk-has-lead { padding-left: 2.25rem; }
747
+ .vk-search-input { padding-right: 2.5rem; }
748
+ .vk-search-input::-webkit-search-cancel-button, .vk-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
749
+ .vk-field-clear {
750
+ position: absolute;
751
+ top: 22px;
752
+ right: 0.35rem;
753
+ translate: 0 -50%;
754
+ display: inline-flex;
755
+ align-items: center;
756
+ justify-content: center;
757
+ width: 32px;
758
+ height: 32px;
759
+ padding: 0;
760
+ color: var(--muted-foreground);
761
+ background: transparent;
762
+ border: 0;
763
+ border-radius: var(--radius, 0);
764
+ cursor: pointer;
765
+ }
766
+ .vk-field-clear:hover { color: var(--foreground); background: var(--primary-tint); }
767
+ .vk-field-clear:focus-visible { outline: 2px solid var(--ring); outline-offset: 0; }
768
+
769
+ /* Combobox and multi-select */
770
+ .vk-combobox-input { padding-right: 2.5rem; }
771
+ .vk-select-open .vk-combobox-input { border-color: var(--primary); }
772
+ .vk-match { color: inherit; background: transparent; font-weight: 600; text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
773
+ .vk-select-empty { padding: 0.75rem; font-size: var(--text-sm); color: var(--muted-foreground); }
774
+ .vk-multiselect-field {
775
+ display: flex;
776
+ flex-wrap: wrap;
777
+ align-items: center;
778
+ gap: 0.35rem;
779
+ padding: 0.5rem 2.5rem 0.5rem 0.5rem;
780
+ cursor: text;
781
+ }
782
+ .vk-multiselect-field:focus-within { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--primary); }
783
+ .vk-select-open .vk-multiselect-field { border-color: var(--primary); }
784
+ .vk-multiselect-field[aria-invalid="true"] { border-color: var(--primary); }
785
+ .vk-multiselect-input {
786
+ flex: 1 1 6ch;
787
+ min-width: 6ch;
788
+ height: 26px;
789
+ padding: 0 0.25rem;
790
+ font: inherit;
791
+ font-size: var(--text-base);
792
+ color: var(--foreground);
793
+ background: transparent;
794
+ border: 0;
795
+ outline: none;
796
+ }
797
+ .vk-multiselect-input-compact { flex-basis: 2ch; min-width: 2ch; }
798
+ .vk-multiselect-input::placeholder { color: var(--muted-subtle); }
799
+ .vk-multiselect-disabled .vk-multiselect-field { cursor: not-allowed; color: var(--muted-subtle); background: transparent; border-style: dashed; }
800
+ .vk-multi-option { justify-content: flex-start; }
801
+ .vk-multi-option .vk-choice-box { margin-top: 0; align-self: flex-start; margin-top: 0.15rem; }
802
+ .vk-multi-option[aria-selected="true"] { color: var(--foreground); }
803
+ .vk-multi-option[aria-selected="true"] .vk-choice-box { background: var(--primary); border-color: var(--primary); }
804
+ .vk-multi-option[aria-selected="true"] .vk-choice-mark { opacity: 1; }
805
+ .vk-multi-option[aria-disabled="true"] .vk-choice-box { border-style: dashed; background: transparent; }
806
+
807
+ /* Date picker and popover */
808
+ .vk-date-trigger { gap: 0.6rem; padding-right: 0.75rem; font: inherit; font-size: var(--text-base); color: var(--foreground); }
809
+ .vk-date-trigger:disabled { cursor: not-allowed; }
810
+ .vk-date-trigger[data-state="open"] { border-color: var(--primary); }
811
+ .vk-date-icon { flex-shrink: 0; color: var(--muted-foreground); }
812
+ .vk-popover {
813
+ position: absolute;
814
+ top: calc(100% + 0.25rem);
815
+ left: 0;
816
+ z-index: var(--z-popover);
817
+ box-sizing: border-box;
818
+ max-height: var(--vk-float-max, none);
819
+ overflow-y: auto;
820
+ padding: 0.75rem;
821
+ background: var(--surface-elevated);
822
+ border: 1px solid var(--border);
823
+ border-radius: var(--radius, 0);
824
+ }
825
+ .vk-popover-footer { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border-subtle); }
826
+
827
+ /* The calendar panel (Radix Popover): placed by its popper wrapper, which takes the z-index from here; data-state and data-side set by Radix */
828
+ .vk-popover.vk-date-popover {
829
+ position: relative;
830
+ top: auto;
831
+ left: auto;
832
+ max-height: var(--radix-popper-available-height);
833
+ outline: none;
834
+ }
835
+ .vk-date-popover[data-state="open"] { animation: vk-date-popover-in var(--motion-normal) var(--ease-standard); }
836
+ .vk-date-popover[data-state="closed"] { animation: vk-date-popover-out var(--motion-normal) var(--ease-standard) forwards; pointer-events: none; }
837
+ @keyframes vk-date-popover-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
838
+ @keyframes vk-date-popover-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(0.5rem); } }
839
+ @media (prefers-reduced-motion: reduce) {
840
+ .vk-date-popover[data-state] { animation: none; }
841
+ }
842
+ /* Calendar */
843
+ .vk-calendar { display: inline-grid; gap: 0.5rem; }
844
+ .vk-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
845
+ .vk-calendar-header .vk-icon-btn { width: 36px; height: 36px; }
846
+ .vk-calendar-title { margin: 0; font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; letter-spacing: -0.01em; color: var(--foreground); }
847
+ .vk-calendar-grid { border-collapse: collapse; border-spacing: 0; }
848
+ .vk-calendar-grid th {
849
+ width: 40px;
850
+ height: 28px;
851
+ padding: 0;
852
+ font-size: 0.6875rem;
853
+ font-weight: 600;
854
+ letter-spacing: 0.08em;
855
+ text-transform: uppercase;
856
+ color: var(--muted-subtle);
857
+ }
858
+ .vk-calendar-grid td { padding: 2px 0; text-align: center; }
859
+ .vk-day {
860
+ position: relative;
861
+ box-sizing: border-box;
862
+ width: 40px;
863
+ height: 36px;
864
+ padding: 0;
865
+ font-family: var(--font-numeric);
866
+ font-variant-numeric: tabular-nums;
867
+ font-size: var(--text-sm);
868
+ font-weight: 500;
869
+ color: var(--foreground);
870
+ background: transparent;
871
+ border: 1px solid transparent;
872
+ border-radius: var(--radius, 0);
873
+ cursor: pointer;
874
+ }
875
+ .vk-day:hover { border-color: var(--primary-line); }
876
+ .vk-day:focus-visible { outline: 2px solid var(--ring); outline-offset: 0; z-index: 1; }
877
+ .vk-day-outside { color: var(--muted-subtle); }
878
+ .vk-day-today::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--primary); }
879
+ .vk-day-selected { color: var(--primary-foreground); background: var(--primary); border-color: var(--primary); }
880
+ .vk-day-selected:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
881
+ .vk-day-selected.vk-day-today::after { background: var(--primary-foreground); }
882
+ .vk-day-in-range, .vk-day-range-start, .vk-day-range-end { background: var(--primary-tint); }
883
+ .vk-day-range-start { background: linear-gradient(90deg, transparent 50%, var(--primary-tint) 50%); }
884
+ .vk-day-range-end { background: linear-gradient(90deg, var(--primary-tint) 50%, transparent 50%); }
885
+ .vk-day[aria-disabled="true"] { color: var(--muted-subtle); text-decoration: line-through; cursor: not-allowed; border-color: transparent; }
886
+ .vk-day[aria-disabled="true"]:hover { border-color: transparent; }
887
+
888
+ /* Badge tones */
889
+ .vk-badge-neutral { color: var(--muted-foreground); border-color: var(--border); }
890
+ .vk-badge-info { color: var(--info); border-color: var(--info-line); }
891
+ .vk-badge-success { color: var(--success); border-color: var(--success-line); }
892
+ .vk-badge-warning { color: var(--warning); border-color: var(--warning-line); }
893
+ .vk-badge-danger { color: var(--danger); border-color: var(--danger-line); }
894
+ .vk-table .vk-icon-btn { width: 32px; height: 32px; }
895
+ .vk-table td:has(.vk-menu-root) { padding-top: 0.25rem; padding-bottom: 0.25rem; }
896
+
897
+ /* Utilities */
898
+ .vk-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
899
+ .vk-choice-mixed .vk-choice-box { background: var(--primary); border-color: var(--primary); }
900
+ .vk-choice-mixed .vk-choice-mark { opacity: 1; }
901
+ .vk-choice:has(.vk-choice-input[aria-label]) { gap: 0; }
902
+
903
+ /* Alert and toast */
904
+ .vk-alert, .vk-toast {
905
+ --vk-status: var(--info);
906
+ display: grid;
907
+ grid-template-columns: auto minmax(0, 1fr) auto;
908
+ align-items: start;
909
+ gap: 0.75rem;
910
+ box-sizing: border-box;
911
+ padding: 0.85rem 0.85rem 0.85rem 1rem;
912
+ border: 1px solid var(--info-line);
913
+ background: var(--info-tint);
914
+ border-radius: var(--radius, 0);
915
+ color: var(--foreground);
916
+ }
917
+ .vk-alert-success, .vk-toast-success { --vk-status: var(--success); border-color: var(--success-line); background: var(--success-tint); }
918
+ .vk-alert-warning, .vk-toast-warning { --vk-status: var(--warning); border-color: var(--warning-line); background: var(--warning-tint); }
919
+ .vk-alert-danger, .vk-toast-danger { --vk-status: var(--danger); border-color: var(--danger-line); background: var(--danger-tint); }
920
+ .vk-alert-icon { margin-top: 0.1rem; color: var(--vk-status); }
921
+ .vk-alert-body { display: grid; gap: 0.2rem; min-width: 0; }
922
+ .vk-alert-title { margin: 0; font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; line-height: 1.4; color: var(--foreground); }
923
+ .vk-alert-text { font-size: var(--text-sm); line-height: 1.55; color: var(--muted-foreground); }
924
+ .vk-alert-text p { margin: 0; }
925
+ .vk-alert-action { margin-top: 0.5rem; }
926
+ .vk-alert-close { width: 32px; height: 32px; margin: -0.35rem -0.35rem 0 0; color: var(--muted-foreground); }
927
+ .vk-alert > :nth-child(2):last-child { grid-column: 2 / -1; }
928
+
929
+ .vk-toaster { position: fixed; right: 0; bottom: 0; z-index: var(--z-tooltip); box-sizing: border-box; width: min(24rem, 100vw); padding: 1rem calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) 1rem; pointer-events: none; }
930
+ .vk-toaster-top { top: 0; bottom: auto; }
931
+ .vk-toast-list { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
932
+ .vk-toast { pointer-events: auto; background: var(--surface-elevated); border-color: var(--border); animation: vk-toast-in var(--motion-fast) var(--ease-standard); }
933
+ .vk-toast .vk-alert-icon { color: var(--vk-status); }
934
+ @keyframes vk-toast-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
935
+
936
+ /* Tooltip (Radix Tooltip: positioned by its popper wrapper, data-state and data-side set by Radix) */
937
+ .vk-tooltip {
938
+ z-index: var(--z-tooltip);
939
+ box-sizing: border-box;
940
+ width: max-content;
941
+ max-width: 16rem;
942
+ padding: 0.35rem 0.55rem;
943
+ font-family: var(--font-sans);
944
+ font-size: 0.75rem;
945
+ font-weight: 500;
946
+ line-height: 1.4;
947
+ letter-spacing: 0.01em;
948
+ text-transform: none;
949
+ color: var(--background);
950
+ background: var(--foreground);
951
+ border-radius: var(--radius, 0);
952
+ pointer-events: none;
953
+ }
954
+ /* Menu and popover */
955
+ .vk-menu-root { position: relative; display: inline-block; }
956
+ .vk-menu-trigger-icon { margin-right: 0.5rem; }
957
+ .vk-btn-label .vk-menu-trigger-icon { display: inline-block; vertical-align: -3px; }
958
+ .vk-menu {
959
+ position: absolute;
960
+ top: calc(100% + 0.25rem);
961
+ left: 0;
962
+ z-index: var(--z-dropdown);
963
+ box-sizing: border-box;
964
+ min-width: 13rem;
965
+ padding: 0.25rem 0;
966
+ background: var(--surface-elevated);
967
+ border: 1px solid var(--border);
968
+ border-radius: var(--radius, 0);
969
+ }
970
+ .vk-menu-item {
971
+ display: flex;
972
+ align-items: center;
973
+ gap: 0.6rem;
974
+ box-sizing: border-box;
975
+ width: 100%;
976
+ min-height: 36px;
977
+ padding: 0.45rem 0.75rem;
978
+ font: inherit;
979
+ font-size: var(--text-sm);
980
+ text-align: left;
981
+ color: var(--foreground);
982
+ background: transparent;
983
+ border: 0;
984
+ cursor: pointer;
985
+ outline: none;
986
+ }
987
+ .vk-menu-item:focus, .vk-menu-item:focus-visible { background: var(--primary-tint); }
988
+ .vk-menu-item:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
989
+ .vk-menu-item-icon { flex-shrink: 0; width: 16px; color: var(--muted-foreground); }
990
+ .vk-menu-item-label { flex: 1; min-width: 0; }
991
+ .vk-menu-shortcut { font-family: var(--font-numeric); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--muted-subtle); }
992
+ .vk-menu-item-danger, .vk-menu-item-danger .vk-menu-item-icon { color: var(--danger); }
993
+ .vk-menu-item-danger:focus { background: var(--danger-tint); }
994
+ .vk-menu-item[aria-disabled="true"] { color: var(--muted-subtle); cursor: not-allowed; }
995
+ .vk-menu-item[aria-disabled="true"]:focus { background: transparent; }
996
+ .vk-menu-separator { height: 1px; margin: 0.25rem 0; background: var(--border-subtle); }
997
+ .vk-menu-label { padding: 0.5rem 0.75rem 0.25rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-subtle); }
998
+ .vk-popover-panel { min-width: 16rem; outline: none; }
999
+ .vk-popover-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--foreground); }
1000
+
1001
+
1002
+ /* Radix sets pointer-events on each layer from the order layers registered in. Inside a modal
1003
+ Dialog or Drawer that bookkeeping can lag (seen on slow machines), leaving an open popup at
1004
+ pointer-events: none, so it can't be clicked. Our popups close as soon as focus moves into a
1005
+ newer modal, so an open one is always the top layer: keep it clickable. */
1006
+ [data-radix-popper-content-wrapper] > :is(.vk-popover, .vk-select-menu, .vk-menu):not([data-state="closed"]) { pointer-events: auto !important; }
1007
+ /* Dialog and drawer (Radix Dialog / AlertDialog: the content sits inside its overlay; data-state set by Radix) */
1008
+ .vk-overlay {
1009
+ position: fixed;
1010
+ inset: 0;
1011
+ z-index: var(--z-modal);
1012
+ display: grid;
1013
+ place-items: center;
1014
+ box-sizing: border-box;
1015
+ padding: 1rem;
1016
+ background: var(--overlay);
1017
+ }
1018
+ .vk-overlay[data-state="open"] { animation: vk-fade-in var(--motion-fast) var(--ease-standard); }
1019
+ .vk-overlay-drawer { place-items: stretch end; padding: 0; }
1020
+ .vk-dialog {
1021
+ display: flex;
1022
+ flex-direction: column;
1023
+ box-sizing: border-box;
1024
+ width: 100%;
1025
+ max-height: calc(100vh - 2rem);
1026
+ background: var(--surface-elevated);
1027
+ border: 1px solid var(--border);
1028
+ border-radius: var(--radius, 0);
1029
+ outline: none;
1030
+ }
1031
+ .vk-dialog[data-state="open"] { animation: vk-dialog-in var(--motion-normal) var(--ease-standard); }
1032
+ .vk-dialog-sm { max-width: 26rem; }
1033
+ .vk-dialog-md { max-width: 34rem; }
1034
+ .vk-dialog-lg { max-width: 46rem; }
1035
+ .vk-drawer { width: min(28rem, 100vw); max-height: none; height: 100%; border-width: 0 0 0 1px; }
1036
+ .vk-drawer-left { justify-self: start; border-width: 0 1px 0 0; }
1037
+ .vk-drawer[data-state="open"] { animation-name: vk-drawer-in; }
1038
+ .vk-drawer-left[data-state="open"] { animation-name: vk-drawer-in-left; }
1039
+ .vk-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0 1.5rem; }
1040
+ .vk-dialog-heading { display: grid; gap: 0.35rem; min-width: 0; padding-top: 0.35rem; }
1041
+ .vk-dialog-title { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; color: var(--foreground); text-wrap: balance; }
1042
+ .vk-dialog-description { margin: 0; font-size: var(--text-sm); line-height: 1.55; color: var(--muted-foreground); }
1043
+ .vk-dialog-close { flex-shrink: 0; }
1044
+ .vk-dialog-body { flex: 1; min-height: 0; overflow-y: auto; padding: 1.25rem 1.5rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }
1045
+ .vk-dialog-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; padding: 1rem 1.5rem 1.25rem; border-top: 1px solid var(--border-subtle); }
1046
+ .vk-dialog-header + .vk-dialog-footer { margin-top: 1.25rem; }
1047
+ @keyframes vk-fade-in { from { opacity: 0; } to { opacity: 1; } }
1048
+ @keyframes vk-dialog-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
1049
+ @keyframes vk-drawer-in { from { transform: translateX(1.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
1050
+ @keyframes vk-drawer-in-left { from { transform: translateX(-1.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
1051
+
1052
+ /* Popover (Radix Popover): its popper wrapper places it, so the panel itself is not offset; it shrinks to the room on its side */
1053
+ [data-radix-popper-content-wrapper] > .vk-popover-panel { position: relative; inset: auto; max-height: var(--radix-popper-available-height); }
1054
+ .vk-popover-panel[data-state="open"] { animation: vk-dialog-in var(--motion-normal) var(--ease-standard); }
1055
+
1056
+ /* AppShell's mobile sidebar (Radix Dialog under 48rem): the scrim fades in, the sidebar slides 1.5rem from the left */
1057
+ .vk-shell-scrim[data-state="open"] { animation: vk-fade-in var(--motion-fast) var(--ease-standard); }
1058
+ .vk-shell-sidebar[data-state="open"] { animation: vk-drawer-in-left var(--motion-normal) var(--ease-standard); }
1059
+
1060
+ @media (prefers-reduced-motion: reduce) {
1061
+ .vk-overlay[data-state], .vk-dialog[data-state], .vk-popover-panel[data-state], .vk-shell-scrim[data-state], .vk-shell-sidebar[data-state] { animation: none; }
1062
+ }
1063
+
1064
+ /* Danger button */
1065
+ .vk-btn-danger { font-weight: 700; color: var(--on-status); background: var(--danger); border: 1px solid var(--danger); }
1066
+ .vk-btn-danger:hover { background: color-mix(in srgb, var(--danger) 88%, var(--foreground)); }
1067
+
1068
+ /* Tabs (Radix Tabs: data-state=active|inactive and data-disabled set by Radix) */
1069
+ .vk-tablist { display: flex; gap: 1.75rem; overflow-x: auto; border-bottom: 1px solid var(--border-subtle); scrollbar-width: none; }
1070
+ .vk-tab {
1071
+ position: relative;
1072
+ display: inline-flex;
1073
+ align-items: center;
1074
+ gap: 0.45rem;
1075
+ flex-shrink: 0;
1076
+ padding: 0.85rem 0 0.8rem;
1077
+ font: inherit;
1078
+ font-size: var(--text-xs);
1079
+ font-weight: 600;
1080
+ letter-spacing: 0.12em;
1081
+ text-transform: uppercase;
1082
+ color: var(--muted-foreground);
1083
+ background: transparent;
1084
+ border: 0;
1085
+ cursor: pointer;
1086
+ }
1087
+ .vk-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
1088
+ .vk-tab:hover { color: var(--foreground); }
1089
+ .vk-tab[data-state="active"] { color: var(--foreground); }
1090
+ .vk-tab[data-state="active"]::after { background: var(--primary); }
1091
+ .vk-tab:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
1092
+ .vk-tab[data-disabled] { color: var(--muted-subtle); cursor: not-allowed; }
1093
+ .vk-tab-count { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: 0.6875rem; letter-spacing: 0; color: var(--muted-subtle); }
1094
+ .vk-tab[data-state="active"] .vk-tab-count { color: var(--primary); }
1095
+ .vk-tabpanel { padding-top: 1.25rem; outline: none; }
1096
+ .vk-tabpanel:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1097
+
1098
+ /* Segmented control (Radix RadioGroup: each segment is an item with data-state) */
1099
+ .vk-segmented { display: inline-flex; border: 1px solid var(--border-subtle); border-radius: var(--radius, 0); }
1100
+ .vk-segment {
1101
+ display: inline-flex;
1102
+ align-items: center;
1103
+ gap: 0.4rem;
1104
+ min-height: 38px;
1105
+ padding: 0 0.9rem;
1106
+ font: inherit;
1107
+ font-size: var(--text-sm);
1108
+ font-weight: 500;
1109
+ color: var(--muted-foreground);
1110
+ background: transparent;
1111
+ border: 0;
1112
+ border-left: 1px solid var(--border-subtle);
1113
+ cursor: pointer;
1114
+ }
1115
+ .vk-segment:first-child { border-left: 0; }
1116
+ .vk-segment:hover { color: var(--foreground); }
1117
+ .vk-segment[data-state="checked"] { color: var(--foreground); background: var(--primary-tint); box-shadow: inset 0 -2px 0 var(--primary); }
1118
+ .vk-segment:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; position: relative; }
1119
+ .vk-segment:disabled { color: var(--muted-subtle); cursor: not-allowed; }
1120
+ .vk-segmented-sm .vk-segment { min-height: 30px; padding: 0 0.65rem; font-size: 0.8125rem; }
1121
+
1122
+ /* Breadcrumbs */
1123
+ .vk-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0; margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
1124
+ .vk-breadcrumbs li { display: inline-flex; align-items: center; }
1125
+ .vk-crumb { color: var(--muted-foreground); text-decoration: none; }
1126
+ .vk-crumb:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: 0.2em; }
1127
+ .vk-crumb:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1128
+ .vk-crumb-current { color: var(--foreground); }
1129
+ .vk-crumb-sep { margin: 0 0.6rem; color: var(--muted-subtle); }
1130
+
1131
+ /* Pagination */
1132
+ .vk-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
1133
+ .vk-pagination-summary { margin: 0; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: var(--text-sm); color: var(--muted-foreground); }
1134
+ .vk-pagination-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
1135
+ .vk-page {
1136
+ display: inline-flex;
1137
+ align-items: center;
1138
+ justify-content: center;
1139
+ gap: 0.35rem;
1140
+ box-sizing: border-box;
1141
+ min-width: 36px;
1142
+ height: 36px;
1143
+ padding: 0 0.5rem;
1144
+ font-family: var(--font-numeric);
1145
+ font-variant-numeric: tabular-nums;
1146
+ font-size: var(--text-sm);
1147
+ font-weight: 500;
1148
+ color: var(--muted-foreground);
1149
+ background: transparent;
1150
+ border: 1px solid transparent;
1151
+ border-radius: var(--radius, 0);
1152
+ cursor: pointer;
1153
+ }
1154
+ .vk-page:hover { color: var(--foreground); background: var(--primary-tint); }
1155
+ .vk-page[aria-current="page"] { color: var(--foreground); border-color: var(--primary); background: var(--primary-tint); }
1156
+ .vk-page:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1157
+ .vk-page:disabled { color: var(--muted-subtle); background: transparent; cursor: not-allowed; }
1158
+ .vk-page-step { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 0.6rem; }
1159
+ .vk-page-gap { min-width: 24px; text-align: center; color: var(--muted-subtle); }
1160
+ @media (max-width: 40rem) { .vk-page-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
1161
+
1162
+ /* Nav list */
1163
+ .vk-navlist { display: grid; gap: 1.25rem; }
1164
+ .vk-navlist ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
1165
+ .vk-navlist-heading { margin: 0 0 0.4rem 0.75rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-subtle); }
1166
+ .vk-navlist-item {
1167
+ display: flex;
1168
+ align-items: center;
1169
+ gap: 0.65rem;
1170
+ min-height: 36px;
1171
+ padding: 0 0.75rem;
1172
+ font-size: var(--text-sm);
1173
+ font-weight: 500;
1174
+ color: var(--muted-foreground);
1175
+ text-decoration: none;
1176
+ border-radius: var(--radius, 0);
1177
+ }
1178
+ .vk-navlist-item:hover { color: var(--foreground); background: var(--card-fill); }
1179
+ .vk-navlist-item-active { color: var(--foreground); background: var(--primary-tint); }
1180
+ .vk-navlist-item-active .vk-navlist-icon { color: var(--primary); }
1181
+ .vk-navlist-item:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
1182
+ .vk-navlist-label { flex: 1; min-width: 0; }
1183
+ .vk-navlist-count { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: 0.75rem; color: var(--muted-subtle); }
1184
+
1185
+ /* Table */
1186
+ .vk-table-wrap { overflow: auto; border: 1px solid var(--border-subtle); background: var(--background); }
1187
+ .vk-table-wrap:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1188
+ .vk-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); color: var(--foreground); }
1189
+ .vk-table-caption { padding: 0.85rem 1rem; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--foreground); border-bottom: 1px solid var(--border-subtle); }
1190
+ .vk-table thead th {
1191
+ position: sticky;
1192
+ top: 0;
1193
+ z-index: 1;
1194
+ padding: 0.6rem 1rem;
1195
+ text-align: left;
1196
+ white-space: nowrap;
1197
+ font-size: 0.6875rem;
1198
+ font-weight: 600;
1199
+ letter-spacing: 0.1em;
1200
+ text-transform: uppercase;
1201
+ color: var(--muted-foreground);
1202
+ background: var(--background);
1203
+ border-bottom: 1px solid var(--border);
1204
+ }
1205
+ .vk-table td, .vk-table tbody th { padding: 0.75rem 1rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--border-subtle); }
1206
+ .vk-table tbody th { font-weight: 500; color: var(--foreground); }
1207
+ .vk-table tbody tr:last-child > * { border-bottom: 0; }
1208
+ .vk-table tbody tr:hover { background: var(--card-fill); }
1209
+ .vk-table .vk-tr-selected, .vk-table .vk-tr-selected:hover { background: var(--primary-tint); }
1210
+ .vk-table .vk-td-end { text-align: right; }
1211
+ .vk-table .vk-td-nowrap { white-space: nowrap; }
1212
+ .vk-table .vk-td-num { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; }
1213
+ .vk-table .vk-td-select { width: 1px; padding-right: 0; }
1214
+ .vk-table .vk-td-empty { padding: 2.5rem 1rem; text-align: center; color: var(--muted-foreground); }
1215
+ .vk-th-sort { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
1216
+ .vk-th-sort:hover, .vk-th-sort-active { color: var(--foreground); }
1217
+ .vk-th-sort-icon { color: var(--muted-subtle); }
1218
+ .vk-th-sort-active .vk-th-sort-icon { color: var(--primary); }
1219
+ .vk-th-sort:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1220
+ .vk-td-end .vk-th-sort { flex-direction: row-reverse; }
1221
+ .vk-table-compact .vk-table td, .vk-table-compact .vk-table tbody th { padding: 0.45rem 0.75rem; }
1222
+ .vk-table-compact .vk-table thead th { padding: 0.45rem 0.75rem; }
1223
+
1224
+ /* Accordion (Radix Accordion: data-state=open|closed and data-disabled set by Radix on the item, heading, trigger and panel) */
1225
+ .vk-accordion { border-top: 1px solid var(--border-subtle); }
1226
+ .vk-accordion-item { border-bottom: 1px solid var(--border-subtle); }
1227
+ .vk-accordion-heading { margin: 0; }
1228
+ .vk-accordion-trigger {
1229
+ display: flex;
1230
+ align-items: center;
1231
+ justify-content: space-between;
1232
+ gap: 1rem;
1233
+ width: 100%;
1234
+ padding: 1rem 0;
1235
+ font-family: var(--font-display);
1236
+ font-size: var(--text-base);
1237
+ font-weight: 600;
1238
+ line-height: 1.4;
1239
+ text-align: left;
1240
+ color: var(--foreground);
1241
+ background: transparent;
1242
+ border: 0;
1243
+ cursor: pointer;
1244
+ }
1245
+ .vk-accordion-trigger:hover { color: var(--primary-hover); }
1246
+ .vk-accordion-trigger:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1247
+ .vk-accordion-trigger[data-disabled] { cursor: not-allowed; }
1248
+ .vk-accordion-icon { flex-shrink: 0; color: var(--muted-foreground); transition: rotate var(--motion-fast) var(--ease-standard); }
1249
+ .vk-accordion-trigger[data-state="open"] .vk-accordion-icon { rotate: 180deg; color: var(--primary); }
1250
+ .vk-accordion-panel { box-sizing: border-box; overflow: hidden; padding: 0 2.5rem 1.15rem 0; font-size: var(--text-sm); line-height: 1.65; color: var(--muted-foreground); }
1251
+ /* Height follows Radix's measured --radix-accordion-content-height (border-box, so the bottom padding animates with it). */
1252
+ .vk-accordion-panel[data-state="open"] { animation: vk-accordion-down var(--motion-normal) var(--ease-standard); }
1253
+ .vk-accordion-panel[data-state="closed"] { animation: vk-accordion-up var(--motion-normal) var(--ease-standard); }
1254
+ @keyframes vk-accordion-down { from { height: 0; padding-bottom: 0; } to { height: var(--radix-accordion-content-height); } }
1255
+ @keyframes vk-accordion-up { from { height: var(--radix-accordion-content-height); } to { height: 0; padding-bottom: 0; } }
1256
+ @media (prefers-reduced-motion: reduce) {
1257
+ .vk-accordion-panel[data-state] { animation: none; }
1258
+ }
1259
+ /* Progress (Radix Progress: data-state indeterminate | loading | complete on the track), spinner, skeleton */
1260
+ .vk-progress { --vk-tone: var(--primary); display: grid; gap: 0.45rem; }
1261
+ .vk-progress-success { --vk-tone: var(--success); }
1262
+ .vk-progress-warning { --vk-tone: var(--warning); }
1263
+ .vk-progress-danger { --vk-tone: var(--danger); }
1264
+ .vk-progress-row { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--text-sm); }
1265
+ .vk-progress-label { color: var(--foreground); }
1266
+ .vk-progress-value { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; color: var(--muted-foreground); }
1267
+ .vk-progress-track { position: relative; height: 6px; overflow: hidden; background: var(--card); border: 1px solid var(--border-subtle); }
1268
+ .vk-progress-fill { height: 100%; background: var(--vk-tone); transition: width var(--motion-normal) var(--ease-standard); }
1269
+ .vk-progress-track[data-state="indeterminate"] {
1270
+ background-color: var(--card);
1271
+ background-image: repeating-linear-gradient(-45deg, transparent, transparent 4px, var(--vk-tone) 4px, var(--vk-tone) 6px);
1272
+ background-size: 17px 100%;
1273
+ animation: vk-hatch-move 0.6s linear infinite;
1274
+ }
1275
+ @keyframes vk-hatch-move { to { background-position: 17px 0; } }
1276
+ .vk-spinner-wrap { display: inline-flex; align-items: center; gap: 0.5rem; }
1277
+ .vk-spinner { box-sizing: border-box; display: inline-block; border: 2px solid var(--border); animation: vk-spinner-sweep 0.8s steps(1, end) infinite; }
1278
+ @keyframes vk-spinner-sweep {
1279
+ 0% { border-color: var(--primary) var(--border) var(--border) var(--border); }
1280
+ 25% { border-color: var(--border) var(--primary) var(--border) var(--border); }
1281
+ 50% { border-color: var(--border) var(--border) var(--primary) var(--border); }
1282
+ 75% { border-color: var(--border) var(--border) var(--border) var(--primary); }
1283
+ }
1284
+ .vk-spinner-label { font-size: var(--text-sm); color: var(--muted-foreground); }
1285
+ .vk-skeleton {
1286
+ display: block;
1287
+ background: var(--card);
1288
+ background-image: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--foreground) 5%, transparent) 50%, transparent 100%);
1289
+ background-size: 200% 100%;
1290
+ animation: vk-shimmer 1.4s linear infinite;
1291
+ }
1292
+ .vk-skeleton-lines { display: grid; gap: 0.6rem; }
1293
+ @keyframes vk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
1294
+
1295
+ /* Empty state */
1296
+ .vk-empty { display: grid; justify-items: start; gap: 0.6rem; box-sizing: border-box; padding: 2rem 1.75rem; border: 1px dashed var(--dash-line); }
1297
+ .vk-empty-glyphs { display: flex; margin-bottom: 0.5rem; }
1298
+ .vk-empty-glyph-ghost { width: 2.125rem; height: 2.125rem; box-sizing: border-box; margin-left: -1px; border: 1px solid var(--border-subtle); }
1299
+ .vk-empty-title { margin: 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--foreground); }
1300
+ .vk-empty-text { margin: 0; max-width: 36rem; font-size: var(--text-sm); line-height: 1.6; color: var(--muted-foreground); }
1301
+ .vk-empty-actions { margin-top: 0.5rem; }
1302
+
1303
+ /* Steps */
1304
+ .vk-steps { display: flex; margin: 0; padding: 0; list-style: none; counter-reset: none; }
1305
+ .vk-step { position: relative; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; padding-right: 1rem; }
1306
+ .vk-step::before { content: ""; position: absolute; top: 14px; left: 36px; right: 8px; height: 1px; background: var(--border-subtle); }
1307
+ .vk-step:last-child::before { display: none; }
1308
+ .vk-step-complete::before { background: var(--primary); }
1309
+ .vk-step-marker {
1310
+ display: inline-flex;
1311
+ align-items: center;
1312
+ justify-content: center;
1313
+ box-sizing: border-box;
1314
+ width: 28px;
1315
+ height: 28px;
1316
+ font-family: var(--font-numeric);
1317
+ font-variant-numeric: tabular-nums;
1318
+ font-size: 0.75rem;
1319
+ font-weight: 500;
1320
+ color: var(--muted-subtle);
1321
+ border: 1px solid var(--border-subtle);
1322
+ background: var(--background);
1323
+ }
1324
+ .vk-step-current .vk-step-marker { color: var(--primary); border-color: var(--primary); }
1325
+ .vk-step-complete .vk-step-marker { color: var(--primary-foreground); background: var(--primary); border-color: var(--primary); }
1326
+ .vk-step-text { display: grid; gap: 0.15rem; }
1327
+ .vk-step-label { font-size: var(--text-sm); font-weight: 500; color: var(--muted-foreground); }
1328
+ .vk-step-current .vk-step-label { color: var(--foreground); font-weight: 600; }
1329
+ .vk-step-complete .vk-step-label { color: var(--foreground); }
1330
+ .vk-step-description { font-size: 0.8125rem; color: var(--muted-subtle); }
1331
+ .vk-steps-vertical { flex-direction: column; gap: 1.25rem; }
1332
+ .vk-steps-vertical .vk-step { flex-direction: row; gap: 0.85rem; }
1333
+ .vk-steps-vertical .vk-step::before { top: 34px; bottom: -14px; left: 14px; right: auto; width: 1px; height: auto; }
1334
+
1335
+ /* Kbd, description list, stat */
1336
+ .vk-kbd {
1337
+ display: inline-flex;
1338
+ align-items: center;
1339
+ justify-content: center;
1340
+ box-sizing: border-box;
1341
+ min-width: 1.4rem;
1342
+ height: 1.4rem;
1343
+ padding: 0 0.35rem;
1344
+ font-family: var(--font-numeric);
1345
+ font-size: 0.6875rem;
1346
+ font-weight: 500;
1347
+ line-height: 1;
1348
+ color: var(--foreground);
1349
+ background: var(--card);
1350
+ border: 1px solid var(--border);
1351
+ border-bottom-width: 2px;
1352
+ border-radius: var(--radius, 0);
1353
+ }
1354
+ .vk-dl { display: grid; margin: 0; }
1355
+ .vk-dl-row { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: 0.25rem 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-subtle); }
1356
+ .vk-dl-row:first-child { border-top: 1px solid var(--border-subtle); }
1357
+ .vk-dl dt { font-size: var(--text-sm); color: var(--muted-foreground); }
1358
+ .vk-dl dd { margin: 0; min-width: 0; font-size: var(--text-sm); color: var(--foreground); overflow-wrap: anywhere; }
1359
+ .vk-dl-stacked .vk-dl-row { grid-template-columns: 1fr; }
1360
+ .vk-dl-stacked dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
1361
+ @media (min-width: 40rem) { .vk-dl-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } .vk-dl-2 .vk-dl-row:nth-child(2) { border-top: 1px solid var(--border-subtle); } }
1362
+ @media (max-width: 40rem) { .vk-dl-row { grid-template-columns: 1fr; } }
1363
+ .vk-stat { display: grid; gap: 0.35rem; }
1364
+ .vk-stat-label { margin: 0; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
1365
+ .vk-stat-value { margin: 0; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--foreground); }
1366
+ .vk-stat-unit { margin-left: 0.25rem; font-size: 1rem; color: var(--muted-foreground); }
1367
+ .vk-stat-delta { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: var(--text-sm); font-weight: 500; }
1368
+ .vk-stat-success { color: var(--success); }
1369
+ .vk-stat-danger { color: var(--danger); }
1370
+ .vk-stat-neutral { color: var(--muted-foreground); }
1371
+ .vk-stat-context { font-family: var(--font-sans); font-weight: 400; color: var(--muted-subtle); }
1372
+
1373
+ /* File upload */
1374
+ .vk-upload { display: grid; gap: 0.75rem; }
1375
+ .vk-dropzone { display: flex; align-items: center; gap: 1rem; box-sizing: border-box; padding: 1.25rem 1.25rem; border: 1px dashed var(--muted-subtle); background: var(--card-fill); transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard); }
1376
+ .vk-dropzone-active { border-color: var(--primary); border-style: solid; background: var(--primary-tint); }
1377
+ .vk-dropzone-disabled { opacity: 0.6; }
1378
+ .vk-dropzone-icon { flex-shrink: 0; color: var(--muted-foreground); }
1379
+ .vk-dropzone-active .vk-dropzone-icon { color: var(--primary); }
1380
+ .vk-dropzone-text { display: grid; gap: 0.2rem; }
1381
+ .vk-dropzone-title { margin: 0; font-size: var(--text-sm); color: var(--foreground); }
1382
+ .vk-dropzone-hint { margin: 0; font-size: 0.8125rem; color: var(--muted-subtle); }
1383
+ .vk-dropzone-browse { padding: 0; font: inherit; background: none; border: 0; cursor: pointer; }
1384
+ .vk-upload-list { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border-subtle); }
1385
+ .vk-upload-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.75rem; padding: 0.3rem 0.35rem 0.3rem 0.85rem; font-size: var(--text-sm); }
1386
+ .vk-upload-item + .vk-upload-item { border-top: 1px solid var(--border-subtle); }
1387
+ .vk-upload-icon { color: var(--muted-foreground); }
1388
+ .vk-upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--foreground); }
1389
+ .vk-upload-size { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; color: var(--muted-subtle); }
1390
+ .vk-upload-item-error .vk-upload-icon, .vk-upload-error { color: var(--danger); }
1391
+
1392
+ /* Layout */
1393
+ .vk-layout-stack { display: flex; flex-direction: column; min-width: 0; }
1394
+ .vk-layout-inline { display: flex; min-width: 0; }
1395
+ .vk-layout-grid { display: grid; min-width: 0; }
1396
+ @media (max-width: 40rem) { .vk-layout-grid-fixed { grid-template-columns: 1fr !important; } }
1397
+ .vk-container { box-sizing: border-box; width: 100%; max-width: var(--content-max); margin-inline: auto; }
1398
+ .vk-container-prose { max-width: calc(var(--prose-max) + 2 * var(--section-gutter)); }
1399
+ .vk-container-padded { padding-inline: var(--section-gutter); }
1400
+
1401
+ .vk-page-header { display: grid; gap: 0.85rem; padding-block: 0.25rem 1.25rem; }
1402
+ .vk-page-header-divider { border-bottom: 1px solid var(--border-subtle); margin-bottom: 1.5rem; }
1403
+ .vk-page-header-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
1404
+ .vk-page-header-text { display: grid; gap: 0.35rem; min-width: 0; max-width: var(--prose-max); }
1405
+ .vk-page-header-eyebrow { margin: 0; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-foreground); }
1406
+ .vk-page-header-title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--foreground); text-wrap: balance; }
1407
+ .vk-page-header-description { margin: 0; font-size: var(--text-base); line-height: 1.6; color: var(--muted-foreground); }
1408
+ .vk-page-header-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
1409
+
1410
+ .vk-skip-link { position: absolute; left: 1rem; top: 0.75rem; z-index: var(--z-tooltip); padding: 0.6rem 1rem; font-size: var(--text-sm); font-weight: 600; color: var(--primary-foreground); background: var(--primary); text-decoration: none; transform: translateY(-200%); }
1411
+ .vk-skip-link:focus-visible { transform: none; outline: 2px solid var(--ring); outline-offset: 2px; }
1412
+ .vk-shell { position: relative; display: flex; flex-direction: column; min-height: 100vh; background: var(--background); color: var(--foreground); }
1413
+ .vk-shell-topbar {
1414
+ position: sticky;
1415
+ top: env(safe-area-inset-top, 0px);
1416
+ z-index: var(--z-sticky);
1417
+ display: flex;
1418
+ align-items: center;
1419
+ gap: 0.5rem;
1420
+ box-sizing: border-box;
1421
+ height: var(--topbar-height);
1422
+ padding-inline: 0.5rem 1rem;
1423
+ background: var(--background);
1424
+ border-bottom: 1px solid var(--border-subtle);
1425
+ }
1426
+ .vk-shell-brand { display: flex; align-items: center; min-width: 0; margin-left: 0.25rem; }
1427
+ .vk-shell-brand img { display: block; height: 18px; width: auto; }
1428
+ .vk-shell-search { flex: 1 1 auto; max-width: 28rem; margin-left: 1.5rem; }
1429
+ .vk-shell-search .vk-input { min-height: 36px; }
1430
+ .vk-shell-search .vk-search-icon, .vk-shell-search .vk-field-clear { top: 18px; }
1431
+ .vk-shell-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
1432
+ .vk-shell-body { position: relative; display: flex; flex: 1; min-height: 0; }
1433
+ .vk-shell-sidebar {
1434
+ flex: 0 0 var(--sidebar-width);
1435
+ display: flex;
1436
+ flex-direction: column;
1437
+ gap: 1rem;
1438
+ box-sizing: border-box;
1439
+ width: var(--sidebar-width);
1440
+ padding: 1rem 0.75rem;
1441
+ overflow-y: auto;
1442
+ background: var(--background);
1443
+ border-right: 1px solid var(--border-subtle);
1444
+ }
1445
+ .vk-shell-sidebar-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border-subtle); }
1446
+ .vk-shell-main { flex: 1; min-width: 0; box-sizing: border-box; padding: 1.75rem var(--section-gutter) 3rem; outline: none; overflow-y: auto; }
1447
+ .vk-shell-collapsed .vk-shell-sidebar { display: none; }
1448
+ .vk-shell-menu { display: none; }
1449
+ .vk-shell-scrim { position: absolute; inset: 0; z-index: calc(var(--z-dropdown) - 1); background: var(--overlay); }
1450
+ @media (max-width: 48rem) {
1451
+ .vk-shell-menu { display: inline-flex; }
1452
+ .vk-shell-collapse { display: none; }
1453
+ .vk-shell-search { display: none; }
1454
+ .vk-shell-sidebar, .vk-shell-collapsed .vk-shell-sidebar { position: absolute; top: 0; bottom: 0; left: 0; z-index: var(--z-dropdown); display: none; width: min(var(--sidebar-width), 85vw); }
1455
+ .vk-shell-mobile-open .vk-shell-sidebar { display: flex; }
1456
+ }
1457
+
1458
+ /* Charts */
1459
+ .vk-chart { display: grid; gap: 0.75rem; margin: 0; min-width: 0; }
1460
+ .vk-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
1461
+ .vk-chart-title { margin: 0; font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; color: var(--foreground); }
1462
+ .vk-chart-description { margin: 0.2rem 0 0; font-size: var(--text-sm); color: var(--muted-foreground); }
1463
+ .vk-chart-legend { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--muted-foreground); }
1464
+ .vk-chart-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
1465
+ .vk-chart-swatch { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; }
1466
+ .vk-chart-plot { position: relative; min-width: 0; outline: none; }
1467
+ .vk-chart-plot:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
1468
+ .vk-chart-svg { display: block; overflow: visible; }
1469
+ .vk-chart-grid { stroke: var(--border-subtle); stroke-width: 1; }
1470
+ .vk-chart-baseline { stroke: var(--border); stroke-width: 1; }
1471
+ .vk-chart-tick { font-family: var(--font-numeric); font-size: 11px; fill: var(--muted-subtle); font-variant-numeric: tabular-nums; }
1472
+ .vk-chart-direct { font-family: var(--font-sans); font-size: 12px; fill: var(--muted-foreground); }
1473
+ .vk-chart-hoverband { fill: var(--card-fill); }
1474
+ .vk-chart-crosshair { stroke: var(--muted-subtle); stroke-width: 1; stroke-dasharray: 3 3; }
1475
+ .vk-chart-point { stroke: var(--background); stroke-width: 2; }
1476
+ .vk-chart-tooltip {
1477
+ position: absolute;
1478
+ top: 0;
1479
+ z-index: var(--z-tooltip);
1480
+ box-sizing: border-box;
1481
+ min-width: 10rem;
1482
+ padding: 0.5rem 0.65rem;
1483
+ translate: -50% 0;
1484
+ background: var(--surface-elevated);
1485
+ border: 1px solid var(--border);
1486
+ pointer-events: none;
1487
+ }
1488
+ .vk-chart-tooltip-title { margin: 0 0 0.3rem; font-size: 0.75rem; font-weight: 600; color: var(--foreground); }
1489
+ .vk-chart-tooltip-row { display: flex; align-items: center; gap: 0.45rem; margin: 0.15rem 0 0; font-size: 0.75rem; color: var(--muted-foreground); }
1490
+ .vk-chart-tooltip-label { flex: 1; }
1491
+ .vk-chart-tooltip-value { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; color: var(--foreground); }
1492
+ .vk-chart-table { margin-top: 0; }
1493
+ .vk-sparkline { display: inline-block; vertical-align: middle; overflow: visible; }
1494
+
1495
+ /* Button: block and loading */
1496
+ .vk-btn-block { width: 100%; justify-content: center; }
1497
+ .vk-btn-block .vk-btn-label { justify-content: center; }
1498
+ .vk-btn-label { gap: 0.55rem; }
1499
+ .vk-btn-spinner { width: 12px; height: 12px; border-width: 2px; border-color: currentColor transparent transparent transparent; animation: vk-spin 0.7s linear infinite; }
1500
+ @keyframes vk-spin { to { transform: rotate(360deg); } }
1501
+ .vk-btn-loading { cursor: progress; }
1502
+
1503
+ /* Input add-ons, password, stepper, counter */
1504
+ .vk-affix { display: grid; gap: 0.35rem; min-width: 0; }
1505
+ .vk-affix-row {
1506
+ display: flex;
1507
+ align-items: stretch;
1508
+ box-sizing: border-box;
1509
+ min-width: 0;
1510
+ min-height: var(--control-height, 44px);
1511
+ background: var(--card);
1512
+ border: 1px solid var(--input-border);
1513
+ border-radius: var(--radius, 0);
1514
+ }
1515
+ .vk-affix-row > .vk-input { flex: 1; min-width: 0; min-height: 0; border: 0; background: transparent; }
1516
+ .vk-affix-row > .vk-input:focus-visible { outline: none; }
1517
+ .vk-affix-row:focus-within { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--primary); }
1518
+ .vk-affix-row:has(.vk-input[aria-invalid="true"]) { border-color: var(--primary); }
1519
+ .vk-affix-row:has(.vk-input:disabled) { background: transparent; border-style: dashed; }
1520
+ .vk-affix-addon { display: flex; align-items: center; flex-shrink: 0; padding: 0 0.75rem; font-size: var(--text-sm); white-space: nowrap; color: var(--muted-foreground); }
1521
+ .vk-affix-prefix { border-right: 1px solid var(--border-subtle); }
1522
+ .vk-affix-suffix { border-left: 1px solid var(--border-subtle); }
1523
+ .vk-affix-suffix:has(.vk-affix-button), .vk-affix-suffix:has(.vk-stepper) { padding: 0; }
1524
+ .vk-affix-button {
1525
+ align-self: stretch;
1526
+ padding: 0 0.9rem;
1527
+ font: inherit;
1528
+ font-size: 0.6875rem;
1529
+ font-weight: 600;
1530
+ letter-spacing: 0.12em;
1531
+ text-transform: uppercase;
1532
+ color: var(--muted-foreground);
1533
+ background: transparent;
1534
+ border: 0;
1535
+ cursor: pointer;
1536
+ }
1537
+ .vk-affix-button:hover { color: var(--foreground); background: var(--primary-tint); }
1538
+ .vk-affix-button:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
1539
+ .vk-stepper { display: flex; align-items: stretch; align-self: stretch; }
1540
+ .vk-stepper-unit { display: flex; align-items: center; padding: 0 0.6rem; font-size: var(--text-sm); color: var(--muted-foreground); }
1541
+ .vk-stepper-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; padding: 0; color: var(--muted-foreground); background: transparent; border: 0; border-left: 1px solid var(--border-subtle); cursor: pointer; }
1542
+ .vk-stepper-btn:hover:not(:disabled) { color: var(--foreground); background: var(--primary-tint); }
1543
+ .vk-stepper-btn:disabled { color: var(--muted-subtle); cursor: not-allowed; opacity: 0.5; }
1544
+ .vk-number .vk-input { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; }
1545
+ .vk-char-count { justify-self: end; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: 0.6875rem; color: var(--muted-subtle); }
1546
+ .vk-char-count-over { color: var(--danger); }
1547
+ .vk-inline-error { display: block; margin-top: 0.4rem; }
1548
+
1549
+ /* Slider (Radix Slider: the track is its root, the fill its range; Radix positions the thumb's wrapper) */
1550
+ .vk-slider { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; align-items: center; min-width: 0; }
1551
+ .vk-slider-value { grid-column: 2; grid-row: 1; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: var(--text-sm); color: var(--foreground); }
1552
+ /* A flex box, so the absolutely positioned thumb wrapper is centred vertically. */
1553
+ .vk-slider-track { grid-column: 1; grid-row: 1; position: relative; display: flex; align-items: center; height: 28px; cursor: pointer; touch-action: none; }
1554
+ .vk-slider-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; translate: 0 -50%; background: var(--card); border: 1px solid var(--input-border); box-sizing: border-box; }
1555
+ .vk-slider-fill { position: absolute; left: 0; top: 50%; height: 4px; translate: 0 -50%; background: var(--primary); }
1556
+ .vk-slider-thumb { display: block; width: 18px; height: 18px; box-sizing: border-box; background: var(--primary); border: 2px solid var(--background); cursor: grab; }
1557
+ .vk-slider-thumb:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1558
+ .vk-slider-thumb:active { cursor: grabbing; }
1559
+ .vk-slider-track[data-disabled] { cursor: not-allowed; }
1560
+ .vk-slider-fill[data-disabled], .vk-slider-thumb[data-disabled] { background: var(--muted-subtle); cursor: not-allowed; }
1561
+ .vk-slider-limits { grid-column: 1; display: flex; justify-content: space-between; font-family: var(--font-numeric); font-size: 0.6875rem; color: var(--muted-subtle); }
1562
+ /* One-time code */
1563
+ .vk-otp { display: flex; flex-wrap: wrap; gap: 0.5rem; }
1564
+ .vk-otp-box { width: 44px; padding: 0; text-align: center; font-family: var(--font-numeric); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
1565
+
1566
+ /* Error summary */
1567
+ .vk-error-summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
1568
+ .vk-error-summary-list { margin: 0.25rem 0 0; padding-left: 1.1rem; font-size: var(--text-sm); line-height: 1.7; }
1569
+ .vk-error-summary-list .vk-link { color: var(--foreground); }
1570
+
1571
+ /* Time and typed date */
1572
+ .vk-date-input { padding-right: 2.75rem; }
1573
+ .vk-date-button { right: 0.35rem; }
1574
+ .vk-time-option { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; }
1575
+
1576
+ /* Open field (the root's data-state mirrors the Radix Popover) */
1577
+ .vk-timepicker[data-state="open"] .vk-combobox-input { border-color: var(--primary); }
1578
+ .vk-timepicker[data-state="open"] .vk-select-icon { rotate: 180deg; }
1579
+
1580
+ /* The list of times (Radix Popover content): placed by its popper wrapper, which takes the z-index from here, as wide as the field */
1581
+ .vk-select-menu.vk-time-menu {
1582
+ position: relative;
1583
+ top: auto;
1584
+ left: auto;
1585
+ right: auto;
1586
+ z-index: var(--z-popover);
1587
+ width: var(--radix-popper-anchor-width);
1588
+ max-height: min(16rem, var(--radix-popper-available-height, 16rem));
1589
+ }
1590
+ .vk-time-menu[data-state="open"] { animation: vk-time-menu-in var(--motion-normal) var(--ease-standard); }
1591
+ .vk-time-menu[data-state="closed"] { animation: vk-time-menu-out var(--motion-normal) var(--ease-standard) forwards; pointer-events: none; }
1592
+ @keyframes vk-time-menu-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
1593
+ @keyframes vk-time-menu-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(0.5rem); } }
1594
+ @media (prefers-reduced-motion: reduce) {
1595
+ .vk-time-menu[data-state] { animation: none; }
1596
+ }
1597
+ /* Menus (Radix DropdownMenu and ContextMenu): the panel is portalled and placed by Radix's popper
1598
+ wrapper; state comes from Radix's data attributes (data-highlighted, data-disabled, data-state, data-side). */
1599
+ .vk-menu[data-side] {
1600
+ position: relative;
1601
+ inset: auto;
1602
+ z-index: var(--z-popover);
1603
+ max-height: var(--radix-popper-available-height);
1604
+ overflow-y: auto;
1605
+ outline: none;
1606
+ }
1607
+ .vk-menu[data-state="open"] { animation: vk-menu-in var(--motion-normal) var(--ease-standard); }
1608
+ @keyframes vk-menu-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
1609
+ .vk-menu .vk-menu-item { user-select: none; }
1610
+ .vk-menu .vk-menu-item[data-highlighted],
1611
+ .vk-menu .vk-menu-item[data-state="open"] { background: var(--primary-tint); }
1612
+ .vk-menu .vk-menu-item-danger[data-highlighted] { background: var(--danger-tint); }
1613
+ .vk-menu .vk-menu-item[data-disabled] { color: var(--muted-subtle); cursor: not-allowed; background: transparent; }
1614
+ .vk-menu .vk-menu-item[data-disabled] .vk-menu-item-icon { color: var(--muted-subtle); }
1615
+
1616
+ /* Checkable items and submenus */
1617
+ .vk-menu-check { display: inline-flex; align-items: center; justify-content: center; color: var(--primary); }
1618
+ .vk-menu-indicator { display: inline-flex; }
1619
+ .vk-menu-dot { display: block; opacity: 1; }
1620
+ .vk-menu-item[data-disabled] .vk-menu-dot { background: var(--muted-subtle); }
1621
+ .vk-menu-sub-icon { color: var(--muted-subtle); }
1622
+
1623
+ @media (forced-colors: active) {
1624
+ .vk-menu .vk-menu-item[data-highlighted],
1625
+ .vk-menu .vk-menu-item[data-state="open"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
1626
+ .vk-menu .vk-menu-item[data-highlighted] .vk-menu-item-icon,
1627
+ .vk-menu .vk-menu-item[data-highlighted] .vk-menu-shortcut { color: HighlightText; }
1628
+ .vk-menu .vk-menu-item[data-disabled] { color: GrayText; }
1629
+ }
1630
+
1631
+ @media (prefers-reduced-motion: reduce) {
1632
+ .vk-menu[data-state="open"] { animation: none; }
1633
+ }
1634
+ /* List */
1635
+ .vk-list { margin: 0; padding: 0; list-style: none; }
1636
+ .vk-list-divided > .vk-list-item + .vk-list-item { border-top: 1px solid var(--border-subtle); }
1637
+ .vk-list-bordered { border: 1px solid var(--border-subtle); }
1638
+ .vk-list-bordered .vk-list-main { padding-inline: 1rem; }
1639
+ .vk-list-item { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
1640
+ .vk-list-main { flex: 1; display: flex; align-items: center; gap: 0.85rem; min-width: 0; padding: 0.75rem 0.25rem; font: inherit; text-align: left; color: inherit; text-decoration: none; background: none; border: 0; }
1641
+ .vk-list-interactive { cursor: pointer; }
1642
+ .vk-list-interactive:hover { background: var(--card-fill); }
1643
+ .vk-list-interactive:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
1644
+ .vk-list-item-selected .vk-list-main { background: var(--primary-tint); }
1645
+ .vk-list-leading { display: inline-flex; flex-shrink: 0; color: var(--muted-foreground); }
1646
+ .vk-list-text { display: grid; gap: 0.1rem; flex: 1; min-width: 0; }
1647
+ .vk-list-title { font-size: var(--text-sm); font-weight: 500; color: var(--foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1648
+ .vk-list-description { font-size: 0.8125rem; color: var(--muted-foreground); }
1649
+ .vk-list-meta { flex-shrink: 0; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: 0.75rem; color: var(--muted-subtle); }
1650
+ .vk-list-trailing { display: inline-flex; align-items: center; gap: 0.25rem; flex-shrink: 0; padding-right: 0.25rem; }
1651
+
1652
+ /* Avatar group */
1653
+ .vk-avatar-group { display: inline-flex; align-items: center; }
1654
+ .vk-avatar-group-item { display: inline-flex; margin-left: -6px; }
1655
+ .vk-avatar-group-item:first-child { margin-left: 0; }
1656
+ .vk-avatar-group-item .vk-avatar { outline: 2px solid var(--background); }
1657
+ .vk-avatar-more { background: var(--card); color: var(--muted-foreground); font-family: var(--font-numeric); }
1658
+
1659
+ /* Timeline */
1660
+ .vk-timeline { margin: 0; padding: 0; list-style: none; }
1661
+ .vk-timeline-item { --vk-status: var(--muted-subtle); position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.85rem; padding-bottom: 1.25rem; }
1662
+ .vk-timeline-item:last-child { padding-bottom: 0; }
1663
+ .vk-timeline-item::before { content: ""; position: absolute; left: 9.5px; top: 22px; bottom: 0; width: 1px; background: var(--border-subtle); }
1664
+ .vk-timeline-item:last-child::before { display: none; }
1665
+ .vk-timeline-marker { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 20px; height: 20px; color: var(--vk-status); background: var(--background); border: 1px solid var(--vk-status); }
1666
+ .vk-timeline-success { --vk-status: var(--success); }
1667
+ .vk-timeline-info { --vk-status: var(--info); }
1668
+ .vk-timeline-warning { --vk-status: var(--warning); }
1669
+ .vk-timeline-danger { --vk-status: var(--danger); }
1670
+ .vk-timeline-primary { --vk-status: var(--primary); }
1671
+ .vk-timeline-body { display: grid; gap: 0.15rem; padding-top: 0.05rem; }
1672
+ .vk-timeline-title { margin: 0; font-size: var(--text-sm); font-weight: 600; color: var(--foreground); }
1673
+ .vk-timeline-description { font-size: var(--text-sm); line-height: 1.55; color: var(--muted-foreground); }
1674
+ .vk-timeline-time { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; font-size: 0.75rem; color: var(--muted-subtle); }
1675
+
1676
+ /* Tree */
1677
+ .vk-tree, .vk-tree-group { margin: 0; padding: 0; list-style: none; }
1678
+ .vk-tree-item { outline: none; }
1679
+ .vk-tree-row { display: flex; align-items: center; gap: 0.4rem; min-height: 32px; padding-right: 0.5rem; font-size: var(--text-sm); color: var(--foreground); cursor: pointer; }
1680
+ .vk-tree-row:hover { background: var(--card-fill); }
1681
+ .vk-tree-item:focus-visible > .vk-tree-row { outline: 2px solid var(--ring); outline-offset: -2px; }
1682
+ .vk-tree-row-selected, .vk-tree-row-selected:hover { background: var(--primary-tint); }
1683
+ .vk-tree-caret { flex-shrink: 0; width: 14px; color: var(--muted-subtle); transition: rotate var(--motion-fast) var(--ease-standard); }
1684
+ .vk-tree-caret-open { rotate: 90deg; }
1685
+ .vk-tree-icon { color: var(--muted-foreground); }
1686
+ .vk-tree-row-selected .vk-tree-icon { color: var(--primary); }
1687
+ .vk-tree-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1688
+ .vk-tree-meta { font-family: var(--font-numeric); font-size: 0.75rem; color: var(--muted-subtle); }
1689
+
1690
+ /* Table extras */
1691
+ .vk-row-toggle { width: 32px; height: 32px; }
1692
+ .vk-tr-open { background: var(--card-fill); }
1693
+ .vk-tr-expanded td { padding: 0.5rem 1rem 1.25rem 3.25rem; background: var(--card-fill); }
1694
+ .vk-tr-loading td { padding-block: 1rem; }
1695
+ .vk-table-paged { display: grid; gap: 1rem; }
1696
+
1697
+ /* Typography */
1698
+ .vk-heading { margin: 0; color: var(--foreground); text-wrap: balance; }
1699
+ .vk-text { margin: 0; color: var(--foreground); }
1700
+ .vk-tone-muted { color: var(--muted-foreground); }
1701
+ .vk-tone-subtle { color: var(--muted-subtle); }
1702
+ .vk-tone-primary { color: var(--primary); }
1703
+ .vk-tone-danger { color: var(--danger); }
1704
+ .vk-tone-success { color: var(--success); }
1705
+ .vk-code { padding: 0.1em 0.35em; font-family: var(--font-mono); font-size: 0.875em; color: var(--foreground); background: var(--card); border: 1px solid var(--border-subtle); }
1706
+ .vk-prose { max-width: var(--prose-max); font-size: var(--text-base); line-height: 1.7; color: var(--muted-foreground); }
1707
+ .vk-prose > :first-child { margin-top: 0; }
1708
+ .vk-prose h1, .vk-prose h2, .vk-prose h3, .vk-prose h4 { margin: 2em 0 0.6em; font-family: var(--font-display); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: var(--foreground); text-wrap: balance; }
1709
+ .vk-prose h1 { font-size: 2rem; }
1710
+ .vk-prose h2 { font-size: 1.5rem; }
1711
+ .vk-prose h3 { font-size: 1.15rem; }
1712
+ .vk-prose h4 { font-size: 1rem; }
1713
+ .vk-prose p, .vk-prose ul, .vk-prose ol, .vk-prose blockquote, .vk-prose pre, .vk-prose table, .vk-prose figure { margin: 0 0 1.15em; }
1714
+ .vk-prose strong { color: var(--foreground); font-weight: 600; }
1715
+ .vk-prose a { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--primary-line); text-underline-offset: 0.2em; }
1716
+ .vk-prose a:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
1717
+ .vk-prose ul, .vk-prose ol { padding-left: 1.25rem; }
1718
+ .vk-prose li + li { margin-top: 0.35em; }
1719
+ .vk-prose li::marker { color: var(--primary); }
1720
+ .vk-prose blockquote { padding-left: 1rem; color: var(--foreground); border-left: 2px solid var(--primary); }
1721
+ .vk-prose code { padding: 0.1em 0.35em; font-family: var(--font-mono); font-size: 0.875em; color: var(--foreground); background: var(--card); border: 1px solid var(--border-subtle); }
1722
+ .vk-prose pre { overflow-x: auto; padding: 1rem; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--foreground); background: var(--card); border: 1px solid var(--border-subtle); }
1723
+ .vk-prose pre code { padding: 0; background: none; border: 0; font-size: inherit; }
1724
+ .vk-prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--border-subtle); }
1725
+ .vk-prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
1726
+ .vk-prose th, .vk-prose td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border-subtle); }
1727
+ .vk-prose th { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); border-bottom-color: var(--border); }
1728
+ .vk-prose img { max-width: 100%; height: auto; }
1729
+
1730
+ /* Code block */
1731
+ .vk-codeblock { margin: 0; min-width: 0; border: 1px solid var(--border-subtle); background: var(--card); }
1732
+ .vk-codeblock-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.35rem 0.35rem 0.35rem 0.85rem; border-bottom: 1px solid var(--border-subtle); }
1733
+ .vk-codeblock-title { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
1734
+ .vk-codeblock-copy { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 30px; padding: 0 0.6rem; font: inherit; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); background: transparent; border: 0; cursor: pointer; }
1735
+ .vk-codeblock-copy:hover { color: var(--foreground); background: var(--primary-tint); }
1736
+ .vk-codeblock-copy:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
1737
+ .vk-codeblock-pre { margin: 0; overflow-x: auto; padding: 0.9rem 1rem; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--foreground); tab-size: 2; }
1738
+ .vk-codeblock-pre:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
1739
+ .vk-codeblock-numbered code { counter-reset: vk-line; }
1740
+ .vk-code-line { display: block; }
1741
+ .vk-code-line::before { counter-increment: vk-line; content: counter(vk-line); display: inline-block; width: 2ch; margin-right: 1.25rem; text-align: right; color: var(--muted-subtle); user-select: none; }
1742
+
1743
+ /* Figure */
1744
+ .vk-figure { margin: 0; min-width: 0; }
1745
+ .vk-figure-media { max-width: 100%; overflow: hidden; background: var(--media-placeholder); border: 1px solid var(--border-subtle); }
1746
+ .vk-figure-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
1747
+ .vk-figure-caption { margin-top: 0.5rem; font-size: 0.8125rem; line-height: 1.5; color: var(--muted-foreground); }
1748
+
1749
+ /* Command palette */
1750
+ .vk-overlay:has(.vk-cmd) { place-items: start center; padding-top: 12vh; }
1751
+ .vk-cmd .vk-dialog-header { display: none; }
1752
+ .vk-cmd .vk-dialog-body { padding: 0; }
1753
+ .vk-cmd-search { position: relative; border-bottom: 1px solid var(--border-subtle); }
1754
+ .vk-cmd-search .vk-input { border: 0; background: transparent; min-height: 52px; }
1755
+ .vk-cmd-search .vk-input:focus-visible { outline: none; }
1756
+ .vk-cmd-search .vk-search-icon { top: 26px; }
1757
+ .vk-cmd-list { max-height: min(22rem, 50vh); overflow-y: auto; padding: 0.25rem 0; }
1758
+ .vk-cmd-item { cursor: pointer; }
1759
+ .vk-cmd-item-active { background: var(--primary-tint); }
1760
+ .vk-cmd-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; padding: 0.55rem 0.85rem; font-size: 0.75rem; color: var(--muted-subtle); border-top: 1px solid var(--border-subtle); }
1761
+
1762
+ /* Windows high-contrast (forced colors): restore state that relied on fills */
1763
+ @media (forced-colors: active) {
1764
+ .vk-choice .vk-choice-box:is([data-state="checked"], [data-state="indeterminate"]),
1765
+ .vk-choice-input:checked + .vk-choice-box,
1766
+ .vk-switch .vk-switch-track[data-state="checked"],
1767
+ .vk-multi-option[aria-selected="true"] .vk-choice-box { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
1768
+ .vk-choice-dot, .vk-menu-dot { forced-color-adjust: none; background: Highlight; }
1769
+ .vk-switch-thumb { forced-color-adjust: none; background: CanvasText; }
1770
+ .vk-switch-thumb[data-state="checked"] { background: HighlightText; }
1771
+ .vk-tab[aria-selected="true"]::after, .vk-slider-fill, .vk-progress-fill, .vk-slider-thumb { forced-color-adjust: none; background: Highlight; }
1772
+ .vk-progress-track[data-state="indeterminate"] { forced-color-adjust: none; background: repeating-linear-gradient(-45deg, Canvas, Canvas 4px, Highlight 4px, Highlight 6px); }
1773
+ .vk-select-option-active, .vk-menu-item:focus, .vk-cmd-item-active, .vk-tree-row-selected, .vk-navlist-item-active,
1774
+ .vk-list-item-selected .vk-list-main, .vk-table .vk-tr-selected, .vk-day-selected, .vk-segment[aria-checked="true"], .vk-page[aria-current="page"],
1775
+ .vk-tile-active { forced-color-adjust: none; background: Highlight; color: HighlightText; }
1776
+ .vk-day-in-range { forced-color-adjust: none; background: transparent; outline: 1px dashed Highlight; outline-offset: -3px; }
1777
+ .vk-spinner { border-color: CanvasText; border-top-color: Highlight; }
1778
+ .vk-skeleton { border: 1px solid CanvasText; }
1779
+ .vk-chart-swatch { forced-color-adjust: none; }
1780
+ .vk-tooltip { border: 1px solid CanvasText; }
1781
+ .vk-day-today::after { background: CanvasText; }
1782
+ }
1783
+
1784
+ @media (prefers-reduced-motion: reduce) {
1785
+ .vk-btn-spinner { animation-duration: 2.4s; }
1786
+ .vk-tree-caret { transition: none; }
1787
+ .vk-toast, .vk-overlay, .vk-dialog, .vk-progress-track[data-state="indeterminate"], .vk-spinner, .vk-skeleton { animation: none; }
1788
+ .vk-accordion-icon, .vk-progress-fill, .vk-dropzone { transition: none; }
1789
+ .vk-select-icon, .vk-btn, .vk-icon-btn, .vk-link, .vk-choice-box, .vk-switch-track, .vk-switch-thumb, .vk-media-card-img, .vk-media-card-link, .vk-media-card-arrow, .vk-tile { transition: none; }
1790
+ .vk-media-card-wrap:hover .vk-media-card-img,
1791
+ .vk-media-card-wrap:focus-visible .vk-media-card-img,
1792
+ .vk-media-card-wrap:hover .vk-media-card-arrow,
1793
+ .vk-media-card-wrap:focus-visible .vk-media-card-arrow { transform: none; }
1794
+ .vk-glyph { animation: none; border-color: var(--border); }
1795
+ .vk-section-heading .vk-glyph { border-color: var(--glyph-line); }
1796
+ .vk-glyph-char { animation: none; filter: none; }
1797
+ }
1798
+