@crisp-ui-kit/crisp 0.5.0 → 0.7.1

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 (472) hide show
  1. package/README.md +14 -0
  2. package/dist/accordion.css +9 -1
  3. package/dist/appshell.css +12 -4
  4. package/dist/authshell.css +57 -0
  5. package/dist/authshell.d.ts +7 -0
  6. package/dist/avatargroup.css +2 -2
  7. package/dist/badge.css +4 -4
  8. package/dist/barchart.css +13 -5
  9. package/dist/board.css +9 -1
  10. package/dist/bulkbar.css +11 -3
  11. package/dist/button.css +15 -1
  12. package/dist/button.d.ts +2 -1
  13. package/dist/card.css +8 -0
  14. package/dist/checkbox.css +17 -1
  15. package/dist/cjs/components/accordion/accordion.js +69 -0
  16. package/dist/cjs/components/accordion/accordion.recipe.js +26 -0
  17. package/dist/cjs/components/accordion/index.js +7 -0
  18. package/dist/cjs/components/avatar/avatar.js +44 -0
  19. package/dist/cjs/components/avatar/avatar.recipe.js +42 -0
  20. package/dist/cjs/components/avatar/index.js +7 -0
  21. package/dist/cjs/components/avatargroup/avatargroup.js +52 -0
  22. package/dist/cjs/components/avatargroup/avatargroup.recipe.js +18 -0
  23. package/dist/cjs/components/avatargroup/index.js +7 -0
  24. package/dist/cjs/components/badge/badge.js +44 -0
  25. package/dist/cjs/components/badge/badge.recipe.js +68 -0
  26. package/dist/cjs/components/badge/index.js +7 -0
  27. package/dist/cjs/components/barchart/barchart.js +45 -0
  28. package/dist/cjs/components/barchart/barchart.recipe.js +34 -0
  29. package/dist/cjs/components/barchart/index.js +7 -0
  30. package/dist/cjs/components/breadcrumb/breadcrumb.js +53 -0
  31. package/dist/cjs/components/breadcrumb/breadcrumb.recipe.js +21 -0
  32. package/dist/cjs/components/breadcrumb/index.js +7 -0
  33. package/dist/cjs/components/bulkbar/bulkbar.js +53 -0
  34. package/dist/cjs/components/bulkbar/bulkbar.recipe.js +31 -0
  35. package/dist/cjs/components/bulkbar/index.js +8 -0
  36. package/dist/cjs/components/button/button.js +62 -0
  37. package/dist/cjs/components/button/button.recipe.js +58 -0
  38. package/dist/cjs/components/button/index.js +7 -0
  39. package/dist/cjs/components/callout/callout.js +25 -0
  40. package/dist/cjs/components/callout/callout.recipe.js +29 -0
  41. package/dist/cjs/components/callout/index.js +7 -0
  42. package/dist/cjs/components/card/card.js +54 -0
  43. package/dist/cjs/components/card/card.recipe.js +31 -0
  44. package/dist/cjs/components/card/index.js +10 -0
  45. package/dist/cjs/components/checkbox/checkbox.js +56 -0
  46. package/dist/cjs/components/checkbox/checkbox.recipe.js +34 -0
  47. package/dist/cjs/components/checkbox/index.js +7 -0
  48. package/dist/cjs/components/columncalc/columncalc.js +139 -0
  49. package/dist/cjs/components/columncalc/columncalc.recipe.js +33 -0
  50. package/dist/cjs/components/columncalc/index.js +10 -0
  51. package/dist/cjs/components/contextmenu/contextmenu.js +78 -0
  52. package/dist/cjs/components/contextmenu/contextmenu.recipe.js +24 -0
  53. package/dist/cjs/components/contextmenu/index.js +7 -0
  54. package/dist/cjs/components/datatable/datatable.js +508 -0
  55. package/dist/cjs/components/datatable/datatable.recipe.js +113 -0
  56. package/dist/cjs/components/datatable/index.js +7 -0
  57. package/dist/cjs/components/datepicker/datepicker.js +153 -0
  58. package/dist/cjs/components/datepicker/datepicker.recipe.js +190 -0
  59. package/dist/cjs/components/datepicker/index.js +19 -0
  60. package/dist/cjs/components/datepickerfield/datepickerfield.js +85 -0
  61. package/dist/cjs/components/datepickerfield/datepickerfield.recipe.js +44 -0
  62. package/dist/cjs/components/datepickerfield/index.js +7 -0
  63. package/dist/cjs/components/dialog/dialog.js +86 -0
  64. package/dist/cjs/components/dialog/dialog.recipe.js +35 -0
  65. package/dist/cjs/components/dialog/index.js +9 -0
  66. package/dist/cjs/components/divider/divider.js +10 -0
  67. package/dist/cjs/components/divider/divider.recipe.js +17 -0
  68. package/dist/cjs/components/divider/index.js +7 -0
  69. package/dist/cjs/components/donutchart/donutchart.js +41 -0
  70. package/dist/cjs/components/donutchart/donutchart.recipe.js +30 -0
  71. package/dist/cjs/components/donutchart/index.js +7 -0
  72. package/dist/cjs/components/drawer/drawer.js +80 -0
  73. package/dist/cjs/components/drawer/drawer.recipe.js +30 -0
  74. package/dist/cjs/components/drawer/index.js +9 -0
  75. package/dist/cjs/components/emptystate/emptystate.js +10 -0
  76. package/dist/cjs/components/emptystate/emptystate.recipe.js +34 -0
  77. package/dist/cjs/components/emptystate/index.js +7 -0
  78. package/dist/cjs/components/formfield/formfield.js +50 -0
  79. package/dist/cjs/components/formfield/formfield.recipe.js +22 -0
  80. package/dist/cjs/components/formfield/index.js +7 -0
  81. package/dist/cjs/components/input/index.js +7 -0
  82. package/dist/cjs/components/input/input.js +47 -0
  83. package/dist/cjs/components/input/input.recipe.js +59 -0
  84. package/dist/cjs/components/kbd/index.js +7 -0
  85. package/dist/cjs/components/kbd/kbd.js +44 -0
  86. package/dist/cjs/components/kbd/kbd.recipe.js +23 -0
  87. package/dist/cjs/components/linechart/index.js +7 -0
  88. package/dist/cjs/components/linechart/linechart.js +57 -0
  89. package/dist/cjs/components/linechart/linechart.recipe.js +35 -0
  90. package/dist/cjs/components/menu/index.js +14 -0
  91. package/dist/cjs/components/menu/menu-keyboard.js +117 -0
  92. package/dist/cjs/components/menu/menu.js +144 -0
  93. package/dist/cjs/components/menu/menu.recipe.js +54 -0
  94. package/dist/cjs/components/multiselect/index.js +7 -0
  95. package/dist/cjs/components/multiselect/multiselect.js +161 -0
  96. package/dist/cjs/components/multiselect/multiselect.recipe.js +71 -0
  97. package/dist/cjs/components/popover/index.js +7 -0
  98. package/dist/cjs/components/popover/popover.js +106 -0
  99. package/dist/cjs/components/popover/popover.recipe.js +21 -0
  100. package/dist/cjs/components/progress/index.js +7 -0
  101. package/dist/cjs/components/progress/progress.js +26 -0
  102. package/dist/cjs/components/progress/progress.recipe.js +20 -0
  103. package/dist/cjs/components/radiogroup/index.js +8 -0
  104. package/dist/cjs/components/radiogroup/radiogroup.js +83 -0
  105. package/dist/cjs/components/radiogroup/radiogroup.recipe.js +40 -0
  106. package/dist/cjs/components/resizablepanel/index.js +12 -0
  107. package/dist/cjs/components/resizablepanel/resizablepanel.js +176 -0
  108. package/dist/cjs/components/resizablepanel/resizablepanel.recipe.js +69 -0
  109. package/dist/cjs/components/segmented/index.js +7 -0
  110. package/dist/cjs/components/segmented/segmented.js +95 -0
  111. package/dist/cjs/components/segmented/segmented.recipe.js +23 -0
  112. package/dist/cjs/components/select/index.js +7 -0
  113. package/dist/cjs/components/select/select.js +180 -0
  114. package/dist/cjs/components/select/select.recipe.js +79 -0
  115. package/dist/cjs/components/skeleton/index.js +7 -0
  116. package/dist/cjs/components/skeleton/skeleton.js +13 -0
  117. package/dist/cjs/components/skeleton/skeleton.recipe.js +17 -0
  118. package/dist/cjs/components/spinner/index.js +7 -0
  119. package/dist/cjs/components/spinner/spinner.js +15 -0
  120. package/dist/cjs/components/spinner/spinner.recipe.js +16 -0
  121. package/dist/cjs/components/stagebar/index.js +7 -0
  122. package/dist/cjs/components/stagebar/stagebar.js +26 -0
  123. package/dist/cjs/components/stagebar/stagebar.recipe.js +17 -0
  124. package/dist/cjs/components/statcard/index.js +7 -0
  125. package/dist/cjs/components/statcard/statcard.js +15 -0
  126. package/dist/cjs/components/statcard/statcard.recipe.js +37 -0
  127. package/dist/cjs/components/switch/index.js +7 -0
  128. package/dist/cjs/components/switch/switch.js +58 -0
  129. package/dist/cjs/components/switch/switch.recipe.js +29 -0
  130. package/dist/cjs/components/table/index.js +14 -0
  131. package/dist/cjs/components/table/table.js +66 -0
  132. package/dist/cjs/components/table/table.recipe.js +43 -0
  133. package/dist/cjs/components/tabletoolbar/index.js +20 -0
  134. package/dist/cjs/components/tabletoolbar/tabletoolbar.chrome.js +84 -0
  135. package/dist/cjs/components/tabletoolbar/tabletoolbar.js +237 -0
  136. package/dist/cjs/components/tabletoolbar/tabletoolbar.recipe.js +26 -0
  137. package/dist/cjs/components/tabs/index.js +7 -0
  138. package/dist/cjs/components/tabs/tabs.js +106 -0
  139. package/dist/cjs/components/tabs/tabs.recipe.js +36 -0
  140. package/dist/cjs/components/textarea/index.js +7 -0
  141. package/dist/cjs/components/textarea/textarea.js +56 -0
  142. package/dist/cjs/components/textarea/textarea.recipe.js +46 -0
  143. package/dist/cjs/components/toast/index.js +8 -0
  144. package/dist/cjs/components/toast/toast.js +95 -0
  145. package/dist/cjs/components/toast/toast.recipe.js +31 -0
  146. package/dist/cjs/components/tooltip/index.js +7 -0
  147. package/dist/cjs/components/tooltip/tooltip.js +95 -0
  148. package/dist/cjs/components/tooltip/tooltip.recipe.js +16 -0
  149. package/dist/cjs/components/wheelpicker/index.js +7 -0
  150. package/dist/cjs/components/wheelpicker/wheelpicker.js +134 -0
  151. package/dist/cjs/components/wheelpicker/wheelpicker.recipe.js +95 -0
  152. package/dist/cjs/core/cx.js +8 -0
  153. package/dist/cjs/core/define.js +6 -0
  154. package/dist/cjs/core/index.js +11 -0
  155. package/dist/cjs/core/primitive.js +49 -0
  156. package/dist/cjs/core/resolve.js +44 -0
  157. package/dist/cjs/core/types.js +2 -0
  158. package/dist/cjs/index.js +92 -0
  159. package/dist/cjs/package.json +3 -0
  160. package/dist/cjs/product/appshell/appshell.js +104 -0
  161. package/dist/cjs/product/appshell/appshell.recipe.js +30 -0
  162. package/dist/cjs/product/appshell/index.js +7 -0
  163. package/dist/cjs/product/authshell/authshell.js +21 -0
  164. package/dist/cjs/product/authshell/authshell.recipe.js +67 -0
  165. package/dist/cjs/product/authshell/index.js +7 -0
  166. package/dist/cjs/product/board/board.js +78 -0
  167. package/dist/cjs/product/board/board.recipe.js +31 -0
  168. package/dist/cjs/product/board/index.js +7 -0
  169. package/dist/cjs/product/command/command.js +238 -0
  170. package/dist/cjs/product/command/command.recipe.js +47 -0
  171. package/dist/cjs/product/command/index.js +8 -0
  172. package/dist/cjs/product/entitycard/entitycard.js +14 -0
  173. package/dist/cjs/product/entitycard/entitycard.recipe.js +32 -0
  174. package/dist/cjs/product/entitycard/index.js +7 -0
  175. package/dist/cjs/product/flowcanvas/flowcanvas.js +121 -0
  176. package/dist/cjs/product/flowcanvas/flowcanvas.recipe.js +28 -0
  177. package/dist/cjs/product/flowcanvas/index.js +7 -0
  178. package/dist/cjs/product/inbox/inbox.js +16 -0
  179. package/dist/cjs/product/inbox/inbox.recipe.js +46 -0
  180. package/dist/cjs/product/inbox/index.js +7 -0
  181. package/dist/cjs/product/listpage/index.js +8 -0
  182. package/dist/cjs/product/listpage/listpage.js +25 -0
  183. package/dist/cjs/product/listpage/listpage.recipe.js +46 -0
  184. package/dist/cjs/product/navitem/index.js +5 -0
  185. package/dist/cjs/product/navitem/navitem.js +44 -0
  186. package/dist/cjs/product/navitem/navitem.recipe.js +36 -0
  187. package/dist/cjs/product/onboarding/index.js +7 -0
  188. package/dist/cjs/product/onboarding/onboarding.js +17 -0
  189. package/dist/cjs/product/onboarding/onboarding.recipe.js +44 -0
  190. package/dist/cjs/product/recordpage/index.js +7 -0
  191. package/dist/cjs/product/recordpage/recordpage.js +409 -0
  192. package/dist/cjs/product/recordpage/recordpage.recipe.js +162 -0
  193. package/dist/cjs/product/recordpanel/index.js +7 -0
  194. package/dist/cjs/product/recordpanel/recordpanel.js +83 -0
  195. package/dist/cjs/product/recordpanel/recordpanel.recipe.js +51 -0
  196. package/dist/cjs/product/recordstable/company-logos.js +29 -0
  197. package/dist/cjs/product/recordstable/index.js +10 -0
  198. package/dist/cjs/product/recordstable/recordstable.js +1092 -0
  199. package/dist/cjs/product/recordstable/recordstable.recipe.js +152 -0
  200. package/dist/cjs/product/recordstable/recordstable.tag.js +21 -0
  201. package/dist/cjs/product/richtext/index.js +7 -0
  202. package/dist/cjs/product/richtext/richtext.js +147 -0
  203. package/dist/cjs/product/richtext/richtext.recipe.js +43 -0
  204. package/dist/cjs/product/settingssection/index.js +7 -0
  205. package/dist/cjs/product/settingssection/settingssection.js +14 -0
  206. package/dist/cjs/product/settingssection/settingssection.recipe.js +23 -0
  207. package/dist/cjs/product/settingsshell/index.js +7 -0
  208. package/dist/cjs/product/settingsshell/settingsshell.js +59 -0
  209. package/dist/cjs/product/settingsshell/settingsshell.recipe.js +46 -0
  210. package/dist/cjs/product/sidebar/index.js +13 -0
  211. package/dist/cjs/product/sidebar/sidebar.js +148 -0
  212. package/dist/cjs/product/sidebar/sidebar.recipe.js +46 -0
  213. package/dist/cjs/product/tasklist/index.js +7 -0
  214. package/dist/cjs/product/tasklist/tasklist.js +19 -0
  215. package/dist/cjs/product/tasklist/tasklist.recipe.js +38 -0
  216. package/dist/cjs/product/trialbanner/index.js +7 -0
  217. package/dist/cjs/product/trialbanner/trialbanner.js +13 -0
  218. package/dist/cjs/product/trialbanner/trialbanner.recipe.js +32 -0
  219. package/dist/cjs/product/viewtoggle/index.js +7 -0
  220. package/dist/cjs/product/viewtoggle/viewtoggle.js +55 -0
  221. package/dist/cjs/product/viewtoggle/viewtoggle.recipe.js +27 -0
  222. package/dist/cjs/tokens/contract.js +21 -0
  223. package/dist/cjs/tokens/elevation.js +47 -0
  224. package/dist/cjs/tokens/index.js +18 -0
  225. package/dist/cjs/tokens/palette.js +63 -0
  226. package/dist/cjs/tokens/scale.js +70 -0
  227. package/dist/cjs/tokens/semantic.js +57 -0
  228. package/dist/columncalc.css +26 -0
  229. package/dist/columncalc.d.ts +7 -0
  230. package/dist/command.css +34 -1
  231. package/dist/contextmenu.css +10 -2
  232. package/dist/datatable.css +60 -14
  233. package/dist/datepicker.css +175 -19
  234. package/dist/datepicker.d.ts +2 -2
  235. package/dist/datepickerfield.css +27 -0
  236. package/dist/datepickerfield.d.ts +7 -0
  237. package/dist/dialog.css +10 -2
  238. package/dist/donutchart.css +8 -0
  239. package/dist/drawer.css +13 -5
  240. package/dist/entitycard.css +10 -2
  241. package/dist/esm/components/accordion/accordion.js +17 -16
  242. package/dist/esm/components/accordion/accordion.recipe.js +1 -1
  243. package/dist/esm/components/avatargroup/avatargroup.js +2 -2
  244. package/dist/esm/components/avatargroup/avatargroup.recipe.js +2 -2
  245. package/dist/esm/components/badge/badge.recipe.js +4 -4
  246. package/dist/esm/components/barchart/barchart.js +15 -2
  247. package/dist/esm/components/barchart/barchart.recipe.js +10 -5
  248. package/dist/esm/components/breadcrumb/breadcrumb.js +2 -2
  249. package/dist/esm/components/bulkbar/bulkbar.js +2 -2
  250. package/dist/esm/components/bulkbar/bulkbar.recipe.js +4 -4
  251. package/dist/esm/components/button/button.js +13 -2
  252. package/dist/esm/components/button/button.recipe.js +20 -4
  253. package/dist/esm/components/callout/callout.js +2 -2
  254. package/dist/esm/components/checkbox/checkbox.recipe.js +9 -1
  255. package/dist/esm/components/columncalc/columncalc.js +100 -0
  256. package/dist/esm/components/columncalc/columncalc.recipe.js +30 -0
  257. package/dist/esm/components/columncalc/index.js +1 -0
  258. package/dist/esm/components/contextmenu/contextmenu.recipe.js +4 -4
  259. package/dist/esm/components/datatable/datatable.js +276 -49
  260. package/dist/esm/components/datatable/datatable.recipe.js +54 -16
  261. package/dist/esm/components/datepicker/datepicker.js +104 -53
  262. package/dist/esm/components/datepicker/datepicker.recipe.js +180 -25
  263. package/dist/esm/components/datepicker/index.js +1 -1
  264. package/dist/esm/components/datepickerfield/datepickerfield.js +49 -0
  265. package/dist/esm/components/datepickerfield/datepickerfield.recipe.js +41 -0
  266. package/dist/esm/components/datepickerfield/index.js +2 -0
  267. package/dist/esm/components/dialog/dialog.js +2 -2
  268. package/dist/esm/components/dialog/dialog.recipe.js +4 -4
  269. package/dist/esm/components/divider/divider.js +2 -2
  270. package/dist/esm/components/donutchart/donutchart.js +2 -2
  271. package/dist/esm/components/drawer/drawer.js +2 -2
  272. package/dist/esm/components/drawer/drawer.recipe.js +6 -6
  273. package/dist/esm/components/emptystate/emptystate.js +2 -2
  274. package/dist/esm/components/formfield/formfield.js +2 -2
  275. package/dist/esm/components/input/input.js +6 -3
  276. package/dist/esm/components/input/input.recipe.js +38 -5
  277. package/dist/esm/components/linechart/linechart.js +15 -2
  278. package/dist/esm/components/linechart/linechart.recipe.js +10 -5
  279. package/dist/esm/components/menu/index.js +1 -0
  280. package/dist/esm/components/menu/menu-keyboard.js +80 -0
  281. package/dist/esm/components/menu/menu.js +27 -60
  282. package/dist/esm/components/menu/menu.recipe.js +5 -5
  283. package/dist/esm/components/multiselect/multiselect.js +10 -3
  284. package/dist/esm/components/multiselect/multiselect.recipe.js +8 -8
  285. package/dist/esm/components/popover/popover.js +2 -2
  286. package/dist/esm/components/popover/popover.recipe.js +2 -2
  287. package/dist/esm/components/progress/progress.js +3 -3
  288. package/dist/esm/components/radiogroup/radiogroup.js +2 -2
  289. package/dist/esm/components/radiogroup/radiogroup.recipe.js +1 -1
  290. package/dist/esm/components/resizablepanel/index.js +2 -0
  291. package/dist/esm/components/resizablepanel/resizablepanel.js +135 -0
  292. package/dist/esm/components/resizablepanel/resizablepanel.recipe.js +66 -0
  293. package/dist/esm/components/segmented/segmented.js +2 -2
  294. package/dist/esm/components/select/select.js +2 -2
  295. package/dist/esm/components/select/select.recipe.js +6 -6
  296. package/dist/esm/components/skeleton/skeleton.js +5 -2
  297. package/dist/esm/components/spinner/spinner.js +3 -2
  298. package/dist/esm/components/stagebar/stagebar.js +2 -2
  299. package/dist/esm/components/statcard/statcard.js +2 -2
  300. package/dist/esm/components/table/table.recipe.js +6 -6
  301. package/dist/esm/components/tabletoolbar/tabletoolbar.chrome.js +3 -3
  302. package/dist/esm/components/tabletoolbar/tabletoolbar.js +21 -13
  303. package/dist/esm/components/tabs/tabs.js +2 -2
  304. package/dist/esm/components/tabs/tabs.recipe.js +4 -4
  305. package/dist/esm/components/textarea/textarea.js +5 -5
  306. package/dist/esm/components/textarea/textarea.recipe.js +16 -4
  307. package/dist/esm/components/toast/toast.js +4 -4
  308. package/dist/esm/components/toast/toast.recipe.js +2 -2
  309. package/dist/esm/components/tooltip/tooltip.js +21 -7
  310. package/dist/esm/components/wheelpicker/index.js +2 -0
  311. package/dist/esm/components/wheelpicker/wheelpicker.js +98 -0
  312. package/dist/esm/components/wheelpicker/wheelpicker.recipe.js +92 -0
  313. package/dist/esm/index.js +5 -0
  314. package/dist/esm/product/appshell/appshell.js +33 -9
  315. package/dist/esm/product/appshell/appshell.recipe.js +4 -4
  316. package/dist/esm/product/authshell/authshell.js +18 -0
  317. package/dist/esm/product/authshell/authshell.recipe.js +64 -0
  318. package/dist/esm/product/authshell/index.js +2 -0
  319. package/dist/esm/product/board/board.js +2 -2
  320. package/dist/esm/product/board/board.recipe.js +1 -1
  321. package/dist/esm/product/command/command.js +19 -6
  322. package/dist/esm/product/command/command.recipe.js +27 -2
  323. package/dist/esm/product/entitycard/entitycard.js +2 -2
  324. package/dist/esm/product/entitycard/entitycard.recipe.js +2 -2
  325. package/dist/esm/product/flowcanvas/flowcanvas.js +4 -4
  326. package/dist/esm/product/inbox/inbox.recipe.js +1 -1
  327. package/dist/esm/product/listpage/listpage.recipe.js +3 -3
  328. package/dist/esm/product/navitem/navitem.recipe.js +13 -1
  329. package/dist/esm/product/onboarding/onboarding.js +2 -2
  330. package/dist/esm/product/onboarding/onboarding.recipe.js +2 -2
  331. package/dist/esm/product/recordpage/recordpage.js +133 -47
  332. package/dist/esm/product/recordpage/recordpage.recipe.js +19 -17
  333. package/dist/esm/product/recordpanel/recordpanel.js +4 -4
  334. package/dist/esm/product/recordpanel/recordpanel.recipe.js +12 -16
  335. package/dist/esm/product/recordstable/recordstable.js +157 -66
  336. package/dist/esm/product/recordstable/recordstable.recipe.js +23 -23
  337. package/dist/esm/product/recordstable/recordstable.tag.js +18 -0
  338. package/dist/esm/product/richtext/richtext.js +3 -3
  339. package/dist/esm/product/richtext/richtext.recipe.js +3 -3
  340. package/dist/esm/product/settingssection/settingssection.js +2 -2
  341. package/dist/esm/product/settingsshell/settingsshell.js +2 -2
  342. package/dist/esm/product/settingsshell/settingsshell.recipe.js +7 -2
  343. package/dist/esm/product/sidebar/sidebar.js +2 -2
  344. package/dist/esm/product/sidebar/sidebar.recipe.js +27 -2
  345. package/dist/esm/product/tasklist/tasklist.js +4 -4
  346. package/dist/esm/product/trialbanner/trialbanner.js +2 -2
  347. package/dist/esm/product/trialbanner/trialbanner.recipe.js +2 -2
  348. package/dist/esm/product/viewtoggle/viewtoggle.js +10 -2
  349. package/dist/esm/product/viewtoggle/viewtoggle.recipe.js +1 -1
  350. package/dist/esm/tokens/elevation.js +44 -0
  351. package/dist/esm/tokens/index.js +1 -0
  352. package/dist/esm/tokens/palette.js +30 -0
  353. package/dist/esm/tokens/scale.js +7 -0
  354. package/dist/esm/tokens/semantic.js +24 -0
  355. package/dist/inbox.css +9 -1
  356. package/dist/input.css +32 -4
  357. package/dist/linechart.css +5 -5
  358. package/dist/listpage.css +11 -3
  359. package/dist/menu.css +11 -3
  360. package/dist/multiselect.css +14 -6
  361. package/dist/native/tokens.d.ts +16 -0
  362. package/dist/native/tokens.js +221 -0
  363. package/dist/navitem.css +21 -1
  364. package/dist/onboarding.css +10 -2
  365. package/dist/popover.css +8 -0
  366. package/dist/progress.css +8 -0
  367. package/dist/radiogroup.css +9 -1
  368. package/dist/recordpage.css +22 -12
  369. package/dist/recordpanel.css +25 -15
  370. package/dist/recordstable.css +37 -23
  371. package/dist/resizablepanel.css +53 -0
  372. package/dist/resizablepanel.d.ts +7 -0
  373. package/dist/richtext.css +11 -3
  374. package/dist/segmented.css +8 -0
  375. package/dist/select.css +12 -4
  376. package/dist/settingsshell.css +15 -2
  377. package/dist/sidebar.css +34 -1
  378. package/dist/skeleton.css +8 -0
  379. package/dist/spinner.css +8 -0
  380. package/dist/stagebar.css +8 -0
  381. package/dist/styles.css +2061 -1111
  382. package/dist/switch.css +8 -0
  383. package/dist/table.css +14 -6
  384. package/dist/tabletoolbar.css +8 -0
  385. package/dist/tabs.css +12 -4
  386. package/dist/tasklist.css +8 -0
  387. package/dist/textarea.css +23 -3
  388. package/dist/toast.css +10 -2
  389. package/dist/tokens.css +29 -0
  390. package/dist/tokens.json +217 -0
  391. package/dist/tooltip.css +8 -0
  392. package/dist/trialbanner.css +8 -0
  393. package/dist/types/components/accordion/accordion.d.ts +10 -8
  394. package/dist/types/components/avatargroup/avatargroup.d.ts +2 -2
  395. package/dist/types/components/barchart/barchart.d.ts +4 -2
  396. package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
  397. package/dist/types/components/bulkbar/bulkbar.d.ts +4 -2
  398. package/dist/types/components/button/button.d.ts +8 -0
  399. package/dist/types/components/button/button.recipe.d.ts +12 -0
  400. package/dist/types/components/callout/callout.d.ts +2 -2
  401. package/dist/types/components/columncalc/columncalc.d.ts +49 -0
  402. package/dist/types/components/columncalc/columncalc.recipe.d.ts +3 -0
  403. package/dist/types/components/columncalc/index.d.ts +1 -0
  404. package/dist/types/components/datatable/datatable.d.ts +58 -3
  405. package/dist/types/components/datepicker/datepicker.d.ts +41 -18
  406. package/dist/types/components/datepicker/datepicker.recipe.d.ts +25 -2
  407. package/dist/types/components/datepicker/index.d.ts +1 -1
  408. package/dist/types/components/datepickerfield/datepickerfield.d.ts +35 -0
  409. package/dist/types/components/datepickerfield/datepickerfield.recipe.d.ts +5 -0
  410. package/dist/types/components/datepickerfield/index.d.ts +2 -0
  411. package/dist/types/components/dialog/dialog.d.ts +3 -1
  412. package/dist/types/components/divider/divider.d.ts +2 -2
  413. package/dist/types/components/donutchart/donutchart.d.ts +2 -2
  414. package/dist/types/components/drawer/drawer.d.ts +3 -1
  415. package/dist/types/components/emptystate/emptystate.d.ts +2 -2
  416. package/dist/types/components/formfield/formfield.d.ts +7 -4
  417. package/dist/types/components/input/input.d.ts +8 -2
  418. package/dist/types/components/linechart/linechart.d.ts +4 -2
  419. package/dist/types/components/menu/index.d.ts +1 -0
  420. package/dist/types/components/menu/menu-keyboard.d.ts +33 -0
  421. package/dist/types/components/menu/menu.d.ts +7 -1
  422. package/dist/types/components/multiselect/multiselect.d.ts +8 -4
  423. package/dist/types/components/popover/popover.d.ts +4 -1
  424. package/dist/types/components/progress/progress.d.ts +2 -2
  425. package/dist/types/components/radiogroup/radiogroup.d.ts +2 -2
  426. package/dist/types/components/resizablepanel/index.d.ts +2 -0
  427. package/dist/types/components/resizablepanel/resizablepanel.d.ts +75 -0
  428. package/dist/types/components/resizablepanel/resizablepanel.recipe.d.ts +3 -0
  429. package/dist/types/components/segmented/segmented.d.ts +2 -2
  430. package/dist/types/components/select/select.d.ts +2 -2
  431. package/dist/types/components/skeleton/skeleton.d.ts +2 -2
  432. package/dist/types/components/spinner/spinner.d.ts +2 -2
  433. package/dist/types/components/stagebar/stagebar.d.ts +2 -2
  434. package/dist/types/components/statcard/statcard.d.ts +2 -2
  435. package/dist/types/components/tabletoolbar/tabletoolbar.d.ts +28 -2
  436. package/dist/types/components/tabs/tabs.d.ts +2 -2
  437. package/dist/types/components/toast/toast.d.ts +7 -1
  438. package/dist/types/components/tooltip/tooltip.d.ts +8 -1
  439. package/dist/types/components/wheelpicker/index.d.ts +2 -0
  440. package/dist/types/components/wheelpicker/wheelpicker.d.ts +37 -0
  441. package/dist/types/components/wheelpicker/wheelpicker.recipe.d.ts +26 -0
  442. package/dist/types/index.d.ts +5 -0
  443. package/dist/types/product/appshell/appshell.d.ts +16 -2
  444. package/dist/types/product/authshell/authshell.d.ts +28 -0
  445. package/dist/types/product/authshell/authshell.recipe.d.ts +3 -0
  446. package/dist/types/product/authshell/index.d.ts +2 -0
  447. package/dist/types/product/board/board.d.ts +2 -2
  448. package/dist/types/product/command/command.d.ts +25 -1
  449. package/dist/types/product/entitycard/entitycard.d.ts +2 -2
  450. package/dist/types/product/flowcanvas/flowcanvas.d.ts +9 -1
  451. package/dist/types/product/onboarding/onboarding.d.ts +7 -1
  452. package/dist/types/product/recordpage/recordpage.d.ts +65 -1
  453. package/dist/types/product/recordpanel/recordpanel.d.ts +8 -2
  454. package/dist/types/product/recordstable/recordstable.d.ts +90 -1
  455. package/dist/types/product/recordstable/recordstable.tag.d.ts +10 -0
  456. package/dist/types/product/richtext/richtext.d.ts +5 -1
  457. package/dist/types/product/settingssection/settingssection.d.ts +2 -2
  458. package/dist/types/product/settingsshell/settingsshell.d.ts +6 -2
  459. package/dist/types/product/sidebar/sidebar.d.ts +8 -0
  460. package/dist/types/product/tasklist/tasklist.d.ts +5 -1
  461. package/dist/types/product/trialbanner/trialbanner.d.ts +2 -2
  462. package/dist/types/product/viewtoggle/viewtoggle.d.ts +11 -5
  463. package/dist/types/tokens/contract.d.ts +14 -3
  464. package/dist/types/tokens/elevation.d.ts +44 -0
  465. package/dist/types/tokens/index.d.ts +1 -0
  466. package/dist/types/tokens/palette.d.ts +40 -0
  467. package/dist/types/tokens/scale.d.ts +7 -0
  468. package/dist/types/tokens/semantic.d.ts +19 -0
  469. package/dist/viewtoggle.css +9 -1
  470. package/dist/wheelpicker.css +68 -0
  471. package/dist/wheelpicker.d.ts +7 -0
  472. package/package.json +160 -68
package/dist/styles.css CHANGED
@@ -2,6 +2,7 @@
2
2
  --bg-brand-solid: #266df0;
3
3
  --bg-brand-solid-pressed: #1f5fd6;
4
4
  --fg-on-brand: #ffffff;
5
+ --fg-on-tone: #101112;
5
6
  --bg-surface: #ffffff;
6
7
  --bg-raised: #f4f4f5;
7
8
  --border-default: #e4e4e7;
@@ -21,18 +22,29 @@
21
22
  --fg-primary: #101112;
22
23
  --fg-muted: #71717a;
23
24
  --bg-danger: #e5484d;
