/* Wik Desktop D1 -- the folders row (owner F). Port of activity_main.xml folderScroll :321 + dividerFolder :486; 1 dp = 1 px.
   The chips themselves are core/chip.js iconChip (B); this file lays out the row and the arrow chip only. */

.fold-root {
  display: flex;
  flex-direction: column;
  background: var(--c-chrome-fill);              /* ThemeModule.chromeFill: every bar above the chat */
  /* W1/80 L11 (his "Remove the long line lines dividing the room and folders"): no dividerFolder line on the desktop */
}

/* folderBar :336 -- one horizontal line that scrolls sideways. W1/80 L11: THE grid gap (--row-gap) above the row and at its start, as
   the rooms and Users rows (room.css .room-bar); the chips carry it as their end margin */
.fold-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;                                         /* each chip carries the row gap as its end margin (chip.js) */
  padding: var(--row-foot, 0px) 0 var(--row-foot, 0px) var(--row-gap);   /* W1/83 DESKFIX A: + the foot (room.css .room-bar): the lit ring's bottom; W1/93 USERSROW: the lead above = the foot (foot + lead = --row-vgap, as .room-bar) */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.fold-row::-webkit-scrollbar { display: none; }
.fold-row[hidden] { display: none; }

.fold-chip { flex: 0 0 auto; cursor: pointer; user-select: none; }

/* buildRowArrow :2380 -- an iconChip of the row (▸ / ◂, chipColor, activated when rolled out), PINNED: the chips scroll
   under it (translationX = the scroller's offset, elevation 4dp) */
.fold-arrow { position: sticky; inset-inline-start: 0; z-index: 1; }

/* r5 (CONSULT_6 R): the row scrolls by a mouse drag (core/hscroll.js) */
.fold-row { user-select: none; }
