/* The Awesome Humans theme for Zensical, from the design system at
   https://claude.ai/artifact/QfYm5d57sbJxs3W3jMyGiy. Its tokens.json gives every value
   here, and its components/bundle.css the ah- component rules, with the tokens renamed
   --ah-*. Change a value there first, then copy it here.

   Light follows Zensical's default scheme and dark its slate scheme. The modern variant
   keeps the header and tabs on the page background, so brand green stays on links. */

/* ---- Fonts: IBM Plex, self-hosted, Latin-1 subsets as IBM ships them ---- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
  unicode-range:
    U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153,
    U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022,
    U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212,
    U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexSans-Italic-Latin1.woff2") format("woff2");
  unicode-range:
    U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153,
    U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022,
    U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212,
    U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexSans-Medium-Latin1.woff2") format("woff2");
  unicode-range:
    U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153,
    U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022,
    U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212,
    U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2");
  unicode-range:
    U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153,
    U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022,
    U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212,
    U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2");
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
    U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030,
    U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/IBMPlexMono-Medium-Latin1.woff2") format("woff2");
  unicode-range:
    U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC,
    U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030,
    U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
}

/* ---- Tokens ---- */
:root {
  --ah-font-sans:
    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ah-font-mono:
    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ah-space-1: 4px;
  --ah-space-2: 8px;
  --ah-space-3: 12px;
  --ah-space-4: 16px;
  --ah-space-6: 24px;
  --ah-space-8: 32px;
  --ah-space-12: 48px;

  --ah-radius-xs: 2px;
  --ah-radius-sm: 4px;
  --ah-radius-md: 6px;

  --ah-hairline: 1px;
  --ah-tick: 3px;
  --ah-stripe: 2px;
}

[data-md-color-scheme="default"] {
  --ah-bg: #ffffff;
  --ah-surface: #f6f7f8;
  --ah-raised: #eef0f2;
  --ah-line: #e3e6ea;
  --ah-ink: #0d1117;
  --ah-ink-2: #3b4450;
  --ah-muted: #5b6572;
  --ah-brand: #087d4e;
  --ah-brand-mark: #109a63;
  --ah-brand-tint: #e7f5ee;
  --ah-on-brand: #ffffff;
  --ah-dotnet: #512bd4;
  --ah-rust: #b4400f;
  --ah-typescript: #2b6cb0;
  --ah-house: #9a6100;
  --ah-house-tint: #fbf2df;
  --ah-stale: #c0302a;
  --ah-stale-tint: #fbe9e8;
  --ah-lane-sources: #017b80;
  --ah-lane-research: #6d7123;
  --ah-lane-opinions: #955080;
  --ah-lane-reports: #8253ac;
}

[data-md-color-scheme="slate"] {
  --ah-bg: #0d1117;
  --ah-surface: #151a21;
  --ah-raised: #1c232c;
  --ah-line: #2a323c;
  --ah-ink: #e8ecf0;
  --ah-ink-2: #c3cad2;
  --ah-muted: #8b95a1;
  --ah-brand: #3dd392;
  --ah-brand-mark: #3dd392;
  --ah-brand-tint: #11281f;
  --ah-on-brand: #0d1117;
  --ah-dotnet: #a48bff;
  --ah-rust: #f2895b;
  --ah-typescript: #6fa8ee;
  --ah-house: #f2c14e;
  --ah-house-tint: #1d1912;
  --ah-stale: #f2726b;
  --ah-stale-tint: #2c1615;
  --ah-lane-sources: #6ac9ce;
  --ah-lane-research: #b9be71;
  --ah-lane-opinions: #e79bce;
  --ah-lane-reports: #c9a5e9;
}

/* The ecosystem accent. javascripts/ecosystem.js sets data-ecosystem on <html> from the
   first path segment. A segment with no rule here, such as how-it-works, keeps brand. */
[data-md-color-scheme] {
  --ah-eco: var(--ah-brand);
}
[data-ecosystem="dotnet"] [data-md-color-scheme],
.ah-eco-dotnet {
  --ah-eco: var(--ah-dotnet);
}
[data-ecosystem="rust"] [data-md-color-scheme],
.ah-eco-rust {
  --ah-eco: var(--ah-rust);
}
[data-ecosystem="typescript"] [data-md-color-scheme],
.ah-eco-typescript {
  --ah-eco: var(--ah-typescript);
}
.ah-eco-brand {
  --ah-eco: var(--ah-brand);
}