25
+ --bg-danger-solid: #ba2525;
26
+ --stroke-field-focus: #1a1c20;
27
+ --fg-disabled: #d1d3d8;
28
+ --bg-neutral-weak: #f3f4f5;
29
+ --bg-neutral-inverted: #2a3038;
30
+ --fg-on-neutral-inverted: #ffffff;
31
+ --fg-neutral-subtle: #868b94;
32
+ --fg-neutral-muted: #555d6d;
33
+ --stroke-focus-ring: #1e82eb;
24
34
  --bg-success: #1f9d57;
25
35
  --bg-warning: #b5730f;
26
36
  --bg-orange: #f97514;
27
37
  --bg-cyan: #00b9eb;
28
38
  --bg-purple: #9b69ff;
29
39
  --bg-sidebar: #fbfbfb;
40
+ --bg-subtle: #fbfbfb;
30
41
  }
31
42
 
32
43
  [data-theme="dark"] {
33
44
  --bg-brand-solid: #266df0;
34
45
  --bg-brand-solid-pressed: #1f5fd6;
35
46
  --fg-on-brand: #ffffff;
47
+ --fg-on-tone: #101112;
36
48
  --bg-surface: #0a0a0a;
37
49
  --bg-raised: #101112;
38
50
  --border-default: #212224;
@@ -52,12 +64,22 @@
52
64
  --fg-primary: #f5f5f5;
53
65
  --fg-muted: #9a9aa2;
54
66
  --bg-danger: #ff5a5f;
67
+ --bg-danger-solid: #ba2525;
68
+ --stroke-field-focus: #f3f4f5;
69
+ --fg-disabled: #5b606a;
70
+ --bg-neutral-weak: #1d2025;
71
+ --bg-neutral-inverted: #f3f4f5;
72
+ --fg-on-neutral-inverted: #16171b;
73
+ --fg-neutral-subtle: #b0b3ba;
74
+ --fg-neutral-muted: #dcdee3;
75
+ --stroke-focus-ring: #5e98fe;
55
76
  --bg-success: #2ea968;
56
77
  --bg-warning: #e0982a;
57
78
  --bg-orange: #f97514;
58
79
  --bg-cyan: #00b9eb;
59
80
  --bg-purple: #9b69ff;
60
81
  --bg-sidebar: #0e0f10;
82
+ --bg-subtle: #0e0f10;
61
83
  }
62
84
 
63
85
  :root {
@@ -72,6 +94,7 @@
72
94
  --space-0-5: 2px;
73
95
  --space-1-5: 6px;
74
96
  --space-2-5: 10px;
97
+ --radius-chip: 7px;
75
98
  --radius-sm: 6px;
76
99
  --radius-md: 8px;
77
100
  --radius-lg: 9px;
@@ -79,9 +102,14 @@
79
102
  --radius-2xl: 16px;
80
103
  --radius-full: 999px;
81
104
  --size-icon: 16px;
105
+ --size-chip: 22px;
82
106
  --size-row: 28px;
107
+ --size-menuRow: 32px;
83
108
  --size-tableRow: 36px;
109
+ --size-tableHeader: 40px;
84
110
  --size-header: 48px;
111
+ --size-calendarCell: 48px;
112
+ --size-calendarPill: 42px;
85
113
  --text-xs: 11px;
86
114
  --text-sm: 12px;
87
115
  --text-md: 13px;
@@ -90,447 +118,840 @@
90
118
  --weight-regular: 400;
91
119
  --weight-medium: 500;
92
120
  --weight-semibold: 600;
121
+ --weight-bold: 700;
93
122
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
94
123
  }
95
124
 
96
- .radiogroup {
97
-
98
- display: flex; flex-direction: column; gap: var(--space-1); font-family: var(--font-sans);
99
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
100
-
101
- & .radio { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-1) var(--space-1); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
102
- & .radio:disabled { opacity: 0.5; cursor: not-allowed; }
103
- & .radio:focus-visible { outline: none; }
104
- & .radio-dot { position: relative; flex-shrink: 0; width: 16px; height: 16px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1.5px var(--border-default); transition: box-shadow .12s ease; }
105
- & .radio:hover .radio-dot { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg-primary) 40%, transparent); }
106
- & .radio[data-checked] .radio-dot { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
107
- & .radio[data-checked] .radio-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--bg-brand-solid); }
108
- & .radio:focus-visible .radio-dot { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
109
- & .radio-label { min-width: 0; }
125
+ @keyframes crisp-skeleton { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
126
+ .skeleton {
127
+ display: block; background: color-mix(in srgb, var(--fg-primary) 8%, transparent); border-radius: var(--radius-md); animation: crisp-skeleton 1.4s ease-in-out infinite;
128
+ &[data-circle] { border-radius: var(--radius-full); }
129
+ }
110
130
 
111
- &[data-variant="card"] { flex-direction: row; flex-wrap: wrap; gap: var(--space-3); }
112
- &[data-variant="card"] .radio { flex: 1 1 150px; min-width: 150px; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: var(--radius-2xl); box-shadow: inset 0 0 0 1px var(--border-default); overflow: hidden; transition: box-shadow .12s ease; }
113
- &[data-variant="card"] .radio:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 22%, transparent); }
114
- &[data-variant="card"] .radio[data-checked] { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
115
- &[data-variant="card"] .radio-preview { flex: 1; min-height: 0; background: var(--bg-raised); }
116
- &[data-variant="card"] .radio-cardfoot { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2-5); border-top: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); }
117
-
131
+ @media (prefers-reduced-motion: reduce) {
132
+ .skeleton, .skeleton * {
133
+ animation-duration: 0.01ms !important;
134
+ animation-iteration-count: 1 !important;
135
+ transition-duration: 0.01ms !important;
136
+ }
118
137
  }
119
138
 
120
- .tabs {
139
+ .datepickerfield {
121
140
 
122
- display: flex; flex-direction: column; min-height: 0; font-family: var(--font-sans);
123
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
124
-
125
- & .tabs-list { position: relative; display: flex; align-items: center; gap: var(--space-1); height: 40px; flex-shrink: 0; box-shadow: inset 0 -1px 0 var(--border-subtle); }
126
- & .tabs-leading { display: inline-flex; align-items: center; margin-right: var(--space-1); }
127
- & .tabs-tab { position: relative; display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; margin: 0; padding: 0 var(--space-2); border: none; background: none; box-shadow: inset 0 0 0 1px transparent; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-muted); cursor: pointer; white-space: nowrap; transition: color .12s ease, background-color .12s ease, box-shadow .12s ease; }
128
- & .tabs-tab svg { flex-shrink: 0; opacity: 0.85; }
129
- & .tabs-tab:hover:not([data-selected]) { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
130
- & .tabs-tab[data-selected] { color: var(--fg-primary); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border-subtle); }
131
- & .tabs-tab:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
132
- & .tabs-tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); }
133
- & .tabs-tab[data-selected] .tabs-tab-badge { color: var(--fg-primary); }
134
- & .tabs-indicator { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--fg-primary); border-radius: 2px 2px 0 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); pointer-events: none; }
135
- & .tabs-panel { flex: 1; min-height: 0; }
136
- & .tabs-panel:focus-visible { outline: none; }
141
+ display: inline-flex; font-family: var(--font-sans);
142
+
143
+ & .datepickerfield-trigger {
144
+ display: inline-flex; align-items: center; gap: var(--space-2);
145
+ box-sizing: border-box; height: 32px; padding: 0 var(--space-2-5); margin: 0;
146
+ border: none; border-radius: var(--radius-md); background: transparent;
147
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
148
+ color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg);
149
+ white-space: nowrap; cursor: pointer;
150
+ }
151
+ & .datepickerfield-trigger[data-ghost] { background: transparent; box-shadow: none; }
152
+ & .datepickerfield-trigger[data-ghost]:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
153
+ & .datepickerfield-trigger[data-placeholder] { color: var(--fg-muted); }
154
+ & .datepickerfield-trigger svg { flex-shrink: 0; color: var(--fg-muted); }
155
+
156
+ & .datepickerfield-panel { padding: var(--space-2); width: 300px; }
157
+ & .datepickerfield-presets { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }
158
+ & .datepickerfield-preset {
159
+ height: var(--size-chip); padding: 0 var(--space-2); border: none;
160
+ border-radius: var(--radius-chip); background: var(--bg-raised); color: var(--fg-primary);
161
+ font-family: inherit; font-size: var(--text-sm); cursor: pointer;
162
+ }
163
+ & .datepickerfield-preset:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); }
137
164
 
138
165
  }
139
166
 
140
- .kbd {
141
- box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-0-5); min-width: 20px; height: 20px; padding-inline: var(--space-1); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-regular); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent);
167
+ .checkbox {
168
+ appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-sm)
169
+ ; background: var(--bg-surface)
170
+ ; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary)
171
+ 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; &:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
172
+ &:checked, &:indeterminate { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; }
173
+ &:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
174
+ &:indeterminate { background-image: linear-gradient(var(--fg-on-brand), var(--fg-on-brand)); background-size: 8px 2px; }
175
+ &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
176
+
142
177
  }
143
178
 
144
- .avatargroup {
145
- display: inline-flex; align-items: center;
146
- & > * { margin-left: -var(--space-2); box-shadow: 0 0 0 2px var(--bg-surface); position: relative; }
147
- & > *:first-child { margin-left: 0; }
179
+ @media (prefers-reduced-motion: reduce) {
180
+ .checkbox, .checkbox * {
181
+ animation-duration: 0.01ms !important;
182
+ animation-iteration-count: 1 !important;
183
+ transition-duration: 0.01ms !important;
184
+ }
148
185
  }
149
186
 
150
- .drawer {
151
- display: contents; font-family: var(--font-sans);
152
- & .drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--fg-primary) 18%, transparent); opacity: 1; transition: opacity 0.2s ease; @starting-style { opacity: 0; } }
153
- & .drawer-positioner { position: fixed; inset: 0; z-index: 61; display: flex; }
154
- & .drawer-positioner[data-side="right"] { justify-content: flex-end; }
155
- & .drawer-positioner[data-side="left"] { justify-content: flex-start; }
156
- & .drawer-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 420px; max-width: 92vw; height: 100%; background: var(--bg-surface); transform: none; transition: transform 0.24s cubic-bezier(.32,.72,0,1); }
157
- & .drawer-positioner[data-side="right"] .drawer-content { box-shadow: -12px 0 32px -8px rgba(28,40,64,0.18); @starting-style { transform: translateX(100%); } }
158
- & .drawer-positioner[data-side="left"] .drawer-content { box-shadow: 12px 0 32px -8px rgba(28,40,64,0.18); @starting-style { transform: translateX(-100%); } }
159
- & .drawer-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
160
- & .drawer-header svg { flex-shrink: 0; color: var(--fg-muted); }
161
- & .drawer-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
162
- & .drawer-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; }
163
- & .drawer-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
164
- & .drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-4); }
165
- & .drawer-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
187
+ .datatable {
188
+ display: flex; flex-direction: column; gap: var(--space-2-5); font-family: var(--font-sans);
189
+ & .datatable-toolbar { display: flex; align-items: center; gap: var(--space-2); }
190
+ & .datatable-search { position: relative; flex: 1; max-width: 280px; display: inline-flex; align-items: center; }
191
+ & .datatable-search svg { position: absolute; inset-inline-start: var(--space-2); color: var(--fg-muted); pointer-events: none; }
192
+ & .datatable-search input { width: 100%; height: 32px; padding: 0 var(--space-2) 0 var(--space-6); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; transition: box-shadow .15s; }
193
+ & .datatable-search input::placeholder { color: var(--fg-muted); }
194
+ & .datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
195
+ & .datatable-count { margin-inline-start: auto; font-size: var(--text-md); color: var(--fg-muted); }
196
+ /* Attio's header cell has no padding of its own -- the button owns the
197
+ full cell so the whole header is clickable (its own inset is 12px).
198
+ Mirrors the summary-row fix. */
199
+ & th { padding: 0; }
200
+ /* Same wrapper trap as AUTHORING.md Lesson 40 (ColumnCalc's summary trigger):
201
+ Menu wraps its trigger in a flex div that sizes to its content, so a
202
+ long header grew past the column instead of filling it -- with nothing
203
+ left to squeeze, the label's own ellipsis CSS (below) had no properly
204
+ -sized box to truncate against, and the th's own overflow hard-clipped
205
+ it with no "...". Fill the wrapper, scoped to th so Menu's default
206
+ (correct everywhere else) is untouched. */
207
+ & th .menu { width: 100%; height: 100%; }
208
+ & .datatable-th-inner { display: inline-flex; align-items: center; gap: var(--space-1-5); width: 100%; min-width: 0; height: 100%; }
209
+ & .datatable-th-inner > svg { flex-shrink: 0; color: var(--fg-muted); }
210
+ /* Attio's summary cell has NO padding of its own -- the calculation trigger
211
+ owns the whole 246x37 area so a click anywhere in the cell opens the
212
+ menu. Zero the cell's inset and let ColumnCalc supply the 12px. */
213
+ & tfoot td { padding: 0; }
214
+ /* Group heading row -- Attio groups a view under a subtle label with the
215
+ bucket's count beside it. */
216
+ & .datatable-viewsettings { display: inline-flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s, color .12s; }
217
+ & .datatable-viewsettings:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
218
+ & .datatable-group-label { padding: var(--space-1-5) var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
219
+ & .datatable-group { height: var(--size-menuRow); padding: 0 var(--space-3); background: var(--bg-subtle); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
220
+ & .datatable-group-count { margin-inline-start: var(--space-1-5); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
221
+ & .datatable-th-rename { width: 100%; min-width: 0; height: var(--size-row); margin: 0; padding: 0 var(--space-1); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); outline: none; }
222
+ & .datatable-th-rename:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
223
+ & .datatable-th-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
224
+ & .datatable-sort { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: start; cursor: pointer; }
225
+ & th[data-align="right"] .datatable-sort { justify-content: flex-end; }
226
+ & .datatable-chevron { margin-inline-start: auto; flex-shrink: 0; color: var(--fg-muted); opacity: 0; transition: opacity .12s; }
227
+ & th[data-align="right"] .datatable-chevron { margin-inline-start: 0; }
228
+ & .datatable-sort:hover .datatable-chevron { opacity: 0.6; }
229
+ & .datatable-sort[data-sorted] .datatable-chevron { opacity: 1; color: var(--fg-primary); }
230
+ /* sticky first column(s) + horizontal scroll shadow — RecordsTable's feel */
231
+ & th[data-sticky], & td[data-sticky] { position: sticky; z-index: 1; background: var(--bg-surface); }
232
+ & th[data-sticky] { z-index: 3; }
233
+ & tbody tr[data-selected] td[data-sticky] { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
234
+ & tbody tr:hover td[data-sticky] { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
235
+ & .table-scroll[data-scrolled-x] [data-sticky-edge] { clip-path: inset(0 -38px 0 0); box-shadow: 6px 0 16px 4px rgba(0,0,0,0.12); }
236
+ /* add-row + summary footer */
237
+ & .datatable-addcell { padding: 0; border-top: none; }
238
+ & .datatable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; transition: background-color .12s; }
239
+ & .datatable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
240
+ & .datatable-addrow svg { flex-shrink: 0; }
241
+ & .datatable-check { display: flex; align-items: center; justify-content: center; }
242
+ & .datatable-col-check { width: 40px; padding: 0; text-align: center; }
243
+ & tbody tr[data-selected] td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
244
+ & tbody tr[data-selected]:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface))); }
245
+ & .datatable-editable:hover { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); cursor: text; }
246
+ & .datatable-edit { width: 100%; height: 28px; margin: 0; padding: 0 var(--space-1-5); border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; vertical-align: middle; }
247
+ & .datatable-edit:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
248
+ & .datatable-empty { padding: var(--space-8) var(--space-3); text-align: center; color: var(--fg-muted); font-size: var(--text-lg); }
249
+ /* fixed layout so column widths (and resize) are exact — like RecordsTable */
250
+ & table { table-layout: fixed; }
251
+ /* column resize grip */
252
+ & .datatable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
253
+ & .datatable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
254
+ & .datatable-resize:hover::after, & .datatable-resize[data-resizing]::after { opacity: 1; }
255
+ /* typed cells — entity (avatar + name), colour-coded tags, numbers, dates */
256
+ & .datatable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); }
257
+ & .datatable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
258
+ & .datatable-avatar { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: var(--weight-semibold); text-transform: uppercase; color: var(--fg-on-brand); background: var(--bg-brand-solid); }
259
+ & .datatable-avatar[data-tone="success"] { background: var(--bg-success); } & .datatable-avatar[data-tone="warning"] { background: var(--bg-warning); } & .datatable-avatar[data-tone="danger"] { background: var(--bg-danger); } & .datatable-avatar[data-tone="purple"] { background: var(--bg-purple); } & .datatable-avatar[data-tone="cyan"] { background: var(--bg-cyan); } & .datatable-avatar[data-tone="orange"] { background: var(--bg-orange); }
260
+ & .datatable-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
261
+ & .datatable-tags { display: flex; align-items: center; gap: var(--space-1); overflow: hidden; }
262
+ & .datatable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
263
+ & .datatable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
264
+ & .datatable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
265
+ & .datatable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
266
+ & .datatable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
267
+ & .datatable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
268
+ & .datatable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
269
+ & .datatable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
270
+ & .datatable-num { font-variant-numeric: tabular-nums; }
271
+ & .datatable-muted { color: var(--fg-muted); }
272
+ /* row drag-to-reorder -- Attio's Settings > Objects > Attributes measures
273
+ a leading 20px grip column, a 16px grip icon, and the row's own
274
+ hairline doubling as the drop indicator (it tints toward the brand
275
+ colour as the active drop target). The affordance + geometry are
276
+ measured; the drag MECHANISM is crisp's existing house idiom -- HTML5
277
+ draggable + dataTransfer, the same one column reorder already uses
278
+ (RecordsTable's reorderColumn) -- not Attio's own proprietary
279
+ pointer-events implementation. */
280
+ & .datatable-col-grip { width: 20px; padding: 0; text-align: center; }
281
+ & .datatable-grip { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; border: none; border-radius: 0; background: none; font-family: inherit; color: var(--fg-muted); cursor: grab; }
282
+ & .datatable-grip:active { cursor: grabbing; }
283
+ & tbody tr[data-drop-target] td, & tbody tr[data-drop-target] th { box-shadow: inset 0 2px 0 0 var(--bg-brand-solid); transition: box-shadow .12s; }
284
+ }
285
+
286
+ @media (prefers-reduced-motion: reduce) {
287
+ .datatable, .datatable * {
288
+ animation-duration: 0.01ms !important;
289
+ animation-iteration-count: 1 !important;
290
+ transition-duration: 0.01ms !important;
291
+ }
292
+ }
293
+
294
+ .columncalc {
295
+ display: flex; align-items: stretch; width: 100%; height: 100%; font-family: var(--font-sans);
296
+ /* Menu wraps its trigger in a flex div that sizes to content, which would
297
+ shrink the button back to its text. Make the wrapper fill too, so the
298
+ whole cell stays clickable. */
299
+ & .menu { width: 100%; height: 100%; }
300
+ /* Attio's hit target is the WHOLE summary cell -- measured 246x37 with
301
+ padding 0 12px, not a content-sized chip. Clicking anywhere in the cell
302
+ opens the aggregation menu. */
303
+ & .columncalc-trigger { display: flex; align-items: center; gap: var(--space-1); width: 100%; height: 100%; min-height: var(--size-tableRow); margin: 0; padding: 0 var(--space-3); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s, color .12s; }
304
+ & .columncalc-trigger:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
305
+ & .columncalc-trigger svg { flex-shrink: 0; opacity: 0.7; }
306
+ & .columncalc-trigger[data-align="right"] { justify-content: flex-end; }
307
+ & .columncalc-placeholder { overflow: hidden; text-overflow: ellipsis; }
308
+ & .columncalc-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; }
309
+ & .columncalc-op { color: var(--fg-muted); }
310
+ & .columncalc-section { padding: var(--space-1-5) var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
311
+ }
312
+
313
+ @media (prefers-reduced-motion: reduce) {
314
+ .columncalc, .columncalc * {
315
+ animation-duration: 0.01ms !important;
316
+ animation-iteration-count: 1 !important;
317
+ transition-duration: 0.01ms !important;
318
+ }
166
319
  }
167
320
 
168
- .tooltip {
169
- position: fixed; z-index: 70; box-sizing: border-box; pointer-events: none; max-width: 260px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: #20242c; color: #fff; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.45; box-shadow: 0 4px 14px -2px rgba(28,40,64,0.28), 0 0 0 1px rgba(255,255,255,0.04); opacity: 1; transition: opacity 0.12s ease; @starting-style { opacity: 0; }
321
+ .kbd {
322
+ box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-0-5); min-width: 20px; height: 20px; padding-inline: var(--space-1); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--weight-regular); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent);
170
323
  }
171
324
 
172
- .card {
173
- display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); font-family: var(--font-sans); color: var(--fg-primary);
174
- & .card-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
175
- & .card-header svg { flex-shrink: 0; color: var(--fg-muted); }
176
- & .card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
177
- & .card-body { flex: 1; min-height: 0; padding: var(--space-4); }
178
- & .card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-subtle); }
325
+ .avatar {
326
+ display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-sans); font-weight: var(--weight-semibold); overflow: hidden; user-select: none; & img { width: 100%; height: 100%; object-fit: cover; }
179
327
  }
180
- .card--raised_true {
181
- box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
328
+ .avatar--size_sm {
329
+ height: 16px; width: 16px; font-size: 9px;
182
330
  }
183
- .card--raised_false {
184
-
331
+ .avatar--size_md {
332
+ height: 20px; width: 20px; font-size: 10px;
185
333
  }
186
- .card--interactive_true {
187
- cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
334
+ .avatar--size_lg {
335
+ height: 24px; width: 24px; font-size: var(--text-sm);
188
336
  }
189
- .card--interactive_false {
190
-
337
+ .avatar--size_xl {
338
+ height: 32px; width: 32px; font-size: var(--text-lg);
191
339
  }
192
-
193
- .barchart {
194
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
195
- & .barchart-body { display: flex; flex: 1; min-height: 0; }
196
- & .barchart-yaxis { position: relative; flex-shrink: 0; width: 34px; }
197
- & .barchart-ytick { position: absolute; right: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
198
- & .barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--space-3); border-bottom: 1px solid var(--border-default); }
199
- & .barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
200
- & .barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
201
- & .barchart-bar { width: 100%; max-width: 96px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-brand-solid); transition: height 0.3s ease; }
202
- & .barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
203
- & .barchart-xaxis { display: flex; gap: var(--space-3); margin-top: var(--space-1-5); }
204
- & .barchart-xaxis[data-inset] { padding-left: 34px; }
205
- & .barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
206
- & .barchart-axis-title { margin-top: var(--space-1); padding-left: 34px; text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
340
+ .avatar--shape_circle {
341
+ border-radius: var(--radius-full);
207
342
  }
208
-
209
- .progress {
210
- display: block; box-sizing: border-box; height: 6px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden;
211
- & .progress-fill { display: block; height: 100%; border-radius: var(--radius-full); background: var(--bg-brand-solid); transition: width 0.25s ease; }
212
- &[data-segmented] { display: flex; gap: var(--space-1); background: transparent; overflow: visible; }
213
- &[data-segmented] .progress-seg { flex: 1; height: 100%; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); transition: background 0.2s; }
214
- &[data-segmented] .progress-seg[data-filled] { background: var(--bg-brand-solid); }
343
+ .avatar--shape_rounded {
344
+ border-radius: 30%;
215
345
  }
216
-
217
- .input {
218
- box-sizing: border-box; display: inline-flex; width: 100%; font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary); background: var(--bg-surface); border: none; outline: none; box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); transition: box-shadow .15s; &::placeholder { color: var(--fg-muted); } &:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); } &:disabled { opacity: 0.5; cursor: not-allowed; }
346
+ .avatar--tone_neutral {
347
+ background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
219
348
  }
220
- .input--size_medium {
221
- height: 32px; padding-inline: var(--space-2-5); border-radius: var(--radius-md);
349
+ .avatar--tone_brand {
350
+ background: var(--bg-brand-solid); color: #fff;
222
351
  }
223
- .input--size_large {
224
- height: 36px; padding-inline: var(--space-3); border-radius: 10px;
352
+ .avatar--tone_orange {
353
+ background: var(--bg-orange); color: #fff;
225
354
  }
226
- .input--invalid_true {
227
- box-shadow: inset 0 0 0 1px var(--bg-danger); &:focus { box-shadow: inset 0 0 0 1px var(--bg-danger); }
355
+ .avatar--tone_cyan {
356
+ background: var(--bg-cyan); color: #fff;
228
357
  }
229
- .input--invalid_false {
230
-
358
+ .avatar--tone_purple {
359
+ background: var(--bg-purple); color: #fff;
231
360
  }
232
-
233
- .accordion {
234
- display: flex; flex-direction: column; font-family: var(--font-sans);
235
- & .accordion-item { border-bottom: 1px solid var(--border-subtle); }
236
- & .accordion-trigger { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 44px; padding: 0 var(--space-1); margin: 0; border: none; background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); text-align: left; cursor: pointer; }
237
- & .accordion-trigger:hover { color: var(--fg-primary); }
238
- & .accordion-title { flex: 1; min-width: 0; }
239
- & .accordion-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .2s ease; }
240
- & .accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
241
- & .accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
242
- & .accordion-panel[data-open] { grid-template-rows: 1fr; }
243
- & .accordion-panel-inner { overflow: hidden; }
244
- & .accordion-content { padding: 0 var(--space-1) var(--space-3); font-size: var(--text-md); color: var(--fg-muted); }
361
+ .avatar--tone_green {
362
+ background: var(--bg-success); color: #fff;
245
363
  }
246
364
 
247
- @keyframes crisp-skeleton { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
248
- .skeleton {
249
- display: block; background: color-mix(in srgb, var(--fg-primary) 8%, transparent); border-radius: var(--radius-md); animation: crisp-skeleton 1.4s ease-in-out infinite;
250
- &[data-circle] { border-radius: var(--radius-full); }
365
+ .breadcrumb {
366
+ display: flex; align-items: center; gap: var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-lg);
367
+ & .breadcrumb-item { display: inline-flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--space-1); border-radius: var(--radius-md); color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
368
+ & .breadcrumb-item svg { flex-shrink: 0; }
369
+ & a.breadcrumb-item:hover, & button.breadcrumb-item:hover { color: var(--fg-primary); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); }
370
+ & button.breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
371
+ & .breadcrumb-item[aria-current] { color: var(--fg-primary); font-weight: var(--weight-medium); }
372
+ & .breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 28%, transparent); }
251
373
  }
252
374
 
253
- .segmented {
254
- position: relative; display: inline-flex; align-items: center; gap: var(--space-0-5); box-sizing: border-box; padding: var(--space-0-5); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); font-family: var(--font-sans);
255
- & .segmented-thumb { position: absolute; top: var(--space-0-5); left: 0; height: 26px; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.06); pointer-events: none; z-index: 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); }
256
- & .segmented-item { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 26px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: color 0.15s ease; }
257
- & .segmented-item svg { flex-shrink: 0; }
258
- & .segmented-item:hover { color: var(--fg-primary); }
259
- & .segmented-item[data-selected] { color: var(--fg-primary); }
260
- & .segmented-item[disabled] { opacity: 0.4; cursor: default; }
261
- & .segmented-item--icon { width: 26px; padding: 0; }
375
+ .avatargroup {
376
+ display: inline-flex; align-items: center;
377
+ & > * { margin-inline-start: -var(--space-2); box-shadow: 0 0 0 2px var(--bg-surface); position: relative; }
378
+ & > *:first-child { margin-inline-start: 0; }
262
379
  }
263
380
 
264
- .datepicker {
265
- display: contents; font-family: var(--font-sans);
266
- & .datepicker-trigger { display: inline-flex; align-items: center; gap: var(--space-2); box-sizing: border-box; height: 32px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent); color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); white-space: nowrap; cursor: pointer; }
267
- & .datepicker-trigger[data-ghost] { background: transparent; box-shadow: none; }
268
- & .datepicker-trigger[data-ghost]:hover { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
269
- & .datepicker-trigger[data-placeholder] { color: var(--fg-muted); }
270
- & .datepicker-trigger svg { flex-shrink: 0; color: var(--fg-muted); }
271
- & .datepicker-cal { width: 244px; }
272
- & .datepicker-head { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 var(--space-1); }
273
- & .datepicker-title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--fg-primary); }
274
- & .datepicker-nav { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; }
275
- & .datepicker-nav:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
276
- & .datepicker-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: var(--space-1); }
277
- & .datepicker-dow { display: flex; align-items: center; justify-content: center; height: 24px; font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); }
278
- & .datepicker-day { display: flex; align-items: center; justify-content: center; height: 30px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); cursor: pointer; }
279
- & .datepicker-day:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
280
- & .datepicker-day[data-outside] { color: var(--fg-muted); opacity: 0.5; }
281
- & .datepicker-day[data-today] { box-shadow: inset 0 0 0 1px var(--border-default); }
282
- & .datepicker-day[data-selected] { background: var(--bg-brand-solid); color: var(--fg-on-brand); }
283
- & .datepicker-day[data-selected]:hover { background: var(--bg-brand-solid-pressed); }
284
- }
381
+ .tabs {
382
+
383
+ display: flex; flex-direction: column; min-height: 0; font-family: var(--font-sans);
384
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
285
385
 
286
- .toast {
287
- display: contents; font-family: var(--font-sans);
288
- & .toast-viewport { position: fixed; z-index: 80; right: var(--space-4); bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); width: 360px; max-width: calc(100vw - var(--space-8)); pointer-events: none; }
289
- & .toast { pointer-events: auto; display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 5%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10); opacity: 1; transform: translateY(0); transition: opacity 0.15s ease, transform 0.15s ease; @starting-style { opacity: 0; transform: translateY(8px); } }
290
- & .toast-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
291
- & .toast[data-tone="info"] .toast-icon { color: var(--bg-brand-solid); }
292
- & .toast[data-tone="success"] .toast-icon { color: var(--bg-success); }
293
- & .toast[data-tone="warning"] .toast-icon { color: var(--bg-warning); }
294
- & .toast[data-tone="danger"] .toast-icon { color: var(--bg-danger); }
295
- & .toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
296
- & .toast-title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--fg-primary); }
297
- & .toast-desc { font-size: var(--text-md); color: var(--fg-muted); }
298
- & .toast-action { align-self: flex-start; margin-top: var(--space-1-5); height: 24px; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; }
299
- & .toast-action:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); }
300
- & .toast-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -2px 0 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; }
301
- & .toast-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
386
+ & .tabs-list { position: relative; display: flex; align-items: center; gap: var(--space-1); height: var(--size-row); flex-shrink: 0; }
387
+ & .tabs-leading { display: inline-flex; align-items: center; margin-inline-end: var(--space-1); }
388
+ & .tabs-tab { position: relative; display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; margin: 0; padding: 0 var(--space-2); border: none; background: none; box-shadow: inset 0 0 0 1px transparent; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-muted); cursor: pointer; white-space: nowrap; transition: color .12s ease, background-color .12s ease, box-shadow .12s ease; }
389
+ & .tabs-tab svg { flex-shrink: 0; opacity: 0.85; }
390
+ & .tabs-tab:hover:not([data-selected]) { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary); }
391
+ & .tabs-tab[data-selected] { color: var(--fg-primary); background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-subtle); }
392
+ & .tabs-tab:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
393
+ & .tabs-tab-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--fg-muted); }
394
+ & .tabs-tab[data-selected] .tabs-tab-badge { color: var(--fg-primary); }
395
+ & .tabs-indicator { position: absolute; bottom: calc(-1 * var(--space-2)); left: 0; height: 1px; background: var(--fg-primary); border-radius: 2px 2px 0 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); pointer-events: none; }
396
+ & .tabs-panel { flex: 1; min-height: 0; }
397
+ & .tabs-panel:focus-visible { outline: none; }
398
+
302
399
  }
303
400
 
304
- .checkbox {
305
- appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; &:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); } &:checked, &:indeterminate { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; } &:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); } &:indeterminate { background-image: linear-gradient(var(--fg-on-brand), var(--fg-on-brand)); background-size: 8px 2px; } &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
401
+ @media (prefers-reduced-motion: reduce) {
402
+ .tabs, .tabs * {
403
+ animation-duration: 0.01ms !important;
404
+ animation-iteration-count: 1 !important;
405
+ transition-duration: 0.01ms !important;
406
+ }
306
407
  }
307
408
 
