@still-void/ui 3.5.0 → 3.6.0

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 (307) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +36 -0
  3. package/dist/css/app-shell.css +129 -0
  4. package/dist/css/base.css +27 -0
  5. package/dist/css/content.css +726 -0
  6. package/dist/css/controls.css +383 -0
  7. package/dist/css/data.css +190 -0
  8. package/dist/css/forms.css +318 -0
  9. package/dist/css/motion.css +49 -0
  10. package/dist/css/overlays.css +488 -0
  11. package/dist/css/toast.css +170 -0
  12. package/dist/react/_modules/behaviors/themeManager.js +10 -0
  13. package/dist/react/_modules/behaviors/themeManager.js.map +1 -0
  14. package/dist/react/_modules/components/ui/alert.js +14 -0
  15. package/dist/react/_modules/components/ui/alert.js.map +1 -0
  16. package/dist/react/_modules/components/ui/badge.js +9 -0
  17. package/dist/react/_modules/components/ui/badge.js.map +1 -0
  18. package/dist/react/_modules/components/ui/button.js +9 -0
  19. package/dist/react/_modules/components/ui/button.js.map +1 -0
  20. package/dist/react/_modules/components/ui/card.js +19 -0
  21. package/dist/react/_modules/components/ui/card.js.map +1 -0
  22. package/dist/react/_modules/components/ui/chart.js +18 -0
  23. package/dist/react/_modules/components/ui/chart.js.map +1 -0
  24. package/dist/react/_modules/components/ui/checkbox.js +8 -0
  25. package/dist/react/_modules/components/ui/checkbox.js.map +1 -0
  26. package/dist/react/_modules/components/ui/field.js +9 -0
  27. package/dist/react/_modules/components/ui/field.js.map +1 -0
  28. package/dist/react/_modules/components/ui/file-input.js +10 -0
  29. package/dist/react/_modules/components/ui/file-input.js.map +1 -0
  30. package/dist/react/_modules/components/ui/icon-set.js +11 -0
  31. package/dist/react/_modules/components/ui/icon-set.js.map +1 -0
  32. package/dist/react/_modules/components/ui/icon.js +9 -0
  33. package/dist/react/_modules/components/ui/icon.js.map +1 -0
  34. package/dist/react/_modules/components/ui/input.js +10 -0
  35. package/dist/react/_modules/components/ui/input.js.map +1 -0
  36. package/dist/react/_modules/components/ui/native-select.js +10 -0
  37. package/dist/react/_modules/components/ui/native-select.js.map +1 -0
  38. package/dist/react/_modules/components/ui/pagination.js +23 -0
  39. package/dist/react/_modules/components/ui/pagination.js.map +1 -0
  40. package/dist/react/_modules/components/ui/progress.js +8 -0
  41. package/dist/react/_modules/components/ui/progress.js.map +1 -0
  42. package/dist/react/_modules/components/ui/radio-group.js +12 -0
  43. package/dist/react/_modules/components/ui/radio-group.js.map +1 -0
  44. package/dist/react/_modules/components/ui/separator.js +8 -0
  45. package/dist/react/_modules/components/ui/separator.js.map +1 -0
  46. package/dist/react/_modules/components/ui/slot.js +7 -0
  47. package/dist/react/_modules/components/ui/slot.js.map +1 -0
  48. package/dist/react/_modules/components/ui/table.js +23 -0
  49. package/dist/react/_modules/components/ui/table.js.map +1 -0
  50. package/dist/react/_modules/components/ui/text-link.js +10 -0
  51. package/dist/react/_modules/components/ui/text-link.js.map +1 -0
  52. package/dist/react/_modules/components/ui/textarea.js +10 -0
  53. package/dist/react/_modules/components/ui/textarea.js.map +1 -0
  54. package/dist/react/_modules/lib/safe-href.js +9 -0
  55. package/dist/react/_modules/lib/safe-href.js.map +1 -0
  56. package/dist/react/_modules/lib/utils.js +7 -0
  57. package/dist/react/_modules/lib/utils.js.map +1 -0
  58. package/dist/react/_modules/react/components/Article.js +17 -0
  59. package/dist/react/_modules/react/components/Article.js.map +1 -0
  60. package/dist/react/_modules/react/components/Content.js +30 -0
  61. package/dist/react/_modules/react/components/Content.js.map +1 -0
  62. package/dist/react/_modules/react/components/PageHeader.js +8 -0
  63. package/dist/react/_modules/react/components/PageHeader.js.map +1 -0
  64. package/dist/react/_modules/react/components/Shell.js +17 -0
  65. package/dist/react/_modules/react/components/Shell.js.map +1 -0
  66. package/dist/react/_modules/react/components/ThemeScript.js +9 -0
  67. package/dist/react/_modules/react/components/ThemeScript.js.map +1 -0
  68. package/dist/react/_modules/recipes/article.js +34 -0
  69. package/dist/react/_modules/recipes/article.js.map +1 -0
  70. package/dist/react/_modules/recipes/content.js +34 -0
  71. package/dist/react/_modules/recipes/content.js.map +1 -0
  72. package/dist/react/_modules/recipes/cx.js +7 -0
  73. package/dist/react/_modules/recipes/cx.js.map +1 -0
  74. package/dist/react/_modules/recipes/field.js +12 -0
  75. package/dist/react/_modules/recipes/field.js.map +1 -0
  76. package/dist/react/_modules/recipes/shell.js +18 -0
  77. package/dist/react/_modules/recipes/shell.js.map +1 -0
  78. package/dist/react/_modules/recipes/table.js +9 -0
  79. package/dist/react/_modules/recipes/table.js.map +1 -0
  80. package/dist/react/_modules/tokens/categories.js +12 -0
  81. package/dist/react/_modules/tokens/categories.js.map +1 -0
  82. package/dist/react/_modules/tokens/colors.js +23 -0
  83. package/dist/react/_modules/tokens/colors.js.map +1 -0
  84. package/dist/react/_modules/tokens/motion.js +9 -0
  85. package/dist/react/_modules/tokens/motion.js.map +1 -0
  86. package/dist/react/_modules/tokens/spacing.js +9 -0
  87. package/dist/react/_modules/tokens/spacing.js.map +1 -0
  88. package/dist/react/_modules/tokens/typography.js +15 -0
  89. package/dist/react/_modules/tokens/typography.js.map +1 -0
  90. package/dist/react/_modules/tokens/zIndex.js +7 -0
  91. package/dist/react/_modules/tokens/zIndex.js.map +1 -0
  92. package/dist/react/chunk-2QRW4J2C.js +29 -0
  93. package/dist/react/chunk-2QRW4J2C.js.map +1 -0
  94. package/dist/react/chunk-3BWBG3BR.js +82 -0
  95. package/dist/react/chunk-3BWBG3BR.js.map +1 -0
  96. package/dist/react/chunk-563PKHIJ.js +48 -0
  97. package/dist/react/chunk-563PKHIJ.js.map +1 -0
  98. package/dist/react/chunk-5RPXXOD7.js +50 -0
  99. package/dist/react/chunk-5RPXXOD7.js.map +1 -0
  100. package/dist/react/chunk-6PF2SFKH.js +54 -0
  101. package/dist/react/chunk-6PF2SFKH.js.map +1 -0
  102. package/dist/react/chunk-7JIE3YAY.js +109 -0
  103. package/dist/react/chunk-7JIE3YAY.js.map +1 -0
  104. package/dist/react/chunk-7ZVSFBDK.js +26 -0
  105. package/dist/react/chunk-7ZVSFBDK.js.map +1 -0
  106. package/dist/react/chunk-AVAJOAL5.js +10 -0
  107. package/dist/react/chunk-AVAJOAL5.js.map +1 -0
  108. package/dist/react/chunk-BXKXO6FU.js +34 -0
  109. package/dist/react/chunk-BXKXO6FU.js.map +1 -0
  110. package/dist/react/chunk-CN3PNEZL.js +80 -0
  111. package/dist/react/chunk-CN3PNEZL.js.map +1 -0
  112. package/dist/react/chunk-EHJDOUXR.js +144 -0
  113. package/dist/react/chunk-EHJDOUXR.js.map +1 -0
  114. package/dist/react/chunk-FX2E23UV.js +28 -0
  115. package/dist/react/chunk-FX2E23UV.js.map +1 -0
  116. package/dist/react/chunk-GYGMM6RW.js +20 -0
  117. package/dist/react/chunk-GYGMM6RW.js.map +1 -0
  118. package/dist/react/chunk-H7DEOO3V.js +29 -0
  119. package/dist/react/chunk-H7DEOO3V.js.map +1 -0
  120. package/dist/react/chunk-HD7O5FNH.js +39 -0
  121. package/dist/react/chunk-HD7O5FNH.js.map +1 -0
  122. package/dist/react/chunk-HYLCMS2U.js +28 -0
  123. package/dist/react/chunk-HYLCMS2U.js.map +1 -0
  124. package/dist/react/chunk-HYXG2WF4.js +73 -0
  125. package/dist/react/chunk-HYXG2WF4.js.map +1 -0
  126. package/dist/react/chunk-KQK7SZ3K.js +52 -0
  127. package/dist/react/chunk-KQK7SZ3K.js.map +1 -0
  128. package/dist/react/chunk-KQZBK3XX.js +24 -0
  129. package/dist/react/chunk-KQZBK3XX.js.map +1 -0
  130. package/dist/react/chunk-L6WPFLSD.js +39 -0
  131. package/dist/react/chunk-L6WPFLSD.js.map +1 -0
  132. package/dist/react/chunk-LOVNG6RF.js +9 -0
  133. package/dist/react/chunk-LOVNG6RF.js.map +1 -0
  134. package/dist/react/chunk-M5FFVQKK.js +41 -0
  135. package/dist/react/chunk-M5FFVQKK.js.map +1 -0
  136. package/dist/react/chunk-MZEFPODP.js +77 -0
  137. package/dist/react/chunk-MZEFPODP.js.map +1 -0
  138. package/dist/react/chunk-NJQN37EG.js +37 -0
  139. package/dist/react/chunk-NJQN37EG.js.map +1 -0
  140. package/dist/react/chunk-OEFJMV7G.js +144 -0
  141. package/dist/react/chunk-OEFJMV7G.js.map +1 -0
  142. package/dist/react/chunk-P4M4LEI2.js +62 -0
  143. package/dist/react/chunk-P4M4LEI2.js.map +1 -0
  144. package/dist/react/chunk-PGDHKADW.js +60 -0
  145. package/dist/react/chunk-PGDHKADW.js.map +1 -0
  146. package/dist/react/chunk-QTVPXQ43.js +29 -0
  147. package/dist/react/chunk-QTVPXQ43.js.map +1 -0
  148. package/dist/react/chunk-QVOZHMVF.js +14 -0
  149. package/dist/react/chunk-QVOZHMVF.js.map +1 -0
  150. package/dist/react/chunk-SJ2YK4NJ.js +27 -0
  151. package/dist/react/chunk-SJ2YK4NJ.js.map +1 -0
  152. package/dist/react/chunk-SSMGCYPH.js +79 -0
  153. package/dist/react/chunk-SSMGCYPH.js.map +1 -0
  154. package/dist/react/chunk-SUT4G3TE.js +29 -0
  155. package/dist/react/chunk-SUT4G3TE.js.map +1 -0
  156. package/dist/react/chunk-SVLIJGBZ.js +14 -0
  157. package/dist/react/chunk-SVLIJGBZ.js.map +1 -0
  158. package/dist/react/chunk-SY7EEIC3.js +100 -0
  159. package/dist/react/chunk-SY7EEIC3.js.map +1 -0
  160. package/dist/react/chunk-TI3OPDCN.js +25 -0
  161. package/dist/react/chunk-TI3OPDCN.js.map +1 -0
  162. package/dist/react/chunk-U6L6J73Y.js +27 -0
  163. package/dist/react/chunk-U6L6J73Y.js.map +1 -0
  164. package/dist/react/chunk-VD5O66DN.js +54 -0
  165. package/dist/react/chunk-VD5O66DN.js.map +1 -0
  166. package/dist/react/chunk-YDGOXO6Q.js +74 -0
  167. package/dist/react/chunk-YDGOXO6Q.js.map +1 -0
  168. package/dist/react/chunk-YTTFCX3E.js +16 -0
  169. package/dist/react/chunk-YTTFCX3E.js.map +1 -0
  170. package/dist/react/chunk-YXV3UEL5.js +27 -0
  171. package/dist/react/chunk-YXV3UEL5.js.map +1 -0
  172. package/dist/react/client/_modules/behaviors/clipboard.js +8 -0
  173. package/dist/react/client/_modules/behaviors/clipboard.js.map +1 -0
  174. package/dist/react/client/_modules/behaviors/mediaQuery.js +8 -0
  175. package/dist/react/client/_modules/behaviors/mediaQuery.js.map +1 -0
  176. package/dist/react/client/_modules/behaviors/readingProgress.js +10 -0
  177. package/dist/react/client/_modules/behaviors/readingProgress.js.map +1 -0
  178. package/dist/react/client/_modules/behaviors/scrollSpy.js +8 -0
  179. package/dist/react/client/_modules/behaviors/scrollSpy.js.map +1 -0
  180. package/dist/react/client/_modules/behaviors/themeManager.js +11 -0
  181. package/dist/react/client/_modules/behaviors/themeManager.js.map +1 -0
  182. package/dist/react/client/_modules/components/ui/alert-dialog.js +30 -0
  183. package/dist/react/client/_modules/components/ui/alert-dialog.js.map +1 -0
  184. package/dist/react/client/_modules/components/ui/bottom-sheet.js +28 -0
  185. package/dist/react/client/_modules/components/ui/bottom-sheet.js.map +1 -0
  186. package/dist/react/client/_modules/components/ui/combobox.js +13 -0
  187. package/dist/react/client/_modules/components/ui/combobox.js.map +1 -0
  188. package/dist/react/client/_modules/components/ui/dialog.js +30 -0
  189. package/dist/react/client/_modules/components/ui/dialog.js.map +1 -0
  190. package/dist/react/client/_modules/components/ui/dropdown-menu.js +39 -0
  191. package/dist/react/client/_modules/components/ui/dropdown-menu.js.map +1 -0
  192. package/dist/react/client/_modules/components/ui/icon-set.js +12 -0
  193. package/dist/react/client/_modules/components/ui/icon-set.js.map +1 -0
  194. package/dist/react/client/_modules/components/ui/icon.js +10 -0
  195. package/dist/react/client/_modules/components/ui/icon.js.map +1 -0
  196. package/dist/react/client/_modules/components/ui/restore-focus.js +8 -0
  197. package/dist/react/client/_modules/components/ui/restore-focus.js.map +1 -0
  198. package/dist/react/client/_modules/components/ui/select.js +29 -0
  199. package/dist/react/client/_modules/components/ui/select.js.map +1 -0
  200. package/dist/react/client/_modules/components/ui/tabs.js +15 -0
  201. package/dist/react/client/_modules/components/ui/tabs.js.map +1 -0
  202. package/dist/react/client/_modules/components/ui/tooltip.js +15 -0
  203. package/dist/react/client/_modules/components/ui/tooltip.js.map +1 -0
  204. package/dist/react/client/_modules/lib/utils.js +8 -0
  205. package/dist/react/client/_modules/lib/utils.js.map +1 -0
  206. package/dist/react/client/_modules/react/client/CopyButton.js +11 -0
  207. package/dist/react/client/_modules/react/client/CopyButton.js.map +1 -0
  208. package/dist/react/client/_modules/react/client/ReadingProgress.js +14 -0
  209. package/dist/react/client/_modules/react/client/ReadingProgress.js.map +1 -0
  210. package/dist/react/client/_modules/react/client/SidebarProvider.js +26 -0
  211. package/dist/react/client/_modules/react/client/SidebarProvider.js.map +1 -0
  212. package/dist/react/client/_modules/react/client/TableOfContents.js +14 -0
  213. package/dist/react/client/_modules/react/client/TableOfContents.js.map +1 -0
  214. package/dist/react/client/_modules/react/client/ThemeProvider.js +12 -0
  215. package/dist/react/client/_modules/react/client/ThemeProvider.js.map +1 -0
  216. package/dist/react/client/_modules/react/client/ThemeToggle.js +14 -0
  217. package/dist/react/client/_modules/react/client/ThemeToggle.js.map +1 -0
  218. package/dist/react/client/_modules/react/client/ToastProvider.js +14 -0
  219. package/dist/react/client/_modules/react/client/ToastProvider.js.map +1 -0
  220. package/dist/react/client/_modules/react/client/hooks.js +17 -0
  221. package/dist/react/client/_modules/react/client/hooks.js.map +1 -0
  222. package/dist/react/client/_modules/react/client/shadcn.js +160 -0
  223. package/dist/react/client/_modules/react/client/shadcn.js.map +1 -0
  224. package/dist/react/client/_modules/recipes/article.js +35 -0
  225. package/dist/react/client/_modules/recipes/article.js.map +1 -0
  226. package/dist/react/client/_modules/recipes/cx.js +8 -0
  227. package/dist/react/client/_modules/recipes/cx.js.map +1 -0
  228. package/dist/react/client/_modules/recipes/field.js +13 -0
  229. package/dist/react/client/_modules/recipes/field.js.map +1 -0
  230. package/dist/react/client/_modules/tokens/colors.js +24 -0
  231. package/dist/react/client/_modules/tokens/colors.js.map +1 -0
  232. package/dist/react/client/chunk-3MVZ2ES4.js +83 -0
  233. package/dist/react/client/chunk-3MVZ2ES4.js.map +1 -0
  234. package/dist/react/client/chunk-7AU2DPOL.js +35 -0
  235. package/dist/react/client/chunk-7AU2DPOL.js.map +1 -0
  236. package/dist/react/client/chunk-ABWCVXOO.js +11 -0
  237. package/dist/react/client/chunk-ABWCVXOO.js.map +1 -0
  238. package/dist/react/client/chunk-AEXJWMUV.js +52 -0
  239. package/dist/react/client/chunk-AEXJWMUV.js.map +1 -0
  240. package/dist/react/client/chunk-CJQZ4BGO.js +125 -0
  241. package/dist/react/client/chunk-CJQZ4BGO.js.map +1 -0
  242. package/dist/react/client/chunk-CMMPIPNC.js +30 -0
  243. package/dist/react/client/chunk-CMMPIPNC.js.map +1 -0
  244. package/dist/react/client/chunk-CWA3N5RK.js +123 -0
  245. package/dist/react/client/chunk-CWA3N5RK.js.map +1 -0
  246. package/dist/react/client/chunk-ECOPTUZT.js +102 -0
  247. package/dist/react/client/chunk-ECOPTUZT.js.map +1 -0
  248. package/dist/react/client/chunk-GD7XJWKF.js +102 -0
  249. package/dist/react/client/chunk-GD7XJWKF.js.map +1 -0
  250. package/dist/react/client/chunk-JVVNV4DF.js +95 -0
  251. package/dist/react/client/chunk-JVVNV4DF.js.map +1 -0
  252. package/dist/react/client/chunk-LDOUB5IA.js +40 -0
  253. package/dist/react/client/chunk-LDOUB5IA.js.map +1 -0
  254. package/dist/react/client/chunk-M5QFSQYC.js +40 -0
  255. package/dist/react/client/chunk-M5QFSQYC.js.map +1 -0
  256. package/dist/react/client/chunk-MGR4F2BJ.js +67 -0
  257. package/dist/react/client/chunk-MGR4F2BJ.js.map +1 -0
  258. package/dist/react/client/chunk-MYTOL2RH.js +61 -0
  259. package/dist/react/client/chunk-MYTOL2RH.js.map +1 -0
  260. package/dist/react/client/chunk-N64GC5ZU.js +12 -0
  261. package/dist/react/client/chunk-N64GC5ZU.js.map +1 -0
  262. package/dist/react/client/chunk-NEAL74VV.js +130 -0
  263. package/dist/react/client/chunk-NEAL74VV.js.map +1 -0
  264. package/dist/react/client/chunk-OF6BMW2X.js +30 -0
  265. package/dist/react/client/chunk-OF6BMW2X.js.map +1 -0
  266. package/dist/react/client/chunk-OILITPDP.js +72 -0
  267. package/dist/react/client/chunk-OILITPDP.js.map +1 -0
  268. package/dist/react/client/chunk-OU4ACOFA.js +75 -0
  269. package/dist/react/client/chunk-OU4ACOFA.js.map +1 -0
  270. package/dist/react/client/chunk-OVMH25G3.js +23 -0
  271. package/dist/react/client/chunk-OVMH25G3.js.map +1 -0
  272. package/dist/react/client/chunk-P2UPL6Y3.js +205 -0
  273. package/dist/react/client/chunk-P2UPL6Y3.js.map +1 -0
  274. package/dist/react/client/chunk-PAOYY55O.js +41 -0
  275. package/dist/react/client/chunk-PAOYY55O.js.map +1 -0
  276. package/dist/react/client/chunk-PYG5NCEU.js +54 -0
  277. package/dist/react/client/chunk-PYG5NCEU.js.map +1 -0
  278. package/dist/react/client/chunk-RCZS37V5.js +239 -0
  279. package/dist/react/client/chunk-RCZS37V5.js.map +1 -0
  280. package/dist/react/client/chunk-RJFN4KXE.js +36 -0
  281. package/dist/react/client/chunk-RJFN4KXE.js.map +1 -0
  282. package/dist/react/client/chunk-RNMQZ6T2.js +62 -0
  283. package/dist/react/client/chunk-RNMQZ6T2.js.map +1 -0
  284. package/dist/react/client/chunk-TXL2US4Z.js +53 -0
  285. package/dist/react/client/chunk-TXL2US4Z.js.map +1 -0
  286. package/dist/react/client/chunk-U6FMZ32G.js +192 -0
  287. package/dist/react/client/chunk-U6FMZ32G.js.map +1 -0
  288. package/dist/react/client/chunk-WR7KQGBM.js +2 -0
  289. package/dist/react/client/chunk-WR7KQGBM.js.map +1 -0
  290. package/dist/react/client/chunk-XHL4YEVA.js +17 -0
  291. package/dist/react/client/chunk-XHL4YEVA.js.map +1 -0
  292. package/dist/react/client/index.cjs +400 -81
  293. package/dist/react/client/index.cjs.map +1 -1
  294. package/dist/react/client/index.d.cts +86 -5
  295. package/dist/react/client/index.d.ts +86 -5
  296. package/dist/react/client/index.js +141 -1426
  297. package/dist/react/client/index.js.map +1 -1
  298. package/dist/react/index.cjs +368 -183
  299. package/dist/react/index.cjs.map +1 -1
  300. package/dist/react/index.d.cts +202 -23
  301. package/dist/react/index.d.ts +202 -23
  302. package/dist/react/index.js +206 -1231
  303. package/dist/react/index.js.map +1 -1
  304. package/dist/shadcn-overrides.css +27 -13
  305. package/dist/style.css +327 -25
  306. package/dist/theme.css +73 -24
  307. package/package.json +36 -6
