@gemologic/sheen 0.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/LICENSE +19 -0
  2. package/README.md +32 -0
  3. package/dist/core.d.ts +52 -0
  4. package/dist/core.js +29 -0
  5. package/dist/formisch.d.ts +5 -0
  6. package/dist/formisch.js +22 -0
  7. package/dist/forms.d.ts +34 -0
  8. package/dist/forms.js +18 -0
  9. package/dist/index.d.ts +144 -0
  10. package/dist/index.js +75 -0
  11. package/dist/layout/Layout.d.ts +28 -0
  12. package/dist/layout/Layout.js +121 -0
  13. package/dist/metadata.d.ts +46 -0
  14. package/dist/metadata.js +47 -0
  15. package/dist/navigation.d.ts +30 -0
  16. package/dist/navigation.js +16 -0
  17. package/dist/overlays.d.ts +28 -0
  18. package/dist/overlays.js +15 -0
  19. package/dist/primitives/Accordion.d.ts +16 -0
  20. package/dist/primitives/Accordion.js +223 -0
  21. package/dist/primitives/ActivityTimeline.d.ts +20 -0
  22. package/dist/primitives/ActivityTimeline.js +104 -0
  23. package/dist/primitives/AlertDialog.d.ts +7 -0
  24. package/dist/primitives/AlertDialog.js +8 -0
  25. package/dist/primitives/Avatar.d.ts +22 -0
  26. package/dist/primitives/Avatar.js +115 -0
  27. package/dist/primitives/Breadcrumb.d.ts +11 -0
  28. package/dist/primitives/Breadcrumb.js +66 -0
  29. package/dist/primitives/Button.d.ts +11 -0
  30. package/dist/primitives/Button.js +59 -0
  31. package/dist/primitives/ButtonGroup.d.ts +7 -0
  32. package/dist/primitives/ButtonGroup.js +33 -0
  33. package/dist/primitives/Checkbox.d.ts +22 -0
  34. package/dist/primitives/Checkbox.js +93 -0
  35. package/dist/primitives/CheckboxGroup.d.ts +18 -0
  36. package/dist/primitives/CheckboxGroup.js +122 -0
  37. package/dist/primitives/Collapsible.d.ts +9 -0
  38. package/dist/primitives/Collapsible.js +72 -0
  39. package/dist/primitives/Combobox.d.ts +41 -0
  40. package/dist/primitives/Combobox.js +684 -0
  41. package/dist/primitives/CommandPalette.d.ts +42 -0
  42. package/dist/primitives/CommandPalette.js +319 -0
  43. package/dist/primitives/ConfirmDialog.d.ts +11 -0
  44. package/dist/primitives/ConfirmDialog.js +42 -0
  45. package/dist/primitives/ContextMenu.d.ts +16 -0
  46. package/dist/primitives/ContextMenu.js +132 -0
  47. package/dist/primitives/DescriptionList.d.ts +11 -0
  48. package/dist/primitives/DescriptionList.js +44 -0
  49. package/dist/primitives/Dialog.d.ts +21 -0
  50. package/dist/primitives/Dialog.js +141 -0
  51. package/dist/primitives/Drawer.d.ts +9 -0
  52. package/dist/primitives/Drawer.js +21 -0
  53. package/dist/primitives/DropdownMenu.d.ts +59 -0
  54. package/dist/primitives/DropdownMenu.js +441 -0
  55. package/dist/primitives/EditableTextField.d.ts +11 -0
  56. package/dist/primitives/EditableTextField.js +126 -0
  57. package/dist/primitives/EmptyState.d.ts +7 -0
  58. package/dist/primitives/EmptyState.js +45 -0
  59. package/dist/primitives/Field.d.ts +18 -0
  60. package/dist/primitives/Field.js +72 -0
  61. package/dist/primitives/FileDropzone.d.ts +40 -0
  62. package/dist/primitives/FileDropzone.js +261 -0
  63. package/dist/primitives/IconButton.d.ts +8 -0
  64. package/dist/primitives/IconButton.js +34 -0
  65. package/dist/primitives/Input.d.ts +7 -0
  66. package/dist/primitives/Input.js +55 -0
  67. package/dist/primitives/InputGroup.d.ts +7 -0
  68. package/dist/primitives/InputGroup.js +73 -0
  69. package/dist/primitives/Link.d.ts +7 -0
  70. package/dist/primitives/Link.js +35 -0
  71. package/dist/primitives/LinkTooltip.d.ts +11 -0
  72. package/dist/primitives/LinkTooltip.js +88 -0
  73. package/dist/primitives/NavList.d.ts +17 -0
  74. package/dist/primitives/NavList.js +143 -0
  75. package/dist/primitives/Notice.d.ts +8 -0
  76. package/dist/primitives/Notice.js +64 -0
  77. package/dist/primitives/NumberField.d.ts +22 -0
  78. package/dist/primitives/NumberField.js +177 -0
  79. package/dist/primitives/Pagination.d.ts +12 -0
  80. package/dist/primitives/Pagination.js +127 -0
  81. package/dist/primitives/Popover.d.ts +12 -0
  82. package/dist/primitives/Popover.js +103 -0
  83. package/dist/primitives/Progress.d.ts +17 -0
  84. package/dist/primitives/Progress.js +98 -0
  85. package/dist/primitives/RadioGroup.d.ts +19 -0
  86. package/dist/primitives/RadioGroup.js +173 -0
  87. package/dist/primitives/Resizable.d.ts +36 -0
  88. package/dist/primitives/Resizable.js +196 -0
  89. package/dist/primitives/ScrollArea.d.ts +6 -0
  90. package/dist/primitives/ScrollArea.js +178 -0
  91. package/dist/primitives/SearchInput.d.ts +12 -0
  92. package/dist/primitives/SearchInput.js +89 -0
  93. package/dist/primitives/SegmentedControl.d.ts +25 -0
  94. package/dist/primitives/SegmentedControl.js +188 -0
  95. package/dist/primitives/Select.d.ts +24 -0
  96. package/dist/primitives/Select.js +320 -0
  97. package/dist/primitives/Separator.d.ts +6 -0
  98. package/dist/primitives/Separator.js +31 -0
  99. package/dist/primitives/ShortcutPending.d.ts +6 -0
  100. package/dist/primitives/ShortcutPending.js +40 -0
  101. package/dist/primitives/ShortcutProvider.d.ts +32 -0
  102. package/dist/primitives/ShortcutProvider.js +172 -0
  103. package/dist/primitives/ShortcutScope.d.ts +6 -0
  104. package/dist/primitives/ShortcutScope.js +29 -0
  105. package/dist/primitives/ShortcutSheet.d.ts +5 -0
  106. package/dist/primitives/ShortcutSheet.js +87 -0
  107. package/dist/primitives/Skeleton.d.ts +5 -0
  108. package/dist/primitives/Skeleton.js +23 -0
  109. package/dist/primitives/Slider.d.ts +35 -0
  110. package/dist/primitives/Slider.js +210 -0
  111. package/dist/primitives/Spinner.d.ts +7 -0
  112. package/dist/primitives/Spinner.js +44 -0
  113. package/dist/primitives/Status.d.ts +15 -0
  114. package/dist/primitives/Status.js +78 -0
  115. package/dist/primitives/Stepper.d.ts +32 -0
  116. package/dist/primitives/Stepper.js +147 -0
  117. package/dist/primitives/Surface.d.ts +11 -0
  118. package/dist/primitives/Surface.js +58 -0
  119. package/dist/primitives/Switch.d.ts +4 -0
  120. package/dist/primitives/Switch.js +7 -0
  121. package/dist/primitives/Table.d.ts +23 -0
  122. package/dist/primitives/Table.js +101 -0
  123. package/dist/primitives/Tabs.d.ts +17 -0
  124. package/dist/primitives/Tabs.js +157 -0
  125. package/dist/primitives/TagInput.d.ts +33 -0
  126. package/dist/primitives/TagInput.js +288 -0
  127. package/dist/primitives/Textarea.d.ts +8 -0
  128. package/dist/primitives/Textarea.js +106 -0
  129. package/dist/primitives/Toast.d.ts +10 -0
  130. package/dist/primitives/Toast.js +78 -0
  131. package/dist/primitives/Toaster.d.ts +9 -0
  132. package/dist/primitives/Toaster.js +183 -0
  133. package/dist/primitives/Tooltip.d.ts +13 -0
  134. package/dist/primitives/Tooltip.js +84 -0
  135. package/dist/primitives/Tree.d.ts +23 -0
  136. package/dist/primitives/Tree.js +275 -0
  137. package/dist/primitives/Typography.d.ts +16 -0
  138. package/dist/primitives/Typography.js +82 -0
  139. package/dist/primitives/boolean-input-state.d.ts +14 -0
  140. package/dist/primitives/boolean-input-state.js +39 -0
  141. package/dist/primitives/button-variants.d.ts +9 -0
  142. package/dist/primitives/button-variants.js +7 -0
  143. package/dist/primitives/choice-options.d.ts +7 -0
  144. package/dist/primitives/choice-options.js +35 -0
  145. package/dist/primitives/create-confirm.d.ts +15 -0
  146. package/dist/primitives/create-confirm.js +49 -0
  147. package/dist/primitives/create-toaster.d.ts +51 -0
  148. package/dist/primitives/create-toaster.js +87 -0
  149. package/dist/primitives/link-focus.d.ts +2 -0
  150. package/dist/primitives/link-focus.js +38 -0
  151. package/dist/primitives/menu-focus.d.ts +3 -0
  152. package/dist/primitives/menu-focus.js +32 -0
  153. package/dist/primitives/tooltip-layer.d.ts +14 -0
  154. package/dist/primitives/tooltip-layer.js +84 -0
  155. package/dist/theme/ThemeProvider.d.ts +59 -0
  156. package/dist/theme/ThemeProvider.js +239 -0
  157. package/dist/theme/intl.d.ts +6 -0
  158. package/dist/theme/intl.js +13 -0
  159. package/dist/theme/keyboard-script.d.ts +2 -0
  160. package/dist/theme/keyboard-script.js +6 -0
  161. package/dist/theme/layers.d.ts +7 -0
  162. package/dist/theme/layers.js +23 -0
  163. package/dist/theme/messages.d.ts +235 -0
  164. package/dist/theme/messages.js +115 -0
  165. package/dist/theme/script.d.ts +9 -0
  166. package/dist/theme/script.js +49 -0
  167. package/dist/theme/state.d.ts +27 -0
  168. package/dist/theme/state.js +55 -0
  169. package/dist/utils/browser-status.d.ts +5 -0
  170. package/dist/utils/browser-status.js +22 -0
  171. package/dist/utils/cn.d.ts +3 -0
  172. package/dist/utils/cn.js +7 -0
  173. package/dist/utils/optimistic.d.ts +6 -0
  174. package/dist/utils/optimistic.js +16 -0
  175. package/dist/utils/polymorphic.d.ts +1 -0
  176. package/dist/utils/shortcut-platform.d.ts +2 -0
  177. package/dist/utils/shortcut-platform.js +10 -0
  178. package/dist/utils/shortcut-registry.d.ts +61 -0
  179. package/dist/utils/shortcut-registry.js +186 -0
  180. package/package.json +100 -0
  181. package/src/core.ts +55 -0
  182. package/src/formisch.ts +28 -0
  183. package/src/forms.ts +34 -0
  184. package/src/index.ts +144 -0
  185. package/src/layout/Layout.tsx +43 -0
  186. package/src/metadata.d.ts +46 -0
  187. package/src/metadata.ts +66 -0
  188. package/src/navigation.ts +30 -0
  189. package/src/overlays.ts +28 -0
  190. package/src/primitives/Accordion.tsx +145 -0
  191. package/src/primitives/ActivityTimeline.tsx +72 -0
  192. package/src/primitives/AlertDialog.tsx +8 -0
  193. package/src/primitives/Avatar.tsx +85 -0
  194. package/src/primitives/Breadcrumb.tsx +41 -0
  195. package/src/primitives/Button.tsx +27 -0
  196. package/src/primitives/ButtonGroup.tsx +18 -0
  197. package/src/primitives/Checkbox.tsx +51 -0
  198. package/src/primitives/CheckboxGroup.tsx +73 -0
  199. package/src/primitives/Collapsible.tsx +43 -0
  200. package/src/primitives/Combobox.tsx +402 -0
  201. package/src/primitives/CommandPalette.tsx +234 -0
  202. package/src/primitives/ConfirmDialog.tsx +25 -0
  203. package/src/primitives/ContextMenu.tsx +100 -0
  204. package/src/primitives/DescriptionList.tsx +26 -0
  205. package/src/primitives/Dialog.tsx +81 -0
  206. package/src/primitives/Drawer.tsx +26 -0
  207. package/src/primitives/DropdownMenu.tsx +221 -0
  208. package/src/primitives/EditableTextField.tsx +91 -0
  209. package/src/primitives/EmptyState.tsx +21 -0
  210. package/src/primitives/Field.tsx +38 -0
  211. package/src/primitives/FileDropzone.tsx +189 -0
  212. package/src/primitives/IconButton.tsx +22 -0
  213. package/src/primitives/Input.tsx +17 -0
  214. package/src/primitives/InputGroup.tsx +23 -0
  215. package/src/primitives/Link.tsx +19 -0
  216. package/src/primitives/LinkTooltip.tsx +31 -0
  217. package/src/primitives/NavList.tsx +58 -0
  218. package/src/primitives/Notice.tsx +25 -0
  219. package/src/primitives/NumberField.tsx +168 -0
  220. package/src/primitives/Pagination.tsx +64 -0
  221. package/src/primitives/Popover.tsx +44 -0
  222. package/src/primitives/Progress.tsx +62 -0
  223. package/src/primitives/RadioGroup.tsx +104 -0
  224. package/src/primitives/Resizable.tsx +170 -0
  225. package/src/primitives/ScrollArea.tsx +115 -0
  226. package/src/primitives/SearchInput.tsx +98 -0
  227. package/src/primitives/SegmentedControl.tsx +140 -0
  228. package/src/primitives/Select.tsx +171 -0
  229. package/src/primitives/Separator.tsx +13 -0
  230. package/src/primitives/ShortcutPending.tsx +21 -0
  231. package/src/primitives/ShortcutProvider.tsx +179 -0
  232. package/src/primitives/ShortcutScope.tsx +17 -0
  233. package/src/primitives/ShortcutSheet.tsx +35 -0
  234. package/src/primitives/Skeleton.tsx +12 -0
  235. package/src/primitives/Slider.tsx +153 -0
  236. package/src/primitives/Spinner.tsx +19 -0
  237. package/src/primitives/Status.tsx +33 -0
  238. package/src/primitives/Stepper.tsx +106 -0
  239. package/src/primitives/Surface.tsx +21 -0
  240. package/src/primitives/Switch.tsx +9 -0
  241. package/src/primitives/Table.tsx +57 -0
  242. package/src/primitives/Tabs.tsx +96 -0
  243. package/src/primitives/TagInput.tsx +282 -0
  244. package/src/primitives/Textarea.tsx +77 -0
  245. package/src/primitives/Toast.tsx +36 -0
  246. package/src/primitives/Toaster.tsx +175 -0
  247. package/src/primitives/Tooltip.tsx +41 -0
  248. package/src/primitives/Tree.tsx +256 -0
  249. package/src/primitives/Typography.tsx +39 -0
  250. package/src/primitives/boolean-input-state.ts +65 -0
  251. package/src/primitives/button-variants.ts +20 -0
  252. package/src/primitives/choice-options.ts +39 -0
  253. package/src/primitives/create-confirm.tsx +56 -0
  254. package/src/primitives/create-toaster.ts +128 -0
  255. package/src/primitives/link-focus.ts +38 -0
  256. package/src/primitives/menu-focus.ts +43 -0
  257. package/src/primitives/tooltip-layer.tsx +53 -0
  258. package/src/styles.css +655 -0
  259. package/src/theme/ThemeProvider.tsx +215 -0
  260. package/src/theme/intl.ts +14 -0
  261. package/src/theme/keyboard-script.ts +4 -0
  262. package/src/theme/layers.ts +16 -0
  263. package/src/theme/messages.ts +157 -0
  264. package/src/theme/script.ts +70 -0
  265. package/src/theme/state.ts +48 -0
  266. package/src/utils/browser-status.ts +36 -0
  267. package/src/utils/cn.ts +5 -0
  268. package/src/utils/optimistic.ts +22 -0
  269. package/src/utils/polymorphic.ts +1 -0
  270. package/src/utils/shortcut-platform.ts +4 -0
  271. package/src/utils/shortcut-registry.ts +216 -0
