/* entry-extras plugin styles: evidence level line, fitness small multiples,
   structural-neighbour table and the phosphosite lollipop track.
   Follows the entry page: one accent colour, compact tables, no cards
   inside sections. */

.entry-page .entry-evidence-line {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.entry-page .entry-evidence-line .entry-note-inline {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
}
/* PE level: 1px-bordered square tag, no fill. */
.entry-page .entry-evidence-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: help;
}
.entry-page .entry-evidence-badge[data-level="4"] { color: var(--ink-soft); }

/* Fitness small multiples */
.entry-page .fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 10px 14px;
  margin: 4px 0 10px;
}
.entry-page .fx-panel { margin: 0; }
.entry-page .fx-panel figcaption {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.3;
}
.entry-page .fx-svg { display: block; width: 100%; height: auto; overflow: visible; }
.entry-page .fx-axis { font-size: 10px; fill: var(--ink-soft); }
.entry-page .fx-axis-threshold { fill: var(--orange); }
.entry-page .fx-bar { fill: var(--line); }
.entry-page .fx-rule { stroke: var(--line); }
.entry-page .fx-zero { stroke: var(--line-soft, var(--line)); }
.entry-page .fx-threshold { stroke: var(--orange); }
.entry-page .fx-gene { stroke: var(--teal); }
.entry-page .fx-gene-dot { fill: var(--teal); }
.entry-page .fx-caption {
  margin: 1px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}
.entry-page .fx-called { font-weight: 600; color: var(--ink); }
.entry-page .fx-no { color: var(--ink-soft); }
.entry-page .fx-na { color: var(--ink-soft); font-style: italic; }

/* Shared table helpers */
.entry-page .fx-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.3;
}
.entry-page .fx-flag {
  display: inline-block;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.entry-page .fx-flag-structure { color: var(--ink); }

/* Phosphosite track */
.entry-page .fx-track { height: 78px; margin: 6px 0 2px; }
.entry-page .fx-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 4px 0 2px;
}
.entry-page .fx-legend-item { display: inline-flex; align-items: center; gap: 5px; }
.entry-page .fx-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

/* Measurement tables (measurements.js) on narrow screens: keep the
   condition column readable; the table scrolls inside its own box. */
@media (max-width: 700px) {
  .entry-page .measure-dataset .measure-table td:first-child { min-width: 8.5em; }
  .entry-page .measure-dataset .measure-table .measure-call { min-width: 10.5em; }
}
