/* ============================================================
   文件与路径域（FUNCTION-PARITY-8，16 条）样式
   只影响新增交互层（工具栏命中区/动态面包屑/菜单/设置路径对话框），
   默认首屏的 18 行列表与静态路径栏几何仍由 app.css 决定 -> 像素基线不变。
   ============================================================ */

/* ---------------- 8-07 地址栏导航命中区（覆盖在官方位图按钮上，透明） ---------------- */
.ft-hit {
  position: absolute; z-index: 30;
  background: transparent; border: 0; padding: 0; border-radius: 2px;
}
.ft-hit:hover { background: rgba(0, 0, 0, 0.10); }
.ft-hit:active { background: rgba(0, 0, 0, 0.18); }
.ft-hit.disabled { opacity: 0.45; pointer-events: none; }

/* 动态路径面包屑（离开参考目录时替换静态路径文字） */
.path-crumbs {
  position: absolute; left: 110px; top: 147px; width: 1750px; height: 21px; z-index: 20;
  background: #ffffff;
}
.path-crumbs[hidden] { display: none; }
.crumb-label, .crumb-sep {
  position: absolute; top: 4px; background: transparent; border: 0; padding: 0;
  font-size: 12px; font-family: var(--font-ui); color: #1b1b1b; line-height: 14px;
}
.crumb-label:hover { background: #e8e8e8; text-decoration: underline; }
.crumb-sep { color: #545454; font-size: 11px; }

/* ---------------- 8-06 列头排序/筛选/信息位图命中区 ---------------- */
.files-badge-hit {
  position: absolute; z-index: 6; background: transparent; border: 0; border-radius: 2px;
}
.files-badge-hit:hover { background: rgba(0, 0, 0, 0.12); }

/* ---------------- 面板菜单 / 路径菜单（8-06/8-07） ---------------- */
.files-menu {
  position: absolute; z-index: 70; background: #ffffff;
  border: 1px solid #a0a0a0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  padding: 2px 0;
}
.files-menu-item {
  display: block; width: 100%; height: 22px; padding: 0 10px;
  font-size: 12px; color: #1a1a1a; text-align: left; background: transparent;
}
.files-menu-item:hover { background: #cce8ff; }

/* ---------------- 8-08 设置路径对话框 ---------------- */
.files-dialog-layer { position: absolute; inset: 0; z-index: 90; }
.files-dialog-layer[hidden] { display: none; }
.files-dialog {
  position: absolute; left: 560px; top: 250px; width: 800px; height: 500px;
  background: #f5f5f5; border: 1px solid #7d7d7d;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.files-dialog-title {
  position: absolute; left: 0; top: 0; width: 100%; height: 30px;
  background: #e6e6e6; border-bottom: 1px solid #b8b8b8; box-sizing: border-box;
  font-size: 12px; color: #1a1a1a; line-height: 30px; padding-left: 10px;
}
.files-dialog-close {
  position: absolute; right: 6px; top: 4px; width: 22px; height: 22px;
  font-size: 12px; color: #333; background: transparent;
}
.files-dialog-close:hover { background: #e81123; color: #ffffff; }
.files-dialog-body {
  position: absolute; left: 10px; right: 10px; top: 40px; bottom: 72px;
  display: flex; gap: 10px;
}
.pathtool-list {
  flex: 1; background: #ffffff; border: 1px solid #7d7d7d; overflow: auto; padding: 2px;
}
.pathtool-item {
  display: block; width: 100%; height: 22px; padding: 0 8px; text-align: left;
  font-family: var(--font-mono); font-size: 12px; color: #1a1a1a; background: transparent;
}
.pathtool-item:hover { background: #e8e8e8; }
.pathtool-item.selected { background: #cce8ff; }
.pathtool-empty { padding: 8px; font-size: 12px; color: #666; }
.pathtool-actions { width: 240px; display: flex; flex-direction: column; gap: 6px; }
.pathtool-select {
  width: 100%; height: 22px; font-size: 12px; font-family: var(--font-mono);
  background: #ffffff; border: 1px solid #7d7d7d;
}

.files-btn {
  height: 24px; min-width: 84px; padding: 0 10px;
  font-size: 12px; color: #1a1a1a; background: #f0f0f0;
  border: 1px solid #7d7d7d; border-radius: 2px;
}
.files-btn:hover { background: #e0e0e0; }
.files-btn:active { background: #d0d0d0; }
.files-btn.primary { border: 2px solid #005a9e; background: #f8fbff; }

.files-dialog-status {
  position: absolute; left: 10px; right: 10px; bottom: 44px; height: 18px;
  font-size: 11px; color: #333; overflow: hidden; white-space: nowrap;
}
.files-dialog-footer {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 40px;
  display: flex; align-items: center; gap: 8px; padding: 0 12px;
  background: #f5f5f5; border-top: 1px solid #d0d0d0;
}
.files-dialog-spacer { flex: 1; }
