/* C72：共享「两级树」组件（window.FolderTree）的样式。
   JS 里也有一份同样的兜底注入（组件被单独引入时不会掉样式），这里给页面正常 link 用。 */
.ftree { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.ftree-node { display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 6px; cursor: pointer; color: #334155; }
.ftree-node:hover { background: #f1f5f9; }
.ftree-node.is-active { background: var(--brand-soft, rgba(113,220,104,.14)); color: var(--brand-strong, #5BC85A); font-weight: 600; }
.ftree-node.is-disabled { opacity: .45; cursor: not-allowed; background: transparent; color: #94a3b8; }
.ftree-node.is-child { margin-left: 16px; }
.ftree-node.is-child::before { content: '└'; color: #cbd5e1; margin-right: 2px; }
.ftree-caret { width: 14px; text-align: center; color: #94a3b8; font-size: 10px; flex: 0 0 14px; }
.ftree-caret.is-leaf { visibility: hidden; }
.ftree-name { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ftree-n { flex: 0 0 auto; font-size: 11px; color: #94a3b8; }
.ftree-ops { display: none; gap: 2px; }
.ftree-node:hover .ftree-ops { display: inline-flex; }
.ftree-ops button { border: 0; background: transparent; cursor: pointer; font-size: 11px; color: #94a3b8; padding: 0 2px; }
.ftree-ops button:hover { color: var(--brand-strong, #5BC85A); }

/* C72：选图弹窗左树栏（180px）+ 右网格 —— 网格自身样式没动 */
.gpicker-body { display: flex; flex: 1 1 auto; min-height: 0; }
.gpicker-tree { width: 180px; flex: 0 0 180px; border-right: 1px solid #e2e8f0; padding: 8px; overflow-y: auto; }
