/* ============================================================
   modules/files.css — 文件列表域
   由 tools/css_split.py 从 app.css 拆分（ADR-001 S6）。
   请勿直接在本文件顶部追加全局样式：加载顺序 = base → components → modules/*，
   顺序变化会改变层叠结果，改前先跑 `python tools/css_split.py --plan` 做等价性校验。
   ============================================================ */

.file-list { list-style: none; }
.file-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; cursor: pointer; transition: background 0.15s; }
.file-item:hover { background: var(--primary-light); }
.file-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 11px; font-weight: 700; }
.file-icon.csv { background: #e6fffb; color: #13c2c2; }
.file-icon.excel { background: #f6ffed; color: #52c41a; }
.file-icon.pdf { background: #fff2e8; color: #fa8c16; }
.file-icon.img { background: #f9f0ff; color: #722ed1; }
.file-icon.other { background: #f5f5f5; color: #999; }
