/* 在首批卡片返回前占住列表区域，避免页脚先出现在列表位置。 */
#datatable_tc.ziliao:not(.material-list) { min-height: 44vh; }
#datatable_tc.material-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 16px; background: #f6f7f8; }
#datatable_tc.material-list::after, #datatable_tc.material-list::before { content: none; }
#datatable_tc.material-list > li { display: flex; align-items: center; gap: 14px; width: auto; height: auto; margin: 0; padding: 14px 16px; background: white; border: 1px solid #e8e8eb; border-radius: 10px; box-shadow: none; }
.material-icon { flex: none; width: 44px; height: 44px; background: url("../images/material-pdf.png") center / 36px auto no-repeat; }
.material-info { flex: 1; min-width: 0; }
.material-title { color: #202124; font: inherit; font-weight: 600; text-align: left; background: transparent; border: 0; padding: 0; overflow-wrap: anywhere; cursor: pointer; }
.material-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #62666d; }
.material-meta span:empty { display: none; }
.material-download { flex: none; border: 0; border-radius: 6px; background: #a6155f; color: white; padding: 9px 15px; cursor: pointer; }
@media (max-width: 760px) { #datatable_tc.material-list { grid-template-columns: minmax(0, 1fr); padding: 8px; } }

.material-meta span:not(:empty) + .material-size:not(:empty)::before { content: "·"; margin-right: 8px; color: #a1a5ab; }
#datatable_tc.material-list > li { transition: border-color .18s, box-shadow .18s; }
@media (hover: hover) {
    #datatable_tc.material-list > li:hover { border-color: #f0adcf; box-shadow: 0 4px 14px rgba(166, 21, 95, .10); }
    .material-download:hover { background: #88104e; }
}
#datatable_tc.material-list > li:focus-within { border-color: #f0adcf; box-shadow: 0 4px 14px rgba(166, 21, 95, .10); }
@media (prefers-reduced-motion: reduce) { #datatable_tc.material-list > li { transition: none; } }