/* ---- Tokens onto Zensical's variables ---- */
[data-md-color-scheme="default"],
[data-md-color-scheme="slate"] {
  --md-text-font-family: var(--ah-font-sans);
  --md-code-font-family: var(--ah-font-mono);

  --md-default-bg-color: var(--ah-bg);
  --md-default-fg-color: var(--ah-ink);
  --md-default-fg-color--light: var(--ah-ink-2);
  --md-default-fg-color--lighter: var(--ah-muted);
  --md-default-fg-color--lightest: var(--ah-line);
  --md-typeset-color: var(--ah-ink);
  --md-typeset-a-color: var(--ah-brand);

  --md-primary-fg-color: var(--ah-brand);
  --md-primary-fg-color--light: var(--ah-brand-mark);
  --md-primary-fg-color--dark: var(--ah-brand);
  --md-primary-bg-color: var(--ah-on-brand);
  --md-primary-bg-color--light: var(--ah-on-brand);
  --md-accent-fg-color: var(--ah-brand);
  --md-accent-fg-color--transparent: var(--ah-brand-tint);
  --md-accent-bg-color: var(--ah-on-brand);

  --md-code-bg-color: var(--ah-surface);
  --md-code-fg-color: var(--ah-ink);
  --md-code-hl-comment-color: var(--ah-muted);

  --md-typeset-table-color: var(--ah-line);
  --md-admonition-bg-color: var(--ah-bg);
  --md-admonition-fg-color: var(--ah-ink);

  --md-footer-bg-color: var(--ah-surface);
  --md-footer-bg-color--dark: var(--ah-raised);
  --md-footer-fg-color: var(--ah-ink);
  --md-footer-fg-color--light: var(--ah-ink-2);
  --md-footer-fg-color--lighter: var(--ah-muted);
}

/* ---- Type ---- */
.md-typeset {
  font-size: 0.8rem;
  line-height: 1.625;
}
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: var(--ah-ink);
  font-weight: 600;
}
.md-typeset h2 {
  margin-top: var(--ah-space-8);
  font-size: 1.5em;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.md-typeset h3 {
  font-size: 1.125em;
  line-height: 1.444;
}
.md-typeset code,
.md-typeset kbd,
.md-typeset pre {
  font-feature-settings: normal;
}

/* Each section heading's text links to its own anchor (the toc extension's anchorlink),
   in place of a pilcrow; the page title stays plain text (title_text in src/). The link
   keeps the heading's colour, so the accent stays in its four places, and turns brand
   green on hover or focus, as the "On this page" links do, without Zensical's underline. */
.md-typeset .toclink {
  color: inherit;
  text-decoration: none;
}
.md-typeset .toclink:hover,
.md-typeset .toclink:focus-visible {
  color: var(--ah-brand);
}

/* The page title, underlined with the ecosystem tick. The design system draws the tick
   above the title; the owner moved it underneath on 2026-10-16, where it reads as an
   underline rather than a rule cutting the page. */
.md-typeset h1 {
  display: inline-block;
  margin: 0 0 var(--ah-space-6);
  padding-bottom: 6px;
  border-bottom: var(--ah-tick) solid var(--ah-eco);
  font-size: 2em;
  line-height: 1.1875;
  letter-spacing: -0.015em;
}

/* ---- Header: on bg, a hairline, and the ecosystem stripe along the bottom ---- */
.md-header,
.md-tabs {
  background-color: var(--ah-bg);
  color: var(--ah-ink);
}
.md-header {
  box-shadow: none;
}
.md-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--ah-stripe);
  background: var(--ah-eco);
}
.md-header__title {
  font-weight: 600;
}
.md-tabs {
  border-bottom: var(--ah-hairline) solid var(--ah-line);
}
.md-tabs__link {
  color: var(--ah-ink-2);
  opacity: 1;
}
.md-tabs__link:hover,
.md-tabs__link:focus {
  color: var(--ah-brand);
}
.md-tabs__item--active .md-tabs__link {
  color: var(--ah-eco);
  font-weight: 600;
}

/* ---- Navigation: the active page takes the ecosystem accent ---- */
.md-nav__item .md-nav__link--active,
.md-nav--primary .md-nav__item .md-nav__link--active {
  color: var(--ah-eco);
  background: transparent;
  font-weight: 600;
}

/* ---- Focus: a solid brand-mark ring, 3:1 or better on every surface ---- */
.md-typeset a:focus-visible,
.md-nav__link:focus-visible,
.md-tabs__link:focus-visible,
.md-header__button:focus-visible,
.ah-btn:focus-visible,
.ah-card:focus-visible,
.ah-chip:focus-visible {
  outline: var(--ah-stripe) solid var(--ah-brand-mark);
  outline-offset: 2px;
}