308
- .contextmenu {
309
- display: contents; font-family: var(--font-sans);
310
- & .contextmenu-content { position: fixed; z-index: 60; min-width: 200px; box-sizing: border-box; padding: var(--space-1); border-radius: var(--radius-xl); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease; transform-origin: top left; @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
311
- & .contextmenu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 32px; box-sizing: border-box; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); text-align: left; white-space: nowrap; cursor: pointer; }
312
- & .contextmenu-item svg { flex-shrink: 0; color: var(--fg-muted); }
313
- & .contextmenu-item:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
314
- & .contextmenu-item--danger { color: var(--bg-danger); }
315
- & .contextmenu-item--danger svg { color: var(--bg-danger); }
316
- & .contextmenu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
317
- & .contextmenu-shortcut { margin-left: auto; padding-left: var(--space-3); color: var(--fg-muted); font-size: var(--text-sm); }
318
- & .contextmenu-sep { height: 1px; margin: var(--space-1) 0; border: none; background: var(--border-subtle); }
319
- }
409
+ .radiogroup {
410
+
411
+ display: flex; flex-direction: column; gap: var(--space-1); font-family: var(--font-sans);
412
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
320
413
 
321
- .formfield {
322
- display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
323
- & .formfield-label { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
324
- & .formfield-required { color: var(--bg-danger); }
325
- & .formfield-optional { color: color-mix(in srgb, var(--fg-primary) 40%, transparent); font-weight: var(--weight-regular); }
326
- & .formfield-desc { font-size: var(--text-sm); line-height: 16px; color: var(--fg-muted); }
327
- & .formfield-error { font-size: var(--text-sm); line-height: 16px; color: var(--bg-danger); }
328
- }
414
+ & .radio { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-1) var(--space-1); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; }
415
+ & .radio:disabled { opacity: 0.5; cursor: not-allowed; }
416
+ & .radio:focus-visible { outline: none; }
417
+ & .radio-dot { position: relative; flex-shrink: 0; width: 16px; height: 16px; border-radius: var(--radius-full); box-shadow: inset 0 0 0 1.5px var(--border-default); transition: box-shadow .12s ease; }
418
+ & .radio:hover .radio-dot { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg-primary) 40%, transparent); }
419
+ & .radio[data-checked] .radio-dot { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
420
+ & .radio[data-checked] .radio-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--bg-brand-solid); }
421
+ & .radio:focus-visible .radio-dot { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
422
+ & .radio-label { min-width: 0; }
329
423
 
330
- @keyframes crisp-spin { to { transform: rotate(360deg); } }
331
- .spinner {
332
- display: inline-block; box-sizing: border-box; width: 16px; height: 16px; border-radius: var(--radius-full); border: 2px solid color-mix(in srgb, var(--fg-primary) 15%, transparent); border-top-color: var(--fg-muted); animation: crisp-spin 0.6s linear infinite;
424
+ &[data-variant="card"] { flex-direction: row; flex-wrap: wrap; gap: var(--space-3); }
425
+ &[data-variant="card"] .radio { flex: 1 1 150px; min-width: 150px; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: var(--radius-2xl); box-shadow: inset 0 0 0 1px var(--border-default); overflow: hidden; transition: box-shadow .12s ease; }
426
+ &[data-variant="card"] .radio:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 22%, transparent); }
427
+ &[data-variant="card"] .radio[data-checked] { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
428
+ &[data-variant="card"] .radio-preview { flex: 1; min-height: 0; background: var(--bg-raised); }
429
+ &[data-variant="card"] .radio-cardfoot { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2-5); border-top: 1px solid var(--border-subtle); font-size: var(--text-md); font-weight: var(--weight-medium); }
430
+
333
431
  }
334
432
 
335
- .stagebar {
336
- display: flex; align-items: center; gap: var(--space-0-5); width: 100%; height: 6px; font-family: var(--font-sans);
337
- & .stagebar-seg { flex: 1; height: 100%; border-radius: var(--radius-full); transition: background 0.2s ease; }
433
+ @media (prefers-reduced-motion: reduce) {
434
+ .radiogroup, .radiogroup * {
435
+ animation-duration: 0.01ms !important;
436
+ animation-iteration-count: 1 !important;
437
+ transition-duration: 0.01ms !important;
438
+ }
338
439
  }
339
440
 
340
- .callout {
341
- display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-family: var(--font-sans); font-size: var(--text-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary);
342
- & .callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
343
- & .callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
344
- & .callout-title { font-weight: var(--weight-semibold); }
345
- & .callout-desc { color: var(--fg-muted); }
346
- & .callout-action { flex-shrink: 0; }
347
- &[data-tone="info"] { background: color-mix(in srgb, var(--bg-brand-solid) 8%, transparent); }
348
- &[data-tone="info"] .callout-icon { color: var(--bg-brand-solid); }
349
- &[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 10%, transparent); }
350
- &[data-tone="success"] .callout-icon { color: var(--bg-success); }
351
- &[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 12%, transparent); }
352
- &[data-tone="warning"] .callout-icon { color: var(--bg-warning); }
353
- &[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
354
- &[data-tone="danger"] .callout-icon { color: var(--bg-danger); }
441
+ .formfield {
442
+ display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
443
+ & .formfield-label { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
444
+ & .formfield-required { color: var(--bg-danger); }
445
+ & .formfield-optional { color: color-mix(in srgb, var(--fg-primary) 40%, transparent); font-weight: var(--weight-regular); }
446
+ & .formfield-desc { font-size: var(--text-sm); line-height: 16px; color: var(--fg-muted); }
447
+ & .formfield-error { font-size: var(--text-sm); line-height: 16px; color: var(--bg-danger); }
355
448
  }
356
449
 
357
- .dialog {
358
- display: contents; font-family: var(--font-sans);
359
- & .dialog-backdrop { position: fixed; inset: 0; z-index: 60; background: transparent; }
360
- & .dialog-positioner { position: fixed; inset: 0; z-index: 61; display: flex; align-items: flex-start; justify-content: center; padding: 15vh var(--space-4) var(--space-4); }
361
- & .dialog-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 90vw; max-height: 74vh; padding: var(--space-1); border-radius: var(--radius-2xl); background: color-mix(in srgb, var(--bg-overlay-frost) 60%, transparent); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 28px -6px var(--shadow-overlay1), 0 18px 88px -4px var(--shadow-overlay2), 0 0 1px var(--shadow-overlay3); opacity: 1; transform: scale(1); transition: opacity 0.2s ease, transform 0.2s ease; @starting-style { opacity: 0; transform: scale(0.97); } }
362
- & .dialog-card { display: flex; flex-direction: column; flex: 1; min-height: 0; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden; }
363
- & .dialog-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
364
- & .dialog-header svg { flex-shrink: 0; color: var(--fg-muted); }
365
- & .dialog-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
366
- & .dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; }
367
- & .dialog-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
368
- & .dialog-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5) var(--space-4); }
369
- & .dialog-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
370
- & .dialog-field { display: flex; flex-direction: column; gap: var(--space-1-5); }
371
- & .dialog-field-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
372
- & .dialog-more { display: inline-flex; align-items: center; gap: var(--space-2); margin-right: auto; font-size: var(--text-md); color: var(--fg-muted); }
373
- & .dialog-submit { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-1) 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
374
- & .dialog-submit-key { display: inline-flex; align-items: center; justify-content: center; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: rgba(255,255,255,0.22); font-size: var(--text-xs); }
375
- }
450
+ .select {
451
+
452
+ position: relative; display: inline-flex; font-family: var(--font-sans);
453
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
376
454
 
377
- .popover {
378
- display: contents; font-family: var(--font-sans);
379
- & .popover-content { position: fixed; z-index: 60; box-sizing: border-box; min-width: 200px; max-width: min(360px, 92vw); padding: var(--space-1); border-radius: var(--radius-xl); background: var(--bg-popover); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); opacity: 1; transform: none; transition: opacity 0.08s ease, transform 0.08s ease; transform-origin: top left; @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
380
- & .popover-content[data-align="end"] { transform-origin: top right; }
381
- & .popover-content[data-up] { transform-origin: bottom left; }
382
- }
455
+ & .select-trigger {
456
+ box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--space-1-5);
457
+ height: var(--size-menuRow); width: 100%; min-width: 0; margin: 0; padding: 0 var(--space-1-5) 0 var(--space-2);
458
+ border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
459
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer;
460
+ transition: background-color .12s ease, box-shadow .12s ease;
461
+ }
462
+ & .select-trigger:hover { background: var(--bg-raised); }
463
+ & .select-trigger[data-open], & .select-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
464
+ & .select-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
465
+ & .select-value { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: var(--space-1-5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: start; }
466
+ & .select-placeholder { color: var(--fg-muted); }
467
+ & .select-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
468
+ & .select-trigger[data-open] .select-chevron { transform: rotate(180deg); }
383
469
 
384
- .statcard {
385
- display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
386
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
387
- & .statcard-label { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
388
- & .statcard-label svg { color: var(--fg-muted); }
389
- & .statcard-value { font-size: 28px; line-height: 32px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); }
390
- & .statcard-foot { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); }
391
- & .statcard-delta { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 var(--space-1); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--weight-medium); }
392
- & .statcard-delta svg { flex-shrink: 0; }
393
- & .statcard-delta[data-trend="up"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 80%, var(--fg-primary)); }
394
- & .statcard-delta[data-trend="down"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
395
- & .statcard-delta[data-trend="flat"] { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-muted); }
396
- }
397
- .statcard--card_true {
398
- padding: var(--space-4); border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
399
- }
400
- .statcard--card_false {
470
+ & .select-listbox {
471
+ position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
472
+ max-height: 280px; overflow-y: auto; padding: var(--space-1);
473
+ border-radius: var(--radius-xl); background: var(--bg-popover);
474
+ box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
475
+ transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
476
+ }
477
+ & .select-listbox[data-up] { transform-origin: bottom; }
478
+ & .select-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
479
+ & .select-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
480
+ & .select-search svg { flex-shrink: 0; }
481
+ & .select-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
482
+ & .select-search input::placeholder { color: var(--fg-muted); }
483
+ & .select-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
484
+ & .select-option {
485
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: var(--size-menuRow); flex-shrink: 0;
486
+ padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md);
487
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; white-space: nowrap;
488
+ }
489
+ & .select-option[data-highlighted] { background: var(--bg-raised); }
490
+ & .select-option[data-disabled] { opacity: 0.5; cursor: not-allowed; }
491
+ & .select-option-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
492
+ & .select-option-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
493
+ & .select-option-check { flex-shrink: 0; color: var(--bg-brand-solid); }
401
494
 
402
495
  }
403
-
404
- .emptystate {
405
- display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1-5); box-sizing: border-box; padding: var(--space-8) var(--space-4); text-align: center; font-family: var(--font-sans);
406
- & .emptystate-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: var(--space-1); border-radius: var(--radius-xl); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); color: var(--fg-muted); }
407
- & .emptystate-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
408
- & .emptystate-desc { max-width: 320px; font-size: var(--text-md); color: var(--fg-muted); }
409
- & .emptystate-action { margin-top: var(--space-2); }
496
+ .select--variant_default {
497
+
410
498
  }
411
- .emptystate--variant_default {
499
+ .select--variant_ghost {
412
500
 
501
+ & .select-trigger { background: transparent; box-shadow: none; }
502
+ & .select-trigger:hover { background: var(--bg-raised); box-shadow: none; }
503
+ & .select-trigger[data-open], & .select-trigger:focus-visible { background: transparent; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
504
+
413
505
  }
414
- .emptystate--variant_illustrated {
415
- & .emptystate-icon { width: 132px; height: 96px; margin-bottom: var(--space-2); border-radius: 0; color: color-mix(in srgb, var(--fg-primary) 22%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 12%, transparent) 1.2px, transparent 1.2px) 0 0 / 16px 16px; }
506
+ .select--width_full {
507
+ width: 100%;
416
508
  }
417
- .emptystate--variant_page {
418
- gap: var(--space-2);
419
- & .emptystate-icon { width: 45px; height: 45px; margin-bottom: var(--space-2); border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: none; color: var(--fg-muted); }
420
- & .emptystate-title { font-size: 20px; line-height: 24px; }
421
- & .emptystate-desc { max-width: 266px; font-size: var(--text-lg); font-weight: var(--weight-medium); line-height: 20px; }
422
- & .emptystate-action { margin-top: var(--space-2); }
509
+ .select--width_auto {
510
+ width: auto;
423
511
  }
424
512
 
425
- .textarea {
426
-
427
- position: relative; display: block; width: 100%; font-family: var(--font-sans);
428
-
429
- & .textarea-field {
430
- box-sizing: border-box; display: block; width: 100%; min-height: 80px; resize: vertical;
431
- margin: 0; padding: var(--space-1-5) var(--space-2-5); border: none; border-radius: var(--radius-md);
432
- background: var(--bg-surface); box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
433
- font-family: inherit; font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
434
- outline: none; transition: box-shadow .15s ease;
435
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
436
- }
437
- & .textarea-field::placeholder { color: var(--fg-muted); }
438
- & .textarea-field:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
439
- & .textarea-field:disabled { opacity: 0.5; cursor: not-allowed; }
440
- &[data-counted] .textarea-field { padding-bottom: var(--space-5); }
441
- & .textarea-count { position: absolute; right: var(--space-2-5); bottom: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); pointer-events: none; }
442
- & .textarea-count[data-over] { color: var(--bg-danger); }
443
-
513
+ @media (prefers-reduced-motion: reduce) {
514
+ .select, .select * {
515
+ animation-duration: 0.01ms !important;
516
+ animation-iteration-count: 1 !important;
517
+ transition-duration: 0.01ms !important;
518
+ }
444
519
  }
445
520
 
446
- .button {
447
- display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
521
+ .badge {
522
+ display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.1px; white-space: nowrap;
523
+ & .badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-full); background: currentColor; }
448
524
  }
449
- .button--intent_primary {
450
- background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--bg-brand-solid-pressed); } &:active { background: var(--bg-brand-solid-pressed); }
525
+ .badge--tone_neutral {
526
+ background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
451
527
  }
452
- .button--intent_neutral {
453
- background: var(--bg-surface); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--bg-raised); }
528
+ .badge--tone_brand {
529
+ background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: var(--bg-brand-solid); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent);
454
530
  }
455
- .button--intent_danger {
456
- background: var(--bg-danger); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(229,72,77,0.20), 0 3px 6px -2px rgba(229,72,77,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
531
+ .badge--tone_success {
532
+ background: color-mix(in srgb, var(--bg-success) 14%, transparent); color: var(--bg-success); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent);
457
533
  }
458
- .button--intent_ghost {
459
- background: transparent; color: var(--fg-muted); box-shadow: none; &:hover { background: var(--bg-raised); color: var(--fg-primary); }
534
+ .badge--tone_warning {
535
+ background: color-mix(in srgb, var(--bg-warning) 16%, transparent); color: var(--bg-warning); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 32%, transparent);
460
536
  }
461
- .button--size_sm {
462
- height: 24px; padding-inline: var(--space-1-5); font-size: var(--text-md); border-radius: var(--radius-md);
537
+ .badge--tone_danger {
538
+ background: color-mix(in srgb, var(--bg-danger) 14%, transparent); color: var(--bg-danger); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent);
463
539
  }
464
- .button--size_md {
465
- height: 28px; padding-inline: var(--space-2); font-size: var(--text-lg); border-radius: var(--radius-md);
540
+ .badge--size_small {
541
+ height: 16px; padding-inline: var(--space-1-5); font-size: var(--text-xs); border-radius: var(--radius-sm);
466
542
  }
467
- .button--size_lg {
468
- height: 40px; padding-inline: 14px; font-size: var(--text-lg); border-radius: 10px;
543
+ .badge--size_medium {
544
+ height: 20px; padding-inline: var(--space-2); font-size: var(--text-sm); border-radius: var(--radius-sm);
469
545
  }
470
- .button--shape_text {
471
-
546
+ .badge--size_large {
547
+ height: var(--size-chip); padding-inline: 9px; font-size: var(--text-lg); border-radius: var(--radius-chip);
472
548
  }
473
- .button--shape_icon {
474
- padding-inline: 0; aspect-ratio: 1 / 1;
549
+ .badge--variant_soft {
550
+
475
551
  }
476
-
477
- .table {
478
- display: block; box-sizing: border-box; background: var(--bg-surface);
479
- & .table-scroll { overflow-x: auto; }
480
- & table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: var(--text-lg); color: var(--fg-primary); }
481
- & th, & td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); text-align: left; vertical-align: middle; white-space: nowrap; overflow: hidden; }
482
- & th { height: 40px; background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-primary); user-select: none; }
483
- & td { color: var(--fg-primary); background: var(--bg-surface); }
484
- & th:last-child, & td:last-child { border-right: none; }
485
- & tbody tr:last-child td { border-bottom: none; }
486
- & tfoot td { border-top: 1px solid var(--border-subtle); border-bottom: none; font-weight: var(--weight-medium); color: var(--fg-muted); }
487
- & caption { padding: var(--space-2) var(--space-2); text-align: left; font-size: var(--text-sm); color: var(--fg-muted); caption-side: bottom; }
488
- & td[data-align="right"], & th[data-align="right"] { text-align: right; }
489
- & td[data-align="center"], & th[data-align="center"] { text-align: center; }
552
+ .badge--variant_solid {
553
+
490
554
  }
491
- .table--interactive_true {
492
- & tbody tr { transition: background-color .12s; } & tbody tr:hover td { background: color-mix(in srgb, var(--fg-primary) 3%, var(--bg-surface)); }
555
+ .badge--compound_0 {
556
+ background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: none;
493
557
  }
494
- .table--interactive_false {
495
-
558
+ .badge--compound_1 {
559
+ background: var(--bg-success); color: var(--fg-on-tone); box-shadow: none;
496
560
  }
497
- .table--surface_card {
498
- border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden;
561
+ .badge--compound_2 {
562
+ background: var(--bg-warning); color: var(--fg-on-tone); box-shadow: none;
499
563
  }
500
- .table--surface_bleed {
501
- border: none; border-radius: 0;
564
+ .badge--compound_3 {
565
+ background: var(--bg-danger); color: var(--fg-on-tone); box-shadow: none;
502
566
  }
503
-
504
- .linechart {
505
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
506
- & .linechart-body { display: flex; flex: 1; min-height: 0; }
507
- & .linechart-yaxis { position: relative; flex-shrink: 0; width: 34px; }
508
- & .linechart-ytick { position: absolute; right: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
509
- & .linechart-plot { position: relative; flex: 1; min-width: 0; border-bottom: 1px solid var(--border-default); }
510
- & .linechart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
511
- & .linechart-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
512
- & .linechart-area { fill: color-mix(in srgb, var(--bg-brand-solid) 12%, transparent); stroke: none; }
513
- & .linechart-line { fill: none; stroke: var(--bg-brand-solid); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
514
- & .linechart-dot-html { position: absolute; width: 8px; height: 8px; box-sizing: border-box; border-radius: var(--radius-full); background: var(--bg-surface); border: 2px solid var(--bg-brand-solid); transform: translate(-50%, 50%); pointer-events: auto; }
515
- & .linechart-xaxis { display: flex; margin-top: var(--space-1-5); padding-left: 34px; }
516
- & .linechart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
517
- & .linechart-axis-title { margin-top: var(--space-1); padding-left: 34px; text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
567
+ .badge--compound_4 {
568
+ background: var(--fg-muted); color: var(--bg-surface); box-shadow: none;
518
569
  }
519
570
 
520
- .tabletoolbar {
571
+ .datepicker {
521
572
 
522
- display: contents; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
523
- & * { box-sizing: border-box; }
524
- & .tabletoolbar-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
525
- & .tabletoolbar-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
526
- & .tabletoolbar-search svg { flex-shrink: 0; }
527
- & .tabletoolbar-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
528
- & .tabletoolbar-search input::placeholder { color: var(--fg-muted); }
529
- & .tabletoolbar-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
530
- & .tabletoolbar-tool:hover { background: var(--bg-raised); }
531
- & .tabletoolbar-tool svg { flex-shrink: 0; color: var(--fg-muted); }
532
- & .tabletoolbar-tool--active { background: var(--bg-raised); }
533
- & .tabletoolbar-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
573
+ position: relative; box-sizing: border-box; width: 100%; min-width: 0;
574
+ font-family: var(--font-sans); color: var(--fg-neutral-muted); background: var(--bg-surface);
575
+
576
+ & .datepicker-header {
577
+ display: flex; align-items: center; justify-content: space-between;
578
+ height: var(--size-calendarCell);
579
+ }
580
+ & .datepicker-header-label {
581
+ display: inline-flex; align-items: center; gap: var(--space-1);
582
+ height: 100%; min-width: 0; border: 0; padding: 0 var(--space-1);
583
+ border-radius: var(--radius-md); background: transparent; cursor: pointer;
584
+ color: var(--fg-primary); font-family: inherit;
585
+ font-size: var(--text-xl); line-height: 22px; font-weight: var(--weight-bold);
586
+ white-space: nowrap;
587
+ outline: 2px solid transparent; outline-offset: -2px;
588
+ transition: outline-color .2s ease;
589
+ }
590
+ & .datepicker-header-label:focus-visible { outline-color: var(--stroke-focus-ring); }
591
+ & .datepicker-header-chevron { display: inline-flex; transition: transform .2s ease; }
592
+ & .datepicker-header-chevron[data-open] { transform: rotate(180deg); }
593
+
594
+ & .datepicker-nav { display: flex; align-items: center; }
595
+ & .datepicker-nav-button {
596
+ display: inline-flex; align-items: center; justify-content: center;
597
+ width: var(--size-menuRow); height: var(--size-menuRow); padding: 0;
598
+ border: none; border-radius: var(--radius-md); background: none;
599
+ color: var(--fg-muted); font-family: inherit; cursor: pointer;
600
+ outline: 2px solid transparent; outline-offset: -2px;
601
+ transition: background-color .12s, outline-color .2s ease;
602
+ }
603
+ & .datepicker-nav-button:hover { background: var(--bg-raised); }
604
+ & .datepicker-nav-button:focus-visible { outline-color: var(--stroke-focus-ring); }
605
+ & .datepicker-nav-button:disabled { opacity: .4; cursor: not-allowed; }
606
+
607
+ & .datepicker-weekday-row {
608
+ display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
609
+ position: relative; z-index: 2; background: var(--bg-surface);
610
+ }
611
+ & .datepicker-weekday {
612
+ display: flex; align-items: center; justify-content: center;
613
+ height: var(--size-calendarCell); color: var(--fg-neutral-subtle);
614
+ font-size: var(--text-lg); line-height: 19px; font-weight: var(--weight-medium);
615
+ }
616
+
617
+ & .datepicker-months { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; }
618
+ & .datepicker-months[data-wheel-open] { visibility: hidden; }
619
+ & .datepicker-month { min-width: 0; }
620
+ & .datepicker-month-label {
621
+ display: flex; align-items: center; height: var(--size-calendarCell);
622
+ color: var(--fg-primary); font-size: var(--text-xl); line-height: 22px;
623
+ font-weight: var(--weight-bold);
624
+ }
625
+
626
+ & .datepicker-grid { display: grid; min-width: 0; }
627
+ & .datepicker-week-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
628
+
629
+ & .datepicker-cell {
630
+ position: relative; min-width: 0; min-height: var(--size-calendarCell);
631
+ isolation: isolate;
632
+ }
633
+ & .datepicker-empty-cell { min-height: var(--size-calendarCell); }
634
+
635
+ /* The bridge joining days inside a completed range.
636
+ The endpoints do NOT carry data-in-range -- only the interior days do --
637
+ so these are three independent rules, not a base plus two modifiers. A
638
+ modifier that sets only inset-inline-start never generates a pseudo
639
+ element on an endpoint, which leaves a half-cell of white between the
640
+ endpoint's pill and the run of grey beside it. Each rule declares its
641
+ own content. */
642
+ & .datepicker-cell[data-range-complete][data-in-range]::before {
643
+ content: ""; position: absolute; z-index: -1; inset-inline: 0;
644
+ top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
645
+ }
646
+ & .datepicker-cell[data-range-complete][data-range-start]:not([data-range-end])::before {
647
+ content: ""; position: absolute; z-index: -1;
648
+ inset-inline-start: 50%; inset-inline-end: 0;
649
+ top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
650
+ }
651
+ & .datepicker-cell[data-range-complete][data-range-end]:not([data-range-start])::before {
652
+ content: ""; position: absolute; z-index: -1;
653
+ inset-inline-start: 0; inset-inline-end: 50%;
654
+ top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); height: var(--size-calendarPill); background: var(--bg-neutral-weak);
655
+ }
656
+
657
+ & .datepicker-date {
658
+ position: relative; display: flex; width: 100%; height: 100%;
659
+ min-height: var(--size-calendarCell); min-width: 0;
660
+ align-items: flex-start; justify-content: center;
661
+ border: 0; padding: 0; background: transparent; cursor: pointer;
662
+ color: var(--fg-neutral-muted); font: inherit; outline: none;
663
+ isolation: isolate;
664
+ }
665
+ /* the round day highlight, behind the numeral */
666
+ & .datepicker-date::before {
667
+ content: ""; position: absolute; z-index: -1; top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); left: 50%;
668
+ width: var(--size-calendarPill); height: var(--size-calendarPill);
669
+ border-radius: var(--radius-full);
670
+ background: transparent; transform: translateX(-50%);
671
+ }
672
+ & .datepicker-date[data-today]::before { background: var(--bg-neutral-weak); }
673
+ & .datepicker-date[data-selected]::before { background: var(--bg-neutral-inverted); }
674
+ & .datepicker-date[data-selected] { color: var(--fg-on-neutral-inverted); }
675
+ & .datepicker-date[data-in-range] { color: var(--fg-neutral-muted); }
676
+ & .datepicker-date[data-in-range]::before { background: transparent; }
677
+ & .datepicker-date[data-unavailable] { color: var(--fg-disabled); }
678
+ & .datepicker-date:disabled { color: var(--fg-disabled); cursor: not-allowed; }
679
+ & .datepicker-date:focus-visible::after {
680
+ content: ""; position: absolute; top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); left: 50%;
681
+ width: var(--size-calendarPill); height: var(--size-calendarPill);
682
+ transform: translateX(-50%); border-radius: var(--radius-full);
683
+ outline: 2px solid var(--stroke-focus-ring); outline-offset: -2px;
684
+ }
685
+
686
+ & .datepicker-date-content {
687
+ position: relative; z-index: 1; display: flex; width: 100%;
688
+ min-height: var(--size-calendarCell); min-width: 0; box-sizing: border-box;
689
+ flex-direction: column; align-items: center; gap: 3px;
690
+ padding-top: calc((var(--size-calendarCell) - var(--size-calendarPill)) / 2); color: inherit;
691
+ font-size: var(--text-xl); line-height: 22px; font-weight: var(--weight-medium);
692
+ font-variant-numeric: tabular-nums;
693
+ }
694
+ /* The numeral is its own 42px flex box so it centres on the 42px pill.
695
+ Without this the content column top-aligns the glyph and the pill reads
696
+ as offset — the cell is 48px, the pill 42px inset 3px, and only a
697
+ 42px-tall numeral box shares the pill's centre line. */
698
+ & .datepicker-date-content > [data-date-picker-day] {
699
+ display: flex; min-height: var(--size-calendarPill); flex-shrink: 0;
700
+ align-items: center; justify-content: center;
701
+ }
702
+
703
+ /* the year/month wheel, laid over the grid it replaces */
704
+ & .datepicker-wheel-container {
705
+ position: absolute; z-index: 1; inset-inline: 0;
706
+ top: var(--size-calendarCell); bottom: 0;
707
+ display: flex; align-items: center; overflow: hidden;
708
+ background: var(--bg-surface);
709
+ }
710
+ & .datepicker-wheel { width: 100%; }
711
+
712
+ & .datepicker-continuous-scroll {
713
+ height: 100%; min-height: 0; overflow-y: auto;
714
+ overscroll-behavior: contain; scrollbar-width: none;
715
+ }
716
+ & .datepicker-continuous-scroll::-webkit-scrollbar { display: none; }
717
+ & .datepicker-continuous-content { display: flex; flex-direction: column; }
718
+
719
+ /* announced, never drawn */
720
+ & .datepicker-live-region {
721
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
722
+ overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
723
+ }
724
+
725
+ }
726
+ .datepicker--visibleRange_month {
727
+
728
+ }
729
+ .datepicker--visibleRange_twoMonths {
730
+ & .datepicker-months { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
731
+ & .datepicker-two-month-header { display: flex; align-items: center; justify-content: space-between; height: var(--size-calendarCell); }
732
+ & .datepicker-two-month-label { color: var(--fg-primary); font-size: var(--text-xl); line-height: 22px; font-weight: var(--weight-bold); }
733
+ }
734
+ .datepicker--visibleRange_week {
735
+
736
+ }
737
+ .datepicker--visibleRange_continuous {
738
+ & .datepicker-weekday-row { position: sticky; top: 0; }
739
+ }
740
+
741
+ @media (prefers-reduced-motion: reduce) {
742
+ .datepicker, .datepicker * {
743
+ animation-duration: 0.01ms !important;
744
+ animation-iteration-count: 1 !important;
745
+ transition-duration: 0.01ms !important;
746
+ }
747
+ }
748
+
749
+ .divider {
750
+ flex-shrink: 0; border: none; margin: 0; background: var(--border-subtle);
751
+ &[data-orientation="horizontal"] { width: 100%; height: 1px; }
752
+ &[data-orientation="vertical"] { width: 1px; align-self: stretch; min-height: 1em; }
753
+ }
754
+
755
+ .contextmenu {
756
+ display: contents; font-family: var(--font-sans);
757
+ & .contextmenu-content { position: fixed; z-index: 60; min-width: 200px; box-sizing: border-box; padding: var(--space-1); border-radius: var(--radius-xl); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease; transform-origin: top left; @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
758
+ & .contextmenu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-menuRow); box-sizing: border-box; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); text-align: start; white-space: nowrap; cursor: pointer; }
759
+ & .contextmenu-item svg { flex-shrink: 0; color: var(--fg-muted); }
760
+ & .contextmenu-item:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
761
+ & .contextmenu-item--danger { color: var(--bg-danger); }
762
+ & .contextmenu-item--danger svg { color: var(--bg-danger); }
763
+ & .contextmenu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
764
+ & .contextmenu-shortcut { margin-inline-start: auto; padding-inline-start: var(--space-3); color: var(--fg-muted); font-size: var(--text-sm); }
765
+ & .contextmenu-sep { height: 1px; margin: var(--space-1) 0; border: none; background: var(--border-subtle); }
766
+ }
767
+
768
+ @media (prefers-reduced-motion: reduce) {
769
+ .contextmenu, .contextmenu * {
770
+ animation-duration: 0.01ms !important;
771
+ animation-iteration-count: 1 !important;
772
+ transition-duration: 0.01ms !important;
773
+ }
774
+ }
775
+
776
+ .bulkbar {
777
+ position: absolute; left: 0; right: 0; bottom: var(--space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
778
+ & .bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--space-0-5); height: 48px; padding: 0 var(--space-1) 0 var(--space-1-5); border-radius: 14px; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); color: var(--fg-primary); transition: opacity .16s ease, transform .16s ease; }
779
+ & .bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
780
+ & .bulkbar-count { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
781
+ & .bulkbar-count:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); color: var(--fg-primary); }
782
+ & .bulkbar-count svg { flex-shrink: 0; }
783
+ & .bulkbar-btn { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-menuRow); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
784
+ & .bulkbar-btn:hover { background: var(--bg-raised); }
785
+ & .bulkbar-btn--danger { color: var(--bg-danger); }
786
+ & .bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
787
+ & .bulkbar-btn svg { flex-shrink: 0; }
788
+ }
789
+
790
+ @media (prefers-reduced-motion: reduce) {
791
+ .bulkbar, .bulkbar * {
792
+ animation-duration: 0.01ms !important;
793
+ animation-iteration-count: 1 !important;
794
+ transition-duration: 0.01ms !important;
795
+ }
796
+ }
797
+
798
+ .multiselect {
799
+
800
+ position: relative; display: inline-flex; width: 100%; font-family: var(--font-sans);
801
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
802
+
803
+ & .multiselect-trigger {
804
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1); width: 100%; min-width: 0; min-height: var(--size-menuRow);
805
+ margin: 0; padding: var(--space-0-5) var(--space-1-5) var(--space-0-5) var(--space-2);
806
+ border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
807
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer; text-align: start;
808
+ transition: background-color .12s ease, box-shadow .12s ease;
809
+ }
810
+ & .multiselect-trigger:hover { background: var(--bg-raised); }
811
+ & .multiselect-trigger[data-open], & .multiselect-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
812
+ & .multiselect-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
813
+ & .multiselect-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
814
+ & .multiselect-placeholder { color: var(--fg-muted); }
815
+ & .multiselect-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
816
+ & .multiselect-trigger[data-open] .multiselect-chevron { transform: rotate(180deg); }
817
+
818
+ & .multiselect-listbox {
819
+ position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
820
+ max-height: 300px; overflow-y: auto; padding: var(--space-1);
821
+ border-radius: var(--radius-xl); background: var(--bg-popover);
822
+ box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
823
+ transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
824
+ }
825
+ & .multiselect-listbox[data-up] { transform-origin: bottom left; }
826
+ & .multiselect-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
827
+ & .multiselect-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
828
+ & .multiselect-search svg { flex-shrink: 0; }
829
+ & .multiselect-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
830
+ & .multiselect-search input::placeholder { color: var(--fg-muted); }
831
+ & .multiselect-option {
832
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: var(--size-menuRow); flex-shrink: 0;
833
+ padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md); font-family: inherit; cursor: pointer; text-align: start;
834
+ }
835
+ & .multiselect-option[data-highlighted] { background: var(--bg-raised); }
836
+ & .multiselect-option-chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
837
+ & .multiselect-check { flex-shrink: 0; margin-inline-start: auto; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--border-default); color: transparent; }
838
+ & .multiselect-option[aria-selected="true"] .multiselect-check { background: var(--bg-brand-solid); box-shadow: none; color: #fff; }
839
+ & .multiselect-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
840
+
841
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
842
+ & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
843
+ & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
844
+ & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
845
+ & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
846
+ & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
847
+ & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
848
+ & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
849
+
850
+ }
851
+
852
+ @media (prefers-reduced-motion: reduce) {
853
+ .multiselect, .multiselect * {
854
+ animation-duration: 0.01ms !important;
855
+ animation-iteration-count: 1 !important;
856
+ transition-duration: 0.01ms !important;
857
+ }
858
+ }
859
+
860
+ .linechart {
861
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans); --linechart-yaxis-width: 34px;
862
+ & .linechart-body { display: flex; flex: 1; min-height: 0; }
863
+ & .linechart-yaxis { position: relative; flex-shrink: 0; width: var(--linechart-yaxis-width); }
864
+ & .linechart-ytick { position: absolute; inset-inline-end: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
865
+ & .linechart-plot { position: relative; flex: 1; min-width: 0; border-bottom: 1px solid var(--border-default); }
866
+ & .linechart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
867
+ & .linechart-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
868
+ & .linechart-area { fill: color-mix(in srgb, var(--bg-brand-solid) 12%, transparent); stroke: none; }
869
+ & .linechart-line { fill: none; stroke: var(--bg-brand-solid); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
870
+ & .linechart-dot-html { position: absolute; width: 8px; height: 8px; box-sizing: border-box; border-radius: var(--radius-full); background: var(--bg-surface); border: 2px solid var(--bg-brand-solid); transform: translate(-50%, 50%); pointer-events: auto; }
871
+ & .linechart-xaxis { display: flex; margin-top: var(--space-1-5); padding-inline-start: var(--linechart-yaxis-width); }
872
+ & .linechart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
873
+ & .linechart-axis-title { margin-top: var(--space-1); padding-inline-start: var(--linechart-yaxis-width); text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
874
+ }
875
+
876
+ .barchart {
877
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans); --barchart-yaxis-width: 34px;
878
+ & .barchart-body { display: flex; flex: 1; min-height: 0; }
879
+ & .barchart-yaxis { position: relative; flex-shrink: 0; width: var(--barchart-yaxis-width); }
880
+ & .barchart-ytick { position: absolute; inset-inline-end: var(--space-2); transform: translateY(50%); font-size: var(--text-xs); color: var(--fg-muted); white-space: nowrap; }
881
+ & .barchart-plot { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: var(--space-3); border-bottom: 1px solid var(--border-default); }
882
+ & .barchart-grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--border-subtle); pointer-events: none; }
883
+ & .barchart-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
884
+ & .barchart-bar { width: 100%; max-width: 96px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-brand-solid); transition: height 0.3s ease; }
885
+ & .barchart-bar[data-empty] { min-height: 2px; opacity: 0.35; }
886
+ & .barchart-xaxis { display: flex; gap: var(--space-3); margin-top: var(--space-1-5); }
887
+ & .barchart-xaxis[data-inset] { padding-inline-start: var(--barchart-yaxis-width); }
888
+ & .barchart-xlabel { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-sm); color: var(--fg-muted); }
889
+ & .barchart-axis-title { margin-top: var(--space-1); padding-inline-start: var(--barchart-yaxis-width); text-align: center; font-size: var(--text-sm); color: var(--fg-muted); }
890
+ }
891
+
892
+ @media (prefers-reduced-motion: reduce) {
893
+ .barchart, .barchart * {
894
+ animation-duration: 0.01ms !important;
895
+ animation-iteration-count: 1 !important;
896
+ transition-duration: 0.01ms !important;
897
+ }
898
+ }
899
+
900
+ .segmented {
901
+ position: relative; display: inline-flex; align-items: center; gap: var(--space-0-5); box-sizing: border-box; padding: var(--space-0-5); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); font-family: var(--font-sans);
902
+ & .segmented-thumb { position: absolute; top: var(--space-0-5); left: 0; height: 26px; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.06); pointer-events: none; z-index: 0; transition: transform .2s cubic-bezier(.4,0,.2,1), width .2s cubic-bezier(.4,0,.2,1); }
903
+ & .segmented-item { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); height: 26px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: color 0.15s ease; }
904
+ & .segmented-item svg { flex-shrink: 0; }
905
+ & .segmented-item:hover { color: var(--fg-primary); }
906
+ & .segmented-item[data-selected] { color: var(--fg-primary); }
907
+ & .segmented-item[disabled] { opacity: 0.4; cursor: default; }
908
+ & .segmented-item--icon { width: 26px; padding: 0; }
909
+ }
910
+
911
+ @media (prefers-reduced-motion: reduce) {
912
+ .segmented, .segmented * {
913
+ animation-duration: 0.01ms !important;
914
+ animation-iteration-count: 1 !important;
915
+ transition-duration: 0.01ms !important;
916
+ }
917
+ }
918
+
919
+ .accordion {
920
+ display: flex; flex-direction: column; font-family: var(--font-sans);
921
+ & .accordion-item { border-bottom: 1px solid var(--border-subtle); }
922
+ & .accordion-trigger { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 44px; padding: 0 var(--space-1); margin: 0; border: none; background: none; color: var(--fg-primary); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); text-align: start; cursor: pointer; }
923
+ & .accordion-trigger:hover { color: var(--fg-primary); }
924
+ & .accordion-title { flex: 1; min-width: 0; }
925
+ & .accordion-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .2s ease; }
926
+ & .accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
927
+ & .accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
928
+ & .accordion-panel[data-open] { grid-template-rows: 1fr; }
929
+ & .accordion-panel-inner { overflow: hidden; }
930
+ & .accordion-content { padding: 0 var(--space-1) var(--space-3); font-size: var(--text-md); color: var(--fg-muted); }
931
+ }
932
+
933
+ @media (prefers-reduced-motion: reduce) {
934
+ .accordion, .accordion * {
935
+ animation-duration: 0.01ms !important;
936
+ animation-iteration-count: 1 !important;
937
+ transition-duration: 0.01ms !important;
938
+ }
939
+ }
940
+
941
+ .tabletoolbar {
942
+
943
+ display: contents; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
944
+ & * { box-sizing: border-box; }
945
+ & .tabletoolbar-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
946
+ & .tabletoolbar-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
947
+ & .tabletoolbar-search svg { flex-shrink: 0; }
948
+ & .tabletoolbar-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
949
+ & .tabletoolbar-search input::placeholder { color: var(--fg-muted); }
950
+ & .tabletoolbar-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
951
+ & .tabletoolbar-tool:hover { background: var(--bg-raised); }
952
+ & .tabletoolbar-tool svg { flex-shrink: 0; color: var(--fg-muted); }
953
+ & .tabletoolbar-tool--active { background: var(--bg-raised); }
954
+ & .tabletoolbar-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
534
955
  & .tabletoolbar-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
535
956
  & .tabletoolbar-toolgroup { position: relative; display: inline-flex; }
536
957
  & .tabletoolbar-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
@@ -588,375 +1009,920 @@
588
1009
 
589
1010
  }