package/src/styles.css ADDED
@@ -0,0 +1,655 @@
1
+ @layer theme, base, components, utilities;
2
+ @layer components {
3
+ .sheen-editable-text { display: grid; gap: var(--sheen-space-block-xs); min-inline-size: 0; }
4
+ .sheen-editable-text > [role="button"], .sheen-editable-text > input { box-sizing: border-box; min-block-size: var(--sheen-control-h-md); inline-size: 100%; padding-block: var(--sheen-space-block-xs); padding-inline: var(--sheen-control-px-md); border: var(--sheen-control-border-width) solid transparent; border-radius: var(--sheen-control-radius); color: var(--sheen-color-fg); background: transparent; font: inherit; overflow-wrap: anywhere; }
5
+ .sheen-editable-text > [role="button"]:hover { background: var(--sheen-color-bg-hover); }
6
+ .sheen-editable-text > [role="button"]:focus-visible, .sheen-editable-text > input:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
7
+ .sheen-editable-text > input { border-color: var(--sheen-color-border-control); background: var(--sheen-color-bg-inset); }
8
+ .sheen-editable-text[data-invalid] > input { border-color: var(--sheen-color-danger-border); }
9
+ .sheen-editable-text[data-stale] > input { box-shadow: inset 3px 0 0 var(--sheen-color-warning-border); }
10
+ .sheen-editable-text > [role="alert"] { color: var(--sheen-color-danger-fg); font-size: var(--sheen-text-ui-sm-size); }
11
+ .sheen-editable-text > [aria-disabled="true"] { color: var(--sheen-color-fg-subtle); }
12
+ .sheen-command-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--sheen-color-bg) 55%, transparent); animation: sheen-dialog-enter var(--sheen-duration-fast) var(--sheen-ease-standard); }
13
+ .sheen-command-dialog { position: fixed; inset-block-start: min(18vh, 10rem); inset-inline-start: 50%; inline-size: min(40rem, calc(100vi - 2 * var(--sheen-space-inline-lg))); max-block-size: min(32rem, 70vh); transform: translateX(-50%); overflow: hidden; border: 1px solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); background: var(--sheen-color-bg-raised); box-shadow: var(--sheen-elevation-overlay); animation: sheen-command-in var(--sheen-duration-fast) var(--sheen-ease-standard); }
14
+ .sheen-command-dialog:dir(rtl) { transform: translateX(50%); }
15
+ .sheen-command-palette { display: grid; min-inline-size: 0; color: var(--sheen-color-fg); }
16
+ .sheen-command-palette [cmdk-input] { inline-size: 100%; min-block-size: var(--sheen-control-h-lg); border: 0; border-block-end: 1px solid var(--sheen-color-border); padding-inline: var(--sheen-space-inline-lg); color: var(--sheen-color-fg); background: transparent; font: inherit; outline: none; }
17
+ .sheen-command-palette [cmdk-input]::placeholder { color: var(--sheen-color-fg-subtle); }
18
+ .sheen-command-palette [cmdk-list] { max-block-size: min(26rem, 60vh); overflow: auto; padding: var(--sheen-space-block-sm); scroll-padding-block: var(--sheen-space-block-sm); }
19
+ .sheen-command-palette [cmdk-group-heading] { padding-block: var(--sheen-space-block-sm) var(--sheen-space-block-xs); padding-inline: var(--sheen-space-inline-sm); color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-sm-size); font-weight: 600; }
20
+ .sheen-command-palette [cmdk-item] { display: flex; align-items: center; justify-content: space-between; gap: var(--sheen-space-inline-md); min-block-size: var(--sheen-control-h-md); padding-inline: var(--sheen-space-inline-sm); border-radius: var(--sheen-control-radius); cursor: default; }
21
+ .sheen-command-palette [cmdk-item][data-selected="true"] { background: var(--sheen-color-bg-selected); }
22
+ .sheen-command-palette [cmdk-item][data-disabled="true"] { color: var(--sheen-color-fg-subtle); }
23
+ .sheen-command-palette [cmdk-empty], .sheen-command-palette [cmdk-loading], .sheen-command-palette [role="alert"] { padding: var(--sheen-space-block-lg) var(--sheen-space-inline-sm); color: var(--sheen-color-fg-muted); text-align: center; }
24
+ @keyframes sheen-command-in { from { opacity: 0; transform: translateX(-50%) scale(0.98); } }
25
+ @media (prefers-reduced-motion: reduce) { .sheen-command-overlay, .sheen-command-dialog { animation: none; } }
26
+ .sheen-resizable { display: flex; min-inline-size: 0; min-block-size: 0; }
27
+ .sheen-resizable[data-orientation="horizontal"] { flex-direction: row; }
28
+ .sheen-resizable[data-orientation="vertical"] { flex-direction: column; }
29
+ .sheen-resizable-panel { min-inline-size: 0; min-block-size: 0; overflow: auto; }
30
+ .sheen-resizable-handle { position: relative; display: grid; place-items: center; flex: 0 0 var(--sheen-space-inline-sm); padding: 0; border: 0; background: transparent; color: var(--sheen-color-fg-muted); touch-action: none; }
31
+ .sheen-resizable-handle[data-orientation="horizontal"] { cursor: col-resize; }
32
+ .sheen-resizable-handle[data-orientation="vertical"] { flex-basis: var(--sheen-space-block-sm); cursor: row-resize; }
33
+ .sheen-resizable-handle > span { inline-size: var(--sheen-control-border-width); block-size: 100%; background: var(--sheen-color-border-control); }
34
+ .sheen-resizable-handle[data-orientation="vertical"] > span { inline-size: 100%; block-size: var(--sheen-control-border-width); }
35
+ .sheen-resizable-handle:hover > span, .sheen-resizable-handle[data-active] > span, .sheen-resizable-handle[data-dragging] > span { background: var(--sheen-color-accent-fg); }
36
+ .sheen-resizable-handle:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
37
+ .sheen-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sheen-space-inline-xs); }
38
+ .sheen-pagination [aria-current="page"] { background: var(--sheen-color-bg-selected); }
39
+ .sheen-pagination [aria-disabled="true"] { cursor: default; color: var(--sheen-color-fg-muted); }
40
+ .sheen-pagination output { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; color: var(--sheen-color-fg-muted); }
41
+ .sheen-button.sheen-icon-button[data-size] { --sheen-icon-button-size: var(--sheen-control-h-md); inline-size: var(--sheen-icon-button-size); block-size: var(--sheen-icon-button-size); padding: 0; flex: none; }
42
+ .sheen-button.sheen-icon-button[data-size="xs"] { --sheen-icon-button-size: var(--sheen-control-h-xs); }
43
+ .sheen-button.sheen-icon-button[data-size="sm"] { --sheen-icon-button-size: var(--sheen-control-h-sm); }
44
+ .sheen-button.sheen-icon-button[data-size="lg"] { --sheen-icon-button-size: var(--sheen-control-h-lg); }
45
+ .sheen-icon-button-glyph { display: inline-flex; align-items: center; justify-content: center; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); font-size: var(--sheen-icon-size-md); line-height: 1; }
46
+ .sheen-icon-button-glyph > svg, .sheen-icon-button-glyph > img { max-inline-size: 100%; max-block-size: 100%; }
47
+ .sheen-button-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--sheen-space-inline-xs); max-inline-size: 100%; }
48
+ .sheen-button-group[data-orientation="vertical"] { flex-direction: column; align-items: stretch; }
49
+ .sheen-link-tooltip { color: var(--sheen-color-fg); text-underline-offset: 0.2em; }
50
+ .sheen-link-tooltip:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; }
51
+ .sheen-scroll-frame { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); min-inline-size: 0; min-block-size: 0; block-size: 100%; }
52
+ .sheen-scroll-area { min-inline-size: 0; min-block-size: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
53
+ .sheen-scroll-area::-webkit-scrollbar { display: none; }
54
+ .sheen-scroll-content { display: flow-root; min-inline-size: 100%; }
55
+ .sheen-scroll-track { position: absolute; touch-action: none; user-select: none; opacity: 0; transition: opacity var(--sheen-duration-normal) var(--sheen-ease-standard); }
56
+ .sheen-scroll-track[data-axis="y"] { inline-size: 8px; }
57
+ .sheen-scroll-track[data-axis="x"] { block-size: 8px; }
58
+ .sheen-scroll-thumb { position: absolute; inset-block-start: 0; left: 0; background: color-mix(in srgb, var(--sheen-color-fg-subtle) 40%, transparent); border-radius: 4px; }
59
+ .sheen-scroll-track[data-axis="y"] > .sheen-scroll-thumb { inline-size: 8px; }
60
+ .sheen-scroll-track[data-axis="x"] > .sheen-scroll-thumb { block-size: 8px; }
61
+ .sheen-scroll-frame:hover > .sheen-scroll-track, .sheen-scroll-frame:focus-within > .sheen-scroll-track, .sheen-scroll-frame[data-scrolling] > .sheen-scroll-track { opacity: 1; }
62
+ .sheen-scroll-area[data-orientation="vertical"] { overflow-x: hidden; }
63
+ .sheen-scroll-area[data-orientation="horizontal"] { overflow-y: hidden; }
64
+ .sheen-scroll-area:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; }
65
+ @media (forced-colors: active) {
66
+ .sheen-scroll-track { background: Canvas; }
67
+ .sheen-scroll-thumb { background: CanvasText; }
68
+ .sheen-scroll-area:focus-visible { outline-color: Highlight; }
69
+ }
70
+ .sheen-nav-list { min-inline-size: 0; }
71
+ .sheen-nav-list:focus, .sheen-breadcrumb:focus { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
72
+ .sheen-nav-list > ul { display: flex; flex-direction: column; gap: var(--sheen-space-block-xs); margin: 0; padding: 0; list-style: none; }
73
+ .sheen-nav-item-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-inline-size: 0; }
74
+ .sheen-nav-item { display: flex; align-items: center; gap: var(--sheen-space-inline-sm); padding-block: var(--sheen-space-block-xs); padding-inline: var(--sheen-space-inline-sm); border-inline-start: 2px solid transparent; border-radius: var(--sheen-control-radius); color: var(--sheen-color-fg); text-decoration: none; overflow-wrap: anywhere; }
75
+ .sheen-nav-item-row > .sheen-nav-item { min-inline-size: 0; }
76
+ .sheen-nav-item-actions { display: inline-flex; align-items: center; flex: none; }
77
+ .sheen-nav-item-label { min-inline-size: 0; }
78
+ .sheen-nav-item-icon { display: inline-flex; flex: none; color: var(--sheen-color-fg-muted); }
79
+ .sheen-nav-item-badge { margin-inline-start: auto; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
80
+ .sheen-nav-item:hover, .sheen-nav-item[aria-current="page"] { background: var(--sheen-color-bg-hover); }
81
+ .sheen-nav-item[aria-current="page"] { border-inline-start-color: currentColor; font-weight: 600; }
82
+ .sheen-nav-item:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
83
+ .sheen-tree, .sheen-tree-group { display: grid; gap: var(--sheen-space-block-xs); margin: 0; padding: 0; list-style: none; min-inline-size: 0; }
84
+ .sheen-tree-group { padding-inline-start: var(--sheen-space-inline-lg); }
85
+ .sheen-tree-group[hidden] { display: none; }
86
+ .sheen-tree-item { min-inline-size: 0; outline: none; }
87
+ .sheen-tree-item-row { display: flex; align-items: center; gap: var(--sheen-space-inline-sm); min-block-size: var(--sheen-control-h-sm); padding-inline: var(--sheen-space-inline-xs) var(--sheen-space-inline-sm); border-radius: var(--sheen-control-radius); cursor: default; }
88
+ .sheen-tree-item-row:hover { background: var(--sheen-color-bg-hover); }
89
+ .sheen-tree-item[data-selected] > .sheen-tree-item-row { background: var(--sheen-color-bg-selected); }
90
+ .sheen-tree-item:focus-visible > .sheen-tree-item-row { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
91
+ .sheen-tree-item[data-disabled] > .sheen-tree-item-row { color: var(--sheen-color-fg-subtle); }
92
+ .sheen-tree-expander { display: grid; place-items: center; flex: none; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); padding: 0; border: 0; background: transparent; color: currentColor; cursor: pointer; }
93
+ .sheen-tree-expander > span { inline-size: 0.4em; block-size: 0.4em; border-block-start: var(--sheen-control-border-width) solid currentColor; border-inline-end: var(--sheen-control-border-width) solid currentColor; transform: rotate(45deg); }
94
+ .sheen-tree-item[aria-expanded="true"] > .sheen-tree-item-row .sheen-tree-expander > span { transform: rotate(135deg); }
95
+ .sheen-tree-expander:dir(rtl) > span { transform: rotate(-45deg); }
96
+ .sheen-tree-item[aria-expanded="true"] > .sheen-tree-item-row .sheen-tree-expander:dir(rtl) > span { transform: rotate(-135deg); }
97
+ .sheen-tree-expander:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 1px; }
98
+ .sheen-tree-expander:disabled { cursor: default; }
99
+ .sheen-tree-leaf { flex: none; inline-size: var(--sheen-icon-size-md); }
100
+ .sheen-tree-item-label { min-inline-size: 0; overflow-wrap: anywhere; }
101
+ .sheen-accordion-heading { margin: 0; font: inherit; }
102
+ .sheen-tabs { min-inline-size: 0; }
103
+ .sheen-tabs:focus { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
104
+ .sheen-tabs-list { display: flex; gap: var(--sheen-space-inline-xs); border-block-end: 1px solid var(--sheen-color-border); padding: var(--sheen-space-inline-xs); overflow: auto; }
105
+ .sheen-tabs-list[data-orientation="vertical"] { flex-direction: column; border-block-end: 0; border-inline-end: 1px solid var(--sheen-color-border); }
106
+ .sheen-tabs[data-orientation="vertical"] { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
107
+ .sheen-tabs-trigger[aria-selected="true"] { background: var(--sheen-color-bg-hover); text-decoration: underline; text-underline-offset: 0.3em; }
108
+ .sheen-tabs-panel { min-inline-size: 0; padding: var(--sheen-space-block-sm); }
109
+ .sheen-tabs-panel:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; }
110
+ .sheen-accordion:focus { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
111
+ .sheen-collapsible-trigger { display: inline-flex; align-items: center; gap: var(--sheen-space-inline-sm); }
112
+ .sheen-collapsible-indicator { inline-size: 0.4em; block-size: 0.4em; border-block-start: var(--sheen-control-border-width) solid currentColor; border-inline-end: var(--sheen-control-border-width) solid currentColor; transform: rotate(45deg); transition: transform var(--sheen-duration-normal) var(--sheen-ease-standard); }
113
+ .sheen-collapsible-trigger:dir(rtl) .sheen-collapsible-indicator { transform: rotate(-45deg); }
114
+ .sheen-collapsible-trigger[aria-expanded="true"] .sheen-collapsible-indicator { transform: rotate(135deg); }
115
+ .sheen-collapsible-trigger:dir(rtl)[aria-expanded="true"] .sheen-collapsible-indicator { transform: rotate(-135deg); }
116
+ .sheen-collapsible-content { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--sheen-duration-normal) var(--sheen-ease-standard), visibility 0s var(--sheen-duration-normal); }
117
+ .sheen-collapsible-content[data-open="true"] { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
118
+ .sheen-collapsible-clip { min-block-size: 0; overflow: hidden; }
119
+ .sheen-collapsible-body { padding-block: var(--sheen-space-block-sm); }
120
+ .sheen-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sheen-space-inline-sm); margin: 0; padding: 0; list-style: none; }
121
+ .sheen-breadcrumb li { display: inline-flex; align-items: baseline; gap: var(--sheen-space-inline-sm); min-inline-size: 0; overflow-wrap: anywhere; }
122
+ .sheen-breadcrumb li + li::before { content: ""; inline-size: 0.35em; block-size: 0.35em; flex-shrink: 0; border-block-start: 1px solid var(--sheen-color-fg-muted); border-inline-end: 1px solid var(--sheen-color-fg-muted); transform: rotate(45deg); align-self: center; }
123
+ .sheen-breadcrumb:dir(rtl) li + li::before { transform: rotate(-45deg); }
124
+ .sheen-breadcrumb a { color: var(--sheen-color-fg-muted); text-decoration: none; border-radius: var(--sheen-control-radius); }
125
+ .sheen-breadcrumb a:hover { color: var(--sheen-color-fg); text-decoration: underline; }
126
+ .sheen-breadcrumb a:focus-visible { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; }
127
+ .sheen-breadcrumb [aria-current] { color: var(--sheen-color-fg); }
128
+ [data-sheen-theme] {
129
+ color: var(--sheen-color-fg);
130
+ background-color: var(--sheen-color-bg);
131
+ font-family: var(--sheen-font-sans);
132
+ font-size: var(--sheen-text-ui-size);
133
+ line-height: var(--sheen-text-ui-leading);
134
+ }
135
+ .sheen-button, .sheen-input {
136
+ font: inherit;
137
+ color: inherit;
138
+ border: var(--sheen-control-border-width) solid transparent;
139
+ border-radius: var(--sheen-control-radius);
140
+ min-block-size: var(--sheen-control-h-md);
141
+ padding-inline: var(--sheen-control-px-md);
142
+ }
143
+ .sheen-button {
144
+ --sheen-tone: var(--sheen-color-neutral);
145
+ --sheen-tone-fg: var(--sheen-color-neutral-fg);
146
+ --sheen-tone-subtle: var(--sheen-color-neutral-subtle);
147
+ --sheen-tone-on: var(--sheen-color-neutral-on);
148
+ cursor: pointer;
149
+ display: inline-flex;
150
+ align-items: center;
151
+ justify-content: center;
152
+ box-sizing: border-box;
153
+ gap: var(--sheen-space-inline-sm);
154
+ user-select: none;
155
+ background: transparent;
156
+ white-space: nowrap;
157
+ transition: background-color var(--sheen-duration-fast);
158
+ }
159
+ .sheen-button:hover { background: var(--sheen-color-bg-hover); }
160
+ .sheen-button.sheen-button-accent { --sheen-tone: var(--sheen-color-accent); --sheen-tone-fg: var(--sheen-color-accent-fg); --sheen-tone-subtle: var(--sheen-color-accent-subtle); --sheen-tone-on: var(--sheen-color-fg-on-accent); }
161
+ .sheen-button.sheen-button-danger { --sheen-tone: var(--sheen-color-danger); --sheen-tone-fg: var(--sheen-color-danger-fg); --sheen-tone-subtle: var(--sheen-color-danger-subtle); --sheen-tone-on: var(--sheen-color-danger-on); }
162
+ .sheen-button.sheen-button-success { --sheen-tone: var(--sheen-color-success); --sheen-tone-fg: var(--sheen-color-success-fg); --sheen-tone-subtle: var(--sheen-color-success-subtle); --sheen-tone-on: var(--sheen-color-success-on); }
163
+ .sheen-button.sheen-button-solid { background: var(--sheen-tone); color: var(--sheen-tone-on); }
164
+ .sheen-button.sheen-button-solid.sheen-button-accent:hover { background: var(--sheen-color-accent-hover); }
165
+ .sheen-button.sheen-button-solid.sheen-button-accent:active { background: var(--sheen-color-accent-active); }
166
+ .sheen-button.sheen-button-soft { background: var(--sheen-tone-subtle); color: var(--sheen-tone-fg); }
167
+ .sheen-button.sheen-button-outline { border-color: var(--sheen-color-border-control); }
168
+ .sheen-button.sheen-button-link { color: var(--sheen-color-accent-fg); text-decoration: underline; }
169
+ .sheen-button:disabled { cursor: default; opacity: 0.5; }
170
+ .sheen-button.sheen-button-xs { min-block-size: var(--sheen-control-h-xs); padding-inline: var(--sheen-control-px-xs); }
171
+ .sheen-button.sheen-button-sm { min-block-size: var(--sheen-control-h-sm); padding-inline: var(--sheen-control-px-sm); }
172
+ .sheen-button.sheen-button-lg { min-block-size: var(--sheen-control-h-lg); padding-inline: var(--sheen-control-px-lg); }
173
+ .sheen-link[data-link-variant="text"] { color: var(--sheen-color-accent-fg); text-decoration: underline; text-underline-offset: 0.15em; }
174
+ .sheen-link[data-link-variant="button"] { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; text-decoration: none; }
175
+ .sheen-button:focus-visible, .sheen-input:focus-visible, .sheen-link:focus-visible {
176
+ outline: 2px solid var(--sheen-color-focus-ring);
177
+ outline-offset: 2px;
178
+ box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset);
179
+ }
180
+ .sheen-input:focus-visible {
181
+ outline-offset: -2px;
182
+ box-shadow: inset 0 0 0 2px var(--sheen-color-focus-ring-offset);
183
+ }
184
+ .sheen-field { display: grid; gap: var(--sheen-space-block-xs); }
185
+ .sheen-field > span { color: var(--sheen-color-fg-muted); }
186
+ .sheen-field-label { color: var(--sheen-color-fg-muted); }
187
+ .sheen-field > .sheen-field-error { color: var(--sheen-color-danger-fg); }
188
+ .sheen-field-description, .sheen-field-error { margin: 0; overflow-wrap: anywhere; font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
189
+ .sheen-field[hidden] { display: none; }
190
+ .sheen-input-group { display: flex; align-items: center; gap: var(--sheen-space-inline-sm); min-inline-size: 0; }
191
+ .sheen-input-group > .sheen-input { flex: 1 1 0; min-inline-size: 0; }
192
+ .sheen-input-addon { display: inline-flex; align-items: center; flex: 0 1 auto; min-inline-size: 0; color: var(--sheen-color-fg-muted); overflow-wrap: anywhere; }
193
+ .sheen-input-group:has(> .sheen-search-input) { position: relative; gap: 0; }
194
+ .sheen-search-input::-webkit-search-cancel-button { display: none; }
195
+ .sheen-search-input { padding-inline-end: calc(var(--sheen-control-h-sm) + var(--sheen-space-inline-xs)); }
196
+ .sheen-search-input + .sheen-input-addon { position: absolute; inset-block: 0; inset-inline-end: var(--sheen-control-border-width); display: grid; place-items: center; inline-size: var(--sheen-control-h-sm); pointer-events: none; }
197
+ .sheen-search-input + .sheen-input-addon > .sheen-button { --sheen-color-focus-ring-offset: var(--sheen-color-bg-inset); position: relative; z-index: 1; display: grid; place-items: center; inline-size: var(--sheen-control-h-sm); min-inline-size: var(--sheen-control-h-sm); min-block-size: var(--sheen-control-h-sm); padding: 0; border-color: transparent; background: transparent; overflow: hidden; font-size: 0; pointer-events: auto; }
198
+ .sheen-search-input + .sheen-input-addon > .sheen-button:disabled { display: none; }
199
+ .sheen-search-input-clear::before, .sheen-search-input-clear::after { content: ""; position: absolute; inline-size: 0.7rem; block-size: 1.5px; border-radius: 1px; background: currentColor; }
200
+ .sheen-search-input-clear::before { transform: rotate(45deg); }
201
+ .sheen-search-input-clear::after { transform: rotate(-45deg); }
202
+ .sheen-search-input-indicator { position: relative; display: block; inline-size: 0.875rem; block-size: 0.875rem; opacity: 0.8; }
203
+ .sheen-search-input-indicator::before { content: ""; position: absolute; inset-block-start: 0.0625rem; inset-inline-start: 0.0625rem; inline-size: 0.5rem; block-size: 0.5rem; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 50%; }
204
+ .sheen-search-input-indicator::after { content: ""; position: absolute; inset-inline-end: 0.0625rem; inset-block-end: 0.125rem; inline-size: 0.35rem; block-size: 1.5px; border-radius: 1px; background: currentColor; transform: rotate(45deg); transform-origin: right center; }
205
+ .sheen-search-input-clear:not(:disabled) + .sheen-search-input-indicator { display: none; }
206
+ .sheen-textarea { box-sizing: border-box; inline-size: 100%; min-inline-size: 0; padding-block: var(--sheen-space-block-xs); resize: vertical; line-height: var(--sheen-text-ui-leading); }
207
+ .sheen-textarea[data-autoresize="true"] { resize: none; overflow-y: auto; }
208
+ .sheen-input { background: var(--sheen-color-bg-inset); border-color: var(--sheen-color-border-control); }
209
+ .sheen-input::placeholder { color: var(--sheen-color-fg-muted); opacity: 1; }
210
+ .sheen-number-field-control { display: flex; min-inline-size: 0; }
211
+ .sheen-number-field-input { flex: 1 1 auto; min-inline-size: 0; border-start-end-radius: 0; border-end-end-radius: 0; }
212
+ .sheen-number-field-steps { display: grid; grid-template-columns: repeat(2, minmax(var(--sheen-control-h-md), auto)); }
213
+ .sheen-number-field-step { display: grid; place-items: center; min-inline-size: var(--sheen-control-h-md); min-block-size: var(--sheen-control-h-md); padding: 0; border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-inline-start: 0; background: var(--sheen-color-bg-inset); color: var(--sheen-color-fg); font: inherit; cursor: pointer; }
214
+ .sheen-number-field-step:last-child { border-start-end-radius: var(--sheen-control-radius); border-end-end-radius: var(--sheen-control-radius); }
215
+ .sheen-number-field-step:hover { background: var(--sheen-color-bg-hover); }
216
+ .sheen-number-field-step:focus-visible { position: relative; outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
217
+ .sheen-number-field-step:disabled { color: var(--sheen-color-fg-subtle); cursor: default; }
218
+ .sheen-slider { display: grid; gap: var(--sheen-space-block-xs); min-inline-size: 0; touch-action: none; }
219
+ .sheen-slider-heading { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sheen-space-inline-md); }
220
+ .sheen-slider-label, .sheen-slider-value { color: var(--sheen-color-fg-muted); }
221
+ .sheen-slider-value { font-variant-numeric: tabular-nums; }
222
+ .sheen-slider-track { position: relative; display: flex; align-items: center; inline-size: 100%; block-size: var(--sheen-control-h-md); cursor: pointer; }
223
+ .sheen-slider-track::before { content: ""; position: absolute; inset-inline: 0; block-size: 6px; border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg-inset); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); }
224
+ .sheen-slider-fill { position: absolute; block-size: 6px; border-radius: var(--sheen-control-radius); background: var(--sheen-color-accent); }
225
+ .sheen-slider-input { position: absolute; inset-block: 0; inset-inline: calc(var(--sheen-icon-size-lg) / -2); inline-size: calc(100% + var(--sheen-icon-size-lg)); block-size: 100%; margin: 0; appearance: none; background: transparent; cursor: pointer; pointer-events: auto; }
226
+ .sheen-slider[data-range] .sheen-slider-input { pointer-events: none; }
227
+ .sheen-slider-input::-webkit-slider-runnable-track { block-size: 6px; background: transparent; }
228
+ .sheen-slider-input::-webkit-slider-thumb { box-sizing: border-box; inline-size: var(--sheen-icon-size-lg); block-size: var(--sheen-icon-size-lg); margin-block-start: calc((6px - var(--sheen-icon-size-lg)) / 2); appearance: none; border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: 50%; background: var(--sheen-color-bg-raised); cursor: grab; pointer-events: auto; }
229
+ .sheen-slider-input::-moz-range-track { block-size: 6px; background: transparent; }
230
+ .sheen-slider-input::-moz-range-thumb { box-sizing: border-box; inline-size: var(--sheen-icon-size-lg); block-size: var(--sheen-icon-size-lg); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: 50%; background: var(--sheen-color-bg-raised); cursor: grab; pointer-events: auto; }
231
+ .sheen-slider-input:focus-visible { outline: none; }
232
+ .sheen-slider-input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
233
+ .sheen-slider-input:focus-visible::-moz-range-thumb { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
234
+ .sheen-slider-input:disabled { cursor: default; opacity: 0.5; }
235
+ .sheen-slider[data-inverted]:dir(ltr) .sheen-slider-input { direction: rtl; }
236
+ .sheen-slider[data-inverted]:dir(rtl) .sheen-slider-input { direction: ltr; }
237
+ .sheen-slider[data-orientation="vertical"] { inline-size: max-content; }
238
+ .sheen-slider[data-orientation="vertical"] .sheen-slider-heading { align-items: start; }
239
+ .sheen-slider[data-orientation="vertical"] .sheen-slider-track { inline-size: var(--sheen-control-h-md); block-size: 12rem; justify-content: center; }
240
+ .sheen-slider[data-orientation="vertical"] .sheen-slider-track::before { inset-block: 0; inset-inline: auto; inline-size: 6px; block-size: auto; }
241
+ .sheen-slider[data-orientation="vertical"] .sheen-slider-fill { inline-size: 6px; block-size: auto; }
242
+ .sheen-slider[data-orientation="vertical"] .sheen-slider-input { inset-block: calc(var(--sheen-icon-size-lg) / -2); inset-inline: 0; inline-size: 100%; block-size: calc(100% + var(--sheen-icon-size-lg)); writing-mode: vertical-lr; direction: rtl; }
243
+ .sheen-slider[data-orientation="vertical"][data-inverted] .sheen-slider-input { direction: ltr; }
244
+ .sheen-slider-description, .sheen-slider-error { margin: 0; font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; }
245
+ .sheen-slider-description { color: var(--sheen-color-fg-muted); }
246
+ .sheen-slider-error { color: var(--sheen-color-danger-fg); }
247
+ .sheen-select { position: relative; }
248
+ .sheen-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--sheen-space-inline-md); text-align: start; cursor: pointer; }
249
+ .sheen-select-trigger [data-placeholder] { color: var(--sheen-color-fg-muted); }
250
+ .sheen-select-trigger:disabled { color: var(--sheen-color-fg-subtle); cursor: default; }
251
+ .sheen-select-native { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
252
+ .sheen-select-content { --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised); background: var(--sheen-color-bg-raised); color: var(--sheen-color-fg); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-control-radius); padding: var(--sheen-space-inline-xs); max-block-size: min(20rem, var(--kb-popper-content-available-height)); overflow: auto; transform-origin: var(--kb-select-content-transform-origin); }
253
+ .sheen-select-listbox { list-style: none; margin: 0; padding: 0; outline: none; }
254
+ .sheen-select-listbox:empty:focus { min-block-size: var(--sheen-control-h-sm); outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; }
255
+ .sheen-select-option { position: relative; padding-block: var(--sheen-space-block-xs); padding-inline: var(--sheen-control-px-md) calc(var(--sheen-control-px-md) + var(--sheen-icon-size-md)); min-block-size: var(--sheen-control-h-sm); box-sizing: border-box; border-radius: var(--sheen-control-radius); outline: none; cursor: default; overflow-wrap: anywhere; }
256
+ .sheen-select-option[data-highlighted] { background: var(--sheen-color-bg-hover); outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; }
257
+ .sheen-select-option[data-selected] { color: var(--sheen-color-accent-fg); }
258
+ .sheen-select-option[data-disabled] { color: var(--sheen-color-fg-subtle); }
259
+ .sheen-select-option-description { font-size: var(--sheen-text-ui-sm-size); color: var(--sheen-color-fg-muted); }
260
+ .sheen-select-indicator { position: absolute; inset-inline-end: var(--sheen-control-px-md); inset-block-start: var(--sheen-space-block-xs); }
261
+ .sheen-select-empty { margin: var(--sheen-space-block-xs); color: var(--sheen-color-fg-muted); }
262
+ .sheen-select-content[data-expanded] { animation: sheen-select-enter var(--sheen-duration-fast) ease-out; }
263
+ .sheen-select-content[data-closed] { animation: sheen-select-exit var(--sheen-duration-fast) ease-in; pointer-events: none; }
264
+ @keyframes sheen-select-enter { from { opacity: 0; } to { opacity: 1; } }
265
+ @keyframes sheen-select-exit { from { opacity: 1; } to { opacity: 0; } }
266
+ .sheen-combobox { position: relative; min-inline-size: 0; }
267
+ .sheen-combobox-control { display: flex; align-items: center; min-inline-size: 0; }
268
+ .sheen-combobox-control > .sheen-combobox-input { flex: 1 1 auto; min-inline-size: 0; inline-size: 100%; }
269
+ .sheen-combobox-content { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: clip; transform-origin: var(--kb-combobox-content-transform-origin); }
270
+ .sheen-combobox-listbox { min-block-size: 0; overflow: auto; overscroll-behavior: contain; }
271
+ .sheen-combobox-status { margin: var(--sheen-space-block-xs); color: var(--sheen-color-fg-muted); }
272
+ .sheen-combobox-results-error { display: flex; align-items: center; justify-content: space-between; gap: var(--sheen-space-inline-md); margin: var(--sheen-space-block-xs); color: var(--sheen-color-danger-fg); overflow-wrap: anywhere; }
273
+ .sheen-multi-combobox-control { flex-wrap: wrap; gap: var(--sheen-space-inline-xs); padding-block: var(--sheen-space-block-xs); }
274
+ .sheen-multi-combobox-input { min-block-size: calc(var(--sheen-control-h-sm) - (2 * var(--sheen-space-block-xs))); border: 0; outline: 0; background: transparent; color: inherit; font: inherit; }
275
+ .sheen-combobox[data-previous-results] .sheen-combobox-content { cursor: progress; }
276
+ .sheen-checkbox { display: grid; gap: var(--sheen-space-block-xs); }
277
+ .sheen-checkbox[hidden] { display: none; }
278
+ .sheen-checkbox-row { display: flex; align-items: center; gap: var(--sheen-space-inline-md); min-block-size: var(--sheen-control-h-md); position: relative; }
279
+ .sheen-checkbox-input, .sheen-switch-input { position: absolute; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); margin: 0; opacity: 0; pointer-events: none; }
280
+ .sheen-checkbox-control { display: grid; place-items: center; flex: 0 0 auto; box-sizing: border-box; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg-inset); }
281
+ .sheen-checkbox-input:checked + .sheen-checkbox-control, .sheen-checkbox-control[data-indeterminate] { background: var(--sheen-color-accent); color: var(--sheen-color-fg-on-accent); }
282
+ .sheen-checkbox-input:focus-visible + .sheen-checkbox-control { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
283
+ .sheen-checkbox-indicator { display: grid; place-items: center; inline-size: 100%; block-size: 100%; visibility: hidden; }
284
+ .sheen-checkbox-input:checked + .sheen-checkbox-control .sheen-checkbox-indicator, .sheen-checkbox-control[data-indeterminate] .sheen-checkbox-indicator { visibility: visible; }
285
+ .sheen-checkbox-mark { display: block; inline-size: 60%; block-size: 60%; background: currentColor; clip-path: polygon(0 45%, 20% 30%, 40% 55%, 85% 0, 100% 15%, 40% 100%); }
286
+ .sheen-checkbox-control[data-indeterminate] .sheen-checkbox-mark { clip-path: none; block-size: 2px; }
287
+ .sheen-checkbox-label { cursor: pointer; user-select: none; overflow-wrap: anywhere; }
288
+ .sheen-checkbox[data-disabled] .sheen-checkbox-label { cursor: default; color: var(--sheen-color-fg-subtle); }
289
+ .sheen-checkbox-description, .sheen-checkbox-error { margin: 0; font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; }
290
+ .sheen-checkbox-description { color: var(--sheen-color-fg-muted); }
291
+ .sheen-checkbox-error { color: var(--sheen-color-danger-fg); }
292
+ .sheen-switch { display: grid; gap: var(--sheen-space-block-xs); }
293
+ .sheen-switch[hidden] { display: none; }
294
+ .sheen-switch-row { display: flex; align-items: center; gap: var(--sheen-space-inline-md); min-block-size: var(--sheen-control-h-md); position: relative; }
295
+ .sheen-switch-control { display: flex; align-items: center; flex: 0 0 auto; box-sizing: border-box; inline-size: calc(var(--sheen-icon-size-md) * 2); block-size: calc(var(--sheen-icon-size-md) + var(--sheen-space-inline-xs)); padding: var(--sheen-control-border-width); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg-inset); }
296
+ .sheen-switch-thumb { display: block; inline-size: var(--sheen-icon-size-md); block-size: 100%; border-radius: var(--sheen-control-radius); background: var(--sheen-color-fg-muted); }
297
+ .sheen-switch-input:checked + .sheen-switch-control { justify-content: end; background: var(--sheen-color-accent); }
298
+ .sheen-switch-input:checked + .sheen-switch-control .sheen-switch-thumb { background: var(--sheen-color-fg-on-accent); }
299
+ .sheen-switch-input:focus-visible + .sheen-switch-control { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
300
+ .sheen-switch-label { cursor: pointer; user-select: none; overflow-wrap: anywhere; }
301
+ .sheen-switch[data-disabled] .sheen-switch-label { cursor: default; color: var(--sheen-color-fg-subtle); }
302
+ .sheen-switch-description, .sheen-switch-error { margin: 0; font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; }
303
+ .sheen-switch-description { color: var(--sheen-color-fg-muted); }
304
+ .sheen-switch-error { color: var(--sheen-color-danger-fg); }
305
+ .sheen-checkbox-group { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
306
+ .sheen-checkbox-group[hidden] { display: none; }
307
+ .sheen-checkbox-group:focus { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
308
+ .sheen-checkbox-group-label { padding: 0; color: var(--sheen-color-fg); font-weight: var(--sheen-text-ui-weight); }
309
+ .sheen-checkbox-group-options { display: grid; gap: var(--sheen-space-block-xs); margin-block-start: var(--sheen-space-block-sm); }
310
+ .sheen-checkbox-group-description, .sheen-checkbox-group-error { margin: 0; margin-block-start: var(--sheen-space-block-xs); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; }
311
+ .sheen-checkbox-group-description { color: var(--sheen-color-fg-muted); }
312
+ .sheen-checkbox-group-error { color: var(--sheen-color-danger-fg); }
313
+ .sheen-radio-group { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
314
+ .sheen-radio-group[hidden] { display: none; }
315
+ .sheen-radio-group:focus { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
316
+ .sheen-radio-group-label { padding: 0; color: var(--sheen-color-fg); }
317
+ .sheen-radio-group-options { display: flex; flex-direction: column; gap: var(--sheen-space-block-xs); margin-block-start: var(--sheen-space-block-sm); }
318
+ .sheen-radio-group[aria-orientation="horizontal"] > .sheen-radio-group-options { flex-direction: row; flex-wrap: wrap; gap: var(--sheen-space-inline-lg); }
319
+ .sheen-radio-row { display: flex; align-items: center; gap: var(--sheen-space-inline-md); min-block-size: var(--sheen-control-h-md); position: relative; }
320
+ .sheen-radio-input { position: absolute; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); margin: 0; opacity: 0; pointer-events: none; }
321
+ .sheen-radio-control { display: grid; place-items: center; flex: 0 0 auto; box-sizing: border-box; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: 50%; background: var(--sheen-color-bg-inset); }
322
+ .sheen-radio-indicator { inline-size: 50%; block-size: 50%; border-radius: 50%; background: var(--sheen-color-fg-on-accent); visibility: hidden; }
323
+ .sheen-radio-input:checked + .sheen-radio-control { background: var(--sheen-color-accent); }
324
+ .sheen-radio-input:checked + .sheen-radio-control .sheen-radio-indicator { visibility: visible; }
325
+ .sheen-radio-input:focus-visible + .sheen-radio-control { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
326
+ .sheen-radio-label { cursor: pointer; user-select: none; overflow-wrap: anywhere; }
327
+ .sheen-radio-item[data-disabled] .sheen-radio-label { cursor: default; color: var(--sheen-color-fg-subtle); }
328
+ .sheen-radio-description, .sheen-radio-group-description, .sheen-radio-group-error { margin: 0; font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; }
329
+ .sheen-radio-group-description, .sheen-radio-group-error { margin-block-start: var(--sheen-space-block-xs); }
330
+ .sheen-radio-description, .sheen-radio-group-description { color: var(--sheen-color-fg-muted); }
331
+ .sheen-radio-group-error { color: var(--sheen-color-danger-fg); }
332
+ .sheen-segmented-control { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
333
+ .sheen-segmented-control[hidden] { display: none; }
334
+ .sheen-segmented-label { padding: 0; color: var(--sheen-color-fg); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
335
+ .sheen-segmented-description, .sheen-segmented-error { margin: var(--sheen-space-block-xs) 0 0; font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; }
336
+ .sheen-segmented-description { color: var(--sheen-color-fg-muted); }
337
+ .sheen-segmented-error { color: var(--sheen-color-danger-fg); }
338
+ .sheen-segmented-options { display: flex; max-inline-size: 100%; margin-block-start: var(--sheen-space-block-xs); padding: var(--sheen-control-border-width); gap: var(--sheen-control-border-width); overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg-inset); }
339
+ .sheen-segmented-control[aria-orientation="vertical"] > .sheen-segmented-options { flex-direction: column; overflow: visible; }
340
+ .sheen-segmented-control[data-overflow="wrap"] > .sheen-segmented-options { flex-wrap: wrap; overflow: visible; }
341
+ .sheen-segmented-item { position: relative; display: grid; flex: 0 0 auto; min-inline-size: max-content; cursor: pointer; scroll-snap-align: nearest; }
342
+ .sheen-segmented-input { position: absolute; inline-size: 1px; block-size: 1px; margin: 0; overflow: hidden; opacity: 0; pointer-events: none; }
343
+ .sheen-segmented-item-label { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-block-size: var(--sheen-control-h-sm); padding-inline: var(--sheen-control-px-md); border-radius: calc(var(--sheen-control-radius) - var(--sheen-control-border-width)); color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); user-select: none; white-space: nowrap; }
344
+ .sheen-segmented-control[data-size="md"] .sheen-segmented-item-label { min-block-size: var(--sheen-control-h-md); padding-inline: var(--sheen-control-px-lg); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
345
+ .sheen-segmented-item:hover:not([data-disabled]) .sheen-segmented-item-label { background: var(--sheen-color-bg-hover); color: var(--sheen-color-fg); }
346
+ .sheen-segmented-input:checked + .sheen-segmented-item-label { background: var(--sheen-color-accent-subtle); color: var(--sheen-color-accent-fg); box-shadow: var(--sheen-elevation-raised); }
347
+ .sheen-segmented-input:focus-visible + .sheen-segmented-item-label { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
348
+ .sheen-segmented-item[data-disabled] { cursor: default; }
349
+ .sheen-segmented-item[data-disabled] .sheen-segmented-item-label { color: var(--sheen-color-fg-subtle); }
350
+ .sheen-tag-input { min-inline-size: 0; }
351
+ .sheen-tag-input-control { display: flex; flex-wrap: wrap; align-items: center; box-sizing: border-box; min-block-size: var(--sheen-control-h-md); min-inline-size: 0; margin-block-start: var(--sheen-space-block-xs); padding: var(--sheen-space-block-xs) var(--sheen-control-px-sm); gap: var(--sheen-space-inline-xs); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg); color: var(--sheen-color-fg); }
352
+ .sheen-tag-input-control:focus-within { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
353
+ .sheen-tag-input[data-invalid="true"] .sheen-tag-input-control { border-color: var(--sheen-color-danger-border); }
354
+ .sheen-tag-input[data-disabled] .sheen-tag-input-control { color: var(--sheen-color-fg-subtle); background: var(--sheen-color-bg-subtle); }
355
+ .sheen-tag-input-values { display: contents; margin: 0; padding: 0; list-style: none; }
356
+ .sheen-tag-input-value { display: inline-flex; align-items: center; min-inline-size: 0; max-inline-size: 100%; min-block-size: var(--sheen-control-h-xs); gap: var(--sheen-space-inline-xs); padding-inline-start: var(--sheen-space-inline-xs); border-radius: var(--sheen-control-radius); background: var(--sheen-color-neutral-subtle); color: var(--sheen-color-neutral-fg); font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); }
357
+ .sheen-tag-input-value-label { min-inline-size: 0; overflow-wrap: anywhere; }
358
+ .sheen-tag-input-remove { flex: 0 0 auto; min-block-size: var(--sheen-control-h-xs); color: inherit; }
359
+ .sheen-tag-input-editor { flex: 1 1 8rem; min-inline-size: min(8rem, 100%); min-block-size: var(--sheen-control-h-xs); padding: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; }
360
+ .sheen-tag-input-editor::placeholder { color: var(--sheen-color-fg-subtle); opacity: 1; }
361
+ .sheen-tag-input-instructions, .sheen-tag-input-announcer { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
362
+ .sheen-file-dropzone { inline-size: 100%; min-inline-size: 0; container-type: inline-size; }
363
+ .sheen-file-dropzone-target { --sheen-color-focus-ring-offset: var(--sheen-color-bg-subtle); min-inline-size: 0; margin-block-start: var(--sheen-space-block-xs); border: var(--sheen-control-border-width) dashed var(--sheen-color-border-control); border-radius: var(--sheen-surface-radius); background: var(--sheen-color-bg-subtle); color: var(--sheen-color-fg); }
364
+ .sheen-file-dropzone:not([data-disabled]):not([data-readonly]) .sheen-file-dropzone-target:hover { --sheen-color-focus-ring-offset: var(--sheen-color-bg-hover); background: var(--sheen-color-bg-hover); }
365
+ .sheen-file-dropzone[data-drag-active] .sheen-file-dropzone-target { --sheen-color-focus-ring-offset: var(--sheen-color-accent-subtle); border-style: solid; border-color: var(--sheen-color-accent-fg); background: var(--sheen-color-accent-subtle); }
366
+ .sheen-file-dropzone[data-disabled] .sheen-file-dropzone-target, .sheen-file-dropzone[data-readonly] .sheen-file-dropzone-target { color: var(--sheen-color-fg-subtle); }
367
+ .sheen-file-dropzone-input { position: absolute; inline-size: 1px; block-size: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
368
+ .sheen-file-dropzone-picker { display: grid; align-content: center; justify-items: center; box-sizing: border-box; min-block-size: calc(var(--sheen-control-h-lg) * 3); inline-size: 100%; min-inline-size: 0; padding: var(--sheen-space-section); gap: var(--sheen-space-block-sm); border-radius: var(--sheen-surface-radius); color: var(--sheen-color-fg); cursor: pointer; text-align: center; }
369
+ .sheen-file-dropzone-picker-action { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-block-size: var(--sheen-control-h-md); padding-inline: var(--sheen-control-px-lg); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg-raised); color: var(--sheen-color-fg); font-size: var(--sheen-text-ui-sm-size); font-weight: 600; }
370
+ .sheen-file-dropzone-input:focus-visible + .sheen-file-dropzone-picker { outline: 2px solid var(--sheen-color-focus-ring); outline-offset: 2px; box-shadow: 0 0 0 2px var(--sheen-color-focus-ring-offset); }
371
+ .sheen-file-dropzone-picker[aria-disabled="true"] { cursor: default; }
372
+ .sheen-file-dropzone-picker[aria-disabled="true"] .sheen-file-dropzone-picker-action { color: var(--sheen-color-fg-subtle); }
373
+ .sheen-file-dropzone-prompt { min-inline-size: 0; max-inline-size: 32rem; color: var(--sheen-color-fg-muted); overflow-wrap: anywhere; }
374
+ .sheen-file-dropzone-errors { margin-block-start: var(--sheen-space-block-xs); color: var(--sheen-color-danger-fg); font-size: var(--sheen-text-ui-sm-size); }
375
+ .sheen-file-dropzone-errors > ul { margin: 0; padding-inline-start: var(--sheen-space-inline-xl); }
376
+ .sheen-file-dropzone-items { display: grid; min-inline-size: 0; margin: var(--sheen-space-block-md) 0 0; padding: 0; gap: var(--sheen-space-block-xs); list-style: none; }
377
+ .sheen-file-dropzone-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-inline-size: 0; padding: var(--sheen-space-block-md) var(--sheen-space-inline-md); gap: var(--sheen-space-block-xs) var(--sheen-space-inline-md); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-control-radius); background: var(--sheen-color-bg); }
378
+ .sheen-file-dropzone-item-copy { display: grid; min-inline-size: 0; gap: 0; }
379
+ .sheen-file-dropzone-item-copy > strong, .sheen-file-dropzone-item-copy > span { overflow-wrap: anywhere; }
380
+ .sheen-file-dropzone-item-copy > span, .sheen-file-dropzone-status { color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); }
381
+ .sheen-file-dropzone-status { grid-column: 1; }
382
+ .sheen-file-dropzone-status[data-status="complete"] { color: var(--sheen-color-success-fg); }
383
+ .sheen-file-dropzone-status[data-status="error"] { color: var(--sheen-color-danger-fg); }
384
+ .sheen-file-dropzone-item > .sheen-progress { grid-column: 1 / -1; inline-size: 100%; }
385
+ .sheen-file-dropzone-actions { display: flex; grid-column: 2; grid-row: 1 / span 2; flex-wrap: wrap; justify-content: end; gap: var(--sheen-space-inline-xs); }
386
+ .sheen-file-dropzone-announcer { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
387
+ @container (width < 28rem) { .sheen-file-dropzone-item { grid-template-columns: minmax(0, 1fr); } .sheen-file-dropzone-actions { grid-column: 1; grid-row: auto; justify-content: start; } }
388
+ .sheen-activity-timeline, .sheen-stepper-list { margin: 0; padding: 0; list-style: none; }
389
+ .sheen-activity-timeline { display: grid; min-inline-size: 0; container-type: inline-size; }
390
+ .sheen-activity-timeline-item { position: relative; display: grid; grid-template-columns: var(--sheen-control-h-sm) minmax(0, 1fr); min-inline-size: 0; gap: var(--sheen-space-inline-md); padding-block-end: var(--sheen-space-section); }
391
+ .sheen-activity-timeline-item:not(:last-child)::after { content: ""; position: absolute; inset-block: var(--sheen-control-h-sm) 0; inset-inline-start: calc(var(--sheen-control-h-sm) / 2); inline-size: var(--sheen-control-border-width); background: var(--sheen-color-border-control); }
392
+ .sheen-workflow-marker { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; inline-size: var(--sheen-control-h-sm); block-size: var(--sheen-control-h-sm); border: var(--sheen-control-border-width) solid var(--sheen-color-border-control); border-radius: 50%; background: var(--sheen-color-bg); color: var(--sheen-color-fg-muted); font-weight: 700; }
393
+ .sheen-workflow-marker[data-state="completed"] { border-color: var(--sheen-color-success-border); background: var(--sheen-color-success-subtle); color: var(--sheen-color-success-fg); }
394
+ .sheen-workflow-marker[data-state="current"] { border-color: var(--sheen-color-accent-fg); background: var(--sheen-color-accent-subtle); color: var(--sheen-color-accent-fg); }
395
+ .sheen-workflow-marker[data-state="error"] { border-color: var(--sheen-color-danger-border); background: var(--sheen-color-danger-subtle); color: var(--sheen-color-danger-fg); }
396
+ .sheen-activity-timeline-content { display: grid; min-inline-size: 0; gap: var(--sheen-space-block-xs); }
397
+ .sheen-activity-timeline-content > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sheen-space-inline-md); }
398
+ .sheen-activity-timeline-content p { margin: 0; color: var(--sheen-color-fg-muted); overflow-wrap: anywhere; }
399
+ .sheen-activity-timeline-content time, .sheen-activity-timeline-actor, .sheen-workflow-state, .sheen-stepper-description { color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); }
400
+ .sheen-activity-timeline-actor + time::before { content: " · "; }
401
+ .sheen-activity-timeline[data-density="compact"] .sheen-activity-timeline-item { padding-block-end: var(--sheen-space-block-md); gap: var(--sheen-space-inline-sm); }
402
+ .sheen-stepper { display: grid; min-inline-size: 0; gap: var(--sheen-space-block-md); container-type: inline-size; }
403
+ .sheen-stepper-progress { inline-size: 100%; }
404
+ .sheen-stepper-list { display: flex; min-inline-size: 0; gap: var(--sheen-space-inline-md); }
405
+ .sheen-stepper-step { position: relative; display: grid; flex: 1 1 0; grid-template-columns: var(--sheen-control-h-sm) minmax(0, 1fr); align-items: start; min-inline-size: 0; gap: var(--sheen-space-inline-sm); }
406
+ .sheen-stepper-step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; inset-block-start: calc(var(--sheen-control-h-sm) / 2); inset-inline-start: var(--sheen-control-h-sm); inline-size: calc(100% - var(--sheen-control-h-sm) + var(--sheen-space-inline-md)); block-size: var(--sheen-control-border-width); background: var(--sheen-color-border-control); }
407
+ .sheen-stepper-copy { position: relative; z-index: 1; display: grid; min-inline-size: 0; align-content: start; gap: var(--sheen-space-block-xs); background: var(--sheen-color-bg); }
408
+ .sheen-stepper-copy > :is(strong, a, button) { inline-size: fit-content; max-inline-size: 100%; overflow-wrap: anywhere; }
409
+ .sheen-stepper-copy > button { min-block-size: auto; padding: 0; }
410
+ .sheen-stepper[data-orientation="vertical"] .sheen-stepper-list { flex-direction: column; }
411
+ .sheen-stepper[data-orientation="vertical"] .sheen-stepper-step { flex: none; padding-block-end: var(--sheen-space-section); }
412
+ .sheen-stepper[data-orientation="vertical"] .sheen-stepper-step:not(:last-child)::after { inset-block: var(--sheen-control-h-sm) 0; inset-inline-start: calc(var(--sheen-control-h-sm) / 2); inline-size: var(--sheen-control-border-width); block-size: auto; }
413
+ .sheen-stepper[data-density="compact"] { gap: var(--sheen-space-block-xs); }
414
+ .sheen-stepper[data-density="compact"] .sheen-stepper-list { gap: var(--sheen-space-inline-sm); }
415
+ @container (width < 36rem) { .sheen-stepper[data-orientation="horizontal"] .sheen-stepper-list { flex-direction: column; } .sheen-stepper[data-orientation="horizontal"] .sheen-stepper-step { flex: none; padding-block-end: var(--sheen-space-block-md); } .sheen-stepper[data-orientation="horizontal"] .sheen-stepper-step:not(:last-child)::after { inset-block: var(--sheen-control-h-sm) 0; inset-inline-start: calc(var(--sheen-control-h-sm) / 2); inline-size: var(--sheen-control-border-width); block-size: auto; } }
416
+ .sheen-dialog-overlay { position: fixed; inset: 0; background: var(--sheen-color-bg-overlay); z-index: 100; }
417
+ .sheen-dialog {
418
+ display: grid;
419
+ gap: var(--sheen-space-block-md);
420
+ box-sizing: border-box;
421
+ --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised);
422
+ position: fixed;
423
+ inset-block-start: 25%;
424
+ inset-inline-start: 50%;
425
+ transform: translateX(-50%);
426
+ z-index: 101;
427
+ inline-size: min(420px, 90vw);
428
+ max-block-size: 70dvh;
429
+ overflow: auto;
430
+ padding: var(--sheen-space-section);
431
+ border: 1px solid var(--sheen-color-border);
432
+ border-radius: var(--sheen-surface-radius);
433
+ background: var(--sheen-color-bg-raised);
434
+ color: var(--sheen-color-fg);
435
+ box-shadow: var(--sheen-elevation-modal);
436
+ }
437
+ .sheen-dialog:dir(rtl) { transform: translateX(50%); }
438
+ .sheen-dialog.sheen-drawer { inset-block: 0; transform: none; inline-size: min(28rem, 90vw); block-size: 100dvh; max-block-size: none; border-block: 0; border-radius: 0; }
439
+ .sheen-dialog.sheen-drawer-start { inset-inline: 0 auto; border-inline-end: 1px solid var(--sheen-color-border); }
440
+ .sheen-dialog.sheen-drawer-end { inset-inline: auto 0; border-inline-start: 1px solid var(--sheen-color-border); }
441
+ .sheen-dialog.sheen-drawer:dir(rtl) { transform: none; }
442
+ .sheen-drawer-start { --sheen-drawer-closed-translate: -100%; }
443
+ .sheen-drawer-end { --sheen-drawer-closed-translate: 100%; }
444
+ .sheen-drawer-start:dir(rtl) { --sheen-drawer-closed-translate: 100%; }
445
+ .sheen-drawer-end:dir(rtl) { --sheen-drawer-closed-translate: -100%; }
446
+ .sheen-drawer[data-expanded] { animation: sheen-drawer-enter var(--sheen-duration-slow) cubic-bezier(0, 0, 0, 1); }
447
+ .sheen-drawer[data-closed] { animation: sheen-drawer-exit var(--sheen-duration-slow) cubic-bezier(0.3, 0, 1, 1); pointer-events: none; }
448
+ @keyframes sheen-drawer-enter { from { opacity: 0; translate: var(--sheen-drawer-closed-translate) 0; } to { opacity: 1; translate: 0 0; } }
449
+ @keyframes sheen-drawer-exit { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: var(--sheen-drawer-closed-translate) 0; } }
450
+ .sheen-dialog-header { display: grid; gap: var(--sheen-space-block-xs); }
451
+ .sheen-dialog-header > h2, .sheen-dialog-header > p { margin: 0; overflow-wrap: anywhere; }
452
+ .sheen-dialog-header > p { color: var(--sheen-color-fg-muted); }
453
+ .sheen-dialog-body { display: grid; gap: var(--sheen-space-block-sm); min-inline-size: 0; }
454
+ .sheen-dialog-body:empty { display: none; }
455
+ .sheen-shortcut-bindings { margin: 0; display: grid; gap: var(--sheen-space-block-sm); }
456
+ .sheen-shortcut-bindings > div { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sheen-space-inline-sm); }
457
+ .sheen-shortcut-bindings dt, .sheen-shortcut-bindings dd { margin: 0; display: grid; gap: var(--sheen-space-block-xs); overflow-wrap: anywhere; }
458
+ .sheen-shortcut-bindings dd { align-content: start; justify-items: end; text-align: end; }
459
+ .sheen-shortcut-bindings .sheen-kbd { align-self: start; justify-self: end; }
460
+ .sheen-shortcut-pending { block-size: var(--sheen-control-h-sm); min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-control-h-sm); }
461
+ .sheen-dialog-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sheen-space-inline-md); }
462
+ .sheen-dialog[data-expanded], .sheen-dialog-overlay[data-expanded] { animation: sheen-dialog-enter var(--sheen-duration-normal) ease-out; }
463
+ .sheen-dialog[data-closed], .sheen-dialog-overlay[data-closed] { animation: sheen-dialog-exit var(--sheen-duration-normal) ease-in; pointer-events: none; }
464
+ @keyframes sheen-dialog-enter { from { opacity: 0; } to { opacity: 1; } }
465
+ @keyframes sheen-dialog-exit { from { opacity: 1; } to { opacity: 0; } }
466
+ .sheen-tooltip, .sheen-popover { --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised); background: var(--sheen-color-bg-raised); color: var(--sheen-color-fg); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); box-shadow: var(--sheen-elevation-overlay); box-sizing: border-box; overflow-wrap: anywhere; }
467
+ .sheen-tooltip { display: flex; align-items: center; gap: var(--sheen-space-inline-md); padding: var(--sheen-space-block-xs) var(--sheen-space-inline-md); max-inline-size: min(24rem, 90vw); font-size: var(--sheen-text-ui-sm-size); box-shadow: var(--sheen-elevation-raised); }
468
+ .sheen-popover { display: grid; gap: var(--sheen-space-block-md); padding: var(--sheen-space-block-md); inline-size: min(22rem, 90vw); max-block-size: min(70dvh, var(--kb-popper-content-available-height)); overflow: auto; }
469
+ .sheen-tooltip[data-expanded], .sheen-popover[data-expanded] { animation: sheen-dialog-enter var(--sheen-duration-fast) ease-out; }
470
+ .sheen-tooltip[data-closed], .sheen-popover[data-closed] { animation: sheen-dialog-exit var(--sheen-duration-fast) ease-in; pointer-events: none; }
471
+ .sheen-menu { --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised); background: var(--sheen-color-bg-raised); color: var(--sheen-color-fg); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); box-shadow: var(--sheen-elevation-overlay); box-sizing: border-box; padding: var(--sheen-space-inline-xs); min-inline-size: min(12rem, 90vw); max-inline-size: 90vw; max-block-size: min(70dvh, var(--kb-popper-content-available-height)); overflow: auto; font-family: var(--sheen-font-sans); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
472
+ .sheen-menu[data-match-trigger-width] { inline-size: min(var(--kb-popper-anchor-width), var(--kb-popper-content-available-width)); min-inline-size: 0; }
473
+ .sheen-menu[data-expanded] { animation: sheen-dialog-enter var(--sheen-duration-fast) ease-out; }
474
+ .sheen-menu[data-closed] { animation: sheen-dialog-exit var(--sheen-duration-fast) ease-in; pointer-events: none; }
475
+ .sheen-menu-item { display: flex; align-items: center; gap: var(--sheen-space-inline-sm); min-block-size: var(--sheen-control-h-sm); padding: var(--sheen-space-block-xs) var(--sheen-space-inline-sm); border-radius: var(--sheen-control-radius); box-sizing: border-box; overflow-wrap: anywhere; cursor: default; user-select: none; outline: none; }
476
+ .sheen-menu-item-copy { display: grid; min-inline-size: 0; line-height: 1.2; }
477
+ .sheen-menu-item-copy > small { color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-xs-size); }
478
+ .sheen-menu-item[data-highlighted] { background: var(--sheen-color-bg-hover); outline: 2px solid var(--sheen-color-focus-ring); outline-offset: -2px; }
479
+ .sheen-menu-item[data-disabled] { color: var(--sheen-color-fg-subtle); }
480
+ .sheen-menu-indicator { display: inline-grid; place-items: center; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); flex-shrink: 0; text-align: center; }
481
+ .sheen-menu-item-icon { display: inline-grid; place-items: center; flex: none; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); color: var(--sheen-color-fg-muted); }
482
+ .sheen-menu-item-icon > :is(svg, img, .sheen-icon) { max-inline-size: 100%; max-block-size: 100%; }
483
+ .sheen-menu-shortcut, .sheen-menu-sub-arrow { margin-inline-start: auto; }
484
+ .sheen-menu-sub-arrow[data-direction="rtl"] { transform: rotate(180deg); }
485
+ .sheen-menu-label { padding: var(--sheen-space-block-xs) var(--sheen-space-inline-sm); color: var(--sheen-color-fg-muted); }
486
+ .sheen-menu-separator { border: none; border-block-start: var(--sheen-control-border-width) solid var(--sheen-color-border); margin: var(--sheen-space-block-xs) 0; }
487
+ .sheen-toast { --sheen-color-focus-ring-offset: var(--sheen-color-bg-raised); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sheen-space-block-sm) var(--sheen-space-inline-md); box-sizing: border-box; padding: var(--sheen-space-block-md); background: var(--sheen-color-bg-raised); color: var(--sheen-color-fg); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-surface-radius); box-shadow: var(--sheen-elevation-overlay); font-family: var(--sheen-font-sans); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); overflow-wrap: anywhere; min-inline-size: 0; }
488
+ .sheen-toast { max-inline-size: 24rem; }
489
+ .sheen-toast-title { align-self: center; }
490
+ .sheen-toast-close { align-self: start; }
491
+ .sheen-toast-description, .sheen-toast-error { grid-column: 1 / -1; margin: 0; }
492
+ .sheen-toast-description, .sheen-toast-pending { color: var(--sheen-color-fg-muted); }
493
+ .sheen-toast-error, .sheen-toast[data-tone="danger"] .sheen-toast-title { color: var(--sheen-color-danger-fg); }
494
+ .sheen-toast[data-tone="success"] .sheen-toast-title { color: var(--sheen-color-success-fg); }
495
+ .sheen-toast[data-tone="warning"] .sheen-toast-title { color: var(--sheen-color-warning-fg); }
496
+ .sheen-toast-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sheen-space-inline-md); }
497
+ .sheen-toaster { position: fixed; inset-block-end: var(--sheen-space-block-md); inset-inline-end: var(--sheen-space-inline-md); inline-size: min(24rem, calc(100vw - 2 * var(--sheen-space-inline-md))); max-block-size: 70dvh; overflow: auto; pointer-events: none; }
498
+ .sheen-toast-list { display: grid; gap: var(--sheen-space-block-md); margin: 0; padding: var(--sheen-space-inline-xs); list-style: none; }
499
+ .sheen-toast-entry { pointer-events: auto; }
500
+ .sheen-toast-entry[data-open="true"] { animation: sheen-dialog-enter var(--sheen-duration-fast) ease-out; }
501
+ .sheen-toast-entry[data-open="false"] { animation: sheen-dialog-exit var(--sheen-duration-fast) ease-in; pointer-events: none; }
502
+ .sheen-toast-announcer { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
503
+ .sheen-layout { box-sizing: border-box; min-inline-size: 0; min-block-size: 0; }
504
+ .sheen-stack, .sheen-row, .sheen-center { display: flex; }
505
+ .sheen-stack { flex-direction: column; }
506
+ .sheen-row { flex-direction: row; }
507
+ .sheen-row[data-wrap="true"] { flex-wrap: wrap; }
508
+ .sheen-row[data-wrap="false"] { flex-wrap: nowrap; }
509
+ .sheen-grid { display: grid; grid-template-columns: repeat(var(--sheen-grid-columns, 1), minmax(0, 1fr)); }
510
+ .sheen-stack, .sheen-row, .sheen-grid { row-gap: var(--sheen-layout-block-gap); column-gap: var(--sheen-layout-inline-gap); }
511
+ .sheen-layout[data-gap="none"] { --sheen-layout-block-gap: 0px; --sheen-layout-inline-gap: 0px; }
512
+ .sheen-layout[data-gap="xs"] { --sheen-layout-block-gap: var(--sheen-space-block-xs); --sheen-layout-inline-gap: var(--sheen-space-inline-xs); }
513
+ .sheen-layout[data-gap="sm"] { --sheen-layout-block-gap: var(--sheen-space-block-sm); --sheen-layout-inline-gap: var(--sheen-space-inline-sm); }
514
+ .sheen-layout[data-gap="md"] { --sheen-layout-block-gap: var(--sheen-space-block-md); --sheen-layout-inline-gap: var(--sheen-space-inline-md); }
515
+ .sheen-layout[data-gap="lg"] { --sheen-layout-block-gap: var(--sheen-space-block-lg); --sheen-layout-inline-gap: var(--sheen-space-inline-lg); }
516
+ .sheen-layout[data-gap="xl"] { --sheen-layout-block-gap: var(--sheen-space-block-xl); --sheen-layout-inline-gap: var(--sheen-space-inline-xl); }
517
+ .sheen-layout[data-align="start"] { align-items: flex-start; }
518
+ .sheen-layout[data-align="center"] { align-items: center; }
519
+ .sheen-layout[data-align="end"] { align-items: flex-end; }
520
+ .sheen-layout[data-align="stretch"] { align-items: stretch; }
521
+ .sheen-layout[data-justify="start"] { justify-content: flex-start; }
522
+ .sheen-layout[data-justify="center"] { justify-content: center; }
523
+ .sheen-layout[data-justify="end"] { justify-content: flex-end; }
524
+ .sheen-layout[data-justify="between"] { justify-content: space-between; }
525
+ .sheen-grid[data-columns="1"] { --sheen-grid-columns: 1; }
526
+ .sheen-grid[data-columns="2"] { --sheen-grid-columns: 2; }
527
+ .sheen-grid[data-columns="3"] { --sheen-grid-columns: 3; }
528
+ .sheen-grid[data-columns="4"] { --sheen-grid-columns: 4; }
529
+ .sheen-grid[data-columns="5"] { --sheen-grid-columns: 5; }
530
+ .sheen-grid[data-columns="6"] { --sheen-grid-columns: 6; }
531
+ .sheen-grid[data-columns="7"] { --sheen-grid-columns: 7; }
532
+ .sheen-grid[data-columns="8"] { --sheen-grid-columns: 8; }
533
+ .sheen-grid[data-columns="9"] { --sheen-grid-columns: 9; }
534
+ .sheen-grid[data-columns="10"] { --sheen-grid-columns: 10; }
535
+ .sheen-grid[data-columns="11"] { --sheen-grid-columns: 11; }
536
+ .sheen-grid[data-columns="12"] { --sheen-grid-columns: 12; }
537
+ .sheen-container { inline-size: 100%; padding-inline: var(--sheen-layout-inline-gap); padding-block: var(--sheen-layout-block-gap); }
538
+ .sheen-center { align-items: center; justify-content: center; }
539
+ .sheen-spacer { flex: 1 1 0%; pointer-events: none; }
540
+ .sheen-layout[hidden] { display: none; }
541
+ .sheen-text, .sheen-heading, .sheen-code, .sheen-kbd, .sheen-badge { font-family: var(--sheen-font-sans); color: var(--sheen-color-fg); }
542
+ .sheen-text[data-tone="muted"] { color: var(--sheen-color-fg-muted); }
543
+ .sheen-text[data-numeric="true"], .sheen-code, .sheen-kbd { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
544
+ .sheen-heading { margin: 0; }
545
+ .sheen-text[data-size="caption"] { font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); font-weight: var(--sheen-text-caption-weight); }
546
+ .sheen-text[data-size="ui-sm"] { font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); font-weight: var(--sheen-text-ui-sm-weight); }
547
+ .sheen-text[data-size="ui"] { font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); font-weight: var(--sheen-text-ui-weight); }
548
+ .sheen-text[data-size="body"] { font-size: var(--sheen-text-body-size); line-height: var(--sheen-text-body-leading); font-weight: var(--sheen-text-body-weight); }
549
+ .sheen-heading[data-size="h1"] { font-size: var(--sheen-text-h1-size); line-height: var(--sheen-text-h1-leading); font-weight: var(--sheen-text-h1-weight); }
550
+ .sheen-heading[data-size="h2"] { font-size: var(--sheen-text-h2-size); line-height: var(--sheen-text-h2-leading); font-weight: var(--sheen-text-h2-weight); }
551
+ .sheen-heading[data-size="h3"] { font-size: var(--sheen-text-h3-size); line-height: var(--sheen-text-h3-leading); font-weight: var(--sheen-text-h3-weight); }
552
+ .sheen-heading[data-size="h4"] { font-size: var(--sheen-text-h4-size); line-height: var(--sheen-text-h4-leading); font-weight: var(--sheen-text-h4-weight); }
553
+ .sheen-code, .sheen-kbd { font-family: var(--sheen-font-mono); font-size: var(--sheen-text-code-size); line-height: var(--sheen-text-code-leading); font-weight: var(--sheen-text-code-weight); background: var(--sheen-color-bg-subtle); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-control-radius); padding-inline: var(--sheen-space-inline-xs); }
554
+ .sheen-code { overflow-wrap: anywhere; }
555
+ .sheen-kbd { display: inline-block; white-space: nowrap; color: var(--sheen-color-fg-muted); }
556
+ .sheen-badge { --sheen-tone: var(--sheen-color-neutral); --sheen-tone-fg: var(--sheen-color-neutral-fg); --sheen-tone-on: var(--sheen-color-neutral-on); --sheen-tone-subtle: var(--sheen-color-neutral-subtle); --sheen-tone-border: var(--sheen-color-border-control); display: inline-flex; align-items: center; vertical-align: middle; gap: var(--sheen-space-inline-xs); padding-inline: var(--sheen-space-inline-xs); border: var(--sheen-control-border-width) solid transparent; border-radius: var(--sheen-control-radius); font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); font-weight: var(--sheen-text-caption-weight); min-block-size: var(--sheen-control-h-xs); max-inline-size: 100%; }
557
+ .sheen-badge[data-tone="accent"] { --sheen-tone: var(--sheen-color-accent); --sheen-tone-fg: var(--sheen-color-accent-fg); --sheen-tone-on: var(--sheen-color-fg-on-accent); --sheen-tone-subtle: var(--sheen-color-accent-subtle); --sheen-tone-border: var(--sheen-color-accent-fg); }
558
+ .sheen-badge[data-tone="info"] { --sheen-tone: var(--sheen-color-info); --sheen-tone-fg: var(--sheen-color-info-fg); --sheen-tone-on: var(--sheen-color-info-on); --sheen-tone-subtle: var(--sheen-color-info-subtle); --sheen-tone-border: var(--sheen-color-info-border); }
559
+ .sheen-badge[data-tone="success"] { --sheen-tone: var(--sheen-color-success); --sheen-tone-fg: var(--sheen-color-success-fg); --sheen-tone-on: var(--sheen-color-success-on); --sheen-tone-subtle: var(--sheen-color-success-subtle); --sheen-tone-border: var(--sheen-color-success-border); }
560
+ .sheen-badge[data-tone="warning"] { --sheen-tone: var(--sheen-color-warning); --sheen-tone-fg: var(--sheen-color-warning-fg); --sheen-tone-on: var(--sheen-color-warning-on); --sheen-tone-subtle: var(--sheen-color-warning-subtle); --sheen-tone-border: var(--sheen-color-warning-border); }
561
+ .sheen-badge[data-tone="danger"] { --sheen-tone: var(--sheen-color-danger); --sheen-tone-fg: var(--sheen-color-danger-fg); --sheen-tone-on: var(--sheen-color-danger-on); --sheen-tone-subtle: var(--sheen-color-danger-subtle); --sheen-tone-border: var(--sheen-color-danger-border); }
562
+ .sheen-badge[data-tone="market-up"] { --sheen-tone: var(--sheen-color-market-up); --sheen-tone-fg: var(--sheen-color-market-up-fg); --sheen-tone-on: var(--sheen-color-market-up-on); --sheen-tone-subtle: var(--sheen-color-market-up-subtle); --sheen-tone-border: var(--sheen-color-market-up-border); }
563
+ .sheen-badge[data-tone="market-down"] { --sheen-tone: var(--sheen-color-market-down); --sheen-tone-fg: var(--sheen-color-market-down-fg); --sheen-tone-on: var(--sheen-color-market-down-on); --sheen-tone-subtle: var(--sheen-color-market-down-subtle); --sheen-tone-border: var(--sheen-color-market-down-border); }
564
+ .sheen-badge[data-tone="market-flat"] { --sheen-tone: var(--sheen-color-market-flat); --sheen-tone-fg: var(--sheen-color-market-flat-fg); --sheen-tone-on: var(--sheen-color-market-flat-on); --sheen-tone-subtle: var(--sheen-color-market-flat-subtle); --sheen-tone-border: var(--sheen-color-market-flat-border); }
565
+ .sheen-badge[data-variant="soft"] { background: var(--sheen-tone-subtle); color: var(--sheen-tone-fg); }
566
+ .sheen-badge[data-variant="solid"] { background: var(--sheen-tone); color: var(--sheen-tone-on); }
567
+ .sheen-badge[data-variant="outline"] { background: transparent; color: var(--sheen-tone-fg); border-color: var(--sheen-tone-border); }
568
+ .sheen-badge[data-size="md"] { min-block-size: var(--sheen-control-h-sm); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); font-weight: var(--sheen-text-ui-sm-weight); }
569
+ .sheen-tag > span { overflow-wrap: anywhere; min-inline-size: 0; }
570
+ .sheen-tag-remove { min-block-size: auto; flex-shrink: 0; color: inherit; font-size: var(--sheen-text-caption-size); line-height: var(--sheen-text-caption-leading); }
571
+ .sheen-tag[data-variant="soft"] { --sheen-color-focus-ring: var(--sheen-tone-fg); --sheen-color-focus-ring-offset: var(--sheen-tone-subtle); }
572
+ .sheen-tag[data-variant="solid"] { --sheen-color-focus-ring: var(--sheen-tone-on); --sheen-color-focus-ring-offset: var(--sheen-tone); }
573
+ .sheen-tag-remove:hover { background: transparent; text-decoration: underline; }
574
+ .sheen-text[hidden], .sheen-heading[hidden], .sheen-code[hidden], .sheen-kbd[hidden], .sheen-badge[hidden] { display: none; }
575
+ .sheen-surface { --sheen-surface-fill: var(--sheen-color-bg); --sheen-color-focus-ring-offset: var(--sheen-surface-fill); background: var(--sheen-surface-fill); color: var(--sheen-color-fg); border-radius: var(--sheen-surface-radius); padding-inline: var(--sheen-layout-inline-gap); padding-block: var(--sheen-layout-block-gap); }
576
+ .sheen-surface[data-surface="subtle"] { --sheen-surface-fill: var(--sheen-color-bg-subtle); }
577
+ .sheen-surface[data-surface="raised"] { --sheen-surface-fill: var(--sheen-color-bg-raised); }
578
+ .sheen-surface[data-surface="inset"] { --sheen-surface-fill: var(--sheen-color-bg-inset); }
579
+ .sheen-surface[data-bordered="true"] { border: var(--sheen-control-border-width) solid var(--sheen-color-border); }
580
+ .sheen-surface[data-elevated="true"] { box-shadow: var(--sheen-elevation-raised); }
581
+ .sheen-separator { flex-shrink: 0; margin: 0; border: 0; background: var(--sheen-color-border); }
582
+ .sheen-separator[data-orientation="horizontal"] { block-size: var(--sheen-control-border-width); inline-size: 100%; }
583
+ .sheen-separator[data-orientation="vertical"] { inline-size: var(--sheen-control-border-width); block-size: auto; align-self: stretch; }
584
+ .sheen-notice { --sheen-color-focus-ring-offset: var(--sheen-notice-fill); --sheen-color-focus-ring: var(--sheen-notice-fg); box-sizing: border-box; padding: var(--sheen-space-block-md) var(--sheen-space-inline-lg); border: var(--sheen-control-border-width) solid var(--sheen-notice-border); border-inline-start-width: var(--sheen-space-inline-xs); border-radius: var(--sheen-surface-radius); background: var(--sheen-notice-fill); color: var(--sheen-notice-fg); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
585
+ .sheen-notice-heading { display: block; font-weight: var(--sheen-text-h4-weight); margin-block-end: var(--sheen-space-block-xs); }
586
+ .sheen-notice-content { min-inline-size: 0; overflow-wrap: anywhere; }
587
+ .sheen-notice[data-tone="info"] { --sheen-notice-fill: var(--sheen-color-info-subtle); --sheen-notice-fg: var(--sheen-color-info-fg); --sheen-notice-border: var(--sheen-color-info-border); }
588
+ .sheen-notice[data-tone="success"] { --sheen-notice-fill: var(--sheen-color-success-subtle); --sheen-notice-fg: var(--sheen-color-success-fg); --sheen-notice-border: var(--sheen-color-success-border); }
589
+ .sheen-notice[data-tone="warning"] { --sheen-notice-fill: var(--sheen-color-warning-subtle); --sheen-notice-fg: var(--sheen-color-warning-fg); --sheen-notice-border: var(--sheen-color-warning-border); }
590
+ .sheen-notice[data-tone="danger"] { --sheen-notice-fill: var(--sheen-color-danger-subtle); --sheen-notice-fg: var(--sheen-color-danger-fg); --sheen-notice-border: var(--sheen-color-danger-border); }
591
+ .sheen-surface[data-surface="base"] { --sheen-surface-fill: var(--sheen-color-bg); }
592
+ .sheen-separator[hidden], .sheen-notice[hidden] { display: none; }
593
+ .sheen-description-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--sheen-space-inline-lg); row-gap: var(--sheen-space-block-xs); margin: 0; min-inline-size: 0; font-family: var(--sheen-font-sans); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
594
+ .sheen-description-list[data-layout="columns"] { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); row-gap: var(--sheen-space-block-md); }
595
+ .sheen-description-term, .sheen-description-details { min-inline-size: 0; margin: 0; overflow-wrap: anywhere; user-select: text; }
596
+ .sheen-description-term { color: var(--sheen-color-fg-muted); }
597
+ .sheen-description-details { color: var(--sheen-color-fg); }
598
+ .sheen-description-list[data-layout="stacked"] > .sheen-description-details + .sheen-description-term { margin-block-start: var(--sheen-space-block-md); }
599
+ .sheen-description-details[data-numeric="true"] { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
600
+ .sheen-description-list[hidden], .sheen-description-term[hidden], .sheen-description-details[hidden] { display: none; }
601
+ .sheen-skeleton { display: block; box-sizing: border-box; background: var(--sheen-color-bg-subtle); border: var(--sheen-control-border-width) solid var(--sheen-color-border); border-radius: var(--sheen-control-radius); inline-size: 100%; block-size: var(--sheen-text-ui-leading); pointer-events: none; user-select: none; }
602
+ .sheen-skeleton[data-shape="rectangle"] { block-size: var(--sheen-control-h-lg); border-radius: var(--sheen-surface-radius); }
603
+ .sheen-skeleton[data-shape="circle"] { inline-size: var(--sheen-control-h-lg); block-size: var(--sheen-control-h-lg); border-radius: 50%; }
604
+ .sheen-skeleton[hidden] { display: none; }
605
+ .sheen-empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sheen-space-block-md); padding: var(--sheen-space-section); min-inline-size: 0; color: var(--sheen-color-fg); overflow-wrap: anywhere; }
606
+ .sheen-empty-state-heading { font-family: var(--sheen-font-sans); font-size: var(--sheen-text-h4-size); line-height: var(--sheen-text-h4-leading); font-weight: var(--sheen-text-h4-weight); }
607
+ .sheen-empty-state-description { margin: 0; color: var(--sheen-color-fg-muted); font-size: var(--sheen-text-ui-size); line-height: var(--sheen-text-ui-leading); }
608
+ .sheen-empty-state[hidden] { display: none; }
609
+ .sheen-spinner { display: inline-flex; position: relative; vertical-align: middle; color: var(--sheen-color-fg-muted); inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); flex-shrink: 0; }
610
+ .sheen-spinner[data-size="sm"] { inline-size: var(--sheen-icon-size-sm); block-size: var(--sheen-icon-size-sm); }
611
+ .sheen-spinner[data-size="lg"] { inline-size: var(--sheen-icon-size-lg); block-size: var(--sheen-icon-size-lg); }
612
+ .sheen-spinner-mark { inline-size: 100%; block-size: 100%; box-sizing: border-box; border: var(--sheen-control-border-width) solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: sheen-spinner-rotation var(--sheen-duration-slow) linear infinite; }
613
+ .sheen-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; overflow: hidden; box-sizing: border-box; inline-size: var(--sheen-icon-size-md); block-size: var(--sheen-icon-size-md); color: var(--sheen-color-fg-muted); background: var(--sheen-color-bg-inset); border: 1px solid var(--sheen-color-border-control); border-radius: 50%; font-size: 0.625rem; font-weight: 600; line-height: 1; }
614
+ .sheen-avatar[data-size="sm"] { inline-size: calc(var(--sheen-icon-size-sm) * 1.75); block-size: calc(var(--sheen-icon-size-sm) * 1.75); }
615
+ .sheen-avatar[data-size="md"] { inline-size: calc(var(--sheen-icon-size-md) * 2); block-size: calc(var(--sheen-icon-size-md) * 2); }
616
+ .sheen-avatar[data-size="lg"] { inline-size: calc(var(--sheen-icon-size-lg) * 2.25); block-size: calc(var(--sheen-icon-size-lg) * 2.25); font-size: 0.75rem; }
617
+ .sheen-avatar-fallback, .sheen-avatar-image { grid-area: 1 / 1; inline-size: 100%; block-size: 100%; }
618
+ .sheen-avatar-fallback { display: grid; place-items: center; }
619
+ .sheen-avatar-image { object-fit: cover; background: var(--sheen-color-bg-inset); }
620
+ .sheen-avatar-group { display: flex; align-items: center; padding-inline-start: var(--sheen-space-inline-xs); }
621
+ .sheen-avatar-group > .sheen-avatar { margin-inline-start: calc(-1 * var(--sheen-space-inline-xs)); box-shadow: 0 0 0 1px var(--sheen-color-bg); }
622
+ .sheen-avatar-overflow { overflow: visible; }
623
+ .sheen-progress, .sheen-meter {
624
+ display: block;
625
+ inline-size: 100%;
626
+ block-size: 0.5rem;
627
+ overflow: hidden;
628
+ appearance: none;
629
+ -webkit-appearance: none;
630
+ border: 0;
631
+ border-radius: var(--sheen-radius-pill);
632
+ background: var(--sheen-color-bg-inset);
633
+ box-shadow: inset 0 0 0 1px var(--sheen-color-border-subtle);
634
+ accent-color: var(--sheen-color-accent);
635
+ }
636
+ .sheen-progress::-webkit-progress-bar, .sheen-meter::-webkit-meter-bar { border: 0; border-radius: var(--sheen-radius-pill); background: var(--sheen-color-bg-inset); box-shadow: inset 0 0 0 1px var(--sheen-color-border-subtle); }
637
+ .sheen-progress::-webkit-progress-value, .sheen-progress::-moz-progress-bar { border-radius: var(--sheen-radius-pill); background: var(--sheen-color-accent); }
638
+ .sheen-meter { --sheen-meter-fill: var(--sheen-color-success); }
639
+ .sheen-meter[data-meter-state="suboptimum"] { --sheen-meter-fill: var(--sheen-color-warning); }
640
+ .sheen-meter[data-meter-state="critical"] { --sheen-meter-fill: var(--sheen-color-danger); }
641
+ .sheen-meter::-webkit-meter-optimum-value, .sheen-meter::-webkit-meter-suboptimum-value, .sheen-meter::-webkit-meter-even-less-good-value,
642
+ .sheen-meter::-moz-meter-bar { border: 0; border-radius: var(--sheen-radius-pill); background: var(--sheen-meter-fill); box-shadow: none; }
643
+ @media (forced-colors: active) { .sheen-progress, .sheen-meter { appearance: auto; -webkit-appearance: auto; box-shadow: none; } }
644
+ .sheen-spinner-label { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
645
+ @keyframes sheen-spinner-rotation { to { transform: rotate(360deg); } }
646
+ .sheen-spinner[hidden] { display: none; }
647
+ .sheen-table { inline-size: 100%; border-collapse: collapse; color: var(--sheen-color-fg); font-family: var(--sheen-font-sans); font-size: var(--sheen-text-ui-sm-size); line-height: var(--sheen-text-ui-sm-leading); }
648
+ .sheen-table-caption { caption-side: top; text-align: start; padding-block: var(--sheen-space-block-md); color: var(--sheen-color-fg-muted); }
649
+ .sheen-table-th, .sheen-table-td { height: var(--sheen-table-row-h); box-sizing: border-box; padding-inline: var(--sheen-space-inline-md); padding-block: var(--sheen-space-block-xs); text-align: start; vertical-align: middle; border-block-end: var(--sheen-control-border-width) solid var(--sheen-color-border); }
650
+ .sheen-table-th { font-weight: var(--sheen-text-h4-weight); user-select: none; }
651
+ .sheen-table-td { user-select: text; }
652
+ .sheen-table-th[data-numeric="true"], .sheen-table-td[data-numeric="true"] { text-align: end; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
653
+ .sheen-table[data-striped="true"] > .sheen-table-tbody > .sheen-table-tr:nth-child(even) { background: var(--sheen-color-bg-subtle); --sheen-color-focus-ring-offset: var(--sheen-color-bg-subtle); }
654
+ .sheen-table[hidden], .sheen-table-caption[hidden], .sheen-table-thead[hidden], .sheen-table-tbody[hidden], .sheen-table-tfoot[hidden], .sheen-table-tr[hidden], .sheen-table-th[hidden], .sheen-table-td[hidden] { display: none; }
655
+ }