/* The benchmark write-up at /agisagentbench/: the blog's plain look, with two charts and two tables.
   Generated with the page by the benchmark's tools/site_writeup/make_page.py; copy changes back there. */
.bench-page .content-heading .eyebrow{color:#686868;font-weight:400;letter-spacing:0;font-size:13px}
.bench-page .post{border-top:0;padding-top:0}
.bench-page .post h2{font-size:20px;font-weight:500;margin:34px 0 12px}
.bench-page figure{margin:22px 0 26px}
.bench-page figcaption{max-width:680px}

/* Figure 1: one row per model, a dot for the pass rate and a line for its interval. */
.dots{border:1px solid #ddd;padding:14px 16px 10px;background:#fff}
.dot-row{display:grid;grid-template-columns:150px minmax(0,1fr) 40px;align-items:center;column-gap:12px;min-height:30px}
.dot-name{font-size:14px;color:#242424;line-height:1.25}
.dot-track{position:relative;height:30px;background-image:linear-gradient(to right,#e6e6e6 1px,transparent 1px);background-size:20% 100%;border-right:1px solid #e6e6e6}
.dot-ci{position:absolute;top:14px;height:0;border-top:2px solid #9a9a9a}
.dot-mark{position:absolute;top:9px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#242424;box-shadow:0 0 0 2px #fff}
.dot-val{font-size:13px;color:#555;text-align:right;font-variant-numeric:tabular-nums}
.dot-row:not(.dot-axis):hover .dot-track{background-color:#f4f4f4}
.dot-axis{min-height:22px}
.dot-ticks{position:relative;height:18px;font-size:12px;color:#686868;font-variant-numeric:tabular-nums}
.dot-ticks span{position:absolute;top:2px;transform:translateX(-50%)}
.dot-ticks span:first-child{transform:none}
.dot-ticks span:last-child{transform:translateX(-100%)}

/* Figure 2: pass rate against cost, an inline SVG that scrolls sideways on a phone rather than shrinking. */
.chart-scroll,.table-scroll{overflow-x:auto}
.chart-scroll{border:1px solid #ddd;background:#fff;padding:8px 6px 4px}
.cost-chart{display:block;width:100%;min-width:560px;height:auto}
.cost-chart .grid{stroke:#e6e6e6;stroke-width:1}
.cost-chart .tick,.cost-chart .axis-label{font-size:12px;fill:#686868}
.cost-chart .pt{fill:#242424;stroke:#fff;stroke-width:2}
.cost-chart .pt-label{font-size:13px;fill:#242424}
.cost-chart g:hover .pt{fill:#000;stroke:#bbb}

.bench-table{border-collapse:collapse;width:100%;margin:8px 0 26px;font-size:14px;font-variant-numeric:tabular-nums}
.bench-table th,.bench-table td{padding:7px 10px;border-bottom:1px solid #e6e6e6;text-align:right;white-space:nowrap}
.bench-table th{font-size:12px;font-weight:500;color:#686868}
.bench-table th:first-child,.bench-table td:first-child,.bench-table th:nth-child(2),.bench-table td:nth-child(2){text-align:left}
.tier-table th:nth-child(2),.tier-table td:nth-child(2){text-align:right}
.bench-table tbody tr:last-child td{border-bottom:0}

@media(max-width:560px){
  .dots{padding:12px 10px 8px}
  /* The name goes above its line, so the line keeps the full width. */
  .dot-row{grid-template-columns:minmax(0,1fr) 34px;grid-template-areas:"name name" "track val";column-gap:8px}
  .dot-name{grid-area:name;font-size:13px;margin-top:6px}
  .dot-track{grid-area:track;height:24px}
  .dot-ci{top:11px}
  .dot-mark{top:6px}
  .dot-val{grid-area:val}
  .dot-axis>span:first-child{display:none}
  .dot-ticks span:nth-child(even){display:none}
}