590
1011
 
591
- .divider {
592
- flex-shrink: 0; border: none; margin: 0; background: var(--border-subtle);
593
- &[data-orientation="horizontal"] { width: 100%; height: 1px; }
594
- &[data-orientation="vertical"] { width: 1px; align-self: stretch; min-height: 1em; }
1012
+ @media (prefers-reduced-motion: reduce) {
1013
+ .tabletoolbar, .tabletoolbar * {
1014
+ animation-duration: 0.01ms !important;
1015
+ animation-iteration-count: 1 !important;
1016
+ transition-duration: 0.01ms !important;
1017
+ }
595
1018
  }
596
1019
 
597
- .menu {
598
-
599
- position: relative; display: inline-flex; font-family: var(--font-sans);
1020
+ .drawer {
1021
+ display: contents; font-family: var(--font-sans);
1022
+ & .drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--fg-primary) 18%, transparent); opacity: 1; transition: opacity 0.2s ease; @starting-style { opacity: 0; } }
1023
+ & .drawer-positioner { position: fixed; inset: 0; z-index: 61; display: flex; box-sizing: border-box; padding: var(--space-2); }
1024
+ & .drawer-positioner[data-side="right"] { justify-content: flex-end; }
1025
+ & .drawer-positioner[data-side="left"] { justify-content: flex-start; }
1026
+ & .drawer-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; width: 420px; max-width: 100%; height: 100%; background: var(--bg-surface); border-radius: var(--radius-xl); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); transform: none; transition: transform 0.24s cubic-bezier(.32,.72,0,1); }
1027
+ & .drawer-positioner[data-side="right"] .drawer-content { @starting-style { transform: translateX(calc(100% + var(--space-2))); } }
1028
+ & .drawer-positioner[data-side="left"] .drawer-content { @starting-style { transform: translateX(calc(-100% - var(--space-2))); } }
1029
+ & .drawer-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
1030
+ & .drawer-header svg { flex-shrink: 0; color: var(--fg-muted); }
1031
+ & .drawer-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1032
+ & .drawer-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1033
+ & .drawer-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1034
+ & .drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-4); }
1035
+ & .drawer-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
1036
+ }
1037
+
1038
+ @media (prefers-reduced-motion: reduce) {
1039
+ .drawer, .drawer * {
1040
+ animation-duration: 0.01ms !important;
1041
+ animation-iteration-count: 1 !important;
1042
+ transition-duration: 0.01ms !important;
1043
+ }
1044
+ }
1045
+
1046
+ .statcard {
1047
+ display: flex; flex-direction: column; gap: var(--space-1-5); box-sizing: border-box; font-family: var(--font-sans);
600
1048
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1049
+ & .statcard-label { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1050
+ & .statcard-label svg { color: var(--fg-muted); }
1051
+ & .statcard-value { font-size: 28px; line-height: 32px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); }
1052
+ & .statcard-foot { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); }
1053
+ & .statcard-delta { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 var(--space-1); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: var(--weight-medium); }
1054
+ & .statcard-delta svg { flex-shrink: 0; }
1055
+ & .statcard-delta[data-trend="up"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 80%, var(--fg-primary)); }
1056
+ & .statcard-delta[data-trend="down"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
1057
+ & .statcard-delta[data-trend="flat"] { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-muted); }
1058
+ }
1059
+ .statcard--card_true {
1060
+ padding: var(--space-4); border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle);
1061
+ }
1062
+ .statcard--card_false {
1063
+
1064
+ }
601
1065
 
