/* ── Folders (KBN-0009) ─────────────────────────────────────────────────────── */
/* A passage folder is listed because something inside is visible: name only, muted, no menu of its own. */
.fld-node.passage            { color: var(--ink-soft); font-style: italic; }
.fld-node.passage .res-ico   { opacity: .45; }

/* The place on screen, named, with what can be made there. */
.fld-placebar     { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .2rem 0 .7rem; }
.fld-place        { font-weight: 600; }
.fld-place-hint   { font-size: .82rem; flex: 1 1 14rem; min-width: 0; }
/* The place's buttons sit together at the end of the bar: only the first one pushes. */
.fld-placebar .k-btn:first-of-type { margin-left: auto; }

/* "Move to…": the way out of the tree, under it. */
.fld-move-foot    { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .7rem; }

/* Share dialog: an org unit among the grantees (KBN-0009). */
.res-share-units { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; font-size: .78rem; }
.res-share-unit-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%;
                      background: var(--k-surface-2, #eef1f4); color: var(--k-text-2, #4b5563); font-size: .9rem; }

/* Drag and drop on the tree (KBN-0009). While dragging, a node's icon and label let the events through to the
   node itself, or entering them would read as leaving the node and the highlight would flicker. */
.res-tree.dragging .res-node > * { pointer-events: none; }
.res-node.drop-on { background: var(--k-accent-soft, #e3efe8); box-shadow: inset 0 0 0 2px var(--k-accent, #2f6b4f); }
.res-row[draggable="true"] { cursor: grab; }
