/* The blog: ABlog's post list, archive, and post card, and a post's cover and figures.
   Colors are --andrey-* tokens. */

/* The launch post's speedup panel, the homepage's own. */
.bd-article .race {
  margin: 2rem 0;
}

/* A post's cover, between its title and its byline (docs/conf.py, site/cards.py). */
/* The theme pads a figure; a cover lines up with the text column instead. */
.post-cover {
  margin: 0.25rem 0 1.25rem;
  padding: 0;
}

.post-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Left-aligned under the cover, like the byline below it; the theme centers a caption. */
.post-cover figcaption {
  margin-top: 0.5rem;
  text-align: left;
  color: var(--andrey-muted);
  font-size: 0.85rem;
}

/* A post's authors, date, version, and tags, under its cover. */
.post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin: -0.4rem 0 1.6rem;
  color: var(--andrey-muted);
  font-size: 0.95rem;
}

/* ---------- the blog's front page (docs/conf.py, _blog_index) ---------- */
/* The Release cards page's blocks (benchmarks.css), with each post's art in place of the stipple
   ground: the newest post's cover across its block, above its TL;DR, and a small copy in each
   earlier post's row (site/cards.py). */
.blog-tile {
  display: block;
  overflow: hidden;
  border-radius: var(--andrey-radius-md);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--andrey-ground-navy) 14%, transparent),
    0 6px 14px -8px color-mix(in srgb, var(--andrey-ground-navy) 45%, transparent);
}

.blog-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
}

.release-latest.blog-latest {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.25rem 1.25rem 1.6rem;
}

.blog-latest .release-tldr {
  padding: 0 0.5rem;
}

.bd-article .blog-latest h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.blog-latest h2 a {
  color: var(--andrey-ink);
  text-decoration: none;
}

.blog-latest h2 a:hover {
  color: var(--andrey-accent);
}

.blog-when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: -0.4rem;
}

.blog-latest .blog-date {
  color: var(--andrey-muted);
  font-size: 0.88rem;
}

/* The earlier posts: a heading and the order button on the divider, then the rows. */
.blog-earlier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.75rem 0 0;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--andrey-line);
}

