.quarto-title-block .quarto-title h1 {
  max-inline-size: 24ch;
  line-height: 1.09;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.quarto-title-block .subtitle { max-inline-size: 44ch; }

.benchmark-figure {
  margin: 1.75rem 0 2.15rem;
  border-block-start: 1px solid var(--bs-border-color);
  padding-block-start: .8rem;
}
.benchmark-figure .figure-title {
  display: block;
  font-weight: 700;
  margin-block-end: .35rem;
}
.benchmark-figure figcaption {
  margin-block-start: .75rem;
  color: var(--bs-secondary-color, inherit);
  font-size: .9rem;
  line-height: 1.5;
  text-align: left;
}
.benchmark-grid {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.benchmark-grid picture, .benchmark-grid img {
  display: block;
  inline-size: 100%;
}
.benchmark-grid img { block-size: auto; border-radius: 5px; }
.benchmark-grid .chart-dark { display: none; }
body.quarto-dark .benchmark-grid .chart-light { display: none; }
body.quarto-dark .benchmark-grid .chart-dark { display: block; }

.execution-map { inline-size: 100%; border-collapse: collapse; font-size: .87rem; }
.execution-map th, .execution-map td {
  padding: .6rem .45rem;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--bs-border-color);
}
.execution-map thead th { font-weight: 600; }
.execution-map th small { display: block; font-weight: 400; }
.execution-map .gpu a { font-weight: 650; }
.benchmark-figure a { text-underline-offset: .16em; }

@media (max-width: 640px) {
  .benchmark-grid { grid-template-columns: minmax(0, 1fr); }
  .execution-map { font-size: .79rem; }
  .execution-map th, .execution-map td { padding-inline: .25rem; }
}

main.content > p,
main.content > section > p { max-inline-size: 74ch; }

.execution-map { table-layout: fixed; }
.execution-map thead th:first-child { inline-size: 34%; }
.execution-map tbody small { display: block; margin-top: .15em; }
.execution-map .buffer-count::before { content: " · "; }

@media (max-width: 640px) {
  .execution-map thead th:first-child { inline-size: 35%; }
  .execution-map .buffer-count { display: block; }
  .execution-map .buffer-count::before { content: none; }
}
