.shiki-container {
  position: relative;
  margin-block-start: 1.25rem;
}
.shiki-container > pre {
  margin-block-start: 0;
  padding-inline-end: 5.5rem;
}
.copy-btn {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  padding: 0.25rem 0.625rem;
  border: 0.0625rem solid var(--color-code-text);
  background: var(--color-code-surface);
  color: var(--color-code-text);
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: var(--font-weight-body);
  line-height: 1.5;
  cursor: pointer;
}
.copy-btn:hover {
  background: var(--color-code-text);
  color: var(--color-code-surface);
}
.copy-btn:focus-visible {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}
:root {
  color-scheme: light dark;
  --color-surface: hsl(205.8 21.6% 93.5%);
  --color-surface-subtle: hsl(207.4 19.2% 89.2%);
  --color-heading: hsl(208.6 47.2% 8.8%);
  --color-text: hsl(208.9 30.5% 16.3%);
  --color-text-muted: hsl(208.7 14.7% 33.9%);
  --color-hairline: hsl(207.9 13% 81%);
  --color-border: hsl(208.8 8.6% 47.2%);
  --color-primary: hsl(337.1 81.2% 38.1%);
  --color-primary-hover: hsl(337.3 82.8% 29.7%);
  --color-accent: hsl(337.1 81.2% 38.1%);
  --color-on-accent: hsl(205.8 21.6% 93.5%);
  --color-accent-ink: hsl(337.1 81.2% 38.1%);
  --color-logo: hsl(337.1 81.2% 38.1%);
  --color-shadow: hsl(0 0% 0% / 0.35);
  --color-code-inline: hsl(208.4 21.9% 83.6%);
  --color-code-surface: hsl(207.4 76.5% 98.8%);
  --color-code-text: hsl(208.9 30.5% 16.3%);
  --color-code-edge: hsl(207.9 13% 81%);
  --color-warning: hsl(27 70.3% 33.6%);
  --color-diagram-fill: hsl(207.3 17.1% 84%);
  --color-diagram-2: hsl(211.6 77.7% 40.1%);
  --color-diagram-3: hsl(37.4 94.7% 32.3%);
  --color-diagram-pass: hsl(140.5 62.4% 30.2%);
  --color-diagram-fail: hsl(22.3 83.5% 38.8%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-surface: hsl(208.6 47.2% 8.8%);
    --color-surface-subtle: hsl(207.6 38.7% 12.2%);
    --color-heading: hsl(214 26.8% 95.1%);
    --color-text: hsl(210 18.9% 83.5%);
    --color-text-muted: hsl(209.9 12.2% 65.1%);
    --color-hairline: hsl(206.7 25.9% 20.2%);
    --color-border: hsl(207.1 12.3% 50.8%);
    --color-primary: hsl(73.6 86.3% 58.7%);
    --color-primary-hover: hsl(73.7 91.4% 74.1%);
    --color-accent: hsl(73.6 86.3% 58.7%);
    --color-on-accent: hsl(208.6 47.2% 8.8%);
    --color-accent-ink: hsl(73.6 86.3% 58.7%);
    --color-logo: hsl(73.6 86.3% 58.7%);
    --color-shadow: hsl(0 0% 0% / 0.35);
    --color-code-inline: hsl(207.7 31.1% 18.2%);
    --color-code-surface: hsl(208 59% 4.9%);
    --color-code-text: hsl(196.9 14.2% 90.4%);
    --color-code-edge: hsl(206.7 25.9% 20.2%);
    --color-warning: hsl(30.5 90.6% 66.6%);
    --color-diagram-fill: hsl(207.7 32.1% 16.3%);
    --color-diagram-2: hsl(254.7 82.1% 81.5%);
    --color-diagram-3: hsl(188.5 78.1% 64.9%);
    --color-diagram-pass: hsl(157.8 64.8% 58.6%);
    --color-diagram-fail: hsl(22.7 92.4% 64%);
  }
}
@supports (color: light-dark(oklch(0% 0 0deg), oklch(0% 0 0deg))) {
  :root {
    --color-surface: light-dark(oklch(95% 0.006 240deg), oklch(19.9% 0.026 247deg));
    --color-surface-subtle: light-dark(oklch(91.6% 0.009 243deg), oklch(23.7% 0.028 245deg));
    --color-heading: light-dark(oklch(19.9% 0.026 247deg), oklch(96% 0.006 255deg));
    --color-text: light-dark(oklch(27.9% 0.029 247deg), oklch(86.9% 0.014 248deg));
    --color-text-muted: light-dark(oklch(45% 0.026 246deg), oklch(72% 0.02 248deg));
    --color-hairline: light-dark(oklch(85.1% 0.011 244deg), oklch(32.1% 0.029 243deg));
    --color-border: light-dark(oklch(57% 0.02 246deg), oklch(60.1% 0.029 243deg));
    --color-primary: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-primary-hover: light-dark(oklch(41.3% 0.157 7deg), oklch(93.8% 0.15 120deg));
    --color-accent: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-on-accent: light-dark(oklch(95% 0.006 240deg), oklch(19.9% 0.026 247deg));
    --color-accent-ink: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-logo: light-dark(oklch(49.2% 0.188 7deg), oklch(89.7% 0.2 122deg));
    --color-shadow: light-dark(oklch(0% 0 0deg / 0.35), oklch(0% 0 0deg / 0.35));
    --color-code-inline: light-dark(oklch(87% 0.016 245deg), oklch(30% 0.032 245deg));
    --color-code-surface: light-dark(oklch(99% 0.004 243deg), oklch(15.4% 0.02 243deg));
    --color-code-text: light-dark(oklch(27.9% 0.029 247deg), oklch(92.8% 0.006 223deg));
    --color-code-edge: light-dark(oklch(85.1% 0.011 244deg), oklch(32.1% 0.029 243deg));
    --color-warning: light-dark(oklch(50% 0.11 55deg), oklch(80% 0.13 65deg));
    --color-diagram-fill: light-dark(oklch(87.5% 0.012 243deg), oklch(28% 0.03 245deg));
    --color-diagram-2: light-dark(oklch(50% 0.15 255deg), oklch(78% 0.11 295deg));
    --color-diagram-3: light-dark(oklch(56% 0.12 70deg), oklch(82% 0.11 210deg));
    --color-diagram-pass: light-dark(oklch(52% 0.13 150deg), oklch(80% 0.14 165deg));
    --color-diagram-fail: light-dark(oklch(55% 0.15 45deg), oklch(75% 0.15 50deg));
  }
}
:where(dt) {
  font-weight: var(--font-weight-heading);
}
:where(dd + dt) {
  margin-block-start: 1.5rem;
}
:where(dd) {
  line-height: 1.7;
  margin-inline-start: 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 0.0625rem solid var(--color-hairline);
}
:where(dt + dd) {
  margin-block-start: 0.5rem;
}
:where(dd + dd) {
  padding-block-start: 0.375rem;
}
:where(dd > p) {
  margin-block: 0;
}
:where(dd > p + p) {
  margin-block-start: 0.375rem;
}
.doc-example iframe {
  display: block;
  box-sizing: content-box;
  inline-size: calc(100% - 2rem - 0.125rem);
  padding: 1rem;
  border: 0.0625rem solid var(--color-hairline);
}
.doc-example-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0.625rem 0 0;
  padding: 0;
  list-style: none;
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
}
.doc-example-variants a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.doc-example-variants a:hover {
  color: var(--color-text);
}
.doc-example-variants a[aria-current=true] {
  color: var(--color-text);
  text-decoration: underline 0.125rem var(--color-accent-ink);
  text-underline-offset: 0.3em;
}
.doc-example-variants a:focus-visible {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}
.doc-example-id {
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
}
.doc-image {
  display: block;
  inline-size: 107.0175438596%;
  max-inline-size: none;
  block-size: auto;
  margin-inline: -3.5087719298%;
  background: var(--color-surface-subtle);
}
@media (width < 40rem) {
  .doc-image {
    font-weight: var(--font-weight-semibold);
  }
}
@media (orientation: landscape) and (height < 30rem) {
  .doc-image {
    inline-size: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));
    margin-inline-start: calc(env(safe-area-inset-left) - var(--site-gutter, 1.5rem));
  }
}
.reading-article {
  counter-reset: figure;
}
.doc-figure,
.doc-example {
  margin-inline: 0;
  counter-increment: figure;
}
.doc-figure figcaption,
.doc-example figcaption {
  margin-block-start: 0.875rem;
  color: var(--color-text-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9375em;
  font-weight: var(--font-weight-body);
}
.doc-figure figcaption::before,
.doc-example figcaption::before {
  content: "Fig. " counter(figure) ": ";
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
:where(body) {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: var(--font-weight-body);
  font-size-adjust: from-font;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface);
}
:where(a) {
  color: var(--color-primary);
}
:where(a:hover) {
  color: var(--color-primary-hover);
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-normal-wdth100-wght700-900.woff2?v=9d789cd658") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 800 900;
  font-stretch: 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-italic-wdth125-wght800-900.woff2?v=dd20286482") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2?v=18b2a1a39a") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2?v=2706b1ee4f") format("woff2");
}
.page {
  padding-block: 3.5rem 5rem;
  padding-inline: var(--site-gutter, 1.5rem);
}
.page-title,
.page-description,
.page-meta,
.page-body {
  max-inline-size: var(--reading-column);
}
.page-title {
  margin-block: 0 0.5rem;
}
.page-description {
  margin-block: 0 2rem;
  color: var(--color-text-muted);
}
:where(.page-body) iframe {
  width: 100%;
  border: 0;
}
.page-meta {
  margin-block: 0 2rem;
  color: var(--color-text-muted);
}
.page-tags {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-tags li {
  display: inline;
  margin-inline-start: 0.5rem;
}
.reading-article .page-title {
  margin: 0;
}
.reading-article .page-description {
  margin: 1.25rem 0 0;
  font-size: 1.12em;
  line-height: 1.6;
  color: var(--color-text);
}
.reading-article .page-meta {
  margin: 1rem 0 0;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.page-links li + li::before {
  content: " · "/"";
}
.reading-article .page-body > h2 {
  margin: 3rem 0 0;
}
.reading-article .page-body > p {
  margin: 0.75rem 0 0;
}
:where(.reading-article .page-body) iframe {
  width: 100%;
  border: 0;
}
.reading-article .page-body:has(+ .pager) > .note:last-child {
  border-block-end: 0;
}
.reading {
  padding: 3.5rem var(--site-gutter, 1.5rem) 5rem;
}
.reading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem var(--reading-gap);
  align-items: start;
  margin-top: 2.5rem;
}
.reading > .reading-row:first-child {
  margin-top: 0;
}
@media (min-width: 56em) {
  .reading-row {
    grid-template-areas: "article aside";
    grid-template-columns: minmax(0, var(--reading-column)) minmax(13rem, 1fr);
  }
  .reading-aside {
    grid-area: aside;
  }
  .reading-article {
    grid-area: article;
  }
}
.reading-article {
  min-inline-size: 0;
  max-inline-size: var(--reading-column);
}
.reading-aside:empty {
  display: none;
}
.reading-aside > * + * {
  margin-block-start: 2rem;
}
@media (min-width: 64em) and (min-height: 40em) {
  .reading-aside {
    position: sticky;
    top: var(--site-header-height);
    max-block-size: calc(100dvh - var(--site-header-height) - var(--site-footer-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block-end: 0.25rem;
  }
}
:root {
  --font-weight-body: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-heading: 800;
  --font-weight-heading-strong: 900;
}
@media (prefers-color-scheme: dark) {
  :root {
    --font-weight-body: 360;
    --font-weight-medium: 460;
    --font-weight-semibold: 560;
    --font-weight-heading: 720;
    --font-weight-heading-strong: 820;
  }
}
:root {
  --font-size--1: clamp(0.7955rem, 0.8422rem + -0.0445vw, 0.8333rem);
  --font-size-0: clamp(1.0625rem, 0.9375rem + 0.625vw, 1.1875rem);
  --font-size-1: clamp(1.3281rem, 1.2579rem + 0.3513vw, 1.6794rem);
  --font-size-2: clamp(1.6602rem, 1.5172rem + 0.7148vw, 2.375rem);
  --font-size-3: clamp(2.0752rem, 1.8185rem + 1.2836vw, 3.3588rem);
  --font-size-4: clamp(2.594rem, 2.1628rem + 2.156vw, 4.75rem);
}
:where(body) {
  font-size: var(--font-size-0);
}
:where(p) {
  line-height: 1.7;
  text-wrap: pretty;
}
:where(h1, h2, h3, h4, h5, h6) {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.01em;
  word-spacing: 0.08em;
  line-height: 1.2;
  color: var(--color-heading);
  text-wrap: balance;
}
:where(h1) {
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-heading-strong);
  line-height: 1.05;
}
:where(h2) {
  font-size: var(--font-size-1);
}
:where(h3, h4, h5, h6) {
  font-size: var(--font-size-0);
}
:where(strong, b, th) {
  font-weight: var(--font-weight-semibold);
}
:where(small) {
  font-size: var(--font-size--1);
}
:where(code, kbd, samp) {
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
:where(:not(pre) > code) {
  padding-inline: 0.25em;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--color-heading);
  background: var(--color-code-inline);
}
:where(a code) {
  background: none;
  color: inherit;
}
:where(pre) {
  margin: 1.25rem 0 0;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  border: 0.0625rem solid var(--color-code-edge);
  background: var(--color-code-surface);
  color: var(--color-code-text);
  font-family: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
}
:where(pre code) {
  font-size: inherit;
}
:where(pre:focus-visible) {
  outline: 0.125rem solid var(--color-primary);
  outline-offset: 0.125rem;
}