package/dist/style.css CHANGED
@@ -367,10 +367,13 @@ body.sv-body {
367
367
  gap: var(--sv-space-4);
368
368
  padding: var(--sv-space-16) 0 var(--sv-space-12);
369
369
  }
370
+ /* DESIGN "Label" step: Manrope 600, 0.75rem, 0.08em tracking, uppercase — a
371
+ weight/tracking/case treatment, not a typeface change (Sparse-Display Rule). */
370
372
  .sv-hero__eyebrow {
371
373
  color: var(--sv-accent-ink);
372
- font-family: var(--sv-font-mono);
373
- font-size: var(--sv-text-sm);
374
+ font-family: var(--sv-font-body);
375
+ font-size: var(--sv-text-xs);
376
+ font-weight: 600;
374
377
  letter-spacing: 0.08em;
375
378
  text-transform: uppercase;
376
379
  }
@@ -399,6 +402,79 @@ body.sv-body {
399
402
  }
400
403
  }
401
404
 
405
+ /* ---------- PageHeader ---------- */
406
+ /* Mobile first: title block and actions stack; side by side from 40rem. The
407
+ title row never wraps (a badge hopping lines when the web font swaps in
408
+ moves the whole page); a wide badge opts into `--stack` instead, which is
409
+ decided by viewport width only. */
410
+ .sv-page-header {
411
+ display: flex;
412
+ flex-direction: column;
413
+ gap: var(--sv-space-4);
414
+ margin-bottom: var(--sv-space-6);
415
+ }
416
+ .sv-page-header__main {
417
+ min-width: 0;
418
+ }
419
+ .sv-page-header__leading {
420
+ margin-bottom: var(--sv-space-2);
421
+ }
422
+ .sv-page-header__title-row {
423
+ display: flex;
424
+ align-items: center;
425
+ gap: var(--sv-space-3);
426
+ }
427
+ .sv-page-header__title-row--stack {
428
+ flex-direction: column;
429
+ align-items: flex-start;
430
+ gap: var(--sv-space-2);
431
+ }
432
+ .sv-page-header__title {
433
+ min-width: 0;
434
+ margin: 0;
435
+ color: var(--sv-text);
436
+ font-family: var(--sv-font-display);
437
+ font-size: var(--sv-text-2xl);
438
+ font-weight: 600;
439
+ letter-spacing: -0.02em;
440
+ line-height: 1.15;
441
+ overflow-wrap: anywhere;
442
+ }
443
+ .sv-page-header__badge {
444
+ display: flex;
445
+ flex-wrap: wrap;
446
+ align-items: center;
447
+ gap: var(--sv-space-2);
448
+ }
449
+ .sv-page-header__description {
450
+ max-width: 68ch;
451
+ margin-top: var(--sv-space-1);
452
+ color: var(--sv-text-2);
453
+ font-size: var(--sv-text-sm);
454
+ }
455
+ .sv-page-header__actions {
456
+ display: flex;
457
+ flex-wrap: wrap;
458
+ align-items: center;
459
+ gap: var(--sv-space-2);
460
+ }
461
+ @media (width >= 40rem) {
462
+ .sv-page-header {
463
+ flex-direction: row;
464
+ align-items: flex-end;
465
+ justify-content: space-between;
466
+ }
467
+ .sv-page-header__title-row--stack {
468
+ flex-direction: row;
469
+ align-items: center;
470
+ gap: var(--sv-space-3);
471
+ }
472
+ .sv-page-header__actions {
473
+ flex-shrink: 0;
474
+ justify-content: flex-end;
475
+ }
476
+ }
477
+
402
478
  /* ---------- Skeleton ---------- */