/* ---- Structure from hairlines, not shadows ---- */
.md-typeset pre > code {
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-sm);
}

/* A date in a table stays on one line, instead of breaking at its hyphens. The
   date_cells extension in src/ marks each cell that holds only a date. */
.md-typeset td.ah-date {
  white-space: nowrap;
}

/* Wider pages on large screens. The theme caps the page at 61rem with a 12.1rem sidebar
   each side, which shrinks the diagrams, drawn 1100 to 1220 units wide, to about 70% in a
   column some 880px across. An 80rem cap and narrower sidebars give the content column
   most of a desktop window. */
@media screen and (min-width: 76.25em) {
  .md-grid {
    max-width: 80rem;
  }

  .md-sidebar {
    width: 10rem;
  }
}

/* ---- Components: the design system's ah- classes ---- */
.ah-label {
  font: 500 11px/16px var(--ah-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-muted);
}
.ah-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ah-space-2);
  align-items: center;
}

/* Hero: the home banner. The montage of cited faces arrives with the source images. */
.md-typeset .ah-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 var(--ah-space-8);
  padding: var(--ah-space-12) var(--ah-space-6) 40px;
  background: var(--ah-surface);
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-md);
}
.ah-hero__montage {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.22;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.ah-hero__montage--dark {
  display: none;
}
[data-md-color-scheme="slate"] .ah-hero__montage--light {
  display: none;
}
[data-md-color-scheme="slate"] .ah-hero__montage--dark {
  display: block;
  opacity: 0.14;
  mix-blend-mode: screen;
}
.md-typeset .ah-hero .ah-hero__kicker {
  font: 500 11px/16px var(--ah-font-mono);
  letter-spacing: 0.08em;
  color: var(--ah-brand);
  margin: 0 0 var(--ah-space-3);
}
.md-typeset .ah-hero h1 {
  display: block;
  margin: 0 0 var(--ah-space-3);
  padding: 0;
  border: 0;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.md-typeset .ah-hero p {
  font-size: 17px;
  line-height: 28px;
  color: var(--ah-ink-2);
  max-width: 62ch;
  margin: 0 0 var(--ah-space-6);
  text-wrap: pretty;
}
.md-typeset .ah-hero .ah-row {
  margin: 0;
}
.ah-hero__credit {
  position: absolute;
  right: var(--ah-space-3);
  bottom: var(--ah-space-2);
  font: 11px/16px var(--ah-font-mono);
  color: var(--ah-muted);
}
@media screen and (max-width: 44.9375em) {
  .md-typeset .ah-hero {
    padding: var(--ah-space-6) var(--ah-space-4);
  }
  .md-typeset .ah-hero h1 {
    font-size: 32px;
    line-height: 38px;
  }
}

/* Buttons */
.md-typeset .ah-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--ah-space-2);
  padding: 6px 14px;
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-sm);
  font: 500 14px/22px var(--ah-font-sans);
  color: var(--ah-ink);
  background: var(--ah-bg);
  text-decoration: none;
  cursor: pointer;
  transition:
    color 150ms,
    border-color 150ms;
}
.md-typeset .ah-btn:hover {
  border-color: var(--ah-brand);
  color: var(--ah-brand);
}

/* Ecosystem cards */
.md-typeset .ah-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ah-space-4);
  margin: var(--ah-space-4) 0 var(--ah-space-6);
}
.md-typeset .ah-card {
  display: grid;
  gap: var(--ah-space-2);
  align-content: start;
  justify-items: start;
  padding: var(--ah-space-4);
  border: var(--ah-hairline) solid var(--ah-line);
  border-top: var(--ah-tick) solid var(--ah-eco, var(--ah-line));
  border-radius: var(--ah-radius-sm);
  background: var(--ah-bg);
  color: var(--ah-ink);
  text-decoration: none;
  transition: border-color 150ms;
}
.md-typeset a.ah-card:hover {
  border-color: var(--ah-eco);
  border-top-color: var(--ah-eco);
  color: var(--ah-ink);
}
.md-typeset .ah-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
}
.md-typeset .ah-card p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--ah-ink-2);
}
.md-typeset .ah-card--soon {
  background: var(--ah-surface);
}
.md-typeset .ah-card--soon h3 {
  color: var(--ah-ink-2);
}

