.logo-dark-only {
  display: none;
}

[data-md-color-scheme="slate"] .logo-light-only {
  display: none;
}

[data-md-color-scheme="slate"] .logo-dark-only {
  display: block;
}

.perf-race-img {
  border-radius: 12px;
}

.md-uv-run {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0 0 0.4em;
  padding: 0.25em 0.6em;
  border: none;
  border-radius: 0.2rem;
  background-color: var(--md-code-bg-color);
  color: var(--md-default-fg-color--light);
  font-family: var(--md-code-font, monospace);
  font-size: 0.7rem;
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s;
}

.md-uv-run:hover,
.md-uv-run:focus {
  color: var(--md-accent-fg-color);
}

.md-uv-run svg {
  width: 1em;
  height: 1em;
  fill: currentcolor;
}

.md-uv-run--copied {
  color: var(--md-accent-fg-color);
}

/* Benchmark tables: a numeric cell must never wrap mid-value ("3559.2" / "req/s" on separate
   lines, "Peak Py" / "Mem" split across two). Material already wraps every table in a
   horizontally-scrolling `.md-typeset__scrollwrap`, so forcing nowrap just makes a too-wide
   table scroll sideways instead of squashing its columns. */
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  white-space: nowrap;
}
