/* TRK-792: folders on the Funnels list */
.funnel-folder-new { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.funnel-folder-new .nav-icon { width: 16px; height: 16px; }
.funnel-folders { display: grid; gap: 6px; margin-bottom: 16px; }
.funnel-folder { display: flex; align-items: center; min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.funnel-folder-head { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; padding: 10px 14px; background: none; border: 0; border-radius: 10px 0 0 10px; text-align: left; cursor: pointer; color: var(--text); font: inherit; }
.funnel-folder-head:hover { background: var(--hover, color-mix(in srgb, var(--accent) 6%, transparent)); }
.funnel-folder-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.funnel-folder-head[aria-expanded="true"] .funnel-flow-chev { transform: none; }
.funnel-folder-icon { display: inline-flex; color: var(--muted); }
.funnel-folder-icon .nav-icon { width: 18px; height: 18px; }
.funnel-folder-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.funnel-folder-count { margin-left: auto; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.funnel-folder > .funnel-more-wrap { margin: 0 8px 0 0; }
.funnel-folder.is-open { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
/* The open folder's funnels sit under it */
.funnel-folders.has-open + .funnel-results { padding-left: 20px; border-left: 2px solid var(--border); margin-left: 14px; }
.funnel-folder-empty { margin: 0; }
.funnel-folder-tag { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 1px 8px; border-radius: 999px; background: var(--sunken); color: var(--muted); font-size: 12px; font-weight: 500; }
.funnel-folder-tag .nav-icon { width: 13px; height: 13px; }
.funnel-folder-box input[type="text"], .funnel-folder-box select { width: 100%; }
@media (max-width: 600px) {
  .funnel-folders.has-open + .funnel-results { padding-left: 10px; margin-left: 6px; }
}
