/* Article-local diagrams: inherit the site's typography and color tokens. */
.agent-evaluation .eval-flow,
.agent-evaluation .eval-cost { margin:2.5rem 0; padding:clamp(1.25rem,3vw,2rem); border:1px solid var(--line); background:var(--cream); }
.agent-evaluation .eval-flow h3,
.agent-evaluation .eval-cost h3 { margin:.35rem 0 1.4rem; font-size:clamp(1.5rem,2.5vw,1.9rem); line-height:1.2; }
.agent-evaluation .eval-flow-input,
.agent-evaluation .eval-flow-score { display:grid; gap:.3rem; padding:1.1rem; text-align:center; background:#fff; border:1px solid var(--line); }
.agent-evaluation .eval-flow span,
.agent-evaluation .eval-flow strong { display:block; }
.agent-evaluation .eval-flow-input span,
.agent-evaluation .eval-flow-score span,
.agent-evaluation .eval-flow-runners div>span:last-child { font-size:.85rem; line-height:1.5; color:var(--ink-2); }
.agent-evaluation .eval-flow-arrow { text-align:center; color:var(--green-deep); font-size:1.6rem; line-height:1.7; }
.agent-evaluation .eval-flow-runners { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.agent-evaluation .eval-flow-runners>div { padding:1.2rem; background:#fff; border:1px solid var(--line); }
.agent-evaluation .eval-label { color:var(--green-deep); font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; font-weight:600; margin-bottom:.6rem; }
.agent-evaluation .eval-flow-runners strong { font-size:1.1rem; line-height:1.4; margin-bottom:.5rem; }
.agent-evaluation p.eval-flow-shared { margin:.9rem 0 0; text-align:center; font-size:.8rem; line-height:1.6; color:var(--ink-2); }
.agent-evaluation .eval-flow-score { background:var(--green-deep); border-color:var(--green-deep); }
.agent-evaluation .eval-flow-score strong,
.agent-evaluation .eval-flow-score span { color:#fff; }
.agent-evaluation .eval-flow-decision { display:flex; flex-wrap:wrap; justify-content:center; gap:.35rem 1.4rem; margin-top:1rem; color:var(--green-deep); font-size:.85rem; font-weight:600; }
.agent-evaluation figcaption { margin-top:1.1rem; font-size:.82rem; line-height:1.65; color:var(--ink-2); }
.agent-evaluation .eval-fraction { display:grid; text-align:center; max-width:32rem; margin:0 auto; }
.agent-evaluation .eval-fraction span { padding:.9rem .3rem; color:var(--ink); font-weight:500; line-height:1.6; }
.agent-evaluation .eval-fraction span:first-child { border-bottom:2px solid var(--green); }
.agent-evaluation .eval-cost { border-left:3px solid var(--green); }
.agent-evaluation [id] { scroll-margin-top:7rem; }
.agent-evaluation .editorial-cover { object-position:62% center; }
@media (max-width:540px) {
  .agent-evaluation .eval-flow-runners { grid-template-columns:minmax(0,1fr); gap:.75rem; }
  .agent-evaluation .eval-flow-runners>div { padding:1rem; }
  .agent-evaluation .eval-flow-input,
  .agent-evaluation .eval-flow-score { padding:1rem .75rem; }
  .agent-evaluation .editorial-article-heading h1 { font-size:clamp(2rem,8.7vw,2.55rem); }
}
