/* EchoMoE Figure 6: throughput speedup over TCP. */
.fig6 { --f6-bf16:#78469e; --f6-fp8:#b07cd8; --f6-ib:#9aa3ad; --f6-ink:#2b3340; --f6-muted:#687180;
  position:relative; margin:1.25rem 0 0; color:var(--f6-ink); }
.fig6 .f6-legend { display:flex; gap:4px 20px; justify-content:center; flex-wrap:wrap; font-size:12.5px; color:var(--f6-muted); margin-bottom:10px; }
.fig6 .f6-key { display:inline-flex; align-items:center; gap:7px; }
.fig6 .f6-key svg { width:28px; height:12px; overflow:visible; }
.fig6 svg.f6-chart { width:100%; height:auto; display:block; overflow:visible; font-family:inherit; }
.fig6 .f6-grid { stroke:#eceef2; stroke-width:1; }
.fig6 .f6-axis { stroke:#c7ccd3; stroke-width:1; }
.fig6 .f6-tick { fill:var(--f6-muted); font-size:11.5px; }
.fig6 .f6-axis-label { fill:#4b5563; font-size:12px; }
.fig6 .f6-base { stroke:#5f6b76; stroke-width:1.5; stroke-dasharray:7 5; }
.fig6 .f6-note { fill:#4b5563; font-size:11.5px; font-weight:600; }
.fig6 .f6-line { fill:none; stroke-width:2.5; stroke-linejoin:round; }
.fig6 .f6-line.f6-bf16 { stroke:var(--f6-bf16); }
.fig6 .f6-line.f6-fp8 { stroke:var(--f6-fp8); stroke-dasharray:7 5; }
.fig6 .f6-line.f6-ib { stroke:var(--f6-ib); stroke-width:2; }
.fig6 .f6-pt.f6-bf16 { fill:var(--f6-bf16); stroke:#fff; stroke-width:2; }
.fig6 .f6-pt.f6-fp8 { fill:#fff; stroke:var(--f6-fp8); stroke-width:2.2; }
.fig6 .f6-pt.f6-ib { fill:var(--f6-ib); stroke:#fff; stroke-width:1.5; }
.fig6 .f6-end { font-size:12.5px; font-weight:600; fill:var(--f6-ink); }
.fig6 .f6-ib-ink { fill:var(--f6-muted); font-weight:500; }
.fig6 .f6-value { fill:var(--f6-ink); font-size:12.5px; font-weight:700; paint-order:stroke; stroke:#fff; stroke-width:4px; }
.fig6 .f6-hit { fill:transparent; cursor:crosshair; outline:none; }
.fig6 .f6-hit:focus-visible { fill:rgba(120,70,158,.06); }
.fig6 .f6-hover-guide { stroke:#b8a6c9; stroke-width:1; stroke-dasharray:3 3; pointer-events:none; }
.fig6 .f6-tip { position:absolute; z-index:5; pointer-events:none; background:#fff; border:1px solid #e3e6eb; border-radius:6px;
  box-shadow:0 4px 14px rgba(0,0,0,.08); padding:7px 10px; font-size:12px; line-height:1.55; color:#374151; white-space:nowrap; transform:translateY(-50%); }
.fig6 .f6-sw { display:inline-block; width:10px; height:3px; border-radius:2px; vertical-align:middle; margin-right:6px; }
.fig6 .f6-sw.f6-bf16 { background:var(--f6-bf16); }
.fig6 .f6-sw.f6-fp8 { background:var(--f6-fp8); }
.fig6 .f6-sw.f6-ib { background:var(--f6-ib); }
.fig6 details.f6-table { margin-top:8px; font-size:12px; color:var(--f6-muted); text-align:center; }
.fig6 details.f6-table summary { cursor:pointer; display:inline-block; }
.fig6 details.f6-table table { margin:8px auto 0; font-size:12px; text-align:right; }
.fig6 details.f6-table th, .fig6 details.f6-table td { padding:2px 10px; border:none; }
/* phones: the three keys stack; align them on one left edge instead of centering each row */
@media (max-width:560px) { .fig6 .f6-legend { display:grid; grid-template-columns:max-content; justify-content:center; gap:4px; } }
