#benchmark-explorer {
  --bench-ink: #192d27;
  --bench-muted: #586960;
  --bench-line: #d6dbd2;
  --bench-tint: #eff2eb;
  --bench-accent: #ab432b;
  color: var(--bench-ink);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}
#benchmark-explorer * { box-sizing: border-box; }
#benchmark-explorer button, #benchmark-explorer select { font: inherit; }
#benchmark-explorer :focus-visible { outline: 3px solid #a4422d; outline-offset: 3px; }
.bench-tabs {
  display: flex;
  gap: .38rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--bench-line);
  padding-bottom: 1rem;
}
.bench-tab {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2rem;
  color: var(--bench-muted);
  cursor: pointer;
  font-weight: 550 !important;
  line-height: 1.3 !important;
  padding: .61rem .98rem;
}
.bench-tab:hover { border-color: var(--bench-line); color: var(--bench-ink); }
.bench-tab[aria-selected=true] { color: white; background: #27493e; border-color: #27493e; }
.bench-mobile-label { display: none; }
.bench-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.55rem 0 1.15rem;
}
#benchmark-explorer .bench-heading h3 {
  color: var(--bench-ink);
  font: inherit;
  font-size: clamp(1.32rem, 2.35vw, 1.95rem);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.18;
  margin: 0;
}
.bench-caption {
  color: var(--bench-muted);
  line-height: 1.6;
  margin: .42rem 0 0;
  font-size: .94rem;
}
.bench-controls {
  display: inline-flex;
  gap: .22rem;
  padding: .2rem;
  border: 1px solid var(--bench-line);
  border-radius: 8px;
  background: #f5f5f0;
  flex: 0 0 auto;
}
.bench-metric {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--bench-muted);
  padding: .4rem .65rem;
  font-size: .875rem !important;
  cursor: pointer;
}
.bench-metric[aria-pressed=true] {
  background: #fff;
  color: var(--bench-ink);
  border-color: #ced4cc;
  box-shadow: 0 1px 2px #0b271311;
}
.bench-chart { padding: .65rem 0 1.1rem; }
.bench-chart-row, .bench-chart-axis {
  display: grid;
  grid-template-columns: minmax(6.2rem, 11rem) 1fr 5rem;
  column-gap: 1.05rem;
  align-items: center;
}
.bench-chart-row {
  min-height: 34px;
  padding: .22rem .6rem;
  border-radius: 4px;
}
.bench-chart-row.bench-ours { background: #f4e8e1; color: #843320; font-weight: 650; }
.bench-method-label { font-size: .94rem; line-height: 1.35; }
.bench-readout { text-align: right; font-size: .95rem; font-variant-numeric: tabular-nums; }
.bench-plot-field {
  height: 100%;
  min-height: 1.35rem;
  position: relative;
  isolation: isolate;
}
.bench-plot-field::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #d9dfd5;
}
.bench-point {
  position: absolute;
  top: 50%;
  left: var(--bench-pos);
  transform: translate(-50%,-50%);
  background: #648272;
  border: 1px solid #486656;
  border-radius: 50%;
  height: 9px;
  width: 9px;
}
.bench-ours .bench-point {
  background: #b5492f;
  border-color: #8f3823;
  border-radius: 1px;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.bench-chart-axis { padding: .3rem .6rem .2rem; }
.bench-ticks { position: relative; height: 1.5rem; }
.bench-ticks span { font-size: .8rem; white-space: nowrap; position: absolute; left: var(--bench-pos); transform: translateX(-50%); color: var(--bench-muted); }
.bench-ticks span::before {
  content: '';
  height: 5px;
  width: 1px;
  background: #a9b3aa;
  display: block;
  margin: 0 auto .16rem;
}
.bench-note { color: var(--bench-muted); font-size: .94rem; margin: .8rem 0; line-height: 1.6; }
.bench-details { border-top: 1px solid var(--bench-line); border-bottom: 1px solid var(--bench-line); }
.bench-details summary { cursor: pointer; padding: .95rem 0; color: var(--bench-ink); font-size: .95rem; font-weight: 600; }
.bench-scroll { overflow-x: auto; margin-bottom: .9rem; }
.bench-table { border-collapse: collapse; width: 100%; font-size: .88rem; white-space: nowrap; }
.bench-table td, .bench-table th { border-bottom: 1px solid var(--bench-line); padding: .57rem .58rem; font-weight: 450; text-align: right; }
.bench-table thead th { font-weight: 650; color:var(--bench-muted); }
.bench-table th:first-child { text-align: left; }
.bench-table tr.bench-ours { background: #f4e8e1; color: #843320; }
.bench-table tr.bench-ours > * { font-weight: 650; }
.bench-details .bench-caption { margin: 0 0 .65rem; }
@media (max-width: 680px) {
  .bench-heading { flex-direction: column; }
  .bench-tabs { gap: .22rem; }
  .bench-tab { padding: .5rem .7rem; }
}
@media (max-width: 490px) {
  .bench-tabs { display: none; }
  .bench-mobile-label {
    display: flex; align-items: center; justify-content: space-between;
    gap: .65rem; padding-bottom: .85rem; border-bottom: 1px solid var(--bench-line);
    font-size: .94rem; color: var(--bench-muted);
  }
  .bench-mobile-label select { font-size: 1rem; color: var(--bench-ink); background-color: white; border: 1px solid #abb9ad; padding: .4rem .5rem; border-radius: 5px; min-height: 36px; }
  .bench-chart-row, .bench-chart-axis { grid-template-columns: minmax(5.2rem,6.8rem) 1fr 3.9rem; column-gap: .55rem; padding-left: .35rem; padding-right: .35rem; }
  .bench-method-label, .bench-readout { font-size: .86rem; }
  .bench-chart-row { min-height: 32px; }
  .bench-heading { margin-top: 1.2rem; }
}
.bench-protocol {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .9rem;
  align-items: center;
  margin-bottom: 1.05rem;
}
.bench-protocol > span {
  color: var(--bench-muted);
  font-size: .94rem;
  font-weight: 550;
}
.bench-table caption {
  color: var(--bench-ink);
  text-align: left;
  font-weight: 600;
  padding: .6rem 0 .45rem;
}
.bench-other-tables { margin-bottom: .5rem; }
.bench-other-tables summary { font-size: .9rem; }