602
- & .menu-content {
603
- position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
604
- min-width: 200px; max-height: 360px; overflow-y: auto; padding: var(--space-1);
605
- border-radius: var(--radius-xl); background: var(--bg-popover);
606
- box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
607
- transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
1066
+ .input {
1067
+
1068
+ position: relative; box-sizing: border-box; display: inline-flex; align-items: center;
1069
+ width: 100%; background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
1070
+ font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px;
1071
+
1072
+ &::after {
1073
+ content: ""; position: absolute; inset: 0; border-radius: inherit;
1074
+ border: 2px solid transparent; transition: border-color .1s ease;
1075
+ pointer-events: none;
608
1076
  }
609
- & .menu-content[data-align="end"] { transform-origin: top right; }
610
- & .menu-content[data-up] { transform-origin: bottom left; }
611
- & .menu-content[data-up][data-align="end"] { transform-origin: bottom right; }
612
- & .menu-content { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1077
+ &:focus-within::after { border-color: var(--stroke-field-focus); }
613
1078
 
614
- & .menu-item {
615
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 32px; flex-shrink: 0;
616
- margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md);
617
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; white-space: nowrap;
1079
+ & .input-value {
1080
+ box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: 100%;
1081
+ align-self: stretch; margin: 0; border: none; background: none; outline: none;
1082
+ font: inherit; color: var(--fg-primary);
618
1083
  }
619
- & .menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
620
- & .menu-item:focus { outline: none; }
621
- & .menu-item:hover:not([data-disabled]), & .menu-item:focus-visible:not([data-disabled]), & .menu-item[data-highlighted]:not([data-disabled]) { background: var(--bg-raised); }
622
- & .menu-item[data-disabled] { opacity: 0.5; cursor: not-allowed; }
623
- & .menu-item--danger { color: var(--bg-danger); }
624
- & .menu-item--danger svg { color: var(--bg-danger); }
625
- & .menu-item--danger:hover, & .menu-item--danger:focus-visible, & .menu-item--danger[data-highlighted] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
626
- & .menu-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
627
- & .menu-item-shortcut { flex-shrink: 0; margin-left: var(--space-3); font-size: var(--text-sm); color: var(--fg-muted); letter-spacing: 0.02em; }
628
- & .menu-item-check { flex-shrink: 0; color: var(--bg-brand-solid); }
629
- & .menu-item-check--placeholder { width: 15px; }
630
-
631
- & .menu-sep { height: 1px; flex-shrink: 0; border: none; margin: var(--space-1) calc(-1 * var(--space-1)); background: var(--border-subtle); }
632
- & .menu-label { padding: var(--space-1-5) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1084
+ & .input-value::placeholder { color: var(--fg-muted); }
1085
+ & .input-value:disabled { opacity: 0.5; cursor: not-allowed; }
1086
+ &:has(.input-value:disabled) { opacity: 1; }
633
1087
 
634
1088
  }
635
-
636
- .avatar {
637
- display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-sans); font-weight: var(--weight-semibold); overflow: hidden; user-select: none; & img { width: 100%; height: 100%; object-fit: cover; }
638
- }
639
- .avatar--size_sm {
640
- height: 16px; width: 16px; font-size: 9px;
641
- }
642
- .avatar--size_md {
643
- height: 20px; width: 20px; font-size: 10px;
644
- }
645
- .avatar--size_lg {
646
- height: 24px; width: 24px; font-size: var(--text-sm);
647
- }
648
- .avatar--size_xl {
649
- height: 32px; width: 32px; font-size: var(--text-lg);
1089
+ .input--size_medium {
1090
+ height: 32px; border-radius: var(--radius-md); & .input-value { padding-inline: var(--space-2-5); }
650
1091
  }
651
- .avatar--shape_circle {
652
- border-radius: var(--radius-full);
1092
+ .input--size_large {
1093
+ height: 36px; border-radius: 10px; & .input-value { padding-inline: var(--space-3); }
653
1094
  }
654
- .avatar--shape_rounded {
655
- border-radius: 30%;
1095
+ .input--invalid_true {
1096
+ &::after { border-color: var(--bg-danger); } &:focus-within::after { border-color: var(--bg-danger); }
656
1097
  }
657
- .avatar--tone_neutral {
658
- background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
1098
+ .input--invalid_false {
1099
+
659
1100
  }
660
- .avatar--tone_brand {
661
- background: var(--bg-brand-solid); color: #fff;
1101
+
1102
+ @media (prefers-reduced-motion: reduce) {
1103
+ .input, .input * {
1104
+ animation-duration: 0.01ms !important;
1105
+ animation-iteration-count: 1 !important;
1106
+ transition-duration: 0.01ms !important;
1107
+ }
662
1108
  }
663
- .avatar--tone_orange {
664
- background: var(--bg-orange); color: #fff;
1109
+
1110
+ .toast {
1111
+ display: contents; font-family: var(--font-sans);
1112
+ & .toast-viewport { position: fixed; z-index: 80; inset-inline-end: var(--space-4); bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); width: 360px; max-width: calc(100vw - var(--space-8)); pointer-events: none; }
1113
+ & .toast { pointer-events: auto; display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--bg-raised); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 5%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10); opacity: 1; transform: translateY(0); transition: opacity 0.15s ease, transform 0.15s ease; @starting-style { opacity: 0; transform: translateY(8px); } }
1114
+ & .toast-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
1115
+ & .toast[data-tone="info"] .toast-icon { color: var(--bg-brand-solid); }
1116
+ & .toast[data-tone="success"] .toast-icon { color: var(--bg-success); }
1117
+ & .toast[data-tone="warning"] .toast-icon { color: var(--bg-warning); }
1118
+ & .toast[data-tone="danger"] .toast-icon { color: var(--bg-danger); }
1119
+ & .toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
1120
+ & .toast-title { font-size: var(--text-md); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1121
+ & .toast-desc { font-size: var(--text-md); color: var(--fg-muted); }
1122
+ & .toast-action { align-self: flex-start; margin-top: var(--space-1-5); height: 24px; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); cursor: pointer; }
1123
+ & .toast-action:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); }
1124
+ & .toast-close { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -2px 0 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1125
+ & .toast-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
665
1126
  }
666
- .avatar--tone_cyan {
667
- background: var(--bg-cyan); color: #fff;
1127
+
1128
+ @media (prefers-reduced-motion: reduce) {
1129
+ .toast, .toast * {
1130
+ animation-duration: 0.01ms !important;
1131
+ animation-iteration-count: 1 !important;
1132
+ transition-duration: 0.01ms !important;
1133
+ }
668
1134
  }
669
- .avatar--tone_purple {
670
- background: var(--bg-purple); color: #fff;
1135
+
1136
+ .resizablepanel {
1137
+
1138
+ position: relative; display: flex; height: 100%;
1139
+ & .resizablepanel-spacer { flex: 0 0 auto; height: 100%; transition: width 0.14s; }
1140
+ & .resizablepanel-panel { position: absolute; top: 0; bottom: 0; box-sizing: border-box; overflow: hidden; background: var(--bg-surface); }
1141
+ & .resizablepanel-panel[data-side="left"] { left: 0; }
1142
+ & .resizablepanel-panel[data-side="right"] { right: 0; }
1143
+
1144
+ /* docked */
1145
+ & .resizablepanel-panel[data-floating="false"] { border-radius: 0; box-shadow: none; }
1146
+ & .resizablepanel-panel[data-floating="false"][data-side="left"] { border-inline-end: 1px solid var(--border-subtle); }
1147
+ & .resizablepanel-panel[data-floating="false"][data-side="right"] { border-inline-start: 1px solid var(--border-subtle); }
1148
+
1149
+ /* floating — position: fixed, 8px gutter, r10, the measured floating elevation.
1150
+ Rest is transform: none (Lesson 27); the off-canvas value is the @starting-style enter only. */
1151
+ & .resizablepanel-panel[data-floating="true"] { position: fixed; top: var(--space-2); bottom: var(--space-2); border-inline-end: none; border-inline-start: none; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); transform: none; transition: transform 0.14s, padding 0.14s; }
1152
+ & .resizablepanel-panel[data-floating="true"][data-side="left"] { padding: var(--space-2) 0 var(--space-2) var(--space-2); @starting-style { transform: translateX(calc(-100% - var(--space-2))); } }
1153
+ & .resizablepanel-panel[data-floating="true"][data-side="right"] { padding: var(--space-2) var(--space-2) var(--space-2) 0; @starting-style { transform: translateX(calc(100% + var(--space-2))); } }
1154
+
1155
+ & .resizablepanel-inner { height: 100%; opacity: 1; }
1156
+ & .resizablepanel-panel[data-floating="true"] .resizablepanel-inner { opacity: 1; transition: opacity 0.14s; @starting-style { opacity: 0; } }
1157
+
1158
+ /* handle — variant "panel" (default): a 10px hit target, its ::before the
1159
+ only visible divider (1px rest -> 2px on hover/drag, brand-solid). */
1160
+ & .resizablepanel-handle { position: absolute; top: 0; width: 10px; height: 100%; z-index: 2; cursor: col-resize; background: transparent; touch-action: none; }
1161
+ & .resizablepanel-handle[data-side="left"] { right: 0; }
1162
+ & .resizablepanel-handle[data-side="right"] { left: 0; }
1163
+ & .resizablepanel-handle::before { content: ""; position: absolute; top: 0; width: 1px; height: 100%; background: var(--border-subtle); transition: background-color 0.16s, height 0.16s; }
1164
+ & .resizablepanel-handle[data-side="left"]::before { right: 0; }
1165
+ & .resizablepanel-handle[data-side="right"]::before { left: 0; }
1166
+ & .resizablepanel-handle:hover::before, & .resizablepanel-handle[data-dragging="true"]::before { width: 2px; background: var(--bg-brand-solid); }
1167
+
1168
+ /* handle — variant "column": a wider 7px hit target straddling a 1px
1169
+ divider (table column edges), with a real 3px inner bar whose opacity
1170
+ comes in on a 100ms DELAY — distinct from the panel variant's instant
1171
+ ::before swap. */
1172
+ /* .resizablepanel-handle.resizablepanel-handle--column (both classes) to
1173
+ out-specificity the base [data-side] left/right rules above, which
1174
+ otherwise tie-break by source order alone and would win. */
1175
+ & .resizablepanel-handle.resizablepanel-handle--column { display: flex; align-items: center; justify-content: center; width: 7px; left: -3px; right: -3px; z-index: 1; cursor: col-resize; }
1176
+ & .resizablepanel-handle--column::before { content: none; }
1177
+ & .resizablepanel-handle-inner { width: 3px; height: 100%; border-radius: 3px; background: var(--bg-brand-solid); opacity: 0; transition: opacity 0.1s 0.1s; }
1178
+ & .resizablepanel-handle--column:hover .resizablepanel-handle-inner, & .resizablepanel-handle--column[data-dragging="true"] .resizablepanel-handle-inner { opacity: 1; }
1179
+
671
1180
  }
672
- .avatar--tone_green {
673
- background: var(--bg-success); color: #fff;
1181
+
1182
+ @media (prefers-reduced-motion: reduce) {
1183
+ .resizablepanel, .resizablepanel * {
1184
+ animation-duration: 0.01ms !important;
1185
+ animation-iteration-count: 1 !important;
1186
+ transition-duration: 0.01ms !important;
1187
+ }
674
1188
  }
675
1189
 
676
- .switch {
1190
+ .wheelpicker {
677
1191
 
678
- display: inline-flex; align-items: center; flex-shrink: 0; width: 24px; height: 16px; padding: 0; margin: 0;
679
- border: none; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 9%, transparent);
680
- cursor: pointer; transition: background-color .2s ease; -webkit-tap-highlight-color: transparent;
681
- & .switch-thumb { width: 12px; height: 12px; margin: 0 2px; border-radius: var(--radius-full); background: #fff; transition: transform .2s ease; }
682
- &[data-checked] { background: var(--bg-brand-solid); }
683
- &[data-checked] .switch-thumb { transform: translateX(8px); }
684
- &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
685
- &:disabled { opacity: 0.5; cursor: not-allowed; }
1192
+ position: relative; box-sizing: border-box; width: 100%; overflow: hidden;
1193
+ background: var(--bg-surface); font-family: var(--font-sans);
1194
+
1195
+ /* the band the selected row sits in; behind the items, never hit-tested */
1196
+ & .wheelpicker-indicator {
1197
+ position: absolute; z-index: 0; inset-inline: var(--space-4); top: 50%;
1198
+ transform: translateY(-50%); border-radius: var(--radius-md);
1199
+ background: var(--bg-neutral-weak); pointer-events: none;
1200
+ }
1201
+
1202
+ /* fades the rows furthest from the centre, so the column reads as a wheel
1203
+ rather than a list. 40% of the viewport, capped, top and bottom. */
1204
+ & .wheelpicker-fog {
1205
+ position: relative; z-index: 1; height: 100%; overflow: hidden;
1206
+ mask-image: linear-gradient(
1207
+ to bottom,
1208
+ transparent 0,
1209
+ #000 var(--wheelpicker-fog),
1210
+ #000 calc(100% - var(--wheelpicker-fog)),
1211
+ transparent 100%
1212
+ );
1213
+ }
1214
+ & .wheelpicker-columns { display: flex; width: 100%; height: 100%; justify-content: center; }
1215
+
1216
+ & .wheelpicker-column {
1217
+ box-sizing: border-box; flex: 0 0 auto; width: max-content; height: 100%;
1218
+ overflow-x: hidden; overflow-y: auto;
1219
+ overscroll-behavior-y: contain; overscroll-behavior-x: none;
1220
+ scroll-snap-type: y mandatory; touch-action: pan-y;
1221
+ scrollbar-width: none; -ms-overflow-style: none; outline: none;
1222
+ padding-block: var(--wheelpicker-offset);
1223
+ }
1224
+ & .wheelpicker-column::-webkit-scrollbar { display: none; }
1225
+
1226
+ & .wheelpicker-item {
1227
+ display: flex; align-items: center; justify-content: center;
1228
+ scroll-snap-align: center; user-select: none; white-space: nowrap;
1229
+ padding-inline: var(--space-4); color: var(--fg-disabled);
1230
+ background: none; border: none; font: inherit; cursor: pointer;
1231
+ }
1232
+ & .wheelpicker-item[data-selected] { color: var(--fg-primary); }
1233
+
1234
+ /* the ring is drawn on the SELECTED row, and only for keyboard focus:
1235
+ a pointer user has just tapped the row they meant and does not need it */
1236
+ & .wheelpicker-column:focus-visible .wheelpicker-item[data-selected] {
1237
+ outline: 2px solid var(--stroke-focus-ring); outline-offset: -2px;
1238
+ border-radius: var(--radius-md);
1239
+ }
686
1240
 
1241
+ }
1242
+ .wheelpicker--size_small {
1243
+
1244
+ height: 180px; --wheelpicker-offset: 72px;
1245
+ --wheelpicker-fog: min(40%, 108px);
1246
+ & .wheelpicker-indicator { height: 36px; }
1247
+ & .wheelpicker-item { height: 36px; min-height: 36px; font-size: 20px; line-height: 27px; }
1248
+
1249
+ }
1250
+ .wheelpicker--size_medium {
1251
+
1252
+ height: 220px; --wheelpicker-offset: 88px;
1253
+ --wheelpicker-fog: min(40%, 132px);
1254
+ & .wheelpicker-indicator { height: 44px; }
1255
+ & .wheelpicker-item { height: 44px; min-height: 44px; font-size: 26px; line-height: 35px; }
1256
+
687
1257
  }
688
1258
 
689
- .select {
1259
+ .menu {
690
1260
 
691
1261
  position: relative; display: inline-flex; font-family: var(--font-sans);
692
1262
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
693
1263
 
694
- & .select-trigger {
695
- box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--space-1-5);
696
- height: 32px; width: 100%; min-width: 0; margin: 0; padding: 0 var(--space-1-5) 0 var(--space-2);
697
- border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
698
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer;
699
- transition: background-color .12s ease, box-shadow .12s ease;
700
- }
701
- & .select-trigger:hover { background: var(--bg-raised); }
702
- & .select-trigger[data-open], & .select-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
703
- & .select-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
704
- & .select-value { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: var(--space-1-5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
705
- & .select-placeholder { color: var(--fg-muted); }
706
- & .select-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
707
- & .select-trigger[data-open] .select-chevron { transform: rotate(180deg); }
708
-
709
- & .select-listbox {
1264
+ & .menu-content {
710
1265
  position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
711
- max-height: 280px; overflow-y: auto; padding: var(--space-1);
1266
+ min-width: 200px; max-height: 360px; overflow-y: auto; padding: var(--space-1);
712
1267
  border-radius: var(--radius-xl); background: var(--bg-popover);
713
1268
  box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
714
1269
  transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
715
1270
  }
716
- & .select-listbox[data-up] { transform-origin: bottom; }
717
- & .select-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
718
- & .select-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
719
- & .select-search svg { flex-shrink: 0; }
720
- & .select-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
721
- & .select-search input::placeholder { color: var(--fg-muted); }
722
- & .select-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
723
- & .select-option {
724
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: 32px; flex-shrink: 0;
725
- padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md);
726
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; white-space: nowrap;
1271
+ & .menu-content[data-align="end"] { transform-origin: top right; }
1272
+ & .menu-content[data-up] { transform-origin: bottom left; }
1273
+ & .menu-content[data-up][data-align="end"] { transform-origin: bottom right; }
1274
+ & .menu-content { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1275
+
1276
+ & .menu-item {
1277
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: var(--size-menuRow); flex-shrink: 0;
1278
+ margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md);
1279
+ font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; white-space: nowrap;
727
1280
  }
728
- & .select-option[data-highlighted] { background: var(--bg-raised); }
729
- & .select-option[data-disabled] { opacity: 0.5; cursor: not-allowed; }
730
- & .select-option-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
731
- & .select-option-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
732
- & .select-option-check { flex-shrink: 0; color: var(--bg-brand-solid); }
1281
+ & .menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
1282
+ & .menu-item:focus { outline: none; }
1283
+ & .menu-item:hover:not([data-disabled]), & .menu-item:focus-visible:not([data-disabled]), & .menu-item[data-highlighted]:not([data-disabled]) { background: var(--bg-raised); }
1284
+ & .menu-item[data-disabled] { opacity: 0.5; cursor: not-allowed; }
1285
+ & .menu-item--danger { color: var(--bg-danger); }
1286
+ & .menu-item--danger svg { color: var(--bg-danger); }
1287
+ & .menu-item--danger:hover, & .menu-item--danger:focus-visible, & .menu-item--danger[data-highlighted] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1288
+ & .menu-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
1289
+ & .menu-item-shortcut { flex-shrink: 0; margin-inline-start: var(--space-3); font-size: var(--text-sm); color: var(--fg-muted); letter-spacing: 0.02em; }
1290
+ & .menu-item-check { flex-shrink: 0; color: var(--bg-brand-solid); }
1291
+ & .menu-item-check--placeholder { width: 15px; }
1292
+
1293
+ & .menu-sep { height: 1px; flex-shrink: 0; border: none; margin: var(--space-1) calc(-1 * var(--space-1)); background: var(--border-subtle); }
1294
+ & .menu-label { padding: var(--space-1-5) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
733
1295
 
734
1296
  }
735
- .select--variant_default {
1297
+
1298
+ @media (prefers-reduced-motion: reduce) {
1299
+ .menu, .menu * {
1300
+ animation-duration: 0.01ms !important;
1301
+ animation-iteration-count: 1 !important;
1302
+ transition-duration: 0.01ms !important;
1303
+ }
1304
+ }
1305
+
1306
+ .donutchart {
1307
+ display: inline-flex; align-items: center; gap: var(--space-4); box-sizing: border-box; font-family: var(--font-sans);
1308
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1309
+ & .donutchart-ring { position: relative; flex-shrink: 0; }
1310
+ & .donutchart-svg { display: block; }
1311
+ & .donutchart-seg { fill: none; transition: stroke-dasharray 0.3s ease; }
1312
+ & .donutchart-track { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1313
+ & .donutchart-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
1314
+ & .donutchart-total { font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.3px; color: var(--fg-primary); }
1315
+ & .donutchart-caption { font-size: var(--text-xs); color: var(--fg-muted); }
1316
+ & .donutchart-legend { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 0; }
1317
+ & .donutchart-item { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-md); color: var(--fg-primary); }
1318
+ & .donutchart-swatch { width: 10px; height: 10px; flex-shrink: 0; border-radius: 3px; }
1319
+ & .donutchart-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-muted); }
1320
+ & .donutchart-val { flex-shrink: 0; font-weight: var(--weight-medium); color: var(--fg-primary); }
1321
+ }
1322
+
1323
+ @media (prefers-reduced-motion: reduce) {
1324
+ .donutchart, .donutchart * {
1325
+ animation-duration: 0.01ms !important;
1326
+ animation-iteration-count: 1 !important;
1327
+ transition-duration: 0.01ms !important;
1328
+ }
1329
+ }
1330
+
1331
+ .textarea {
1332
+
1333
+ position: relative; display: block; width: 100%; font-family: var(--font-sans);
1334
+
1335
+ & .textarea-field {
1336
+ box-sizing: border-box; display: block; width: 100%; min-height: 80px; resize: vertical;
1337
+ margin: 0; padding: var(--space-1-5) var(--space-2-5); border: none; border-radius: var(--radius-md);
1338
+ background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
1339
+ font-family: inherit; font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
1340
+ outline: none; transition: box-shadow .15s ease;
1341
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1342
+ }
1343
+ & .textarea-field::placeholder { color: var(--fg-muted); }
1344
+ & .textarea-field:disabled { opacity: 0.5; cursor: not-allowed; }
1345
+
1346
+ /* seed-design's focus treatment, same as Input: a 2px ring on an ::after
1347
+ overlay that is present-but-transparent at rest, so focusing never
1348
+ shifts the box, animating only its colour. */
1349
+ & .textarea-wrap { position: relative; display: block; }
1350
+ & .textarea-wrap::after {
1351
+ content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
1352
+ border: 2px solid transparent; transition: border-color .1s ease;
1353
+ pointer-events: none;
1354
+ }
1355
+ & .textarea-wrap:focus-within::after { border-color: var(--stroke-field-focus); }
1356
+ &[data-invalid] .textarea-wrap::after { border-color: var(--bg-danger); }
1357
+ &[data-invalid] .textarea-wrap:focus-within::after { border-color: var(--bg-danger); }
1358
+ &[data-counted] .textarea-field { padding-bottom: var(--space-5); }
1359
+ & .textarea-count { position: absolute; inset-inline-end: var(--space-2-5); bottom: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); pointer-events: none; }
1360
+ & .textarea-count[data-over] { color: var(--bg-danger); }
736
1361
 
737
1362
  }
738
- .select--variant_ghost {
1363
+
1364
+ @media (prefers-reduced-motion: reduce) {
1365
+ .textarea, .textarea * {
1366
+ animation-duration: 0.01ms !important;
1367
+ animation-iteration-count: 1 !important;
1368
+ transition-duration: 0.01ms !important;
1369
+ }
1370
+ }
1371
+
1372
+ .card {
1373
+ display: flex; flex-direction: column; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); font-family: var(--font-sans); color: var(--fg-primary);
1374
+ & .card-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
1375
+ & .card-header svg { flex-shrink: 0; color: var(--fg-muted); }
1376
+ & .card-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1377
+ & .card-body { flex: 1; min-height: 0; padding: var(--space-4); }
1378
+ & .card-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); flex-shrink: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border-subtle); }
1379
+ }
1380
+ .card--raised_true {
1381
+ box-shadow: inset 0 0 0 1px var(--border-subtle), 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px -4px rgba(28,40,64,0.08);
1382
+ }
1383
+ .card--raised_false {
739
1384
 
740
- & .select-trigger { background: transparent; box-shadow: none; }
741
- & .select-trigger:hover { background: var(--bg-raised); box-shadow: none; }
742
- & .select-trigger[data-open], & .select-trigger:focus-visible { background: transparent; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
743
-
744
1385
  }
745
- .select--width_full {
746
- width: 100%;
1386
+ .card--interactive_true {
1387
+ cursor: pointer; transition: box-shadow 0.12s ease; &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
747
1388
  }
748
- .select--width_auto {
749
- width: auto;
1389
+ .card--interactive_false {
1390
+
750
1391
  }
751
1392
 
752
- .breadcrumb {
753
- display: flex; align-items: center; gap: var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-lg);
754
- & .breadcrumb-item { display: inline-flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; height: 24px; padding: 0 var(--space-1); border-radius: var(--radius-md); color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
755
- & .breadcrumb-item svg { flex-shrink: 0; }
756
- & a.breadcrumb-item:hover, & button.breadcrumb-item:hover { color: var(--fg-primary); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); }
757
- & button.breadcrumb-item { border: none; background: none; font: inherit; cursor: pointer; }
758
- & .breadcrumb-item[aria-current] { color: var(--fg-primary); font-weight: var(--weight-medium); }
759
- & .breadcrumb-sep { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 28%, transparent); }
1393
+ @media (prefers-reduced-motion: reduce) {
1394
+ .card, .card * {
1395
+ animation-duration: 0.01ms !important;
1396
+ animation-iteration-count: 1 !important;
1397
+ transition-duration: 0.01ms !important;
1398
+ }
760
1399
  }
761
1400
 
762
- .multiselect {
1401
+ .progress {
1402
+ display: block; box-sizing: border-box; height: 6px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden;
1403
+ & .progress-fill { display: block; height: 100%; border-radius: var(--radius-full); background: var(--bg-brand-solid); transition: width 0.25s ease; }
1404
+ &[data-segmented] { display: flex; gap: var(--space-1); background: transparent; overflow: visible; }
1405
+ &[data-segmented] .progress-seg { flex: 1; height: 100%; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 8%, transparent); transition: background 0.2s; }
1406
+ &[data-segmented] .progress-seg[data-filled] { background: var(--bg-brand-solid); }
1407
+ }
1408
+
1409
+ @media (prefers-reduced-motion: reduce) {
1410
+ .progress, .progress * {
1411
+ animation-duration: 0.01ms !important;
1412
+ animation-iteration-count: 1 !important;
1413
+ transition-duration: 0.01ms !important;
1414
+ }
1415
+ }
1416
+
1417
+ .switch {
763
1418
 
764
- position: relative; display: inline-flex; width: 100%; font-family: var(--font-sans);
765
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1419
+ display: inline-flex; align-items: center; flex-shrink: 0; width: 24px; height: 16px; padding: 0; margin: 0;
1420
+ border: none; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 9%, transparent);
1421
+ cursor: pointer; transition: background-color .2s ease; -webkit-tap-highlight-color: transparent;
1422
+ & .switch-thumb { width: 12px; height: 12px; margin: 0 2px; border-radius: var(--radius-full); background: #fff; transition: transform .2s ease; }
1423
+ &[data-checked] { background: var(--bg-brand-solid); }
1424
+ &[data-checked] .switch-thumb { transform: translateX(8px); }
1425
+ &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
1426
+ &:disabled { opacity: 0.5; cursor: not-allowed; }
1427
+
1428
+ }
766
1429
 
767
- & .multiselect-trigger {
768
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1); width: 100%; min-width: 0; min-height: 32px;
769
- margin: 0; padding: var(--space-0-5) var(--space-1-5) var(--space-0-5) var(--space-2);
770
- border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 7%, transparent);
771
- font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer; text-align: left;
772
- transition: background-color .12s ease, box-shadow .12s ease;
773
- }
774
- & .multiselect-trigger:hover { background: var(--bg-raised); }
775
- & .multiselect-trigger[data-open], & .multiselect-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--bg-brand-solid); background: var(--bg-surface); }
776
- & .multiselect-trigger:disabled { opacity: 0.5; cursor: not-allowed; }
777
- & .multiselect-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
778
- & .multiselect-placeholder { color: var(--fg-muted); }
779
- & .multiselect-chevron { flex-shrink: 0; color: var(--fg-muted); transition: transform .15s ease; }
780
- & .multiselect-trigger[data-open] .multiselect-chevron { transform: rotate(180deg); }
1430
+ @media (prefers-reduced-motion: reduce) {
1431
+ .switch, .switch * {
1432
+ animation-duration: 0.01ms !important;
1433
+ animation-iteration-count: 1 !important;
1434
+ transition-duration: 0.01ms !important;
1435
+ }
1436
+ }
1437
+
1438
+ .dialog {
1439
+ display: contents; font-family: var(--font-sans);
1440
+ & .dialog-backdrop { position: fixed; inset: 0; z-index: 60; background: transparent; }
1441
+ & .dialog-positioner { position: fixed; inset: 0; z-index: 61; display: flex; align-items: flex-start; justify-content: center; padding: 15vh var(--space-4) var(--space-4); }
1442
+ & .dialog-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 90vw; max-height: 74vh; padding: var(--space-1); border-radius: var(--radius-2xl); background: color-mix(in srgb, var(--bg-overlay-frost) 60%, transparent); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 28px -6px var(--shadow-overlay1), 0 18px 88px -4px var(--shadow-overlay2), 0 0 1px var(--shadow-overlay3); opacity: 1; transform: scale(1); transition: opacity 0.2s ease, transform 0.2s ease; @starting-style { opacity: 0; transform: scale(0.97); } }
1443
+ & .dialog-card { display: flex; flex-direction: column; flex: 1; min-height: 0; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden; }
1444
+ & .dialog-header { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; height: 52px; padding: 0 var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); }
1445
+ & .dialog-header svg { flex-shrink: 0; color: var(--fg-muted); }
1446
+ & .dialog-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1447
+ & .dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: 0; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1448
+ & .dialog-close:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1449
+ & .dialog-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5) var(--space-4); }
1450
+ & .dialog-footer { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); flex-shrink: 0; min-height: 56px; padding: 0 var(--space-4); border-top: 1px solid var(--border-subtle); }
1451
+ & .dialog-field { display: flex; flex-direction: column; gap: var(--space-1-5); }
1452
+ & .dialog-field-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
1453
+ & .dialog-more { display: inline-flex; align-items: center; gap: var(--space-2); margin-inline-end: auto; border: none; background: none; padding: 0; font-family: inherit; font-size: var(--text-md); color: var(--fg-muted); cursor: pointer; }
1454
+ & .dialog-submit { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 var(--space-1) 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1455
+ & .dialog-submit-key { display: inline-flex; align-items: center; justify-content: center; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: rgba(255,255,255,0.22); font-size: var(--text-xs); }
1456
+ }
1457
+
1458
+ @media (prefers-reduced-motion: reduce) {
1459
+ .dialog, .dialog * {
1460
+ animation-duration: 0.01ms !important;
1461
+ animation-iteration-count: 1 !important;
1462
+ transition-duration: 0.01ms !important;
1463
+ }
1464
+ }
1465
+
1466
+ .stagebar {
1467
+ display: flex; align-items: center; gap: var(--space-0-5); width: 100%; height: 6px; font-family: var(--font-sans);
1468
+ & .stagebar-seg { flex: 1; height: 100%; border-radius: var(--radius-full); transition: background 0.2s ease; }
1469
+ }
1470
+
1471
+ @media (prefers-reduced-motion: reduce) {
1472
+ .stagebar, .stagebar * {
1473
+ animation-duration: 0.01ms !important;
1474
+ animation-iteration-count: 1 !important;
1475
+ transition-duration: 0.01ms !important;
1476
+ }
1477
+ }
1478
+
1479
+ .popover {
1480
+ display: contents; font-family: var(--font-sans);
1481
+ & .popover-content { position: fixed; z-index: 60; box-sizing: border-box; min-width: 200px; max-width: min(360px, 92vw); padding: var(--space-1); border-radius: var(--radius-xl); background: var(--bg-popover); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); opacity: 1; transform: none; transition: opacity 0.08s ease, transform 0.08s ease; transform-origin: top left; @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
1482
+ & .popover-content[data-align="end"] { transform-origin: top right; }
1483
+ & .popover-content[data-up] { transform-origin: bottom left; }
1484
+ }
1485
+
1486
+ @media (prefers-reduced-motion: reduce) {
1487
+ .popover, .popover * {
1488
+ animation-duration: 0.01ms !important;
1489
+ animation-iteration-count: 1 !important;
1490
+ transition-duration: 0.01ms !important;
1491
+ }
1492
+ }
1493
+
1494
+ .table {
1495
+ display: block; box-sizing: border-box; background: var(--bg-surface);
1496
+ & .table-scroll { overflow-x: auto; }
1497
+ & table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-sans); font-size: var(--text-lg); color: var(--fg-primary); }
1498
+ & th, & td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; vertical-align: middle; white-space: nowrap; overflow: hidden; }
1499
+ & th { height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
1500
+ & td { color: var(--fg-primary); background: var(--bg-surface); }
1501
+ & th:last-child, & td:last-child { border-inline-end: none; }
1502
+ & tbody tr:last-child td { border-bottom: none; }
1503
+ & tfoot td { border-top: 1px solid var(--border-subtle); border-bottom: none; font-weight: var(--weight-medium); color: var(--fg-muted); }
1504
+ & caption { padding: var(--space-2) var(--space-2); text-align: start; font-size: var(--text-sm); color: var(--fg-muted); caption-side: bottom; }
1505
+ & td[data-align="right"], & th[data-align="right"] { text-align: end; }
1506
+ & td[data-align="center"], & th[data-align="center"] { text-align: center; }
1507
+ }
1508
+ .table--interactive_true {
1509
+ & tbody tr { transition: background-color .12s; } & tbody tr:hover td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
1510
+ }
1511
+ .table--interactive_false {
1512
+
1513
+ }
1514
+ .table--surface_card {
1515
+ border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); overflow: hidden;
1516
+ }
1517
+ .table--surface_bleed {
1518
+ border: none; border-radius: 0;
1519
+ }
1520
+
1521
+ @media (prefers-reduced-motion: reduce) {
1522
+ .table, .table * {
1523
+ animation-duration: 0.01ms !important;
1524
+ animation-iteration-count: 1 !important;
1525
+ transition-duration: 0.01ms !important;
1526
+ }
1527
+ }
1528
+
1529
+ @keyframes crisp-spin { to { transform: rotate(360deg); } }
1530
+ .spinner {
1531
+ display: inline-block; box-sizing: border-box; width: 16px; height: 16px; border-radius: var(--radius-full); border: 2px solid color-mix(in srgb, var(--fg-primary) 15%, transparent); border-top-color: var(--fg-muted); animation: crisp-spin 0.6s linear infinite;
1532
+ }
1533
+
1534
+ @media (prefers-reduced-motion: reduce) {
1535
+ .spinner, .spinner * {
1536
+ animation-duration: 0.01ms !important;
1537
+ animation-iteration-count: 1 !important;
1538
+ transition-duration: 0.01ms !important;
1539
+ }
1540
+ }
1541
+
1542
+ .button {
1543
+ display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.14px; line-height: 20px; white-space: nowrap; border: none; cursor: pointer; transition: background-color .2s, box-shadow .2s, color .2s; &:disabled { opacity: 0.5; cursor: not-allowed; }
1544
+ }
1545
+ .button--intent_primary {
1546
+ background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); &:hover { background: var(--bg-brand-solid-pressed); } &:active { background: var(--bg-brand-solid-pressed); }
1547
+ }
1548
+ .button--intent_neutral {
1549
+ background: var(--bg-surface); color: var(--fg-primary); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); &:hover { background: var(--bg-raised); }
1550
+ }
1551
+ .button--intent_danger {
1552
+ background: var(--bg-danger-solid); color: var(--fg-on-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 2px 4px -2px rgba(186,37,37,0.20), 0 3px 6px -2px rgba(186,37,37,0.12); &:hover { filter: brightness(0.96); } &:active { filter: brightness(0.92); }
1553
+ }
1554
+ .button--intent_ghost {
1555
+ background: transparent; color: var(--fg-muted); box-shadow: none; &:hover { background: var(--bg-raised); color: var(--fg-primary); }
1556
+ }
1557
+ .button--size_sm {
1558
+ height: 24px; padding-inline: var(--space-1-5); font-size: var(--text-md); border-radius: var(--radius-md);
1559
+ }
1560
+ .button--size_md {
1561
+ height: 28px; padding-inline: var(--space-2); font-size: var(--text-lg); border-radius: var(--radius-md);
1562
+ }
1563
+ .button--size_lg {
1564
+ height: 40px; padding-inline: 14px; font-size: var(--text-lg); border-radius: 10px;
1565
+ }
1566
+ .button--shape_text {
1567
+
1568
+ }
1569
+ .button--shape_icon {
1570
+ padding-inline: 0; aspect-ratio: 1 / 1;
1571
+ }
1572
+ .button--touchTarget_true {
1573
+ position: relative; &::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; min-width: 44px; min-height: 44px; }
1574
+ }
1575
+ .button--touchTarget_false {
1576
+
1577
+ }
1578
+
1579
+ @media (prefers-reduced-motion: reduce) {
1580
+ .button, .button * {
1581
+ animation-duration: 0.01ms !important;
1582
+ animation-iteration-count: 1 !important;
1583
+ transition-duration: 0.01ms !important;
1584
+ }
1585
+ }
1586
+
1587
+ .callout {
1588
+ display: flex; align-items: flex-start; gap: var(--space-2-5); box-sizing: border-box; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-family: var(--font-sans); font-size: var(--text-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); color: var(--fg-primary);
1589
+ & .callout-icon { flex-shrink: 0; margin-top: 1px; display: inline-flex; color: var(--fg-muted); }
1590
+ & .callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
1591
+ & .callout-title { font-weight: var(--weight-semibold); }
1592
+ & .callout-desc { color: var(--fg-muted); }
1593
+ & .callout-action { flex-shrink: 0; }
1594
+ &[data-tone="info"] { background: color-mix(in srgb, var(--bg-brand-solid) 8%, transparent); }
1595
+ &[data-tone="info"] .callout-icon { color: var(--bg-brand-solid); }
1596
+ &[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 10%, transparent); }
1597
+ &[data-tone="success"] .callout-icon { color: var(--bg-success); }
1598
+ &[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 12%, transparent); }
1599
+ &[data-tone="warning"] .callout-icon { color: var(--bg-warning); }
1600
+ &[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1601
+ &[data-tone="danger"] .callout-icon { color: var(--bg-danger); }
1602
+ }
1603
+
1604
+ .tooltip {
1605
+ position: fixed; z-index: 70; box-sizing: border-box; pointer-events: none; max-width: 260px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: #20242c; color: #fff; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1.45; box-shadow: 0 4px 14px -2px rgba(28,40,64,0.28), 0 0 0 1px rgba(255,255,255,0.04); opacity: 1; transition: opacity 0.12s ease; @starting-style { opacity: 0; }
1606
+ }
1607
+
1608
+ @media (prefers-reduced-motion: reduce) {
1609
+ .tooltip, .tooltip * {
1610
+ animation-duration: 0.01ms !important;
1611
+ animation-iteration-count: 1 !important;
1612
+ transition-duration: 0.01ms !important;
1613
+ }
1614
+ }
1615
+
1616
+ .emptystate {
1617
+ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1-5); box-sizing: border-box; padding: var(--space-8) var(--space-4); text-align: center; font-family: var(--font-sans);
1618
+ & .emptystate-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: var(--space-1); border-radius: var(--radius-xl); background: color-mix(in srgb, var(--fg-primary) 5%, transparent); color: var(--fg-muted); }
1619
+ & .emptystate-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1620
+ & .emptystate-desc { max-width: 320px; font-size: var(--text-md); color: var(--fg-muted); }
1621
+ & .emptystate-action { margin-top: var(--space-2); }
1622
+ }
1623
+ .emptystate--variant_default {
1624
+
1625
+ }
1626
+ .emptystate--variant_illustrated {
1627
+ & .emptystate-icon { width: 132px; height: 96px; margin-bottom: var(--space-2); border-radius: 0; color: color-mix(in srgb, var(--fg-primary) 22%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 12%, transparent) 1.2px, transparent 1.2px) 0 0 / 16px 16px; }
1628
+ }
1629
+ .emptystate--variant_page {
1630
+ gap: var(--space-2);
1631
+ & .emptystate-icon { width: 45px; height: 45px; margin-bottom: var(--space-2); border-radius: var(--radius-full); border: 1px solid var(--border-subtle); background: none; color: var(--fg-muted); }
1632
+ & .emptystate-title { font-size: 20px; line-height: 24px; }
1633
+ & .emptystate-desc { max-width: 266px; font-size: var(--text-lg); font-weight: var(--weight-medium); line-height: 20px; }
1634
+ & .emptystate-action { margin-top: var(--space-2); }
1635
+ }
1636
+
1637
+ .onboarding {
1638
+ display: flex; flex-direction: column; box-sizing: border-box; width: 272px; padding: var(--space-3); gap: var(--space-2);
1639
+ border-radius: var(--radius-xl); background: var(--bg-surface); font-family: var(--font-sans);
1640
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1641
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10);
1642
+
1643
+ & .onboarding-head { display: flex; align-items: center; gap: var(--space-1); }
1644
+ & .onboarding-title { flex: 1; min-width: 0; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1645
+ & .onboarding-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: var(--size-chip); flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s; }
1646
+ & .onboarding-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
1647
+
1648
+ & .onboarding-sub { font-size: var(--text-sm); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
1649
+ & .onboarding-sub b { font-weight: var(--weight-medium); color: var(--fg-primary); }
1650
+
1651
+ & .onboarding-progress { display: flex; gap: var(--space-1); margin: var(--space-0-5) 0 var(--space-1); }
1652
+ & .onboarding-seg { flex: 1; height: 4px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); transition: background-color .2s ease; }
1653
+ & .onboarding-seg[data-done] { background: var(--bg-brand-solid); }
1654
+
1655
+ & .onboarding-steps { display: flex; flex-direction: column; }
1656
+ & .onboarding-step { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; transition: background-color .12s; }
1657
+ & .onboarding-step:hover { background: var(--bg-raised); }
1658
+ & .onboarding-step-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
1659
+ & .onboarding-step-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1660
+ & .onboarding-step-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: var(--radius-full); color: transparent; }
1661
+ & .onboarding-step[data-done] { cursor: default; }
1662
+ & .onboarding-step[data-done] .onboarding-step-icon, & .onboarding-step[data-done] .onboarding-step-label { color: var(--fg-muted); text-decoration: line-through; }
1663
+ & .onboarding-step[data-done]:hover { background: none; }
1664
+ & .onboarding-step[data-done] .onboarding-step-check { background: var(--bg-brand-solid); color: var(--fg-on-brand); }
1665
+ }
1666
+
1667
+ @media (prefers-reduced-motion: reduce) {
1668
+ .onboarding, .onboarding * {
1669
+ animation-duration: 0.01ms !important;
1670
+ animation-iteration-count: 1 !important;
1671
+ transition-duration: 0.01ms !important;
1672
+ }
1673
+ }
1674
+
1675
+ .recordstable {
1676
+
1677
+ box-sizing: border-box; position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; width: 100%; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1678
+ & * { box-sizing: border-box; }
1679
+
1680
+ /* toolbar */
1681
+ & .recordstable-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
1682
+ & .recordstable-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
1683
+ & .recordstable-search svg { flex-shrink: 0; }
1684
+ & .recordstable-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
1685
+ & .recordstable-search input::placeholder { color: var(--fg-muted); }
1686
+ & .recordstable-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1687
+ & .recordstable-tool:hover { background: var(--bg-raised); }
1688
+ & .recordstable-tool svg { flex-shrink: 0; color: var(--fg-muted); }
1689
+ & .recordstable-tool--active { background: var(--bg-raised); }
1690
+ & .recordstable-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
1691
+ & .recordstable-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1692
+ & .recordstable-toolgroup { position: relative; display: inline-flex; }
1693
+ & .recordstable-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
1694
+ & .recordstable-menu { @starting-style { opacity: 0; transform: scale(0.96); } }
1695
+ & .recordstable-ctx { z-index: 60; }
1696
+ & .recordstable-th[data-drop] { box-shadow: inset 2px 0 0 var(--bg-brand-solid); }
1697
+ & .recordstable-th-inner[draggable="true"]:active { cursor: grabbing; }
1698
+ & .recordstable-menu-head { padding: var(--space-1) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1699
+ & .recordstable-sortpop { min-width: 460px; overflow: visible; padding: var(--space-1-5); gap: var(--space-1); }
1700
+ & .recordstable-sort-empty { padding: var(--space-1) var(--space-1) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
1701
+ & .recordstable-sort-row { display: flex; align-items: center; gap: var(--space-1-5); }
1702
+ & .recordstable-sort-grip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 28px; flex-shrink: 0; margin-right: calc(-1 * var(--space-1)); padding: 0; border: none; background: none; color: var(--fg-muted); cursor: grab; }
1703
+ & .recordstable-sort-grip:active { cursor: grabbing; }
1704
+ & .recordstable-sort-grip:hover { color: var(--fg-primary); }
1705
+ & .recordstable-sort-optlabel { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1706
+ & .recordstable-sort-optlabel svg { flex-shrink: 0; color: var(--fg-muted); }
1707
+ & .recordstable-sort-field { flex: 1; min-width: 0; }
1708
+ & .recordstable-sort-dir { width: 136px; flex-shrink: 0; }
1709
+ & .recordstable-sort-field .select-trigger, & .recordstable-sort-dir .select-trigger { height: 28px; padding-right: var(--space-1); }
1710
+ & .recordstable-sort-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
1711
+ & .recordstable-sort-remove:hover { background: var(--bg-raised); color: var(--fg-primary); }
1712
+ & .recordstable-sort-addrow { display: flex; padding: var(--space-0-5) 0; }
1713
+ & .recordstable-sort-add { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-regular); color: var(--fg-primary); cursor: pointer; transition: background-color .12s; }
1714
+ & .recordstable-sort-add:hover { background: var(--bg-raised); }
1715
+ & .recordstable-sort-add svg { flex-shrink: 0; color: var(--fg-muted); }
1716
+ & .recordstable-sort-foot { display: flex; padding: var(--space-1-5) var(--space-1) var(--space-0-5); }
1717
+ & .recordstable-sort-learn { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-lg); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); text-decoration: none; }
1718
+ & .recordstable-sort-learn svg { flex-shrink: 0; }
1719
+ & .recordstable-sort-learn:hover { color: var(--fg-primary); }
1720
+ & .recordstable-menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
1721
+ & .recordstable-menu-item:hover { background: var(--bg-raised); }
1722
+ & .recordstable-menu-item:disabled { opacity: 0.4; cursor: default; }
1723
+ & .recordstable-menu-item:disabled:hover { background: none; }
1724
+ & .recordstable-menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
1725
+ & .recordstable-menu-item[data-on] svg { color: var(--bg-brand-solid); }
1726
+ & .recordstable-menu-item .recordstable-menu-check { margin-left: auto; }
1727
+ & .recordstable-menu-input { height: var(--size-row); margin: var(--space-0-5); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; }
1728
+ & .recordstable-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-0-5) 0; }
1729
+ & .recordstable-menu--up { top: auto; bottom: calc(100% + var(--space-1)); transform-origin: bottom; }
1730
+ & .recordstable-menu--right { left: auto; right: 0; }
1731
+ & .recordstable-menu--fixed { position: fixed; top: auto; left: auto; z-index: 40; }
1732
+ & .recordstable-menu--hdr { min-width: 200px; }
1733
+ & .recordstable-menu-item--danger { color: var(--bg-danger); }
1734
+ & .recordstable-menu-item--danger svg { color: var(--bg-danger); }
1735
+ & .recordstable-menu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1736
+ & .recordstable-menu-check { margin-left: auto; color: var(--bg-brand-solid); }
1737
+ & .recordstable-fchip { display: inline-flex; align-items: center; height: var(--size-row); padding-right: var(--space-1); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--bg-surface); font-size: var(--text-md); color: var(--fg-primary); white-space: nowrap; }
1738
+ & .recordstable-fchip-main { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 100%; margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); cursor: pointer; }
1739
+ & .recordstable-fchip-field { font-weight: var(--weight-medium); }
1740
+ & .recordstable-fchip-op { color: var(--fg-muted); }
1741
+ & .recordstable-fchip-val { font-weight: var(--weight-medium); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
1742
+ & .recordstable-fchip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; }
1743
+ & .recordstable-fchip-x:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); color: var(--fg-primary); }
1744
+ & .recordstable-spacer { flex: 1; }
1745
+ & .recordstable-count { font-size: var(--text-md); color: var(--fg-muted); }
1746
+ & .recordstable-new { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1747
+ & .recordstable-new:hover { background: var(--bg-brand-solid-pressed); }
1748
+
1749
+ /* scroll frame + table */
1750
+ & .recordstable-scroll { flex: 1; min-height: 0; overflow: auto; background: var(--bg-surface); border-top: 1px solid var(--border-subtle); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg-primary) 22%, transparent) transparent; }
1751
+ & .recordstable-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
1752
+ & .recordstable-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--fg-primary) 20%, transparent); border-radius: var(--radius-full); border: 2px solid var(--bg-surface); background-clip: padding-box; }
1753
+ & .recordstable-scroll::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--fg-primary) 34%, transparent); background-clip: padding-box; }
1754
+ & .recordstable-scroll::-webkit-scrollbar-corner { background: transparent; }
1755
+ & .recordstable-table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
1756
+ & .recordstable-th, & .recordstable-td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); text-align: start; white-space: nowrap; overflow: hidden; }
1757
+ & .recordstable-th { position: sticky; top: 0; z-index: 2; padding: 0; height: var(--size-tableHeader); background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); user-select: none; }
1758
+ & .recordstable-th-inner { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; }
1759
+ & .recordstable-th-inner svg { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
1760
+ & .recordstable-th-label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
1761
+ & .recordstable-th-rename { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: none; outline: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; }
1762
+ & .recordstable-th-rename:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
1763
+ & .recordstable-sort { flex-shrink: 0; opacity: 0.4; transition: opacity .12s; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
1764
+ & .recordstable-th:hover .recordstable-sort, & .recordstable-th[data-sorted] .recordstable-sort { opacity: 1; }
1765
+ & .recordstable-th[data-sorted="desc"] .recordstable-sort svg { transform: rotate(180deg); }
1766
+
1767
+ /* column resize handle */
1768
+ & .recordstable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
1769
+ & .recordstable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
1770
+ & .recordstable-resize:hover::after, & .recordstable-resize[data-resizing]::after { opacity: 1; }
1771
+
1772
+ /* add-column header */
1773
+ & .recordstable-addcol { min-width: 44px; }
1774
+ & .recordstable-addcol button { display: flex; align-items: center; justify-content: center; width: 44px; height: 100%; border: none; background: none; color: var(--fg-muted); cursor: pointer; }
1775
+ & .recordstable-addcol button:hover { background: var(--bg-raised); color: var(--fg-primary); }
1776
+
1777
+ /* cells */
1778
+ & .recordstable-td { font-size: var(--text-lg); color: var(--fg-primary); background: var(--bg-surface); cursor: default; }
1779
+ & .recordstable-td--editable { cursor: text; }
1780
+ /* keyboard/click cell selection (spreadsheet-style) */
1781
+ & .recordstable-td[data-selected] { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); z-index: 3; }
1782
+ & .recordstable-scroll:focus { outline: none; }
1783
+ /* picker cells (status / date / reference) host a ghost control edge-to-edge */
1784
+ & .recordstable-td--picker { padding: 0; }
1785
+ & .recordstable-td--picker .select-trigger, & .recordstable-td--picker .datepicker-trigger, & .recordstable-td--picker .multiselect-trigger { width: 100%; height: 100%; min-height: 0; border-radius: 0; box-shadow: none; padding: 0 var(--space-2); }
1786
+ & .recordstable-td--picker .multiselect-trigger:hover { background: none; }
1787
+ & .recordstable-td--picker .multiselect-trigger[data-open] { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
1788
+ /* tag cell: one compact clipped line of full chips, no chevron (opens the picker on click) */
1789
+ & .recordstable-td--picker .multiselect-chips { flex-wrap: nowrap; overflow: hidden; }
1790
+ & .recordstable-td--picker .multiselect-chips .recordstable-tag { flex-shrink: 0; max-width: none; }
1791
+ & .recordstable-td--picker .multiselect-chevron { display: none; }
1792
+ & .recordstable-td--picker .multiselect-placeholder { color: var(--fg-muted); }
1793
+ & .recordstable-status { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1794
+ & .recordstable-status-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
1795
+ & .recordstable-cell { display: flex; align-items: center; gap: var(--space-2); height: 100%; min-width: 0; }
1796
+ & .recordstable-cell--num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
1797
+ & .recordstable-cell--tags { gap: var(--space-1); }
1798
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); box-shadow: inset 0 0 0 1px var(--border-subtle); }
1799
+ & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
1800
+ & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent); }
1801
+ & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 30%, transparent); }
1802
+ & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent); }
1803
+ & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-purple) 30%, transparent); }
1804
+ & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-cyan) 30%, transparent); }
1805
+ & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-orange) 30%, transparent); }
1806
+ & .recordstable-muted { color: var(--fg-muted); }
1807
+ & .recordstable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); text-decoration: none; }
1808
+ & .recordstable-entity:hover .recordstable-entity-name { text-decoration: underline; }
1809
+ & .recordstable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1810
+ & button.recordstable-entity-name--link { margin: 0; padding: 0; border: none; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; max-width: 100%; }
1811
+ & .recordstable-fav { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
1812
+ & .recordstable-open { position: absolute; inset-inline-end: var(--space-1); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); font-family: inherit; cursor: pointer; opacity: 0; transition: opacity .12s, background-color .12s; z-index: 3; }
1813
+ & .recordstable-open:hover { background: var(--bg-raised); color: var(--fg-primary); }
1814
+ & tbody tr:hover .recordstable-open { opacity: 1; }
1815
+ & .recordstable-link { color: var(--fg-primary); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
1816
+ & .recordstable-link:hover { text-decoration: underline; }
1817
+
1818
+ /* inline edit input */
1819
+ & .recordstable-edit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); z-index: 5; }
1820
+ & .recordstable-edit--num { text-align: end; font-variant-numeric: tabular-nums; }
1821
+
1822
+ /* selection / hover / sticky */
1823
+ & .recordstable-col-check { width: 40px; min-width: 40px; padding: 0; }
1824
+ & .recordstable-check-inner { display: flex; align-items: center; justify-content: center; height: 100%; }
1825
+ & .recordstable-col-check, & .recordstable-col-entity { position: sticky; z-index: 3; background: var(--bg-surface); }
1826
+ & .recordstable-col-check { left: 0; }
1827
+ & .recordstable-col-entity { left: 40px; clip-path: inset(0 -38px 0 0); transition: box-shadow .2s ease; }
1828
+ & thead .recordstable-col-check, & thead .recordstable-col-entity { z-index: 4; }
1829
+ /* soft shadow on the sticky column edge once the grid is scrolled horizontally */
1830
+ & .recordstable-scroll[data-scrolled] .recordstable-col-entity { box-shadow: 6px 0 16px 4px rgba(0,0,0,0.12); }
1831
+ /* AI-enriched values carry a purple wash. Measured from Attio:
1832
+ a full-bleed overlay at #9b69ff 4% (== bgPurple), composited OVER
1833
+ whatever row-state background the cell already has, which is why it
1834
+ is an ::after and not a background. */
1835
+ & .recordstable-td[data-enriched]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--bg-purple) 4%, transparent); }
1836
+ & tbody tr:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); }
1837
+ & tbody tr[data-selected] .recordstable-td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
1838
+ & tbody tr[data-selected]:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 4%, color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface))); }
1839
+ & .recordstable-th:last-child, & .recordstable-td:last-child { border-inline-end: none; }
781
1840
 
782
- & .multiselect-listbox {
783
- position: fixed; z-index: 60; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-px);
784
- max-height: 300px; overflow-y: auto; padding: var(--space-1);
785
- border-radius: var(--radius-xl); background: var(--bg-popover);
786
- box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
787
- transform-origin: top left; opacity: 1; transform: none; transition: opacity .08s ease, transform .08s ease;
788
- }
789
- & .multiselect-listbox[data-up] { transform-origin: bottom left; }
790
- & .multiselect-listbox { @starting-style { opacity: 0; transform: scale(0.97) translateY(-1px); } }
791
- & .multiselect-search { display: flex; align-items: center; gap: var(--space-2); height: 34px; flex-shrink: 0; margin: calc(-1 * var(--space-1)) calc(-1 * var(--space-1)) var(--space-1); padding: 0 var(--space-2-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
792
- & .multiselect-search svg { flex-shrink: 0; }
793
- & .multiselect-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
794
- & .multiselect-search input::placeholder { color: var(--fg-muted); }
795
- & .multiselect-option {
796
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: 32px; flex-shrink: 0;
797
- padding: 0 var(--space-2); margin: 0; border: none; background: none; border-radius: var(--radius-md); cursor: pointer; text-align: left;
798
- }
799
- & .multiselect-option[data-highlighted] { background: var(--bg-raised); }
800
- & .multiselect-option-chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
801
- & .multiselect-check { flex-shrink: 0; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--border-default); color: transparent; }
802
- & .multiselect-option[aria-selected="true"] .multiselect-check { background: var(--bg-brand-solid); box-shadow: none; color: #fff; }
803
- & .multiselect-empty { padding: var(--space-3) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
1841
+ /* add-row footer */
1842
+ & .recordstable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; }
1843
+ & .recordstable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
1844
+ /* zero-row empty state — centred in the body region (headers + summary stay) */
1845
+ & .recordstable-empty { display: flex; align-items: center; justify-content: center; min-height: 320px; padding: var(--space-8) var(--space-4); }
804
1846
 
805
- & .recordstable-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-1); border-radius: 7px; font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
806
- & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
807
- & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
808
- & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
809
- & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
810
- & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
811
- & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
812
- & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
1847
+ /* summary footer — per-column aggregation, sticky to the bottom */
1848
+ & .recordstable-sum { position: sticky; bottom: 0; z-index: 2; height: var(--size-tableRow); padding: 0; border-top: 1px solid var(--border-subtle); border-inline-end: 1px solid var(--border-subtle); background: var(--bg-surface); }
1849
+ & tfoot .recordstable-col-check, & tfoot .recordstable-col-entity { position: sticky; bottom: 0; z-index: 3; }
1850
+ & .recordstable-sum:last-child { border-inline-end: none; }
1851
+ & .recordstable-sum-btn { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-3); border: none; background: none; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; overflow: hidden; }
1852
+ & .recordstable-sum-btn:hover { background: var(--bg-raised); }
1853
+ & .recordstable-sum-label { color: color-mix(in srgb, var(--fg-primary) 45%, transparent); text-transform: capitalize; }
1854
+ & .recordstable-sum-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
1855
+ & .recordstable-sumgroup { width: 100%; height: 100%; }
1856
+ & .recordstable-pin { flex-shrink: 0; margin-inline-start: var(--space-1); color: var(--bg-warning); fill: color-mix(in srgb, var(--bg-warning) 35%, transparent); }
1857
+ & .recordstable-sum-btn[data-empty] { opacity: 0; justify-content: flex-start; }
1858
+ & .recordstable-sum-btn[data-empty]:hover { opacity: 1; }
1859
+
1860
+ /* bulk action bar lives in its own component now — see components/bulkbar */
1861
+ & .recordstable-bulk-sep { width: 1px; height: 20px; margin: 0 var(--space-0-5); background: var(--border-subtle); }
1862
+ & .recordstable-bulk-close { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); cursor: pointer; }
1863
+ & .recordstable-bulk-close:hover { background: var(--bg-raised); color: var(--fg-primary); }
813
1864
 