403
479
  .sv-skeleton-line {
404
480
  height: var(--sv-space-4);
@@ -657,6 +733,24 @@ body.sv-body {
657
733
  font-style: italic;
658
734
  }
659
735
 
736
+ /* ---------- Link ---------- */
737
+ /* Inline text link outside Prose (TextLink): accent ink, underline on hover.
738
+ Touch sizing lives with the other targets (Touch targets section). */
739
+ .sv-link {
740
+ color: var(--sv-accent-ink);
741
+ text-decoration: underline;
742
+ text-decoration-color: color-mix(in srgb, var(--sv-accent-ink) 40%, transparent);
743
+ text-underline-offset: 3px;
744
+ transition: text-decoration-color var(--sv-duration-fast) var(--sv-ease-hover);
745
+ }
746
+ .sv-link:hover {
747
+ text-decoration-color: currentColor;
748
+ }
749
+ .sv-link:focus-visible {
750
+ outline: 2px solid var(--sv-accent-ink);
751
+ outline-offset: 2px;
752
+ }
753
+
660
754
  /* ---------- Forms ---------- */
661
755
  /* Single source of truth for the field frame. Input, Textarea, NativeSelect
662
756
  and FileInput all render .sv-field, so border, radius, surface, typography
@@ -707,6 +801,24 @@ body.sv-body {
707
801
  .sv-field--select[multiple] {
708
802
  height: auto;
709
803
  }
804
+ /* Native date/time inputs carry their own intrinsic minimum width (over
805
+ 100px in iOS Safari), which ignores `width: 100%` and overflows a grid cell
806
+ or the viewport. `min-width: 0` lets them shrink to the container. On iOS
807
+ (the only engine with -webkit-touch-callout) the native appearance is
808
+ dropped so the value aligns left like every other field. */
809
+ .sv-field:is([type='date'], [type='time'], [type='datetime-local'], [type='month'], [type='week']) {
810
+ min-width: 0;
811
+ max-width: 100%;
812
+ }
813
+ @supports (-webkit-touch-callout: none) {
814
+ .sv-field:is([type='date'], [type='time'], [type='datetime-local'], [type='month'], [type='week']) {
815
+ -webkit-appearance: none;
816
+ appearance: none;
817
+ }
818
+ .sv-field::-webkit-date-and-time-value {
819
+ text-align: start;
820
+ }
821
+ }
710
822
  .sv-field--file {
711
823
  height: auto;
712
824
  padding: var(--sv-space-1) var(--sv-space-2);
@@ -735,6 +847,46 @@ body.sv-body {
735
847
  cursor: pointer;
736
848
  }
737
849
 
850
+ /* Select trigger: a <button> sharing the .sv-field frame. Buttons centre
851
+ their text by default; a field reads from the start, with the chevron
852
+ pushed to the end and a long value truncated instead of wrapping. */
853
+ .sv-field--trigger {
854
+ display: flex;
855
+ align-items: center;
856
+ justify-content: space-between;
857
+ gap: var(--sv-space-2);
858
+ text-align: start;
859
+ cursor: pointer;
860
+ }
861
+ .sv-field--trigger > span:first-child {
862
+ min-width: 0;
863
+ overflow: hidden;
864
+ text-overflow: ellipsis;
865
+ white-space: nowrap;
866
+ }
867
+
868
+ /* Field: label + control + description + error, stacked. */
869
+ .sv-form-field {
870
+ display: flex;
871
+ flex-direction: column;
872
+ gap: var(--sv-space-2);
873
+ min-width: 0;
874
+ }
875
+ .sv-form-field > .sv-field-message {
876
+ margin-top: 0;
877
+ }
878
+ .sv-label {
879
+ color: var(--sv-text);
880
+ font-family: var(--sv-font-body);
881
+ font-size: var(--sv-text-sm);
882
+ font-weight: 500;
883
+ line-height: 1.4;
884
+ }
885
+ .sv-label__required {
886
+ margin-inline-start: var(--sv-space-1);
887
+ color: var(--sv-danger-ink);
888
+ }
889
+
738
890
  /* Helper/error text sat under a field, associated via aria-describedby. */
739
891
  .sv-field-message {
740
892
  display: block;
@@ -959,11 +1111,11 @@ body.sv-body {
959
1111
  }
960
1112
 
961
1113
  .sv-btn--destructive {
962
- background: var(--sv-danger);
1114
+ background: var(--sv-danger-ink);
963
1115
  color: var(--sv-bg);
964
1116
  }
965
1117
  .sv-btn--destructive:hover {
966
- background: color-mix(in srgb, var(--sv-danger) 90%, transparent);
1118
+ background: color-mix(in srgb, var(--sv-danger-ink) 90%, var(--sv-text));
967
1119
  }
968
1120
 
969
1121
  .sv-btn--outline {
@@ -1006,7 +1158,7 @@ body.sv-body {
1006
1158
  color: var(--sv-bg);
1007
1159
  }
1008
1160
  .sv-btn--accent:hover {
1009
- background: color-mix(in srgb, var(--sv-accent-ink) 90%, transparent);
1161
+ background: color-mix(in srgb, var(--sv-accent-ink) 90%, var(--sv-text));
1010
1162
  }
1011
1163
 
1012
1164
  .sv-btn--sm {
@@ -1024,9 +1176,10 @@ body.sv-body {
1024
1176
  }
1025
1177
 
1026
1178
  /* ---------- Touch targets ---------- */
1027
- /* On a narrow or touch viewport every button and field reaches
1028
- 44x44px (WCAG 2.5.5). Pointer-fine desktop keeps the heights above. */
1029
- @media (width < 40rem), (pointer: coarse) {
1179
+ /* Below 64rem (tablet) or on a coarse primary pointer every button and field
1180
+ reaches 44x44px (WCAG 2.5.5). A fine pointer on a wide window keeps the
1181
+ heights above. */
1182
+ @media (width < 64rem), (pointer: coarse) {
1030
1183
  .sv-btn,
1031
1184
  .sv-field {
1032
1185
  min-height: calc(var(--sv-space-10) + var(--sv-space-1));
@@ -1036,11 +1189,68 @@ body.sv-body {
1036
1189
  }
1037
1190
  /* A checkbox stays its drawn size; the label wrapping it is the target, since
1038
1191
  tapping the label toggles the input. */
1039
- label:has(> .sv-check) {
1192
+ label:has(> .sv-check),
1193
+ label:has(> .sv-radio),
1194
+ .sv-choice {
1195
+ min-height: calc(var(--sv-space-10) + var(--sv-space-1));
1196
+ }
1197
+ /* Bare icon controls keep their drawn size; an invisible 44x44px pseudo-element
1198
+ centred on the control extends the hit area without moving the icon. */
1199
+ .sv-dialog__close::after,
1200
+ .sv-toast__close::after,
1201
+ .sv-app-sidebar-trigger::after {
1202
+ content: '';
1203
+ position: absolute;
1204
+ top: 50%;
1205
+ left: 50%;
1206
+ width: calc(var(--sv-space-10) + var(--sv-space-1));
1207
+ height: calc(var(--sv-space-10) + var(--sv-space-1));
1208
+ transform: translate(-50%, -50%);
1209
+ }
1210
+ .sv-toast__close {
1211
+ position: relative;
1212
+ }
1213
+ }
1214
+
1215
+ /* WCAG 2.5.8 (AA) baseline at every width and pointer: every target this
1216
+ package draws is at least 24x24 CSS px, without changing the drawn icon or
1217
+ text. Up to 3.5.1 the logo measured 22px tall and the icon-only close
1218
+ buttons (Dialog, sidebar drawer, Toast) 16-24px. */
1219
+ .sv-logo,
1220
+ .sv-footer__link,
1221
+ .sv-link {
1222
+ min-height: var(--sv-space-6);
1223
+ }
1224
+ .sv-footer__link,
1225
+ .sv-link {
1226
+ display: inline-flex;
1227
+ align-items: center;
1228
+ }
1229
+ .sv-dialog__close,
1230
+ .sv-toast__close {
1231
+ min-width: var(--sv-space-6);
1232
+ min-height: var(--sv-space-6);
1233
+ }
1234
+
1235
+ /* Same touch widening as above for the text targets: the logo, footer links
1236
+ and `.sv-link` reach 44px tall below 64rem or on a coarse pointer. */
1237
+ @media (width < 64rem), (pointer: coarse) {
1238
+ .sv-logo,
1239
+ .sv-footer__link,
1240
+ .sv-link {
1040
1241
  min-height: calc(var(--sv-space-10) + var(--sv-space-1));
1041
1242
  }
1042
1243
  }
1043
1244
 
1245
+ /* iOS Safari zooms the page when a focused field's font is below 16px, and
1246
+ --sv-text-base is 15px. Same narrow-or-touch scope as the other touch
1247
+ rules: fields render at 16px or more. */
1248
+ @media (width < 64rem), (pointer: coarse) {
1249
+ .sv-field {
1250
+ font-size: max(1rem, var(--sv-text-base));
1251
+ }
1252
+ }
1253
+
1044
1254
  /* ---------- Card ---------- */
1045
1255
  .sv-card {
1046
1256
  border: 1px solid var(--sv-border);
@@ -1054,12 +1264,17 @@ body.sv-body {
1054
1264
  gap: var(--sv-space-2);
1055
1265
  padding: var(--sv-space-6);
1056
1266
  }
1267
+ /* DESIGN "Title" step (same as PostCard): Sora 600, 1.375rem, line-height 1.3.
1268
+ Up to 3.5.1 this was Manrope at 1.75rem with line-height 1, so a title that
1269
+ wrapped had its lines touching. */
1057
1270
  .sv-card__title {
1058
1271
  margin: 0;
1059
- font-size: var(--sv-text-2xl);
1272
+ font-family: var(--sv-font-display);
1273
+ font-size: var(--sv-text-xl);
1060
1274
  font-weight: 600;
1061
- line-height: 1;
1062
- letter-spacing: -0.025em;
1275
+ line-height: 1.3;
1276
+ letter-spacing: -0.02em;
1277
+ text-wrap: balance;
1063
1278
  }
1064
1279
  .sv-card__description {
1065
1280
  margin: 0;
@@ -1165,21 +1380,23 @@ body.sv-body {
1165
1380
  }
1166
1381
 
1167
1382
  /* ---------- Badge ---------- */
1168
- /* Default variant uses var(--sv-accent) rather than a fixed hue, so the
1169
- badge follows [data-accent] instead of locking to cyan (One-Accent Rule —
1170
- orchestrator audit, tasks.md pre-T17). The destructive text color is
1171
- var(--sv-bg) rather than var(--sv-danger-ink): --sv-danger-ink equals
1172
- --sv-danger in dark mode, which would render invisible text on the
1173
- danger fill — var(--sv-bg) mirrors the contrast approach the default
1174
- variant already used (text-sv-bg on a colored fill) and stays legible in
1175
- both themes. */
1383
+ /* Filled variants paint the *ink* step of their hue, never the surface step,
1384
+ under light text (`var(--sv-bg)`). The ink step is what makes a hue safe to
1385
+ pair with text: in dark mode `--sv-accent-ink`/`--sv-danger-ink` resolve to
1386
+ the very same values as `--sv-accent`/`--sv-danger` (so nothing changes
1387
+ there), and in light mode they are the darker per-hue steps that clear
1388
+ WCAG AA (≥4.5:1) against `--sv-bg`. Painting the surface step instead —
1389
+ what this rule did up to 3.5.1 — measured 1.79:1 (badge, cyan) and 2.93:1
1390
+ (destructive) in light mode: near-white text on a light fill. The default
1391
+ variant still follows [data-accent] (One-Accent Rule); `.sv-btn--accent`
1392
+ uses the same ink-fill pairing. Pairs are asserted in tests/contrast.test.ts. */
1176
1393
  .sv-badge {
1177
1394
  display: inline-flex;
1178
1395
  align-items: center;
1179
1396
  padding: var(--sv-space-1) var(--sv-space-2);
1180
1397
  border: 1px solid transparent;
1181
1398
  border-radius: var(--sv-radius-full);
1182
- background: var(--sv-accent);
1399
+ background: var(--sv-accent-ink);
1183
1400
  color: var(--sv-bg);
1184
1401
  font-size: var(--sv-text-xs);
1185
1402
  font-weight: 600;
@@ -1202,11 +1419,11 @@ body.sv-body {
1202
1419
  }
1203
1420
 
1204
1421
  .sv-badge--destructive {
1205
- background: var(--sv-danger);
1422
+ background: var(--sv-danger-ink);
1206
1423
  color: var(--sv-bg);
1207
1424
  }
1208
1425
  .sv-badge--destructive:hover {
1209
- background: color-mix(in srgb, var(--sv-danger) 90%, transparent);
1426
+ background: color-mix(in srgb, var(--sv-danger-ink) 90%, var(--sv-text));
1210
1427
  }
1211
1428
 
1212
1429
  .sv-badge--outline {
@@ -1506,6 +1723,38 @@ body.sv-body {
1506
1723
  height: var(--radix-select-trigger-height);
1507
1724
  }
1508
1725
 
1726
+ /* Combobox: the list is in flow-positioned under the input (no portal), so it
1727
+ scrolls with its field; it reuses .sv-pop's surface and .sv-menu-item's rows. */
1728
+ .sv-combobox {
1729
+ position: relative;
1730
+ }
1731
+ .sv-combobox__list {
1732
+ position: absolute;
1733
+ inset-inline: 0;
1734
+ top: 100%;
1735
+ margin: var(--sv-space-1) 0 0;
1736
+ max-height: calc(var(--sv-space-16) * 4);
1737
+ overflow-y: auto;
1738
+ list-style: none;
1739
+ }
1740
+ .sv-combobox__list[hidden] {
1741
+ display: none;
1742
+ }
1743
+ .sv-combobox__option {
1744
+ flex-direction: column;
1745
+ align-items: flex-start;
1746
+ gap: 0;
1747
+ }
1748
+ .sv-combobox__description {
1749
+ color: var(--sv-text-2);
1750
+ font-size: var(--sv-text-sm);
1751
+ }
1752
+ .sv-combobox__status {
1753
+ margin-top: var(--sv-space-1);
1754
+ color: var(--sv-text-3);
1755
+ font-size: var(--sv-text-sm);
1756
+ }
1757
+
1509
1758
  /* ---------- Tooltip ---------- */
1510
1759
  /* Declares only what differs from .sv-pop: a tooltip floats above every other
1511
1760
  layer, holds one line of text rather than a list, and needs no min-width. */
@@ -1676,7 +1925,7 @@ body.sv-body {
1676
1925
  /* Triggers reach 44px and a strip wider than the viewport scrolls inside
1677
1926
  itself instead of widening the page. Declared after the base rules above so
1678
1927
  the list's height override wins at equal specificity. */
1679
- @media (width < 40rem), (pointer: coarse) {
1928
+ @media (width < 64rem), (pointer: coarse) {
1680
1929
  .sv-tabs__list {
1681
1930
  height: auto;
1682
1931
  max-width: 100%;
@@ -1804,7 +2053,7 @@ body.sv-body {
1804
2053
 
1805
2054
  /* ---------- Pagination touch ---------- */
1806
2055
  /* Page links and "load more" reach 44x44px on narrow or touch viewports. */
1807
- @media (width < 40rem), (pointer: coarse) {
2056
+ @media (width < 64rem), (pointer: coarse) {
1808
2057
  .sv-pagination__link {
1809
2058
  min-height: calc(var(--sv-space-10) + var(--sv-space-1));
1810
2059
  min-width: calc(var(--sv-space-10) + var(--sv-space-1));
@@ -1842,6 +2091,44 @@ body.sv-body {
1842
2091
  .sv-chart__bar {
1843
2092
  shape-rendering: crispEdges;
1844
2093
  }
2094
+ /* Point markers (ChartLine markers): filled with the series color, ringed in
2095
+ the page background so overlapping series stay distinguishable. */
2096
+ .sv-chart__marker {
2097
+ stroke: var(--sv-bg);
2098
+ stroke-width: 2;
2099
+ }
2100
+ /* Legend: an HTML list next to the SVG (not inside it), so it wraps, reads as
2101
+ a list to assistive tech and uses the body font. */
2102
+ .sv-chart-legend {
2103
+ display: flex;
2104
+ flex-wrap: wrap;
2105
+ gap: var(--sv-space-2) var(--sv-space-4);
2106
+ margin: var(--sv-space-3) 0 0;
2107
+ padding: 0;
2108
+ list-style: none;
2109
+ color: var(--sv-text-2);
2110
+ font-family: var(--sv-font-body);
2111
+ font-size: var(--sv-text-xs);
2112
+ }
2113
+ .sv-chart-legend__item {
2114
+ display: inline-flex;
2115
+ align-items: center;
2116
+ gap: var(--sv-space-2);
2117
+ }
2118
+ .sv-chart-legend__swatch {
2119
+ flex-shrink: 0;
2120
+ width: var(--sv-space-4);
2121
+ height: 0;
2122
+ border-top: 2px solid var(--sv-series-color, var(--sv-text-2));
2123
+ }
2124
+ .sv-chart-legend__swatch--dashed {
2125
+ border-top-style: dashed;
2126
+ }
2127
+ .sv-chart-legend__swatch--bar {
2128
+ height: var(--sv-space-2);
2129
+ border-top: none;
2130
+ background: var(--sv-series-color, var(--sv-text-2));
2131
+ }
1845
2132
 
1846
2133
  /* ---------- App Sidebar ---------- */
1847
2134
  /* R5-02, R5-03, R5-04: Sidebar de aplicação responsiva.
@@ -1870,6 +2157,20 @@ body.sv-body {
1870
2157
  border-right: 1px solid var(--sv-border);
1871
2158
  }
1872
2159
 
2160
+ /* CSS-first first paint (SSR). Before hydration SidebarProvider omits
2161
+ `data-mobile` and SidebarPanel renders the in-flow <aside>, so desktop
2162
+ paints with the sidebar already in place (no layout shift). Below the
2163
+ default breakpoint (1024px, SidebarProvider's default) this hides that
2164
+ <aside> until JS mounts the drawer instead. A custom `breakpoint` prop gets
2165
+ the equivalent rule from the provider itself (scoped by `data-breakpoint`).
2166
+ `collapsible="none"` stays in flow at every width, as after hydration. */
2167
+ @media (width < 1024px) {
2168
+ .sv-app-shell:not([data-mobile]):not([data-breakpoint]):not([data-collapsible='none'])
2169
+ .sv-app-sidebar {
2170
+ display: none;
2171
+ }
2172
+ }
2173
+
1873
2174
  .sv-app-sidebar__drawer {
1874
2175
  position: fixed;
1875
2176
  inset: 0;
@@ -1912,6 +2213,7 @@ body.sv-body {
1912
2213
  }
1913
2214
 
1914
2215
  .sv-app-sidebar-trigger {
2216
+ position: relative;
1915
2217
  display: inline-flex;
1916
2218
  align-items: center;
1917
2219
  justify-content: center;
package/dist/theme.css CHANGED
@@ -139,6 +139,43 @@
139
139
  --sv-warning-ink: oklch(0.53 0.11 75);
140
140
  }
141
141
 
142
+ /* Nested dark island: `data-theme="dark"` on any element inside a light page.
143
+ Repeats the dark color tokens, because `:root` alone only applies at the
144
+ root. The two `*-ink` groups are re-pointed explicitly: custom properties
145
+ inherit as *resolved* values, so without this the island would inherit the
146
+ light page's darkened inks. In dark mode every ink equals its surface color,
147
+ so `--sv-accent-ink: var(--sv-accent)` follows the page's active accent
148
+ without needing `data-accent` on the island. (A light island inside a dark
149
+ page also needs `data-accent` on the island, for the same reason.) */
150
+ [data-theme='dark'] {
151
+ --sv-bg: #0a0a0c;
152
+ --sv-bg-elev: #111114;
153
+ --sv-surface: #16161b;
154
+ --sv-surface-2: #1c1c22;
155
+ --sv-border: rgba(255, 255, 255, 0.08);
156
+ --sv-border-strong: rgba(255, 255, 255, 0.14);
157
+ --sv-control-border: #6b6b76;
158
+ --sv-text: #ededf0;
159
+ --sv-text-2: #8b8b96;
160
+ --sv-text-3: #83838f;
161
+ --sv-accent-cyan-ink: var(--sv-accent-cyan);
162
+ --sv-accent-violet-ink: var(--sv-accent-violet);
163
+ --sv-accent-mint-ink: var(--sv-accent-mint);
164
+ --sv-accent-amber-ink: var(--sv-accent-amber);
165
+ --sv-accent-ink: var(--sv-accent);
166
+ --sv-danger-ink: var(--sv-danger);
167
+ --sv-success-ink: var(--sv-success);
168
+ --sv-info-ink: var(--sv-info);
169
+ --sv-warning-ink: var(--sv-warning);
170
+ color-scheme: dark;
171
+ }
172
+
173
+ /* An island also re-sets its text color: `color` inherits as the page's
174
+ resolved value, so island text would otherwise keep the outer theme's ink. */
175
+ [data-theme]:not(:root) {
176
+ color: var(--sv-text);
177
+ }
178
+
142
179
  /* Accent switching is pure CSS — works in Server Components. */
143
180
  [data-accent='cyan'] {
144
181
  --sv-accent: var(--sv-accent-cyan);
@@ -169,30 +206,42 @@
169
206
  ============================================================ */
170
207
 
171
208
  /* .sv-gradient-border — the system's visual signature.
172
- Never replace with box-shadow. */
173
- .sv-gradient-border {
174
- position: relative;
175
- background: var(--sv-surface);
176
- border-radius: var(--sv-radius-lg);
177
- }
178
- .sv-gradient-border::before {
179
- content: '';
180
- position: absolute;
181
- inset: 0;
182
- border-radius: inherit;
183
- padding: 1px;
184
- background: linear-gradient(
185
- 135deg,
186
- var(--sv-accent) 0%,
187
- transparent 40%,
188
- transparent 60%,
189
- var(--sv-border-strong) 100%
190
- );
191
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
192
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
193
- -webkit-mask-composite: xor;
194
- mask-composite: exclude;
195
- pointer-events: none;
209
+ Never replace with box-shadow.
210
+
211
+ Lives in Tailwind's `components` layer (the statement below fixes the
212
+ standard v4 order even when this file loads before Tailwind), so a
213
+ utility on the same element — `rounded-md`, `bg-*` — wins over the
214
+ default radius/background instead of losing to unlayered CSS. Up to 3.5.1
215
+ it was unlayered and beat those utilities. Without Tailwind, the only
216
+ difference is that the app's own unlayered CSS on the same element now
217
+ wins too. */
218
+ @layer theme, base, components, utilities;
219
+
220
+ @layer components {
221
+ .sv-gradient-border {
222
+ position: relative;
223
+ background: var(--sv-surface);
224
+ border-radius: var(--sv-radius-lg);
225
+ }
226
+ .sv-gradient-border::before {
227
+ content: '';
228
+ position: absolute;
229
+ inset: 0;
230
+ border-radius: inherit;
231
+ padding: 1px;
232
+ background: linear-gradient(
233
+ 135deg,
234
+ var(--sv-accent) 0%,
235
+ transparent 40%,
236
+ transparent 60%,
237
+ var(--sv-border-strong) 100%
238
+ );
239
+ -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
240
+ mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
241
+ -webkit-mask-composite: xor;
242
+ mask-composite: exclude;
243
+ pointer-events: none;
244
+ }
196
245
  }
197
246
 
198
247
  /* Cards have no shadow — hover lifts via border/transform only. */