@uninterface/backend-element-plus 0.0.0-stage → 2.14.0-alpha1

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