/* Excel 分类采用统一 7:5 卡片；混合列表保留原有行高。 */
.doc_box_right .docs .excel-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 24px; width: 100%; margin: 24px 0 0; padding: 0;
}
.doc_box_right .docs .excel-grid li.excel-preview {
  float: none; width: auto; height: auto; min-width: 0;
  margin: 0; padding: 0; border: 0; overflow: visible;
}
.doc_box_right .docs .excel-grid li.excel-preview .front {
  float: none; width: 100%; height: auto; min-height: 0; aspect-ratio: 7 / 5;
  padding: 0; box-sizing: border-box; border: 1px solid #e4e9e6;
  border-radius: 12px; background: #f1f6f3;
  box-shadow: 0 2px 6px rgba(30, 60, 45, .06);
}
.doc_box_right .docs li.excel-preview .front a {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
}
.doc_box_right .docs li.excel-preview .front img {
  width: 100%; height: 100%; object-fit: contain; transform: none;
}
.doc_box_right .docs li.excel-preview .front:hover img { transform: none; }
.doc_box_right .docs .excel-grid li.excel-preview .title {
  float: none; width: 100%; max-width: 100%; height: 24px; line-height: 24px;
  margin: 12px 0 0; text-align: center; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.doc_box_right .docs .excel-grid li.excel-preview .title a { color: #3c4541; }
@media (max-width: 760px) {
  .doc_box_right .docs .excel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
}
@media (max-width: 400px) {
  .doc_box_right .docs .excel-grid { grid-template-columns: minmax(0, 1fr); }
}
