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