814
1865
  }
815
1866
 
816
- .datatable {
817
- display: flex; flex-direction: column; gap: var(--space-2-5); font-family: var(--font-sans);
818
- & .datatable-toolbar { display: flex; align-items: center; gap: var(--space-2); }
819
- & .datatable-search { position: relative; flex: 1; max-width: 280px; display: inline-flex; align-items: center; }
820
- & .datatable-search svg { position: absolute; left: var(--space-2); color: var(--fg-muted); pointer-events: none; }
821
- & .datatable-search input { width: 100%; height: 32px; padding: 0 var(--space-2) 0 var(--space-6); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; transition: box-shadow .15s; }
822
- & .datatable-search input::placeholder { color: var(--fg-muted); }
823
- & .datatable-search input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
824
- & .datatable-count { margin-left: auto; font-size: var(--text-md); color: var(--fg-muted); }
825
- & .datatable-th-inner { display: inline-flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 100%; }
826
- & .datatable-th-inner > svg { flex-shrink: 0; color: var(--fg-muted); }
827
- & .datatable-th-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
828
- & .datatable-sort { display: inline-flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0; border: none; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: pointer; }
829
- & th[data-align="right"] .datatable-sort { justify-content: flex-end; }
830
- & .datatable-chevron { margin-left: auto; flex-shrink: 0; color: var(--fg-muted); opacity: 0; transition: opacity .12s; }
831
- & th[data-align="right"] .datatable-chevron { margin-left: 0; }
832
- & .datatable-sort:hover .datatable-chevron { opacity: 0.6; }
833
- & .datatable-sort[data-sorted] .datatable-chevron { opacity: 1; color: var(--fg-primary); }
834
- /* sticky first column(s) + horizontal scroll shadow — RecordsTable's feel */
835
- & th[data-sticky], & td[data-sticky] { position: sticky; z-index: 1; background: var(--bg-surface); }
836
- & th[data-sticky] { z-index: 3; }
837
- & tbody tr[data-selected] td[data-sticky] { background: color-mix(in srgb, var(--bg-brand-solid) 6%, var(--bg-surface)); }
838
- & tbody tr:hover td[data-sticky] { background: color-mix(in srgb, var(--fg-primary) 3%, var(--bg-surface)); }
839
- & .table-scroll[data-scrolled-x] [data-sticky-edge] { clip-path: inset(0 -14px 0 0); box-shadow: 8px 0 12px -8px rgba(28,40,64,0.22); }
840
- /* add-row + summary footer */
841
- & .datatable-addcell { padding: 0; border-top: none; }
842
- & .datatable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; transition: background-color .12s; }
843
- & .datatable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
844
- & .datatable-addrow svg { flex-shrink: 0; }
845
- & .datatable-check { display: flex; align-items: center; justify-content: center; }
846
- & .datatable-col-check { width: 40px; padding: 0; text-align: center; }
847
- & tbody tr[data-selected] td { background: color-mix(in srgb, var(--bg-brand-solid) 6%, var(--bg-surface)); }
848
- & tbody tr[data-selected]:hover td { background: color-mix(in srgb, var(--bg-brand-solid) 10%, var(--bg-surface)); }
849
- & .datatable-editable:hover { background: color-mix(in srgb, var(--fg-primary) 4%, var(--bg-surface)); cursor: text; }
850
- & .datatable-edit { width: 100%; height: 28px; margin: 0; padding: 0 var(--space-1-5); border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--bg-brand-solid); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; vertical-align: middle; }
851
- & .datatable-empty { padding: var(--space-8) var(--space-3); text-align: center; color: var(--fg-muted); font-size: var(--text-lg); }
852
- /* fixed layout so column widths (and resize) are exact — like RecordsTable */
853
- & table { table-layout: fixed; }
854
- /* column resize grip */
855
- & .datatable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
856
- & .datatable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
857
- & .datatable-resize:hover::after, & .datatable-resize[data-resizing]::after { opacity: 1; }
858
- /* typed cells — entity (avatar + name), colour-coded tags, numbers, dates */
859
- & .datatable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); }
860
- & .datatable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
861
- & .datatable-avatar { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: var(--weight-semibold); text-transform: uppercase; color: var(--fg-on-brand); background: var(--bg-brand-solid); }
862
- & .datatable-avatar[data-tone="success"] { background: var(--bg-success); } & .datatable-avatar[data-tone="warning"] { background: var(--bg-warning); } & .datatable-avatar[data-tone="danger"] { background: var(--bg-danger); } & .datatable-avatar[data-tone="purple"] { background: var(--bg-purple); } & .datatable-avatar[data-tone="cyan"] { background: var(--bg-cyan); } & .datatable-avatar[data-tone="orange"] { background: var(--bg-orange); }
863
- & .datatable-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
864
- & .datatable-tags { display: flex; align-items: center; gap: var(--space-1); overflow: hidden; }
865
- & .datatable-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-1); border-radius: 7px; font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
866
- & .datatable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
867
- & .datatable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
868
- & .datatable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
869
- & .datatable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
870
- & .datatable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
871
- & .datatable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
872
- & .datatable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
873
- & .datatable-num { font-variant-numeric: tabular-nums; }
874
- & .datatable-muted { color: var(--fg-muted); }
1867
+ @media (prefers-reduced-motion: reduce) {
1868
+ .recordstable, .recordstable * {
1869
+ animation-duration: 0.01ms !important;
1870
+ animation-iteration-count: 1 !important;
1871
+ transition-duration: 0.01ms !important;
1872
+ }
875
1873
  }
876
1874
 
877
- .bulkbar {
878
- position: absolute; left: 0; right: 0; bottom: var(--space-4); display: flex; justify-content: center; pointer-events: none; z-index: 10;
879
- & .bulkbar-bar { pointer-events: auto; display: flex; align-items: center; gap: var(--space-0-5); height: 44px; padding: 0 var(--space-1) 0 var(--space-1-5); border-radius: 14px; background: var(--bg-surface); box-shadow: 0 0 0 1px rgba(28,40,64,0.04), 0 4px 8px -4px rgba(28,40,64,0.12), 0 4px 12px -2px rgba(24,41,75,0.16); color: var(--fg-primary); transition: opacity .16s ease, transform .16s ease; }
880
- & .bulkbar-bar { @starting-style { opacity: 0; transform: translateY(10px); } }
881
- & .bulkbar-count { display: inline-flex; align-items: center; gap: var(--space-1); height: 32px; margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
882
- & .bulkbar-count:hover { background: color-mix(in srgb, var(--fg-primary) 8%, transparent); color: var(--fg-primary); }
883
- & .bulkbar-count svg { flex-shrink: 0; }
884
- & .bulkbar-btn { display: inline-flex; align-items: center; gap: var(--space-1); height: 32px; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
885
- & .bulkbar-btn:hover { background: var(--bg-raised); }
886
- & .bulkbar-btn--danger { color: var(--bg-danger); }
887
- & .bulkbar-btn--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
888
- & .bulkbar-btn svg { flex-shrink: 0; }
1875
+ .flowcanvas {
1876
+ position: relative; overflow: hidden; box-sizing: border-box; width: 100%; height: 100%; background-color: var(--bg-surface); background-image: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 14%, transparent) 1px, transparent 1px); font-family: var(--font-sans); cursor: grab; touch-action: none; user-select: none;
1877
+ &[data-panning] { cursor: grabbing; }
1878
+ & .flowcanvas-viewport { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
1879
+ & .flowcanvas-edges { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
1880
+ & .flowcanvas-edge { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 28%, transparent); stroke-width: 1.5; }
1881
+ & .flowcanvas-edge-dot { fill: var(--bg-brand-solid); }
1882
+ & .flowcanvas-node { position: absolute; cursor: grab; }
1883
+ & .flowcanvas-node[data-dragging] { cursor: grabbing; z-index: 10; }
1884
+ & .flowcanvas-toolbar { position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border-default), 0 4px 14px -4px rgba(28,40,64,0.16); }
1885
+ & .flowcanvas-tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); height: 30px; min-width: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1886
+ & .flowcanvas-tool:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1887
+ & .flowcanvas-tool-zoom { min-width: 48px; }
1888
+ & .flowcanvas-tool-sep { width: 1px; height: 18px; background: var(--border-subtle); }
889
1889
  }
890
1890
 
891
- .badge {
892
- display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: -0.1px; white-space: nowrap;
893
- & .badge-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-full); background: currentColor; }
894
- }
895
- .badge--tone_neutral {
896
- background: var(--bg-raised); color: var(--fg-muted); box-shadow: inset 0 0 0 1px var(--border-default);
897
- }
898
- .badge--tone_brand {
899
- background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: var(--bg-brand-solid); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent);
900
- }
901
- .badge--tone_success {
902
- background: color-mix(in srgb, var(--bg-success) 14%, transparent); color: var(--bg-success); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent);
903
- }
904
- .badge--tone_warning {
905
- background: color-mix(in srgb, var(--bg-warning) 16%, transparent); color: var(--bg-warning); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 32%, transparent);
906
- }
907
- .badge--tone_danger {
908
- background: color-mix(in srgb, var(--bg-danger) 14%, transparent); color: var(--bg-danger); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent);
909
- }
910
- .badge--size_small {
911
- height: 16px; padding-inline: var(--space-1-5); font-size: var(--text-xs); border-radius: var(--radius-sm);
912
- }
913
- .badge--size_medium {
914
- height: 20px; padding-inline: var(--space-2); font-size: var(--text-sm); border-radius: var(--radius-sm);
915
- }
916
- .badge--size_large {
917
- height: 22px; padding-inline: 9px; font-size: var(--text-lg); border-radius: 7px;
918
- }
919
- .badge--variant_soft {
920
-
921
- }
922
- .badge--variant_solid {
1891
+ .command {
1892
+ display: contents; font-family: var(--font-sans)
1893
+ ; & .command-content, & .command-card { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
1894
+ & .command-backdrop { position: fixed; inset: 0; z-index: 50; background: transparent; }
1895
+ & .command-positioner { position: fixed; inset: 0; z-index: 51; display: flex; align-items: flex-start; justify-content: center; padding: 15vh var(--space-4) var(--space-4); }
1896
+ & .command-content { position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 90vw; max-width: 748px; max-height: 70vh; padding: var(--space-1); border-radius: var(--radius-2xl); background: color-mix(in srgb, var(--bg-overlay-frost) 60%, transparent); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 28px -6px var(--shadow-overlay1), 0 18px 88px -4px var(--shadow-overlay2), 0 0 1px var(--shadow-overlay3); opacity: 1; transform: scale(1); transition: opacity 0.2s ease, transform 0.2s ease; @starting-style { opacity: 0; transform: scale(0.97); } }
1897
+ & .command-card { display: flex; flex-direction: column; flex: 1; min-height: 0; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden; }
1898
+ & .command-control { display: flex; align-items: center; gap: var(--space-2-5); height: 52px; flex-shrink: 0; padding: 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); }
1899
+ & .command-control svg { flex-shrink: 0; }
1900
+ & .command-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-sans); font-size: var(--text-xl); color: var(--fg-primary); }
1901
+ & .command-input::placeholder { color: var(--fg-muted); }
1902
+ & .command-list { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-1) var(--space-2-5); display: flex; flex-direction: column; gap: var(--space-px); }
1903
+ & .command-empty { padding: var(--space-8) var(--space-3); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
1904
+ & .command-item { box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: 36px; padding-inline: var(--space-2-5); border-radius: var(--radius-xl); font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer; }
1905
+ & .command-item svg { flex-shrink: 0; color: var(--fg-muted); }
1906
+ & .command-item[data-highlighted] { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
1907
+ & .command-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1908
+ & .command-item-shortcut { margin-inline-start: auto; flex-shrink: 0; display: flex; align-items: center; gap: var(--space-0-5); }
1909
+ & .command-group-label { padding: var(--space-2) var(--space-2-5) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
1910
+ & .command-list > .command-group-label:first-child { padding-top: var(--space-1); }
1911
+ & .command-footer { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 44px; padding: 0 var(--space-2-5); border-top: 1px solid var(--border-subtle); }
1912
+ & .command-footer-nav { display: flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); }
1913
+ & .command-footer-action { display: flex; align-items: center; gap: var(--space-2); height: 28px; max-width: 60%; padding: 0 var(--space-1) 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1914
+ & .command-footer-action:disabled { opacity: 0.5; cursor: default; }
1915
+ & .command-footer-action-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1916
+ & .command-footer-key { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: rgba(255,255,255,0.22); font-size: var(--text-xs); }
923
1917
 
924
1918
  }
925
- .badge--compound_0 {
926
- background: var(--bg-brand-solid); color: var(--fg-on-brand); box-shadow: none;
927
- }
928
- .badge--compound_1 {
929
- background: var(--bg-success); color: var(--fg-on-brand); box-shadow: none;
930
- }
931
- .badge--compound_2 {
932
- background: var(--bg-warning); color: var(--fg-on-brand); box-shadow: none;
933
- }
934
- .badge--compound_3 {
935
- background: var(--bg-danger); color: var(--fg-on-brand); box-shadow: none;
936
- }
937
- .badge--compound_4 {
938
- background: var(--fg-muted); color: var(--bg-surface); box-shadow: none;
939
- }
940
-
941
- .donutchart {
942
- display: inline-flex; align-items: center; gap: var(--space-4); box-sizing: border-box; font-family: var(--font-sans);
943
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
944
- & .donutchart-ring { position: relative; flex-shrink: 0; }
945
- & .donutchart-svg { display: block; }
946
- & .donutchart-seg { fill: none; transition: stroke-dasharray 0.3s ease; }
947
- & .donutchart-track { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
948
- & .donutchart-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
949
- & .donutchart-total { font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.3px; color: var(--fg-primary); }
950
- & .donutchart-caption { font-size: var(--text-xs); color: var(--fg-muted); }
951
- & .donutchart-legend { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 0; }
952
- & .donutchart-item { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-md); color: var(--fg-primary); }
953
- & .donutchart-swatch { width: 10px; height: 10px; flex-shrink: 0; border-radius: 3px; }
954
- & .donutchart-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-muted); }
955
- & .donutchart-val { flex-shrink: 0; font-weight: var(--weight-medium); color: var(--fg-primary); }
956
- }
957
1919
 
958
- .sidebar {
959
- box-sizing: border-box; display: flex; flex-direction: column; width: 275px; height: 100%; background: var(--bg-sidebar); border-right: 1px solid var(--border-subtle); padding: var(--space-2); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-y: auto; & .sidebar-section { display: flex; flex-direction: column; gap: var(--space-px); margin-top: var(--space-2); } & .sidebar-section[data-collapsed] { display: none; } & .sidebar-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); padding: var(--space-1-5) var(--space-2) var(--space-0-5); } & .sidebar-section-header { display: flex; align-items: center; gap: var(--space-1); width: 100%; margin: 0; border: none; background: none; padding: var(--space-1-5) var(--space-2) var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); cursor: pointer; } & .sidebar-section-header svg { flex-shrink: 0; transition: transform .15s ease; } & .sidebar-section-header[data-collapsed] svg { transform: rotate(-90deg); } & .sidebar-ws { display: flex; align-items: center; gap: var(--space-2); height: var(--size-header); padding: 0 var(--space-2); border-radius: var(--radius-lg); cursor: pointer; transition: background-color 0.16s; } & .sidebar-ws:hover { background: color-mix(in srgb, var(--fg-primary) 5%, transparent); } & .sidebar-ws-name { font-size: var(--text-lg); font-weight: var(--weight-semibold); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } & .sidebar-ws-collapse { margin-left: auto; } & .sidebar-searchrow { display: flex; align-items: center; gap: var(--space-1-5); margin-top: var(--space-2-5); padding-right: var(--space-2); } & .sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-0-5); } & .sidebar-trial { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) var(--space-2); font-size: var(--text-sm); color: var(--fg-muted); } & .sidebar-search { box-sizing: border-box; flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-2); height: var(--size-row); margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); text-align: left; cursor: pointer; transition: background-color 0.14s; } & .sidebar-search:hover { background: var(--bg-raised); } & .sidebar-search-label { flex: 1; color: var(--fg-primary); font-weight: var(--weight-medium); } & .sidebar-search-kbd { margin-left: auto; display: inline-flex; align-items: center; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); font-size: var(--text-xs); } & .sidebar-pill { border-radius: var(--radius-full); align-self: center; width: auto; height: 32px; padding-inline: var(--space-4); } & .sidebar-divider { height: 0; border: none; border-top: 1px solid var(--border-subtle); margin: var(--space-2) calc(-1 * var(--space-2)) 0; } & .sidebar-newlist { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; height: var(--size-row); border-radius: var(--radius-md); border: 1px dashed var(--border-default); background: transparent; color: var(--fg-muted); font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; } & .sidebar-newlist:hover { background: var(--bg-raised); color: var(--fg-primary); }
1920
+ @media (prefers-reduced-motion: reduce) {
1921
+ .command, .command * {
1922
+ animation-duration: 0.01ms !important;
1923
+ animation-iteration-count: 1 !important;
1924
+ transition-duration: 0.01ms !important;
1925
+ }
960
1926
  }
961
1927
 
962
1928
  .inbox {
@@ -975,7 +1941,7 @@
975
1941
  & .inbox-tab[data-active] .inbox-tab-count { color: var(--bg-brand-solid); }
976
1942
 
977
1943
  & .inbox-list { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-1); display: flex; flex-direction: column; gap: 1px; }
978
- & .inbox-row { display: flex; align-items: flex-start; gap: var(--space-2-5); padding: var(--space-2) var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; text-align: left; cursor: pointer; transition: background-color .12s; }
1944
+ & .inbox-row { display: flex; align-items: flex-start; gap: var(--space-2-5); padding: var(--space-2) var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; text-align: start; cursor: pointer; transition: background-color .12s; }
979
1945
  & .inbox-row:hover { background: var(--bg-raised); }
980
1946
  & .inbox-row-avatar { flex-shrink: 0; margin-top: 1px; }
981
1947
  & .inbox-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
@@ -991,36 +1957,158 @@
991
1957
  & .inbox-empty-action { margin-top: var(--space-2); }
992
1958
  }
993
1959
 
994
- .listpage {
995
- display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
1960
+ @media (prefers-reduced-motion: reduce) {
1961
+ .inbox, .inbox * {
1962
+ animation-duration: 0.01ms !important;
1963
+ animation-iteration-count: 1 !important;
1964
+ transition-duration: 0.01ms !important;
1965
+ }
1966
+ }
1967
+
1968
+ .appshell {
1969
+
1970
+ display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--bg-surface); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1971
+ & .appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
1972
+ & .appshell-side-inner { height: 100%; }
1973
+ & .appshell-resize { position: absolute; top: 0; right: 0; width: 10px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
1974
+ & .appshell-resize::after { content: ""; position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: var(--border-subtle); transition: background-color .16s, height .16s; }
1975
+ & .appshell-resize:hover::after, & .appshell-resize[data-dragging]::after { width: 2px; background: var(--bg-brand-solid); }
1976
+ & .appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
1977
+ & .appshell-expand { position: absolute; top: var(--space-2); inset-inline-start: var(--space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--size-row); height: var(--size-row); padding: 0; border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
1978
+ & .appshell-expand:hover { background: var(--bg-raised); color: var(--fg-primary); }
1979
+
1980
+ }
1981
+
1982
+ @media (prefers-reduced-motion: reduce) {
1983
+ .appshell, .appshell * {
1984
+ animation-duration: 0.01ms !important;
1985
+ animation-iteration-count: 1 !important;
1986
+ transition-duration: 0.01ms !important;
1987
+ }
1988
+ }
1989
+
1990
+ .recordpanel {
1991
+
1992
+ position: absolute; top: var(--space-2); inset-inline-end: var(--space-2); bottom: var(--space-2);
1993
+ z-index: 20; display: flex; flex-direction: column; overflow: hidden;
1994
+ width: 420px; max-width: calc(92% - var(--space-2));
1995
+ background: var(--bg-surface); border-radius: var(--radius-xl);
1996
+ box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3);
1997
+ font-family: var(--font-sans);
996
1998
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1999
+ transform: translateX(0); transition: transform .2s ease;
2000
+ @starting-style { transform: translateX(calc(100% + var(--space-2))); }
2001
+ & * { box-sizing: border-box; }
997
2002
 
998
- & .listpage-toolbar { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); }
999
- & .listpage-toolbar-lead { display: flex; align-items: center; gap: var(--space-2); }
1000
- & .listpage-count { margin-left: auto; font-size: var(--text-md); color: var(--fg-muted); white-space: nowrap; }
1001
- & .listpage-toolbar-trail { display: flex; align-items: center; gap: var(--space-2); }
1002
- & .listpage-count + .listpage-toolbar-trail { margin-left: var(--space-3); }
2003
+ & .recordpanel-header { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); border-bottom: 1px solid var(--border-subtle); }
2004
+ & .recordpanel-fav { width: 22px; height: var(--size-chip); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
2005
+ & .recordpanel-title { flex: 1; min-width: 0; font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2006
+ & .recordpanel-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s; }
2007
+ & .recordpanel-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
1003
2008
 
1004
- & .listpage-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 var(--space-3) var(--space-3); }
2009
+ & .recordpanel-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-2) var(--space-3); }
2010
+ & .recordpanel-sectionlabel { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); padding: var(--space-2) var(--space-1) var(--space-1); }
2011
+ & .recordpanel-field { display: flex; align-items: flex-start; gap: var(--space-2); min-height: 32px; padding: var(--space-1) var(--space-1); border-radius: var(--radius-md); }
2012
+ & .recordpanel-field:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
2013
+ & .recordpanel-field-label { display: flex; align-items: center; gap: var(--space-1-5); width: 132px; flex-shrink: 0; padding-top: 3px; color: var(--fg-muted); font-size: var(--text-md); }
2014
+ & .recordpanel-field-label svg { flex-shrink: 0; }
2015
+ & .recordpanel-field-value { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); padding-top: 3px; font-size: var(--text-lg); color: var(--fg-primary); }
2016
+ & .recordpanel-empty { color: var(--fg-muted); }
1005
2017
 
1006
- & .listpage-section-label { padding: var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1007
- & .listpage-favorites { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: var(--space-6); border-radius: var(--radius-xl);
1008
- background: repeating-linear-gradient(0deg, transparent, transparent) padding-box,
1009
- border-box; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); }
1010
- & .listpage-favorites[data-dashed] { box-shadow: none; border: 1px dashed color-mix(in srgb, var(--fg-primary) 14%, transparent); }
2018
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); box-shadow: inset 0 0 0 1px var(--border-subtle); }
2019
+ & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
2020
+ & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-success) 30%, transparent); }
2021
+ & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-warning) 30%, transparent); }
2022
+ & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-danger) 30%, transparent); }
2023
+ & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-purple) 30%, transparent); }
2024
+ & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-cyan) 30%, transparent); }
2025
+ & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-orange) 30%, transparent); }
2026
+ & .recordpanel-link { color: var(--bg-brand-solid); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
2027
+ & .recordpanel-link:hover { text-decoration: underline; }
2028
+
2029
+ }
1011
2030
 
1012
- & .listpage-colhead { display: flex; align-items: center; gap: var(--space-2-5); height: 40px; padding: 0 var(--space-2); box-shadow: inset 0 -1px 0 var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
1013
- & .listpage-colhead-cell { display: inline-flex; align-items: center; gap: var(--space-1-5); }
2031
+ @media (prefers-reduced-motion: reduce) {
2032
+ .recordpanel, .recordpanel * {
2033
+ animation-duration: 0.01ms !important;
2034
+ animation-iteration-count: 1 !important;
2035
+ transition-duration: 0.01ms !important;
2036
+ }
2037
+ }
2038
+
2039
+ .settingssection {
2040
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
2041
+ & .settingssection-head { display: flex; align-items: flex-start; gap: var(--space-2); }
2042
+ & .settingssection-heading { flex: 1; min-width: 0; }
2043
+ & .settingssection-title { font-size: var(--text-xl); line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); }
2044
+ & .settingssection-sub { margin-top: var(--space-0-5); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); }
2045
+ & .settingssection-action { flex-shrink: 0; }
2046
+ & .settingssection-body { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-3); }
2047
+ }
2048
+
2049
+ .navitem {
2050
+ box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5)
2051
+ ; height: 28px; padding-inline: var(--space-2)
2052
+ ; padding-inline-end: var(--space-1)
2053
+ ; border-radius: var(--radius-lg)
2054
+ ; font-family: var(--font-sans)
2055
+ ; font-size: var(--text-lg)
2056
+ ; font-weight: var(--weight-medium)
2057
+ ; letter-spacing: -0.14px; line-height: 20px; color: var(--fg-primary)
2058
+ ; text-decoration: none; cursor: pointer; user-select: none; width: 100%; transition: background-color 0.16s; & .navitem-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2059
+ & .navitem-trailing { margin-inline-start: auto; display: inline-flex; align-items: center; flex-shrink: 0; }
2060
+ &:hover { background: color-mix(in srgb, var(--fg-primary) 2%, transparent); }
2061
+ &[data-active] { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
2062
+
2063
+ }
2064
+
2065
+ @media (prefers-reduced-motion: reduce) {
2066
+ .navitem, .navitem * {
2067
+ animation-duration: 0.01ms !important;
2068
+ animation-iteration-count: 1 !important;
2069
+ transition-duration: 0.01ms !important;
2070
+ }
2071
+ }
2072
+
2073
+ .settingsshell {
2074
+ display: flex; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
2075
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2076
+
2077
+ & .settingsshell-nav { display: flex; flex-direction: column; width: 256px; flex-shrink: 0; min-height: 0; padding: var(--space-3); border-inline-end: 1px solid var(--border-subtle); }
2078
+ & .settingsshell-back { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-1); margin: 0 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); cursor: pointer; border-radius: var(--radius-md); }
2079
+ & .settingsshell-back svg { color: var(--fg-muted); }
2080
+ & .settingsshell-back:hover svg { color: var(--fg-primary); }
2081
+
2082
+ & .settingsshell-search { display: flex; align-items: center; gap: var(--space-2); height: 32px; margin-bottom: var(--space-2); padding: 0 var(--space-2-5); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); }
2083
+ /* The field box owns the ring, so focus has to move it -- the inner
2084
+ input kills its own outline. Measured on Attio: a focused field's
2085
+ input carries box-shadow: none while its wrapper carries
2086
+ inset 0 0 0 1px #266df0. */
2087
+ & .settingsshell-search:focus-within { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
2088
+ & .settingsshell-search svg { flex-shrink: 0; }
2089
+ & .settingsshell-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
2090
+ & .settingsshell-search input::placeholder { color: var(--fg-muted); }
1014
2091
 
1015
- & .listpage-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1016
- & .listpage-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
2092
+ & .settingsshell-groups { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2-5); }
2093
+ & .settingsshell-group { display: flex; flex-direction: column; gap: 1px; }
2094
+ & .settingsshell-group-label { padding: var(--space-1) var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2095
+ & .settingsshell-item { display: flex; align-items: center; gap: var(--space-2); height: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: start; cursor: pointer; transition: background-color .12s; }
2096
+ & .settingsshell-item svg { flex-shrink: 0; color: var(--fg-muted); }
2097
+ & .settingsshell-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2098
+ & .settingsshell-item:hover { background: var(--bg-raised); }
2099
+ & .settingsshell-item[data-active] { background: var(--bg-raised); font-weight: var(--weight-medium); }
2100
+ & .settingsshell-item[data-active] svg { color: var(--fg-primary); }
2101
+ & .settingsshell-empty { padding: var(--space-3) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
1017
2102
 
1018
- & .listpage-row { display: flex; align-items: center; gap: var(--space-2-5); width: 100%; height: 52px; padding: 0 var(--space-2); margin: 0; border: none; border-top: 1px solid var(--border-subtle); background: none; font-family: inherit; color: inherit; text-align: left; cursor: pointer; transition: background-color .12s; }
1019
- & .listpage-row:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; }
1020
- & .listpage-row:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
1021
- & .listpage-row-title { font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
2103
+ & .settingsshell-content { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: var(--space-6) var(--space-8); }
2104
+ }
1022
2105
 
1023
- & .listpage-empty { padding: var(--space-8) var(--space-4); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
2106
+ @media (prefers-reduced-motion: reduce) {
2107
+ .settingsshell, .settingsshell * {
2108
+ animation-duration: 0.01ms !important;
2109
+ animation-iteration-count: 1 !important;
2110
+ transition-duration: 0.01ms !important;
2111
+ }
1024
2112
  }
1025
2113
 
1026
2114
  .board {
@@ -1030,7 +2118,7 @@
1030
2118
  & .board-col-dot { width: 9px; height: 9px; border-radius: var(--radius-full); flex-shrink: 0; }
1031
2119
  & .board-col-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); }
1032
2120
  & .board-col-count { font-size: var(--text-md); color: var(--fg-muted); }
1033
- & .board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: auto; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; }
2121
+ & .board-col-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-inline-start: auto; padding: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; }
1034
2122
  & .board-col-add:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1035
2123
  & .board-col-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; min-height: 48px; padding: var(--space-1); border-radius: var(--radius-lg); overflow-y: auto; transition: background 0.12s; }
1036
2124
  & .board-col[data-over] .board-col-body { background: color-mix(in srgb, var(--bg-brand-solid) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg-brand-solid) 30%, transparent); }
@@ -1041,6 +2129,69 @@
1041
2129
  & .board-card[data-dragging] { opacity: 0.4; }
1042
2130
  }
1043
2131
 
2132
+ @media (prefers-reduced-motion: reduce) {
2133
+ .board, .board * {
2134
+ animation-duration: 0.01ms !important;
2135
+ animation-iteration-count: 1 !important;
2136
+ transition-duration: 0.01ms !important;
2137
+ }
2138
+ }
2139
+
2140
+ .viewtoggle {
2141
+ display: inline-flex; align-items: center; gap: 2px; box-sizing: border-box; padding: 2px;
2142
+ border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent);
2143
+ font-family: var(--font-sans);
2144
+
2145
+ & .viewtoggle-tile { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
2146
+ padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted);
2147
+ font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s, box-shadow .12s; }
2148
+ & .viewtoggle-tile:hover { color: var(--fg-primary); }
2149
+ & .viewtoggle-tile[data-active] { background: var(--bg-tile-active); color: var(--fg-primary);
2150
+ box-shadow: 0 1px 2px -1px var(--shadow-tile-active); }
2151
+ & .viewtoggle-tile:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
2152
+ }
2153
+
2154
+ @media (prefers-reduced-motion: reduce) {
2155
+ .viewtoggle, .viewtoggle * {
2156
+ animation-duration: 0.01ms !important;
2157
+ animation-iteration-count: 1 !important;
2158
+ transition-duration: 0.01ms !important;
2159
+ }
2160
+ }
2161
+
2162
+ .tasklist {
2163
+ display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
2164
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
2165
+
2166
+ & .tasklist-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
2167
+ & .tasklist-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
2168
+
2169
+ & .tasklist-row { display: flex; align-items: center; gap: var(--space-2-5); height: 52px; padding: 0 var(--space-2); border-top: 1px solid var(--border-subtle); }
2170
+ & .tasklist-row:first-child { border-top: none; }
2171
+
2172
+ & .tasklist-check { appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-full); background: var(--bg-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; }
2173
+ & .tasklist-check:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
2174
+ & .tasklist-check:checked { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
2175
+ & .tasklist-check:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
2176
+
2177
+ & .tasklist-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
2178
+ & .tasklist-row[data-done] .tasklist-title { color: var(--fg-muted); text-decoration: line-through; }
2179
+
2180
+ & .tasklist-meta { display: inline-flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
2181
+ & .tasklist-due { font-size: var(--text-lg); color: var(--fg-muted); white-space: nowrap; }
2182
+ & .tasklist-due[data-overdue] { color: var(--bg-danger); }
2183
+
2184
+ & .tasklist-empty { padding: var(--space-4) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
2185
+ }
2186
+
2187
+ @media (prefers-reduced-motion: reduce) {
2188
+ .tasklist, .tasklist * {
2189
+ animation-duration: 0.01ms !important;
2190
+ animation-iteration-count: 1 !important;
2191
+ transition-duration: 0.01ms !important;
2192
+ }
2193
+ }
2194
+
1044
2195
  .recordpage {
1045
2196
 
1046
2197
  display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--bg-surface);
@@ -1054,7 +2205,7 @@
1054
2205
  & .recordpage-crumb:hover { background: var(--bg-raised); color: var(--fg-primary); }
1055
2206
  & .recordpage-crumb-sep { color: var(--fg-muted); font-size: var(--text-lg); }
1056
2207
  & .recordpage-crumb-name { font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1057
- & .recordpage-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-1); }
2208
+ & .recordpage-actions { margin-inline-start: auto; display: flex; align-items: center; gap: var(--space-1); }
1058
2209
  & .recordpage-action { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); cursor: pointer; white-space: nowrap; }
1059
2210
  & .recordpage-action:hover { background: var(--bg-raised); }
1060
2211
  & .recordpage-action--ghost { box-shadow: none; color: var(--fg-muted); }
@@ -1063,7 +2214,7 @@
1063
2214
 
1064
2215
  & .recordpage-body { flex: 1; min-height: 0; display: flex; }
1065
2216
 
1066
- & .recordpage-details { width: 320px; flex-shrink: 0; overflow-y: auto; border-right: 1px solid var(--border-subtle); padding: var(--space-3); }
2217
+ & .recordpage-details { width: 320px; flex-shrink: 0; overflow-y: auto; border-inline-end: 1px solid var(--border-subtle); padding: var(--space-3); }
1067
2218
  & .recordpage-resizer { position: relative; flex: 0 0 auto; width: 0; align-self: stretch; cursor: col-resize; z-index: 5; touch-action: none; }
1068
2219
  & .recordpage-resizer::before { content: ""; position: absolute; top: 0; bottom: 0; left: -4px; width: 9px; }
1069
2220
  & .recordpage-resizer::after { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: transparent; transition: background-color .12s ease; }
@@ -1071,34 +2222,35 @@
1071
2222
  & .recordpage-entity { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-1) var(--space-2); }