/* Chips */
.md-typeset .ah-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--ah-space-1);
  padding: 0 var(--ah-space-2);
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-xs);
  background: var(--ah-bg);
  font: 500 12px/20px var(--ah-font-mono);
  color: var(--ah-ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.ah-chip--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.md-typeset .ah-chip--fresh {
  color: var(--ah-brand);
  border-color: currentColor;
}
.md-typeset .ah-chip--aging {
  color: var(--ah-house);
  border-color: currentColor;
}
.md-typeset .ah-chip--stale {
  color: var(--ah-stale);
  border-color: currentColor;
}
.md-typeset .ah-chip--eco {
  color: var(--ah-eco);
  border-color: currentColor;
}
.md-typeset a.ah-chip:hover {
  border-color: var(--ah-brand);
  color: var(--ah-brand);
}

/* Opinion metadata strip, written by an ecosystem as a paragraph with { .ah-meta } */
.md-typeset .ah-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ah-space-2) var(--ah-space-3);
  padding: var(--ah-space-3);
  background: var(--ah-surface);
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-sm);
  font-size: 14px;
  line-height: 22px;
  color: var(--ah-ink-2);
}
.ah-meta__item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ah-space-1) var(--ah-space-2);
}
.md-typeset .ah-meta code {
  font: 400 13px/20px var(--ah-font-mono);
  color: var(--ah-ink);
}

