@uninterface/backend-element-plus 0.0.0-stage → 2.14.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 (371) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -2
  3. package/THIRD-PARTY-NOTICES.md +37 -0
  4. package/capabilities.json +168 -0
  5. package/docs/README.md +47 -0
  6. package/docs/collections.md +211 -0
  7. package/docs/contract-adaptations.md +111 -0
  8. package/docs/customization.md +131 -0
  9. package/docs/examples/NativeReference.vue +147 -0
  10. package/docs/exports.md +32 -0
  11. package/docs/floating-panels.md +53 -0
  12. package/docs/font-licenses/inter.txt +93 -0
  13. package/docs/font-licenses/noto-sans-sc.txt +93 -0
  14. package/docs/font-licenses/noto-sans-tc.txt +93 -0
  15. package/docs/icon-licenses/Element-Plus.txt +21 -0
  16. package/docs/icon-licenses/SOURCES.md +47 -0
  17. package/docs/modals.md +29 -0
  18. package/docs/native-html.md +21 -0
  19. package/docs/navigation.md +31 -0
  20. package/docs/package-build.md +20 -0
  21. package/docs/presentation.md +291 -0
  22. package/docs/progress.md +9 -0
  23. package/docs/reviewed-components.md +76 -0
  24. package/docs/segmented-selection.md +22 -0
  25. package/docs/selection-feedback-panels.md +79 -0
  26. package/docs/setup.md +159 -0
  27. package/docs/strategies.md +89 -0
  28. package/docs/table-columns.md +37 -0
  29. package/docs/testing.md +44 -0
  30. package/docs/typography.md +93 -0
  31. package/document.css +102 -0
  32. package/esm/_virtual/_plugin-vue_export-helper.js +10 -0
  33. package/esm/capabilities.json.js +14 -0
  34. package/esm/package.json.js +14 -0
  35. package/esm/src/ChoiceGroup.css +23 -0
  36. package/esm/src/ChoiceGroup.vue.js +8 -0
  37. package/esm/src/ChoiceGroup2.vue.js +221 -0
  38. package/esm/src/CollectionCard.vue.js +4 -0
  39. package/esm/src/CollectionCard2.vue.js +199 -0
  40. package/esm/src/CollectionFilterEditor.vue.js +4 -0
  41. package/esm/src/CollectionFilterEditor2.vue.js +31 -0
  42. package/esm/src/CollectionHeaderFlow.vue.js +4 -0
  43. package/esm/src/CollectionHeaderFlow2.vue.js +33 -0
  44. package/esm/src/CollectionHeaderPart.vue.js +4 -0
  45. package/esm/src/CollectionHeaderPart2.vue.js +40 -0
  46. package/esm/src/CollectionQueryBadge.vue.js +4 -0
  47. package/esm/src/CollectionQueryBadge2.vue.js +86 -0
  48. package/esm/src/CollectionSortLayout.vue.js +4 -0
  49. package/esm/src/CollectionSortLayout2.vue.js +23 -0
  50. package/esm/src/CollectionStatus.vue.js +4 -0
  51. package/esm/src/CollectionStatus2.vue.js +135 -0
  52. package/esm/src/CollectionSummary.vue.js +4 -0
  53. package/esm/src/CollectionSummary2.vue.js +70 -0
  54. package/esm/src/CollectionTableActions.vue.js +13 -0
  55. package/esm/src/DrawerDepth.vue.js +4 -0
  56. package/esm/src/DrawerDepth2.vue.js +28 -0
  57. package/esm/src/DrawerDock.vue.js +4 -0
  58. package/esm/src/DrawerDock2.vue.js +26 -0
  59. package/esm/src/EntryBranch.vue.js +4 -0
  60. package/esm/src/EntryBranch2.vue.js +357 -0
  61. package/esm/src/EntryContent.css +10 -0
  62. package/esm/src/EntryContent.vue.js +8 -0
  63. package/esm/src/EntryContent2.vue.js +79 -0
  64. package/esm/src/EntryPopup.vue.js +4 -0
  65. package/esm/src/EntryPopup2.vue.js +164 -0
  66. package/esm/src/FeedbackItem.vue.js +4 -0
  67. package/esm/src/FeedbackItem2.vue.js +145 -0
  68. package/esm/src/FeedbackViewport.vue.js +4 -0
  69. package/esm/src/FeedbackViewport2.vue.js +42 -0
  70. package/esm/src/FieldError.vue.js +4 -0
  71. package/esm/src/FieldError2.vue.js +34 -0
  72. package/esm/src/FieldFailureTooltip.vue.js +4 -0
  73. package/esm/src/FieldFailureTooltip2.vue.js +96 -0
  74. package/esm/src/FileTypeIcon.vue.js +4 -0
  75. package/esm/src/FileTypeIcon2.vue.js +32 -0
  76. package/esm/src/FooterActions.vue.js +16 -0
  77. package/esm/src/MenuBridge.vue.js +4 -0
  78. package/esm/src/MenuBridge2.vue.js +68 -0
  79. package/esm/src/NativeMenu.vue.js +4 -0
  80. package/esm/src/NativeMenu2.vue.js +90 -0
  81. package/esm/src/OverlaySurface.vue.js +4 -0
  82. package/esm/src/OverlaySurface2.vue.js +195 -0
  83. package/esm/src/TableAddRow.vue.js +4 -0
  84. package/esm/src/TableAddRow2.vue.js +66 -0
  85. package/esm/src/TableFilterButton.vue.js +4 -0
  86. package/esm/src/TableFilterButton2.vue.js +35 -0
  87. package/esm/src/TemporalAction.vue.js +4 -0
  88. package/esm/src/TemporalAction2.vue.js +46 -0
  89. package/esm/src/TemporalEditor.vue.js +4 -0
  90. package/esm/src/TemporalEditor2.vue.js +113 -0
  91. package/esm/src/TemporalInput.vue.js +4 -0
  92. package/esm/src/TemporalInput2.vue.js +269 -0
  93. package/esm/src/TemporalMode.vue.js +4 -0
  94. package/esm/src/TemporalMode2.vue.js +149 -0
  95. package/esm/src/TemporalPicker.vue.js +4 -0
  96. package/esm/src/TemporalPicker2.vue.js +155 -0
  97. package/esm/src/TemporalRangeIcon.vue.js +4 -0
  98. package/esm/src/TemporalRangeIcon2.vue.js +67 -0
  99. package/esm/src/TemporalRangePicker.vue.js +4 -0
  100. package/esm/src/TemporalRangePicker2.vue.js +199 -0
  101. package/esm/src/TemporalTimePanel.vue.js +4 -0
  102. package/esm/src/TemporalTimePanel2.vue.js +53 -0
  103. package/esm/src/UiApp.vue.js +4 -0
  104. package/esm/src/UiApp2.vue.js +57 -0
  105. package/esm/src/UiBadge.vue.js +4 -0
  106. package/esm/src/UiBadge2.vue.js +44 -0
  107. package/esm/src/UiBreadcrumbs.css +7 -0
  108. package/esm/src/UiBreadcrumbs.vue.js +8 -0
  109. package/esm/src/UiBreadcrumbs2.vue.js +110 -0
  110. package/esm/src/UiButton.vue.js +4 -0
  111. package/esm/src/UiButton2.vue.js +167 -0
  112. package/esm/src/UiCard.vue.js +4 -0
  113. package/esm/src/UiCard2.vue.js +102 -0
  114. package/esm/src/UiCheckbox.vue.js +4 -0
  115. package/esm/src/UiCheckbox2.vue.js +105 -0
  116. package/esm/src/UiCheckboxGroup.vue.js +4 -0
  117. package/esm/src/UiCheckboxGroup2.vue.js +43 -0
  118. package/esm/src/UiCollapsible.css +7 -0
  119. package/esm/src/UiCollapsible.vue.js +8 -0
  120. package/esm/src/UiCollapsible2.vue.js +59 -0
  121. package/esm/src/UiCollectionFooter.vue.js +4 -0
  122. package/esm/src/UiCollectionFooter2.vue.js +64 -0
  123. package/esm/src/UiCollectionHeader.vue.js +4 -0
  124. package/esm/src/UiCollectionHeader2.vue.js +24 -0
  125. package/esm/src/UiCollectionView.vue.js +4 -0
  126. package/esm/src/UiCollectionView2.vue.js +239 -0
  127. package/esm/src/UiContent.vue.js +4 -0
  128. package/esm/src/UiContent2.vue.js +35 -0
  129. package/esm/src/UiDateInput.vue.js +4 -0
  130. package/esm/src/UiDateInput2.vue.js +46 -0
  131. package/esm/src/UiDateTimeInput.vue.js +4 -0
  132. package/esm/src/UiDateTimeInput2.vue.js +46 -0
  133. package/esm/src/UiDrawer.vue.js +4 -0
  134. package/esm/src/UiDrawer2.vue.js +98 -0
  135. package/esm/src/UiDrawerLayout.vue.js +4 -0
  136. package/esm/src/UiDrawerLayout2.vue.js +63 -0
  137. package/esm/src/UiEmpty.vue.js +4 -0
  138. package/esm/src/UiEmpty2.vue.js +51 -0
  139. package/esm/src/UiField.vue.js +4 -0
  140. package/esm/src/UiField2.vue.js +172 -0
  141. package/esm/src/UiFileCollection.vue.js +4 -0
  142. package/esm/src/UiFileCollection2.vue.js +54 -0
  143. package/esm/src/UiFileInput.vue.js +4 -0
  144. package/esm/src/UiFileInput2.vue.js +138 -0
  145. package/esm/src/UiFilePreview.vue.js +4 -0
  146. package/esm/src/UiFilePreview2.vue.js +104 -0
  147. package/esm/src/UiFloating.vue.js +4 -0
  148. package/esm/src/UiFloating2.vue.js +108 -0
  149. package/esm/src/UiForm.vue.js +4 -0
  150. package/esm/src/UiForm2.vue.js +47 -0
  151. package/esm/src/UiIcon.css +7 -0
  152. package/esm/src/UiIcon.vue.js +8 -0
  153. package/esm/src/UiIcon2.vue.js +27 -0
  154. package/esm/src/UiImagePreview.vue.js +4 -0
  155. package/esm/src/UiImagePreview2.vue.js +92 -0
  156. package/esm/src/UiInputFrame.vue.js +4 -0
  157. package/esm/src/UiInputFrame2.vue.js +62 -0
  158. package/esm/src/UiInputFrameSpacer.vue.js +4 -0
  159. package/esm/src/UiInputFrameSpacer2.vue.js +20 -0
  160. package/esm/src/UiKeyValueItem.vue.js +4 -0
  161. package/esm/src/UiKeyValueItem2.vue.js +29 -0
  162. package/esm/src/UiKeyValueList.vue.js +4 -0
  163. package/esm/src/UiKeyValueList2.vue.js +17 -0
  164. package/esm/src/UiLayout.vue.js +4 -0
  165. package/esm/src/UiLayout2.vue.js +156 -0
  166. package/esm/src/UiLink.vue.js +4 -0
  167. package/esm/src/UiLink2.vue.js +43 -0
  168. package/esm/src/UiList.vue.js +4 -0
  169. package/esm/src/UiList2.vue.js +247 -0
  170. package/esm/src/UiLoadingIndicator.vue.js +4 -0
  171. package/esm/src/UiLoadingIndicator2.vue.js +53 -0
  172. package/esm/src/UiLoadingRegion.vue.js +4 -0
  173. package/esm/src/UiLoadingRegion2.vue.js +100 -0
  174. package/esm/src/UiMenu.vue.js +4 -0
  175. package/esm/src/UiMenu2.vue.js +70 -0
  176. package/esm/src/UiModal.vue.js +4 -0
  177. package/esm/src/UiModal2.vue.js +145 -0
  178. package/esm/src/UiMultiSelect.vue.js +4 -0
  179. package/esm/src/UiMultiSelect2.vue.js +224 -0
  180. package/esm/src/UiNavMenu.vue.js +4 -0
  181. package/esm/src/UiNavMenu2.vue.js +86 -0
  182. package/esm/src/UiNavbar.vue.js +4 -0
  183. package/esm/src/UiNavbar2.vue.js +37 -0
  184. package/esm/src/UiNotice.vue.js +4 -0
  185. package/esm/src/UiNotice2.vue.js +186 -0
  186. package/esm/src/UiPaginator.vue.js +4 -0
  187. package/esm/src/UiPaginator2.vue.js +260 -0
  188. package/esm/src/UiPaginatorJumper.vue.js +4 -0
  189. package/esm/src/UiPaginatorJumper2.vue.js +90 -0
  190. package/esm/src/UiPaginatorSizeSelect.vue.js +4 -0
  191. package/esm/src/UiPaginatorSizeSelect2.vue.js +60 -0
  192. package/esm/src/UiPopover.vue.js +4 -0
  193. package/esm/src/UiPopover2.vue.js +93 -0
  194. package/esm/src/UiPreviewRegion.vue.js +4 -0
  195. package/esm/src/UiPreviewRegion2.vue.js +62 -0
  196. package/esm/src/UiProgressBar.vue.js +4 -0
  197. package/esm/src/UiProgressBar2.vue.js +44 -0
  198. package/esm/src/UiRadioGroup.vue.js +4 -0
  199. package/esm/src/UiRadioGroup2.vue.js +43 -0
  200. package/esm/src/UiRegionLayout.vue.js +4 -0
  201. package/esm/src/UiRegionLayout2.vue.js +106 -0
  202. package/esm/src/UiSegmentedSelect.css +72 -0
  203. package/esm/src/UiSegmentedSelect.vue.js +8 -0
  204. package/esm/src/UiSegmentedSelect2.vue.js +190 -0
  205. package/esm/src/UiSelect.vue.js +4 -0
  206. package/esm/src/UiSelect2.vue.js +209 -0
  207. package/esm/src/UiSuggestions.vue.js +4 -0
  208. package/esm/src/UiSuggestions2.vue.js +151 -0
  209. package/esm/src/UiSwitch.vue.js +4 -0
  210. package/esm/src/UiSwitch2.vue.js +108 -0
  211. package/esm/src/UiTabPanel.vue.js +4 -0
  212. package/esm/src/UiTabPanel2.vue.js +40 -0
  213. package/esm/src/UiTable.vue.js +4 -0
  214. package/esm/src/UiTable2.vue.js +740 -0
  215. package/esm/src/UiTabs.vue.js +4 -0
  216. package/esm/src/UiTabs2.vue.js +85 -0
  217. package/esm/src/UiTextInput.vue.js +4 -0
  218. package/esm/src/UiTextInput2.vue.js +108 -0
  219. package/esm/src/UiTimeInput.vue.js +4 -0
  220. package/esm/src/UiTimeInput2.vue.js +46 -0
  221. package/esm/src/UiTooltip.vue.js +4 -0
  222. package/esm/src/UiTooltip2.vue.js +72 -0
  223. package/esm/src/UiUploadProgress.vue.js +4 -0
  224. package/esm/src/UiUploadProgress2.vue.js +134 -0
  225. package/esm/src/UiUploadRegion.vue.js +4 -0
  226. package/esm/src/UiUploadRegion2.vue.js +230 -0
  227. package/esm/src/checkableDescription.js +104 -0
  228. package/esm/src/controlSize.js +29 -0
  229. package/esm/src/fieldPresentation.js +50 -0
  230. package/esm/src/focus.js +6 -0
  231. package/esm/src/formPresentation.js +6 -0
  232. package/esm/src/icons/external-link.vue.js +32 -0
  233. package/esm/src/icons/globe.vue.js +59 -0
  234. package/esm/src/icons/index.js +67 -0
  235. package/esm/src/icons/more-vertical.vue.js +13 -0
  236. package/esm/src/icons/more-vertical2.vue.js +4 -0
  237. package/esm/src/index.js +18 -0
  238. package/esm/src/integration.js +45 -0
  239. package/esm/src/layout.js +13 -0
  240. package/esm/src/menuPresentation.js +229 -0
  241. package/esm/src/navigationDropdownHeight.js +43 -0
  242. package/esm/src/selectEscape.js +11 -0
  243. package/esm/src/zOrder.js +17 -0
  244. package/esm/testing/browser-control-parts.js +25 -0
  245. package/esm/testing/dom.js +48 -0
  246. package/esm/testing/index.js +120 -0
  247. package/esm/testing/presentation-mapping.js +45 -0
  248. package/esm/testing/presentation-parts.js +49 -0
  249. package/font-bundled.css +6 -0
  250. package/font-family.css +23 -0
  251. package/font.css +6 -0
  252. package/hooks/vite.d.mts +3 -0
  253. package/hooks/vite.mjs +178 -0
  254. package/native-content.css +52 -0
  255. package/package.json +83 -4
  256. package/style.css +3549 -0
  257. package/types/src/ChoiceGroup.vue.d.ts +15 -0
  258. package/types/src/CollectionCard.vue.d.ts +42 -0
  259. package/types/src/CollectionFilterEditor.vue.d.ts +16 -0
  260. package/types/src/CollectionHeaderFlow.vue.d.ts +17 -0
  261. package/types/src/CollectionHeaderPart.vue.d.ts +24 -0
  262. package/types/src/CollectionQueryBadge.vue.d.ts +26 -0
  263. package/types/src/CollectionSortLayout.vue.d.ts +17 -0
  264. package/types/src/CollectionStatus.vue.d.ts +28 -0
  265. package/types/src/CollectionSummary.vue.d.ts +22 -0
  266. package/types/src/CollectionTableActions.vue.d.ts +13 -0
  267. package/types/src/DrawerDepth.vue.d.ts +7 -0
  268. package/types/src/DrawerDock.vue.d.ts +17 -0
  269. package/types/src/EntryBranch.vue.d.ts +31 -0
  270. package/types/src/EntryContent.vue.d.ts +35 -0
  271. package/types/src/EntryPopup.vue.d.ts +24 -0
  272. package/types/src/FeedbackItem.vue.d.ts +16 -0
  273. package/types/src/FeedbackViewport.vue.d.ts +19 -0
  274. package/types/src/FieldError.vue.d.ts +9 -0
  275. package/types/src/FieldFailureTooltip.vue.d.ts +17 -0
  276. package/types/src/FileTypeIcon.vue.d.ts +6 -0
  277. package/types/src/FooterActions.vue.d.ts +13 -0
  278. package/types/src/MenuBridge.vue.d.ts +13 -0
  279. package/types/src/NativeMenu.vue.d.ts +44 -0
  280. package/types/src/OverlaySurface.vue.d.ts +38 -0
  281. package/types/src/TableAddRow.vue.d.ts +18 -0
  282. package/types/src/TableFilterButton.vue.d.ts +7 -0
  283. package/types/src/TemporalAction.vue.d.ts +13 -0
  284. package/types/src/TemporalEditor.vue.d.ts +12 -0
  285. package/types/src/TemporalInput.vue.d.ts +9 -0
  286. package/types/src/TemporalMode.vue.d.ts +20 -0
  287. package/types/src/TemporalPicker.vue.d.ts +10 -0
  288. package/types/src/TemporalRangeIcon.vue.d.ts +7 -0
  289. package/types/src/TemporalRangePicker.vue.d.ts +17 -0
  290. package/types/src/TemporalTimePanel.vue.d.ts +14 -0
  291. package/types/src/UiApp.vue.d.ts +18 -0
  292. package/types/src/UiBadge.vue.d.ts +14 -0
  293. package/types/src/UiBreadcrumbs.vue.d.ts +24 -0
  294. package/types/src/UiButton.vue.d.ts +22 -0
  295. package/types/src/UiCard.vue.d.ts +24 -0
  296. package/types/src/UiCheckbox.vue.d.ts +10 -0
  297. package/types/src/UiCheckboxGroup.vue.d.ts +12 -0
  298. package/types/src/UiCollapsible.vue.d.ts +20 -0
  299. package/types/src/UiCollectionFooter.vue.d.ts +15 -0
  300. package/types/src/UiCollectionHeader.vue.d.ts +14 -0
  301. package/types/src/UiCollectionView.vue.d.ts +56 -0
  302. package/types/src/UiContent.vue.d.ts +14 -0
  303. package/types/src/UiDateInput.vue.d.ts +6 -0
  304. package/types/src/UiDateTimeInput.vue.d.ts +6 -0
  305. package/types/src/UiDrawer.vue.d.ts +40 -0
  306. package/types/src/UiDrawerLayout.vue.d.ts +16 -0
  307. package/types/src/UiEmpty.vue.d.ts +18 -0
  308. package/types/src/UiField.vue.d.ts +17 -0
  309. package/types/src/UiFileCollection.vue.d.ts +16 -0
  310. package/types/src/UiFileInput.vue.d.ts +6 -0
  311. package/types/src/UiFilePreview.vue.d.ts +6 -0
  312. package/types/src/UiFloating.vue.d.ts +14 -0
  313. package/types/src/UiForm.vue.d.ts +25 -0
  314. package/types/src/UiIcon.vue.d.ts +14 -0
  315. package/types/src/UiImagePreview.vue.d.ts +4 -0
  316. package/types/src/UiInputFrame.vue.d.ts +26 -0
  317. package/types/src/UiInputFrameSpacer.vue.d.ts +3 -0
  318. package/types/src/UiKeyValueItem.vue.d.ts +14 -0
  319. package/types/src/UiKeyValueList.vue.d.ts +13 -0
  320. package/types/src/UiLayout.vue.d.ts +17 -0
  321. package/types/src/UiLink.vue.d.ts +16 -0
  322. package/types/src/UiList.vue.d.ts +49 -0
  323. package/types/src/UiLoadingIndicator.vue.d.ts +14 -0
  324. package/types/src/UiLoadingRegion.vue.d.ts +17 -0
  325. package/types/src/UiMenu.vue.d.ts +59 -0
  326. package/types/src/UiModal.vue.d.ts +27 -0
  327. package/types/src/UiMultiSelect.vue.d.ts +16 -0
  328. package/types/src/UiNavMenu.vue.d.ts +36 -0
  329. package/types/src/UiNavbar.vue.d.ts +17 -0
  330. package/types/src/UiNotice.vue.d.ts +18 -0
  331. package/types/src/UiPaginator.vue.d.ts +4 -0
  332. package/types/src/UiPaginatorJumper.vue.d.ts +4 -0
  333. package/types/src/UiPaginatorSizeSelect.vue.d.ts +4 -0
  334. package/types/src/UiPopover.vue.d.ts +40 -0
  335. package/types/src/UiPreviewRegion.vue.d.ts +14 -0
  336. package/types/src/UiProgressBar.vue.d.ts +4 -0
  337. package/types/src/UiRadioGroup.vue.d.ts +12 -0
  338. package/types/src/UiRegionLayout.vue.d.ts +21 -0
  339. package/types/src/UiSegmentedSelect.vue.d.ts +12 -0
  340. package/types/src/UiSelect.vue.d.ts +14 -0
  341. package/types/src/UiSuggestions.vue.d.ts +37 -0
  342. package/types/src/UiSwitch.vue.d.ts +10 -0
  343. package/types/src/UiTabPanel.vue.d.ts +14 -0
  344. package/types/src/UiTable.vue.d.ts +90 -0
  345. package/types/src/UiTabs.vue.d.ts +20 -0
  346. package/types/src/UiTextInput.vue.d.ts +24 -0
  347. package/types/src/UiTimeInput.vue.d.ts +6 -0
  348. package/types/src/UiTooltip.vue.d.ts +25 -0
  349. package/types/src/UiUploadProgress.vue.d.ts +4 -0
  350. package/types/src/UiUploadRegion.vue.d.ts +6 -0
  351. package/types/src/checkableDescription.d.ts +7 -0
  352. package/types/src/controlSize.d.ts +2 -0
  353. package/types/src/fieldPresentation.d.ts +50 -0
  354. package/types/src/focus.d.ts +3 -0
  355. package/types/src/formPresentation.d.ts +3 -0
  356. package/types/src/icons/external-link.vue.d.ts +3 -0
  357. package/types/src/icons/globe.vue.d.ts +3 -0
  358. package/types/src/icons/index.d.ts +181 -0
  359. package/types/src/icons/more-vertical.vue.d.ts +3 -0
  360. package/types/src/index.d.ts +2 -0
  361. package/types/src/integration.d.ts +1426 -0
  362. package/types/src/layout.d.ts +2 -0
  363. package/types/src/menuPresentation.d.ts +30 -0
  364. package/types/src/navigationDropdownHeight.d.ts +3 -0
  365. package/types/src/selectEscape.d.ts +1 -0
  366. package/types/src/zOrder.d.ts +3 -0
  367. package/types/testing/browser-control-parts.d.ts +2 -0
  368. package/types/testing/dom.d.mts +3 -0
  369. package/types/testing/index.d.ts +3 -0
  370. package/types/testing/presentation-mapping.d.ts +33 -0
  371. package/types/testing/presentation-parts.d.mts +20 -0