1072
2223
  & .recordpage-entity-logo { width: 32px; height: 32px; border-radius: 30%; flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
1073
2224
  & .recordpage-entity-name { flex: 0 1 auto; min-width: 0; font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.3px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1074
- & .recordpage-entity-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
1075
- & .recordpage-entity-iconbtn:first-of-type { margin-left: calc(-1 * var(--space-1)); }
2225
+ & .recordpage-entity-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s; }
2226
+ & .recordpage-entity-iconbtn:first-of-type { margin-inline-start: calc(-1 * var(--space-1)); }
1076
2227
  & .recordpage-entity-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
1077
2228
  & .recordpage-entity-iconbtn[data-active] svg { color: #f5b83d; fill: #f5b83d; }
1078
2229
  & .recordpage-quickactions { display: flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-1) var(--space-3); }
1079
2230
  & .recordpage-compose { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-4) 0 var(--space-3); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); white-space: nowrap; cursor: pointer; transition: background-color .12s; }
1080
2231
  & .recordpage-compose:hover { background: var(--bg-raised); }
1081
2232
  & .recordpage-compose svg { flex-shrink: 0; color: var(--fg-muted); }
1082
- & .recordpage-quickbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
2233
+ & .recordpage-quickbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s; }
1083
2234
  & .recordpage-quickbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
1084
2235
  & .recordpage-section { padding-top: var(--space-2); }
1085
2236
  & .recordpage-section-title { font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); padding: var(--space-1); }
1086
2237
  /* main-area section headers (Highlights / Activity / Emails / Notes / Tasks)
1087
2238
  are 14px in Attio; the left column's (Record Details / Lists) stay 12px. */
1088
2239
  & .recordpage-main .recordpage-section-title { font-size: var(--text-lg); }
1089
- & .recordpage-detailhead { display: flex; align-items: center; gap: var(--space-0-5); margin-bottom: var(--space-3); padding-right: var(--space-0-5); }
1090
- & .recordpage-collapse { display: inline-flex; align-items: center; gap: 2px; flex: 1; min-width: 0; margin: 0; border: none; background: none; padding: var(--space-1); border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: -0.12px; color: var(--fg-muted); cursor: pointer; text-align: left; }
2240
+ & .recordpage-detailhead { display: flex; align-items: center; gap: var(--space-0-5); margin-bottom: var(--space-3); padding-inline-end: var(--space-0-5); }
2241
+ & .recordpage-collapse { display: inline-flex; align-items: center; gap: 2px; flex: 1; min-width: 0; margin: 0; border: none; background: none; padding: var(--space-1); border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: -0.12px; color: var(--fg-muted); cursor: pointer; text-align: start; }
1091
2242
  & .recordpage-collapse:hover { color: var(--fg-primary); }
1092
2243
  & .recordpage-collapse .recordpage-chev { flex-shrink: 0; transition: transform .15s ease; }
1093
2244
  & .recordpage-collapse[data-collapsed] .recordpage-chev { transform: rotate(-90deg); }
1094
2245
  & .recordpage-fieldsearch { flex: 1; min-width: 0; border: none; outline: none; background: none; padding: var(--space-1); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: -0.12px; color: var(--fg-primary); }
2246
+ & .recordpage-fieldsearch:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); border-radius: var(--radius-md); }
1095
2247
  & .recordpage-fieldsearch::placeholder { color: var(--fg-muted); font-weight: var(--weight-regular); }
1096
- & .recordpage-detailsearch { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
2248
+ & .recordpage-detailsearch { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: var(--size-chip); flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); font-family: inherit; cursor: pointer; transition: background-color .12s, color .12s; }
1097
2249
  & .recordpage-detailsearch:hover, & .recordpage-detailsearch[data-active] { background: var(--bg-raised); color: var(--fg-primary); }
1098
2250
  & .recordpage-noresults { padding: var(--space-1-5) var(--space-1); font-size: var(--text-md); color: var(--fg-muted); }
1099
2251
  & .recordpage-morevalues { display: inline-flex; align-items: center; padding: 0; margin: 0; border: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-muted); cursor: pointer; }
1100
2252
  & .recordpage-morevalues:hover { color: var(--fg-primary); }
1101
- & .recordpage-viewall { flex-basis: 100%; margin-top: var(--space-0-5); border: none; background: none; padding: 0; color: color-mix(in srgb, var(--fg-primary) 55%, transparent); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-regular); cursor: pointer; text-align: left; }
2253
+ & .recordpage-viewall { flex-basis: 100%; margin-top: var(--space-0-5); border: none; background: none; padding: 0; color: color-mix(in srgb, var(--fg-primary) 55%, transparent); font-family: inherit; font-size: var(--text-sm); font-weight: var(--weight-regular); cursor: pointer; text-align: start; }
1102
2254
  & .recordpage-viewall:hover { color: var(--fg-primary); }
1103
2255
  & .recordpage-viewall--inline { flex-basis: auto; margin-top: 0; }
1104
2256
  & .recordpage-viewall--section { display: block; flex-basis: auto; margin-top: 0; padding: var(--space-1) var(--space-1); }
@@ -1125,8 +2277,8 @@
1125
2277
  nth-child border hacks that break when the column count changes. */
1126
2278
  & .recordpage-hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--border-subtle); }
1127
2279
  & .recordpage-hl-cell { position: relative; min-height: 84px; padding: var(--space-2-5) var(--space-3); background: var(--bg-surface); }
1128
- & .recordpage-hl-icon { position: absolute; top: var(--space-2-5); right: var(--space-3); color: var(--fg-muted); }
1129
- & .recordpage-hl-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); margin-bottom: var(--space-2-5); padding-right: var(--space-4); }
2280
+ & .recordpage-hl-icon { position: absolute; top: var(--space-2-5); inset-inline-end: var(--space-3); color: var(--fg-muted); }
2281
+ & .recordpage-hl-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); margin-bottom: var(--space-2-5); padding-inline-end: var(--space-4); }
1130
2282
  & .recordpage-hl-value { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1131
2283
  & .recordpage-hl-value--empty { color: var(--fg-muted); font-weight: var(--weight-regular); }
1132
2284
 
@@ -1149,260 +2301,31 @@
1149
2301
 
1150
2302
  & .recordpage-composer { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2); border: 1px solid var(--border-default); border-radius: var(--radius-xl); background: var(--bg-surface); margin-bottom: var(--space-2); }
1151
2303
  & .recordpage-composer textarea { width: 100%; min-height: 56px; resize: vertical; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
1152
- & .recordpage-composer textarea::placeholder { color: var(--fg-muted); }
1153
- & .recordpage-composer-actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-1-5); }
1154
- & .recordpage-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); background: var(--bg-surface); color: var(--fg-primary); }
1155
- & .recordpage-btn:hover { background: var(--bg-raised); }
1156
- & .recordpage-btn--primary { box-shadow: none; background: var(--bg-brand-solid); color: var(--fg-on-brand); }
1157
- & .recordpage-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }
1158
-
1159
- & .recordpage-note { display: flex; gap: var(--space-2-5); padding: var(--space-2-5) 0; border-top: 1px solid var(--border-subtle); }
1160
- & .recordpage-note-body { flex: 1; min-width: 0; }
1161
- & .recordpage-note-head { display: flex; align-items: center; gap: var(--space-1-5); margin-bottom: var(--space-0-5); }
1162
- & .recordpage-note-author { font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-primary); }
1163
- & .recordpage-note-time { font-size: var(--text-sm); color: var(--fg-muted); }
1164
- & .recordpage-note-text { font-size: var(--text-lg); color: var(--fg-primary); white-space: pre-wrap; word-break: break-word; }
1165
-
1166
- & .recordpage-task { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-1-5) 0; border-top: 1px solid var(--border-subtle); }
1167
- & .recordpage-task-text { flex: 1; min-width: 0; font-size: var(--text-lg); color: var(--fg-primary); padding-top: 1px; }
1168
- & .recordpage-task[data-done] .recordpage-task-text { text-decoration: line-through; color: var(--fg-muted); }
1169
-
1170
- & .recordpage-emptycard { display: flex; flex-direction: column; align-items: center; gap: var(--space-1-5); padding: var(--space-6) var(--space-3); border: 1px dashed var(--border-default); border-radius: var(--radius-xl); color: var(--fg-muted); font-size: var(--text-md); text-align: center; }
1171
- & .recordpage-emptycard svg { color: var(--fg-muted); opacity: 0.7; }
1172
-
1173
- & .recordpage-action[data-active] svg { color: #f5b83d; fill: #f5b83d; }
1174
-
1175
- & .recordstable-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-1); border-radius: 7px; font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
1176
- & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
1177
- & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
1178
- & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
1179
- & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
1180
- & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
1181
- & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
1182
- & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
1183
-
1184
- }
1185
-
1186
- .settingssection {
1187
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
1188
- & .settingssection-head { display: flex; align-items: flex-start; gap: var(--space-2); }
1189
- & .settingssection-heading { flex: 1; min-width: 0; }
1190
- & .settingssection-title { font-size: var(--text-xl); line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); }
1191
- & .settingssection-sub { margin-top: var(--space-0-5); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); }
1192
- & .settingssection-action { flex-shrink: 0; }
1193
- & .settingssection-body { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-3); }
1194
- }
1195
-
1196
- .appshell {
1197
-
1198
- display: flex; height: 100%; width: 100%; overflow: hidden; background: var(--bg-surface); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1199
- & .appshell-side { position: relative; flex-shrink: 0; overflow: hidden; }
1200
- & .appshell-side-inner { height: 100%; }
1201
- & .appshell-resize { position: absolute; top: 0; right: 0; width: 9px; height: 100%; cursor: col-resize; z-index: 5; touch-action: none; }
1202
- & .appshell-resize::after { content: ""; position: absolute; top: 0; right: 0; width: 2px; height: 100%; background: transparent; transition: background-color .12s; }
1203
- & .appshell-resize:hover::after, & .appshell-resize[data-dragging]::after { background: var(--bg-brand-solid); }
1204
- & .appshell-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
1205
- & .appshell-expand { position: absolute; top: var(--space-2); left: var(--space-2); z-index: 6; display: inline-flex; align-items: center; justify-content: center; width: var(--size-row); height: var(--size-row); padding: 0; border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); cursor: pointer; transition: background-color .12s; }
1206
- & .appshell-expand:hover { background: var(--bg-raised); color: var(--fg-primary); }
1207
-
1208
- }
1209
-
1210
- .tasklist {
1211
- display: flex; flex-direction: column; box-sizing: border-box; font-family: var(--font-sans);
1212
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1213
-
1214
- & .tasklist-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
1215
- & .tasklist-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
1216
-
1217
- & .tasklist-row { display: flex; align-items: center; gap: var(--space-2-5); height: 52px; padding: 0 var(--space-2); border-top: 1px solid var(--border-subtle); }
1218
- & .tasklist-row:first-child { border-top: none; }
1219
-
1220
- & .tasklist-check { appearance: none; -webkit-appearance: none; box-sizing: border-box; flex-shrink: 0; margin: 0; width: 16px; height: 16px; border: none; border-radius: var(--radius-full); background: var(--bg-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 9%, transparent); cursor: pointer; transition: background-color .12s, box-shadow .12s; }
1221
- & .tasklist-check:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 30%, transparent); }
1222
- & .tasklist-check:checked { background: var(--bg-brand-solid) center / 10px no-repeat; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E"); }
1223
- & .tasklist-check:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
1224
-
1225
- & .tasklist-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1226
- & .tasklist-row[data-done] .tasklist-title { color: var(--fg-muted); text-decoration: line-through; }
1227
-
1228
- & .tasklist-meta { display: inline-flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
1229
- & .tasklist-due { font-size: var(--text-lg); color: var(--fg-muted); white-space: nowrap; }
1230
- & .tasklist-due[data-overdue] { color: var(--bg-danger); }
1231
-
1232
- & .tasklist-empty { padding: var(--space-4) var(--space-2); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
1233
- }
1234
-
1235
- .settingsshell {
1236
- display: flex; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
1237
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1238
-
1239
- & .settingsshell-nav { display: flex; flex-direction: column; width: 256px; flex-shrink: 0; min-height: 0; padding: var(--space-3); border-right: 1px solid var(--border-subtle); }
1240
- & .settingsshell-back { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-1); margin: 0 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--fg-primary); cursor: pointer; border-radius: var(--radius-md); }
1241
- & .settingsshell-back svg { color: var(--fg-muted); }
1242
- & .settingsshell-back:hover svg { color: var(--fg-primary); }
1243
-
1244
- & .settingsshell-search { display: flex; align-items: center; gap: var(--space-2); height: 32px; margin-bottom: var(--space-2); padding: 0 var(--space-2-5); border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); }
1245
- & .settingsshell-search svg { flex-shrink: 0; }
1246
- & .settingsshell-search input { flex: 1; min-width: 0; border: none; outline: none; background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); }
1247
- & .settingsshell-search input::placeholder { color: var(--fg-muted); }
1248
-
1249
- & .settingsshell-groups { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2-5); }
1250
- & .settingsshell-group { display: flex; flex-direction: column; gap: 1px; }
1251
- & .settingsshell-group-label { padding: var(--space-1) var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1252
- & .settingsshell-item { display: flex; align-items: center; gap: var(--space-2); height: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; transition: background-color .12s; }
1253
- & .settingsshell-item svg { flex-shrink: 0; color: var(--fg-muted); }
1254
- & .settingsshell-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1255
- & .settingsshell-item:hover { background: var(--bg-raised); }
1256
- & .settingsshell-item[data-active] { background: var(--bg-raised); font-weight: var(--weight-medium); }
1257
- & .settingsshell-item[data-active] svg { color: var(--fg-primary); }
1258
- & .settingsshell-empty { padding: var(--space-3) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
1259
-
1260
- & .settingsshell-content { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: var(--space-6) var(--space-8); }
1261
- }
1262
-
1263
- .entitycard {
1264
- display: flex; flex-direction: column; box-sizing: border-box; width: 100%; min-width: 0; text-align: left;
1265
- padding: var(--space-3) var(--space-4); margin: 0; border: none; border-radius: var(--radius-xl);
1266
- background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-primary);
1267
- font-family: var(--font-sans); cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease;
1268
- -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1269
-
1270
- &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
1271
- &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
1272
-
1273
- & .entitycard-author { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
1274
- & .entitycard-title { margin-top: var(--space-2); font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: -0.1px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1275
- & .entitycard-excerpt { margin-top: var(--space-1); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
1276
- & .entitycard-spacer { flex: 1; min-height: var(--space-3); }
1277
- & .entitycard-foot { display: flex; align-items: center; gap: var(--space-1-5); padding-top: var(--space-2-5); margin-top: var(--space-1); border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
1278
- & .entitycard-foot-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-primary); }
1279
- & .entitycard-date { margin-left: auto; flex-shrink: 0; white-space: nowrap; }
1280
- }
1281
-
1282
- .recordstable {
1283
-
1284
- box-sizing: border-box; position: relative; display: flex; flex-direction: column; min-height: 0; height: 100%; width: 100%; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1285
- & * { box-sizing: border-box; }
1286
-
1287
- /* toolbar */
1288
- & .recordstable-toolbar { display: flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3) var(--space-2); }
1289
- & .recordstable-search { display: flex; align-items: center; gap: var(--space-1-5); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-muted); }
1290
- & .recordstable-search svg { flex-shrink: 0; }
1291
- & .recordstable-search input { border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); width: 180px; }
1292
- & .recordstable-search input::placeholder { color: var(--fg-muted); }
1293
- & .recordstable-tool { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-primary); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1294
- & .recordstable-tool:hover { background: var(--bg-raised); }
1295
- & .recordstable-tool svg { flex-shrink: 0; color: var(--fg-muted); }
1296
- & .recordstable-tool--active { background: var(--bg-raised); }
1297
- & .recordstable-tool--ghost { box-shadow: none; background: color-mix(in srgb, var(--fg-primary) 3%, transparent); color: var(--fg-muted); }
1298
- & .recordstable-tool--ghost:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1299
- & .recordstable-toolgroup { position: relative; display: inline-flex; }
1300
- & .recordstable-menu { position: absolute; top: calc(100% + var(--space-1)); left: 0; z-index: 30; min-width: 232px; padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-popover); box-shadow: inset 0 0 0 1px var(--ring-popover), 0 0 0 1px var(--shadow-popover1), 0 4px 8px -4px var(--shadow-popover2), 0 4px 12px -2px var(--shadow-popover3); display: flex; flex-direction: column; gap: var(--space-px); transform-origin: top; opacity: 1; transform: none; transition: opacity .13s ease, transform .13s ease; }
1301
- & .recordstable-menu { @starting-style { opacity: 0; transform: scale(0.96); } }
1302
- & .recordstable-ctx { z-index: 60; }
1303
- & .recordstable-th[data-drop] { box-shadow: inset 2px 0 0 var(--bg-brand-solid); }
1304
- & .recordstable-th-inner[draggable="true"]:active { cursor: grabbing; }
1305
- & .recordstable-menu-head { padding: var(--space-1) var(--space-2) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
1306
- & .recordstable-sortpop { min-width: 460px; overflow: visible; padding: var(--space-1-5); gap: var(--space-1); }
1307
- & .recordstable-sort-empty { padding: var(--space-1) var(--space-1) var(--space-2); font-size: var(--text-md); color: var(--fg-muted); }
1308
- & .recordstable-sort-row { display: flex; align-items: center; gap: var(--space-1-5); }
1309
- & .recordstable-sort-grip { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 28px; flex-shrink: 0; margin-right: calc(-1 * var(--space-1)); padding: 0; border: none; background: none; color: var(--fg-muted); cursor: grab; }
1310
- & .recordstable-sort-grip:active { cursor: grabbing; }
1311
- & .recordstable-sort-grip:hover { color: var(--fg-primary); }
1312
- & .recordstable-sort-optlabel { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1313
- & .recordstable-sort-optlabel svg { flex-shrink: 0; color: var(--fg-muted); }
1314
- & .recordstable-sort-field { flex: 1; min-width: 0; }
1315
- & .recordstable-sort-dir { width: 136px; flex-shrink: 0; }
1316
- & .recordstable-sort-field .select-trigger, & .recordstable-sort-dir .select-trigger { height: 28px; padding-right: var(--space-1); }
1317
- & .recordstable-sort-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
1318
- & .recordstable-sort-remove:hover { background: var(--bg-raised); color: var(--fg-primary); }
1319
- & .recordstable-sort-addrow { display: flex; padding: var(--space-0-5) 0; }
1320
- & .recordstable-sort-add { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 28px; padding: 0 var(--space-2) 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-regular); color: var(--fg-primary); cursor: pointer; transition: background-color .12s; }
1321
- & .recordstable-sort-add:hover { background: var(--bg-raised); }
1322
- & .recordstable-sort-add svg { flex-shrink: 0; color: var(--fg-muted); }
1323
- & .recordstable-sort-foot { display: flex; padding: var(--space-1-5) var(--space-1) var(--space-0-5); }
1324
- & .recordstable-sort-learn { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-lg); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); text-decoration: none; }
1325
- & .recordstable-sort-learn svg { flex-shrink: 0; }
1326
- & .recordstable-sort-learn:hover { color: var(--fg-primary); }
1327
- & .recordstable-menu-item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-row); margin: 0; padding: 0 var(--space-2); border: none; background: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; }
1328
- & .recordstable-menu-item:hover { background: var(--bg-raised); }
1329
- & .recordstable-menu-item:disabled { opacity: 0.4; cursor: default; }
1330
- & .recordstable-menu-item:disabled:hover { background: none; }
1331
- & .recordstable-menu-item svg { flex-shrink: 0; color: var(--fg-muted); }
1332
- & .recordstable-menu-item[data-on] svg { color: var(--bg-brand-solid); }
1333
- & .recordstable-menu-item .recordstable-menu-check { margin-left: auto; }
1334
- & .recordstable-menu-input { height: var(--size-row); margin: var(--space-0-5); padding: 0 var(--space-2); border: none; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-subtle); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); outline: none; }
1335
- & .recordstable-menu-sep { height: 1px; background: var(--border-subtle); margin: var(--space-0-5) 0; }
1336
- & .recordstable-menu--up { top: auto; bottom: calc(100% + var(--space-1)); transform-origin: bottom; }
1337
- & .recordstable-menu--right { left: auto; right: 0; }
1338
- & .recordstable-menu--fixed { position: fixed; top: auto; left: auto; z-index: 40; }
1339
- & .recordstable-menu--hdr { min-width: 200px; }
1340
- & .recordstable-menu-item--danger { color: var(--bg-danger); }
1341
- & .recordstable-menu-item--danger svg { color: var(--bg-danger); }
1342
- & .recordstable-menu-item--danger:hover { background: color-mix(in srgb, var(--bg-danger) 10%, transparent); }
1343
- & .recordstable-menu-check { margin-left: auto; color: var(--bg-brand-solid); }
1344
- & .recordstable-fchip { display: inline-flex; align-items: center; height: var(--size-row); padding-right: var(--space-1); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--border-default); background: var(--bg-surface); font-size: var(--text-md); color: var(--fg-primary); white-space: nowrap; }
1345
- & .recordstable-fchip-main { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 100%; margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; background: none; font-family: inherit; font-size: var(--text-md); color: var(--fg-primary); cursor: pointer; }
1346
- & .recordstable-fchip-field { font-weight: var(--weight-medium); }
1347
- & .recordstable-fchip-op { color: var(--fg-muted); }
1348
- & .recordstable-fchip-val { font-weight: var(--weight-medium); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
1349
- & .recordstable-fchip-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; }
1350
- & .recordstable-fchip-x:hover { background: color-mix(in srgb, var(--fg-primary) 10%, transparent); color: var(--fg-primary); }
1351
- & .recordstable-spacer { flex: 1; }
1352
- & .recordstable-count { font-size: var(--text-md); color: var(--fg-muted); }
1353
- & .recordstable-new { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--size-row); padding: 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; transition: background-color .12s; }
1354
- & .recordstable-new:hover { background: var(--bg-brand-solid-pressed); }
2304
+ & .recordpage-composer textarea:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); border-radius: var(--radius-md); }
2305
+ & .recordpage-composer textarea::placeholder { color: var(--fg-muted); }
2306
+ & .recordpage-composer-actions { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-1-5); }
2307
+ & .recordpage-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--space-2-5); margin: 0; border: none; border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); background: var(--bg-surface); color: var(--fg-primary); }
2308
+ & .recordpage-btn:hover { background: var(--bg-raised); }
2309
+ & .recordpage-btn--primary { box-shadow: none; background: var(--bg-brand-solid); color: var(--fg-on-brand); }
2310
+ & .recordpage-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }
1355
2311
 
1356
- /* scroll frame + table */
1357
- & .recordstable-scroll { flex: 1; min-height: 0; overflow: auto; background: var(--bg-surface); border-top: 1px solid var(--border-subtle); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--fg-primary) 22%, transparent) transparent; }
1358
- & .recordstable-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
1359
- & .recordstable-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--fg-primary) 20%, transparent); border-radius: var(--radius-full); border: 2px solid var(--bg-surface); background-clip: padding-box; }
1360
- & .recordstable-scroll::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--fg-primary) 34%, transparent); background-clip: padding-box; }
1361
- & .recordstable-scroll::-webkit-scrollbar-corner { background: transparent; }
1362
- & .recordstable-table { table-layout: fixed; border-collapse: separate; border-spacing: 0; }
1363
- & .recordstable-th, & .recordstable-td { position: relative; height: var(--size-tableRow); padding: 0 var(--space-2); border-bottom: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); text-align: left; white-space: nowrap; overflow: hidden; }
1364
- & .recordstable-th { position: sticky; top: 0; z-index: 2; height: 40px; background: var(--bg-surface); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; color: var(--fg-primary); user-select: none; }
1365
- & .recordstable-scroll[data-scrolled-y] .recordstable-th { box-shadow: 0 1px 0 var(--border-default), 0 6px 12px -8px rgba(28,40,64,0.18); }
1366
- & .recordstable-th-inner { display: flex; align-items: center; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0; border: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
1367
- & .recordstable-th-inner svg { flex-shrink: 0; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
1368
- & .recordstable-th-label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
1369
- & .recordstable-th-rename { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: none; outline: none; background: none; color: inherit; font: inherit; letter-spacing: inherit; }
1370
- & .recordstable-sort { flex-shrink: 0; opacity: 0.4; transition: opacity .12s; color: color-mix(in srgb, var(--fg-primary) 45%, transparent); }
1371
- & .recordstable-th:hover .recordstable-sort, & .recordstable-th[data-sorted] .recordstable-sort { opacity: 1; }
1372
- & .recordstable-th[data-sorted="desc"] .recordstable-sort svg { transform: rotate(180deg); }
2312
+ & .recordpage-note { display: flex; gap: var(--space-2-5); padding: var(--space-2-5) 0; border-top: 1px solid var(--border-subtle); }
2313
+ & .recordpage-note-body { flex: 1; min-width: 0; }
2314
+ & .recordpage-note-head { display: flex; align-items: center; gap: var(--space-1-5); margin-bottom: var(--space-0-5); }
2315
+ & .recordpage-note-author { font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-primary); }
2316
+ & .recordpage-note-time { font-size: var(--text-sm); color: var(--fg-muted); }
2317
+ & .recordpage-note-text { font-size: var(--text-lg); color: var(--fg-primary); white-space: pre-wrap; word-break: break-word; }
1373
2318
 
1374
- /* column resize handle */
1375
- & .recordstable-resize { position: absolute; top: 0; right: -3px; width: 9px; height: 100%; cursor: col-resize; z-index: 6; touch-action: none; }
1376
- & .recordstable-resize::after { content: ""; position: absolute; top: 0; left: 3px; width: 2px; height: 100%; background: var(--bg-brand-solid); opacity: 0; transition: opacity .12s; }
1377
- & .recordstable-resize:hover::after, & .recordstable-resize[data-resizing]::after { opacity: 1; }
2319
+ & .recordpage-task { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-1-5) 0; border-top: 1px solid var(--border-subtle); }
2320
+ & .recordpage-task-text { flex: 1; min-width: 0; font-size: var(--text-lg); color: var(--fg-primary); padding-top: 1px; }
2321
+ & .recordpage-task[data-done] .recordpage-task-text { text-decoration: line-through; color: var(--fg-muted); }
1378
2322
 
1379
- /* add-column header */
1380
- & .recordstable-addcol { min-width: 44px; }
1381
- & .recordstable-addcol button { display: flex; align-items: center; justify-content: center; width: 44px; height: 100%; border: none; background: none; color: var(--fg-muted); cursor: pointer; }
1382
- & .recordstable-addcol button:hover { background: var(--bg-raised); color: var(--fg-primary); }
2323
+ & .recordpage-emptycard { display: flex; flex-direction: column; align-items: center; gap: var(--space-1-5); padding: var(--space-6) var(--space-3); border: 1px dashed var(--border-default); border-radius: var(--radius-xl); color: var(--fg-muted); font-size: var(--text-md); text-align: center; }
2324
+ & .recordpage-emptycard svg { color: var(--fg-muted); opacity: 0.7; }
1383
2325
 
1384
- /* cells */
1385
- & .recordstable-td { font-size: var(--text-lg); color: var(--fg-primary); background: var(--bg-surface); cursor: default; }
1386
- & .recordstable-td--editable { cursor: text; }
1387
- /* keyboard/click cell selection (spreadsheet-style) */
1388
- & .recordstable-td[data-selected] { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); z-index: 3; }
1389
- & .recordstable-scroll:focus { outline: none; }
1390
- /* picker cells (status / date / reference) host a ghost control edge-to-edge */
1391
- & .recordstable-td--picker { padding: 0; }
1392
- & .recordstable-td--picker .select-trigger, & .recordstable-td--picker .datepicker-trigger, & .recordstable-td--picker .multiselect-trigger { width: 100%; height: 100%; min-height: 0; border-radius: 0; box-shadow: none; padding: 0 var(--space-2); }
1393
- & .recordstable-td--picker .multiselect-trigger:hover { background: none; }
1394
- & .recordstable-td--picker .multiselect-trigger[data-open] { box-shadow: inset 0 0 0 1.5px var(--bg-brand-solid); }
1395
- /* tag cell: one compact clipped line of full chips, no chevron (opens the picker on click) */
1396
- & .recordstable-td--picker .multiselect-chips { flex-wrap: nowrap; overflow: hidden; }
1397
- & .recordstable-td--picker .multiselect-chips .recordstable-tag { flex-shrink: 0; max-width: none; }
1398
- & .recordstable-td--picker .multiselect-chevron { display: none; }
1399
- & .recordstable-td--picker .multiselect-placeholder { color: var(--fg-muted); }
1400
- & .recordstable-status { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
1401
- & .recordstable-status-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: var(--radius-full); }
1402
- & .recordstable-cell { display: flex; align-items: center; gap: var(--space-2); height: 100%; min-width: 0; }
1403
- & .recordstable-cell--num { justify-content: flex-end; font-variant-numeric: tabular-nums; }
1404
- & .recordstable-cell--tags { gap: var(--space-1); }
1405
- & .recordstable-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-1); border-radius: 7px; font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
2326
+ & .recordpage-action[data-active] svg { color: #f5b83d; fill: #f5b83d; }
2327
+
2328
+ & .recordstable-tag { display: inline-flex; align-items: center; height: var(--size-chip); padding: 0 var(--space-1); border-radius: var(--radius-chip); font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
1406
2329
  & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
1407
2330
  & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
1408
2331
  & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
@@ -1410,79 +2333,42 @@
1410
2333
  & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
1411
2334
  & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
1412
2335
  & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
1413
- & .recordstable-muted { color: var(--fg-muted); }
1414
- & .recordstable-entity { display: flex; align-items: center; gap: var(--space-1-5); min-width: 0; color: var(--fg-primary); font-weight: var(--weight-medium); text-decoration: none; }
1415
- & .recordstable-entity:hover .recordstable-entity-name { text-decoration: underline; }
1416
- & .recordstable-entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1417
- & button.recordstable-entity-name--link { margin: 0; padding: 0; border: none; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; max-width: 100%; }
1418
- & .recordstable-fav { width: var(--size-icon); height: var(--size-icon); border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
1419
- & .recordstable-open { position: absolute; right: var(--space-1); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-default); color: var(--fg-muted); cursor: pointer; opacity: 0; transition: opacity .12s, background-color .12s; z-index: 3; }
1420
- & .recordstable-open:hover { background: var(--bg-raised); color: var(--fg-primary); }
1421
- & tbody tr:hover .recordstable-open { opacity: 1; }
1422
- & .recordstable-link { color: var(--fg-primary); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
1423
- & .recordstable-link:hover { text-decoration: underline; }
1424
-
1425
- /* inline edit input */
1426
- & .recordstable-edit { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0 var(--space-2); border: none; outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; border-radius: var(--radius-sm); background: var(--bg-surface); font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); z-index: 5; }
1427
- & .recordstable-edit--num { text-align: right; font-variant-numeric: tabular-nums; }
1428
-
1429
- /* selection / hover / sticky */
1430
- & .recordstable-col-check { width: 40px; min-width: 40px; padding: 0; }
1431
- & .recordstable-check-inner { display: flex; align-items: center; justify-content: center; height: 100%; }
1432
- & .recordstable-col-check, & .recordstable-col-entity { position: sticky; z-index: 3; background: var(--bg-surface); }
1433
- & .recordstable-col-check { left: 0; }
1434
- & .recordstable-col-entity { left: 40px; clip-path: inset(0 -24px 0 0); transition: box-shadow .18s ease; }
1435
- & thead .recordstable-col-check, & thead .recordstable-col-entity { z-index: 4; }
1436
- /* soft shadow on the sticky column edge once the grid is scrolled horizontally */
1437
- & .recordstable-scroll[data-scrolled] .recordstable-col-entity { box-shadow: 10px 0 16px -10px rgba(28,40,64,0.16), 2px 0 3px -2px rgba(28,40,64,0.10); }
1438
- & tbody tr:hover .recordstable-td { background: color-mix(in srgb, var(--fg-primary) 3%, var(--bg-surface)); }
1439
- & tbody tr[data-selected] .recordstable-td { background: color-mix(in srgb, var(--bg-brand-solid) 6%, var(--bg-surface)); }
1440
- & .recordstable-th:last-child, & .recordstable-td:last-child { border-right: none; }
2336
+
2337
+ }
1441
2338
 
1442
- /* add-row footer */
1443
- & .recordstable-addrow { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: var(--size-tableRow); padding: 0 var(--space-2); border: none; border-top: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); cursor: pointer; }
1444
- & .recordstable-addrow:hover { background: var(--bg-raised); color: var(--fg-primary); }
1445
- /* zero-row empty state — centred in the body region (headers + summary stay) */
1446
- & .recordstable-empty { display: flex; align-items: center; justify-content: center; min-height: 320px; padding: var(--space-8) var(--space-4); }
2339
+ @media (prefers-reduced-motion: reduce) {
2340
+ .recordpage, .recordpage * {
2341
+ animation-duration: 0.01ms !important;
2342
+ animation-iteration-count: 1 !important;
2343
+ transition-duration: 0.01ms !important;
2344
+ }
2345
+ }
1447
2346
 
