/* Extend the shared design-report layout for scientific figures and references. */
.agents-article .agent-figure {
  width: 100%;
  margin: 38px 0 48px;
  scroll-margin-top: 100px;
}
.agents-article .agent-figure-image {
  display: block;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--hairline-border);
  border-radius: 10px;
}
.agents-article .agent-figure-image img {
  display: block;
  width: 100%;
  height: auto;
}
.agents-article .agent-figure figcaption {
  max-width: none;
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 12px;
  line-height: 1.8;
}
.agents-article article > p a,
.agents-article .reference-list a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.agents-article .citation {
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
}
.agents-article .citation a { text-decoration: none; }
.agents-article .reference-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.8;
}
.agents-article .reference-list li {
  padding-left: 24px;
  text-indent: -24px;
  margin-top: 24px;
  scroll-margin-top: 110px;
  overflow-wrap: anywhere;
}
.agents-article .reference-list li:target {
  background: var(--brand-wash);
  border-radius: 4px;
}
@media (max-width: 800px) {
  .agents-article .agent-figure-image { padding: 8px; }
}
@media print {
  .agents-article .agent-figure { break-inside: avoid; }
}