.bd-article .blog-earlier-head h2 {
  margin: 0;
  color: var(--andrey-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-order {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--andrey-line);
  border-radius: 999px;
  background: var(--andrey-surface);
  color: var(--andrey-muted);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.blog-order::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: currentcolor;
  -webkit-mask: var(--blog-order-arrow) center / contain no-repeat;
  mask: var(--blog-order-arrow) center / contain no-repeat;
  --blog-order-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v10M2 10l3 3 3-3M11 13V3M8 6l3-3 3 3'/%3E%3C/svg%3E");
}

.blog-order:hover {
  border-color: var(--andrey-accent);
  color: var(--andrey-accent);
}

.blog-order:focus-visible {
  outline: 2px solid var(--andrey-accent);
  outline-offset: 2px;
}

.release-row.blog-row {
  grid-template-columns: 10rem minmax(0, 1fr) auto;
}

@media (max-width: 760px) {
  .release-row.blog-row {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }
}

/* A post's tags, each a link to the posts that share it. */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-body .blog-tags {
  margin-top: 0.55rem;
}

.blog-tags li {
  margin: 0;
}

.blog-tags a {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border: 1px solid var(--andrey-line);
  border-radius: 999px;
  color: var(--andrey-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-decoration: none;
}

.blog-tags a:hover {
  border-color: var(--andrey-accent);
  color: var(--andrey-accent);
}

/* ABlog's post list, on the archive and author pages: each post's title, its date under it, then
   its excerpt. */
.postlist {
  padding-left: 0;
  list-style: none;
}

.postlist > li.ablog-post {
  padding-block: 1.25rem;
  border-top: 1px solid var(--andrey-line);
}

.ablog-post-title {
  margin: 0 0 0.5rem;
  color: var(--andrey-muted);
  font-size: 0.9rem;
}

.ablog-post-title a {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--andrey-ink);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

.ablog-post-title a:hover {
  color: var(--andrey-accent);
}

/* A post and the blog's pages sit outside the documentation, so its breadcrumb would lead there. */
.bd-breadcrumbs {
  display: none;
}

.ablog-archive ul.ablog-archive,
ul.ablog-archive {
  padding-left: 0;
  list-style: none;
}

.ablog-sidebar-item h2,
.ablog-sidebar-item h3 {
  margin-top: 0;
  color: var(--andrey-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ablog-sidebar-item ul {
  padding-left: 0;
  list-style: none;
}

.ablog__postcard i.fa {
  display: none;
}

/* The 0.7.0 post's column-order figure (docs/blog/0.7.0/order.html): the data's true graph, the
   column-order rule's board, a column per data column with each collider under the column it points
   into, and the p-value rule's list, each beside the graph it returns. docs/_static/column-order.js
   shuffles the board; without script, it shows the original order. */
.co {
  margin: 2rem 0;
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--andrey-line);
  border-radius: var(--andrey-radius-lg);
  background: var(--andrey-surface);
}
.co .co-title,
.cg .co-title {
  margin: 0;
  color: var(--andrey-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.co-rule {
  margin: 0.2rem 0 0.7rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.co-rule b {
  font-weight: 600;
}

/* The data: the true DAG beside the setup, in one line each. */
.co-setup {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0.2rem 1.2rem;
  align-items: center;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--andrey-line);
}
.co-setup .co-graph {
  grid-row: 1 / span 2;
}
.co-setup p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Each rule's lane: a head row, its rule, then the board or list beside the graph. */
.co-lane {
  padding-top: 0.9rem;
}
.co-lane + .co-lane {
  margin-top: 0.9rem;
  border-top: 1px solid var(--andrey-line);
}
.co-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
}
.co-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-left: auto;
}
.co-actions button {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--andrey-line);
  border-radius: 999px;
  background: var(--andrey-paper);
  color: var(--andrey-ink);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.co-actions .co-shuffle {
  border-color: var(--andrey-accent);
  background: var(--andrey-accent);
  color: var(--andrey-paper);
}
.co button:focus-visible {
  outline: 2px solid var(--andrey-accent);
  outline-offset: 2px;
}
.co-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 0.6rem 1.4rem;
  align-items: start;
}
.co-side {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.co-graph svg {
  display: block;
  width: 100%;
  height: auto;
}
.co-note {
  margin: 0;
  color: var(--andrey-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.co-note b {
  color: var(--andrey-ink);
  font-weight: 600;
}

/* The board: one column per data column, in the current order; each collider waits under the
   column it points into. */
.co-board {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.co-col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  margin: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.co-chip {
  display: grid;
  place-items: center;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--andrey-line);
  border-radius: var(--andrey-radius-sm);
  background: var(--andrey-surface-2);
  color: var(--andrey-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.co-chip:hover {
  border-color: var(--andrey-accent);
}
.co-cards {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.co-cards:empty::before {
  content: "no collider";
  display: block;
  padding-top: 0.5rem;
  color: var(--andrey-muted);
  font-size: 0.7rem;
  text-align: center;
}

/* A collider card, on the board or in the ranked list. */
.co-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "triple n" "p p" "v v";
  align-items: center;
  gap: 0.1rem 0.3rem;
  margin: 0;
  padding: 0.3rem 0.4rem 0.35rem;
  border: 1px solid var(--andrey-line);
  border-radius: var(--andrey-radius-sm);
  background: var(--andrey-paper);
  font-size: 0.78rem;
  line-height: 1.25;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.co-card.is-false {
  border-style: dashed;
}
.co-step {
  grid-area: n;
  justify-self: start;
  color: var(--andrey-muted);
  font-variant-numeric: tabular-nums;
}
.co-triple {
  display: inline-flex;
  grid-area: triple;
  align-items: center;
  gap: 0.12rem;
  font-family: var(--andrey-font-mono);
  white-space: nowrap;
}
.co-node {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 1.5px solid var(--andrey-ink);
  border-radius: 50%;
  background: var(--andrey-surface);
  font-family: var(--andrey-font-sans);
  font-size: 0.7rem;
  font-weight: 600;
}
.co-middle {
  border-color: var(--andrey-accent);
  color: var(--andrey-accent);
}
.co-arrow {
  color: var(--andrey-edge-directed);
  font-size: 0.68rem;
  letter-spacing: -0.04em;
}
.co-p {
  grid-area: p;
  color: var(--andrey-muted);
  font-variant-numeric: tabular-nums;
}
.co-verdict {
  grid-area: v;
  font-weight: 600;
  color: var(--andrey-accent);
}
.co-card.is-skipped .co-verdict {
  color: var(--andrey-muted);
  font-weight: 500;
}
.co-card.is-skipped .co-triple,
.co-card.is-skipped .co-p {
  opacity: 0.55;
}
.co-verdict code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--andrey-font-mono);
  font-size: 0.95em;
}
.co-verdict small {
  display: block;
  font-size: 1em;
}

/* The ranked list: the same cards, one per row, each with a bar as long as its p-value, and
   an axis row on the same grid under them. */
.co-rank {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.co-rank .co-card {
  grid-template-columns: 0.9rem auto minmax(0, 1fr) auto auto;
  grid-template-areas: "n triple bar p v";
  gap: 0.3rem 0.55rem;
  padding: 0.25rem 0.5rem;
}
.co-rank .co-verdict small {
  display: inline;
}
.co-rank .co-axis-row {
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  background: none;
}
.co-rank .co-axis-row > :not(.co-axis) {
  visibility: hidden;
}
.co-bar {
  grid-area: bar;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.co-track {
  position: relative;
  flex: 1 1 0;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--andrey-surface-2);
  overflow: visible;
}
.co-track::after {
  /* The significance level, 0.05, as a tick through the track. */
  content: "";
  position: absolute;
  top: -0.25rem;
  bottom: -0.25rem;
  left: 5%;
  border-left: 1.5px dashed var(--andrey-ink);
}
.co-fill {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 999px;
  background: var(--andrey-accent);
}
.is-skipped .co-fill {
  background: var(--andrey-muted);
}
.co-rank .co-p {
  text-align: right;
}
.co-axis {
  grid-area: bar;
  position: relative;
  height: 1.1rem;
  color: var(--andrey-muted);
  font-size: 0.7rem;
}
.co-axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.co-axis .at-alpha {
  left: 5%;
}
.co-axis .at-one {
  left: 100%;
  transform: translateX(-100%);
}
.co-axis .at-zero {
  left: 0;
  transform: none;
}

.co figcaption {
  margin-top: 0.9rem;
  text-align: left;
  color: var(--andrey-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.co-hint {
  color: var(--andrey-muted);
}

/* A wrong arrowhead's glow (andrey.viz.draw's highlight) breathes, so the eye finds it. */
.co .highlight {
  animation: co-glow 1.6s ease-in-out infinite alternate;
}

@keyframes co-glow {
  from {
    stroke-opacity: 0.12;
  }

  to {
    stroke-opacity: 0.4;
  }
}

@keyframes co-in {
  from { opacity: 0.2; }
}
.co-old .co-graph svg {
  animation: co-in 320ms ease-out;
}

/* Phone: the board turns on its side, so column order reads top to bottom. */
@media (max-width: 700px) {
  .co {
    padding: 0.9rem 0.8rem 0.8rem;
  }
  .co-setup {
    grid-template-columns: minmax(0, 1fr);
  }
  .co-setup .co-graph {
    grid-row: auto;
    max-width: 220px;
  }
  .co-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .co-side {
    max-width: 260px;
  }
  .co-board {
    flex-direction: column;
  }
  .co-col {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .co-chip {
    flex: 0 0 2rem;
    width: 2rem;
  }
  .co-cards {
    flex: 1 1 0;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 2rem;
  }
  .co-cards:empty::before {
    padding-top: 0.45rem;
    text-align: left;
  }
  .co-board .co-card {
    flex: 1 1 8.5rem;
  }
  .co-rank .co-card {
    grid-template-columns: 0.9rem auto minmax(0, 1fr) auto;
    grid-template-areas: "n triple bar p" "v v v v";
    gap: 0.15rem 0.5rem;
  }
  .co-actions {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .co .highlight {
    animation: none;
  }

  .co-col,
  .co-card {
    transition: none;
  }
  .co-old .co-graph svg {
    animation: none;
  }
}

/* The 0.7.0 post's data-generator figure (docs/blog/0.7.0/generator.html): the same graph numbered
   by column before and after the shuffle, and a diverging bar per significance level. */
.cg {
  margin: 2rem 0;
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--andrey-line);
  border-radius: var(--andrey-radius-lg);
  background: var(--andrey-surface);
}

.cg-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.cg-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.cg-chart {
  gap: 0.7rem;
}

.cg .cg-name {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.cg-pair {
  display: grid;
  gap: 0.3rem;
}

.cg-track {
  position: relative;
  display: flex;
  align-items: center;
  height: 1.3rem;
  background: linear-gradient(var(--andrey-line), var(--andrey-line)) center / 1px 100% no-repeat;
}

.cg-bar {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  width: var(--cg-w);
  border-radius: 3px;
  animation: grow 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cg-bar.is-worse {
  left: 50%;
  background: var(--andrey-edge-bidirected);
  transform-origin: left;
}

.cg-bar.is-better {
  right: 50%;
  background: var(--andrey-accent);
  transform-origin: right;
}

.cg .cg-v {
  position: absolute;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.cg-bar.is-worse + .cg-v {
  right: 0;
}

.cg-bar.is-better + .cg-v {
  left: 0;
}

.cg .cg-axis {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: var(--andrey-muted);
  font-size: 0.75rem;
}

.cg figcaption {
  margin-top: 0.8rem;
  text-align: left;
  color: var(--andrey-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

@media (max-width: 640px) {
  .cg-panels {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-bar {
    animation: none;
  }
}

/* The 0.7.0 post's comparison tables (docs/blog/0.7.0/figures.py, table()): rows grouped under a
   label set on its side, Andrey's column first and tinted in the accent, and each row's best cell
   in bold, shaded when it is not Andrey's. */
.ct {
  margin: 1.5rem 0 2rem;
}

.ct .ct-title {
  margin: 0 0 0.5rem;
  color: var(--andrey-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-scroll {
  overflow-x: auto;
  border: 1px solid var(--andrey-line);
  border-radius: var(--andrey-radius-lg);
  background: var(--andrey-surface);
}

.ct-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.ct-table th,
.ct-table td {
  padding: 0.75rem 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--andrey-line);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.ct-table thead th {
  color: var(--andrey-ink);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: normal;
}

.ct-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
}

.ct-table tbody th small {
  display: block;
  margin-top: 0.15rem;
  color: var(--andrey-muted);
  font-size: 0.75rem;
  font-weight: 400;
}

/* A group's label runs up its side, and a heavier rule separates the groups. */
.ct-table .ct-group {
  width: 2.2rem;
  padding: 0.5rem 0.2rem;
  border-right: 1px solid var(--andrey-line);
  color: var(--andrey-ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.ct-table .ct-group span {
  display: inline-block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ct-table tbody tr:has(.ct-group) > * {
  border-top: 2px solid var(--andrey-line);
}

.ct-table tbody tr:first-child > * {
  border-top: 0;
}

.ct-table tbody tr:last-child > *,
.ct-table .ct-group {
  border-bottom: 0;
}

.ct-table .ct-na {
  color: var(--andrey-muted);
}

.ct figcaption {
  margin-top: 0.6rem;
  text-align: left;
  color: var(--andrey-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* The 0.8.0 post's figures (docs/blog/0.8.0/): three relationships, each with the p-values
   partial correlation and KCI give it, and the example's graphs, one card per test. */
.dp,
.gf {
  margin: 2rem 0;
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--andrey-line);
  border-radius: var(--andrey-radius-lg);
  background: var(--andrey-surface);
}

.gf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem 1.2rem;
}

.gf-name {
  margin: 0;
  color: var(--andrey-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.gf svg {
  display: block;
  width: 100%;
  height: auto;
}

.dp-dots circle {
  fill: var(--andrey-accent);
  fill-opacity: 0.45;
}

/* The relationships' table: each row its points, then whether each test finds the dependence. */
.dp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.dp-table thead th {
  padding: 0 0.75rem 0.5rem;
  color: var(--andrey-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
}

.dp-table tbody tr + tr > * {
  border-top: 1px solid var(--andrey-line);
}

.dp-table tbody th {
  width: 30%;
  padding: 0.5rem 0.75rem 0.5rem 0;
  font-weight: 400;
  text-align: left;
}

.dp-table tbody th svg {
  display: block;
  width: 100%;
  max-width: 14rem;
  height: auto;
}

.dp-name {
  display: block;
  margin-top: 0.2rem;
  color: var(--andrey-ink);
  font-weight: 600;
}

.dp-table td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

.dp-table td b {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.dp-table thead th,
.dp-table td {
  text-align: center;
}

.dp-table tbody th svg {
  min-width: 7rem;
}

.dp-table td small {
  color: var(--andrey-muted);
  font-size: 0.8rem;
}

.dp-table .dp-seen b {
  color: var(--andrey-accent);
}

.dp-table .dp-missed b {
  color: var(--andrey-muted);
}

.gf-count {
  margin: 0;
  color: var(--andrey-muted);
  font-size: 0.8rem;
}

.dp figcaption,
.gf figcaption {
  margin-top: 0.8rem;
  color: var(--andrey-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* The 0.9.0 post's speedup ranges (docs/blog/0.9.0/figures.py): one accent bar per method on a
   log axis from 1x. */
.sr {
  margin: 1.5rem 0;
}

.sr .sr-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.sr svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sr .sr-family {
  font-size: 11px;
  font-weight: 600;
  fill: var(--andrey-muted);
}

.sr .sr-method {
  font-size: 12px;
  fill: var(--andrey-ink);
}

.sr .sr-bar {
  fill: var(--andrey-accent);
}

.sr .sr-value,
.sr .sr-tick {
  font-size: 11px;
  fill: var(--andrey-muted);
}

.sr .sr-grid {
  stroke: var(--andrey-line);
  stroke-width: 1;
}

.sr figcaption {
  font-size: 0.8rem;
  color: var(--andrey-muted);
}