1448
- /* summary footer — per-column aggregation, sticky to the bottom */
1449
- & .recordstable-sum { position: sticky; bottom: 0; z-index: 2; height: var(--size-tableRow); padding: 0; border-top: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); background: var(--bg-surface); }
1450
- & tfoot .recordstable-col-check, & tfoot .recordstable-col-entity { position: sticky; bottom: 0; z-index: 3; }
1451
- & .recordstable-sum:last-child { border-right: none; }
1452
- & .recordstable-sum-btn { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-1-5); width: 100%; height: 100%; margin: 0; padding: 0 var(--space-3); border: none; background: none; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); font-family: inherit; font-size: var(--text-lg); font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; overflow: hidden; }
1453
- & .recordstable-sum-btn:hover { background: var(--bg-raised); }
1454
- & .recordstable-sum-label { color: color-mix(in srgb, var(--fg-primary) 45%, transparent); text-transform: capitalize; }
1455
- & .recordstable-sum-value { color: var(--fg-primary); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
1456
- & .recordstable-sumgroup { width: 100%; height: 100%; }
1457
- & .recordstable-pin { flex-shrink: 0; margin-left: var(--space-1); color: var(--bg-warning); fill: color-mix(in srgb, var(--bg-warning) 35%, transparent); }
1458
- & .recordstable-sum-btn[data-empty] { opacity: 0; justify-content: flex-start; }
1459
- & .recordstable-sum-btn[data-empty]:hover { opacity: 1; }
2347
+ .trialbanner {
2348
+ display: flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; min-height: 28px;
2349
+ padding: 0 var(--space-1); border-radius: var(--radius-lg); font-family: var(--font-sans);
2350
+ font-size: var(--text-lg); color: var(--fg-primary);
2351
+ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1460
2352
 
1461
- /* bulk action bar lives in its own component now — see components/bulkbar */
1462
- & .recordstable-bulk-sep { width: 1px; height: 20px; margin: 0 var(--space-0-5); background: var(--border-subtle); }
1463
- & .recordstable-bulk-close { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); cursor: pointer; }
1464
- & .recordstable-bulk-close:hover { background: var(--bg-raised); color: var(--fg-primary); }
1465
-
1466
- }
2353
+ & .trialbanner-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
2354
+ & .trialbanner-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2355
+ & .trialbanner-action { display: inline-flex; align-items: center; gap: var(--space-1); height: 20px; flex-shrink: 0;
2356
+ padding: 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface);
2357
+ box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
2358
+ font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-primary);
2359
+ white-space: nowrap; cursor: pointer; transition: background-color .12s; }
2360
+ & .trialbanner-action:hover { background: var(--bg-raised); }
1467
2361
 
1468
- .flowcanvas {
1469
- position: relative; overflow: hidden; box-sizing: border-box; width: 100%; height: 100%; background-color: var(--bg-surface); background-image: radial-gradient(circle, color-mix(in srgb, var(--fg-primary) 14%, transparent) 1px, transparent 1px); font-family: var(--font-sans); cursor: grab; touch-action: none; user-select: none;
1470
- &[data-panning] { cursor: grabbing; }
1471
- & .flowcanvas-viewport { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
1472
- & .flowcanvas-edges { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
1473
- & .flowcanvas-edge { fill: none; stroke: color-mix(in srgb, var(--fg-primary) 28%, transparent); stroke-width: 1.5; }
1474
- & .flowcanvas-edge-dot { fill: var(--bg-brand-solid); }
1475
- & .flowcanvas-node { position: absolute; cursor: grab; }
1476
- & .flowcanvas-node[data-dragging] { cursor: grabbing; z-index: 10; }
1477
- & .flowcanvas-toolbar { position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-lg); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--border-default), 0 4px 14px -4px rgba(28,40,64,0.16); }
1478
- & .flowcanvas-tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); height: 30px; min-width: 30px; padding: 0 var(--space-2); margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
1479
- & .flowcanvas-tool:hover { background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: var(--fg-primary); }
1480
- & .flowcanvas-tool-zoom { min-width: 48px; }
1481
- & .flowcanvas-tool-sep { width: 1px; height: 18px; background: var(--border-subtle); }
2362
+ &[data-tone="warning"] .trialbanner-icon { color: var(--bg-warning); }
2363
+ &[data-tone="danger"] .trialbanner-icon { color: var(--bg-danger); }
1482
2364
  }
1483
2365
 
1484
- .command {
1485
- display: contents; font-family: var(--font-sans); & .command-content, & .command-card { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } & .command-backdrop { position: fixed; inset: 0; z-index: 50; background: transparent; } & .command-positioner { position: fixed; inset: 0; z-index: 51; display: flex; align-items: flex-start; justify-content: center; padding: 15vh var(--space-4) var(--space-4); } & .command-content { position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 90vw; max-width: 748px; max-height: 70vh; padding: var(--space-1); border-radius: var(--radius-2xl); background: color-mix(in srgb, var(--bg-overlay-frost) 60%, transparent); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 8px 28px -6px var(--shadow-overlay1), 0 18px 88px -4px var(--shadow-overlay2), 0 0 1px var(--shadow-overlay3); opacity: 1; transform: scale(1); transition: opacity 0.2s ease, transform 0.2s ease; @starting-style { opacity: 0; transform: scale(0.97); } } & .command-card { display: flex; flex-direction: column; flex: 1; min-height: 0; box-sizing: border-box; border-radius: var(--radius-xl); background: var(--bg-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); overflow: hidden; } & .command-control { display: flex; align-items: center; gap: var(--space-2-5); height: 52px; flex-shrink: 0; padding: 0 var(--space-4); border-bottom: 1px solid var(--border-subtle); color: var(--fg-muted); } & .command-control svg { flex-shrink: 0; } & .command-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: var(--font-sans); font-size: var(--text-xl); color: var(--fg-primary); } & .command-input::placeholder { color: var(--fg-muted); } & .command-list { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-1) var(--space-2-5); display: flex; flex-direction: column; gap: var(--space-px); } & .command-empty { padding: var(--space-8) var(--space-3); text-align: center; font-size: var(--text-md); color: var(--fg-muted); } & .command-item { box-sizing: border-box; display: flex; align-items: center; gap: var(--space-2); height: 36px; padding-inline: var(--space-2-5); border-radius: var(--radius-xl); font-size: var(--text-lg); color: var(--fg-primary); cursor: pointer; } & .command-item svg { flex-shrink: 0; color: var(--fg-muted); } & .command-item[data-highlighted] { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); } & .command-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } & .command-item-shortcut { margin-left: auto; flex-shrink: 0; display: flex; align-items: center; gap: var(--space-0-5); } & .command-group-label { padding: var(--space-2) var(--space-2-5) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: color-mix(in srgb, var(--fg-primary) 63%, transparent); } & .command-list > .command-group-label:first-child { padding-top: var(--space-1); } & .command-footer { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 44px; padding: 0 var(--space-2-5); border-top: 1px solid var(--border-subtle); } & .command-footer-nav { display: flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--fg-muted); } & .command-footer-action { display: flex; align-items: center; gap: var(--space-2); height: 28px; max-width: 60%; padding: 0 var(--space-1) 0 var(--space-2-5); border: none; border-radius: var(--radius-md); background: var(--bg-brand-solid); color: var(--fg-on-brand); font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; } & .command-footer-action:disabled { opacity: 0.5; cursor: default; } & .command-footer-action-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } & .command-footer-key { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: rgba(255,255,255,0.22); font-size: var(--text-xs); }
2366
+ @media (prefers-reduced-motion: reduce) {
2367
+ .trialbanner, .trialbanner * {
2368
+ animation-duration: 0.01ms !important;
2369
+ animation-iteration-count: 1 !important;
2370
+ transition-duration: 0.01ms !important;
2371
+ }
1486
2372
  }
1487
2373
 
1488
2374
  .richtext {
@@ -1499,123 +2385,187 @@
1499
2385
  & .rte-body h1 { font-size: var(--text-xl); line-height: 28px; font-weight: var(--weight-semibold); letter-spacing: -0.3px; margin-top: var(--space-4); }
1500
2386
  & .rte-body h2 { font-size: 17px; line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.2px; margin-top: var(--space-3); }
1501
2387
  & .rte-body h3 { font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-semibold); margin-top: var(--space-2-5); }
1502
- & .rte-body ul, & .rte-body ol { padding-left: var(--space-5); }
2388
+ & .rte-body ul, & .rte-body ol { padding-inline-start: var(--space-5); }
1503
2389
  & .rte-body li { margin-top: var(--space-1); }
1504
- & .rte-body blockquote { padding-left: var(--space-3); border-left: 2px solid var(--border-default); color: var(--fg-muted); }
2390
+ & .rte-body blockquote { padding-inline-start: var(--space-3); border-inline-start: 2px solid var(--border-default); color: var(--fg-muted); }
1505
2391
  & .rte-body code { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: var(--text-md); padding: 1px var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); }
1506
2392
  & .rte-body a { color: var(--bg-brand-solid); text-decoration: underline; text-underline-offset: 2px; }
1507
2393
  & .rte-body strong { font-weight: var(--weight-semibold); }
1508
2394
 
1509
2395
  & .rte-toolbar { position: fixed; z-index: 70; display: inline-flex; align-items: center; gap: 2px; padding: var(--space-0-5); border-radius: var(--radius-md); background: #20242c; box-shadow: 0 8px 28px -6px rgba(0,0,0,0.36), 0 2px 6px -2px rgba(0,0,0,0.24); transform: translate(-50%, -100%); opacity: 1; transition: opacity 0.1s ease; }
1510
2396
  & .rte-toolbar { @starting-style { opacity: 0; } }
1511
- & .rte-tool { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: rgba(255,255,255,0.86); cursor: pointer; transition: background-color .1s; }
2397
+ & .rte-tool { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: rgba(255,255,255,0.86); font-family: inherit; cursor: pointer; transition: background-color .1s; }
1512
2398
  & .rte-tool:hover { background: rgba(255,255,255,0.12); color: #fff; }
1513
2399
  & .rte-tool[data-active] { color: var(--bg-brand-solid); }
1514
2400
  & .rte-tool-sep { width: 1px; height: 16px; margin: 0 2px; background: rgba(255,255,255,0.16); }
1515
2401
  }
1516
2402
 
1517
- .navitem {
1518
- box-sizing: border-box; display: flex; align-items: center; gap: var(--space-1-5); height: 28px; padding-inline: var(--space-2); padding-right: var(--space-1); border-radius: var(--radius-lg); font-family: var(--font-sans); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; line-height: 1; color: var(--fg-primary); text-decoration: none; cursor: pointer; user-select: none; width: 100%; transition: background-color 0.16s; & .navitem-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } & .navitem-trailing { margin-left: auto; display: inline-flex; align-items: center; flex-shrink: 0; } &:hover { background: color-mix(in srgb, var(--fg-primary) 5%, transparent); } &[data-active] { background: color-mix(in srgb, var(--fg-primary) 4%, transparent); }
2403
+ @media (prefers-reduced-motion: reduce) {
2404
+ .richtext, .richtext * {
2405
+ animation-duration: 0.01ms !important;
2406
+ animation-iteration-count: 1 !important;
2407
+ transition-duration: 0.01ms !important;
2408
+ }
1519
2409
  }
1520
2410
 
1521
- .trialbanner {
1522
- display: flex; align-items: center; gap: var(--space-1-5); box-sizing: border-box; min-height: 28px;
1523
- padding: 0 var(--space-1); border-radius: var(--radius-lg); font-family: var(--font-sans);
1524
- font-size: var(--text-lg); color: var(--fg-primary);
2411
+ .entitycard {
2412
+ display: flex; flex-direction: column; box-sizing: border-box; width: 100%; min-width: 0; text-align: start;
2413
+ padding: var(--space-3) var(--space-4); margin: 0; border: none; border-radius: var(--radius-xl);
2414
+ background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--border-subtle); color: var(--fg-primary);
2415
+ font-family: var(--font-sans); cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease;
1525
2416
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1526
2417
 
1527
- & .trialbanner-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
1528
- & .trialbanner-msg { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1529
- & .trialbanner-action { display: inline-flex; align-items: center; gap: var(--space-1); height: 20px; flex-shrink: 0;
1530
- padding: 0 var(--space-1-5); margin: 0; border: none; border-radius: var(--radius-sm); background: var(--bg-surface);
1531
- box-shadow: 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04);
1532
- font-family: inherit; font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-primary);
1533
- white-space: nowrap; cursor: pointer; transition: background-color .12s; }
1534
- & .trialbanner-action:hover { background: var(--bg-raised); }
2418
+ &:hover { box-shadow: inset 0 0 0 1px var(--border-default), 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px -6px rgba(28,40,64,0.12); }
2419
+ &:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 2px; }
1535
2420
 
1536
- &[data-tone="warning"] .trialbanner-icon { color: var(--bg-warning); }
1537
- &[data-tone="danger"] .trialbanner-icon { color: var(--bg-danger); }
2421
+ & .entitycard-author { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--fg-muted); }
2422
+ & .entitycard-title { margin-top: var(--space-2); font-size: var(--text-lg); font-weight: var(--weight-semibold); letter-spacing: -0.1px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2423
+ & .entitycard-excerpt { margin-top: var(--space-1); font-size: var(--text-md); line-height: 18px; color: var(--fg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
2424
+ & .entitycard-spacer { flex: 1; min-height: var(--space-3); }
2425
+ & .entitycard-foot { display: flex; align-items: center; gap: var(--space-1-5); padding-top: var(--space-2-5); margin-top: var(--space-1); border-top: 1px solid var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
2426
+ & .entitycard-foot-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-primary); }
2427
+ & .entitycard-date { margin-inline-start: auto; flex-shrink: 0; white-space: nowrap; }
1538
2428
  }
1539
2429
 
1540
- .viewtoggle {
1541
- display: inline-flex; align-items: center; gap: 2px; box-sizing: border-box; padding: 2px;
1542
- border-radius: var(--radius-lg); background: color-mix(in srgb, var(--fg-primary) 5%, transparent);
1543
- font-family: var(--font-sans);
1544
-
1545
- & .viewtoggle-tile { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
1546
- padding: 0; margin: 0; border: none; border-radius: var(--radius-md); background: none; color: var(--fg-muted);
1547
- cursor: pointer; transition: background-color .12s, color .12s, box-shadow .12s; }
1548
- & .viewtoggle-tile:hover { color: var(--fg-primary); }
1549
- & .viewtoggle-tile[data-active] { background: var(--bg-tile-active); color: var(--fg-primary);
1550
- box-shadow: 0 1px 2px -1px var(--shadow-tile-active); }
1551
- & .viewtoggle-tile:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: 1px; }
2430
+ @media (prefers-reduced-motion: reduce) {
2431
+ .entitycard, .entitycard * {
2432
+ animation-duration: 0.01ms !important;
2433
+ animation-iteration-count: 1 !important;
2434
+ transition-duration: 0.01ms !important;
2435
+ }
1552
2436
  }
1553
2437
 
1554
- .onboarding {
1555
- display: flex; flex-direction: column; box-sizing: border-box; width: 272px; padding: var(--space-3); gap: var(--space-2);
1556
- border-radius: var(--radius-xl); background: var(--bg-surface); font-family: var(--font-sans);
2438
+ .authshell {
2439
+ min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; position: relative;
2440
+ background: var(--bg-surface); font-family: var(--font-sans); font-size: var(--text-lg); line-height: 20px; color: var(--fg-primary);
1557
2441
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1558
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent), 0 8px 28px -6px rgba(28,40,64,0.16), 0 2px 6px -2px rgba(28,40,64,0.10);
1559
2442
 
1560
- & .onboarding-head { display: flex; align-items: center; gap: var(--space-1); }
1561
- & .onboarding-title { flex: 1; min-width: 0; font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
1562
- & .onboarding-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; padding: 0; margin: 0; border: none; border-radius: var(--radius-sm); background: none; color: var(--fg-muted); cursor: pointer; transition: background-color .12s, color .12s; }
1563
- & .onboarding-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
2443
+ & .authshell-progress { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--border-default); }
2444
+ & .authshell-progress-fill { height: 2px; background: var(--fg-primary); border-radius: 4px; transition: width .2s; }
1564
2445
 
1565
- & .onboarding-sub { font-size: var(--text-sm); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); }
1566
- & .onboarding-sub b { font-weight: var(--weight-medium); color: var(--fg-primary); }
2446
+ & .authshell-logo { margin-top: var(--space-8); height: 24px; display: flex; align-items: center; }
1567
2447
 
1568
- & .onboarding-progress { display: flex; gap: var(--space-1); margin: var(--space-0-5) 0 var(--space-1); }
1569
- & .onboarding-seg { flex: 1; height: 4px; border-radius: var(--radius-full); background: color-mix(in srgb, var(--fg-primary) 4%, transparent); transition: background-color .2s ease; }
1570
- & .onboarding-seg[data-done] { background: var(--bg-brand-solid); }
2448
+ & .authshell-card { margin-top: var(--space-6); display: flex; height: 692px; border-radius: 20px; border: 1px solid var(--border-subtle); overflow: hidden; }
1571
2449
 
1572
- & .onboarding-steps { display: flex; flex-direction: column; }
1573
- & .onboarding-step { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-1); margin: 0; border: none; border-radius: var(--radius-md); background: none; font-family: inherit; font-size: var(--text-lg); color: var(--fg-primary); text-align: left; cursor: pointer; transition: background-color .12s; }
1574
- & .onboarding-step:hover { background: var(--bg-raised); }
1575
- & .onboarding-step-icon { display: inline-flex; flex-shrink: 0; color: var(--fg-muted); }
1576
- & .onboarding-step-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1577
- & .onboarding-step-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: var(--radius-full); color: transparent; }
1578
- & .onboarding-step[data-done] { cursor: default; }
1579
- & .onboarding-step[data-done] .onboarding-step-icon, & .onboarding-step[data-done] .onboarding-step-label { color: var(--fg-muted); text-decoration: line-through; }
1580
- & .onboarding-step[data-done]:hover { background: none; }
1581
- & .onboarding-step[data-done] .onboarding-step-check { background: var(--bg-brand-solid); color: var(--fg-on-brand); }
2450
+ & .authshell-pane { flex: 0 0 564px; padding: 72px; display: flex; flex-direction: column; box-sizing: border-box; }
2451
+
2452
+ & .authshell-preview { flex: 0 0 564px; padding: 96px 64px; background: var(--bg-subtle); border-inline-start: 1px solid color-mix(in srgb, var(--fg-primary) 5%, transparent); position: relative; overflow: hidden; box-sizing: border-box; }
2453
+ & .authshell-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(color-mix(in srgb, var(--bg-subtle) 0%, transparent) 0%, var(--bg-subtle) 100%); pointer-events: none; }
2454
+
2455
+ & .authshell-body { width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-8); align-items: center; }
2456
+
2457
+ & .authshell-title { font-size: 20px; line-height: 24px; font-weight: var(--weight-semibold); letter-spacing: -0.4px; color: var(--fg-primary); align-self: stretch; }
2458
+
2459
+ & .authshell-form { align-self: stretch; display: flex; flex-direction: column; gap: 28px; }
2460
+
2461
+ & .authshell-footer { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); line-height: 16px; color: color-mix(in srgb, var(--fg-primary) 63%, transparent); }
2462
+ & .authshell-footer a { color: inherit; font-weight: var(--weight-medium); text-decoration: underline; }
2463
+
2464
+ /* Auth-surface control treatment: flatter than the in-app chrome — a plain
2465
+ hairline ring instead of elevation.field's soft glow, and a 36px (not
2466
+ 40px) submit. Scoped to .authshell-body so a consumer keeps using
2467
+ crisp's Input / FormField / Button and gets the auth treatment for free. */
2468
+ & .authshell-body .formfield-label { font-size: var(--text-sm); line-height: 16px; font-weight: var(--weight-medium); letter-spacing: -0.12px; color: color-mix(in srgb, var(--fg-primary) 50%, transparent); padding-inline-start: var(--space-1); }
2469
+ & .authshell-body .formfield { gap: var(--space-1); }
2470
+ & .authshell-body .input { height: 34px; padding-inline: var(--space-2-5); border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: -0.14px; transition: box-shadow .14s, background-color .14s; }
2471
+ & .authshell-body .input:focus { box-shadow: inset 0 0 0 1px var(--bg-brand-solid); }
2472
+ /* Same three-layer brand shadow as Button's primary intent, but the auth
2473
+ button's inset ring is measured at rgba(0,0,0,0.06) — a hairline, not
2474
+ the in-app button's rgba(255,255,255,0.07) highlight. */
2475
+ & .authshell-body .button { height: 36px; padding-inline: var(--space-3); border-radius: 10px; }
2476
+ & .authshell-body .button--intent_primary { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(38,109,240,0.12), 0 3px 6px -2px rgba(38,109,240,0.08); }
2477
+
2478
+ /* Attio drops the preview pane in JS on narrow viewports (measured: two
2479
+ panes at 1393px, one at 954px), so 1200px is a chosen threshold inside
2480
+ that bracket, not a measured value. A CONTAINER query, not a media
2481
+ query: the shell is embedded in the docs inside an ~800px column, where
2482
+ a viewport query would keep the 1130px card and overflow it. Asking the
2483
+ shell's own width is what "there isn't room for the preview" means. */
2484
+ container-type: inline-size;
2485
+ @container (max-width: 1200px) { & .authshell-preview { display: none; } }
1582
2486
  }
1583
2487
 
1584
- .recordpanel {
1585
-
1586
- position: absolute; top: 0; right: 0; z-index: 20; display: flex; flex-direction: column;
1587
- width: 420px; max-width: 92%; height: 100%;
1588
- background: var(--bg-surface); border-left: 1px solid var(--border-subtle);
1589
- box-shadow: -12px 0 32px -16px rgba(28,40,64,0.22); font-family: var(--font-sans);
2488
+ @media (prefers-reduced-motion: reduce) {
2489
+ .authshell, .authshell * {
2490
+ animation-duration: 0.01ms !important;
2491
+ animation-iteration-count: 1 !important;
2492
+ transition-duration: 0.01ms !important;
2493
+ }
2494
+ }
2495
+
2496
+ .listpage {
2497
+ display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; font-family: var(--font-sans); color: var(--fg-primary);
1590
2498
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
1591
- transform: translateX(0); transition: transform .2s ease;
1592
- @starting-style { transform: translateX(100%); }
1593
- & * { box-sizing: border-box; }
1594
2499
 
1595
- & .recordpanel-header { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); border-bottom: 1px solid var(--border-subtle); }
1596
- & .recordpanel-fav { width: 22px; height: 22px; border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; background: var(--bg-raised); }
1597
- & .recordpanel-title { flex: 1; min-width: 0; font-size: var(--text-xl); font-weight: var(--weight-semibold); letter-spacing: -0.2px; color: var(--fg-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1598
- & .recordpanel-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; padding: 0; border: none; border-radius: var(--radius-md); background: transparent; color: var(--fg-muted); cursor: pointer; transition: background-color .12s; }
1599
- & .recordpanel-iconbtn:hover { background: var(--bg-raised); color: var(--fg-primary); }
2500
+ & .listpage-toolbar { display: flex; align-items: center; gap: var(--space-2); height: 52px; flex-shrink: 0; padding: 0 var(--space-3); }
2501
+ & .listpage-toolbar-lead { display: flex; align-items: center; gap: var(--space-2); }
2502
+ & .listpage-count { margin-inline-start: auto; font-size: var(--text-md); color: var(--fg-muted); white-space: nowrap; }
2503
+ & .listpage-toolbar-trail { display: flex; align-items: center; gap: var(--space-2); }
2504
+ & .listpage-count + .listpage-toolbar-trail { margin-inline-start: var(--space-3); }
1600
2505
 
1601
- & .recordpanel-body { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-2) var(--space-3); }
1602
- & .recordpanel-sectionlabel { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); padding: var(--space-2) var(--space-1) var(--space-1); }
1603
- & .recordpanel-field { display: flex; align-items: flex-start; gap: var(--space-2); min-height: 32px; padding: var(--space-1) var(--space-1); border-radius: var(--radius-md); }
1604
- & .recordpanel-field:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
1605
- & .recordpanel-field-label { display: flex; align-items: center; gap: var(--space-1-5); width: 132px; flex-shrink: 0; padding-top: 3px; color: var(--fg-muted); font-size: var(--text-md); }
1606
- & .recordpanel-field-label svg { flex-shrink: 0; }
1607
- & .recordpanel-field-value { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); padding-top: 3px; font-size: var(--text-lg); color: var(--fg-primary); }
1608
- & .recordpanel-empty { color: var(--fg-muted); }
2506
+ & .listpage-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 var(--space-3) var(--space-3); }
1609
2507
 
1610
- & .recordstable-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 var(--space-1); border-radius: 7px; font-size: var(--text-lg); line-height: 20px; font-weight: var(--weight-medium); white-space: nowrap; background: color-mix(in srgb, var(--fg-primary) 6%, transparent); color: color-mix(in srgb, var(--fg-primary) 82%, transparent); }
1611
- & .recordstable-tag[data-tone="brand"] { background: color-mix(in srgb, var(--bg-brand-solid) 14%, transparent); color: color-mix(in srgb, var(--bg-brand-solid) 82%, var(--fg-primary)); }
1612
- & .recordstable-tag[data-tone="success"] { background: color-mix(in srgb, var(--bg-success) 16%, transparent); color: color-mix(in srgb, var(--bg-success) 78%, var(--fg-primary)); }
1613
- & .recordstable-tag[data-tone="warning"] { background: color-mix(in srgb, var(--bg-warning) 18%, transparent); color: color-mix(in srgb, var(--bg-warning) 82%, var(--fg-primary)); }
1614
- & .recordstable-tag[data-tone="danger"] { background: color-mix(in srgb, var(--bg-danger) 15%, transparent); color: color-mix(in srgb, var(--bg-danger) 80%, var(--fg-primary)); }
1615
- & .recordstable-tag[data-tone="purple"] { background: color-mix(in srgb, var(--bg-purple) 16%, transparent); color: color-mix(in srgb, var(--bg-purple) 80%, var(--fg-primary)); }
1616
- & .recordstable-tag[data-tone="cyan"] { background: color-mix(in srgb, var(--bg-cyan) 18%, transparent); color: color-mix(in srgb, var(--bg-cyan) 82%, var(--fg-primary)); }
1617
- & .recordstable-tag[data-tone="orange"] { background: color-mix(in srgb, var(--bg-orange) 16%, transparent); color: color-mix(in srgb, var(--bg-orange) 82%, var(--fg-primary)); }
1618
- & .recordpanel-link { color: var(--bg-brand-solid); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
1619
- & .recordpanel-link:hover { text-decoration: underline; }
2508
+ & .listpage-section-label { padding: var(--space-2) var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2509
+ & .listpage-favorites { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: var(--space-6); border-radius: var(--radius-xl);
2510
+ background: repeating-linear-gradient(0deg, transparent, transparent) padding-box,
2511
+ border-box; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); }
2512
+ & .listpage-favorites[data-dashed] { box-shadow: none; border: 1px dashed color-mix(in srgb, var(--fg-primary) 14%, transparent); }
2513
+
2514
+ & .listpage-colhead { display: flex; align-items: center; gap: var(--space-2-5); height: 40px; padding: 0 var(--space-2); box-shadow: inset 0 -1px 0 var(--border-subtle); font-size: var(--text-sm); color: var(--fg-muted); }
2515
+ & .listpage-colhead-cell { display: inline-flex; align-items: center; gap: var(--space-1-5); }
2516
+
2517
+ & .listpage-group { display: flex; align-items: center; gap: var(--space-1-5); height: 36px; padding: 0 var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); }
2518
+ & .listpage-group-count { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 var(--space-1); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--fg-primary) 6%, transparent); font-size: var(--text-xs); color: var(--fg-muted); }
2519
+
2520
+ & .listpage-row { display: flex; align-items: center; gap: var(--space-2-5); width: 100%; height: 52px; padding: 0 var(--space-2); margin: 0; border: none; border-top: 1px solid var(--border-subtle); background: none; font-family: inherit; color: inherit; text-align: start; cursor: pointer; transition: background-color .12s; }
2521
+ & .listpage-row:focus-visible { outline: 2px solid var(--bg-brand-solid); outline-offset: -2px; }
2522
+ & .listpage-row:hover { background: color-mix(in srgb, var(--fg-primary) 3%, transparent); }
2523
+ & .listpage-row-title { font-size: var(--text-lg); font-weight: var(--weight-medium); color: var(--fg-primary); }
2524
+
2525
+ & .listpage-empty { padding: var(--space-8) var(--space-4); text-align: center; font-size: var(--text-md); color: var(--fg-muted); }
2526
+ }
2527
+
2528
+ @media (prefers-reduced-motion: reduce) {
2529
+ .listpage, .listpage * {
2530
+ animation-duration: 0.01ms !important;
2531
+ animation-iteration-count: 1 !important;
2532
+ transition-duration: 0.01ms !important;
2533
+ }
2534
+ }
2535
+
2536
+ .sidebar {
2537
+ box-sizing: border-box; display: flex; flex-direction: column; width: 275px; height: 100%; background: var(--bg-sidebar)
2538
+ ; border-inline-end: 1px solid var(--border-subtle)
2539
+ ; padding: var(--space-2)
2540
+ ; font-family: var(--font-sans)
2541
+ ; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-y: auto; & .sidebar-section { display: flex; flex-direction: column; gap: var(--space-px); margin-top: var(--space-2); }
2542
+ & .sidebar-section[data-collapsed] { display: none; }
2543
+ & .sidebar-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); padding: var(--space-1-5) var(--space-2) var(--space-0-5); }
2544
+ & .sidebar-section-header { display: flex; align-items: center; gap: var(--space-1); width: 100%; margin: 0; border: none; background: none; padding: var(--space-1-5) var(--space-2) var(--space-0-5); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--fg-muted); cursor: pointer; }
2545
+ & .sidebar-section-header svg { flex-shrink: 0; transition: transform .15s ease; }
2546
+ & .sidebar-section-header[data-collapsed] svg { transform: rotate(-90deg); }
2547
+ & .sidebar-ws { display: flex; align-items: center; gap: var(--space-2); height: var(--size-header); padding: 0 var(--space-2); border-radius: var(--radius-lg); cursor: pointer; transition: background-color 0.16s; }
2548
+ & .sidebar-ws:hover { background: color-mix(in srgb, var(--fg-primary) 5%, transparent); }
2549
+ & .sidebar-ws-name { font-size: var(--text-lg); font-weight: var(--weight-semibold); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2550
+ & .sidebar-ws-collapse { margin-inline-start: auto; }
2551
+ & .sidebar-searchrow { display: flex; align-items: center; gap: var(--space-1-5); margin-top: var(--space-2-5); padding-inline-end: var(--space-2); }
2552
+ & .sidebar-footer { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-0-5); }
2553
+ & .sidebar-trial { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) var(--space-2); font-size: var(--text-sm); color: var(--fg-muted); }
2554
+ & .sidebar-search { box-sizing: border-box; flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-2); height: var(--size-row); margin: 0; padding: 0 var(--space-1) 0 var(--space-2); border: none; border-radius: var(--radius-md); background: var(--bg-surface); box-shadow: inset 0 0 0 1px var(--ring-neutral), 0 0 2px rgba(28,40,64,0.18), 0 1px 3px rgba(0,0,0,0.04); color: var(--fg-muted); font-family: inherit; font-size: var(--text-lg); text-align: start; cursor: pointer; transition: background-color 0.14s; }
2555
+ & .sidebar-search:hover { background: var(--bg-raised); }
2556
+ & .sidebar-search-label { flex: 1; color: var(--fg-primary); font-weight: var(--weight-medium); }
2557
+ & .sidebar-search-kbd { margin-inline-start: auto; display: inline-flex; align-items: center; height: 18px; padding: 0 var(--space-1); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg-primary) 8%, transparent); color: color-mix(in srgb, var(--fg-primary) 50%, transparent); font-size: var(--text-xs); }
2558
+ & .sidebar-pill { border-radius: var(--radius-full); align-self: center; width: auto; height: 32px; padding-inline: var(--space-4); }
2559
+ & .sidebar-divider { height: 0; border: none; border-top: 1px solid var(--border-subtle); margin: var(--space-2) calc(-1 * var(--space-2)) 0; }
2560
+ & .sidebar-newlist { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; height: var(--size-row); border-radius: var(--radius-md); border: 1px dashed var(--border-default); background: transparent; color: var(--fg-muted); font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--weight-medium); cursor: pointer; }
2561
+ & .sidebar-newlist:hover { background: var(--bg-raised); color: var(--fg-primary); }
1620
2562
 
1621
2563
  }
2564
+
2565
+ @media (prefers-reduced-motion: reduce) {
2566
+ .sidebar, .sidebar * {
2567
+ animation-duration: 0.01ms !important;
2568
+ animation-iteration-count: 1 !important;
2569
+ transition-duration: 0.01ms !important;
2570
+ }
2571
+ }