/* Admonitions: !!! house "House opinion" and !!! preview "Coming next" */
.md-typeset .admonition.house,
.md-typeset details.house,
.md-typeset .admonition.preview,
.md-typeset details.preview {
  padding: var(--ah-space-3);
  border: var(--ah-hairline) solid var(--ah-line);
  border-left-width: var(--ah-tick);
  border-radius: var(--ah-radius-sm);
  box-shadow: none;
  font-size: 14px;
  line-height: 22px;
}
.md-typeset .house > .admonition-title,
.md-typeset .house > summary,
.md-typeset .preview > .admonition-title,
.md-typeset .preview > summary {
  margin: 0 0 var(--ah-space-1);
  padding: 0;
  background: transparent;
  border: 0;
  font: 500 11px/16px var(--ah-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.md-typeset .house > .admonition-title::before,
.md-typeset .house > summary::before,
.md-typeset .preview > .admonition-title::before,
.md-typeset .preview > summary::before {
  display: none;
}
.md-typeset .house > :last-child,
.md-typeset .preview > :last-child {
  margin-bottom: 0;
}
.md-typeset .admonition.house,
.md-typeset details.house {
  border-color: var(--ah-house);
  background: var(--ah-house-tint);
}
.md-typeset .house > .admonition-title,
.md-typeset .house > summary {
  color: var(--ah-house);
}
.md-typeset .admonition.preview,
.md-typeset details.preview {
  border-style: dashed;
  border-left-style: solid;
  border-color: var(--ah-muted);
  background: transparent;
}
.md-typeset .preview > .admonition-title,
.md-typeset .preview > summary {
  color: var(--ah-muted);
}

/* House profiles: an element with data-house, such as a house block or a profile's chip,
   shows only when a reader chooses that profile in the header picker, which
   javascripts/house.js adds. Without it, every page is sourced community practice. */
.md-typeset [data-house]:not(.ah-house--on) {
  display: none;
}
.ah-house-picker {
  max-width: 12rem;
  margin: 0 var(--ah-space-2);
  padding: var(--ah-space-1) var(--ah-space-2);
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-sm);
  background: var(--ah-bg);
  color: var(--ah-ink-2);
  font: 500 12px/16px var(--ah-font-mono);
  cursor: pointer;
}
.ah-house-picker:focus-visible {
  outline: var(--ah-stripe) solid var(--ah-brand-mark);
  outline-offset: 2px;
}
[data-house] .ah-house-picker {
  border-color: var(--ah-house);
  color: var(--ah-house);
}
/* Before and After code: fences with { .ah-before title="Before" } and
   { .ah-after title="After" }, side by side inside <div class="ah-compare" markdown>. */
.md-typeset .ah-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--ah-space-3);
}
.md-typeset .ah-compare > * {
  min-width: 0;
  margin: 0;
}
.md-typeset .ah-before,
.md-typeset .ah-after {
  display: flex;
  flex-direction: column;
  border: var(--ah-hairline) solid var(--ah-line);
  border-radius: var(--ah-radius-sm);
  overflow: hidden;
}
.md-typeset .ah-before > pre,
.md-typeset .ah-after > pre {
  flex: 1;
  margin: 0;
}
.md-typeset .ah-before > pre > code,
.md-typeset .ah-after > pre > code {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.md-typeset .ah-before .filename,
.md-typeset .ah-after .filename {
  margin: 0;
  padding: 2px var(--ah-space-3);
  border: 0;
  border-bottom: var(--ah-hairline) solid var(--ah-line);
  border-radius: 0;
  font: 500 11px/20px var(--ah-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ah-raised);
}
.md-typeset .ah-before .filename {
  color: var(--ah-stale);
}
.md-typeset .ah-after .filename {
  color: var(--ah-brand);
}
.md-typeset .ah-before .filename::before {
  content: "\2212  ";
}
.md-typeset .ah-after .filename::before {
  content: "+ ";
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---- Diagrams: How it works, drawn by scripts/diagrams.py ----
   The SVG carries classes only, so these rules colour it from the tokens and the theme
   toggle switches it. Brand marks the CI gate and the outcome the agents work towards,
   and house what the owner decides. Each lane has its own lane-* colour, chosen to stay
   apart from those two and from stale. Reports' lavender sits near .NET's violet, which
   is safe because no ecosystem accent appears: a diagram isn't one of its four places.
   The figure takes the content's full width, which How it works widens by hiding its
   table of contents, and the prose beside it keeps its usual measure. On a narrow
   screen, the figure scrolls sideways rather than shrinking the labels. The theme
   centres a figure at its content's width, hence .md-typeset. */
.md-typeset .ah-diagram {
  display: block;
  width: 100%;
  margin: var(--ah-space-6) 0;
  overflow-x: auto;
}
.md-typeset:has(> .ah-diagram) > :not(.ah-diagram) {
  max-width: 42rem;
}
.ah-diagram svg {
  display: block;
  width: 100%;
  min-width: 760px;
  height: auto;
}
.ah-diagram .bg {
  fill: var(--ah-bg);
  stroke: var(--ah-line);
}
.ah-diagram .box {
  fill: var(--ah-surface);
  stroke: var(--ah-line);
  stroke-width: 1.2;
}
.ah-diagram .chip {
  fill: var(--ah-raised);
}
.ah-diagram .ext {
  fill: var(--ah-raised);
  stroke: var(--ah-muted);
  stroke-width: 1.2;
}
.ah-diagram .store {
  fill: var(--ah-raised);
  stroke: var(--ah-line);
  stroke-width: 1.2;
}
.ah-diagram .sources {
  --lane: var(--ah-lane-sources);
}
.ah-diagram .research {
  --lane: var(--ah-lane-research);
}
.ah-diagram .opinions {
  --lane: var(--ah-lane-opinions);
}
.ah-diagram .reports {
  --lane: var(--ah-lane-reports);
}
.ah-diagram .lane {
  fill: var(--lane);
}
.ah-diagram .lane.tint {
  fill: color-mix(in srgb, var(--lane) 14%, var(--ah-bg));
}
.ah-diagram .accent {
  fill: var(--ah-brand);
}
.ah-diagram text {
  font-family: var(--ah-font-sans);
}
.ah-diagram .t,
.ah-diagram .tb,
.ah-diagram .tm {
  fill: var(--ah-ink);
  font-size: 16px;
}
.ah-diagram .t {
  font-weight: 500;
}
.ah-diagram .tb {
  font-weight: 600;
}
.ah-diagram .tm {
  font-size: 15px;
}
.ah-diagram .tm,
.ah-diagram .th {
  font-family: var(--ah-font-mono);
  font-weight: 600;
}
.ah-diagram .ts {
  fill: var(--ah-muted);
  font-size: 14px;
}
.ah-diagram .th {
  fill: var(--ah-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ah-diagram .edge {
  stroke: var(--ah-muted);
  stroke-width: 1.4;
  fill: none;
}
.ah-diagram .edge.dash {
  stroke-dasharray: 4 4;
}
.ah-diagram .arrowhead {
  fill: var(--ah-muted);
}
.ah-diagram .gate,
.ah-diagram .check,
.ah-diagram .decision {
  fill: var(--ah-surface);
  stroke-width: 2;
}
.ah-diagram .gate {
  stroke: var(--ah-house);
}
.ah-diagram .check,
.ah-diagram .decision {
  stroke: var(--ah-brand);
}
.ah-diagram .gate-t,
.ah-diagram .check-t {
  font-weight: 600;
  font-size: 14px;
}
.ah-diagram .gate-t {
  fill: var(--ah-house);
}
.ah-diagram .check-t {
  fill: var(--ah-brand);
}
