/* Graph room — calm rendering of the static graph export.
   Layered atop atlas.css world-content typography. No new palette
   is introduced; everything reuses the existing parchment variables. */

.muted {
  color: var(--muted);
  font-size: 0.95em;
  font-weight: 400;
}

.graph-list,
#graph-contradictions,
#graph-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.graph-list li,
#graph-contradictions li,
#graph-timeline li {
  border-bottom: 1px dotted var(--rule);
  padding: 0.45rem 0;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.graph-list li:last-child,
#graph-contradictions li:last-child,
#graph-timeline li:last-child {
  border-bottom: none;
}

.world-content h3 {
  margin-top: 1.75rem;
}

.g-name {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
}

/* A node whose corpus has a corresponding text in the Archive becomes
   a quiet link. atlas.css already handles `a { color: inherit }` and
   the hover-underline rule, so the static state is visually identical
   to a non-clickable node — only the cursor and hover-underline
   distinguish them. No buttons, no popups, no visual noise. */
.g-link,
.g-link:hover {
  color: inherit;
}
.g-link:hover .g-name {
  color: var(--accent);
}

/* Row-level highlight applied when the page is opened with ?node=<id>
   (round-trip from the Archive's "CONTRIBUTES TO" list). Same visual
   language as archive's .passage-highlighted: 6%-tinted accent
   background, 3px accent left rule, slight negative margin so the
   border lives in the gutter. */
.graph-list li.g-row-highlighted {
  background: rgba(108, 46, 46, 0.06);
  border-left: 3px solid var(--accent);
  margin-left: -1rem;
  padding-left: 0.75rem;
}

.g-period {
  font-family: var(--serif);
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  min-width: 5.5rem;
}

.atlas-note {
  margin-top: 3rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  max-width: var(--measure);
}

.atlas-note em { font-style: italic; }
.atlas-note a  { color: var(--accent); }
.atlas-note code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(0,0,0,0.04);
  padding: 0.08em 0.35em;
  border-radius: 2px;
}
