/* 来源与核验 */
.sources-legend { list-style: none; margin: 0; padding: 4px 12px; }
.sources-legend__row { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 10px; align-items: start; padding: 7px 0; border-top: 1px dashed var(--rule); font-size: 13px; }
.sources-legend__row:first-child { border-top: 0; }
.sources-how__title { font-weight: 600; margin-bottom: 4px; }
.sources-how .kv { margin: 0; }
.sources-limits { margin: 0; padding: 10px 12px 10px 30px; font-size: 13px; }
.sources-limits li + li { margin-top: 4px; }
.sources-below { padding: 14px 20px 24px; }
.sources-group + .sources-group { margin-top: 10px; }
.sources-group > summary { cursor: pointer; }
.sources-group > p { margin: 6px 0; }
.sources-table-wrap { overflow-x: auto; }
.sources-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sources-table th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12px; padding: 4px 8px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.sources-table td { padding: 6px 8px; border-bottom: 1px dashed var(--rule); vertical-align: top; }
.sources-table td:first-child { min-width: 180px; }
.sources-table td:nth-child(3) { min-width: 200px; }
.sources-nowrap { white-space: nowrap; }
.sources-count { text-align: right; }
.sources-table tr.is-uncited { color: var(--ink-3); }
@media (max-width: 599px), (max-width: 1024px) and (orientation: portrait) {
  .sources-below { padding: 12px 14px 22px; }
  .sources-legend__row { grid-template-columns: max-content minmax(0, 1fr); }
  .sources-legend__row > :last-child { grid-column: 2; }
}

/* 手机和平板竖屏：来源表改成卡片，名称、核验日期、被引用次数、说明各占一块 */
@media (max-width: 599px), (max-width: 1024px) and (orientation: portrait) {
  .sources-table thead { display: none; }
  .sources-table, .sources-table tbody, .sources-table td { display: block; }
  .sources-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 9px 0; border-bottom: 1px dashed var(--rule); }
  .sources-table td { border: 0; padding: 0; min-width: 0 !important; }
  .sources-table td:first-child { grid-column: 1 / -1; overflow-wrap: anywhere; }
  .sources-table td:first-child a { display: inline-block; padding: 4px 0; }
  .sources-table td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 12px; color: var(--ink-3); }
  .sources-table td:nth-child(2)::before { content: '核验 '; font-family: var(--font-body, inherit); }
  .sources-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; }
  .sources-table td:nth-child(4) { grid-column: 2; grid-row: 2; font-size: 12px; color: var(--ink-3); }
  .sources-table td:nth-child(4)::before { content: '被引用 '; }
}
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
  .sources-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
}