package/style.css ADDED
@@ -0,0 +1,3549 @@
1
+ @import 'element-plus/dist/index.css';
2
+ @import './document.css';
3
+ @import 'element-plus/theme-chalk/dark/css-vars.css';
4
+
5
+ @import './native-content.css';
6
+
7
+ .element-content {
8
+ /* Bare text needs the same emergency wrapping as ordinary prose. */
9
+ overflow-wrap: break-word;
10
+ box-sizing: border-box;
11
+ display: flow-root;
12
+ width: 100%;
13
+ min-width: 0;
14
+ padding: var(--el-main-padding, 20px);
15
+ min-height: 0;
16
+ }
17
+ .element-content[data-inset='none'] {
18
+ padding: 0;
19
+ }
20
+
21
+ .element-navbar {
22
+ box-sizing: border-box;
23
+ /* Plain links need the native menu row's space without depending on a menu
24
+ child. This is a minimum: wrapped or taller content can still grow. */
25
+ min-block-size: var(--el-menu-horizontal-height);
26
+ display: flex;
27
+ flex-wrap: wrap;
28
+ align-items: center;
29
+ width: 100%;
30
+ gap: 8px;
31
+ padding: 0 var(--el-menu-base-level-padding);
32
+ color: var(--el-text-color-primary);
33
+ background: var(--el-bg-color);
34
+ border-bottom: 1px solid var(--el-menu-border-color);
35
+ }
36
+ .element-navbar-brand,
37
+ .element-navbar-links,
38
+ .element-navbar-actions {
39
+ display: flex;
40
+ flex-wrap: wrap;
41
+ align-items: center;
42
+ gap: 8px;
43
+ min-width: 0;
44
+ max-width: 100%;
45
+ overflow-wrap: anywhere;
46
+ }
47
+ .element-navbar-brand {
48
+ font-weight: 700;
49
+ }
50
+ .element-navbar-links {
51
+ flex: 1 1 auto;
52
+ align-self: stretch;
53
+ }
54
+ .element-navbar-links > .element-navigation-menu.el-menu--horizontal {
55
+ align-self: stretch;
56
+ height: auto;
57
+ min-height: var(--el-menu-horizontal-height);
58
+ /* UiNavbar owns the frame edge; the menu retains its native active line. */
59
+ border-bottom: 0;
60
+ }
61
+ .element-navbar-actions {
62
+ margin-inline-start: auto;
63
+ }
64
+ .element-navbar :focus-visible {
65
+ outline: 2px solid var(--el-color-primary);
66
+ outline-offset: 3px;
67
+ }
68
+ @media (forced-colors: active) {
69
+ .element-navbar :focus-visible {
70
+ outline-color: Highlight;
71
+ }
72
+ }
73
+
74
+ .element-app {
75
+ color: var(--el-text-color-primary);
76
+ background: var(--el-bg-color);
77
+
78
+ box-sizing: border-box;
79
+ display: flow-root;
80
+ width: 100%;
81
+ min-width: 0;
82
+ }
83
+
84
+ .element-layout {
85
+ box-sizing: border-box;
86
+ min-width: 0;
87
+ min-height: 0;
88
+ align-content: start;
89
+ justify-content: start;
90
+ }
91
+ .element-layout-item {
92
+ min-width: 0;
93
+ min-height: 0;
94
+ }
95
+ .element-layout:focus-visible {
96
+ outline: 3px solid var(--el-color-primary);
97
+ outline-offset: -3px;
98
+ }
99
+ @media (forced-colors: active) {
100
+ .element-layout:focus-visible {
101
+ outline: 2px solid Highlight;
102
+ }
103
+ }
104
+
105
+ .element-app-viewport {
106
+ height: 100vh;
107
+ height: 100dvh;
108
+ }
109
+
110
+ /* Keep the persistent announcement local even inside an unpositioned scrollport. */
111
+ .element-button-host {
112
+ position: relative;
113
+ display: inline-flex;
114
+ min-inline-size: 0;
115
+ max-inline-size: 100%;
116
+ vertical-align: baseline;
117
+ }
118
+ .element-button-host > button {
119
+ flex: 1 1 auto;
120
+ min-inline-size: 0;
121
+ }
122
+ /* Retain the native button's middle alignment through its announcement host
123
+ when the action occupies a table cell directly. */
124
+ .element-table-cell-content > .element-button-host {
125
+ vertical-align: middle;
126
+ }
127
+ .element-button-status,
128
+ .element-button-label-hidden {
129
+ inset-block-start: 0;
130
+ inset-inline-start: 0;
131
+ }
132
+ .element-region-host {
133
+ box-sizing: border-box;
134
+ display: grid;
135
+ width: 100%;
136
+ min-width: 0;
137
+ min-height: 0;
138
+ overflow: auto;
139
+ gap: 0;
140
+ }
141
+ .element-region-scroll {
142
+ min-width: 0;
143
+ min-height: 0;
144
+ overflow: auto;
145
+ display: grid;
146
+ grid-template-columns: minmax(0, 1fr);
147
+ grid-auto-rows: max-content;
148
+ align-content: start;
149
+ gap: 0;
150
+ }
151
+ .element-region-retained,
152
+ .element-region-item {
153
+ min-width: 0;
154
+ }
155
+ .element-region-host:focus-visible,
156
+ .element-region-scroll:focus-visible {
157
+ outline: 3px solid var(--el-color-primary);
158
+ outline-offset: -3px;
159
+ }
160
+ @media (forced-colors: active) {
161
+ .element-region-host:focus-visible,
162
+ .element-region-scroll:focus-visible {
163
+ outline: 2px solid Highlight;
164
+ }
165
+ }
166
+
167
+ /* Floating navigation uses Element's horizontal-popup density regardless of
168
+ the root orientation. Persistent sidebar/tree rows retain native sizing. */
169
+ /* ElSubMenu positions oversized content but does not create a scrollport.
170
+ Bound the actual floating surface; child flyouts remain separately teleported. */
171
+ .element-navigation-popup.el-popper {
172
+ box-sizing: border-box;
173
+ max-block-size: calc(100dvh - 16px);
174
+ overflow: auto;
175
+ overscroll-behavior: contain;
176
+ }
177
+ .element-navigation-popup .el-menu .el-menu-item,
178
+ .element-navigation-popup .el-menu .el-sub-menu__title {
179
+ height: var(--el-menu-horizontal-sub-item-height);
180
+ line-height: var(--el-menu-horizontal-sub-item-height);
181
+ padding: 0 10px;
182
+ }
183
+ .element-navigation-popup .el-menu .el-sub-menu__title {
184
+ padding-right: 40px;
185
+ }
186
+
187
+ /* Recursive command menus keep ElMenu's interaction model while consuming
188
+ ElDropdown's published compact geometry and focus treatment at every level. */
189
+ .element-command-popup.el-popper {
190
+ --el-dropdown-menu-box-shadow: var(--el-box-shadow-light);
191
+ --el-dropdown-menuItem-hover-fill: var(--el-color-primary-light-9);
192
+ --el-dropdown-menuItem-hover-color: var(--el-color-primary);
193
+ box-sizing: border-box;
194
+ max-width: calc(100vw - 16px);
195
+ max-height: calc(100dvh - 16px);
196
+ overflow: auto;
197
+ background: var(--el-bg-color-overlay);
198
+ border: 1px solid var(--el-border-color-light);
199
+ border-radius: var(--el-border-radius-base);
200
+ box-shadow: var(--el-dropdown-menu-box-shadow);
201
+ }
202
+ .element-command-popup .element-command-menu.el-menu {
203
+ --el-menu-bg-color: var(--el-bg-color-overlay);
204
+ --el-menu-hover-bg-color: var(--el-dropdown-menuItem-hover-fill);
205
+ --el-menu-hover-text-color: var(--el-dropdown-menuItem-hover-color);
206
+ min-width: 0;
207
+ max-width: 100%;
208
+ border: 0;
209
+ border-radius: inherit;
210
+ padding: 5px 0;
211
+ background: var(--el-bg-color-overlay);
212
+ box-shadow: none;
213
+ }
214
+ .element-command-popup
215
+ .element-command-menu.el-menu
216
+ :is(.el-menu-item, .el-sub-menu__title) {
217
+ min-height: 32px;
218
+ height: auto;
219
+ padding-block: 5px;
220
+ padding-inline: 16px;
221
+ font-size: var(--el-font-size-base);
222
+ line-height: 22px;
223
+ white-space: normal;
224
+ color: var(--el-text-color-regular);
225
+ }
226
+ .element-command-popup .element-command-menu.el-menu .el-sub-menu__title {
227
+ padding-inline-end: 40px;
228
+ }
229
+ /* Keyboard focus belongs to the submenu LI, not its title DIV. Match native
230
+ dropdown items' highlight without an extra browser outline on that LI. */
231
+ .element-command-popup .element-command-menu.el-menu .el-sub-menu:focus {
232
+ outline: none;
233
+ }
234
+ @media (forced-colors: active) {
235
+ .element-command-popup
236
+ .element-command-menu.el-menu
237
+ .el-menu-item:focus-visible,
238
+ .element-command-popup
239
+ .element-command-menu.el-menu
240
+ .el-sub-menu:focus-visible
241
+ > .el-sub-menu__title {
242
+ outline: 2px solid Highlight;
243
+ outline-offset: -2px;
244
+ }
245
+ }
246
+ .element-command-popup
247
+ .element-command-menu.el-menu
248
+ .el-menu-item:not(.is-disabled):is(:hover, :focus),
249
+ .element-command-popup
250
+ .element-command-menu.el-menu
251
+ .el-sub-menu:not(.is-disabled):is(:hover, :focus)
252
+ > .el-sub-menu__title {
253
+ background-color: var(--el-dropdown-menuItem-hover-fill);
254
+ color: var(--el-dropdown-menuItem-hover-color);
255
+ }
256
+ .element-command-popup .element-command-menu.el-menu .el-menu-item.is-disabled,
257
+ .element-command-popup
258
+ .element-command-menu.el-menu
259
+ .el-sub-menu.is-disabled
260
+ > .el-sub-menu__title {
261
+ opacity: 1;
262
+ color: var(--el-text-color-disabled);
263
+ }
264
+ .element-command-popup .element-command-menu.el-menu .el-sub-menu__icon-arrow {
265
+ right: auto;
266
+ inset-inline-end: 16px;
267
+ margin-top: -6px;
268
+ font-size: 12px;
269
+ }
270
+ .element-command-popup
271
+ .element-command-menu.el-menu
272
+ .el-menu-item-group__title {
273
+ display: flex;
274
+ align-items: center;
275
+ padding: 5px 16px;
276
+ font-size: var(--el-font-size-extra-small);
277
+ line-height: 18px;
278
+ }
279
+ .element-command-popup .element-command-menu.el-menu .el-menu-item-group > ul {
280
+ padding: 0;
281
+ }
282
+ .element-command-popup .element-command-menu.el-menu .el-divider {
283
+ margin: 6px 0;
284
+ border-color: var(--el-border-color-lighter);
285
+ }
286
+ .element-command-popup
287
+ .element-command-menu.el-menu
288
+ .el-select-dropdown__empty {
289
+ min-height: 32px;
290
+ margin: 0;
291
+ padding: 5px 16px;
292
+ font-size: var(--el-font-size-small);
293
+ line-height: 22px;
294
+ }
295
+ .element-command-popup
296
+ .element-command-menu.el-menu
297
+ :is(.element-entry-content, .element-entry-link) {
298
+ flex: 1 1 auto;
299
+ inline-size: auto;
300
+ }
301
+ .element-command-popup .element-command-menu.el-menu .element-entry-copy {
302
+ flex: 1 1 auto;
303
+ text-align: start;
304
+ white-space: normal;
305
+ overflow-wrap: anywhere;
306
+ }
307
+ .element-command-popup .element-command-menu.el-menu .element-entry-copy small {
308
+ color: var(--el-text-color-secondary);
309
+ white-space: normal;
310
+ overflow-wrap: anywhere;
311
+ }
312
+ .element-command-popup .element-command-menu.el-menu kbd {
313
+ margin-inline-start: 24px;
314
+ color: var(--el-text-color-secondary);
315
+ font-size: var(--el-font-size-extra-small);
316
+ font-weight: normal;
317
+ line-height: inherit;
318
+ white-space: nowrap;
319
+ }
320
+
321
+ .element-command-popup .element-command-menu.el-menu .element-entry-icon {
322
+ flex-basis: 1em;
323
+ width: 1em;
324
+ font-size: inherit;
325
+ }
326
+ .element-command-popup
327
+ .element-command-menu.el-menu
328
+ .el-menu-item-group__title
329
+ .element-entry-check,
330
+ .element-command-popup
331
+ .element-command-menu.el-menu
332
+ .el-menu-item-group__title
333
+ .element-entry-icon {
334
+ font-size: var(--el-font-size-base);
335
+ }
336
+
337
+ /* ElMenu owns item geometry and decoration. These parts add only rich
338
+ descriptions, supplied icons and checked-selection marks absent from ElMenu. */
339
+ .element-entry-copy {
340
+ min-width: 0;
341
+ }
342
+ .element-entry-copy small {
343
+ display: block;
344
+ line-height: normal;
345
+ }
346
+ .element-entry-check {
347
+ display: inline-flex;
348
+ width: 1em;
349
+ flex: 0 0 1em;
350
+ margin-inline-end: 0.5em;
351
+ }
352
+ .element-entry-icon {
353
+ display: inline-flex;
354
+ align-items: center;
355
+ justify-content: center;
356
+ flex: 0 0 var(--el-menu-icon-width);
357
+ width: var(--el-menu-icon-width);
358
+ height: 1em;
359
+ font-size: 18px;
360
+ line-height: 1;
361
+ }
362
+ /* The menu column owns spacing. UiIcon (or supplied SVG artwork) owns one
363
+ square glyph, without a second native menu-icon margin inside the column. */
364
+ .element-entry-icon > .el-icon,
365
+ .element-navigation-menu.el-menu--collapse
366
+ .element-entry-rail
367
+ .element-entry-icon
368
+ > .el-icon,
369
+ .element-entry-icon > svg {
370
+ width: 1em;
371
+ height: 1em;
372
+ margin: 0;
373
+ font-size: inherit;
374
+ }
375
+
376
+ .element-visually-hidden {
377
+ position: absolute;
378
+ width: 1px;
379
+ height: 1px;
380
+ padding: 0;
381
+ margin: -1px;
382
+ overflow: hidden;
383
+ clip-path: inset(50%);
384
+ white-space: nowrap;
385
+ border: 0;
386
+ }
387
+ .element-form {
388
+ display: flex;
389
+ flex-direction: column;
390
+ gap: var(--el-form-item-margin-bottom, 18px);
391
+ min-width: 0;
392
+ }
393
+ .element-form.el-form--large {
394
+ gap: var(--el-form-item-margin-bottom, 22px);
395
+ }
396
+ /* Form peers share the native field rhythm, including actions and notices.
397
+ Only replace margins on direct fields; nested compositions own their spacing. */
398
+ .element-form > .element-field {
399
+ margin-bottom: 0;
400
+ }
401
+ /* A field occupying its own layout allocation uses that layout's peer gap.
402
+ Do not reach into nested compositions or change independently authored fields. */
403
+ .element-layout > .element-layout-item > .element-field:only-child {
404
+ margin-bottom: 0;
405
+ }
406
+ /* A direct cell field uses the table's native insets, not form-row spacing. */
407
+ .element-table-cell-content > .element-field {
408
+ margin-bottom: 0;
409
+ }
410
+ .element-field-content {
411
+ width: 100%;
412
+ min-width: 0;
413
+ }
414
+ /* Displayed feedback owns its space, including wrapped text and native enter/leave
415
+ lifetimes. Absent messages add nothing to the compact field allocation. */
416
+ .element-field-error {
417
+ position: relative;
418
+ top: auto;
419
+ left: auto;
420
+ flex-basis: 100%;
421
+ margin-left: 0;
422
+ }
423
+ .element-field-error.element-visually-hidden {
424
+ position: absolute;
425
+ }
426
+ .element-help {
427
+ display: block;
428
+ color: var(--el-text-color-secondary);
429
+ line-height: 1.5;
430
+ }
431
+ /* Scoped placement uses label slots when native Form-owned placement cannot apply. */
432
+ .element-required {
433
+ color: var(--el-color-danger);
434
+ margin-inline-start: 4px;
435
+ }
436
+ @media (prefers-reduced-motion: reduce) {
437
+ .element-button.el-button.is-loading .is-loading {
438
+ animation: none;
439
+ }
440
+ }
441
+
442
+ /* Rich labels and optional native links occupy the menu item's content area;
443
+ link styling must inherit the actual ElMenuItem active/disabled treatment. */
444
+ .element-entry-content,
445
+ .element-entry-link {
446
+ display: inline-flex;
447
+ align-items: center;
448
+ gap: 5px;
449
+ min-width: 0;
450
+ }
451
+ .element-entry-rail {
452
+ gap: 0;
453
+ }
454
+ .element-entry-link,
455
+ .element-entry-link:hover {
456
+ color: inherit;
457
+ text-decoration: none;
458
+ }
459
+
460
+ /* Beside labels retain native FormItem association and adapt on narrow screens. */
461
+ .element-field.element-labels-beside > .el-form-item__label {
462
+ height: auto;
463
+ white-space: normal;
464
+ flex-shrink: 0;
465
+ }
466
+ @media (max-width: 39.999rem) {
467
+ .element-field.element-labels-beside {
468
+ display: block;
469
+ }
470
+ .element-field.element-labels-beside > .el-form-item__label {
471
+ width: auto !important;
472
+ display: block;
473
+ margin-bottom: 8px;
474
+ }
475
+ .element-field.element-labels-beside > .el-form-item__content {
476
+ margin-left: 0 !important;
477
+ }
478
+ }
479
+ @media (min-width: 40rem) {
480
+ }
481
+
482
+ .element-required-prefix {
483
+ margin-inline-start: 0;
484
+ margin-inline-end: 4px;
485
+ }
486
+
487
+ /* Accessible error text remains available independently of tooltip portals. */
488
+ .element-tooltip-description {
489
+ position: absolute;
490
+ width: 1px;
491
+ height: 1px;
492
+ padding: 0;
493
+ margin: -1px;
494
+ overflow: hidden;
495
+ clip-path: inset(50%);
496
+ white-space: nowrap;
497
+ border: 0;
498
+ }
499
+
500
+ .element-labels-hidden > .el-form-item__label {
501
+ position: absolute;
502
+ width: 1px !important;
503
+ height: 1px;
504
+ padding: 0;
505
+ margin: -1px;
506
+ overflow: hidden;
507
+ clip-path: inset(50%);
508
+ white-space: nowrap;
509
+ border: 0;
510
+ }
511
+ .element-labels-hidden > .el-form-item__content {
512
+ margin-inline-start: 0 !important;
513
+ }
514
+
515
+ /* Outline requests a subdued interior; soft retains native plain's tinted fill. */
516
+ .element-button.element-button-outline:not(:hover):not(:active) {
517
+ background: transparent;
518
+ }
519
+ /* The retained, hidden label must not add native icon-to-label spacing. */
520
+ .element-button.element-button-icon-only > span {
521
+ margin-inline-start: 0;
522
+ }
523
+ /* Keep custom artwork centered inside the native icon slot. */
524
+ .element-button-icon {
525
+ display: inline-flex;
526
+ align-items: center;
527
+ justify-content: center;
528
+ }
529
+ .element-button:has(.element-button-icon [data-ui-icon-sized]) {
530
+ min-block-size: min-content;
531
+ }
532
+ .element-button-icon-only:has(.element-button-icon [data-ui-icon-sized]) {
533
+ min-inline-size: min-content;
534
+ }
535
+ .element-button-icon-only > span:has(> .element-button-icon) {
536
+ display: inline-flex;
537
+ }
538
+ .element-button-icon-only .element-button-icon:not(:has([data-ui-icon-sized])) {
539
+ width: 1em;
540
+ height: 1em;
541
+ }
542
+ .element-button > .el-icon:has(> .element-button-icon [data-ui-icon-sized]) {
543
+ width: auto;
544
+ height: auto;
545
+ }
546
+ .element-button-icon-only.is-loading > span > .element-button-icon {
547
+ visibility: hidden;
548
+ }
549
+ .element-button-icon-only.is-loading
550
+ > span
551
+ > .element-button-icon:not(:has([data-ui-icon-sized])) {
552
+ display: none;
553
+ }
554
+ .element-button-icon-only.is-loading:has(
555
+ .element-button-icon [data-ui-icon-sized]
556
+ )
557
+ > .el-icon.is-loading {
558
+ position: absolute;
559
+ }
560
+
561
+ /* Portable card treatments adapt native theme values; no descendant control styling. */
562
+ .element-card[data-card-top-end] {
563
+ position: relative;
564
+ }
565
+ .element-card-top-end {
566
+ position: absolute;
567
+ inset-block-start: calc(var(--element-card-padding) / 2);
568
+ inset-inline-end: calc(var(--element-card-padding) / 2);
569
+ max-inline-size: calc(100% - var(--element-card-padding));
570
+ }
571
+ .element-card {
572
+ font-size: var(--el-font-size-base);
573
+ --element-card-separator-style: solid;
574
+ --element-card-padding: 20px;
575
+ --element-card-title-size: var(--el-font-size-large);
576
+ --element-card-base: var(--el-fill-color-blank);
577
+ --element-card-tint: color-mix(
578
+ in srgb,
579
+ var(--element-card-accent) 10%,
580
+ var(--element-card-base)
581
+ );
582
+ box-sizing: border-box;
583
+ min-width: 0;
584
+ width: 100%;
585
+ overflow: visible;
586
+ border: 1px solid var(--element-card-accent);
587
+ background: var(--element-card-base);
588
+ color: var(--el-text-color-primary);
589
+ }
590
+ .element-card[data-card-density='roomy'] {
591
+ --element-card-padding: 24px;
592
+ }
593
+ .element-card[data-card-density='compact'] {
594
+ --element-card-padding: 12px;
595
+ }
596
+ .element-card[data-card-title-size='large'] {
597
+ --element-card-title-size: var(--el-font-size-extra-large);
598
+ }
599
+ .element-card[data-card-title-size='small'] {
600
+ --element-card-title-size: var(--el-font-size-base);
601
+ }
602
+ .element-card[data-card-surface='tinted'] {
603
+ background: var(--element-card-tint);
604
+ }
605
+ .element-card[data-card-border='dashed'] {
606
+ --element-card-separator-style: dashed;
607
+ border-style: dashed;
608
+ }
609
+ .element-card[data-card-border='dotted'] {
610
+ --element-card-separator-style: dotted;
611
+ border-style: dotted;
612
+ }
613
+ .element-card[data-card-border='double'] {
614
+ border-style: double;
615
+ border-width: 3px;
616
+ }
617
+ .element-card > .el-card__header,
618
+ .element-card > .el-card__body,
619
+ .element-card > .el-card__footer {
620
+ min-width: 0;
621
+ padding: var(--element-card-padding);
622
+ overflow: visible;
623
+ }
624
+ /* An explicitly arranged body owns its insets; nested content stays intact. */
625
+ .element-card[data-card-body='layout'] > .el-card__body {
626
+ padding: 0;
627
+ }
628
+ .element-card > .el-card__header {
629
+ border: 0;
630
+ border-start-start-radius: inherit;
631
+ border-start-end-radius: inherit;
632
+ background: transparent;
633
+ color: inherit;
634
+ }
635
+ .element-card[data-card-header='band'] > .el-card__header {
636
+ background: var(--element-card-tint);
637
+ border-block-end: 1px var(--element-card-separator-style)
638
+ var(--element-card-accent);
639
+ }
640
+ .element-card[data-card-header='plain'] > .el-card__header {
641
+ padding-block-end: 0;
642
+ }
643
+ .element-card-title {
644
+ font-size: var(--element-card-title-size);
645
+ font-weight: 600;
646
+ line-height: 1.4;
647
+ overflow-wrap: anywhere;
648
+ }
649
+ /* Only headings explicitly supplied to the title slot adopt its presentation. */
650
+ .element-card-title > :where(h1, h2, h3, h4, h5, h6) {
651
+ font: inherit;
652
+ margin: 0;
653
+ }
654
+ .element-card-description {
655
+ font-size: 0.875rem;
656
+ margin-block-start: 0.25rem;
657
+ }
658
+ .element-card[data-card-elevation='raised'] {
659
+ box-shadow: var(--el-box-shadow-light);
660
+ }
661
+ .element-card[data-card-elevation='flat'] {
662
+ box-shadow: none;
663
+ }
664
+
665
+ /* Adapt only the existing footer separator pattern; native color/width stay intact. */
666
+ .element-card > .el-card__footer {
667
+ border-block-start-style: var(--element-card-separator-style);
668
+ }
669
+
670
+ /* Explicit footer treatment: quieter text without fading the surface or controls. */
671
+ .element-card[data-card-footer='muted'] > .el-card__footer {
672
+ color: var(--el-text-color-secondary);
673
+ font-size: var(--el-font-size-small);
674
+ }
675
+
676
+ /* Backend focus presentation for fallback form focus and opt-in elements. */
677
+ .element-form,
678
+ .element-focus-presentation {
679
+ border-radius: var(--el-border-radius-base);
680
+ }
681
+ .element-form:focus-visible,
682
+ .element-focus-presentation:focus-visible {
683
+ outline: 2px solid var(--el-color-primary);
684
+ outline-offset: var(--element-contained-focus-offset, 2px);
685
+ }
686
+ @media (forced-colors: active) {
687
+ .element-form:focus-visible,
688
+ .element-focus-presentation:focus-visible {
689
+ outline: 2px solid Highlight;
690
+ }
691
+ }
692
+
693
+ /* Allocation framing stays outside each region's scrolling content. */
694
+ .element-layout {
695
+ --element-layout-separator-size: 1px;
696
+ --element-layout-handle-size: 0.5rem;
697
+ }
698
+ .element-layout-item[data-raised] {
699
+ background: var(--el-bg-color);
700
+ }
701
+ /* Boundary emphasis never changes the elevation recipe. */
702
+ .element-layout [data-boundary-role] {
703
+ --element-layout-boundary-color: var(--el-border-color);
704
+ }
705
+ .element-layout [data-boundary-role='start'] {
706
+ --element-layout-boundary-color: var(--el-border-color-darker);
707
+ }
708
+ .element-layout-separator {
709
+ background: var(--element-layout-boundary-color);
710
+ align-self: stretch;
711
+ justify-self: stretch;
712
+ }
713
+ .element-layout-resizer {
714
+ background: var(--el-bg-color);
715
+ position: relative;
716
+ align-self: stretch;
717
+ justify-self: stretch;
718
+ touch-action: none;
719
+ user-select: none;
720
+ }
721
+ .element-layout-resizer::before {
722
+ content: '';
723
+ position: absolute;
724
+ background: var(--element-layout-boundary-color);
725
+ }
726
+ .element-layout-resizer[aria-orientation='vertical'] {
727
+ cursor: col-resize;
728
+ }
729
+ .element-layout-resizer[aria-orientation='horizontal'] {
730
+ cursor: row-resize;
731
+ }
732
+ .element-layout-resizer[aria-orientation='vertical']::before {
733
+ inset-block: 0;
734
+ inset-inline-start: 50%;
735
+ width: var(--element-layout-separator-size);
736
+ }
737
+ .element-layout-resizer[aria-orientation='horizontal']::before {
738
+ inset-inline: 0;
739
+ inset-block-start: 50%;
740
+ height: var(--element-layout-separator-size);
741
+ }
742
+ @media (forced-colors: active) {
743
+ .element-layout-separator,
744
+ .element-layout-resizer::before {
745
+ background: CanvasText;
746
+ }
747
+ }
748
+
749
+ /* Only this absolute decoration is size-contained. Content and focus are not clipped.
750
+ Rotate the native shadow plane, swapping its dimensions, so its bottom-facing
751
+ recipe points toward the lower neighbour on every side. */
752
+ .element-layout-edge {
753
+ position: absolute;
754
+ inset: 0;
755
+ pointer-events: none;
756
+ container-type: size;
757
+ }
758
+ .element-layout-edge::after {
759
+ content: '';
760
+ position: absolute;
761
+ inset: 0;
762
+ box-sizing: border-box;
763
+ border: var(--element-layout-separator-size) solid
764
+ var(--element-layout-boundary-color);
765
+ }
766
+ .element-layout-edge[data-resizable]::after {
767
+ display: none;
768
+ }
769
+ .element-layout-edge-shadow {
770
+ position: absolute;
771
+ left: 50%;
772
+ top: 50%;
773
+ width: 100cqw;
774
+ height: 100cqh;
775
+ transform: translate(-50%, -50%);
776
+ box-shadow: var(--el-box-shadow-light);
777
+ }
778
+ .element-layout-edge[data-direction='vertical'][data-edge='before'] {
779
+ clip-path: inset(
780
+ -100vmax 0 calc(100% - var(--element-layout-separator-size)) 0
781
+ );
782
+ }
783
+ .element-layout-edge[data-direction='vertical'][data-edge='before']
784
+ > .element-layout-edge-shadow {
785
+ transform: translate(-50%, -50%) scaleY(-1);
786
+ }
787
+ .element-layout-edge[data-direction='vertical'][data-edge='after'] {
788
+ clip-path: inset(
789
+ calc(100% - var(--element-layout-separator-size)) 0 -100vmax 0
790
+ );
791
+ }
792
+ .element-layout-edge[data-direction='horizontal']
793
+ > .element-layout-edge-shadow {
794
+ width: 100cqh;
795
+ height: 100cqw;
796
+ }
797
+ .element-layout-edge[data-direction='horizontal'][data-edge='before']:dir(ltr),
798
+ .element-layout-edge[data-direction='horizontal'][data-edge='after']:dir(rtl) {
799
+ clip-path: inset(
800
+ 0 calc(100% - var(--element-layout-separator-size)) 0 -100vmax
801
+ );
802
+ }
803
+ .element-layout-edge[data-direction='horizontal'][data-edge='before']:dir(ltr)
804
+ > .element-layout-edge-shadow,
805
+ .element-layout-edge[data-direction='horizontal'][data-edge='after']:dir(rtl)
806
+ > .element-layout-edge-shadow {
807
+ transform: translate(-50%, -50%) rotate(90deg);
808
+ }
809
+ .element-layout-edge[data-direction='horizontal'][data-edge='after']:dir(ltr),
810
+ .element-layout-edge[data-direction='horizontal'][data-edge='before']:dir(rtl) {
811
+ clip-path: inset(
812
+ 0 -100vmax 0 calc(100% - var(--element-layout-separator-size))
813
+ );
814
+ }
815
+ .element-layout-edge[data-direction='horizontal'][data-edge='after']:dir(ltr)
816
+ > .element-layout-edge-shadow,
817
+ .element-layout-edge[data-direction='horizontal'][data-edge='before']:dir(rtl)
818
+ > .element-layout-edge-shadow {
819
+ transform: translate(-50%, -50%) rotate(-90deg);
820
+ }
821
+ @media (forced-colors: active) {
822
+ .element-layout-edge::after {
823
+ border-color: CanvasText;
824
+ }
825
+ .element-layout-edge-shadow {
826
+ box-shadow: none !important;
827
+ }
828
+ }
829
+
830
+ /* The native top layer owns modality; this adapter owns the dialog surface. */
831
+ .element-modal {
832
+ box-sizing: border-box;
833
+ padding: 0;
834
+ border: 0;
835
+ background: transparent;
836
+ color: inherit;
837
+ max-block-size: calc(100dvh - 2rem);
838
+ overflow: visible;
839
+ margin: var(--el-dialog-margin-top, 15vh) auto 50px;
840
+ }
841
+ .element-modal::backdrop {
842
+ background: var(--el-overlay-color-lighter);
843
+ }
844
+ .element-modal-heading {
845
+ display: flex;
846
+ align-items: center;
847
+ justify-content: space-between;
848
+ gap: 1rem;
849
+ }
850
+ .element-modal-heading h2 {
851
+ font-weight: inherit;
852
+ margin: 0;
853
+ }
854
+ .element-modal-surface {
855
+ display: flex;
856
+ flex-direction: column;
857
+ width: 100%;
858
+ margin: 0;
859
+ max-block-size: min(
860
+ calc(100dvh - 2rem),
861
+ calc(100dvh - var(--el-dialog-margin-top, 15vh) - 50px)
862
+ );
863
+ }
864
+ .element-modal .el-dialog__header,
865
+ .element-modal .el-dialog__footer {
866
+ flex-shrink: 0;
867
+ }
868
+ .element-modal-surface > .el-dialog__header,
869
+ .element-modal-surface > .el-dialog__footer {
870
+ position: relative;
871
+ background-color: inherit;
872
+ }
873
+ .element-modal-surface > .el-dialog__header {
874
+ border-start-start-radius: inherit;
875
+ border-start-end-radius: inherit;
876
+ }
877
+ .element-modal-surface > .el-dialog__footer {
878
+ border-end-start-radius: inherit;
879
+ border-end-end-radius: inherit;
880
+ }
881
+
882
+ .element-modal-body {
883
+ min-block-size: 0;
884
+ overflow: auto;
885
+ }
886
+
887
+ /* Read-only record definitions retain semantic terms and rich values. */
888
+ .element-key-value-list {
889
+ margin: 0;
890
+ min-width: 0;
891
+ }
892
+ .element-key-value-item {
893
+ display: grid;
894
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
895
+ gap: 0.5em var(--el-component-size, 32px);
896
+ padding-block: 0.5em;
897
+ }
898
+ .element-key-value-item > dt {
899
+ font-weight: 600;
900
+ overflow-wrap: anywhere;
901
+ }
902
+ .element-key-value-item > dd {
903
+ margin: 0;
904
+ min-width: 0;
905
+ overflow-wrap: anywhere;
906
+ }
907
+ @media (max-width: 40rem) {
908
+ .element-key-value-item {
909
+ grid-template-columns: minmax(0, 1fr);
910
+ gap: 0.25em;
911
+ }
912
+ }
913
+
914
+ .element-notice .el-alert__content {
915
+ flex: 1;
916
+ min-inline-size: 0;
917
+ overflow-wrap: anywhere;
918
+ }
919
+ .element-notice .element-notice-icon {
920
+ align-self: center;
921
+ }
922
+ .element-notice-message {
923
+ display: flex;
924
+ flex-direction: column;
925
+ gap: 4px;
926
+ }
927
+ .element-notice-dismissible .el-alert__content {
928
+ padding-inline-end: 24px;
929
+ }
930
+ .element-notice-actions {
931
+ display: flex;
932
+ flex-wrap: wrap;
933
+ gap: 8px;
934
+ margin-block-start: 0.75em;
935
+ }
936
+ /* The row's gap replaces ElButton's adjacent-button margin, including RTL. */
937
+ .element-notice-actions > .el-button + .el-button {
938
+ margin-left: 0;
939
+ }
940
+ /* Keep the native alert icon, with a real keyboard-operable button target. */
941
+ .element-notice .element-notice-close {
942
+ display: inline-flex;
943
+ align-items: center;
944
+ justify-content: center;
945
+ background: none;
946
+ border: 0;
947
+ padding: 0;
948
+ inline-size: 24px;
949
+ block-size: 24px;
950
+ top: 8px;
951
+ right: auto;
952
+ inset-inline-end: 8px;
953
+ }
954
+
955
+ .element-tab-panel {
956
+ min-width: 0;
957
+ min-height: 0;
958
+ overflow-wrap: anywhere;
959
+ }
960
+ .element-tab-panel[hidden] {
961
+ display: none;
962
+ }
963
+
964
+ /* ElTabs is used only for its native bar; externally bound panels own content. */
965
+ .element-tabs > .el-tabs__content {
966
+ display: none;
967
+ }
968
+ .element-tabs > .el-tabs__header {
969
+ margin: 0;
970
+ }
971
+ .element-tabs.el-tabs--left > .el-tabs__header {
972
+ float: none;
973
+ }
974
+
975
+ .element-badge {
976
+ max-inline-size: 100%;
977
+ height: auto;
978
+ min-block-size: 1.5em;
979
+ white-space: normal;
980
+ overflow-wrap: anywhere;
981
+ }
982
+
983
+ /* Modal action sequence starts at inline-end; text direction is inherited. */
984
+ .element-footer-actions {
985
+ display: flex;
986
+ flex-direction: row-reverse;
987
+ flex-wrap: wrap;
988
+ justify-content: flex-start;
989
+ align-items: center;
990
+ gap: 12px;
991
+ inline-size: 100%;
992
+ }
993
+
994
+ /* Native ElButton sibling spacing assumes forward flow. The action container
995
+ supplies the same 12px spacing for either placement direction and wrapping. */
996
+ .element-footer-actions > .el-button + .el-button {
997
+ margin-left: 0;
998
+ }
999
+
1000
+ /* Consume the selected set; an application override takes precedence. */
1001
+ :root,
1002
+ body,
1003
+ [lang] {
1004
+ --el-font-family: var(
1005
+ --uninterface-font-family,
1006
+ var(--uninterface-font-set-family, system-ui, sans-serif)
1007
+ );
1008
+ }
1009
+
1010
+ :root,
1011
+ body,
1012
+ [lang]:where(:not(code, pre, kbd, samp)) {
1013
+ font-family: var(--el-font-family);
1014
+ }
1015
+
1016
+ /* Scroll hosts own an inward indicator; descendant clearance is inside their padding. */
1017
+ .element-scroll-focus:focus-visible,
1018
+ .element-content[data-scroll]:focus-visible {
1019
+ outline: 2px solid var(--el-color-primary);
1020
+ outline-offset: calc(-1 * 2px);
1021
+ }
1022
+ .element-tab-panel:focus-visible {
1023
+ outline-offset: calc(-1 * 2px);
1024
+ }
1025
+ @media (forced-colors: active) {
1026
+ .element-scroll-focus:focus-visible,
1027
+ .element-content[data-scroll]:focus-visible {
1028
+ outline: 2px solid Highlight;
1029
+ outline-offset: -2px;
1030
+ }
1031
+ }
1032
+
1033
+ .element-modal-body:focus-visible {
1034
+ outline-offset: calc(-1 * 2px);
1035
+ }
1036
+
1037
+ /* Redistribute the native dialog inset into the scrolling body. Header/body/footer
1038
+ totals stay native-sized; padding outside the body cannot protect its controls. */
1039
+ .element-modal-surface {
1040
+ padding: 0;
1041
+ }
1042
+ .element-modal .el-dialog__header {
1043
+ padding: var(--el-dialog-padding-primary);
1044
+ padding-block-end: 0;
1045
+ }
1046
+ .element-modal .el-dialog__header.show-close {
1047
+ padding-right: calc(
1048
+ 2 * var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px)
1049
+ );
1050
+ }
1051
+ .element-modal-body {
1052
+ padding: var(--el-dialog-padding-primary);
1053
+ }
1054
+ .element-modal .el-dialog__footer {
1055
+ padding: var(--el-dialog-padding-primary);
1056
+ padding-block-start: 0;
1057
+ }
1058
+
1059
+ /* Unpadded scrolling preserves alignment by containing focus paint, not adding
1060
+ a content gutter. A padded surface starts its own native presentation context. */
1061
+ .element-content[data-inset='none'][data-scroll],
1062
+ .element-layout[data-scroll],
1063
+ .element-scroll-focus,
1064
+ .element-region-scroll {
1065
+ --element-contained-focus-offset: calc(-1 * 2px);
1066
+ }
1067
+ .element-content:not([data-inset='none']),
1068
+ .element-card,
1069
+ .element-modal {
1070
+ --element-contained-focus-offset: initial;
1071
+ }
1072
+
1073
+ /* Native select clear-icon slot; retain its dimensions and inherited color. */
1074
+ .element-multiselect-clear {
1075
+ display: inline-flex;
1076
+ padding: 0;
1077
+ border: 0;
1078
+ background: none;
1079
+ color: inherit;
1080
+ font: inherit;
1081
+ cursor: pointer;
1082
+ width: 1em;
1083
+ height: 1em;
1084
+ }
1085
+ .element-multiselect-clear:focus-visible {
1086
+ outline: 2px solid var(--el-color-primary);
1087
+ outline-offset: -2px;
1088
+ }
1089
+
1090
+ /* These field editors own a control row, not an inline text fragment.
1091
+ Block flex avoids surrounding baseline whitespace without resizing native controls. */
1092
+ .element-checkbox,
1093
+ .element-switch-field {
1094
+ display: flex;
1095
+ align-items: center;
1096
+ inline-size: fit-content;
1097
+ max-inline-size: 100%;
1098
+ }
1099
+ .element-switch-field {
1100
+ /* Match the native external switch-label separation. */
1101
+ gap: 10px;
1102
+ }
1103
+
1104
+ /* ElSwitch positions its thumb with physical left offsets. Keep its native
1105
+ sizes and transition, but let inherited direction select the starting edge.
1106
+ These dimensions match the pinned native small/default/large thumb widths. */
1107
+ .element-switch-field > .el-switch {
1108
+ --element-switch-thumb-size: 16px;
1109
+ }
1110
+ .element-switch-field > .el-switch--small {
1111
+ --element-switch-thumb-size: 12px;
1112
+ }
1113
+ .element-switch-field > .el-switch--large {
1114
+ --element-switch-thumb-size: 20px;
1115
+ }
1116
+ .element-switch-field > .el-switch .el-switch__core .el-switch__action {
1117
+ left: auto;
1118
+ right: auto;
1119
+ inset-inline-start: 1px;
1120
+ }
1121
+ .element-switch-field
1122
+ > .el-switch.is-checked
1123
+ .el-switch__core
1124
+ .el-switch__action {
1125
+ inset-inline-start: calc(100% - var(--element-switch-thumb-size) - 1px);
1126
+ }
1127
+
1128
+ [data-password-reveal] svg {
1129
+ inline-size: 1em;
1130
+ block-size: 1em;
1131
+ }
1132
+
1133
+ .element-plus-suggestions-popup {
1134
+ box-sizing: border-box;
1135
+ min-width: 0;
1136
+ max-width: calc(100vw - 1rem);
1137
+ }
1138
+
1139
+ .element-plus-suggestions [role='option'][aria-disabled='true'] {
1140
+ color: var(--el-text-color-disabled);
1141
+ cursor: default;
1142
+ }
1143
+
1144
+ .element-plus-file-input {
1145
+ min-inline-size: 0;
1146
+ }
1147
+ .element-plus-file-preview {
1148
+ display: flex;
1149
+ flex-direction: column;
1150
+ align-items: center;
1151
+ justify-content: center;
1152
+ gap: 0.5rem;
1153
+ inline-size: 100%;
1154
+ min-inline-size: 0;
1155
+ max-inline-size: 100%;
1156
+ margin: 0;
1157
+ text-align: center;
1158
+ }
1159
+ .element-plus-file-icon {
1160
+ display: inline-flex;
1161
+ flex: 0 0 auto;
1162
+ inline-size: 2.5rem;
1163
+ block-size: 2.5rem;
1164
+ max-inline-size: 100%;
1165
+ align-items: center;
1166
+ justify-content: center;
1167
+ }
1168
+ .element-plus-file-icon > * {
1169
+ inline-size: 100%;
1170
+ block-size: 100%;
1171
+ }
1172
+ .element-plus-file-icon > [data-file-thumbnail] {
1173
+ object-fit: contain;
1174
+ overflow: hidden;
1175
+ }
1176
+ .element-plus-file-details {
1177
+ display: flex;
1178
+ flex-direction: column;
1179
+ gap: 0.125rem;
1180
+ min-inline-size: 0;
1181
+ max-inline-size: 100%;
1182
+ line-height: 1.25;
1183
+ }
1184
+ .element-plus-file-preview-name {
1185
+ flex: 0 0 auto;
1186
+ overflow: hidden;
1187
+ text-overflow: ellipsis;
1188
+ white-space: nowrap;
1189
+ }
1190
+ .element-plus-file-size {
1191
+ font-size: 0.875em;
1192
+ }
1193
+ .element-plus-file-preview[data-presentation='row'] {
1194
+ flex-direction: row;
1195
+ justify-content: flex-start;
1196
+ text-align: start;
1197
+ }
1198
+ .element-plus-file-preview[data-presentation='row'] > .element-plus-file-icon {
1199
+ inline-size: 1.75rem;
1200
+ block-size: 1.75rem;
1201
+ }
1202
+ .element-plus-file-preview[data-presentation='row'] .element-plus-file-details {
1203
+ flex: 1 1 auto;
1204
+ }
1205
+ .element-plus-file-preview[data-presentation='row']
1206
+ .element-plus-file-preview-name {
1207
+ font-weight: 600;
1208
+ }
1209
+ .element-plus-file-collection {
1210
+ list-style: none;
1211
+ padding: 0;
1212
+ }
1213
+
1214
+ .element-plus-temporal-editor {
1215
+ min-inline-size: 0;
1216
+ }
1217
+
1218
+ .element-plus-temporal-boundary {
1219
+ min-inline-size: 0;
1220
+ }
1221
+
1222
+ .element-input-frame {
1223
+ color: var(--el-input-text-color, var(--el-text-color-regular));
1224
+ flex-wrap: wrap;
1225
+ gap: 0.5em;
1226
+ min-inline-size: 0;
1227
+ min-block-size: var(--el-input-height);
1228
+ block-size: auto;
1229
+ }
1230
+ .element-input-frame-invalid,
1231
+ .element-input-frame-invalid:hover,
1232
+ .element-input-frame-invalid.is-focus {
1233
+ box-shadow: 0 0 0 1px var(--el-color-danger) inset;
1234
+ }
1235
+
1236
+ .el-input.is-disabled .element-input-frame {
1237
+ color: var(--el-disabled-text-color);
1238
+ }
1239
+
1240
+ /* A native chooser overlays the visible trigger/name; its focus belongs to the frame. */
1241
+ .element-plus-file-input {
1242
+ inline-size: 100%;
1243
+ }
1244
+ .element-plus-file-chooser {
1245
+ position: relative;
1246
+ display: flex;
1247
+ align-items: center;
1248
+ gap: 0.5em;
1249
+ flex: 1 1 0;
1250
+ min-inline-size: 0;
1251
+ }
1252
+ .element-plus-file-name {
1253
+ flex: 1 1 0;
1254
+ min-inline-size: 0;
1255
+ overflow: hidden;
1256
+ text-overflow: ellipsis;
1257
+ white-space: nowrap;
1258
+ }
1259
+ .element-plus-file-chooser > input[type='file'] {
1260
+ position: absolute;
1261
+ inset: 0;
1262
+ inline-size: 100%;
1263
+ block-size: 100%;
1264
+ opacity: 0;
1265
+ cursor: pointer;
1266
+ }
1267
+ .element-plus-file-chooser > input:disabled {
1268
+ cursor: default;
1269
+ }
1270
+
1271
+ .element-input-action {
1272
+ display: inline-flex;
1273
+ align-items: center;
1274
+ justify-content: center;
1275
+ flex: 0 0 auto;
1276
+ inline-size: 1.5em;
1277
+ block-size: 1.5em;
1278
+ padding: 0;
1279
+ border: 0;
1280
+ background: transparent;
1281
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1282
+ font: inherit;
1283
+ cursor: pointer;
1284
+ }
1285
+ .element-input-action svg {
1286
+ inline-size: 1em;
1287
+ block-size: 1em;
1288
+ }
1289
+ .element-input-action:hover {
1290
+ color: var(--el-input-clear-hover-color, var(--el-text-color-secondary));
1291
+ }
1292
+ .element-input-action:focus-visible {
1293
+ outline: 2px solid var(--el-color-primary);
1294
+ outline-offset: -2px;
1295
+ }
1296
+ .element-input-action:disabled {
1297
+ cursor: default;
1298
+ opacity: 0.65;
1299
+ }
1300
+
1301
+ /* Endpoints retain native editing but share the enclosing UiInputFrame surface. */
1302
+ .element-plus-temporal-range {
1303
+ display: grid;
1304
+ grid-template-columns:
1305
+ minmax(0, max-content) auto minmax(0, max-content)
1306
+ minmax(0, 1fr);
1307
+ align-items: center;
1308
+ gap: 0.5em;
1309
+ flex: 1 1 24ch;
1310
+ inline-size: auto;
1311
+ min-inline-size: 0;
1312
+ }
1313
+ @media (max-width: 40rem) {
1314
+ .element-plus-temporal-range {
1315
+ grid-template-columns: auto minmax(0, max-content) minmax(0, 1fr);
1316
+ }
1317
+ .element-plus-temporal-range > .element-plus-temporal-boundary {
1318
+ grid-column: 2;
1319
+ }
1320
+ .element-plus-temporal-range > [data-temporal-separator] {
1321
+ grid-column: 1;
1322
+ grid-row: 2;
1323
+ }
1324
+ .element-plus-temporal-range > .element-plus-temporal-spacer {
1325
+ grid-column: 3;
1326
+ grid-row: 1 / span 2;
1327
+ }
1328
+ }
1329
+
1330
+ .el-input.element-control-frame-part > .el-input__wrapper,
1331
+ .el-form-item.is-error
1332
+ .el-form-item__content
1333
+ .el-input.element-control-frame-part
1334
+ > .el-input__wrapper,
1335
+ .el-form-item.is-error
1336
+ .el-form-item__content
1337
+ .el-input.element-control-frame-part
1338
+ > .el-input__wrapper:hover,
1339
+ .el-form-item.is-error
1340
+ .el-form-item__content
1341
+ .el-input.element-control-frame-part
1342
+ > .el-input__wrapper.is-focus {
1343
+ box-shadow: none;
1344
+ background: transparent;
1345
+ padding: 0;
1346
+ }
1347
+
1348
+ /* Integrated range actions follow the input's font and content height. */
1349
+ [data-temporal-range] .element-plus-temporal-range [data-temporal-trigger],
1350
+ [data-temporal-range] [data-temporal-unbounded],
1351
+ [data-temporal-range] [data-temporal-clear] {
1352
+ font-size: inherit;
1353
+ min-inline-size: 0;
1354
+ inline-size: 1.5em;
1355
+ block-size: 1.5em;
1356
+ min-block-size: 0;
1357
+ padding: 0;
1358
+ flex: 0 0 auto;
1359
+ }
1360
+
1361
+ .el-textarea.element-control-frame-part > .el-textarea__inner,
1362
+ .el-form-item.is-error
1363
+ .el-form-item__content
1364
+ .el-textarea.element-control-frame-part
1365
+ > .el-textarea__inner {
1366
+ box-shadow: none;
1367
+ background: transparent;
1368
+ padding: 0;
1369
+ }
1370
+
1371
+ .element-control-frame-part .el-input__validateIcon {
1372
+ display: none;
1373
+ }
1374
+
1375
+ /* Every range mode keeps content-sized endpoints and spare space at the end. */
1376
+ [data-temporal-range] [data-temporal-mode],
1377
+ [data-temporal-range] [data-temporal-range-trigger] {
1378
+ font-size: inherit;
1379
+ inline-size: 1.5em;
1380
+ block-size: 1.5em;
1381
+ min-block-size: 0;
1382
+ padding: 0;
1383
+ }
1384
+ /* Include the native input's text width when sizing each endpoint track. */
1385
+ .element-plus-temporal-range .el-input.element-control-frame-part {
1386
+ inline-size: auto;
1387
+ max-inline-size: 100%;
1388
+ }
1389
+ .element-plus-temporal-range .el-input__inner {
1390
+ inline-size: var(--element-temporal-text-width);
1391
+ }
1392
+ [data-temporal-next-day] {
1393
+ display: inline-flex;
1394
+ align-items: center;
1395
+ flex: 0 0 auto;
1396
+ inline-size: 1em;
1397
+ block-size: 1em;
1398
+ }
1399
+
1400
+ /* Native mode arrows and the custom next-day symbol share one icon square. */
1401
+ .element-plus-temporal-symbol {
1402
+ display: inline-grid;
1403
+ place-items: center;
1404
+ position: relative;
1405
+ flex: 0 0 auto;
1406
+ inline-size: 1em;
1407
+ block-size: 1em;
1408
+ line-height: 1;
1409
+ }
1410
+ .element-plus-temporal-symbol > svg {
1411
+ inline-size: 1em;
1412
+ block-size: 1em;
1413
+ }
1414
+
1415
+ /* Native alerts supply light/dark; outline and neutral custom notices use native tokens. */
1416
+ .element-notice.element-notice-neutral {
1417
+ color: var(--element-notice-color);
1418
+ background: var(--element-notice-soft);
1419
+ }
1420
+ .element-notice.element-notice-neutral.is-dark {
1421
+ color: var(--element-notice-on-color);
1422
+ background: var(--element-notice-color);
1423
+ }
1424
+ .element-notice.element-notice-neutral.is-dark .el-alert__description,
1425
+ .element-notice.element-notice-neutral.is-dark .el-alert__close-btn {
1426
+ color: inherit;
1427
+ }
1428
+ .element-notice[data-variant='outline'] {
1429
+ background: transparent;
1430
+ border: var(--el-border-width) var(--el-border-style)
1431
+ var(--element-notice-color);
1432
+ color: var(--element-notice-color);
1433
+ }
1434
+ .element-notice .element-notice-icon {
1435
+ display: inline-flex;
1436
+ flex-shrink: 0;
1437
+ block-size: 1em;
1438
+ margin-right: 0;
1439
+ margin-inline-end: 8px;
1440
+ }
1441
+ .element-notice .element-notice-icon.is-big {
1442
+ margin-right: 0;
1443
+ margin-inline-end: 12px;
1444
+ }
1445
+ .element-notice-icon > * {
1446
+ inline-size: 100%;
1447
+ block-size: 100%;
1448
+ }
1449
+
1450
+ /* Ordinary rich-content links remain readable on filled notices; explicit link components retain their own presentation. */
1451
+ .element-notice[data-variant='filled'] :where(a[href]:not([class])) {
1452
+ color: inherit;
1453
+ }
1454
+
1455
+ /* UiField owns editor accessibility helpers. Keep their absolute boxes local
1456
+ to this required composition, including when the field is deep in a scrollport.
1457
+ Clip the helper itself; retain visible focus and popup overflow on the field. */
1458
+ .element-field,
1459
+ .element-field-editor {
1460
+ position: relative;
1461
+ }
1462
+ .element-select-status,
1463
+ .element-required-description,
1464
+ .element-tooltip-description,
1465
+ .element-labels-hidden > .el-form-item__label {
1466
+ inset-block-start: 0;
1467
+ inset-inline-start: 0;
1468
+ }
1469
+
1470
+ /* Root navigation owns its edge unless an explicit navigation region adopts it. */
1471
+ .element-plus-navigation-surface {
1472
+ box-sizing: border-box;
1473
+ min-inline-size: 0;
1474
+ max-inline-size: 100%;
1475
+ position: relative;
1476
+ }
1477
+ .element-plus-navigation-surface:not([data-navigation-mode='horizontal']) {
1478
+ inline-size: max-content;
1479
+ }
1480
+ .element-plus-navigation-surface[data-navigation-mode='horizontal'] {
1481
+ inline-size: 100%;
1482
+ }
1483
+ .element-plus-navigation-surface[data-navigation-boundary='inline-end'] {
1484
+ border-inline-end: 1px solid var(--el-border-color);
1485
+ }
1486
+ .element-plus-navigation-surface[data-navigation-boundary='inline-start'] {
1487
+ border-inline-start: 1px solid var(--el-border-color);
1488
+ }
1489
+ .element-plus-navigation-surface[data-navigation-boundary='block-end'],
1490
+ .element-navbar[data-navigation-boundary='block-end'] {
1491
+ border-block-end: 1px solid var(--el-border-color);
1492
+ }
1493
+ .element-plus-navigation-surface[data-navigation-boundary='block-start'],
1494
+ .element-navbar[data-navigation-boundary='block-start'] {
1495
+ border-block-start: 1px solid var(--el-border-color);
1496
+ }
1497
+ .element-navbar[data-navigation-boundary='none'] {
1498
+ border-block: 0;
1499
+ }
1500
+ .element-navbar-links > .element-plus-navigation-surface {
1501
+ align-self: stretch;
1502
+ }
1503
+ .element-plus-navigation-hint {
1504
+ position: fixed;
1505
+ max-inline-size: min(12rem, calc(100vw - 1rem));
1506
+ padding: 0.25rem 0.5rem;
1507
+ border: 1px solid var(--el-border-color);
1508
+ border-radius: 0.25rem;
1509
+ background: var(--el-bg-color);
1510
+ color: var(--el-text-color-primary);
1511
+ pointer-events: none;
1512
+ overflow-wrap: anywhere;
1513
+ }
1514
+ @media (prefers-reduced-motion: reduce) {
1515
+ .element-plus-navigation-surface * {
1516
+ transition-duration: 0s !important;
1517
+ animation-duration: 0s !important;
1518
+ }
1519
+ }
1520
+ /* The outer navigation surface owns the logical boundary, including RTL. */
1521
+ .element-plus-navigation-surface > .element-navigation-menu {
1522
+ border: 0;
1523
+ }
1524
+ .element-navbar-links > .element-plus-navigation-surface {
1525
+ display: flex;
1526
+ align-self: stretch;
1527
+ }
1528
+ .element-navbar-links
1529
+ > .element-plus-navigation-surface
1530
+ > .el-menu--horizontal {
1531
+ height: auto;
1532
+ min-height: var(--el-menu-horizontal-height);
1533
+ align-self: stretch;
1534
+ flex: 1;
1535
+ }
1536
+ .element-navbar[data-navigation-boundary='none'] {
1537
+ border-block: 0;
1538
+ }
1539
+ .element-navbar[data-navigation-boundary='block-start'] {
1540
+ border-bottom: 0;
1541
+ border-block-start: 1px solid var(--el-menu-border-color);
1542
+ }
1543
+ /* Native indentation is physical-left; retain its tokens on the logical start. */
1544
+ .element-navigation-menu.el-menu--vertical:not(.el-menu--collapse):not(
1545
+ .el-menu--popup-container
1546
+ )
1547
+ :is(.el-menu-item, .el-sub-menu__title, .el-menu-item-group__title) {
1548
+ padding-left: 0;
1549
+ padding-right: 0;
1550
+ padding-inline-start: calc(
1551
+ var(--el-menu-base-level-padding) + var(--el-menu-level) *
1552
+ var(--el-menu-level-padding)
1553
+ );
1554
+ padding-inline-end: var(--el-menu-base-level-padding);
1555
+ }
1556
+ .element-navigation-menu.el-menu--vertical:not(.el-menu--collapse)
1557
+ .el-sub-menu__title {
1558
+ padding-inline-end: calc(
1559
+ var(--el-menu-base-level-padding) + var(--el-menu-icon-width)
1560
+ );
1561
+ }
1562
+ .element-navigation-menu.el-menu--vertical .el-sub-menu__icon-arrow {
1563
+ right: auto;
1564
+ inset-inline-end: var(--el-menu-base-level-padding);
1565
+ }
1566
+
1567
+ .element-plus-navigation-surface
1568
+ [data-rail-group]
1569
+ > .el-menu-item-group__title {
1570
+ position: absolute;
1571
+ inset-block-start: 0;
1572
+ inset-inline-start: 0;
1573
+ inline-size: 1px;
1574
+ block-size: 1px;
1575
+ min-block-size: 0;
1576
+ padding: 0;
1577
+ overflow: hidden;
1578
+ clip-path: inset(50%);
1579
+ white-space: nowrap;
1580
+ }
1581
+
1582
+ .element-navbar-links > .element-plus-navigation-surface {
1583
+ display: flex;
1584
+ align-items: center;
1585
+ }
1586
+
1587
+ /* The complete region receives drops but never becomes a scrollport.
1588
+ Host allocations must respect the backend minimum for its controls. */
1589
+ .element-plus-upload-region {
1590
+ position: relative;
1591
+ box-sizing: border-box;
1592
+ inline-size: 100%;
1593
+ min-inline-size: 14rem;
1594
+ block-size: 12rem;
1595
+ min-block-size: 10rem;
1596
+ overflow: clip;
1597
+ overflow-wrap: anywhere;
1598
+ display: flex;
1599
+ flex-direction: column;
1600
+ align-items: stretch;
1601
+ gap: 0.75rem;
1602
+ --el-upload-dragger-padding-horizontal: 10px;
1603
+ --el-upload-dragger-padding-vertical: 24px;
1604
+ }
1605
+ .element-plus-upload-region[data-extent='compact'] {
1606
+ --el-upload-dragger-padding-vertical: 16px;
1607
+ block-size: 10rem;
1608
+ }
1609
+ .element-plus-upload-region[data-extent='large'] {
1610
+ block-size: 18rem;
1611
+ }
1612
+ .element-plus-upload-region[data-extent='fill'] {
1613
+ --el-upload-dragger-padding-vertical: 16px;
1614
+ block-size: 100%;
1615
+ }
1616
+ .element-plus-upload-region > * {
1617
+ flex-shrink: 0;
1618
+ min-inline-size: 0;
1619
+ }
1620
+ .element-plus-upload-region > [data-upload-choose] {
1621
+ align-self: flex-start;
1622
+ max-inline-size: 100%;
1623
+ white-space: normal;
1624
+ }
1625
+ .element-plus-upload-region:focus-visible,
1626
+ .element-plus-upload-region:focus-within {
1627
+ outline: none;
1628
+ border-color: var(--el-color-primary);
1629
+ }
1630
+ /* The adapter's dragger is the group root, rather than a child of .el-upload.
1631
+ Apply the native upload disabled treatment at that actual boundary. */
1632
+ .element-plus-upload-region[aria-disabled='true'],
1633
+ .element-plus-upload-region[aria-disabled='true']:hover {
1634
+ cursor: not-allowed;
1635
+ background-color: var(--el-disabled-bg-color);
1636
+ border-color: var(--el-disabled-border-color);
1637
+ color: var(--el-disabled-text-color);
1638
+ }
1639
+ .element-plus-upload-region[aria-disabled='true'] .el-upload__text {
1640
+ color: var(--el-disabled-text-color);
1641
+ }
1642
+ .element-plus-upload-feedback,
1643
+ .element-plus-upload-name {
1644
+ min-inline-size: 0;
1645
+ overflow: hidden;
1646
+ white-space: nowrap;
1647
+ text-overflow: ellipsis;
1648
+ }
1649
+ /* A failed acquisition shows one error and recovery actions, not a second
1650
+ filename row. The accepted preview keeps its own identity when present. */
1651
+ .element-plus-upload-region:is(
1652
+ [data-upload-phase='ready'],
1653
+ [data-upload-phase='delivery-failed']
1654
+ )[data-upload-recovery]
1655
+ > .element-plus-upload-name {
1656
+ display: none;
1657
+ }
1658
+ .element-plus-upload-feedback:empty {
1659
+ display: none;
1660
+ }
1661
+ .element-plus-upload-actions {
1662
+ display: flex;
1663
+ flex-wrap: wrap;
1664
+ gap: 0.75rem;
1665
+ }
1666
+ .element-plus-upload-actions > * {
1667
+ max-inline-size: 100%;
1668
+ white-space: normal;
1669
+ margin: 0;
1670
+ }
1671
+ .element-plus-upload-progress {
1672
+ position: relative;
1673
+ display: grid;
1674
+ grid-template-columns: minmax(0, 1fr);
1675
+ align-items: center;
1676
+ inline-size: 100%;
1677
+ gap: 0.75rem;
1678
+ min-inline-size: 0;
1679
+ }
1680
+ .element-plus-upload-progress > .upload-progress-name {
1681
+ grid-column: 1 / -1;
1682
+ overflow: hidden;
1683
+ text-overflow: ellipsis;
1684
+ white-space: nowrap;
1685
+ text-align: start;
1686
+ }
1687
+ .element-plus-upload-progress > .upload-progress-body {
1688
+ display: flex;
1689
+ flex-wrap: wrap;
1690
+ align-items: center;
1691
+ gap: 0.75rem;
1692
+ }
1693
+ .element-plus-upload-progress .upload-progress-context {
1694
+ flex: 1 1 8em;
1695
+ min-inline-size: 0;
1696
+ }
1697
+ .element-plus-upload-progress[data-recovery],
1698
+ .element-plus-upload-progress[data-recovery] > .upload-progress-body {
1699
+ row-gap: 0.25rem;
1700
+ }
1701
+ .element-plus-upload-progress > * {
1702
+ min-inline-size: 0;
1703
+ max-inline-size: 100%;
1704
+ }
1705
+ .element-plus-upload-remove-icon,
1706
+ .element-plus-upload-region .upload-remove-icon {
1707
+ inline-size: 1em;
1708
+ block-size: 1em;
1709
+ margin-inline-end: 0;
1710
+ }
1711
+
1712
+ .element-plus-upload-region .upload-required-description,
1713
+ .element-plus-upload-progress .upload-announcement {
1714
+ position: absolute;
1715
+ inset-block-start: 0;
1716
+ inset-inline-start: 0;
1717
+ inline-size: 1px;
1718
+ block-size: 1px;
1719
+ overflow: hidden;
1720
+ clip-path: inset(50%);
1721
+ white-space: nowrap;
1722
+ }
1723
+
1724
+ /* Preserve ElUpload's native dragger surface and upload icon. The explicit
1725
+ chooser isolates activation from preview/actions within the full frame. */
1726
+ .element-plus-upload-region > .element-plus-upload-choose {
1727
+ align-self: stretch;
1728
+ display: flex;
1729
+ flex-direction: column;
1730
+ align-items: center;
1731
+ background: transparent;
1732
+ color: inherit;
1733
+ border: 0;
1734
+ cursor: pointer;
1735
+ }
1736
+ .element-plus-upload-choose:disabled {
1737
+ cursor: default;
1738
+ }
1739
+ .element-plus-upload-choose:focus-visible {
1740
+ /* The native drag-area border above owns this chooser's focus indication. */
1741
+ outline: none;
1742
+ }
1743
+ @media (forced-colors: active) {
1744
+ .element-plus-upload-region:focus-visible,
1745
+ .element-plus-upload-region:has(> .element-plus-upload-choose:focus-visible) {
1746
+ outline: 2px solid Highlight;
1747
+ outline-offset: -2px;
1748
+ }
1749
+ }
1750
+
1751
+ /* Recovery uses a file/error summary and one row of available actions. */
1752
+ .element-plus-upload-region:is(
1753
+ [data-upload-phase='ready'],
1754
+ [data-upload-phase='delivery-failed']
1755
+ )[data-upload-recovery] {
1756
+ flex-direction: row;
1757
+ flex-wrap: wrap;
1758
+ align-content: safe center;
1759
+ justify-content: flex-start;
1760
+ gap: 0.5rem;
1761
+ }
1762
+ .element-plus-upload-region[data-upload-recovery] > .element-plus-upload-name,
1763
+ .element-plus-upload-region[data-upload-recovery]
1764
+ > .element-plus-upload-feedback {
1765
+ flex-basis: 100%;
1766
+ }
1767
+ .element-plus-upload-region[data-upload-recovery] > [data-upload-choose],
1768
+ .element-plus-upload-region[data-upload-recovery]
1769
+ > .element-plus-upload-actions {
1770
+ order: 1;
1771
+ inline-size: auto;
1772
+ flex: 0 1 auto;
1773
+ }
1774
+
1775
+ /* File identity above one progress/action row; retained summary beside removal. */
1776
+ .element-plus-upload-region:is(
1777
+ [data-upload-phase='validating'],
1778
+ [data-upload-phase='uploading'],
1779
+ [data-upload-phase='delivering']
1780
+ ) {
1781
+ display: grid;
1782
+ grid-template-columns: minmax(0, 1fr) auto;
1783
+ align-content: safe center;
1784
+ align-items: center;
1785
+ }
1786
+ .element-plus-upload-region > .element-plus-upload-name {
1787
+ grid-column: 1 / -1;
1788
+ }
1789
+ .element-plus-upload-region > .element-plus-upload-progress {
1790
+ grid-column: 1;
1791
+ }
1792
+ .element-plus-upload-region > .element-plus-upload-actions {
1793
+ grid-column: 2;
1794
+ }
1795
+ /* Two independent placements in one grid area: centered content and end action.
1796
+ Equal content gutters protect the action without moving the content's center. */
1797
+ .element-plus-upload-region[data-upload-phase='occupied'] {
1798
+ display: grid;
1799
+ grid-template-rows: minmax(0, 1fr);
1800
+ grid-template-columns: minmax(0, 1fr);
1801
+ align-content: stretch;
1802
+ align-items: center;
1803
+ }
1804
+ .element-plus-upload-region[data-upload-phase='occupied']
1805
+ > :is(.element-plus-upload-preview, .element-plus-upload-name) {
1806
+ grid-area: 1 / 1;
1807
+ box-sizing: border-box;
1808
+ inline-size: 100%;
1809
+ padding-inline: 3.5rem;
1810
+ text-align: center;
1811
+ }
1812
+ .element-plus-upload-region[data-upload-phase='occupied']
1813
+ > .element-plus-upload-actions {
1814
+ grid-area: 1 / 1;
1815
+ justify-self: end;
1816
+ }
1817
+ .element-plus-upload-region[data-upload-phase='occupied']
1818
+ > .element-plus-upload-feedback {
1819
+ grid-area: 2 / 1;
1820
+ }
1821
+
1822
+ /* Image-only presentation: the host supplies bounds; no frame, caption or clipping. */
1823
+ .element-plus-image-preview {
1824
+ display: inline-grid;
1825
+ grid-template-columns: minmax(0, 1fr);
1826
+ grid-template-rows: minmax(0, 1fr);
1827
+ vertical-align: middle;
1828
+ box-sizing: border-box;
1829
+ min-inline-size: 0;
1830
+ min-block-size: 0;
1831
+ max-inline-size: 100%;
1832
+ max-block-size: 100%;
1833
+ border: 0;
1834
+ border-radius: 0;
1835
+ background: transparent;
1836
+ }
1837
+ .element-plus-image-preview > * {
1838
+ grid-area: 1 / 1;
1839
+ min-inline-size: 0;
1840
+ min-block-size: 0;
1841
+ max-inline-size: 100%;
1842
+ max-block-size: 100%;
1843
+ }
1844
+ .element-plus-image-preview img {
1845
+ display: block;
1846
+ inline-size: 100%;
1847
+ block-size: 100%;
1848
+ object-fit: var(--ui-image-fit, contain);
1849
+ object-position: center;
1850
+ border: 0;
1851
+ border-radius: 0;
1852
+ }
1853
+ .element-plus-image-preview-broken {
1854
+ display: grid;
1855
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
1856
+ place-items: center;
1857
+ inline-size: 100%;
1858
+ block-size: 100%;
1859
+ }
1860
+ .element-plus-image-preview-broken svg {
1861
+ inline-size: 1.5rem;
1862
+ block-size: 1.5rem;
1863
+ max-inline-size: 100%;
1864
+ max-block-size: 100%;
1865
+ }
1866
+ .element-plus-upload-preview {
1867
+ display: grid;
1868
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
1869
+ place-items: center;
1870
+ block-size: 100%;
1871
+ min-block-size: 0;
1872
+ min-inline-size: 0;
1873
+ }
1874
+ .element-plus-image-preview > .el-image {
1875
+ display: block;
1876
+ inline-size: 100%;
1877
+ block-size: 100%;
1878
+ overflow: visible;
1879
+ }
1880
+
1881
+ /* Read-only field frame; the preview renderer remains borderless. */
1882
+ .element-plus-preview-region {
1883
+ display: block;
1884
+ box-sizing: border-box;
1885
+ inline-size: 100%;
1886
+ min-inline-size: 0;
1887
+ }
1888
+ .element-plus-preview-viewport {
1889
+ display: grid;
1890
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
1891
+ place-items: center;
1892
+ box-sizing: border-box;
1893
+ block-size: 10rem;
1894
+ inline-size: 100%;
1895
+ min-inline-size: 0;
1896
+ min-block-size: 0;
1897
+ overflow: hidden;
1898
+ }
1899
+ .element-plus-preview-region[data-extent='compact']
1900
+ > .element-plus-preview-viewport {
1901
+ block-size: 6rem;
1902
+ }
1903
+ .element-plus-preview-region[data-extent='large']
1904
+ > .element-plus-preview-viewport {
1905
+ block-size: 16rem;
1906
+ }
1907
+ .element-plus-preview-viewport > * {
1908
+ min-inline-size: 0;
1909
+ min-block-size: 0;
1910
+ max-inline-size: 100%;
1911
+ max-block-size: 100%;
1912
+ }
1913
+ .element-plus-preview-region {
1914
+ cursor: default;
1915
+ }
1916
+ .element-preview-invalid,
1917
+ .element-preview-invalid:hover {
1918
+ box-shadow: 0 0 0 1px var(--el-color-danger) inset;
1919
+ }
1920
+
1921
+ /* Transfer recovery belongs to the reusable upload presentation. */
1922
+ .element-plus-upload-progress .upload-progress-actions {
1923
+ align-self: start;
1924
+ display: flex;
1925
+ gap: 0.5rem;
1926
+ flex: 0 1 auto;
1927
+ flex-wrap: wrap;
1928
+ justify-content: flex-end;
1929
+ margin-inline-start: auto;
1930
+ }
1931
+ .element-plus-upload-progress .upload-transfer-issue {
1932
+ display: block;
1933
+ min-inline-size: 0;
1934
+ overflow-wrap: anywhere;
1935
+ color: var(--el-color-danger);
1936
+ }
1937
+ /* A standalone transfer shows the complete error. The bounded acquisition
1938
+ region keeps its concise summary without growing or becoming scrollable. */
1939
+ .element-plus-upload-region
1940
+ .element-plus-upload-progress
1941
+ .upload-transfer-issue {
1942
+ overflow: hidden;
1943
+ text-overflow: ellipsis;
1944
+ white-space: nowrap;
1945
+ }
1946
+ .element-plus-upload-region[data-upload-recovery] {
1947
+ display: grid;
1948
+ grid-template-columns: auto minmax(0, 1fr);
1949
+ align-items: center;
1950
+ }
1951
+ .element-plus-upload-region[data-upload-recovery] > [data-upload-choose] {
1952
+ grid-column: 1;
1953
+ order: 0;
1954
+ }
1955
+ .element-plus-upload-region[data-upload-recovery]
1956
+ > .element-plus-upload-progress {
1957
+ grid-column: 2;
1958
+ }
1959
+ .element-plus-upload-region[data-upload-recovery]
1960
+ > .element-plus-upload-feedback {
1961
+ grid-column: 1 / -1;
1962
+ }
1963
+
1964
+ /* Coordinate the chooser with identity, leaving the complete lower row for
1965
+ transfer feedback and recovery actions. This is private backend composition. */
1966
+ .element-plus-upload-region:has(
1967
+ > .element-plus-upload-progress[data-recovery]
1968
+ ) {
1969
+ display: grid;
1970
+ grid-template-columns: auto minmax(0, 1fr);
1971
+ grid-template-rows: auto auto;
1972
+ row-gap: 0.25rem;
1973
+ }
1974
+ .element-plus-upload-region:has(> .element-plus-upload-progress[data-recovery])
1975
+ > [data-upload-choose] {
1976
+ grid-area: 1 / 1;
1977
+ z-index: 1;
1978
+ }
1979
+ .element-plus-upload-region > .element-plus-upload-progress[data-recovery] {
1980
+ grid-area: 1 / 1 / 3 / -1;
1981
+ grid-template-columns: subgrid;
1982
+ grid-template-rows: subgrid;
1983
+ }
1984
+ .element-plus-upload-region
1985
+ > .element-plus-upload-progress[data-recovery]
1986
+ > .upload-progress-name {
1987
+ grid-area: 1 / 2;
1988
+ }
1989
+ .element-plus-upload-region
1990
+ > .element-plus-upload-progress[data-recovery]
1991
+ > .upload-progress-body {
1992
+ grid-area: 2 / 1 / 3 / -1;
1993
+ }
1994
+ .element-plus-upload-progress .upload-progress-actions > * {
1995
+ flex-shrink: 0;
1996
+ white-space: nowrap;
1997
+ }
1998
+
1999
+ .element-plus-upload-progress .el-button + .el-button {
2000
+ margin-left: 0;
2001
+ }
2002
+
2003
+ /* Collections own each overflow axis separately. Full height is allocated
2004
+ by the parent; content height never creates a vertical scrollbar. */
2005
+ .element-collection {
2006
+ position: relative;
2007
+ min-width: 0;
2008
+ min-height: 0;
2009
+ box-sizing: border-box;
2010
+ overflow-x: clip;
2011
+ overflow-y: visible;
2012
+ }
2013
+ .element-collection[data-full] {
2014
+ height: 100%;
2015
+ overflow-x: hidden;
2016
+ overflow-y: auto;
2017
+ }
2018
+ .element-collection[data-scroll='horizontal'],
2019
+ .element-collection[data-scroll='both'] {
2020
+ overflow-x: auto;
2021
+ }
2022
+ .element-collection[data-scroll='horizontal'] {
2023
+ overflow-y: hidden;
2024
+ }
2025
+ .element-list {
2026
+ display: grid;
2027
+ gap: 1rem;
2028
+ margin: 0;
2029
+ padding: 0;
2030
+ list-style: none;
2031
+ }
2032
+ .element-list > li {
2033
+ display: grid;
2034
+ grid-template-columns: minmax(0, 1fr);
2035
+ align-items: start;
2036
+ min-width: 0;
2037
+ }
2038
+ .element-list > li[data-selectable] {
2039
+ grid-template-columns: max-content minmax(0, 1fr);
2040
+ column-gap: 8px;
2041
+ }
2042
+ .element-list-selection {
2043
+ display: flex;
2044
+ align-items: flex-start;
2045
+ justify-self: start;
2046
+ }
2047
+ .element-list-content {
2048
+ min-width: 0;
2049
+ }
2050
+ .element-collection-status,
2051
+ .element-table th {
2052
+ position: relative;
2053
+ }
2054
+ .element-collection-status[data-infinity-feedback] {
2055
+ text-align: center;
2056
+ color: var(--el-text-color-secondary);
2057
+ font-size: 0.875em;
2058
+ }
2059
+ .element-collection-status p {
2060
+ margin-block: 0.5rem;
2061
+ }
2062
+ .element-collection-announcement {
2063
+ position: absolute;
2064
+ inset-block-start: 0;
2065
+ inset-inline-start: 0;
2066
+ width: 1px;
2067
+ height: 1px;
2068
+ padding: 0;
2069
+ overflow: hidden;
2070
+ clip-path: inset(50%);
2071
+ white-space: nowrap;
2072
+ }
2073
+ .element-collection-sentinel {
2074
+ height: 1px;
2075
+ }
2076
+ .element-paginator {
2077
+ display: flex;
2078
+ flex-wrap: wrap;
2079
+ align-items: center;
2080
+ gap: 0.5rem;
2081
+ }
2082
+ .element-paginator-size {
2083
+ min-width: 6rem;
2084
+ max-width: 12rem;
2085
+ }
2086
+
2087
+ /* Column allocation and resize affordances belong to the table backend. */
2088
+ .element-collection[data-column-fit] {
2089
+ min-width: 0;
2090
+ max-width: 100%;
2091
+ }
2092
+ .element-table th,
2093
+ .element-table td {
2094
+ position: relative;
2095
+ box-sizing: border-box;
2096
+ min-width: 0;
2097
+ white-space: normal;
2098
+ overflow-wrap: anywhere;
2099
+ }
2100
+ .element-column-resizer {
2101
+ position: absolute;
2102
+ inset-block: 0;
2103
+ inset-inline-end: 0;
2104
+ width: 0.5rem;
2105
+ cursor: col-resize;
2106
+ touch-action: none;
2107
+ user-select: none;
2108
+ }
2109
+ .element-column-resizer::after {
2110
+ content: '';
2111
+ position: absolute;
2112
+ inset-block: 20%;
2113
+ inset-inline-end: 0;
2114
+ border-inline-end: 1px solid currentColor;
2115
+ opacity: 0.35;
2116
+ }
2117
+ .element-column-resizer:focus-visible {
2118
+ outline: 2px solid currentColor;
2119
+ outline-offset: -2px;
2120
+ }
2121
+
2122
+ .element-table .cell {
2123
+ min-width: 0;
2124
+ overflow-wrap: anywhere;
2125
+ overflow: visible;
2126
+ }
2127
+
2128
+ /* Native auto mode keeps one semantic table; allocated tracks use fixed CSS geometry. */
2129
+ .element-table table {
2130
+ table-layout: fixed !important;
2131
+ }
2132
+
2133
+ /* Shared modal allocation retains native viewport clearance. */
2134
+ .element-modal {
2135
+ --uninterface-modal-edge-clearance: 1rem;
2136
+ }
2137
+
2138
+ .element-table-footer {
2139
+ width: 100%;
2140
+ min-width: 0;
2141
+ box-sizing: border-box;
2142
+ }
2143
+
2144
+ .element-paginator-jumper {
2145
+ position: relative;
2146
+ width: max-content;
2147
+ max-width: 100%;
2148
+ }
2149
+
2150
+ .element-paginator-jumper {
2151
+ margin-bottom: 0;
2152
+ }
2153
+
2154
+ /* Bounded tables use ElTable height and its native scrollport. Supporting
2155
+ status/footer regions keep their content height outside the row viewport. */
2156
+ .element-collection[data-column-fit][data-full] {
2157
+ display: flex;
2158
+ flex-direction: column;
2159
+ overflow-x: hidden;
2160
+ overflow-y: hidden;
2161
+ }
2162
+ .element-table-region {
2163
+ min-width: 0;
2164
+ min-height: 0;
2165
+ }
2166
+ .element-collection[data-full] > .element-table-region {
2167
+ flex: 1;
2168
+ }
2169
+ .element-collection[data-full] > .element-collection-status {
2170
+ flex: none;
2171
+ }
2172
+ .element-collection[data-full] .el-scrollbar__wrap {
2173
+ overflow-x: hidden;
2174
+ overflow-y: auto;
2175
+ }
2176
+ .element-collection[data-full][data-scroll='both'] .el-scrollbar__wrap {
2177
+ overflow-x: auto;
2178
+ }
2179
+ /* Content-height tables delegate scrolling to the named collection host. */
2180
+ .element-collection:not([data-full]) .element-table,
2181
+ .element-collection:not([data-full]) .el-table__inner-wrapper,
2182
+ .element-collection:not([data-full]) .el-table__body-wrapper,
2183
+ .element-collection:not([data-full]) .el-scrollbar,
2184
+ .element-collection:not([data-full]) .el-scrollbar__wrap {
2185
+ overflow-x: visible;
2186
+ overflow-y: visible;
2187
+ }
2188
+
2189
+ /* Collection frames own selection; no checkbox sits outside the card. */
2190
+ .element-collection-cards {
2191
+ --ui-collection-card-default-min: 20rem;
2192
+ --ui-collection-card-default-max: 25rem;
2193
+ --ui-collection-card-min: var(--ui-collection-card-default-min);
2194
+ --ui-collection-card-max: var(--ui-collection-card-default-max);
2195
+ display: grid;
2196
+ grid-template-columns: minmax(0, 1fr);
2197
+ gap: 1rem;
2198
+ margin: 0;
2199
+ padding: 0;
2200
+ list-style: none;
2201
+ }
2202
+ .element-collection-cards[data-grid] {
2203
+ justify-content: start;
2204
+ grid-template-columns: repeat(
2205
+ auto-fill,
2206
+ minmax(
2207
+ min(100%, var(--ui-collection-card-min)),
2208
+ min(100%, var(--ui-collection-card-max))
2209
+ )
2210
+ );
2211
+ }
2212
+ .element-collection-cards > li {
2213
+ min-width: 0;
2214
+ }
2215
+ .element-card[data-collection-selected] {
2216
+ outline: 2px solid var(--el-color-primary);
2217
+ outline-offset: -2px;
2218
+ }
2219
+ .element-collection-card-header {
2220
+ display: flex;
2221
+ flex-wrap: wrap;
2222
+ align-items: center;
2223
+ gap: 0.5rem;
2224
+ min-width: 0;
2225
+ }
2226
+ .element-collection-card-selection,
2227
+ .element-collection-card-leading {
2228
+ flex: none;
2229
+ display: flex;
2230
+ align-items: center;
2231
+ }
2232
+ .element-collection-card-title {
2233
+ flex: 1;
2234
+ min-width: 0;
2235
+ overflow-wrap: anywhere;
2236
+ }
2237
+ .element-collection-card-indicators,
2238
+ .element-collection-card-overlay {
2239
+ display: flex;
2240
+ flex-wrap: wrap;
2241
+ align-items: center;
2242
+ gap: 0.5rem;
2243
+ }
2244
+ .element-collection-card-indicators {
2245
+ margin-inline-start: auto;
2246
+ }
2247
+ .element-collection-card-media {
2248
+ position: relative;
2249
+ min-width: 0;
2250
+ }
2251
+ .element-collection-card-overlay {
2252
+ position: absolute;
2253
+ inset-block-start: 0.5rem;
2254
+ inset-inline-end: 0.5rem;
2255
+ max-width: calc(100% - 1rem);
2256
+ }
2257
+ .element-collection-card-details {
2258
+ display: grid;
2259
+ gap: 0.5rem;
2260
+ margin: 0;
2261
+ }
2262
+ .element-collection-card-details > div {
2263
+ display: grid;
2264
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
2265
+ gap: 0.5rem;
2266
+ }
2267
+ .element-collection-card-details dt {
2268
+ font-weight: 600;
2269
+ }
2270
+ .element-collection-card-details dd {
2271
+ margin: 0;
2272
+ min-width: 0;
2273
+ overflow-wrap: anywhere;
2274
+ }
2275
+ .element-collection-card-actions {
2276
+ display: flex;
2277
+ flex-wrap: wrap;
2278
+ justify-content: flex-end;
2279
+ gap: 0.5rem;
2280
+ }
2281
+
2282
+ /* Compact row actions retain each button's native padding and hit area. */
2283
+ .element-collection-table-actions {
2284
+ display: flex;
2285
+ flex-wrap: wrap;
2286
+ align-items: center;
2287
+ gap: 0.25rem;
2288
+ }
2289
+
2290
+ /* The owner supplies the loading surface; only the overlay is clipped. */
2291
+ .element-loading-region {
2292
+ position: absolute;
2293
+ display: flex;
2294
+ align-items: center;
2295
+ justify-content: center;
2296
+ box-sizing: border-box;
2297
+ border-radius: inherit;
2298
+ overflow-x: clip;
2299
+ overflow-y: clip;
2300
+ pointer-events: auto;
2301
+ }
2302
+ .element-loading-indicator {
2303
+ position: relative;
2304
+ display: inline-flex;
2305
+ align-items: center;
2306
+ gap: 0.5em;
2307
+ vertical-align: middle;
2308
+ }
2309
+ .element-loading-label-hidden {
2310
+ position: absolute;
2311
+ inset-inline-start: 0;
2312
+ top: 0;
2313
+ width: 1px;
2314
+ height: 1px;
2315
+ overflow: hidden;
2316
+ clip-path: inset(50%);
2317
+ white-space: nowrap;
2318
+ }
2319
+ .element-loading-region[data-custom]
2320
+ > .el-loading-mask
2321
+ > .el-loading-spinner
2322
+ > .circular,
2323
+ .element-loading-region[data-custom]
2324
+ > .el-loading-mask
2325
+ > .el-loading-spinner
2326
+ > .el-loading-text {
2327
+ display: none;
2328
+ }
2329
+ @media (prefers-reduced-motion: reduce) {
2330
+ .element-loading-indicator .is-loading {
2331
+ animation: none;
2332
+ }
2333
+ }
2334
+
2335
+ /* Live activity is outside busy/inert content and cannot enlarge a scrollport. */
2336
+ .element-loading-announcement {
2337
+ position: fixed;
2338
+ inset: 0 auto auto 0;
2339
+ width: 1px;
2340
+ height: 1px;
2341
+ overflow: hidden;
2342
+ clip-path: inset(50%);
2343
+ white-space: nowrap;
2344
+ pointer-events: none;
2345
+ }
2346
+
2347
+ /* An unbounded, initially empty collection still needs a visible loading surface. */
2348
+ .element-collection[data-loading-empty]:not([data-full]) {
2349
+ min-height: 6rem;
2350
+ }
2351
+
2352
+ /* ElEmpty's artwork is optional in UiEmpty; retain native message/action styling. */
2353
+ .element-empty:not(.element-empty-with-icon) > .el-empty__image {
2354
+ display: none;
2355
+ }
2356
+ .element-empty:not(.element-empty-with-icon) > .el-empty__description {
2357
+ margin-top: 0;
2358
+ }
2359
+ .element-empty > .el-empty__bottom {
2360
+ display: flex;
2361
+ flex-wrap: wrap;
2362
+ justify-content: center;
2363
+ gap: 8px;
2364
+ }
2365
+ .element-empty > .el-empty__bottom > .el-button + .el-button {
2366
+ margin-left: 0;
2367
+ }
2368
+ /* Native empty text assumes a single line; rich empty content needs normal line height. */
2369
+ .element-collection .el-table__empty-text {
2370
+ line-height: var(--el-font-line-height-primary);
2371
+ }
2372
+
2373
+ /* The collection owns a supporting failure region outside the data scrollport. */
2374
+ .element-collection-frame {
2375
+ display: flex;
2376
+ flex-direction: column;
2377
+ min-width: 0;
2378
+ min-height: 0;
2379
+ }
2380
+ .element-collection-frame[data-collection-full] {
2381
+ display: flex;
2382
+ flex-direction: column;
2383
+ height: 100%;
2384
+ }
2385
+ .element-collection-frame[data-collection-full] > .element-collection {
2386
+ flex: 1;
2387
+ height: auto;
2388
+ }
2389
+ .element-collection-failure {
2390
+ min-width: 0;
2391
+ flex: none;
2392
+ }
2393
+ .element-collection-failure[data-collection-failure='replacement'] {
2394
+ margin-block-end: 0.5rem;
2395
+ }
2396
+ .element-collection-failure[data-collection-failure='append'] {
2397
+ margin-block-start: 0.5rem;
2398
+ }
2399
+
2400
+ /* Notice text action alignment. Use native link-button feedback without its
2401
+ horizontal inset. Keep text-button height, loading and keyboard focus. */
2402
+ .element-notice-actions
2403
+ > .element-button-host
2404
+ > [data-ui-button-variant='text'] {
2405
+ padding-inline: 0;
2406
+ border-inline-width: 0;
2407
+ }
2408
+ .element-notice-actions
2409
+ > .element-button-host
2410
+ > [data-ui-button-variant='text']:not(.is-disabled):hover {
2411
+ background-color: transparent;
2412
+ color: var(--el-button-hover-link-text-color);
2413
+ }
2414
+ .element-notice-actions
2415
+ > .element-button-host
2416
+ > [data-ui-button-variant='text']:not(.is-disabled):active {
2417
+ background-color: transparent;
2418
+ color: var(--el-button-active-color);
2419
+ }
2420
+
2421
+ /* Drawer and popover integration: native surfaces, bounded inner scrolling,
2422
+ logical edges, and no allocation while hidden. No business CSS is required. */
2423
+ .element-overlay {
2424
+ position: fixed;
2425
+ inset: auto;
2426
+ margin: 0;
2427
+ padding: 0;
2428
+ box-sizing: border-box;
2429
+ width: min(26rem, calc(100vw - 2rem));
2430
+ max-width: calc(100vw - 2rem);
2431
+ max-height: calc(100dvh - 2rem);
2432
+ overflow: visible;
2433
+ transform: none;
2434
+ }
2435
+ .element-overlay:not([open]):not(:popover-open) {
2436
+ display: none;
2437
+ }
2438
+ .element-overlay[open],
2439
+ .element-overlay:popover-open {
2440
+ display: flex;
2441
+ visibility: visible;
2442
+ flex-direction: column;
2443
+ }
2444
+ /* Drawers meet the viewport; safe-area padding belongs inside the surface. */
2445
+ .element-overlay[data-ui-overlay='drawer'] {
2446
+ inset-block: 0;
2447
+ height: 100dvh;
2448
+ width: min(26rem, 100vw);
2449
+ max-width: 100vw;
2450
+ max-height: 100dvh;
2451
+ max-block-size: 100dvh;
2452
+ border-radius: 0;
2453
+ --drawer-slide-x: 0%;
2454
+ --drawer-slide-y: 0%;
2455
+ }
2456
+ .element-overlay[data-ui-overlay='drawer'] > :first-child {
2457
+ max-block-size: 100%;
2458
+ border-radius: 0;
2459
+ padding: env(safe-area-inset-top) env(safe-area-inset-right)
2460
+ env(safe-area-inset-bottom) env(safe-area-inset-left);
2461
+ }
2462
+ .element-overlay[data-ui-overlay='drawer'][data-edge='start'] {
2463
+ inset-inline-start: 0;
2464
+ --drawer-slide-x: -100%;
2465
+ }
2466
+ .element-overlay[data-ui-overlay='drawer'][data-edge='end'] {
2467
+ inset-inline-end: 0;
2468
+ --drawer-slide-x: 100%;
2469
+ }
2470
+ .element-overlay[data-ui-overlay='drawer'][data-edge='start']:dir(rtl) {
2471
+ --drawer-slide-x: 100%;
2472
+ }
2473
+ .element-overlay[data-ui-overlay='drawer'][data-edge='end']:dir(rtl) {
2474
+ --drawer-slide-x: -100%;
2475
+ }
2476
+ .element-overlay[data-ui-overlay='drawer']:is(
2477
+ [data-edge='top'],
2478
+ [data-edge='bottom']
2479
+ ) {
2480
+ inset-inline: 0;
2481
+ width: auto;
2482
+ height: min(28rem, 100dvh);
2483
+ }
2484
+ .element-overlay[data-ui-overlay='drawer'][data-edge='top'] {
2485
+ inset-block-end: auto;
2486
+ --drawer-slide-y: -100%;
2487
+ }
2488
+ .element-overlay[data-ui-overlay='drawer'][data-edge='bottom'] {
2489
+ inset-block-start: auto;
2490
+ --drawer-slide-y: 100%;
2491
+ }
2492
+ .element-overlay.element-drawer-enter-active,
2493
+ .element-overlay.element-drawer-leave-active {
2494
+ transition: transform var(--el-transition-duration, 0.3s) ease;
2495
+ }
2496
+ .element-overlay.element-drawer-enter-from,
2497
+ .element-overlay.element-drawer-leave-to {
2498
+ transform: translate(var(--drawer-slide-x), var(--drawer-slide-y));
2499
+ }
2500
+ @media (prefers-reduced-motion: reduce) {
2501
+ .element-overlay.element-drawer-enter-active,
2502
+ .element-overlay.element-drawer-leave-active {
2503
+ transition: none;
2504
+ }
2505
+ }
2506
+ .element-overlay[data-ui-overlay='popover'] {
2507
+ width: min(24rem, calc(100vw - 1rem));
2508
+ inset: auto;
2509
+ margin: 0;
2510
+ }
2511
+ /* Header filters fit their business editor; positioning bounds the viewport. */
2512
+ .element-overlay[data-ui-overlay='popover'][data-ui-column-filter-popover] {
2513
+ width: max-content;
2514
+ }
2515
+ .element-overlay > :first-child {
2516
+ display: flex;
2517
+ flex-direction: column;
2518
+ flex: 1;
2519
+ min-height: 0;
2520
+ max-height: inherit;
2521
+ width: 100%;
2522
+ box-sizing: border-box;
2523
+ }
2524
+ .element-overlay-heading {
2525
+ display: flex;
2526
+ align-items: center;
2527
+ justify-content: space-between;
2528
+ gap: 1rem;
2529
+ }
2530
+ .element-overlay-heading > :last-child:not(h2) {
2531
+ margin-inline-start: auto;
2532
+ }
2533
+ .element-overlay-heading > h2 {
2534
+ margin: 0;
2535
+ font-size: inherit;
2536
+ font-weight: 600;
2537
+ }
2538
+ .element-overlay > :first-child > header,
2539
+ .element-overlay > :first-child > footer {
2540
+ flex: none;
2541
+ }
2542
+ .element-overlay > :first-child > [role='region'] {
2543
+ min-height: 0;
2544
+ overflow: auto;
2545
+ flex: 1;
2546
+ }
2547
+ .element-overlay > :first-child > [role='region']:focus-visible {
2548
+ outline-offset: -2px;
2549
+ }
2550
+ .element-overlay-content.el-drawer {
2551
+ position: relative;
2552
+ inset: auto;
2553
+ padding: 0;
2554
+ }
2555
+ .element-overlay-content.el-popover {
2556
+ position: relative;
2557
+ /* This wrapper borrows native styling. The outer surface owns its rank. */
2558
+ z-index: auto;
2559
+ }
2560
+ .element-overlay-content > .el-popper__arrow {
2561
+ pointer-events: none;
2562
+ }
2563
+ .element-overlay-content > .el-drawer__header {
2564
+ margin-bottom: 0;
2565
+ }
2566
+
2567
+ .element-overlay:not([aria-modal='true'])::backdrop {
2568
+ background: transparent;
2569
+ backdrop-filter: none;
2570
+ pointer-events: none;
2571
+ }
2572
+
2573
+ /* Field peers anchor at their first row; editor/feedback growth goes down.
2574
+ Bare actions retain the navbar's centered treatment. */
2575
+ .element-navbar-actions > .element-field {
2576
+ align-self: flex-start;
2577
+ }
2578
+
2579
+ /* Managed feedback viewport: theme spacing, bounded scrolling and independent items. */
2580
+ .element-feedback-viewport {
2581
+ --element-feedback-viewport-padding: 1rem;
2582
+ --element-feedback-outline-width: 2px;
2583
+ --element-feedback-outline-offset: 2px;
2584
+ position: fixed;
2585
+ inset-inline-end: 0;
2586
+ top: 0;
2587
+ inline-size: min(26rem, 100vw);
2588
+ box-sizing: border-box;
2589
+ padding: var(--element-feedback-viewport-padding);
2590
+ max-block-size: 100dvh;
2591
+ display: flex;
2592
+ flex-direction: column;
2593
+ gap: 0.75rem;
2594
+ overflow: auto;
2595
+ overscroll-behavior: contain;
2596
+ pointer-events: none;
2597
+ }
2598
+ .element-feedback-viewport:empty {
2599
+ display: none;
2600
+ }
2601
+ .element-feedback-viewport[data-placement^='bottom'] {
2602
+ top: auto;
2603
+ bottom: 0;
2604
+ }
2605
+ .element-feedback-viewport[data-placement$='start'] {
2606
+ inset-inline-start: 0;
2607
+ inset-inline-end: auto;
2608
+ }
2609
+ .element-feedback-viewport[data-placement$='center'] {
2610
+ inset-inline-start: 50%;
2611
+ inset-inline-end: auto;
2612
+ transform: translateX(-50%);
2613
+ }
2614
+ .element-feedback-viewport > * {
2615
+ flex: none;
2616
+ pointer-events: auto;
2617
+ max-inline-size: 100%;
2618
+ }
2619
+ .element-feedback-item {
2620
+ position: relative;
2621
+ overflow-wrap: anywhere;
2622
+ }
2623
+ /* Direct content-region focus represents the delivery; child controls own their cues.
2624
+ Paint outside the surface without replacing its native shadow/elevation. */
2625
+ .element-feedback-item:focus-visible,
2626
+ .element-feedback-item:has(
2627
+ > .el-message__content > .element-feedback-body:focus-visible
2628
+ ),
2629
+ .element-feedback-item:has(
2630
+ > .el-notification__group
2631
+ > .el-notification__content
2632
+ > .element-feedback-body:focus-visible
2633
+ ) {
2634
+ outline: var(--element-feedback-outline-width) solid var(--el-color-primary);
2635
+ outline-offset: var(--element-feedback-outline-offset);
2636
+ }
2637
+ /* The content region's indicator is painted on the enclosing surface above. */
2638
+ .element-feedback-body:focus-visible {
2639
+ outline: none;
2640
+ }
2641
+ .element-feedback-viewport:focus-visible {
2642
+ outline: var(--element-feedback-outline-width) solid var(--el-color-primary);
2643
+ outline-offset: -3px;
2644
+ }
2645
+ @media (forced-colors: active) {
2646
+ .element-feedback-item:focus-visible,
2647
+ .element-feedback-item:has(
2648
+ > .el-message__content > .element-feedback-body:focus-visible
2649
+ ),
2650
+ .element-feedback-item:has(
2651
+ > .el-notification__group
2652
+ > .el-notification__content
2653
+ > .element-feedback-body:focus-visible
2654
+ ),
2655
+ .element-feedback-viewport:focus-visible {
2656
+ outline-color: Highlight;
2657
+ }
2658
+ }
2659
+ .element-feedback-announcement {
2660
+ position: absolute;
2661
+ inset: 0 auto auto 0;
2662
+ inline-size: 1px;
2663
+ block-size: 1px;
2664
+ overflow: hidden;
2665
+ clip-path: inset(50%);
2666
+ white-space: nowrap;
2667
+ }
2668
+ /* Native message/notification components participate in the managed flow instead of global offsets. */
2669
+ .element-feedback-item.element-managed-feedback {
2670
+ position: relative;
2671
+ inset: auto !important;
2672
+ inline-size: 100%;
2673
+ max-inline-size: 100%;
2674
+ margin: 0;
2675
+ }
2676
+ .element-feedback-item .el-notification__group {
2677
+ min-inline-size: 0;
2678
+ flex: 1;
2679
+ }
2680
+
2681
+ /* Message uses a non-centered placement so native entry never shifts it sideways. */
2682
+ .element-feedback-item .el-message__content {
2683
+ flex: 1;
2684
+ min-inline-size: 0;
2685
+ }
2686
+ .element-feedback-item .element-feedback-body {
2687
+ padding-inline-end: 1.5rem;
2688
+ }
2689
+ .element-feedback-item .element-feedback-close.el-button {
2690
+ position: absolute;
2691
+ inset-inline-end: 15px;
2692
+ top: 11px;
2693
+ padding: 0;
2694
+ width: auto;
2695
+ height: auto;
2696
+ border: 0;
2697
+ color: var(--el-message-close-icon-color);
2698
+ font-size: var(--el-message-close-size);
2699
+ }
2700
+ .element-feedback-item.el-notification .element-feedback-close {
2701
+ top: 18px;
2702
+ color: var(--el-notification-close-color);
2703
+ font-size: var(--el-notification-close-font-size);
2704
+ }
2705
+ .element-feedback-item .element-feedback-close:hover {
2706
+ color: var(--el-message-close-hover-color);
2707
+ }
2708
+ .element-feedback-item.el-notification .element-feedback-close:hover {
2709
+ color: var(--el-notification-close-hover-color);
2710
+ }
2711
+ /* Native notifications start a full card-width offscreen. Managed items are
2712
+ already tabbable during entry, so keep the card and ring inside the scrollport. */
2713
+ .element-feedback-item.element-managed-feedback.el-notification-fade-enter-from {
2714
+ --element-notification-entry-distance: max(
2715
+ 0px,
2716
+ calc(
2717
+ var(--element-feedback-viewport-padding) -
2718
+ var(--element-feedback-outline-width) -
2719
+ var(--element-feedback-outline-offset)
2720
+ )
2721
+ );
2722
+ transform: translateX(var(--element-notification-entry-distance));
2723
+ }
2724
+ .element-feedback-item.element-managed-feedback.el-notification-fade-enter-from:is(
2725
+ [data-placement$='start']:dir(ltr),
2726
+ :not([data-placement$='start']):dir(rtl)
2727
+ ) {
2728
+ transform: translateX(calc(-1 * var(--element-notification-entry-distance)));
2729
+ }
2730
+
2731
+ /* Side-region navbars stack by orientation, independently of available width. */
2732
+ .element-navbar[data-navbar-orientation='vertical'] {
2733
+ flex-direction: column;
2734
+ flex-wrap: nowrap;
2735
+ align-items: stretch;
2736
+ justify-content: flex-start;
2737
+ border-block: 0;
2738
+ }
2739
+ .element-navbar[data-navbar-orientation='vertical'] > .element-navbar-links {
2740
+ flex: 0 1 auto;
2741
+ flex-direction: column;
2742
+ align-items: flex-start;
2743
+ }
2744
+ .element-navbar[data-navbar-orientation='vertical'] > .element-navbar-actions {
2745
+ margin-inline-start: 0;
2746
+ }
2747
+ .element-navbar[data-navbar-orientation='vertical'][data-navigation-boundary='inline-start'] {
2748
+ border-inline-start: 1px solid var(--el-menu-border-color);
2749
+ }
2750
+ .element-navbar[data-navbar-orientation='vertical'][data-navigation-boundary='inline-end'] {
2751
+ border-inline-end: 1px solid var(--el-menu-border-color);
2752
+ }
2753
+ .element-navbar[data-navbar-orientation='vertical'] {
2754
+ min-block-size: 0;
2755
+ padding-block: var(--el-menu-base-level-padding);
2756
+ }
2757
+
2758
+ /* Reserve the native caret width; only the label may wrap inside an allocation.
2759
+ Inline flex retains the native th's physical text alignment and RTL order. */
2760
+ .element-table th.is-sortable > .cell {
2761
+ display: inline-flex;
2762
+ max-width: 100%;
2763
+ align-items: center;
2764
+ }
2765
+ .element-table th.is-sortable > .cell > .caret-wrapper {
2766
+ flex-shrink: 0;
2767
+ }
2768
+ .element-table-header-copy {
2769
+ display: inline-flex;
2770
+ min-width: 0;
2771
+ flex-wrap: nowrap;
2772
+ align-items: center;
2773
+ }
2774
+
2775
+ /* Compact column filter affordance; popup content has its own layout. */
2776
+ .element-table-filter {
2777
+ display: inline-flex;
2778
+ align-items: center;
2779
+ justify-content: center;
2780
+ vertical-align: middle;
2781
+ flex-shrink: 0;
2782
+ margin-inline-start: 0.25em;
2783
+ padding: 0.125em;
2784
+ border: 0;
2785
+ border-radius: 0.25em;
2786
+ background: transparent;
2787
+ color: inherit;
2788
+ font: inherit;
2789
+ cursor: pointer;
2790
+ }
2791
+ .element-table-filter:disabled {
2792
+ cursor: default;
2793
+ opacity: 0.5;
2794
+ }
2795
+ .element-table-filter[data-filter-active] {
2796
+ color: var(--el-color-primary);
2797
+ }
2798
+ .element-table-filter:focus-visible {
2799
+ outline: 2px solid currentColor;
2800
+ outline-offset: 1px;
2801
+ }
2802
+ .element-table-filter .table-filter-icon {
2803
+ display: block;
2804
+ width: 1em;
2805
+ height: 1em;
2806
+ }
2807
+
2808
+ .element-table-header-copy > .element-table-filter-host {
2809
+ flex-shrink: 0;
2810
+ }
2811
+
2812
+ /* Admitted ordinary editors divide the shared surface without owning its edge. */
2813
+ .el-input.element-control-frame-part {
2814
+ flex: 1 1 5ch;
2815
+ min-inline-size: var(
2816
+ --ui-text-min-width,
2817
+ min(3ch, var(--ui-text-max-width, 3ch))
2818
+ );
2819
+ inline-size: 5ch;
2820
+ max-inline-size: min(100%, var(--ui-text-max-width, 100%));
2821
+ }
2822
+
2823
+ .element-button-host[data-ui-control-frame='parent'] > .el-button {
2824
+ height: auto;
2825
+ min-height: 1.5em;
2826
+ padding-block: 0;
2827
+ font-size: inherit;
2828
+ }
2829
+
2830
+ /* Auto margin receives space only after growing editors reach their caps. */
2831
+ .element-plus-input-frame-spacer {
2832
+ display: block;
2833
+ flex: 0 0 0;
2834
+ inline-size: 0;
2835
+ min-inline-size: 0;
2836
+ margin-inline-start: auto;
2837
+ pointer-events: none;
2838
+ }
2839
+
2840
+ /* Export the first editable row, not a leading decoration, as the frame baseline.
2841
+ Native minimum-height space stays around the line; icons/actions stay centered. */
2842
+ .element-input-frame {
2843
+ align-content: center;
2844
+ }
2845
+ .el-input.element-control-frame-part {
2846
+ align-self: baseline;
2847
+ }
2848
+
2849
+ .element-input-frame-host,
2850
+ .element-text-input {
2851
+ vertical-align: baseline;
2852
+ }
2853
+ /* ElButton wraps the default slot; choose that wrapper ahead of its icon. */
2854
+ .element-button:not(.element-button-icon-only) {
2855
+ flex-wrap: wrap;
2856
+ align-content: center;
2857
+ }
2858
+ .element-button:not(.element-button-icon-only)
2859
+ > span:has(> .element-button-label) {
2860
+ align-self: baseline;
2861
+ }
2862
+
2863
+ /* Row allocation and row alignment are independent. Slot wrappers stay keyed. */
2864
+ .element-collection-footer {
2865
+ display: flex;
2866
+ flex-wrap: wrap;
2867
+ align-items: center;
2868
+ justify-content: flex-start;
2869
+ column-gap: 12px;
2870
+ row-gap: 0;
2871
+ inline-size: 100%;
2872
+ min-inline-size: 0;
2873
+ max-inline-size: 100%;
2874
+ flex: 0 0 auto;
2875
+ }
2876
+ .element-collection-footer > [data-footer-part] {
2877
+ flex: 0 1 auto;
2878
+ inline-size: max-content;
2879
+ min-inline-size: 0;
2880
+ max-inline-size: 100%;
2881
+ }
2882
+ .element-collection-footer
2883
+ > [data-footer-part]:not([data-footer-row='0']):not([data-footer-row='-1']) {
2884
+ margin-block-start: 12px;
2885
+ }
2886
+ .element-collection-footer > .element-collection-footer-break {
2887
+ flex: 0 0 100%;
2888
+ block-size: 0;
2889
+ min-block-size: 0;
2890
+ }
2891
+ .element-collection-footer > .element-collection-footer-info {
2892
+ color: var(--el-text-color-regular);
2893
+ font-size: 0.875rem;
2894
+ overflow-wrap: anywhere;
2895
+ }
2896
+ .element-collection-footer > [data-navigation-start] {
2897
+ margin-inline-start: auto;
2898
+ }
2899
+ .element-collection-footer-paginator {
2900
+ display: flex;
2901
+ justify-content: flex-start;
2902
+ }
2903
+ .element-paginator[data-compact] {
2904
+ flex-wrap: nowrap;
2905
+ gap: 0.25rem;
2906
+ }
2907
+ .element-paginator-direction {
2908
+ display: inline-block;
2909
+ }
2910
+ .element-paginator-direction:dir(rtl) {
2911
+ transform: scaleX(-1);
2912
+ }
2913
+ .element-paginator[data-compact] > .el-pagination {
2914
+ white-space: nowrap;
2915
+ }
2916
+ .element-paginator[data-compact] > .el-button {
2917
+ margin-inline-start: 0;
2918
+ }
2919
+
2920
+ /* Five visible digit cells; native padding/borders are additional, never maxlength. */
2921
+ .element-paginator-jumper input {
2922
+ box-sizing: content-box;
2923
+ inline-size: 5ch;
2924
+ min-inline-size: 5ch;
2925
+ flex: 0 0 auto;
2926
+ }
2927
+ .element-paginator-jumper .el-input {
2928
+ inline-size: auto;
2929
+ }
2930
+ .element-paginator-jumper > .el-form-item__content {
2931
+ flex: 0 0 auto;
2932
+ }
2933
+
2934
+ /* Collection intent groups use native controls; no competing table/query engine. */
2935
+ .element-collection-header {
2936
+ --collection-header-gap: 12px;
2937
+ min-inline-size: 0;
2938
+ max-inline-size: 100%;
2939
+ inline-size: 100%;
2940
+ flex: 0 0 auto;
2941
+ }
2942
+ .element-collection-header-primary,
2943
+ .element-collection-header-part {
2944
+ display: flex;
2945
+ flex-wrap: wrap;
2946
+ align-items: baseline;
2947
+ gap: var(--collection-header-gap, 12px);
2948
+ min-inline-size: 0;
2949
+ max-inline-size: 100%;
2950
+ }
2951
+ .element-collection-header-primary {
2952
+ inline-size: 100%;
2953
+ }
2954
+ .element-collection-header-part {
2955
+ flex: 0 1 auto;
2956
+ }
2957
+ .element-collection-header-part > * {
2958
+ min-inline-size: 0;
2959
+ max-inline-size: 100%;
2960
+ }
2961
+ .element-collection-header-part[data-separate] {
2962
+ margin-inline-start: auto;
2963
+ }
2964
+ .element-collection-header-part[data-new-row] {
2965
+ flex-basis: 100%;
2966
+ inline-size: 100%;
2967
+ }
2968
+ .element-collection-header-part[data-grow] {
2969
+ flex: 1 1 0;
2970
+ }
2971
+ .element-collection-header-part[data-grow] > * {
2972
+ inline-size: 100%;
2973
+ }
2974
+ .element-collection-header-part[data-stacked] {
2975
+ flex-direction: column;
2976
+ align-items: stretch;
2977
+ }
2978
+ .element-collection-header-part[data-contents] {
2979
+ display: contents;
2980
+ }
2981
+ .element-collection-header-primary[data-align-editors],
2982
+ .element-collection-header-primary[data-align-editors]
2983
+ .element-collection-header-part {
2984
+ align-items: flex-start;
2985
+ }
2986
+ .element-collection-header [data-ui-header-aligned] {
2987
+ padding-block-start: var(--ui-header-editor-offset, 0px);
2988
+ }
2989
+
2990
+ /* Sort rules and Add sort share native-sized tracks without hidden controls. */
2991
+ .element-collection-sort-layout {
2992
+ min-inline-size: 0;
2993
+ }
2994
+ .element-collection-sort-layout[data-sort-part='panel'] {
2995
+ display: grid;
2996
+ grid-template-columns: minmax(0, 1fr) max-content;
2997
+ gap: 4px;
2998
+ align-items: center;
2999
+ inline-size: 100%;
3000
+ }
3001
+ .element-collection-sort-layout[data-sort-part='panel'][data-sort-multiple] {
3002
+ grid-template-columns: max-content minmax(0, 1fr) max-content;
3003
+ }
3004
+ .element-collection-sort-layout[data-sort-part='row'] {
3005
+ display: grid;
3006
+ grid-template-columns: subgrid;
3007
+ grid-column: 1 / -1;
3008
+ align-items: center;
3009
+ }
3010
+ .element-collection-sort-layout[data-sort-part='movement'] {
3011
+ display: flex;
3012
+ align-items: center;
3013
+ gap: 0;
3014
+ }
3015
+ .element-collection-sort-layout[data-sort-part='remove'] {
3016
+ display: flex;
3017
+ align-items: center;
3018
+ }
3019
+ .element-collection-sort-layout[data-sort-part='add'] {
3020
+ grid-column: 1;
3021
+ justify-self: start;
3022
+ }
3023
+ .element-collection-sort-layout[data-sort-part='panel'][data-sort-multiple]
3024
+ > .element-collection-sort-layout[data-sort-part='add'] {
3025
+ grid-column: 2;
3026
+ }
3027
+
3028
+ /* Element Plus 2.14.7 supplies tag heights as rules, not --el-tag-height.
3029
+ Preserve its default/small/large minima while allowing long summaries to grow. */
3030
+ .element-query-badge {
3031
+ max-inline-size: 100%;
3032
+ height: auto;
3033
+ min-block-size: 24px;
3034
+ }
3035
+ .element-query-badge.el-tag--small {
3036
+ min-block-size: 20px;
3037
+ }
3038
+ .element-query-badge.el-tag--large {
3039
+ min-block-size: 32px;
3040
+ }
3041
+ .element-query-badge-content {
3042
+ display: inline-flex;
3043
+ align-items: center;
3044
+ gap: 0.35em;
3045
+ min-inline-size: 0;
3046
+ white-space: normal;
3047
+ overflow-wrap: anywhere;
3048
+ }
3049
+ .element-query-badge-content [data-icon] {
3050
+ flex-shrink: 0;
3051
+ }
3052
+ .element-query-badge .el-tag__content {
3053
+ min-inline-size: 0;
3054
+ }
3055
+ .element-query-badge .el-tag__close {
3056
+ flex-shrink: 0;
3057
+ }
3058
+
3059
+ /* Source-query precedence participates in intrinsic header measurement. */
3060
+ .element-table-sort-priority {
3061
+ flex-shrink: 0;
3062
+ font-size: 0.75em;
3063
+ font-variant-numeric: tabular-nums;
3064
+ white-space: nowrap;
3065
+ margin-inline-start: 0.25em;
3066
+ }
3067
+
3068
+ /* Button width is independent of its containing layout allocation. */
3069
+ .element-button-host[data-ui-button-width='full'] {
3070
+ inline-size: 100%;
3071
+ }
3072
+ .element-button-host[data-ui-button-width='content'] {
3073
+ inline-size: fit-content;
3074
+ }
3075
+
3076
+ /* A real flex line boundary lets actions join sorting without CSS reordering. */
3077
+ .element-collection-header-part[data-line-break] {
3078
+ flex: 0 0 100%;
3079
+ block-size: 0;
3080
+ min-block-size: 0;
3081
+ margin-block: calc(var(--collection-header-gap) / -2);
3082
+ padding: 0;
3083
+ }
3084
+ .element-collection-header-part[data-header-part='actions'] {
3085
+ align-self: flex-start;
3086
+ }
3087
+
3088
+ /* Sort badge gestures keep native badge dimensions and independent removal. */
3089
+ .element-query-badge {
3090
+ position: relative;
3091
+ }
3092
+ .element-query-badge-content[data-ui-sort-reorder] {
3093
+ cursor: grab;
3094
+ touch-action: pan-y pinch-zoom;
3095
+ user-select: none;
3096
+ }
3097
+ .element-query-badge-content[data-ui-sort-reorder]:focus-visible {
3098
+ outline: 2px solid currentColor;
3099
+ outline-offset: 2px;
3100
+ border-radius: 2px;
3101
+ }
3102
+ .element-query-badge[data-ui-sort-dragging] {
3103
+ opacity: 0.6;
3104
+ }
3105
+ .element-query-badge[data-ui-sort-dragging] [data-ui-sort-reorder] {
3106
+ cursor: grabbing;
3107
+ }
3108
+ .element-query-badge[data-ui-sort-drop]::after {
3109
+ content: '';
3110
+ position: absolute;
3111
+ inset-block: 0;
3112
+ inline-size: 2px;
3113
+ background: currentColor;
3114
+ pointer-events: none;
3115
+ }
3116
+ .element-query-badge[data-ui-sort-drop='before']::after {
3117
+ inset-inline-start: -3px;
3118
+ }
3119
+ .element-query-badge[data-ui-sort-drop='after']::after {
3120
+ inset-inline-end: -3px;
3121
+ }
3122
+ .element-query-badge-announcement {
3123
+ position: absolute;
3124
+ inset-block-start: 0;
3125
+ inset-inline-start: 0;
3126
+ inline-size: 1px;
3127
+ block-size: 1px;
3128
+ overflow: hidden;
3129
+ clip-path: inset(50%);
3130
+ white-space: nowrap;
3131
+ }
3132
+
3133
+ /* Reorder focus represents the complete criterion; removal keeps its own focus. */
3134
+ @supports selector(:has(*)) {
3135
+ .element-query-badge:has(
3136
+ .element-query-badge-content[data-ui-sort-reorder]:focus-visible
3137
+ ) {
3138
+ outline: 2px solid currentColor;
3139
+ outline-offset: 2px;
3140
+ }
3141
+ .element-query-badge
3142
+ .element-query-badge-content[data-ui-sort-reorder]:focus-visible {
3143
+ outline: none;
3144
+ }
3145
+ }
3146
+
3147
+ /* Floating launcher and drawer allocation integration. */
3148
+ .element-plus-floating {
3149
+ --ui-floating-clearance: 12;
3150
+ width: max-content;
3151
+ max-width: calc(100dvw - 24px);
3152
+ max-height: calc(100dvh - 24px);
3153
+ }
3154
+ /* A standalone icon action must remain visible over arbitrary page content.
3155
+ Keep native button interaction/focus; the immediate host supplies its surface. */
3156
+ .element-plus-floating
3157
+ > .element-button-host:has(> [data-ui-button-variant='icon']) {
3158
+ background: var(--el-bg-color-overlay);
3159
+ border: 1px solid var(--el-border-color);
3160
+ border-radius: 50%;
3161
+ box-shadow: var(--el-box-shadow-light);
3162
+ }
3163
+ .element-plus-floating
3164
+ > .element-button-host
3165
+ > [data-ui-button-variant='icon'] {
3166
+ min-inline-size: 3rem;
3167
+ min-block-size: 3rem;
3168
+ font-size: 1.5rem;
3169
+ border-radius: inherit;
3170
+ }
3171
+ .element-plus-floating[data-draggable] {
3172
+ touch-action: none;
3173
+ }
3174
+ .element-plus-floating-move {
3175
+ position: absolute;
3176
+ inset-inline-end: 0;
3177
+ inset-block-start: 100%;
3178
+ max-width: calc(100dvw - 24px);
3179
+ padding: 0.5rem;
3180
+ background: var(--el-bg-color-overlay);
3181
+ color: var(--el-text-color-primary);
3182
+ border: 1px solid var(--el-border-color);
3183
+ }
3184
+ .element-plus-floating-move label {
3185
+ display: flex;
3186
+ flex-direction: column;
3187
+ }
3188
+ .element-plus-floating-move input {
3189
+ touch-action: auto;
3190
+ }
3191
+ .element-overlay[data-ui-overlay='drawer'][data-docked] {
3192
+ position: relative !important;
3193
+ inset: auto !important;
3194
+ margin: 0 !important;
3195
+ max-width: none !important;
3196
+ max-height: none !important;
3197
+ height: 100%;
3198
+ display: flex;
3199
+ visibility: visible;
3200
+ flex-direction: column;
3201
+ }
3202
+ [data-ui-overlay='drawer'][data-docked][hidden] {
3203
+ display: none !important;
3204
+ }
3205
+ .element-plus-drawer-resize {
3206
+ position: absolute;
3207
+ touch-action: none;
3208
+ background: transparent;
3209
+ outline-offset: -2px;
3210
+ }
3211
+ [data-edge='end'] > .element-plus-drawer-resize {
3212
+ inset-inline-start: 0;
3213
+ inset-block: 0;
3214
+ width: 8px;
3215
+ cursor: ew-resize;
3216
+ }
3217
+ [data-edge='start'] > .element-plus-drawer-resize {
3218
+ inset-inline-end: 0;
3219
+ inset-block: 0;
3220
+ width: 8px;
3221
+ cursor: ew-resize;
3222
+ }
3223
+ [data-edge='top'] > .element-plus-drawer-resize {
3224
+ inset-block-end: 0;
3225
+ inset-inline: 0;
3226
+ height: 8px;
3227
+ cursor: ns-resize;
3228
+ }
3229
+ [data-edge='bottom'] > .element-plus-drawer-resize {
3230
+ inset-block-start: 0;
3231
+ inset-inline: 0;
3232
+ height: 8px;
3233
+ cursor: ns-resize;
3234
+ }
3235
+ .element-plus-drawer-resize:focus-visible {
3236
+ outline: 2px solid currentColor;
3237
+ }
3238
+
3239
+ /* A retained overlay can stay below an already-live native child popup. */
3240
+ .element-overlay[data-ui-overlay='drawer'][data-css-panel] {
3241
+ display: flex;
3242
+ visibility: visible;
3243
+ flex-direction: column;
3244
+ }
3245
+ [data-ui-overlay='drawer'][data-css-panel][hidden] {
3246
+ display: none !important;
3247
+ }
3248
+
3249
+ /* Standalone/group checkable text must wrap inside its field allocation.
3250
+ Retain native row minima and glyphs while allowing multiline labels. */
3251
+ .element-checkbox > .el-checkbox,
3252
+ .element-choice > :is(.el-checkbox, .el-radio) {
3253
+ max-inline-size: 100%;
3254
+ min-inline-size: 0;
3255
+ block-size: auto;
3256
+ min-block-size: var(--el-component-size);
3257
+ white-space: normal;
3258
+ }
3259
+ .element-checkbox > .el-checkbox--small,
3260
+ .element-choice > :is(.el-checkbox--small, .el-radio--small) {
3261
+ min-block-size: var(--el-component-size-small);
3262
+ }
3263
+ .element-checkbox > .el-checkbox--large,
3264
+ .element-choice > :is(.el-checkbox--large, .el-radio--large) {
3265
+ min-block-size: var(--el-component-size-large);
3266
+ }
3267
+ .element-checkbox > .el-checkbox > .el-checkbox__label,
3268
+ .element-choice
3269
+ > :is(.el-checkbox, .el-radio)
3270
+ > :is(.el-checkbox__label, .el-radio__label) {
3271
+ min-inline-size: 0;
3272
+ line-height: 1.5;
3273
+ overflow-wrap: anywhere;
3274
+ }
3275
+ .element-switch-field > .el-switch {
3276
+ flex-shrink: 0;
3277
+ }
3278
+ .element-switch-field > label {
3279
+ min-inline-size: 0;
3280
+ line-height: 1.5;
3281
+ overflow-wrap: anywhere;
3282
+ }
3283
+
3284
+ @media (min-width: 40rem) {
3285
+ .element-field[data-ui-checkable='control-aligned']:not(
3286
+ [data-ui-checkable-group]
3287
+ )
3288
+ > .el-form-item__content {
3289
+ margin-inline-start: 25% !important;
3290
+ }
3291
+ }
3292
+
3293
+ [data-ui-drawer-layout][data-ui-drawer-motion] {
3294
+ transition:
3295
+ grid-template-columns var(--el-transition-duration, 0.3s) ease,
3296
+ grid-template-rows var(--el-transition-duration, 0.3s) ease;
3297
+ }
3298
+ @media (prefers-reduced-motion: reduce) {
3299
+ [data-ui-drawer-layout][data-ui-drawer-motion] {
3300
+ transition: none;
3301
+ }
3302
+ }
3303
+
3304
+ /* Drawer presentation owns the shared-edge line and depth. The docking
3305
+ frame separates this paint from clipped motion; layouts only allocate. */
3306
+ .element-drawer-dock {
3307
+ position: relative;
3308
+ min-width: 0;
3309
+ min-height: 0;
3310
+ }
3311
+ .element-drawer-dock-motion {
3312
+ overflow: clip;
3313
+ height: 100%;
3314
+ min-height: 0;
3315
+ }
3316
+ /* Keep the full-size moving surface anchored at its attached outer edge.
3317
+ Its main-facing edge then follows the animated allocation, including when
3318
+ the track is narrower/shorter than the retained surface. */
3319
+ .element-drawer-dock-motion {
3320
+ display: flex;
3321
+ flex-direction: column;
3322
+ }
3323
+ .element-drawer-dock-motion > [data-ui-overlay='drawer'][data-docked] {
3324
+ flex-shrink: 0;
3325
+ }
3326
+ .element-drawer-dock[data-edge='start'] > .element-drawer-dock-motion {
3327
+ align-items: start;
3328
+ }
3329
+ .element-drawer-dock[data-edge='end'] > .element-drawer-dock-motion {
3330
+ align-items: end;
3331
+ }
3332
+ .element-drawer-dock[data-edge='bottom'] > .element-drawer-dock-motion {
3333
+ justify-content: end;
3334
+ }
3335
+ .element-drawer-depth {
3336
+ position: absolute;
3337
+ inset: 0;
3338
+ pointer-events: none;
3339
+ container-type: size;
3340
+ }
3341
+ .element-drawer-dock > .element-drawer-depth {
3342
+ display: none;
3343
+ }
3344
+ .element-drawer-dock:has([data-ui-overlay='drawer'][data-docked]:not([hidden]))
3345
+ > .element-drawer-depth {
3346
+ display: block;
3347
+ }
3348
+ .element-drawer-depth-shadow {
3349
+ position: absolute;
3350
+ left: 50%;
3351
+ top: 50%;
3352
+ width: 100cqw;
3353
+ height: 100cqh;
3354
+ transform: translate(-50%, -50%);
3355
+ box-sizing: border-box;
3356
+ border: 1px solid var(--el-border-color-light);
3357
+ box-shadow: var(--el-box-shadow-light);
3358
+ }
3359
+ /* Orient the native downward shadow toward main, retaining its theme recipe. */
3360
+ .element-drawer-depth[data-edge='top'] {
3361
+ clip-path: inset(calc(100% - 1px) 0 -100vmax 0);
3362
+ }
3363
+ .element-drawer-depth[data-edge='bottom'] {
3364
+ clip-path: inset(-100vmax 0 calc(100% - 1px) 0);
3365
+ }
3366
+ .element-drawer-depth[data-edge='bottom'] > span {
3367
+ transform: translate(-50%, -50%) scaleY(-1);
3368
+ }
3369
+ .element-drawer-depth:is([data-edge='start'], [data-edge='end']) > span {
3370
+ width: 100cqh;
3371
+ height: 100cqw;
3372
+ }
3373
+ .element-drawer-depth[data-edge='start'],
3374
+ .element-drawer-depth[data-edge='end']:dir(rtl) {
3375
+ clip-path: inset(0 -100vmax 0 calc(100% - 1px));
3376
+ }
3377
+ .element-drawer-depth[data-edge='start'] > span,
3378
+ .element-drawer-depth[data-edge='end']:dir(rtl) > span {
3379
+ transform: translate(-50%, -50%) rotate(-90deg);
3380
+ }
3381
+ .element-drawer-depth[data-edge='end'],
3382
+ .element-drawer-depth[data-edge='start']:dir(rtl) {
3383
+ clip-path: inset(0 calc(100% - 1px) 0 -100vmax);
3384
+ }
3385
+ .element-drawer-depth[data-edge='end'] > span,
3386
+ .element-drawer-depth[data-edge='start']:dir(rtl) > span {
3387
+ transform: translate(-50%, -50%) rotate(90deg);
3388
+ }
3389
+ @media (forced-colors: active) {
3390
+ .element-drawer-depth-shadow {
3391
+ border-color: CanvasText;
3392
+ }
3393
+ }
3394
+
3395
+ /* Edge reconfiguration replaces track topology; it is not a slide between edges. */
3396
+ [data-ui-drawer-layout][data-ui-drawer-reconfigure],
3397
+ [data-ui-drawer-reconfigure]
3398
+ > .element-drawer-dock
3399
+ > .element-drawer-dock-motion
3400
+ > .element-overlay[data-docked] {
3401
+ transition: none !important;
3402
+ }
3403
+ [data-ui-drawer-reconfigure]
3404
+ > .element-drawer-dock
3405
+ > .element-drawer-dock-motion
3406
+ > .element-overlay[data-docked] {
3407
+ transform: none !important;
3408
+ }
3409
+
3410
+ .element-collection-data-summary {
3411
+ flex: none;
3412
+ min-inline-size: 0;
3413
+ padding-block-start: 0.75rem;
3414
+ overflow-wrap: anywhere;
3415
+ }
3416
+ .element-collection-summary-content {
3417
+ display: grid;
3418
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
3419
+ gap: 0.75rem 1.5rem;
3420
+ margin: 0;
3421
+ }
3422
+ .element-collection-summary-content > div {
3423
+ display: grid;
3424
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
3425
+ align-items: baseline;
3426
+ gap: 0.75rem;
3427
+ min-inline-size: 0;
3428
+ }
3429
+ .element-collection-summary-content dt {
3430
+ font-size: 0.875em;
3431
+ font-weight: 400;
3432
+ color: var(--el-text-color-secondary);
3433
+ }
3434
+ .element-collection-summary-content dd {
3435
+ min-inline-size: 0;
3436
+ margin: 0;
3437
+ text-align: end;
3438
+ font-size: 1.125em;
3439
+ font-weight: 600;
3440
+ font-variant-numeric: tabular-nums;
3441
+ }
3442
+
3443
+ .element-table [data-collection-summary-label] {
3444
+ white-space: normal;
3445
+ overflow-wrap: anywhere;
3446
+ }
3447
+
3448
+ /* A full-height form passes its bounded offer to one authored layout. */
3449
+ .element-form[data-form-full] {
3450
+ display: grid;
3451
+ grid-template-rows: minmax(0, 1fr);
3452
+ min-block-size: 0;
3453
+ block-size: 100%;
3454
+ flex: 1 1 auto;
3455
+ }
3456
+
3457
+ /* Delegate row scrolling while retaining the modal body's overflow fallback. */
3458
+ .element-modal-body[data-content-scroll] {
3459
+ display: flex;
3460
+ flex-direction: column;
3461
+ }
3462
+
3463
+ /* Supporting actions remain outside the table's row scrollport. */
3464
+ .element-collection-frame[data-collection-full] > .element-table-footer {
3465
+ flex: none;
3466
+ }
3467
+
3468
+ /* Creation is a decorative row, not a mounted record/editor or loading state. */
3469
+ .element-table-add-track {
3470
+ background: var(--el-bg-color);
3471
+ color: var(--el-text-color-regular);
3472
+ }
3473
+ .element-table .element-table-add-track > td {
3474
+ padding: 0;
3475
+ background: var(--el-bg-color);
3476
+ }
3477
+ .element-table-add-preview {
3478
+ display: grid;
3479
+ position: relative;
3480
+ inline-size: 100%;
3481
+ min-inline-size: 0;
3482
+ box-sizing: border-box;
3483
+ }
3484
+ .element-table-add-cell {
3485
+ grid-row: 1;
3486
+ min-inline-size: 0;
3487
+ padding: 0.5rem 12px;
3488
+ box-sizing: border-box;
3489
+ pointer-events: none;
3490
+ }
3491
+ .element-table-add-cell > span {
3492
+ display: block;
3493
+ block-size: 2rem;
3494
+ background: color-mix(
3495
+ in srgb,
3496
+ var(--el-text-color-regular) 7%,
3497
+ var(--el-bg-color)
3498
+ );
3499
+ }
3500
+ .element-table-add-action {
3501
+ position: sticky;
3502
+ inset-inline-start: 0;
3503
+ grid-column: 1 / -1;
3504
+ grid-row: 1;
3505
+ display: flex;
3506
+ align-items: center;
3507
+ justify-content: center;
3508
+ max-inline-size: 100%;
3509
+ padding-block: 0.5rem;
3510
+ box-sizing: border-box;
3511
+ pointer-events: none;
3512
+ }
3513
+ .element-table-add-action > * {
3514
+ pointer-events: auto;
3515
+ }
3516
+
3517
+ /* Native last-row suppression assumes the record body meets the footer.
3518
+ A following creation body is another row, so retain the ordinary divider. */
3519
+ .element-table.el-table
3520
+ .el-table__body
3521
+ > tbody:has(+ .element-table-add-body)
3522
+ > tr:last-child
3523
+ > td.el-table__cell {
3524
+ border-bottom: var(--el-table-border);
3525
+ }
3526
+
3527
+ /* The summary owns the visible boundary above its pinned surface. */
3528
+ .element-table tfoot[data-collection-summary] > tr > td {
3529
+ border-block-start: 1px solid var(--el-border-color);
3530
+ }
3531
+
3532
+ .element-plus-progress-bar {
3533
+ inline-size: 100%;
3534
+ min-inline-size: 0;
3535
+ }
3536
+ .element-plus-progress-bar:dir(rtl) .el-progress-bar__inner {
3537
+ float: right;
3538
+ }
3539
+ @media (prefers-reduced-motion: reduce) {
3540
+ .element-plus-progress-bar .el-progress-bar__inner {
3541
+ transition: none;
3542
+ }
3543
+ .element-plus-progress-bar[data-state='indeterminate']
3544
+ .el-progress-bar__inner {
3545
+ animation: none;
3546
+ transform: none;
3547
+ margin-inline-start: 32.5%;
3548
+ }
3549
+ }