filecove 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/components/buttons/toolbar-actions.d.ts +1 -1
  3. package/dist/components/buttons/tooltip-icon-button.d.ts +1 -1
  4. package/dist/components/downloads/download-panel.d.ts +1 -1
  5. package/dist/components/drag/drag-preview.d.ts +24 -0
  6. package/dist/components/file-manager/announcer.d.ts +1 -1
  7. package/dist/components/file-manager/content/file-grid.d.ts +1 -1
  8. package/dist/components/file-manager/content/file-list.d.ts +1 -1
  9. package/dist/components/file-manager/content/folder-view.d.ts +1 -1
  10. package/dist/components/file-manager/content/item-icon.d.ts +1 -1
  11. package/dist/components/file-manager/content/search-results.d.ts +1 -1
  12. package/dist/components/file-manager/content/search-tabs.d.ts +1 -1
  13. package/dist/components/file-manager/content/trash-bar.d.ts +1 -1
  14. package/dist/components/file-manager/context-menu/context-menu.d.ts +1 -1
  15. package/dist/components/file-manager/dialogs/conflict-step.d.ts +1 -1
  16. package/dist/components/file-manager/dialogs/delete-dialog.d.ts +3 -2
  17. package/dist/components/file-manager/dialogs/image-viewer.d.ts +1 -1
  18. package/dist/components/file-manager/dialogs/name-dialog.d.ts +1 -1
  19. package/dist/components/file-manager/dialogs/paste-dialog.d.ts +1 -1
  20. package/dist/components/file-manager/dialogs/preview-dialog.d.ts +2 -2
  21. package/dist/components/file-manager/dialogs/restore-dialog.d.ts +1 -1
  22. package/dist/components/file-manager/dialogs/shortcuts-dialog.d.ts +1 -1
  23. package/dist/components/file-manager/dialogs/transfer-dialog.d.ts +2 -2
  24. package/dist/components/file-manager/dialogs/upload-dialog.d.ts +1 -1
  25. package/dist/components/file-manager/file-manager.d.ts +1 -1
  26. package/dist/components/file-manager/header-bar/header-bar.d.ts +1 -1
  27. package/dist/components/file-manager/header-bar/history-menu.d.ts +1 -1
  28. package/dist/components/file-manager/header-bar/path-bar.d.ts +1 -1
  29. package/dist/components/file-manager/header-bar/search-field.d.ts +1 -1
  30. package/dist/components/file-manager/header-bar/search-sections-menu.d.ts +1 -1
  31. package/dist/components/file-manager/header-bar/view-menu.d.ts +1 -1
  32. package/dist/components/file-manager/notice-bar.d.ts +1 -1
  33. package/dist/components/file-manager/properties-pane.d.ts +2 -2
  34. package/dist/components/file-manager/sidebar/location-item.d.ts +1 -1
  35. package/dist/components/file-manager/sidebar/main-menu.d.ts +1 -1
  36. package/dist/components/file-manager/sidebar/sidebar.d.ts +2 -2
  37. package/dist/components/icons/create-icon.d.ts +1 -1
  38. package/dist/components/icons/icon-provider.d.ts +1 -1
  39. package/dist/components/icons/icon-slot.d.ts +1 -1
  40. package/dist/components/icons/icon.d.ts +1 -1
  41. package/dist/components/media-manager/asset-delete.d.ts +20 -8
  42. package/dist/components/media-manager/asset-hold.d.ts +1 -1
  43. package/dist/components/media-manager/asset-option.d.ts +13 -2
  44. package/dist/components/media-manager/asset-trail.d.ts +1 -1
  45. package/dist/components/media-manager/choice-list.d.ts +1 -1
  46. package/dist/components/media-manager/choices-pane.d.ts +1 -1
  47. package/dist/components/media-manager/group-create.d.ts +1 -1
  48. package/dist/components/media-manager/group-path.d.ts +8 -2
  49. package/dist/components/media-manager/library-list.d.ts +4 -2
  50. package/dist/components/media-manager/media-asset.d.ts +19 -7
  51. package/dist/components/media-manager/media-edit-many.d.ts +33 -0
  52. package/dist/components/media-manager/media-fields.d.ts +1 -1
  53. package/dist/components/media-manager/media-filter-chips.d.ts +17 -0
  54. package/dist/components/media-manager/media-filters-dialog.d.ts +39 -0
  55. package/dist/components/media-manager/media-filters.d.ts +37 -0
  56. package/dist/components/media-manager/media-form.d.ts +3 -1
  57. package/dist/components/media-manager/media-frame.d.ts +7 -3
  58. package/dist/components/media-manager/media-grid.d.ts +34 -5
  59. package/dist/components/media-manager/media-group.d.ts +1 -1
  60. package/dist/components/media-manager/media-header.d.ts +20 -3
  61. package/dist/components/media-manager/media-manager.d.ts +33 -10
  62. package/dist/components/media-manager/media-move.d.ts +19 -11
  63. package/dist/components/media-manager/media-picker.d.ts +25 -7
  64. package/dist/components/media-manager/media-picture.d.ts +1 -1
  65. package/dist/components/media-manager/media-process.d.ts +1 -1
  66. package/dist/components/media-manager/media-row.d.ts +1 -1
  67. package/dist/components/media-manager/media-tile.d.ts +1 -1
  68. package/dist/components/media-manager/media-upload.d.ts +28 -6
  69. package/dist/components/media-manager/picker-frame.d.ts +6 -2
  70. package/dist/components/media-manager/selection-bar.d.ts +25 -0
  71. package/dist/components/media-manager/upload-tile.d.ts +5 -3
  72. package/dist/components/properties/properties-panel.d.ts +9 -3
  73. package/dist/components/properties/property-display.d.ts +1 -1
  74. package/dist/components/properties/property-editor.d.ts +1 -1
  75. package/dist/components/properties/property-input.d.ts +1 -1
  76. package/dist/components/transfers/transfer-panel.d.ts +1 -1
  77. package/dist/components/ui/dialog.d.ts +1 -1
  78. package/dist/components/ui/root-providers.d.ts +1 -1
  79. package/dist/components/uploads/upload-panel.d.ts +8 -2
  80. package/dist/contexts/cut-context.d.ts +1 -1
  81. package/dist/contexts/data-context.d.ts +3 -3
  82. package/dist/contexts/direction-context.d.ts +1 -1
  83. package/dist/contexts/drag-context.d.ts +1 -1
  84. package/dist/contexts/icon-context.d.ts +1 -1
  85. package/dist/contexts/locale-context.d.ts +1 -1
  86. package/dist/contexts/moving-context.d.ts +1 -1
  87. package/dist/hooks/use-asset-states.d.ts +1 -1
  88. package/dist/hooks/use-clipboard-follow.d.ts +2 -2
  89. package/dist/hooks/use-cut-ids.d.ts +1 -1
  90. package/dist/hooks/use-dev-checks.d.ts +16 -0
  91. package/dist/hooks/use-download-queue.d.ts +3 -3
  92. package/dist/hooks/use-dragged-ids.d.ts +1 -1
  93. package/dist/hooks/use-drop-target.d.ts +1 -1
  94. package/dist/hooks/use-entry-drag.d.ts +2 -2
  95. package/dist/hooks/use-files-drop.d.ts +7 -1
  96. package/dist/hooks/use-folder.d.ts +3 -3
  97. package/dist/hooks/use-icon-config.d.ts +1 -1
  98. package/dist/hooks/use-level-filters.d.ts +112 -0
  99. package/dist/hooks/use-level-search.d.ts +8 -6
  100. package/dist/hooks/use-locale.d.ts +3 -3
  101. package/dist/hooks/use-location-history.d.ts +1 -1
  102. package/dist/hooks/use-long-press.d.ts +1 -1
  103. package/dist/hooks/use-marquee.d.ts +1 -1
  104. package/dist/hooks/use-match-count.d.ts +5 -4
  105. package/dist/hooks/use-media-search.d.ts +22 -8
  106. package/dist/hooks/use-moving-ids.d.ts +2 -2
  107. package/dist/hooks/use-preview-contents.d.ts +1 -1
  108. package/dist/hooks/use-properties.d.ts +2 -2
  109. package/dist/hooks/use-scroll-measure.d.ts +1 -1
  110. package/dist/hooks/use-search.d.ts +6 -5
  111. package/dist/hooks/use-selection.d.ts +1 -1
  112. package/dist/hooks/use-text-direction.d.ts +1 -1
  113. package/dist/hooks/use-thumbnail.d.ts +1 -1
  114. package/dist/hooks/use-transfer-queue.d.ts +5 -5
  115. package/dist/hooks/use-tree-rows.d.ts +1 -1
  116. package/dist/hooks/use-tree-selection.d.ts +1 -1
  117. package/dist/hooks/use-upload-queue.d.ts +7 -5
  118. package/dist/hooks/use-virtual-lines.d.ts +1 -1
  119. package/dist/hooks/use-wheel-zoom.d.ts +1 -1
  120. package/dist/icon-sets/filled.d.ts +1 -1
  121. package/dist/icon-sets/outlined.d.ts +1 -1
  122. package/dist/icon-sets/rounded.d.ts +1 -1
  123. package/dist/icon-sets/sharp.d.ts +1 -1
  124. package/dist/icon-sets/two-tone.d.ts +1 -1
  125. package/dist/index.d.ts +18 -18
  126. package/dist/index.js +4307 -1129
  127. package/dist/index.js.map +1 -1
  128. package/dist/locales/en-us.d.ts +1 -1
  129. package/dist/store/download-queue.d.ts +1 -1
  130. package/dist/store/folder-store.d.ts +1 -1
  131. package/dist/store/properties-cache.d.ts +9 -1
  132. package/dist/store/thumbnail-cache.d.ts +1 -1
  133. package/dist/store/transfer-across.d.ts +1 -1
  134. package/dist/store/transfer-queue.d.ts +2 -2
  135. package/dist/store/upload-queue.d.ts +28 -8
  136. package/dist/styles/classes.d.ts +30 -2
  137. package/dist/styles/layout.d.ts +2 -2
  138. package/dist/styles/media-layout.d.ts +1 -1
  139. package/dist/styles.css +1095 -367
  140. package/dist/styles.layer.css +1095 -367
  141. package/dist/types/action.d.ts +3 -3
  142. package/dist/types/adapter.d.ts +164 -11
  143. package/dist/types/api.d.ts +21 -9
  144. package/dist/types/clipboard.d.ts +2 -2
  145. package/dist/types/download.d.ts +1 -1
  146. package/dist/types/drag.d.ts +4 -4
  147. package/dist/types/folder.d.ts +1 -1
  148. package/dist/types/index.d.ts +27 -27
  149. package/dist/types/locale.d.ts +161 -4
  150. package/dist/types/main-menu.d.ts +1 -1
  151. package/dist/types/media.d.ts +127 -11
  152. package/dist/types/menu.d.ts +4 -4
  153. package/dist/types/navigation.d.ts +2 -2
  154. package/dist/types/preview.d.ts +1 -1
  155. package/dist/types/previewer.d.ts +1 -1
  156. package/dist/types/properties.d.ts +20 -2
  157. package/dist/types/property-definition.d.ts +58 -1
  158. package/dist/types/search.d.ts +2 -2
  159. package/dist/types/section.d.ts +2 -2
  160. package/dist/types/selection.d.ts +3 -3
  161. package/dist/types/slots.d.ts +12 -7
  162. package/dist/types/transfer.d.ts +2 -2
  163. package/dist/types/tree.d.ts +2 -2
  164. package/dist/types/undo.d.ts +3 -3
  165. package/dist/types/upload.d.ts +79 -3
  166. package/dist/types/view.d.ts +5 -5
  167. package/dist/utils/action-groups.d.ts +1 -1
  168. package/dist/utils/clipboard.d.ts +2 -2
  169. package/dist/utils/dom.d.ts +13 -0
  170. package/dist/utils/download.d.ts +1 -1
  171. package/dist/utils/field-errors.d.ts +1 -1
  172. package/dist/utils/files.d.ts +9 -5
  173. package/dist/utils/format.d.ts +1 -1
  174. package/dist/utils/groups.d.ts +1 -1
  175. package/dist/utils/hidden.d.ts +1 -1
  176. package/dist/utils/keyboard.d.ts +1 -1
  177. package/dist/utils/media.d.ts +82 -5
  178. package/dist/utils/menu-position.d.ts +1 -1
  179. package/dist/utils/names.d.ts +1 -1
  180. package/dist/utils/navigation.d.ts +1 -1
  181. package/dist/utils/path.d.ts +2 -2
  182. package/dist/utils/permissions.d.ts +2 -2
  183. package/dist/utils/preview.d.ts +1 -1
  184. package/dist/utils/property-value.d.ts +3 -1
  185. package/dist/utils/search.d.ts +1 -1
  186. package/dist/utils/sections.d.ts +1 -1
  187. package/dist/utils/selection.d.ts +1 -1
  188. package/dist/utils/shortcut.d.ts +1 -1
  189. package/dist/utils/slots.d.ts +2 -2
  190. package/dist/utils/sort.d.ts +1 -1
  191. package/dist/utils/transfer.d.ts +1 -1
  192. package/dist/utils/trash.d.ts +1 -1
  193. package/dist/utils/undo.d.ts +1 -1
  194. package/dist/utils/zoom.d.ts +2 -2
  195. package/docs/README.md +1 -1
  196. package/docs/adapter.md +66 -6
  197. package/docs/customizing.md +31 -2
  198. package/docs/getting-started.md +3 -1
  199. package/docs/media-manager.md +194 -7
  200. package/docs/search.md +2 -0
  201. package/docs/uploads-and-downloads.md +2 -1
  202. package/package.json +1 -1
  203. package/dist/components/file-manager/drag-preview.d.ts +0 -22
package/dist/styles.css CHANGED
@@ -16,7 +16,19 @@
16
16
  * `color-scheme: light dark` follows the system, and one that sets `dark` on an element gets a
17
17
  * dark component inside it. Without one, it's light.
18
18
  */
