/* Function clues section and dark-proteome page.
 * Plain table; concordant rows carry a thin left rule, nothing else. */
.clue-card .cc-top { margin: 0 0 8px; color: var(--ink); }
.clue-card .cc-scroll { overflow-x: auto; }
.clue-card .cc-table { width: 100%; table-layout: fixed; }
.clue-card .cc-table th:nth-child(1) { width: 15%; }
.clue-card .cc-table th:nth-child(3) { width: 9.5em; }
.clue-card .cc-table th:nth-child(4) { width: 15%; }
.clue-card .cc-table tbody th { text-align: left; vertical-align: top; font-weight: 600; color: var(--ink); }
.clue-card .cc-table td { vertical-align: top; overflow-wrap: anywhere; }
.clue-card .cc-table .cc-class { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-soft); }
.clue-card tr.cc-concordant > :first-child { box-shadow: inset 2px 0 0 var(--teal); }
.clue-card tr.cc-below,
.clue-card tr.cc-below th { color: var(--ink-soft); }
.clue-card tr.cc-below strong { font-weight: 400; }
.clue-card .cc-muted { color: var(--ink-soft); font-weight: 400; }
.clue-card .cc-dim { color: var(--ink-soft); }
.clue-card .cc-list { margin: 2px 0; padding-left: 16px; }
.clue-card .cc-list li { margin: 1px 0; }
.clue-card .cc-more > summary { cursor: pointer; color: var(--teal); font-size: 12.5px; width: fit-content; }
.clue-card td.cc-rel { white-space: nowrap; cursor: help; }
.clue-card .cc-src { font-size: 12.5px; color: var(--ink-soft); }
.clue-card .cc-concordant-note { margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); }
.clue-card .cc-note { margin: 6px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.clue-card .cc-h3 { font-size: 15px; font-weight: 600; margin: 16px 0 4px; color: var(--ink); }
.clue-card .cc-context th { width: 24%; text-align: left; font-weight: 400; color: var(--ink-soft); }
.clue-card .cc-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px;
  padding: 8px 0; margin: 10px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.clue-card .cc-filters label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--ink-soft); }
.clue-card .cc-filters label.cc-check { flex-direction: row; align-items: center; gap: 6px; }
.clue-card .cc-filters select {
  font: inherit; font-size: 13px; padding: 3px 6px; min-width: 150px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.clue-card .cc-download { margin-left: auto; color: var(--teal); font-size: 13px; }
.clue-card .cc-dark { width: 100%; }
.clue-card .cc-dark td, .clue-card .cc-dark th { white-space: nowrap; }
.clue-card .cc-dark td:nth-child(6), .clue-card .cc-dark td:nth-child(9), .clue-card .cc-dark td:nth-child(10) { white-space: normal; }
.clue-card .num { text-align: right; font-variant-numeric: tabular-nums; }
/* Narrow screens: each line of evidence becomes a block (title, clue,
   reliability, source) instead of a sideways-scrolling table. */
@media (max-width: 700px) {
  .entry-page .clue-card .cc-table,
  .entry-page .clue-card .cc-table tbody,
  .entry-page .clue-card .cc-table tr,
  .entry-page .clue-card .cc-table th,
  .entry-page .clue-card .cc-table td { display: block; width: auto; min-width: 0; max-width: none; overflow: visible; }
  .entry-page .clue-card .cc-table thead { display: none; }
  .entry-page .clue-card .cc-table tr { padding: 8px 0 8px 10px; border-bottom: 1px solid var(--line); }
  .entry-page .clue-card .cc-table tbody th,
  .entry-page .clue-card .cc-table td { padding: 2px 0; border: 0; text-align: left; white-space: normal; }
  .entry-page .clue-card .cc-table tr.cc-concordant { box-shadow: inset 2px 0 0 var(--teal); }
  .entry-page .clue-card .cc-table tr.cc-concordant > :first-child { box-shadow: none; }
  .entry-page .clue-card .cc-table td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-soft); }
  .clue-card .cc-context th { width: auto; }
}

.cc-dark td.cc-ptype { min-width: 10em; max-width: 18em; }