19
- ._theme_1cep9_6 {
19
+ /*
20
+ * The panels' gap is added to other lengths (the content's least widths), and math functions take
21
+ * no unitless 0 as a length, so an app's `--fm-panel-gap: 0` would drop them. Registered as a
22
+ * length, it's worked out to `0px` first. Firefox has `@property` from 128, so before it the gap
23
+ * needs its unit, as the docs write it.
24
+ */
25
+ @property --_fm-panel-gap {
26
+ syntax: "<length>";
27
+ inherits: true;
28
+ initial-value: 6px;
29
+ }
30
+
31
+ ._theme_1ksf3_6 {
20
32
  /* The accent: selection, focus rings, the main button of a dialog. */
21
33
  --_fm-primary: var(--fm-primary, light-dark(#1976d2, #90caf9));
22
34
  --_fm-primary-hover: var(--fm-primary-hover, light-dark(#1565c0, #42a5f5));
@@ -96,6 +108,16 @@
96
108
  /* One step of the corners' roundness; parts take a few of them. */
97
109
  --_fm-radius: var(--fm-radius, 4px);
98
110
 
111
+ /*
112
+ * The window's panels, set as cards on its background: the content, the docked properties, the
113
+ * upload, download and transfer panels, a media library and its docked selected column. The gap
114
+ * is the space between them and the root's edges, and the radius their corners, three of
115
+ * `--fm-radius` unless set. Both at 0 put the panels edge to edge, square, for an app that sets
116
+ * them apart with lines rather than tone, drawn on their stable class names.
117
+ */
118
+ --_fm-panel-gap: var(--fm-panel-gap, 6px);
119
+ --_fm-panel-radius: var(--fm-panel-radius, calc(var(--_fm-radius) * 3));
120
+
99
121
  --_fm-shadow-1: var(
100
122
  --fm-shadow-1,
101
123
  0 2px 1px -1px rgb(0 0 0 / 20%),
@@ -146,10 +168,10 @@
146
168
  * as its styles are written for. Weightless (`:where`), so any rule of a part's, or of an app's
147
169
  * for what it draws inside, still says otherwise.
148
170
  */
149
- :where(._theme_1cep9_6),
150
- :where(._theme_1cep9_6) *,
151
- :where(._theme_1cep9_6) *::before,
152
- :where(._theme_1cep9_6) *::after {
171
+ :where(._theme_1ksf3_6),
172
+ :where(._theme_1ksf3_6) *,
173
+ :where(._theme_1ksf3_6) *::before,
174
+ :where(._theme_1ksf3_6) *::after {
153
175
  box-sizing: border-box;
154
176
  }
155
177
 
@@ -157,7 +179,7 @@
157
179
  * A root's own type and colour, so text that sets none reads the same on any page. What portals
158
180
  * out takes `.theme` alone, and sets its own.
159
181
  */
160
- ._root_1cep9_160 {
182
+ ._root_1ksf3_182 {
161
183
  color: var(--_fm-text);
162
184
  font-family: var(--_fm-font-family);
163
185
  font-size: 1rem;
@@ -799,7 +821,7 @@
799
821
  * Folds its content away by its height. A grid row going from all of the content to none of it
800
822
  * can be animated where a height of `auto` can't, and follows the content as it grows.
801
823
  */
802
- ._collapse_16tnh_5 {
824
+ ._collapse_1snjt_5 {
803
825
  display: grid;
804
826
  grid-template-rows: 1fr;
805
827
  transition:
@@ -819,6 +841,13 @@
819
841
  min-height: 0;
820
842
  overflow: hidden;
821
843
  }
844
+
845
+ @media (prefers-reduced-motion: reduce) {
846
+ &,
847
+ &[data-open="false"] {
848
+ transition: none;
849
+ }
850
+ }
822
851
  }
823
852
  /* A dim layer behind an overlay, fading in and out. A part places it with its own class. */
824
853
  ._backdrop_ziulx_2 {
@@ -1524,14 +1553,14 @@ select._input_1spke_32 {
1524
1553
  * The look the upload, download and transfer panels share: an inset card with a summary that folds
1525
1554
  * a list of rows away, each row an icon, its text and an action.
1526
1555
  */
1527
- ._panel_oj0qr_5 {
1556
+ ._panel_gn9b5_5 {
1528
1557
  flex-shrink: 0;
1529
1558
  overflow: hidden;
1530
- border-radius: calc(var(--_fm-radius) * 3);
1559
+ border-radius: var(--_fm-panel-radius);
1531
1560
  background-color: var(--_fm-surface);
1532
1561
  }
1533
1562
 
1534
- ._header_oj0qr_12 {
1563
+ ._header_gn9b5_12 {
1535
1564
  display: flex;
1536
1565
  align-items: center;
1537
1566
  gap: 12px;
@@ -1540,7 +1569,7 @@ select._input_1spke_32 {
1540
1569
  }
1541
1570
 
1542
1571
  /* Every status icon and row icon sits in the same column. */
1543
- ._slot_oj0qr_21 {
1572
+ ._slot_gn9b5_21 {
1544
1573
  display: flex;
1545
1574
  align-items: center;
1546
1575
  justify-content: center;
@@ -1548,19 +1577,19 @@ select._input_1spke_32 {
1548
1577
  width: 1.5rem;
1549
1578
  }
1550
1579
 
1551
- ._text_oj0qr_29 {
1580
+ ._text_gn9b5_29 {
1552
1581
  display: flex;
1553
1582
  flex: 1;
1554
1583
  flex-direction: column;
1555
1584
  min-width: 0;
1556
1585
  }
1557
1586
 
1558
- ._title_oj0qr_36 {
1587
+ ._title_gn9b5_36 {
1559
1588
  font-weight: 600;
1560
1589
  }
1561
1590
 
1562
1591
  /* Points down while the list shows, to fold it away, and up while it's folded. */
1563
- ._toggleIcon_oj0qr_41 {
1592
+ ._toggleIcon_gn9b5_41 {
1564
1593
  transition: transform 150ms;
1565
1594
 
1566
1595
  [aria-expanded="false"] > & {
@@ -1568,7 +1597,7 @@ select._input_1spke_32 {
1568
1597
  }
1569
1598
  }
1570
1599
 
1571
- ._list_oj0qr_49 {
1600
+ ._list_gn9b5_49 {
1572
1601
  max-height: 15rem;
1573
1602
  margin: 0;
1574
1603
  padding: 0;
@@ -1577,7 +1606,7 @@ select._input_1spke_32 {
1577
1606
  list-style: none;
1578
1607
  }
1579
1608
 
1580
- ._row_oj0qr_58 {
1609
+ ._row_gn9b5_58 {
1581
1610
  display: flex;
1582
1611
  align-items: center;
1583
1612
  gap: 12px;
@@ -1587,7 +1616,7 @@ select._input_1spke_32 {
1587
1616
  }
1588
1617
 
1589
1618
  /* A row's progress bar, which fills from the start side (`LinearProgress`). */
1590
- ._bar_oj0qr_68 {
1619
+ ._bar_gn9b5_68 {
1591
1620
  height: 3px;
1592
1621
  margin-block: 4px;
1593
1622
  border-radius: calc(var(--_fm-radius) * 1.5);
@@ -1645,7 +1674,7 @@ select._input_1spke_32 {
1645
1674
  }
1646
1675
  }
1647
1676
  /* The backdrop behind the selected column while it's an overlay. */
1648
- ._chosenBackdrop_1flod_2 {
1677
+ ._chosenBackdrop_1grrm_2 {
1649
1678
  position: absolute;
1650
1679
  z-index: 2;
1651
1680
 
@@ -1659,7 +1688,7 @@ select._input_1spke_32 {
1659
1688
  * (`data-overlay`); from it, docked beside the library, from the top, as a sidebar. Its widths are
1660
1689
  * `CHOICES_WIDTH` (`media-layout.ts`), and 40px more as an overlay.
1661
1690
  */
1662
- ._chosenColumn_1flod_16 {
1691
+ ._chosenColumn_1grrm_16 {
1663
1692
  display: none;
1664
1693
  flex-direction: column;
1665
1694
  position: absolute;
@@ -1687,9 +1716,9 @@ select._input_1spke_32 {
1687
1716
  z-index: auto;
1688
1717
  flex-shrink: 0;
1689
1718
  width: 320px;
1690
- margin-block: 6px;
1691
- margin-inline-end: 6px;
1692
- border-radius: calc(var(--_fm-radius) * 3);
1719
+ margin-block: var(--_fm-panel-gap);
1720
+ margin-inline-end: var(--_fm-panel-gap);
1721
+ border-radius: var(--_fm-panel-radius);
1693
1722
  box-shadow: none;
1694
1723
 
1695
1724
  &[data-empty="true"] {
@@ -1697,6 +1726,119 @@ select._input_1spke_32 {
1697
1726
  }
1698
1727
  }
1699
1728
  }
1729
+ /*
1730
+ * At the page's top corner rather than off screen, since Safari cancels a drag whose image is
1731
+ * wholly off screen; it's gone before the page is painted. The pointer holds it by its top corner
1732
+ * on the start side (`useEntryDrag`), the left or, right to left, the right. The transparent
1733
+ * padding there keeps the pointer just outside the picture, off the folder it's dropped onto, and
1734
+ * on the other sides makes room for the deepest card, so the whole stack is inside the element the
1735
+ * picture is taken of.
1736
+ */
1737
+ ._root_m9li2_9 {
1738
+ position: fixed;
1739
+ top: 0;
1740
+ inset-inline-start: 0;
1741
+ padding-top: 12px;
1742
+ padding-inline-start: 12px;
1743
+ padding-inline-end: 16px;
1744
+ padding-bottom: 16px;
1745
+ pointer-events: none;
1746
+ }
1747
+
1748
+ /*
1749
+ * A touch drag's follows the finger, placed by `useEntryDrag` through its `transform` from the
1750
+ * viewport's top left, physical as measured geometry is (`TOUCH_STYLE`), over the dialogs and
1751
+ * tooltips, and hidden until it's first placed. It fades where letting go would do nothing.
1752
+ */
1753
+ ._touchRoot_m9li2_25 {
1754
+ position: fixed;
1755
+ top: 0;
1756
+ z-index: calc(var(--_fm-z-tooltip) + 1);
1757
+ padding-top: 12px;
1758
+ padding-inline-start: 12px;
1759
+ padding-inline-end: 16px;
1760
+ padding-bottom: 16px;
1761
+ pointer-events: none;
1762
+ visibility: hidden;
1763
+ transition: opacity 120ms;
1764
+
1765
+ &[data-effect="none"] {
1766
+ opacity: 0.5;
1767
+ }
1768
+ }
1769
+
1770
+ ._stack_m9li2_42 {
1771
+ position: relative;
1772
+ }
1773
+
1774
+ /*
1775
+ * A card under the top one, the size of it, shifted down and towards the end by 4px per `--layer`
1776
+ * and fading the deeper it is.
1777
+ */
1778
+ ._layer_m9li2_50 {
1779
+ position: absolute;
1780
+ top: calc(var(--layer) * 4px);
1781
+ inset-inline-start: calc(var(--layer) * 4px);
1782
+ inset-inline-end: calc(var(--layer) * -4px);
1783
+ bottom: calc(var(--layer) * -4px);
1784
+ opacity: calc(1 - var(--layer) * 0.15);
1785
+ border-radius: calc(var(--_fm-radius) * 2);
1786
+ border: 1px solid;
1787
+ border-color: var(--_fm-divider);
1788
+ background-color: var(--_fm-surface);
1789
+ }
1790
+
1791
+ /* Positioned so it paints over the cards before it. */
1792
+ ._pill_m9li2_64 {
1793
+ position: relative;
1794
+ display: flex;
1795
+ align-items: center;
1796
+ gap: 8px;
1797
+ max-width: 16rem;
1798
+ padding-block: 6px;
1799
+ padding-inline-start: 8px;
1800
+ padding-inline-end: 10px;
1801
+ border-radius: calc(var(--_fm-radius) * 2);
1802
+ border: 1px solid;
1803
+ border-color: var(--_fm-divider);
1804
+ background-color: var(--_fm-surface);
1805
+ color: var(--_fm-text);
1806
+ }
1807
+
1808
+ ._name_m9li2_80 {
1809
+ min-width: 0;
1810
+ }
1811
+
1812
+ ._count_m9li2_84 {
1813
+ flex-shrink: 0;
1814
+ min-width: 1.25rem;
1815
+ height: 1.25rem;
1816
+ padding-inline: 4px;
1817
+ border-radius: 0.625rem;
1818
+ background-color: var(--_fm-primary);
1819
+ color: var(--_fm-primary-contrast);
1820
+ font-size: 0.75rem;
1821
+ font-weight: 600;
1822
+ line-height: 1.25rem;
1823
+ text-align: center;
1824
+ }
1825
+
1826
+ /* A "+" where letting go would copy, as the Finder shows it. */
1827
+ ._copy_m9li2_99 {
1828
+ flex-shrink: 0;
1829
+ display: inline-flex;
1830
+ align-items: center;
1831
+ justify-content: center;
1832
+ width: 1.25rem;
1833
+ height: 1.25rem;
1834
+ border-radius: 50%;
1835
+ background-color: var(--_fm-success);
1836
+ color: var(--_fm-success-contrast);
1837
+
1838
+ & > svg {
1839
+ font-size: 1rem;
1840
+ }
1841
+ }
1700
1842
  /* The same width as a small IconButton, so a done row's check lines up with the other rows' buttons. */
1701
1843
  ._done_1h795_2 {
1702
1844
  display: flex;
@@ -2185,7 +2327,7 @@ select._input_1spke_32 {
2185
2327
  * On touch, a long-press selects, so iOS's callout and the tap flash are turned off, and a double
2186
2328
  * tap doesn't zoom.
2187
2329
  */
2188
- ._surface_st1fl_7 {
2330
+ ._surface_1porl_7 {
2189
2331
  position: relative;
2190
2332
  display: flex;
2191
2333
  flex-direction: column;
@@ -2199,12 +2341,12 @@ select._input_1spke_32 {
2199
2341
  outline: 2px solid;
2200
2342
  outline-color: var(--_fm-primary);
2201
2343
  outline-offset: -2px;
2202
- border-radius: calc(var(--_fm-radius) * 3);
2344
+ border-radius: var(--_fm-panel-radius);
2203
2345
  }
2204
2346
  }
2205
2347
 
2206
2348
  /* Placed and sized in its inline style, which `useMarquee` sets while dragging. */
2207
- ._marquee_st1fl_26 {
2349
+ ._marquee_1porl_26 {
2208
2350
  display: none;
2209
2351
  position: absolute;
2210
2352
  z-index: 3;
@@ -2223,14 +2365,14 @@ select._input_1spke_32 {
2223
2365
  * Overlays the top edge while a loaded folder refreshes, without pushing the content down, and runs
2224
2366
  * from the start side.
2225
2367
  */
2226
- ._progress_st1fl_45 {
2368
+ ._progress_1porl_45 {
2227
2369
  position: sticky;
2228
2370
  top: 0;
2229
2371
  z-index: 2;
2230
2372
  margin-bottom: -4px;
2231
2373
  }
2232
2374
 
2233
- ._state_st1fl_52 {
2375
+ ._state_1porl_52 {
2234
2376
  flex: 1;
2235
2377
  display: flex;
2236
2378
  flex-direction: column;
@@ -2242,12 +2384,12 @@ select._input_1spke_32 {
2242
2384
  color: var(--_fm-text-secondary);
2243
2385
  }
2244
2386
 
2245
- ._stateIcon_st1fl_64 {
2387
+ ._stateIcon_1porl_64 {
2246
2388
  font-size: 3rem;
2247
2389
  opacity: 0.6;
2248
2390
  }
2249
2391
 
2250
- ._stateTitle_st1fl_69 {
2392
+ ._stateTitle_1porl_69 {
2251
2393
  color: var(--_fm-text);
2252
2394
  font-weight: 600;
2253
2395
  }
@@ -2278,7 +2420,7 @@ select._input_1spke_32 {
2278
2420
  * The content panel's scrolling view, as the folder view has it, with the container queries the
2279
2421
  * list's columns follow.
2280
2422
  */
2281
- ._scroll_1janm_5 {
2423
+ ._scroll_1fth3_5 {
2282
2424
  container-type: inline-size;
2283
2425
  container-name: file-manager-view;
2284
2426
  flex: 1;
@@ -2290,7 +2432,7 @@ select._input_1spke_32 {
2290
2432
  * As the folder view's surface: it fills the panel, so its empty space takes clicks and marquee
2291
2433
  * drags, and it's positioned for the marquee.
2292
2434
  */
2293
- ._surface_1janm_17 {
2435
+ ._surface_1fth3_17 {
2294
2436
  position: relative;
2295
2437
  display: flex;
2296
2438
  flex-direction: column;
@@ -2304,11 +2446,11 @@ select._input_1spke_32 {
2304
2446
  outline: 2px solid;
2305
2447
  outline-color: var(--_fm-primary);
2306
2448
  outline-offset: -2px;
2307
- border-radius: calc(var(--_fm-radius) * 3);
2449
+ border-radius: var(--_fm-panel-radius);
2308
2450
  }
2309
2451
  }
2310
2452
 
2311
- ._marquee_1janm_35 {
2453
+ ._marquee_1fth3_35 {
2312
2454
  display: none;
2313
2455
  position: absolute;
2314
2456
  z-index: 3;
@@ -2323,14 +2465,14 @@ select._input_1spke_32 {
2323
2465
  }
2324
2466
  }
2325
2467
 
2326
- ._progress_1janm_50 {
2468
+ ._progress_1fth3_50 {
2327
2469
  position: sticky;
2328
2470
  top: 0;
2329
2471
  z-index: 2;
2330
2472
  margin-bottom: -4px;
2331
2473
  }
2332
2474
 
2333
- ._state_1janm_57 {
2475
+ ._state_1fth3_57 {
2334
2476
  flex: 1;
2335
2477
  display: flex;
2336
2478
  flex-direction: column;
@@ -2342,12 +2484,12 @@ select._input_1spke_32 {
2342
2484
  color: var(--_fm-text-secondary);
2343
2485
  }
2344
2486
 
2345
- ._stateIcon_1janm_69 {
2487
+ ._stateIcon_1fth3_69 {
2346
2488
  font-size: 3rem;
2347
2489
  opacity: 0.6;
2348
2490
  }
2349
2491
 
2350
- ._stateTitle_1janm_74 {
2492
+ ._stateTitle_1fth3_74 {
2351
2493
  color: var(--_fm-text);
2352
2494
  font-weight: 600;
2353
2495
  }
@@ -3271,124 +3413,11 @@ select._input_1spke_32 {
3271
3413
  ._spacer_1u345_7 {
3272
3414
  flex: 1;
3273
3415
  }
3274
- /*
3275
- * At the page's top corner rather than off screen, since Safari cancels a drag whose image is
3276
- * wholly off screen; it's gone before the page is painted. The pointer holds it by its top corner
3277
- * on the start side (`useEntryDrag`), the left or, right to left, the right. The transparent
3278
- * padding there keeps the pointer just outside the picture, off the folder it's dropped onto, and
3279
- * on the other sides makes room for the deepest card, so the whole stack is inside the element the
3280
- * picture is taken of.
3281
- */
3282
- ._root_m9li2_9 {
3283
- position: fixed;
3284
- top: 0;
3285
- inset-inline-start: 0;
3286
- padding-top: 12px;
3287
- padding-inline-start: 12px;
3288
- padding-inline-end: 16px;
3289
- padding-bottom: 16px;
3290
- pointer-events: none;
3291
- }
3292
-
3293
- /*
3294
- * A touch drag's follows the finger, placed by `useEntryDrag` through its `transform` from the
3295
- * viewport's top left, physical as measured geometry is (`TOUCH_STYLE`), over the dialogs and
3296
- * tooltips, and hidden until it's first placed. It fades where letting go would do nothing.
3297
- */
3298
- ._touchRoot_m9li2_25 {
3299
- position: fixed;
3300
- top: 0;
3301
- z-index: calc(var(--_fm-z-tooltip) + 1);
3302
- padding-top: 12px;
3303
- padding-inline-start: 12px;
3304
- padding-inline-end: 16px;
3305
- padding-bottom: 16px;
3306
- pointer-events: none;
3307
- visibility: hidden;
3308
- transition: opacity 120ms;
3309
-
3310
- &[data-effect="none"] {
3311
- opacity: 0.5;
3312
- }
3313
- }
3314
-
3315
- ._stack_m9li2_42 {
3316
- position: relative;
3317
- }
3318
-
3319
- /*
3320
- * A card under the top one, the size of it, shifted down and towards the end by 4px per `--layer`
3321
- * and fading the deeper it is.
3322
- */
3323
- ._layer_m9li2_50 {
3324
- position: absolute;
3325
- top: calc(var(--layer) * 4px);
3326
- inset-inline-start: calc(var(--layer) * 4px);
3327
- inset-inline-end: calc(var(--layer) * -4px);
3328
- bottom: calc(var(--layer) * -4px);
3329
- opacity: calc(1 - var(--layer) * 0.15);
3330
- border-radius: calc(var(--_fm-radius) * 2);
3331
- border: 1px solid;
3332
- border-color: var(--_fm-divider);
3333
- background-color: var(--_fm-surface);
3334
- }
3335
-
3336
- /* Positioned so it paints over the cards before it. */
3337
- ._pill_m9li2_64 {
3338
- position: relative;
3339
- display: flex;
3340
- align-items: center;
3341
- gap: 8px;
3342
- max-width: 16rem;
3343
- padding-block: 6px;
3344
- padding-inline-start: 8px;
3345
- padding-inline-end: 10px;
3346
- border-radius: calc(var(--_fm-radius) * 2);
3347
- border: 1px solid;
3348
- border-color: var(--_fm-divider);
3349
- background-color: var(--_fm-surface);
3350
- color: var(--_fm-text);
3351
- }
3352
-
3353
- ._name_m9li2_80 {
3354
- min-width: 0;
3355
- }
3356
-
3357
- ._count_m9li2_84 {
3358
- flex-shrink: 0;
3359
- min-width: 1.25rem;
3360
- height: 1.25rem;
3361
- padding-inline: 4px;
3362
- border-radius: 0.625rem;
3363
- background-color: var(--_fm-primary);
3364
- color: var(--_fm-primary-contrast);
3365
- font-size: 0.75rem;
3366
- font-weight: 600;
3367
- line-height: 1.25rem;
3368
- text-align: center;
3369
- }
3370
-
3371
- /* A "+" where letting go would copy, as the Finder shows it. */
3372
- ._copy_m9li2_99 {
3373
- flex-shrink: 0;
3374
- display: inline-flex;
3375
- align-items: center;
3376
- justify-content: center;
3377
- width: 1.25rem;
3378
- height: 1.25rem;
3379
- border-radius: 50%;
3380
- background-color: var(--_fm-success);
3381
- color: var(--_fm-success-contrast);
3382
-
3383
- & > svg {
3384
- font-size: 1rem;
3385
- }
3386
- }
3387
3416
  /*
3388
3417
  * The root only establishes the container; a container can't match its own queries, so the
3389
3418
  * visible frame is the child below it. The consumer's `className` goes after it.
3390
3419
  */
3391
- ._root_bbabv_5 {
3420
+ ._root_c77v9_5 {
3392
3421
  container-type: inline-size;
3393
3422
  container-name: file-manager;
3394
3423
  position: relative;
@@ -3402,14 +3431,14 @@ select._input_1spke_32 {
3402
3431
  }
3403
3432
  }
3404
3433
 
3405
- ._frame_bbabv_19 {
3434
+ ._frame_c77v9_19 {
3406
3435
  display: flex;
3407
3436
  height: 100%;
3408
3437
  background-color: var(--_fm-background);
3409
3438
  color: var(--_fm-text);
3410
3439
  }
3411
3440
 
3412
- ._backdrop_bbabv_26 {
3441
+ ._backdrop_c77v9_26 {
3413
3442
  position: absolute;
3414
3443
  z-index: 1;
3415
3444
 
@@ -3419,7 +3448,7 @@ select._input_1spke_32 {
3419
3448
  }
3420
3449
 
3421
3450
  /* Behind the properties' overlay, which docks from `rootExtraWide`. */
3422
- ._propertiesBackdrop_bbabv_36 {
3451
+ ._propertiesBackdrop_c77v9_36 {
3423
3452
  position: absolute;
3424
3453
  z-index: 1;
3425
3454
 
@@ -3433,7 +3462,7 @@ select._input_1spke_32 {
3433
3462
  * them. Not positioned, so the properties' overlay covers the file manager from top to bottom, as
3434
3463
  * the sidebar's does.
3435
3464
  */
3436
- ._body_bbabv_50 {
3465
+ ._body_c77v9_50 {
3437
3466
  display: flex;
3438
3467
  flex: 1;
3439
3468
  min-height: 0;
@@ -3444,15 +3473,15 @@ select._input_1spke_32 {
3444
3473
  * panel itself doesn't scroll, so the outline it shows while the open folder would take a drop
3445
3474
  * stays put over the content scrolling under it, sticky column header included.
3446
3475
  */
3447
- ._panel_bbabv_61 {
3476
+ ._panel_c77v9_61 {
3448
3477
  position: relative;
3449
3478
  display: flex;
3450
3479
  flex-direction: column;
3451
3480
  flex: 1;
3452
3481
  min-height: 0;
3453
- margin-inline: 6px;
3454
- margin-bottom: 6px;
3455
- border-radius: calc(var(--_fm-radius) * 3);
3482
+ margin-inline: var(--_fm-panel-gap);
3483
+ margin-bottom: var(--_fm-panel-gap);
3484
+ border-radius: var(--_fm-panel-radius);
3456
3485
  overflow: hidden;
3457
3486
  background-color: var(--_fm-surface);
3458
3487
 
@@ -3460,7 +3489,7 @@ select._input_1spke_32 {
3460
3489
  margin-inline-start: 0;
3461
3490
 
3462
3491
  [data-sidebar-hidden="true"] & {
3463
- margin-inline-start: 6px;
3492
+ margin-inline-start: var(--_fm-panel-gap);
3464
3493
  }
3465
3494
  }
3466
3495
 
@@ -3475,7 +3504,7 @@ select._input_1spke_32 {
3475
3504
  }
3476
3505
  }
3477
3506
 
3478
- ._view_bbabv_92 {
3507
+ ._view_c77v9_92 {
3479
3508
  container-type: inline-size;
3480
3509
  container-name: file-manager-view;
3481
3510
  flex: 1;
@@ -3487,15 +3516,15 @@ select._input_1spke_32 {
3487
3516
  * The transfer, download and upload panels are further inset panels under the content, so they
3488
3517
  * never cover the files.
3489
3518
  */
3490
- ._taskPanel_bbabv_104 {
3491
- margin-inline: 6px;
3492
- margin-bottom: 6px;
3519
+ ._taskPanel_c77v9_104 {
3520
+ margin-inline: var(--_fm-panel-gap);
3521
+ margin-bottom: var(--_fm-panel-gap);
3493
3522
 
3494
3523
  @container file-manager (min-width: 900px) {
3495
3524
  margin-inline-start: 0;
3496
3525
 
3497
3526
  [data-sidebar-hidden="true"] & {
3498
- margin-inline-start: 6px;
3527
+ margin-inline-start: var(--_fm-panel-gap);
3499
3528
  }
3500
3529
  }
3501
3530
  }
@@ -3508,30 +3537,30 @@ select._input_1spke_32 {
3508
3537
  * widest unless there's room for them and the content.
3509
3538
  *
3510
3539
  * What the content keeps beside the docked panels is `CONTENT_ROOM` (540px, the styles' constants)
3511
- * with the margins around it: its own end margin, 6px, and the start one too, 12px in all, while
3512
- * the sidebar doesn't dock beside it, which takes it otherwise. Beside the docked properties, their
3513
- * least width (`PROPERTIES_MIN_WIDTH`, 240px) and their end margin, 6px, come on top.
3540
+ * with the margins around it: its own end margin, a panel gap, and the start one too, two in all,
3541
+ * while the sidebar doesn't dock beside it, which takes it otherwise. Beside the docked properties,
3542
+ * their least width (`PROPERTIES_MIN_WIDTH`, 240px) and their end margin, a gap, come on top.
3514
3543
  */
3515
- ._main_bbabv_129 {
3544
+ ._main_c77v9_129 {
3516
3545
  display: flex;
3517
3546
  flex: 1;
3518
3547
  flex-direction: column;
3519
3548
  min-width: 0;
3520
3549
 
3521
3550
  @container file-manager (min-width: 900px) {
3522
- min-width: calc(540px + 6px);
3551
+ min-width: calc(540px + var(--_fm-panel-gap));
3523
3552
 
3524
3553
  [data-sidebar-hidden="true"] & {
3525
- min-width: calc(540px + 12px);
3554
+ min-width: calc(540px + 2 * var(--_fm-panel-gap));
3526
3555
  }
3527
3556
  }
3528
3557
 
3529
3558
  @container file-manager (min-width: 1100px) {
3530
3559
  &[data-properties-shown="true"] {
3531
- min-width: calc(540px + 6px + 240px + 6px);
3560
+ min-width: calc(540px + 240px + 2 * var(--_fm-panel-gap));
3532
3561
 
3533
3562
  [data-sidebar-hidden="true"] & {
3534
- min-width: calc(540px + 12px + 240px + 6px);
3563
+ min-width: calc(540px + 240px + 3 * var(--_fm-panel-gap));
3535
3564
  }
3536
3565
  }
3537
3566
  }
@@ -3545,7 +3574,7 @@ select._input_1spke_32 {
3545
3574
  * the progress and selection bars, the notice) stays under the overlays' backdrop, which comes
3546
3575
  * before it in the frame at the same `z-index` as the header.
3547
3576
  */
3548
- ._column_bbabv_120 {
3577
+ ._column_c77v9_120 {
3549
3578
  display: flex;
3550
3579
  flex: 1;
3551
3580
  flex-direction: column;
@@ -3553,10 +3582,10 @@ select._input_1spke_32 {
3553
3582
  isolation: isolate;
3554
3583
 
3555
3584
  @container file-manager (min-width: 900px) {
3556
- min-width: calc(540px + 6px);
3585
+ min-width: calc(540px + var(--_fm-panel-gap));
3557
3586
 
3558
3587
  [data-sidebar-hidden="true"] & {
3559
- min-width: calc(540px + 12px);
3588
+ min-width: calc(540px + 2 * var(--_fm-panel-gap));
3560
3589
  }
3561
3590
  }
3562
3591
  }
@@ -3903,7 +3932,7 @@ select._input_1spke_32 {
3903
3932
  ._place_9fw3l_83 {
3904
3933
  max-width: min(24rem, 90vw);
3905
3934
  }
3906
- ._root_1rezb_1 {
3935
+ ._root_1hw9a_1 {
3907
3936
  display: flex;
3908
3937
  flex-direction: column;
3909
3938
  height: 100%;
@@ -3922,7 +3951,7 @@ select._input_1spke_32 {
3922
3951
  * Inside a host's view, which scrolls it with the rest: as tall as what it holds, its first group's
3923
3952
  * rule left out, as the host's own heading sets it apart.
3924
3953
  */
3925
- ._embedded_1rezb_20 {
3954
+ ._embedded_1hw9a_20 {
3926
3955
  display: flex;
3927
3956
  flex-direction: column;
3928
3957
  outline: none;
@@ -3938,7 +3967,7 @@ select._input_1spke_32 {
3938
3967
  }
3939
3968
  }
3940
3969
 
3941
- ._header_1rezb_36 {
3970
+ ._header_1hw9a_36 {
3942
3971
  display: flex;
3943
3972
  align-items: center;
3944
3973
  gap: 8px;
@@ -3948,14 +3977,14 @@ select._input_1spke_32 {
3948
3977
  padding-inline-end: 8px;
3949
3978
  }
3950
3979
 
3951
- ._title_1rezb_46 {
3980
+ ._title_1hw9a_46 {
3952
3981
  flex: 1;
3953
3982
  min-width: 0;
3954
3983
  font-size: 0.9375rem;
3955
3984
  font-weight: 700;
3956
3985
  }
3957
3986
 
3958
- ._body_1rezb_53 {
3987
+ ._body_1hw9a_53 {
3959
3988
  flex: 1;
3960
3989
  min-height: 0;
3961
3990
  overflow-y: auto;
@@ -3963,13 +3992,13 @@ select._input_1spke_32 {
3963
3992
  padding-bottom: 16px;
3964
3993
  }
3965
3994
 
3966
- ._empty_1rezb_61 {
3995
+ ._empty_1hw9a_61 {
3967
3996
  padding-block: 32px;
3968
3997
  text-align: center;
3969
3998
  color: var(--_fm-text-secondary);
3970
3999
  }
3971
4000
 
3972
- ._hero_1rezb_67 {
4001
+ ._hero_1hw9a_67 {
3973
4002
  display: flex;
3974
4003
  flex-direction: column;
3975
4004
  align-items: center;
@@ -3984,7 +4013,7 @@ select._input_1spke_32 {
3984
4013
  * smaller thumbnail standing in while the larger loads is drawn at the same size, so the swap
3985
4014
  * changes only its sharpness.
3986
4015
  */
3987
- ._picture_1rezb_82 {
4016
+ ._picture_1hw9a_82 {
3988
4017
  align-self: stretch;
3989
4018
  container-type: inline-size;
3990
4019
 
@@ -3998,24 +4027,24 @@ select._input_1spke_32 {
3998
4027
  }
3999
4028
  }
4000
4029
 
4001
- ._several_1rezb_96 {
4030
+ ._several_1hw9a_96 {
4002
4031
  font-size: 3.5rem;
4003
4032
  }
4004
4033
 
4005
- ._name_1rezb_100 {
4034
+ ._name_1hw9a_100 {
4006
4035
  max-width: 100%;
4007
4036
  font-weight: 600;
4008
4037
  overflow-wrap: anywhere;
4009
4038
  }
4010
4039
 
4011
- ._buttons_1rezb_106 {
4040
+ ._buttons_1hw9a_106 {
4012
4041
  display: flex;
4013
4042
  flex-wrap: wrap;
4014
4043
  justify-content: center;
4015
4044
  gap: 8px;
4016
4045
  }
4017
4046
 
4018
- ._fields_1rezb_113 {
4047
+ ._fields_1hw9a_113 {
4019
4048
  display: flex;
4020
4049
  flex-direction: column;
4021
4050
  gap: 12px;
@@ -4023,7 +4052,7 @@ select._input_1spke_32 {
4023
4052
  }
4024
4053
 
4025
4054
  /* Each group of rows is set apart by a rule above it. */
4026
- ._group_1rezb_121 {
4055
+ ._group_1hw9a_121 {
4027
4056
  display: flex;
4028
4057
  flex-direction: column;
4029
4058
  gap: 12px;
@@ -4032,12 +4061,12 @@ select._input_1spke_32 {
4032
4061
  border-color: var(--_fm-divider);
4033
4062
  }
4034
4063
 
4035
- ._groupTitle_1rezb_130 {
4064
+ ._groupTitle_1hw9a_130 {
4036
4065
  font-size: 0.8125rem;
4037
4066
  font-weight: 600;
4038
4067
  }
4039
4068
 
4040
- ._row_1rezb_135 {
4069
+ ._row_1hw9a_135 {
4041
4070
  min-width: 0;
4042
4071
 
4043
4072
  & > dt {
@@ -4060,18 +4089,18 @@ select._input_1spke_32 {
4060
4089
  }
4061
4090
  }
4062
4091
 
4063
- ._tags_1rezb_158 {
4092
+ ._tags_1hw9a_158 {
4064
4093
  display: flex;
4065
4094
  flex-wrap: wrap;
4066
4095
  gap: 4px;
4067
4096
  }
4068
4097
 
4069
- ._notSet_1rezb_164 {
4098
+ ._notSet_1hw9a_164 {
4070
4099
  color: var(--_fm-text-secondary);
4071
4100
  }
4072
4101
 
4073
4102
  /* The app's own `render` takes the row's whole width, below its label. */
4074
- ._custom_1rezb_169 {
4103
+ ._custom_1hw9a_169 {
4075
4104
  display: flex;
4076
4105
  flex-direction: column;
4077
4106
  gap: 6px;
@@ -4079,22 +4108,83 @@ select._input_1spke_32 {
4079
4108
  min-width: 0;
4080
4109
  }
4081
4110
 
4082
- ._saveError_1rezb_177 {
4083
- width: 100%;
4084
- color: var(--_fm-error);
4085
- font-size: 0.75rem;
4111
+ /* Beside a part's Upload button, the app's `render` leaves the end of its first line to it. */
4112
+ ._custom_1hw9a_169[data-beside] {
4113
+ flex: 1 1 0;
4114
+ width: auto;
4086
4115
  }
4087
4116
 
4088
- /* The checkbox's own padding, kept small, so it sits in the row as a value does. */
4089
- ._toggle_1rezb_184 {
4090
- padding: 4px;
4091
- margin-inline-start: -4px;
4117
+ ._custom_1hw9a_169[data-beside] ~ ._partButton_1hw9a_183 {
4118
+ align-self: flex-start;
4092
4119
  }
4093
4120
 
4094
- ._state_1rezb_189 {
4121
+ /* The files being uploaded into a property's part, under its value, across the row. */
4122
+ ._partUploads_1hw9a_188 {
4095
4123
  display: flex;
4124
+ flex-direction: column;
4125
+ gap: 4px;
4126
+ width: 100%;
4127
+ margin: 0;
4128
+ padding: 0;
4129
+ list-style: none;
4130
+ }
4131
+
4132
+ ._partUpload_1hw9a_188 {
4133
+ display: grid;
4134
+ grid-template-columns: minmax(0, 1fr) auto;
4096
4135
  align-items: center;
4097
- flex-wrap: wrap;
4136
+ column-gap: 4px;
4137
+ padding-inline-start: 8px;
4138
+ border-inline-start: 2px solid var(--_fm-divider);
4139
+ }
4140
+
4141
+ ._partUploadText_1hw9a_207 {
4142
+ display: flex;
4143
+ flex-wrap: wrap;
4144
+ align-items: baseline;
4145
+ column-gap: 8px;
4146
+ min-width: 0;
4147
+ font-size: 0.8125rem;
4148
+ }
4149
+
4150
+ ._partUploadName_1hw9a_216 {
4151
+ min-width: 0;
4152
+ max-width: 100%;
4153
+ overflow: hidden;
4154
+ text-overflow: ellipsis;
4155
+ white-space: nowrap;
4156
+ }
4157
+
4158
+ ._partUploadState_1hw9a_224 {
4159
+ flex: none;
4160
+ color: var(--_fm-text-secondary);
4161
+ font-size: 0.75rem;
4162
+
4163
+ [data-status="failed"] > div > & {
4164
+ color: var(--_fm-error);
4165
+ }
4166
+ }
4167
+
4168
+ ._partUploadBar_1hw9a_234 {
4169
+ grid-column: 1 / -1;
4170
+ }
4171
+
4172
+ ._saveError_1hw9a_238 {
4173
+ width: 100%;
4174
+ color: var(--_fm-error);
4175
+ font-size: 0.75rem;
4176
+ }
4177
+
4178
+ /* The checkbox's own padding, kept small, so it sits in the row as a value does. */
4179
+ ._toggle_1hw9a_245 {
4180
+ padding: 4px;
4181
+ margin-inline-start: -4px;
4182
+ }
4183
+
4184
+ ._state_1hw9a_250 {
4185
+ display: flex;
4186
+ align-items: center;
4187
+ flex-wrap: wrap;
4098
4188
  gap: 8px;
4099
4189
  padding-block: 16px;
4100
4190
  border-top: 1px solid;
@@ -4152,7 +4242,7 @@ select._input_1spke_32 {
4152
4242
  * is one, under the header bar.
4153
4243
  */
4154
4244
  /* Written out from PROPERTIES_MIN_WIDTH, PROPERTIES_WIDTH (the styles' constants), which it follows. */
4155
- ._pane_1ct0e_7 {
4245
+ ._pane_19l1l_7 {
4156
4246
  display: flex;
4157
4247
  flex-direction: column;
4158
4248
  background-color: var(--_fm-surface);
@@ -4184,9 +4274,9 @@ select._input_1spke_32 {
4184
4274
  flex-shrink: 1;
4185
4275
  width: var(--properties-width, 300px);
4186
4276
  min-width: 240px;
4187
- margin-inline-end: 6px;
4188
- margin-bottom: 6px;
4189
- border-radius: calc(var(--_fm-radius) * 3);
4277
+ margin-inline-end: var(--_fm-panel-gap);
4278
+ margin-bottom: var(--_fm-panel-gap);
4279
+ border-radius: var(--_fm-panel-radius);
4190
4280
  box-shadow: none;
4191
4281
  translate: none;
4192
4282
  visibility: visible;
@@ -4202,7 +4292,7 @@ select._input_1spke_32 {
4202
4292
  * Clips the panel to the docked pane's rounded corners, leaving the pane itself unclipped, so its
4203
4293
  * edge can reach out over the gap beside it.
4204
4294
  */
4205
- ._clip_1ct0e_57 {
4295
+ ._clip_19l1l_57 {
4206
4296
  flex: 1;
4207
4297
  min-height: 0;
4208
4298
  display: flex;
@@ -4214,8 +4304,11 @@ select._input_1spke_32 {
4214
4304
  * The edge of a docked panel, which resizes it: a strip along the panel's side, wider on a touch
4215
4305
  * screen, showing a grip as it's pointed at, held, dragged or focused. It sits over the gap beside
4216
4306
  * the panel, or on the boundary where there's none, so it hardly takes a scrollbar's place.
4307
+ *
4308
+ * On the start side, over the gap before the panel, up to 6px of it, and over the panel itself
4309
+ * for the rest, so with the panels' gap at 0 it lies inside the panel, off the content's scrollbar.
4217
4310
  */
4218
- ._start_5z3a2_6 {
4311
+ ._start_8s3g8_9 {
4219
4312
  position: absolute;
4220
4313
  z-index: 1;
4221
4314
  top: 0;
@@ -4225,7 +4318,7 @@ select._input_1spke_32 {
4225
4318
  touch-action: none;
4226
4319
  user-select: none;
4227
4320
  outline: none;
4228
- inset-inline-start: -6px;
4321
+ inset-inline-start: calc(-1 * min(var(--_fm-panel-gap), 6px));
4229
4322
 
4230
4323
  &::after {
4231
4324
  content: "";
@@ -4272,7 +4365,7 @@ select._input_1spke_32 {
4272
4365
  * Centred on the boundary with the content, which touches the panel, a little over each side, so
4273
4366
  * it takes only a few pixels of the tree's scrollbar.
4274
4367
  */
4275
- ._end_5z3a2_63 {
4368
+ ._end_8s3g8_66 {
4276
4369
  position: absolute;
4277
4370
  z-index: 1;
4278
4371
  top: 0;
@@ -4791,6 +4884,62 @@ select._input_1spke_32 {
4791
4884
  font-size: 0.875rem;
4792
4885
  overflow-wrap: anywhere;
4793
4886
  }
4887
+ /*
4888
+ * Under the view's header, across it, as what's said of the asset's processing is; or at the library's
4889
+ * foot, in the selection bar's place, set off by a rule above it.
4890
+ */
4891
+ ._root_ykjrd_5 {
4892
+ display: flex;
4893
+ flex-wrap: wrap;
4894
+ align-items: center;
4895
+ gap: 8px;
4896
+ flex-shrink: 0;
4897
+ padding-inline: 16px;
4898
+ padding-block: 8px;
4899
+ border-bottom: 1px solid;
4900
+ border-color: var(--_fm-divider);
4901
+
4902
+ &[data-placement="bottom"] {
4903
+ border-bottom: none;
4904
+ border-top: 1px solid;
4905
+ border-color: var(--_fm-divider);
4906
+ }
4907
+ }
4908
+
4909
+ ._text_ykjrd_23 {
4910
+ flex: 1 1 14rem;
4911
+ min-width: 0;
4912
+ overflow-wrap: anywhere;
4913
+ }
4914
+
4915
+ ._title_ykjrd_29 {
4916
+ font-size: 0.8125rem;
4917
+ font-weight: 700;
4918
+ }
4919
+
4920
+ ._warning_ykjrd_34 {
4921
+ color: var(--_fm-text-secondary);
4922
+ font-size: 0.8125rem;
4923
+ }
4924
+
4925
+ ._buttons_ykjrd_39 {
4926
+ display: flex;
4927
+ gap: 8px;
4928
+ flex-shrink: 0;
4929
+ margin-inline-start: auto;
4930
+ }
4931
+ /* Each message on a line of its own, marked by a rule at their start side, which forced colors keep. */
4932
+ ._ownMessages_1om4u_2 {
4933
+ display: flex;
4934
+ flex-direction: column;
4935
+ gap: 4px;
4936
+ margin-bottom: 16px;
4937
+ padding-inline-start: 10px;
4938
+ border-inline-start: 3px solid;
4939
+ color: var(--_fm-error);
4940
+ font-size: 0.8125rem;
4941
+ overflow-wrap: anywhere;
4942
+ }
4794
4943
  /* Processing is said as a detail is, a failure in `error.main`. */
4795
4944
  ._line_1oxga_2 {
4796
4945
  color: var(--_fm-text-secondary);
@@ -5271,18 +5420,6 @@ select._input_1spke_32 {
5271
5420
  flex-shrink: 0;
5272
5421
  margin-inline-start: auto;
5273
5422
  }
5274
- /* Each message on a line of its own, marked by a rule at their start side, which forced colors keep. */
5275
- ._ownMessages_1om4u_2 {
5276
- display: flex;
5277
- flex-direction: column;
5278
- gap: 4px;
5279
- margin-bottom: 16px;
5280
- padding-inline-start: 10px;
5281
- border-inline-start: 3px solid;
5282
- color: var(--_fm-error);
5283
- font-size: 0.8125rem;
5284
- overflow-wrap: anywhere;
5285
- }
5286
5423
  /* Over the library, in its place, as the asset view is, what's under it kept as it was. */
5287
5424
  ._root_1ji40_2 {
5288
5425
  position: absolute;
@@ -5472,41 +5609,6 @@ select._input_1spke_32 {
5472
5609
  flex: 1;
5473
5610
  min-width: 0;
5474
5611
  }
5475
- /* Under the view's header, across it, as what's said of the asset's processing is. */
5476
- ._root_hmibs_2 {
5477
- display: flex;
5478
- flex-wrap: wrap;
5479
- align-items: center;
5480
- gap: 8px;
5481
- flex-shrink: 0;
5482
- padding-inline: 16px;
5483
- padding-block: 8px;
5484
- border-bottom: 1px solid;
5485
- border-color: var(--_fm-divider);
5486
- }
5487
-
5488
- ._text_hmibs_14 {
5489
- flex: 1 1 14rem;
5490
- min-width: 0;
5491
- overflow-wrap: anywhere;
5492
- }
5493
-
5494
- ._title_hmibs_20 {
5495
- font-size: 0.8125rem;
5496
- font-weight: 700;
5497
- }
5498
-
5499
- ._warning_hmibs_25 {
5500
- color: var(--_fm-text-secondary);
5501
- font-size: 0.8125rem;
5502
- }
5503
-
5504
- ._buttons_hmibs_30 {
5505
- display: flex;
5506
- gap: 8px;
5507
- flex-shrink: 0;
5508
- margin-inline-start: auto;
5509
- }
5510
5612
  /* Over the library, in its place, its grid kept underneath as it was, scrolled where it was. */
5511
5613
  ._root_jh1dg_2 {
5512
5614
  position: absolute;
@@ -5694,16 +5796,120 @@ select._input_1spke_32 {
5694
5796
  }
5695
5797
  }
5696
5798
  }
5799
+ /* The groups set apart by a rule above each, as `MediaFields`' are, the first by the hint above it. */
5800
+ ._groups_iyhm4_2 {
5801
+ display: flex;
5802
+ flex-direction: column;
5803
+ }
5804
+
5805
+ ._group_iyhm4_2 {
5806
+ display: flex;
5807
+ flex-direction: column;
5808
+ gap: 4px;
5809
+ padding-block: 12px;
5810
+ border-top: 1px solid;
5811
+ border-color: var(--_fm-divider);
5812
+
5813
+ &:first-child {
5814
+ border-top: 0;
5815
+ padding-top: 0;
5816
+ }
5817
+ }
5818
+
5819
+ ._groupTitle_iyhm4_21 {
5820
+ padding-block-end: 4px;
5821
+ font-size: 0.8125rem;
5822
+ font-weight: 600;
5823
+ }
5824
+
5825
+ ._field_iyhm4_27 {
5826
+ display: flex;
5827
+ flex-direction: column;
5828
+ gap: 6px;
5829
+ min-width: 0;
5830
+ }
5831
+
5832
+ /* The checkbox, the label after it, and what they hold now at the end of the line. */
5833
+ ._head_iyhm4_35 {
5834
+ display: flex;
5835
+ align-items: center;
5836
+ gap: 2px;
5837
+ min-width: 0;
5838
+ }
5839
+
5840
+ ._label_iyhm4_42 {
5841
+ flex-shrink: 0;
5842
+ max-width: 60%;
5843
+ font-size: 0.875rem;
5844
+ overflow-wrap: anywhere;
5845
+ }
5846
+
5847
+ ._required_iyhm4_49 {
5848
+ color: var(--_fm-error);
5849
+ }
5850
+
5851
+ ._summary_iyhm4_53 {
5852
+ flex: 1;
5853
+ min-width: 0;
5854
+ padding-inline-start: 12px;
5855
+ text-align: end;
5856
+ }
5857
+
5858
+ /*
5859
+ * Under the label, in line with it rather than the checkbox, so it reads as that field's, and fading in
5860
+ * as it's ticked, the field opening as a form's does.
5861
+ */
5862
+ ._editor_iyhm4_64 {
5863
+ display: flex;
5864
+ flex-direction: column;
5865
+ gap: 8px;
5866
+ padding-inline-start: 40px;
5867
+ padding-block-end: 6px;
5868
+ animation: _open_iyhm4_1 160ms ease-out;
5869
+ }
5870
+
5871
+ @keyframes _open_iyhm4_1 {
5872
+ from {
5873
+ opacity: 0;
5874
+ translate: 0 -4px;
5875
+ }
5876
+ }
5877
+
5878
+ @media (prefers-reduced-motion: reduce) {
5879
+ ._editor_iyhm4_64 {
5880
+ animation: none;
5881
+ }
5882
+ }
5883
+
5884
+ ._mode_iyhm4_86 {
5885
+ align-self: flex-start;
5886
+ min-width: 10rem;
5887
+ }
5888
+
5889
+ ._checkRow_iyhm4_91 {
5890
+ display: flex;
5891
+ align-items: center;
5892
+ gap: 2px;
5893
+ }
5894
+
5895
+ ._own_iyhm4_97 {
5896
+ min-width: 0;
5897
+ }
5697
5898
  /* Positioned, so the selected column's overlay and its backdrop are placed by it. */
5698
- ._frame_c7kb1_2 {
5899
+ ._frame_ky3au_2 {
5699
5900
  position: relative;
5700
5901
  display: flex;
5701
5902
  height: 100%;
5702
5903
  background-color: var(--_fm-background);
5703
5904
  color: var(--_fm-text);
5905
+
5906
+ /* While a touch or pen presses, no browser drags what's under it itself, as the drag is the frame's. */
5907
+ &[data-touch-press] [draggable="true"] {
5908
+ -webkit-user-drag: none;
5909
+ }
5704
5910
  }
5705
5911
 
5706
- ._main_c7kb1_10 {
5912
+ ._main_ky3au_15 {
5707
5913
  display: flex;
5708
5914
  flex-direction: column;
5709
5915
  flex: 1;
@@ -5713,17 +5919,19 @@ select._input_1spke_32 {
5713
5919
  /*
5714
5920
  * The library sits as an inset, rounded panel on the window background, as the file manager's
5715
5921
  * content does; beside the docked list of libraries, which has its own inset, it takes no margin.
5716
- * Positioned, so the asset view covers it. Without the choose bar under it, as where the selected
5717
- * column docks, it keeps a margin of its own below.
5922
+ * Positioned, so the asset view covers it, and its own stacking context, so what stacks in it, the
5923
+ * filters' card over the results, stays under the drawer of libraries. Without the choose bar under
5924
+ * it, as where the selected column docks, it keeps a margin of its own below.
5718
5925
  */
5719
- ._panel_c7kb1_23 {
5926
+ ._panel_ky3au_29 {
5720
5927
  position: relative;
5928
+ isolation: isolate;
5721
5929
  display: flex;
5722
5930
  flex-direction: column;
5723
5931
  flex: 1;
5724
5932
  min-height: 0;
5725
- margin-inline: 6px;
5726
- border-radius: calc(var(--_fm-radius) * 3);
5933
+ margin-inline: var(--_fm-panel-gap);
5934
+ border-radius: var(--_fm-panel-radius);
5727
5935
  overflow: hidden;
5728
5936
  background-color: var(--_fm-surface);
5729
5937
 
@@ -5734,11 +5942,11 @@ select._input_1spke_32 {
5734
5942
  }
5735
5943
 
5736
5944
  [data-choosing="false"] & {
5737
- margin-bottom: 6px;
5945
+ margin-bottom: var(--_fm-panel-gap);
5738
5946
  }
5739
5947
 
5740
5948
  @container media-manager (min-width: 1040px) {
5741
- margin-bottom: 6px;
5949
+ margin-bottom: var(--_fm-panel-gap);
5742
5950
  }
5743
5951
  }
5744
5952
 
@@ -5746,7 +5954,7 @@ select._input_1spke_32 {
5746
5954
  * The grid stays under the asset view, hidden but laid out, so it's scrolled where it was and
5747
5955
  * keeps its Tab stop when the view goes back to it.
5748
5956
  */
5749
- ._grid_c7kb1_53 {
5957
+ ._grid_ky3au_60 {
5750
5958
  display: flex;
5751
5959
  flex-direction: column;
5752
5960
  flex: 1;
@@ -5761,10 +5969,10 @@ select._input_1spke_32 {
5761
5969
  * Under the library, an inset panel as it is, above the choose bar; where the library has no
5762
5970
  * margin of its own below, as above the choose bar, it takes one above.
5763
5971
  */
5764
- ._uploads_c7kb1_68 {
5972
+ ._uploads_ky3au_75 {
5765
5973
  flex-shrink: 0;
5766
- margin-inline: 6px;
5767
- margin-bottom: 6px;
5974
+ margin-inline: var(--_fm-panel-gap);
5975
+ margin-bottom: var(--_fm-panel-gap);
5768
5976
 
5769
5977
  @container media-manager (min-width: 720px) {
5770
5978
  [data-libraries="true"] & {
@@ -5773,7 +5981,7 @@ select._input_1spke_32 {
5773
5981
  }
5774
5982
 
5775
5983
  [data-choosing="true"] & {
5776
- margin-top: 6px;
5984
+ margin-top: var(--_fm-panel-gap);
5777
5985
  }
5778
5986
 
5779
5987
  @container media-manager (min-width: 1040px) {
@@ -5783,7 +5991,7 @@ select._input_1spke_32 {
5783
5991
  }
5784
5992
  }
5785
5993
 
5786
- ._librariesBackdrop_c7kb1_90 {
5994
+ ._librariesBackdrop_ky3au_97 {
5787
5995
  position: absolute;
5788
5996
  z-index: 2;
5789
5997
 
@@ -5792,7 +6000,7 @@ select._input_1spke_32 {
5792
6000
  }
5793
6001
  }
5794
6002
 
5795
- ._noLibraries_c7kb1_99 {
6003
+ ._noLibraries_ky3au_106 {
5796
6004
  display: flex;
5797
6005
  flex-direction: column;
5798
6006
  align-items: center;
@@ -5807,58 +6015,354 @@ select._input_1spke_32 {
5807
6015
  }
5808
6016
  }
5809
6017
  /*
5810
- * Placed by `top` and `gridColumn`, set in `style`: an absolutely positioned child of a grid takes the
5811
- * grid area it's placed in as its box, so it fills its column's width (see `virtualization.md`).
6018
+ * Under the header, above what the level holds, the chips wrapping onto more lines as they need,
6019
+ * Clear all after the last.
5812
6020
  */
5813
- ._tile_aleoj_5 {
5814
- position: absolute;
5815
- inset-inline: 0;
6021
+ ._row_in8wg_5 {
5816
6022
  display: flex;
5817
- flex-direction: column;
5818
- /* The room between a tile's edge and what's in it, which the check and the Open button go by. */
5819
- --tile-padding: 6px;
6023
+ flex-wrap: wrap;
6024
+ align-items: center;
6025
+ gap: 6px;
6026
+ padding-inline: 12px;
6027
+ padding-block: 10px 4px;
6028
+ }
5820
6029
 
5821
- min-width: 0;
5822
- padding: var(--tile-padding);
5823
- border-radius: calc(var(--_fm-radius) * 3);
5824
- cursor: pointer;
5825
- user-select: none;
5826
- outline: none;
5827
- -webkit-tap-highlight-color: transparent;
6030
+ /*
6031
+ * Tinted with the accent, as what narrows the results is set apart from a tag's grey, and popping in
6032
+ * as each is set.
6033
+ */
6034
+ ._chip_in8wg_18 {
6035
+ height: 28px;
6036
+ background-color: color-mix(in srgb, var(--_fm-primary) 14%, transparent);
6037
+ animation: _arrive_in8wg_1 160ms cubic-bezier(0.2, 0, 0, 1);
5828
6038
 
5829
6039
  &:hover {
5830
- background-color: var(--_fm-row-hover);
5831
- }
5832
-
5833
- &[aria-selected="true"] {
5834
- background-color: var(--_fm-row-selected);
5835
- }
5836
-
5837
- &[aria-selected="true"]:hover {
5838
- background-color: var(--_fm-row-selected-hover);
6040
+ background-color: color-mix(in srgb, var(--_fm-primary) 24%, transparent);
5839
6041
  }
5840
6042
 
5841
- &:focus-visible {
5842
- outline: 2px solid;
5843
- outline-color: var(--_fm-primary);
5844
- outline-offset: -2px;
6043
+ @media (prefers-reduced-motion: reduce) {
6044
+ animation: none;
5845
6045
  }
5846
6046
 
5847
- &[aria-disabled="true"] {
5848
- cursor: default;
6047
+ /* Forced colors drop its background, so an edge shows it. */
6048
+ @media (forced-colors: active) {
6049
+ border: 1px solid ButtonText;
5849
6050
  }
6051
+ }
5850
6052
 
5851
- @media (forced-colors: active) {
5852
- &[aria-selected="true"] {
5853
- background-color: Highlight;
5854
- color: HighlightText;
5855
- }
6053
+ @keyframes _arrive_in8wg_1 {
6054
+ from {
6055
+ opacity: 0;
6056
+ scale: 0.8;
5856
6057
  }
5857
6058
  }
5858
6059
 
5859
- ._row_aleoj_51 {
6060
+ ._clear_in8wg_44 {
6061
+ margin-inline-start: 2px;
6062
+ }
6063
+ /*
6064
+ * A card over the results, as a menu is: on the menus' tone with their shadow, its end under the
6065
+ * Filters button's (set in `style` once measured, 8px from the library's end until then), at most as
6066
+ * tall as the library leaves it, its form scrolling inside. It drops from under the button, growing
6067
+ * and fading in, and lifts back into it as it folds away, drawn until it has gone.
6068
+ */
6069
+ ._card_1cjwq_7 {
5860
6070
  position: absolute;
5861
- inset-inline: 0;
6071
+ z-index: 2;
6072
+ inset-block-start: 6px;
6073
+ inset-inline-end: 8px;
6074
+ display: flex;
6075
+ flex-direction: column;
6076
+ width: min(22rem, calc(100% - 16px));
6077
+ max-height: calc(100% - 14px);
6078
+ border-radius: calc(var(--_fm-radius) * 3);
6079
+ overflow: hidden;
6080
+ background-color: var(--_fm-menu);
6081
+ box-shadow: var(--_fm-shadow-8);
6082
+ outline: none;
6083
+ animation: _drop_1cjwq_1 200ms cubic-bezier(0.2, 0, 0, 1);
6084
+
6085
+ &:focus-visible {
6086
+ outline: 2px solid var(--_fm-primary);
6087
+ outline-offset: -2px;
6088
+ }
6089
+
6090
+ &[data-leaving="true"] {
6091
+ pointer-events: none;
6092
+ animation: _lift_1cjwq_1 150ms cubic-bezier(0.3, 0, 1, 1) forwards;
6093
+ }
6094
+
6095
+ @media (prefers-reduced-motion: reduce) {
6096
+ animation: none;
6097
+
6098
+ &[data-leaving="true"] {
6099
+ visibility: hidden;
6100
+ animation: none;
6101
+ }
6102
+ }
6103
+
6104
+ /* Forced colors drop its background and its shadow, so an edge sets it apart. */
6105
+ @media (forced-colors: active) {
6106
+ outline: 1px solid CanvasText;
6107
+ }
6108
+ }
6109
+
6110
+ @keyframes _drop_1cjwq_1 {
6111
+ from {
6112
+ opacity: 0;
6113
+ scale: 0.94;
6114
+ translate: 0 -6px;
6115
+ }
6116
+ }
6117
+
6118
+ @keyframes _lift_1cjwq_1 {
6119
+ to {
6120
+ opacity: 0;
6121
+ scale: 0.96;
6122
+ translate: 0 -4px;
6123
+ visibility: hidden;
6124
+ }
6125
+ }
6126
+
6127
+ /* Less below than around, as `MediaFields`' last group keeps room of its own under it. */
6128
+ ._body_1cjwq_66 {
6129
+ min-height: 0;
6130
+ overflow-y: auto;
6131
+ overscroll-behavior: contain;
6132
+ padding: 16px 16px 8px;
6133
+ }
6134
+
6135
+ ._foot_1cjwq_73 {
6136
+ display: flex;
6137
+ flex-wrap: wrap;
6138
+ align-items: center;
6139
+ gap: 8px;
6140
+ flex-shrink: 0;
6141
+ padding-block: 6px;
6142
+ padding-inline: 16px 8px;
6143
+ border-top: 1px solid;
6144
+ border-color: var(--_fm-divider);
6145
+ }
6146
+
6147
+ ._note_1cjwq_85 {
6148
+ flex: 1 1 10rem;
6149
+ min-width: 0;
6150
+ }
6151
+
6152
+ ._clear_1cjwq_90 {
6153
+ margin-inline-start: auto;
6154
+ }
6155
+ /*
6156
+ * Over the whole component, drawn inside it rather than portaled out, as a picker in an app's modal
6157
+ * dialog would have its focus trapped away from a portal: the dim layer over all of it and the dialog
6158
+ * in its middle, above the libraries' drawer and the selected column's overlay. Going, nothing in it
6159
+ * takes a press, so the library is reached at once.
6160
+ */
6161
+ ._layer_1cbf0_7 {
6162
+ position: absolute;
6163
+ inset: 0;
6164
+ z-index: 4;
6165
+ display: flex;
6166
+ align-items: center;
6167
+ justify-content: center;
6168
+ padding: 16px;
6169
+
6170
+ &[data-leaving="true"] {
6171
+ pointer-events: none;
6172
+ }
6173
+
6174
+ @media (prefers-reduced-motion: reduce) {
6175
+ &[data-leaving="true"] {
6176
+ visibility: hidden;
6177
+ }
6178
+ }
6179
+ }
6180
+
6181
+ ._scrim_1cbf0_27 {
6182
+ position: absolute;
6183
+ inset: 0;
6184
+ background-color: var(--_fm-backdrop);
6185
+ animation: _fade-in_1cbf0_1 200ms;
6186
+ -webkit-tap-highlight-color: transparent;
6187
+
6188
+ [data-leaving="true"] > & {
6189
+ animation: _fade-out_1cbf0_1 150ms forwards;
6190
+ }
6191
+
6192
+ @media (prefers-reduced-motion: reduce) {
6193
+ animation: none;
6194
+
6195
+ [data-leaving="true"] > & {
6196
+ animation: none;
6197
+ }
6198
+ }
6199
+ }
6200
+
6201
+ /*
6202
+ * Laid out as the kit's dialogs are: on the window's background with an outline, which shows its edge
6203
+ * against a dark backdrop where a shadow doesn't, and in forced colors. Wider than the card, for rules
6204
+ * of a field, an operator and a value in a row, at most as tall as the component leaves it, its form
6205
+ * scrolling inside. An app makes it wider through `.fm-media-filters-dialog`.
6206
+ */
6207
+ ._dialog_1cbf0_53 {
6208
+ position: relative;
6209
+ display: flex;
6210
+ flex-direction: column;
6211
+ width: min(36rem, 100%);
6212
+ max-height: 100%;
6213
+ border: 1px solid var(--_fm-divider);
6214
+ border-radius: calc(var(--_fm-radius) * 3);
6215
+ overflow: hidden;
6216
+ background-color: var(--_fm-background);
6217
+ color: var(--_fm-text);
6218
+ box-shadow: var(--_fm-shadow-24);
6219
+ outline: none;
6220
+ animation: _pop_1cbf0_1 200ms cubic-bezier(0.2, 0, 0, 1);
6221
+
6222
+ &:focus-visible {
6223
+ outline: 2px solid var(--_fm-primary);
6224
+ outline-offset: -2px;
6225
+ }
6226
+
6227
+ &[data-leaving="true"] {
6228
+ animation: _lift_1cbf0_1 150ms cubic-bezier(0.3, 0, 1, 1) forwards;
6229
+ }
6230
+
6231
+ @media (prefers-reduced-motion: reduce) {
6232
+ animation: none;
6233
+
6234
+ &[data-leaving="true"] {
6235
+ animation: none;
6236
+ }
6237
+ }
6238
+ }
6239
+
6240
+ @keyframes _fade-in_1cbf0_1 {
6241
+ from {
6242
+ opacity: 0;
6243
+ }
6244
+ }
6245
+
6246
+ @keyframes _fade-out_1cbf0_1 {
6247
+ to {
6248
+ opacity: 0;
6249
+ visibility: hidden;
6250
+ }
6251
+ }
6252
+
6253
+ @keyframes _pop_1cbf0_1 {
6254
+ from {
6255
+ opacity: 0;
6256
+ scale: 0.96;
6257
+ }
6258
+ }
6259
+
6260
+ @keyframes _lift_1cbf0_1 {
6261
+ to {
6262
+ opacity: 0;
6263
+ scale: 0.98;
6264
+ visibility: hidden;
6265
+ }
6266
+ }
6267
+
6268
+ /* As the kit's dialog title. */
6269
+ ._title_1cbf0_115 {
6270
+ flex-shrink: 0;
6271
+ margin: 0;
6272
+ padding: 16px 24px 8px;
6273
+ font-size: 1.25rem;
6274
+ font-weight: 500;
6275
+ line-height: 1.6;
6276
+ }
6277
+
6278
+ /* Less below than around, as `MediaFields`' last group keeps room of its own under it. */
6279
+ ._body_1cbf0_125 {
6280
+ flex: 1 1 auto;
6281
+ min-height: 0;
6282
+ overflow-y: auto;
6283
+ overscroll-behavior: contain;
6284
+ padding: 8px 24px;
6285
+ }
6286
+
6287
+ /* Clear all at the start, Cancel and Apply at the end, and why Apply is held between, wrapping if need be. */
6288
+ ._foot_1cbf0_134 {
6289
+ display: flex;
6290
+ flex-wrap: wrap;
6291
+ align-items: center;
6292
+ gap: 8px;
6293
+ flex-shrink: 0;
6294
+ padding: 8px 12px;
6295
+ border-top: 1px solid;
6296
+ border-color: var(--_fm-divider);
6297
+ }
6298
+
6299
+ ._clear_1cbf0_145 {
6300
+ margin-inline-end: auto;
6301
+ }
6302
+
6303
+ ._note_1cbf0_149 {
6304
+ flex: 1 1 10rem;
6305
+ min-width: 0;
6306
+ }
6307
+
6308
+ ._buttons_1cbf0_154 {
6309
+ display: flex;
6310
+ gap: 8px;
6311
+ margin-inline-start: auto;
6312
+ }
6313
+ /*
6314
+ * Placed by `top` and `gridColumn`, set in `style`: an absolutely positioned child of a grid takes the
6315
+ * grid area it's placed in as its box, so it fills its column's width (see `virtualization.md`).
6316
+ */
6317
+ ._tile_1us8v_5 {
6318
+ position: absolute;
6319
+ inset-inline: 0;
6320
+ display: flex;
6321
+ flex-direction: column;
6322
+ /* The room between a tile's edge and what's in it, which the check and the Open button go by. */
6323
+ --tile-padding: 6px;
6324
+
6325
+ min-width: 0;
6326
+ padding: var(--tile-padding);
6327
+ border-radius: calc(var(--_fm-radius) * 3);
6328
+ cursor: pointer;
6329
+ user-select: none;
6330
+ outline: none;
6331
+ -webkit-tap-highlight-color: transparent;
6332
+
6333
+ &:hover {
6334
+ background-color: var(--_fm-row-hover);
6335
+ }
6336
+
6337
+ &[aria-selected="true"] {
6338
+ background-color: var(--_fm-row-selected);
6339
+ }
6340
+
6341
+ &[aria-selected="true"]:hover {
6342
+ background-color: var(--_fm-row-selected-hover);
6343
+ }
6344
+
6345
+ &:focus-visible {
6346
+ outline: 2px solid;
6347
+ outline-color: var(--_fm-primary);
6348
+ outline-offset: -2px;
6349
+ }
6350
+
6351
+ &[aria-disabled="true"] {
6352
+ cursor: default;
6353
+ }
6354
+
6355
+ @media (forced-colors: active) {
6356
+ &[aria-selected="true"] {
6357
+ background-color: Highlight;
6358
+ color: HighlightText;
6359
+ }
6360
+ }
6361
+ }
6362
+
6363
+ ._row_1us8v_51 {
6364
+ position: absolute;
6365
+ inset-inline: 0;
5862
6366
  display: flex;
5863
6367
  align-items: center;
5864
6368
  gap: 12px;
@@ -5902,7 +6406,7 @@ select._input_1spke_32 {
5902
6406
  }
5903
6407
 
5904
6408
  /* What the app drew, and under it why it can't be chosen now, as nothing it drew says so. */
5905
- ._content_aleoj_97 {
6409
+ ._content_1us8v_97 {
5906
6410
  display: flex;
5907
6411
  flex-direction: column;
5908
6412
  flex: 1;
@@ -5919,7 +6423,7 @@ select._input_1spke_32 {
5919
6423
  * What the app drew entirely itself is faded as the media manager's own pictures are, which fade
5920
6424
  * themselves, by the same marks.
5921
6425
  */
5922
- ._drawn_aleoj_114 {
6426
+ ._drawn_1us8v_114 {
5923
6427
  flex: 1;
5924
6428
  min-width: 0;
5925
6429
 
@@ -5933,7 +6437,7 @@ select._input_1spke_32 {
5933
6437
  }
5934
6438
 
5935
6439
  /* The check at a tile's top end corner, over its picture's, shown while it's selected. */
5936
- ._tileCheck_aleoj_128 {
6440
+ ._tileCheck_1us8v_128 {
5937
6441
  position: absolute;
5938
6442
  top: calc(var(--tile-padding) + 6px);
5939
6443
  inset-inline-end: calc(var(--tile-padding) + 6px);
@@ -5963,7 +6467,7 @@ select._input_1spke_32 {
5963
6467
  }
5964
6468
 
5965
6469
  /* The check at a row's end, shown while it's selected. */
5966
- ._rowCheck_aleoj_158 {
6470
+ ._rowCheck_1us8v_158 {
5967
6471
  display: flex;
5968
6472
  align-items: center;
5969
6473
  justify-content: center;
@@ -5994,7 +6498,7 @@ select._input_1spke_32 {
5994
6498
  * A group's own check, always shown, as it's the one way a pointer selects it: empty on the panel's
5995
6499
  * surface, filled while it's selected.
5996
6500
  */
5997
- ._tileGroupCheck_aleoj_189 {
6501
+ ._tileGroupCheck_1us8v_189 {
5998
6502
  width: 22px;
5999
6503
  height: 22px;
6000
6504
  padding: 0;
@@ -6036,7 +6540,7 @@ select._input_1spke_32 {
6036
6540
  }
6037
6541
  }
6038
6542
 
6039
- ._rowGroupCheck_aleoj_231 {
6543
+ ._rowGroupCheck_1us8v_231 {
6040
6544
  width: 22px;
6041
6545
  height: 22px;
6042
6546
  padding: 0;
@@ -6079,7 +6583,7 @@ select._input_1spke_32 {
6079
6583
  * The button opening the asset, at a tile's top start corner, on the panel's own surface, shown as
6080
6584
  * the pointer is over it or the focus is on it, and always on a touch screen.
6081
6585
  */
6082
- ._tileOpen_aleoj_274 {
6586
+ ._tileOpen_1us8v_274 {
6083
6587
  position: absolute;
6084
6588
  top: calc(var(--tile-padding) + 4px);
6085
6589
  inset-inline-start: calc(var(--tile-padding) + 4px);
@@ -6113,7 +6617,7 @@ select._input_1spke_32 {
6113
6617
  }
6114
6618
 
6115
6619
  /* The button opening it, before a row's check, shown the same way. */
6116
- ._rowOpen_aleoj_308 {
6620
+ ._rowOpen_1us8v_308 {
6117
6621
  flex-shrink: 0;
6118
6622
  opacity: 0;
6119
6623
 
@@ -6134,6 +6638,46 @@ select._input_1spke_32 {
6134
6638
  opacity: 1;
6135
6639
  }
6136
6640
  }
6641
+
6642
+ /*
6643
+ * While browsing, a group's check shows only as the pointer is over it or the focus is on it, while it's
6644
+ * selected, and in a touch screen's selection mode, as every group can be selected there and a check on
6645
+ * each would crowd the grid.
6646
+ */
6647
+ [data-browsing="true"] > [role="option"] > :is(._tileGroupCheck_1us8v_189, ._rowGroupCheck_1us8v_231) {
6648
+ opacity: 0;
6649
+ }
6650
+
6651
+ [data-browsing="true"] > [role="option"]:is(:hover, :focus-visible, [aria-selected="true"]) > :is(._tileGroupCheck_1us8v_189, ._rowGroupCheck_1us8v_231),
6652
+ [data-selecting="true"] > [role="option"] > :is(._tileGroupCheck_1us8v_189, ._rowGroupCheck_1us8v_231) {
6653
+ opacity: 1;
6654
+ }
6655
+
6656
+ @media (forced-colors: active) {
6657
+ [data-browsing="true"] > [role="option"] > :is(._tileGroupCheck_1us8v_189, ._rowGroupCheck_1us8v_231) {
6658
+ opacity: 1;
6659
+ }
6660
+ }
6661
+
6662
+ /*
6663
+ * In a touch screen's selection mode, every asset not selected shows its check empty, as a ring, so it's
6664
+ * plain that a tap adds it.
6665
+ */
6666
+ [data-selecting="true"] > [role="option"]:not([aria-selected="true"]) > ._tileCheck_1us8v_128 {
6667
+ display: flex;
6668
+ background-color: var(--_fm-surface);
6669
+ color: transparent;
6670
+ outline: 2px solid var(--_fm-text-secondary);
6671
+ outline-offset: -2px;
6672
+ }
6673
+
6674
+ [data-selecting="true"] > [role="option"]:not([aria-selected="true"]) > ._rowCheck_1us8v_158 {
6675
+ visibility: visible;
6676
+ background-color: transparent;
6677
+ color: transparent;
6678
+ outline: 2px solid var(--_fm-text-secondary);
6679
+ outline-offset: -2px;
6680
+ }
6137
6681
  ._trail_1bg6w_1 {
6138
6682
  color: var(--_fm-text-secondary);
6139
6683
  font-size: 0.75rem;
@@ -6429,7 +6973,7 @@ select._input_1spke_32 {
6429
6973
  opacity: 0.6;
6430
6974
  }
6431
6975
  }
6432
- ._tile_1k1mc_1 {
6976
+ ._tile_1hi4g_1 {
6433
6977
  display: flex;
6434
6978
  flex-direction: column;
6435
6979
  gap: 6px;
@@ -6437,7 +6981,7 @@ select._input_1spke_32 {
6437
6981
  padding: 6px;
6438
6982
  }
6439
6983
 
6440
- ._row_1k1mc_9 {
6984
+ ._row_1hi4g_9 {
6441
6985
  display: flex;
6442
6986
  align-items: center;
6443
6987
  gap: 12px;
@@ -6447,7 +6991,7 @@ select._input_1spke_32 {
6447
6991
  }
6448
6992
 
6449
6993
  /* Written out from ROW_PICTURE (the styles' constants), which it follows. */
6450
- ._cover_1k1mc_19 {
6994
+ ._cover_1hi4g_19 {
6451
6995
  display: flex;
6452
6996
  align-items: center;
6453
6997
  justify-content: center;
@@ -6471,20 +7015,20 @@ select._input_1spke_32 {
6471
7015
  }
6472
7016
  }
6473
7017
 
6474
- ._frameBar_1k1mc_43 {
7018
+ ._frameBar_1hi4g_43 {
6475
7019
  position: absolute;
6476
7020
  inset-inline: 0;
6477
7021
  bottom: 0;
6478
7022
  height: 4px;
6479
7023
  }
6480
7024
 
6481
- ._rowBar_1k1mc_50 {
7025
+ ._rowBar_1hi4g_50 {
6482
7026
  margin-top: 4px;
6483
7027
  height: 3px;
6484
7028
  border-radius: calc(var(--_fm-radius) * 1.5);
6485
7029
  }
6486
7030
 
6487
- ._text_1k1mc_56 {
7031
+ ._text_1hi4g_56 {
6488
7032
  display: flex;
6489
7033
  flex-direction: column;
6490
7034
  min-width: 0;
@@ -6492,25 +7036,25 @@ select._input_1spke_32 {
6492
7036
  text-align: center;
6493
7037
  }
6494
7038
 
6495
- ._rowText_1k1mc_64 {
7039
+ ._rowText_1hi4g_64 {
6496
7040
  display: flex;
6497
7041
  flex-direction: column;
6498
7042
  flex: 1;
6499
7043
  min-width: 0;
6500
7044
  }
6501
7045
 
6502
- ._name_1k1mc_71 {
7046
+ ._name_1hi4g_71 {
6503
7047
  color: var(--_fm-text-secondary);
6504
7048
  font-size: 0.8125rem;
6505
7049
  }
6506
7050
 
6507
- ._status_1k1mc_76 {
7051
+ ._status_1hi4g_76 {
6508
7052
  color: var(--_fm-text-secondary);
6509
7053
  font-size: 0.75rem;
6510
7054
  }
6511
7055
 
6512
7056
  /* The picture being sent, or the file's icon, faded, in the kind's shape (`--ratio`), the bar along its foot. */
6513
- ._frame_1k1mc_43 {
7057
+ ._frame_1hi4g_43 {
6514
7058
  position: relative;
6515
7059
  display: flex;
6516
7060
  align-items: center;
@@ -6533,6 +7077,16 @@ select._input_1spke_32 {
6533
7077
  opacity: 0.55;
6534
7078
  }
6535
7079
  }
7080
+
7081
+ /* A folder being made a group, by a folder's icon, as a group without a picture shows. */
7082
+ ._groupIcon_1hi4g_107 {
7083
+ font-size: 3rem;
7084
+ color: var(--_fm-text-secondary);
7085
+
7086
+ ._cover_1hi4g_19 > & {
7087
+ font-size: 1.5rem;
7088
+ }
7089
+ }
6536
7090
  ._state_jin4a_1 {
6537
7091
  display: flex;
6538
7092
  flex-direction: column;
@@ -6543,14 +7097,14 @@ select._input_1spke_32 {
6543
7097
  font-size: 0.875rem;
6544
7098
  text-align: center;
6545
7099
  }
6546
- ._path_p7x0m_1 {
7100
+ ._path_szvbq_1 {
6547
7101
  display: flex;
6548
7102
  flex: 1;
6549
7103
  min-width: 0;
6550
7104
  overflow: hidden;
6551
7105
  }
6552
7106
 
6553
- ._list_p7x0m_8 {
7107
+ ._list_szvbq_8 {
6554
7108
  display: flex;
6555
7109
  align-items: center;
6556
7110
  min-width: 0;
@@ -6560,7 +7114,7 @@ select._input_1spke_32 {
6560
7114
  }
6561
7115
 
6562
7116
  /* Those before the one open give way long before it does, a few letters of each staying. */
6563
- ._item_p7x0m_18 {
7117
+ ._item_szvbq_18 {
6564
7118
  display: flex;
6565
7119
  align-items: center;
6566
7120
  flex: 0 100 auto;
@@ -6572,7 +7126,7 @@ select._input_1spke_32 {
6572
7126
  }
6573
7127
  }
6574
7128
 
6575
- ._crumb_p7x0m_30 {
7129
+ ._crumb_szvbq_30 {
6576
7130
  display: block;
6577
7131
  min-width: 0;
6578
7132
  height: 28px;
@@ -6589,16 +7143,24 @@ select._input_1spke_32 {
6589
7143
  background-color: var(--_fm-hover);
6590
7144
  color: var(--_fm-text);
6591
7145
  }
7146
+
7147
+ /* Where what's dragged would go, as a group taking it is marked. */
7148
+ &[data-drop-target="true"] {
7149
+ outline: 2px solid var(--_fm-primary);
7150
+ outline-offset: -2px;
7151
+ background-color: var(--_fm-row-selected-hover);
7152
+ color: var(--_fm-text);
7153
+ }
6592
7154
  }
6593
7155
 
6594
- ._current_p7x0m_49 {
7156
+ ._current_szvbq_57 {
6595
7157
  min-width: 0;
6596
7158
  padding-inline: 8px;
6597
7159
  font-size: 0.9375rem;
6598
7160
  font-weight: 700;
6599
7161
  }
6600
7162
 
6601
- ._separator_p7x0m_56 {
7163
+ ._separator_szvbq_64 {
6602
7164
  flex-shrink: 0;
6603
7165
  font-size: 1rem;
6604
7166
  color: var(--_fm-text-disabled);
@@ -6607,7 +7169,7 @@ select._input_1spke_32 {
6607
7169
  * Below `mediaMedium` the app's actions don't show as buttons, and "More actions" holds them all
6608
7170
  * (see `ToolbarActions`).
6609
7171
  */
6610
- ._header_155mi_5 {
7172
+ ._header_h5ski_5 {
6611
7173
  --toolbar-buttons: none;
6612
7174
  --toolbar-more: inline-flex;
6613
7175
 
@@ -6624,14 +7186,14 @@ select._input_1spke_32 {
6624
7186
  }
6625
7187
 
6626
7188
  /* Written out from HEADER_HEIGHT (the styles' constants), which it follows. */
6627
- ._bar_155mi_22 {
7189
+ ._bar_h5ski_22 {
6628
7190
  display: flex;
6629
7191
  align-items: center;
6630
7192
  gap: 8px;
6631
7193
  min-height: 52px;
6632
7194
  }
6633
7195
 
6634
- ._title_155mi_29 {
7196
+ ._title_h5ski_29 {
6635
7197
  flex-shrink: 1;
6636
7198
  min-width: 0;
6637
7199
  padding-inline: 8px;
@@ -6640,22 +7202,83 @@ select._input_1spke_32 {
6640
7202
  }
6641
7203
 
6642
7204
  /* Opens the drawer of libraries, where the list doesn't dock; from `mediaMedium` it's docked. */
6643
- ._librariesButton_155mi_38 {
7205
+ ._librariesButton_h5ski_38 {
6644
7206
  @container media-manager (min-width: 720px) {
6645
7207
  display: none;
6646
7208
  }
6647
7209
  }
6648
7210
 
6649
- /* The name, or the search field in its place, filling the room up to the buttons, so they never move. */
6650
- ._nameSlot_155mi_45 {
7211
+ /*
7212
+ * The name, or the search field in its place, filling the room up to the buttons, so they never move.
7213
+ * The name, or the path, fades in as it comes back from the search, and as one takes the other's place.
7214
+ */
7215
+ ._nameSlot_h5ski_48 {
6651
7216
  flex: 1;
6652
7217
  display: flex;
6653
7218
  align-items: center;
6654
7219
  min-width: 0;
7220
+
7221
+ & > :not([role="search"]) {
7222
+ animation: _appear_h5ski_1 180ms ease-out;
7223
+ }
7224
+
7225
+ @media (prefers-reduced-motion: reduce) {
7226
+ & > :not([role="search"]) {
7227
+ animation: none;
7228
+ }
7229
+ }
7230
+ }
7231
+
7232
+ @keyframes _appear_h5ski_1 {
7233
+ from {
7234
+ opacity: 0;
7235
+ }
7236
+ }
7237
+
7238
+ /*
7239
+ * The search field opens out of the search button beside its end: uncovered from that end towards
7240
+ * the start, from a stub as round as the button, as its contents fade in.
7241
+ */
7242
+ ._searchField_h5ski_75 {
7243
+ animation: _open-ltr_h5ski_1 240ms cubic-bezier(0.2, 0, 0, 1);
7244
+
7245
+ &:dir(rtl) {
7246
+ animation-name: _open-rtl_h5ski_1;
7247
+ }
7248
+
7249
+ @media (prefers-reduced-motion: reduce) {
7250
+ animation: none;
7251
+ }
7252
+ }
7253
+
7254
+ @keyframes _open-ltr_h5ski_1 {
7255
+ from {
7256
+ clip-path: inset(0 0 0 calc(100% - 34px) round calc(var(--_fm-radius) * 2));
7257
+ opacity: 0;
7258
+ }
7259
+
7260
+ to {
7261
+ clip-path: inset(0 round calc(var(--_fm-radius) * 2));
7262
+ }
7263
+ }
7264
+
7265
+ @keyframes _open-rtl_h5ski_1 {
7266
+ from {
7267
+ clip-path: inset(0 calc(100% - 34px) 0 0 round calc(var(--_fm-radius) * 2));
7268
+ opacity: 0;
7269
+ }
7270
+
7271
+ to {
7272
+ clip-path: inset(0 round calc(var(--_fm-radius) * 2));
7273
+ }
6655
7274
  }
6656
7275
 
6657
7276
  /* The search's, and New group's: `primary` while what it opens is open. */
6658
- ._toggleButton_155mi_53 {
7277
+ ._toggleButton_h5ski_110 {
7278
+ transition:
7279
+ background-color 150ms,
7280
+ color 150ms;
7281
+
6659
7282
  &[aria-pressed="true"] {
6660
7283
  color: var(--_fm-primary);
6661
7284
  }
@@ -6667,7 +7290,62 @@ select._input_1spke_32 {
6667
7290
  }
6668
7291
  }
6669
7292
 
6670
- ._upload_155mi_65 {
7293
+ /*
7294
+ * The filters': `primary` while their card shows or any is set, how many in a badge at its top end
7295
+ * corner, over the icon's edge as a mail app's unread count is, popping in as the count changes.
7296
+ */
7297
+ ._filtersButton_h5ski_130 {
7298
+ position: relative;
7299
+ transition:
7300
+ background-color 150ms,
7301
+ color 150ms;
7302
+
7303
+ &[aria-expanded="true"],
7304
+ &[data-active="true"] {
7305
+ color: var(--_fm-primary);
7306
+ }
7307
+
7308
+ @media (forced-colors: active) {
7309
+ &[aria-expanded="true"],
7310
+ &[data-active="true"] {
7311
+ color: Highlight;
7312
+ }
7313
+ }
7314
+ }
7315
+
7316
+ ._badge_h5ski_149 {
7317
+ position: absolute;
7318
+ inset-block-start: 2px;
7319
+ inset-inline-end: 0;
7320
+ min-width: 1rem;
7321
+ height: 1rem;
7322
+ padding-inline: 4px;
7323
+ border-radius: 0.5rem;
7324
+ background-color: var(--_fm-primary);
7325
+ color: var(--_fm-primary-contrast);
7326
+ font-size: 0.625rem;
7327
+ font-weight: 700;
7328
+ line-height: 1rem;
7329
+ text-align: center;
7330
+ pointer-events: none;
7331
+ animation: _pop_h5ski_1 260ms cubic-bezier(0.3, 1.6, 0.6, 1);
7332
+
7333
+ @media (prefers-reduced-motion: reduce) {
7334
+ animation: none;
7335
+ }
7336
+
7337
+ @media (forced-colors: active) {
7338
+ outline: 1px solid CanvasText;
7339
+ }
7340
+ }
7341
+
7342
+ @keyframes _pop_h5ski_1 {
7343
+ from {
7344
+ scale: 0.4;
7345
+ }
7346
+ }
7347
+
7348
+ ._upload_h5ski_181 {
6671
7349
  flex-shrink: 0;
6672
7350
  }
6673
7351
  ._pathRow_1sypx_1 {
@@ -6723,13 +7401,13 @@ select._input_1spke_32 {
6723
7401
  font-size: 0.875rem;
6724
7402
  text-align: center;
6725
7403
  }
6726
- ._notes_uimlu_1 {
7404
+ ._notes_1693x_1 {
6727
7405
  display: flex;
6728
7406
  flex-direction: column;
6729
7407
  gap: 8px;
6730
7408
  }
6731
7409
 
6732
- ._list_uimlu_7 {
7410
+ ._list_1693x_7 {
6733
7411
  display: flex;
6734
7412
  flex-direction: column;
6735
7413
  margin: 0;
@@ -6737,7 +7415,7 @@ select._input_1spke_32 {
6737
7415
  list-style: none;
6738
7416
  }
6739
7417
 
6740
- ._file_uimlu_15 {
7418
+ ._file_1693x_15 {
6741
7419
  display: flex;
6742
7420
  align-items: center;
6743
7421
  gap: 12px;
@@ -6745,24 +7423,68 @@ select._input_1spke_32 {
6745
7423
  padding-block: 6px;
6746
7424
  }
6747
7425
 
6748
- ._fileName_uimlu_23 {
7426
+ ._fileName_1693x_23 {
6749
7427
  flex: 1;
6750
7428
  min-width: 0;
6751
7429
  font-size: 0.875rem;
6752
7430
  }
6753
7431
 
6754
- ._fileSize_uimlu_29 {
7432
+ ._fileSize_1693x_29 {
6755
7433
  flex-shrink: 0;
6756
7434
  color: var(--_fm-text-secondary);
6757
7435
  font-size: 0.8125rem;
6758
7436
  }
6759
7437
 
6760
7438
  /* The form under the files, set apart by a rule, as a pick's form is under its heading. */
6761
- ._fields_uimlu_36 {
7439
+ ._fields_1693x_36 {
6762
7440
  padding-top: 16px;
6763
7441
  border-top: 1px solid;
6764
7442
  border-color: var(--_fm-divider);
6765
7443
  }
7444
+
7445
+ /* A folder's line: its name over what it holds, or why it's left out. */
7446
+ ._folderText_1693x_43 {
7447
+ display: flex;
7448
+ flex: 1;
7449
+ flex-direction: column;
7450
+ min-width: 0;
7451
+ }
7452
+
7453
+ ._folderIcon_1693x_50 {
7454
+ flex-shrink: 0;
7455
+ width: 24px;
7456
+ height: 24px;
7457
+ color: var(--_fm-icon);
7458
+ }
7459
+
7460
+ ._folderDetail_1693x_57 {
7461
+ color: var(--_fm-text-secondary);
7462
+ }
7463
+
7464
+ /* One left out, as it couldn't be read or holds nothing the library takes. */
7465
+ ._file_1693x_15[data-left-out="true"] ._fileName_1693x_23 {
7466
+ color: var(--_fm-text-secondary);
7467
+ }
7468
+ /*
7469
+ * The library's foot, set off from what it holds by a rule, as tall as the choose bar, its buttons the
7470
+ * header's icon buttons, so it fits a phone's width as well as a wide window.
7471
+ */
7472
+ ._bar_1ala9_5 {
7473
+ display: flex;
7474
+ align-items: center;
7475
+ gap: 4px;
7476
+ flex-shrink: 0;
7477
+ min-height: 52px;
7478
+ padding-inline: 8px;
7479
+ border-top: 1px solid;
7480
+ border-color: var(--_fm-divider);
7481
+ }
7482
+
7483
+ ._count_1ala9_16 {
7484
+ flex: 1;
7485
+ min-width: 0;
7486
+ font-weight: 600;
7487
+ }
6766
7488
  /*
6767
7489
  * The root only establishes the container; a container can't match its own queries, so the
6768
7490
  * visible frame is the child below it. The consumer's `className` goes after it.
@@ -6784,7 +7506,9 @@ select._input_1spke_32 {
6784
7506
  height: 100%;
6785
7507
  overflow: hidden;
6786
7508
  }
6787
- ._frame_1f10j_1 {
7509
+ /* Positioned, so the filters' dialog covers all of it, its foot too. */
7510
+ ._frame_1u721_2 {
7511
+ position: relative;
6788
7512
  display: flex;
6789
7513
  flex-direction: column;
6790
7514
  height: 100%;
@@ -6796,40 +7520,44 @@ select._input_1spke_32 {
6796
7520
  * The library with the selected column beside it, or over it, placed by this so its foot stays
6797
7521
  * reachable under the overlay, Choose and Cancel staying where they are.
6798
7522
  */
6799
- ._body_1f10j_13 {
7523
+ ._body_1u721_15 {
6800
7524
  position: relative;
6801
7525
  display: flex;
6802
7526
  flex: 1;
6803
7527
  min-height: 0;
6804
7528
  }
6805
7529
 
6806
- ._main_1f10j_20 {
7530
+ ._main_1u721_22 {
6807
7531
  display: flex;
6808
7532
  flex-direction: column;
6809
7533
  flex: 1;
6810
7534
  min-width: 0;
6811
7535
  }
6812
7536
 
6813
- /* The library, an inset panel as the media manager's is. Positioned, so the upload step covers it. */
6814
- ._panel_1f10j_28 {
7537
+ /*
7538
+ * The library, an inset panel as the media manager's is. Positioned, so the upload step covers it, and
7539
+ * its own stacking context, so what stacks in it, the filters' card over the results, stays in it.
7540
+ */
7541
+ ._panel_1u721_33 {
6815
7542
  position: relative;
7543
+ isolation: isolate;
6816
7544
  display: flex;
6817
7545
  flex-direction: column;
6818
7546
  flex: 1;
6819
7547
  min-height: 0;
6820
- margin-inline: 6px;
6821
- border-radius: calc(var(--_fm-radius) * 3);
7548
+ margin-inline: var(--_fm-panel-gap);
7549
+ border-radius: var(--_fm-panel-radius);
6822
7550
  overflow: hidden;
6823
7551
  background-color: var(--_fm-surface);
6824
7552
 
6825
7553
  @container media-manager (min-width: 1040px) {
6826
7554
  [data-column="true"] & {
6827
- margin-bottom: 6px;
7555
+ margin-bottom: var(--_fm-panel-gap);
6828
7556
  }
6829
7557
  }
6830
7558
  }
6831
7559
 
6832
- ._grid_1f10j_46 {
7560
+ ._grid_1u721_52 {
6833
7561
  display: flex;
6834
7562
  flex-direction: column;
6835
7563
  flex: 1;
@@ -6840,20 +7568,20 @@ select._input_1spke_32 {
6840
7568
  }
6841
7569
  }
6842
7570
 
6843
- ._uploads_1f10j_57 {
7571
+ ._uploads_1u721_63 {
6844
7572
  flex-shrink: 0;
6845
- margin-inline: 6px;
6846
- margin-top: 6px;
7573
+ margin-inline: var(--_fm-panel-gap);
7574
+ margin-top: var(--_fm-panel-gap);
6847
7575
 
6848
7576
  @container media-manager (min-width: 1040px) {
6849
7577
  [data-column="true"] & {
6850
7578
  margin-top: 0;
6851
- margin-bottom: 6px;
7579
+ margin-bottom: var(--_fm-panel-gap);
6852
7580
  }
6853
7581
  }
6854
7582
  }
6855
7583
 
6856
- ._foot_1f10j_70 {
7584
+ ._foot_1u721_76 {
6857
7585
  display: flex;
6858
7586
  flex-wrap: wrap;
6859
7587
  align-items: center;
@@ -6864,20 +7592,20 @@ select._input_1spke_32 {
6864
7592
  padding-block: 6px;
6865
7593
  }
6866
7594
 
6867
- ._count_1f10j_81 {
7595
+ ._count_1u721_87 {
6868
7596
  color: var(--_fm-text-secondary);
6869
7597
  font-size: 0.8125rem;
6870
7598
  }
6871
7599
 
6872
7600
  /* Only where the selected column doesn't dock; beside it, there's nothing to open. */
6873
- ._opener_1f10j_87 {
7601
+ ._opener_1u721_93 {
6874
7602
  @container media-manager (min-width: 1040px) {
6875
7603
  display: none;
6876
7604
  }
6877
7605
  }
6878
7606
 
6879
7607
  /* What holds Choose back, or that there's no room, pushing the buttons to the end side. */
6880
- ._note_1f10j_94 {
7608
+ ._note_1u721_100 {
6881
7609
  flex: 1 1 8rem;
6882
7610
  min-width: 0;
6883
7611
  color: var(--_fm-text-secondary);