@charset "UTF-8";
/*! Shell values adapted from Starlight 39d4e71; MIT, Astro contributors. See assets/starlight-LICENSE. */
@layer docside {
  :root {
    --docside-text-2xs: 0.75rem;
    --docside-text-xs: 0.8125rem;
    --docside-text-sm: 0.875rem;
    --docside-text-base: 1rem;
    --docside-text-lg: 1.125rem;
    --docside-text-xl: 1.25rem;
    --docside-text-2xl: 1.5rem;
    --docside-text-3xl: 1.8125rem;
    --docside-text-4xl: 2.1875rem;
    --docside-text-5xl: 2.625rem;
    --docside-text-6xl: 4rem;
    --docside-text-body: var(--docside-text-base);
    --docside-text-code: var(--docside-text-sm);
    --docside-text-code-sm: var(--docside-text-xs);
    --docside-text-h1: var(--docside-text-4xl);
    --docside-text-h2: var(--docside-text-3xl);
    --docside-text-h3: var(--docside-text-2xl);
    --docside-text-h4: var(--docside-text-xl);
    --docside-text-h5: var(--docside-text-lg);
    --docside-text-h6: var(--docside-text-base);
    --docside-line-height: 1.75;
    --docside-line-height-headings: 1.2;
    --docside-nav-height: 3.5rem;
    --docside-nav-pad-x: 1rem;
    --docside-nav-pad-y: 0.75rem;
    --docside-mobile-toc-height: 3rem;
    --docside-sidebar-width: 18.75rem;
    --docside-sidebar-pad-x: 1rem;
    --docside-content-width: 45rem;
    --docside-content-pad-x: 1rem;
    --docside-content-gap-y: 1rem;
    --docside-main-pad: 0 0 3vh 0;
    --docside-outline-offset-inside: -0.1875rem;
  }
  @media (min-width: 50rem) {
    :root:not([data-compact-sidebar]) {
      --docside-nav-height: 4rem;
      --docside-nav-pad-x: 1.5rem;
      --docside-text-h1: var(--docside-text-5xl);
      --docside-text-h2: var(--docside-text-4xl);
      --docside-text-h3: var(--docside-text-3xl);
      --docside-text-h4: var(--docside-text-2xl);
    }
  }
  @media (min-width: 72rem) {
    :root:not([data-compact-toc]) {
      --docside-content-pad-x: 1.5rem;
      --docside-mobile-toc-height: 0rem;
    }
  }
}
@layer docside {
  :root {
    --docside-code-bg: var(--muted);
    --docside-code-text: var(--foreground);
    --docside-code-border: var(--border);
    --docside-code-muted: color-mix(in srgb, var(--foreground) 20%, var(--muted-foreground));
    --docside-code-focus: color-mix(in srgb, var(--foreground) 70%, var(--ring));
    --docside-code-comment: #57606a;
    --docside-code-keyword: #6f24a4;
    --docside-code-string: #854300;
    --docside-code-number: #a32962;
    --docside-code-name: #174ea6;
    --docside-code-property: #176438;
    --docside-status-orange: hsl(41, 70%, 45%);
    --docside-status-orange-surface: color-mix(in srgb, var(--background) 92%, var(--docside-status-orange));
    --docside-status-orange-text: color-mix(in srgb, var(--foreground) 75%, var(--docside-status-orange));
    --docside-status-green: hsl(140, 70%, 45%);
    --docside-status-green-surface: color-mix(in srgb, var(--background) 92%, var(--docside-status-green));
    --docside-status-green-text: color-mix(in srgb, var(--foreground) 75%, var(--docside-status-green));
    --docside-status-blue: hsl(234, 70%, 45%);
    --docside-status-blue-surface: color-mix(in srgb, var(--background) 92%, var(--docside-status-blue));
    --docside-status-blue-text: color-mix(in srgb, var(--foreground) 75%, var(--docside-status-blue));
    --docside-status-red: hsl(350, 70%, 45%);
    --docside-status-red-surface: color-mix(in srgb, var(--background) 92%, var(--docside-status-red));
    --docside-status-red-text: color-mix(in srgb, var(--foreground) 75%, var(--docside-status-red));
    --docside-status-purple: hsl(285, 70%, 45%);
    --docside-status-purple-surface: color-mix(in srgb, var(--background) 92%, var(--docside-status-purple));
    --docside-status-purple-text: color-mix(in srgb, var(--foreground) 75%, var(--docside-status-purple));
  }
  :root.dark {
    --docside-code-comment: #aab4c0;
    --docside-code-keyword: #d9a5ff;
    --docside-code-string: #f2ca8d;
    --docside-code-number: #f6acd1;
    --docside-code-name: #a5c9ff;
    --docside-code-property: #a6dfb5;
  }
  #article pre:has(.code-line) {
    --docside-marker-neutral-bg: color-mix(in srgb, var(--foreground) 8%, transparent);
    --docside-marker-neutral-gutter: color-mix(in srgb, var(--foreground) 8%, var(--docside-code-bg));
    --docside-marker-neutral-edge: var(--muted-foreground);
    --docside-marker-insert-bg: rgb(142 199 125 / 34%);
    --docside-marker-insert-gutter: color-mix(in srgb, rgb(142 199 125) 34%, var(--docside-code-bg));
    --docside-marker-insert-edge: #2da043;
    --docside-marker-delete-bg: rgb(255 156 142 / 31%);
    --docside-marker-delete-gutter: color-mix(in srgb, rgb(255 156 142) 31%, var(--docside-code-bg));
    --docside-marker-delete-edge: #cf222e;
    --docside-marker-pattern: color-mix(in srgb, var(--background) 10%, transparent);
  }
  /* Dark code needs less marker luminance to retain syntax contrast. */
  :root.dark #article pre:has(.code-line) {
    --docside-marker-insert-bg: rgb(142 199 125 / 18%);
    --docside-marker-insert-gutter: color-mix(in srgb, rgb(142 199 125) 18%, var(--docside-code-bg));
    --docside-marker-delete-bg: rgb(255 156 142 / 18%);
    --docside-marker-delete-gutter: color-mix(in srgb, rgb(255 156 142) 18%, var(--docside-code-bg));
  }
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .hero-image[data-hero-depth] {
      --docside-hero-depth-shadow-color: rgb(0 0 0 / 28%);
      --docside-hero-depth-shadow-color-enter: rgb(0 0 0 / 8%);
    }
  }
}
@media screen {
  html {
    color-scheme: light;
  }
  html.dark {
    color-scheme: dark;
  }
}
@media print {
  html:root, ::backdrop {
    color-scheme: light;
    --background: #ffffff;
    --foreground: #171717;
    --card: #ffffff;
    --card-foreground: #171717;
    --popover: #ffffff;
    --popover-foreground: #171717;
    --primary: #171717;
    --primary-foreground: #fafafa;
    --secondary: #f5f5f5;
    --secondary-foreground: #171717;
    --muted: #f5f5f5;
    --muted-foreground: #525252;
    --accent: #f5f5f5;
    --accent-foreground: #171717;
    --destructive: #b91c1c;
    --border: #d4d4d4;
    --input: #d4d4d4;
    --ring: #737373;
    --chart-1: #525252;
    --chart-2: #525252;
    --chart-3: #525252;
    --chart-4: #525252;
    --chart-5: #525252;
    --sidebar: #ffffff;
    --sidebar-foreground: #171717;
    --sidebar-primary: #171717;
    --sidebar-primary-foreground: #fafafa;
    --sidebar-accent: #f5f5f5;
    --sidebar-accent-foreground: #171717;
    --sidebar-border: #d4d4d4;
    --sidebar-ring: #737373;
    --docside-code-print-text: #111111;
    --docside-code-bg: #f5f5f5;
    --docside-code-text: #111111;
    --docside-code-border: #d4d4d4;
    --docside-code-comment: #525252;
    --docside-code-keyword: #111111;
    --docside-code-string: #111111;
    --docside-code-number: #111111;
    --docside-code-name: #111111;
    --docside-code-property: #111111;
    --docside-status-orange: #525252;
    --docside-status-orange-surface: #f5f5f5;
    --docside-status-orange-text: #171717;
    --docside-status-green: #525252;
    --docside-status-green-surface: #f5f5f5;
    --docside-status-green-text: #171717;
    --docside-status-blue: #525252;
    --docside-status-blue-surface: #f5f5f5;
    --docside-status-blue-text: #171717;
    --docside-status-red: #525252;
    --docside-status-red-surface: #f5f5f5;
    --docside-status-red-text: #171717;
    --docside-status-purple: #525252;
    --docside-status-purple-surface: #f5f5f5;
    --docside-status-purple-text: #171717;
  }
}
/*! Adapted from stock Starlight sidebar and mobile menu; MIT, Astro contributors. */
@layer docside {
  #site-nav {
    position: fixed;
    inset: var(--docside-nav-height) 0 0;
    margin: 0;
    border: 0;
    width: 100%;
    height: auto;
    padding: 1rem var(--docside-sidebar-pad-x);
    color: var(--sidebar-foreground);
    background: var(--sidebar);
    overflow-y: auto;
    overflow-wrap: anywhere;
    scrollbar-gutter: stable;
    z-index: 5;
  }
  #site-nav ul {
    --item-pad: 0.5rem;
    list-style: none;
    padding: 0;
  }
  #site-nav ul ul li {
    margin-inline-start: var(--item-pad);
    border-inline-start: 1px solid var(--border);
    padding-inline-start: var(--item-pad);
  }
  #site-nav > ul > li + li {
    margin-top: 0.75rem;
  }
  #site-nav a {
    display: block;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--sidebar-foreground);
    padding: 0.3em var(--item-pad);
    line-height: 1.4;
  }
  #site-nav summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.2em var(--item-pad);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
    border-radius: var(--radius-md);
  }
  #site-nav summary,
  #site-nav > ul > li > a {
    font-weight: 600;
    color: var(--sidebar-foreground);
  }
  #site-nav > ul > li > a,
  #site-nav summary > span {
    font-size: var(--docside-text-lg);
  }
  #site-nav summary::marker,
  #site-nav summary::-webkit-details-marker {
    display: none;
  }
  .caret {
    flex-shrink: 0;
  }
  details[open] > summary .caret {
    transform: rotate(90deg);
  }
  #site-nav a:hover,
  #site-nav summary:hover {
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
  }
  #site-nav a[aria-current=page] {
    font-weight: 600;
    color: var(--sidebar-primary-foreground);
    background: var(--sidebar-primary);
  }
  html[dir=rtl] details:not([open]) > summary .caret {
    transform: rotate(180deg);
  }
  #menu-toggle {
    position: fixed;
    z-index: 10;
    top: calc((var(--docside-nav-height) - 2.25rem) / 2);
    inset-inline-end: var(--docside-nav-pad-x);
  }
  #menu-toggle::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    inset: min(0px, (2.25rem - 44px) / 2);
  }
  #menu-toggle .close-icon {
    display: none;
  }
  body:has(#site-nav:popover-open) {
    overflow: hidden;
  }
  body:has(#site-nav:popover-open) #menu-toggle .open-icon {
    display: none;
  }
  body:has(#site-nav:popover-open) #menu-toggle .close-icon {
    display: block;
  }
  @media (max-width: 49.999rem) {
    :root {
      --menu-space: 3rem;
    }
  }
  :root[data-compact-sidebar] {
    --menu-space: 3rem;
  }
  @media (min-width: 50rem) {
    :root:not([data-compact-sidebar]) #menu-toggle {
      display: none;
    }
    :root:not([data-compact-sidebar]) #site-nav {
      display: block;
      width: var(--docside-sidebar-width);
      inset-inline-end: auto;
      border-inline-end: 1px solid var(--sidebar-border);
      background: var(--sidebar);
    }
    :root:not([data-compact-sidebar]) #site-nav > ul > li + li {
      margin-top: 0.5rem;
    }
    :root:not([data-compact-sidebar]) #site-nav a {
      font-size: var(--docside-text-sm);
    }
    :root:not([data-compact-sidebar]) #site-nav > ul > li > a,
    :root:not([data-compact-sidebar]) #site-nav summary > span {
      font-size: var(--docside-text-base);
    }
    :root:not([data-compact-sidebar]) body:has(#site-nav:popover-open) {
      overflow: auto;
    }
  }
  @media (max-width: 49.999rem), (any-pointer: coarse) {
    #site-nav li {
      padding-block: 8px;
    }
    #site-nav :is(a, summary) {
      position: relative;
    }
    #site-nav :is(a, summary)::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      top: 50%;
      height: max(100%, 44px);
      transform: translateY(-50%);
    }
  }
}
/*! Adapted from stock Starlight heading navigation; MIT, Astro contributors. */
@layer docside {
  #toc {
    position: fixed;
    z-index: 4;
    top: calc(var(--docside-nav-height) - 1px);
    inset-inline: var(--docside-content-inline-start) 0;
    border-top: 1px solid var(--border);
    background: var(--background);
  }
  #toc h2 {
    display: none;
  }
  #toc summary {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    height: var(--docside-mobile-toc-height);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem;
    font-size: var(--docside-text-xs);
    cursor: pointer;
    outline-offset: -3px;
  }
  #toc summary::marker,
  #toc summary::-webkit-details-marker {
    display: none;
  }
  .toc-toggle {
    display: flex;
    flex-shrink: 0;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius-md);
    padding-block: 0.5rem;
    padding-inline: 0.75rem 0.5rem;
    line-height: 1;
    color: var(--secondary-foreground);
    background: var(--secondary);
    user-select: none;
  }
  .toc-toggle .caret {
    display: inline-block;
    width: 1rem;
    text-align: center;
  }
  #toc details[open] .toc-toggle {
    color: var(--accent-foreground);
    background: var(--accent);
  }
  .toc-current {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--foreground);
  }
  #toc ul {
    margin: -1px 0 0;
    border: 1px solid var(--border);
    padding: 0;
    list-style: none;
    max-height: calc(85vh - var(--docside-nav-height) - var(--docside-mobile-toc-height));
    overflow-y: auto;
    background: var(--popover);
    color: var(--popover-foreground);
    box-shadow: var(--shadow-md);
    overscroll-behavior: contain;
  }
  #toc details:not([open]) > ul {
    display: none;
  }
  #toc a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.5rem;
    padding-inline: calc(1rem + var(--depth) * 1rem) 1rem;
    border-top: 1px solid var(--muted);
    color: var(--foreground);
    font-size: var(--docside-text-sm);
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
    outline-offset: -3px;
  }
  #toc li:first-child a {
    border-top: 0;
  }
  #toc a:hover,
  #toc a[aria-current=true] {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  :root[data-compact-toc] #toc a[aria-current=true]::after {
    content: "✓";
    color: var(--primary);
  }
  @media (max-width: 71.999rem) {
    #toc a {
      min-height: 44px;
      align-items: center;
    }
    #toc a[aria-current=true]::after {
      content: "✓";
      color: var(--primary);
    }
  }
  @media (min-width: 72rem) {
    :root:not([data-compact-toc]) #toc {
      inset-inline: auto;
      top: 0;
      width: 100%;
      height: 100vh;
      border-top: 0;
      border-inline-start: 1px solid var(--border);
      padding: calc(var(--docside-nav-height) + 1rem) var(--docside-sidebar-pad-x) 1rem;
      background: var(--background);
      overflow-y: auto;
      scrollbar-width: none;
    }
    :root:not([data-compact-toc]) #toc > h2,
    :root:not([data-compact-toc]) #toc > details {
      width: min(var(--docside-sidebar-width) - 2 * var(--docside-sidebar-pad-x), (100vw - var(--docside-sidebar-width) - 2 * var(--docside-content-pad-x) - 2 * var(--docside-sidebar-pad-x)) * 0.25);
    }
    :root:not([data-compact-toc]) #toc h2 {
      display: block;
      color: var(--foreground);
      font-size: var(--docside-text-h5);
      line-height: var(--docside-line-height-headings);
      margin-bottom: 0.5rem;
    }
    :root:not([data-compact-toc]) #toc summary {
      display: none;
    }
    :root:not([data-compact-toc]) #toc ul {
      margin: 0;
      border: 0;
      max-height: none;
      overflow: visible;
      box-shadow: none;
    }
    :root:not([data-compact-toc]) #toc a {
      display: block;
      border: 0;
      border-radius: var(--radius-md);
      padding-block: 0.25rem;
      padding-inline: calc(0.5rem + var(--depth) * 1rem) 0.5rem;
      color: var(--muted-foreground);
      font-size: var(--docside-text-xs);
    }
    :root:not([data-compact-toc]) #toc a:hover {
      color: var(--foreground);
    }
    :root:not([data-compact-toc]) #toc a[aria-current=true] {
      color: var(--accent-foreground);
    }
  }
}
/*! Adapted from stock Starlight Markdown styles; MIT, Astro contributors. */
@layer docside {
  /* Each Markdown body starts a fresh scope. Components stop outer prose;
     their explicit Markdown sections opt back in without styling their chrome. */
  @scope (.sl-markdown-content) to (.not-content, .card, .alert, .btn, .badge, .sl-icon, .docside-tabs, .code-frame, figure.highlight, [role='tab']) {
    :is(ul, ol) {
      padding-inline-start: 1.5rem;
    }
    ul {
      list-style: disc;
    }
    ol {
      list-style: decimal;
    }
    :not(a, strong, em, del, span, input, code, br) + :not(a, strong, em, del, span, input, code, br) {
      margin-top: var(--docside-content-gap-y);
    }
    :not(h1, h2, h3, h4, h5, h6) + :is(h1, h2, h3, h4, h5, h6) {
      margin-top: 1.5em;
    }
    li + li, dt + dt, dt + dd, dd + dd {
      margin-top: 0.25rem;
    }
    li {
      overflow-wrap: anywhere;
    }
    :is(ol, ul):has(> li > :not(a, strong, em, del, span, input, code, br, script, ol, ul)) > li > :is(:last-child:not(a, strong, em, del, span, input, code, br, script),
    :not(script):has(~ script:last-child):not(:has(~ :not(script)))) {
      margin-bottom: 1.25rem;
    }
    dt {
      font-weight: 700;
    }
    dd {
      padding-inline-start: 1rem;
    }
    :is(h1, h2, h3, h4, h5, h6) {
      color: var(--foreground);
      line-height: var(--docside-line-height-headings);
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    :is(img, picture, video, canvas, svg, iframe) {
      display: block;
      max-width: 100%;
      height: auto;
    }
    h1 {
      font-size: var(--docside-text-h1);
    }
    h2 {
      font-size: var(--docside-text-h2);
    }
    h3 {
      font-size: var(--docside-text-h3);
    }
    h4 {
      font-size: var(--docside-text-h4);
    }
    h5 {
      font-size: var(--docside-text-h5);
    }
    h6 {
      font-size: var(--docside-text-h6);
    }
    a {
      color: var(--primary);
      text-decoration: underline;
      text-underline-offset: 0.15em;
    }
    a:hover {
      color: var(--foreground);
    }
    code {
      background-color: var(--muted);
      margin-block: -0.125rem;
      padding: 0.125rem 0.375rem;
      font-size: var(--docside-text-code-sm);
      direction: ltr;
      white-space: normal;
      overflow-wrap: anywhere;
    }
    :is(code, a[href]) {
      unicode-bidi: isolate;
    }
    :is(h1, h2, h3, h4, h5, h6) code {
      font-size: inherit;
    }
    pre {
      max-width: 100%;
      overflow-x: auto;
      border: 1px solid var(--border);
      padding: 0.75rem 1rem;
      font-size: var(--docside-text-code);
      tab-size: 2;
      direction: ltr;
      text-align: left;
      unicode-bidi: isolate;
    }
    pre code {
      all: unset;
      font-family: var(--font-mono);
    }
    blockquote {
      border-inline-start: 1px solid var(--border);
      padding-inline-start: 1rem;
    }
    table {
      display: block;
      max-width: 100%;
      overflow: auto;
      border-spacing: 0;
    }
    table code:not(pre *) {
      white-space: nowrap;
      overflow-wrap: normal;
    }
    :is(th, td) {
      border-bottom: 1px solid var(--border);
      padding: 0.5rem 1rem;
      vertical-align: baseline;
    }
    :is(th:first-child, td:first-child) {
      padding-inline-start: 0;
    }
    :is(th:last-child, td:last-child) {
      padding-inline-end: 0;
    }
    th {
      color: var(--foreground);
      font-weight: 600;
    }
    th:not([align]) {
      text-align: start;
    }
    @media (max-width: 49.999rem) {
      :is(th, td):nth-child(2):last-child {
        min-width: min(20rem, 100vw - 2 * var(--docside-content-pad-x));
      }
    }
  }
}
/*! Anchor geometry adapted from stock Starlight; MIT, Astro contributors. */
@layer docside {
  /* Nested Markdown opts back in, but component titles and controls do not. */
  @scope (.sl-markdown-content) to (.not-content, .card, .alert, .btn, .badge, .sl-icon, .docside-tabs, .code-frame, figure.highlight, [role='tab']) {
    .sl-heading-wrapper {
      --docside-anchor-icon-size: 0.8275em;
      --docside-anchor-icon-gap: 0.25em;
      --docside-anchor-icon-space: calc(var(--docside-anchor-icon-size) + var(--docside-anchor-icon-gap));
      line-height: var(--docside-line-height-headings);
    }
    .sl-heading-wrapper:has(> :first-child:is(.sr-only, [hidden])) {
      display: contents;
    }
    :not(h1, h2, h3, h4, h5, h6, .sl-heading-wrapper) + .sl-heading-wrapper {
      margin-top: 1.5em;
    }
    .level-h1 {
      font-size: var(--docside-text-h1);
    }
    .level-h2 {
      font-size: var(--docside-text-h2);
    }
    .level-h3 {
      font-size: var(--docside-text-h3);
    }
    .level-h4 {
      font-size: var(--docside-text-h4);
    }
    .level-h5 {
      font-size: var(--docside-text-h5);
    }
    .level-h6 {
      font-size: var(--docside-text-h6);
    }
    /* Reserve inline space so the anchor cannot wrap away from the final word. */
    .sl-heading-wrapper > :first-child:not([hidden]) {
      display: inline;
      padding-inline-end: var(--docside-anchor-icon-space);
    }
    .sl-anchor-link {
      position: relative;
      display: inline-flex;
      margin-inline-start: calc(-1 * var(--docside-anchor-icon-size));
      -webkit-user-select: none;
      user-select: none;
    }
    .sl-heading-wrapper:has(> :first-child:is(.sr-only, [hidden])) > .sl-anchor-link {
      display: none;
    }
    .sl-anchor-link::after {
      content: "";
      position: absolute;
      inset: -0.25rem -0.5rem;
    }
    .sl-anchor-link:focus-visible {
      outline: 2px solid var(--foreground);
      outline-offset: 2px;
    }
    .sl-anchor-icon > svg {
      display: inline;
      width: var(--docside-anchor-icon-size);
      vertical-align: top;
      transform: translateY(calc((var(--docside-line-height-headings) * 1em - var(--docside-anchor-icon-size)) / 2));
    }
    @media (hover: hover) {
      .sl-anchor-link {
        opacity: 0;
      }
      .sl-anchor-link:focus,
      .sl-heading-wrapper:hover .sl-anchor-link {
        opacity: 1;
      }
    }
  }
}
@layer docside {
  #article pre {
    max-width: 100%;
    overflow: auto;
    padding: 0.75rem 3rem 0.75rem calc(0.90625rem + 1px);
    border: 1px solid var(--docside-code-border);
    border-radius: var(--radius-lg);
    font: var(--docside-text-code)/var(--docside-line-height) var(--font-mono);
    color: var(--docside-code-text);
    background: var(--docside-code-bg);
    tab-size: 2;
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
  }
  #article pre code {
    all: unset;
    font: inherit;
    white-space: pre;
  }
  #article pre :is(.c, .ch, .cm, .c1, .cs, .cp, .cpf) {
    color: var(--docside-code-comment);
  }
  #article pre :is(.k, .kc, .kd, .kn, .kp, .kr, .kt, .o, .ow) {
    color: var(--docside-code-keyword);
  }
  #article pre :is(.s, .sa, .sb, .sc, .dl, .sd, .s2, .se, .sh, .si, .sx, .sr, .s1, .ss) {
    color: var(--docside-code-string);
  }
  #article pre :is(.m, .mb, .mf, .mh, .mi, .il, .mo) {
    color: var(--docside-code-number);
  }
  #article pre :is(.n, .na, .nb, .bp, .nc, .no, .nd, .ne, .nf, .fm, .nl, .nn, .nx) {
    color: var(--docside-code-name);
  }
  #article pre :is(.nt, .nv, .vc, .vg, .vi, .vm) {
    color: var(--docside-code-property);
  }
  #article pre:has(.code-line) {
    padding-inline: 0;
  }
  #article .code-line {
    display: block;
    box-sizing: border-box;
    width: max-content;
    min-width: 100%;
    padding-inline: calc(0.90625rem - 2px) 3rem;
    border-inline-start: 3px solid transparent;
  }
  #article code[data-line-number-width="1"] {
    --line-number-width: 1ch;
  }
  #article code[data-line-number-width="2"] {
    --line-number-width: 2ch;
  }
  #article code[data-line-number-width="3"] {
    --line-number-width: 3ch;
  }
  #article code[data-line-number-width="4"] {
    --line-number-width: 4ch;
  }
  #article code[data-line-number-width="5"] {
    --line-number-width: 5ch;
  }
  #article code[data-line-number-width="6"] {
    --line-number-width: 6ch;
  }
  #article .code-line[data-line-number]::before {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    display: inline-block;
    box-sizing: content-box;
    width: var(--line-number-width);
    margin-inline-end: 0.75rem;
    padding-inline-end: 0.75rem;
    border-inline-end: 1px solid var(--docside-code-border);
    color: var(--docside-code-muted);
    background-color: var(--docside-code-bg);
    font-variant-numeric: tabular-nums;
    text-align: end;
    user-select: none;
    content: attr(data-line-number)/"";
  }
  #article :is(.code-line, mark).is-marked {
    background-color: var(--docside-marker-neutral-bg);
  }
  #article :is(.code-line, mark).is-inserted {
    background-color: var(--docside-marker-insert-bg);
    background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--docside-marker-pattern) 6px 8px);
  }
  #article :is(.code-line, mark).is-deleted {
    background-color: var(--docside-marker-delete-bg);
    background-image: repeating-linear-gradient(45deg, transparent 0 6px, var(--docside-marker-pattern) 6px 8px);
  }
  #article .code-line.is-marked::before {
    background-color: var(--docside-marker-neutral-gutter);
  }
  #article .code-line.is-inserted::before {
    background-color: var(--docside-marker-insert-gutter);
    background-image: repeating-linear-gradient(135deg, transparent 0 6px, var(--docside-marker-pattern) 6px 8px);
  }
  #article .code-line.is-deleted::before {
    background-color: var(--docside-marker-delete-gutter);
    background-image: repeating-linear-gradient(45deg, transparent 0 6px, var(--docside-marker-pattern) 6px 8px);
  }
  #article .code-line.is-marked {
    border-inline-start-color: var(--docside-marker-neutral-edge);
  }
  #article .code-line.is-inserted {
    border-inline-start-color: var(--docside-marker-insert-edge);
  }
  #article .code-line.is-deleted {
    border-inline-start-color: var(--docside-marker-delete-edge);
  }
  #article mark:is(.is-marked, .is-inserted, .is-deleted) {
    padding: 0;
    border-radius: 0.125rem;
    color: inherit;
    box-shadow: inset 0 -1px currentcolor;
  }
  #article .code-frame {
    position: relative;
    direction: ltr;
    --copy-size: 1.5rem;
    --copy-offset: calc(0.75rem + 1px);
    margin-block: var(--docside-content-gap-y);
  }
  #article .code-frame > pre {
    margin: 0;
  }
  #article figure.highlight[data-code-frame] {
    position: relative;
    display: block;
    min-width: 0;
    margin: var(--docside-content-gap-y) 0;
    background: var(--background);
    border-radius: var(--radius-lg);
  }
  #article figure.highlight[data-code-frame] > pre {
    margin: 0;
  }
  #article figure.highlight[data-code-frame] > .code-title {
    min-width: 0;
    overflow: hidden;
    color: var(--docside-code-muted);
    font: 0.9rem/1.65 var(--font-sans);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #article figure.highlight[data-code-frame=editor]:has(> .code-title) {
    --copy-offset: 0.3125rem;
  }
  #article figure.highlight[data-code-frame=editor] > .code-title {
    width: fit-content;
    max-width: 100%;
    padding: calc(0.25rem + 1px) 1rem;
    background: var(--docside-code-bg);
    border: 1px solid var(--docside-code-border);
    border-block-start-color: var(--primary);
    border-block-end: 0;
  }
  #article figure.highlight.code-frame[data-code-frame=editor] > .code-title {
    max-width: calc(100% - var(--copy-size) - 1.5rem);
  }
  #article figure.highlight[data-code-frame] > .code-title + pre {
    border-start-start-radius: 0;
    border-start-end-radius: 0;
  }
  #article figure.highlight[data-code-frame=terminal] {
    --copy-offset: 0.25rem;
  }
  #article figure.highlight[data-code-frame=terminal]::before {
    display: block;
    height: 2.0475rem;
    content: "";
    background: var(--background);
    border: 1px solid var(--docside-code-border);
    border-block-end: 0;
  }
  #article figure.highlight[data-code-frame=terminal]::after {
    position: absolute;
    inset-block-start: 0.805rem;
    inset-inline-start: 1rem;
    width: 0.4375rem;
    height: 0.4375rem;
    color: var(--border);
    content: "";
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0.75rem 0 currentColor, 1.5rem 0 currentColor;
    opacity: 0.75;
  }
  #article figure.highlight[data-code-frame=terminal] > .code-title {
    position: absolute;
    inset: 0 0 auto;
    display: block;
    padding: 0.25rem 3.5rem 0.3125rem;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.025ch;
    text-align: center;
  }
  [data-color-scheme=light] #article figure.highlight[data-code-frame],
  [data-color-scheme=light] #article figure.highlight[data-code-frame=terminal]::before {
    background: var(--muted);
  }
  /* Vega owns the control; only placement and code-specific reach remain here. */
  #article .copy-button {
    position: absolute;
    inset-inline-end: calc(0.5rem + 1px);
    top: var(--copy-offset);
    width: var(--copy-size);
    height: var(--copy-size);
    margin: 0;
    flex: none;
    cursor: pointer;
  }
  @media (hover: hover) and (pointer: fine) {
    #article .copy-button {
      opacity: 0;
      pointer-events: none;
    }
    #article .code-frame:is(:hover, :focus-within) .copy-button {
      opacity: 1;
      pointer-events: auto;
    }
  }
  @media (pointer: coarse) {
    #article .copy-button::before {
      position: absolute;
      inset: -0.625rem;
      content: "";
    }
  }
  #article :is(pre, .copy-button):focus-visible {
    outline: 2px solid var(--docside-code-focus);
    outline-offset: 2px;
  }
  #article .copy-feedback {
    --feedback-bg: var(--docside-status-green-surface);
    position: absolute;
    inset-inline-end: calc(0.5rem + 1px);
    bottom: calc(100% + 0.375rem);
    max-width: calc(100% - 1rem);
    padding: 0.125rem 0.75rem;
    font: 0.9rem/1.65 var(--font-sans);
    color: var(--docside-status-green-text);
    background: var(--feedback-bg);
    border: 1px solid currentColor;
    border-radius: var(--radius-md);
    pointer-events: none;
    overflow-wrap: anywhere;
    user-select: none;
  }
  #article .copy-feedback::after {
    content: "";
    position: absolute;
    top: 100%;
    inset-inline-end: calc(var(--copy-size) / 2 - 0.35rem);
    border: 0.35rem solid transparent;
    border-block-start-color: var(--feedback-bg);
  }
  #article .copy-feedback[data-error] {
    --feedback-bg: var(--docside-status-red-surface);
    color: var(--docside-status-red-text);
  }
  #article .copy-feedback:empty {
    display: none;
  }
}
@layer docside {
  #mode-picker {
    flex: none;
  }
  #mode-picker label {
    position: relative;
    display: flex;
    align-items: center;
  }
  #color-mode {
    padding-inline-start: 2rem;
    width: 8.5em;
    max-width: 100%;
    text-overflow: ellipsis;
    cursor: pointer;
  }
  #mode-picker .mode-icon {
    position: absolute;
    inset-inline-start: 0.625rem;
    pointer-events: none;
    color: var(--muted-foreground);
  }
  #site-nav #mode-picker {
    margin-top: 0.75rem;
  }
  #site-nav #color-mode {
    min-height: 44px;
  }
}
@layer docside {
  #global-controls {
    display: contents;
  }
}
@layer docside {
  #version-picker {
    position: relative;
    flex: none;
  }
  #version-picker > summary {
    width: min(12rem, 100vw - 1rem);
    list-style: none;
  }
  #version-picker > summary::-webkit-details-marker {
    display: none;
  }
  .version-picker-control {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 1.25rem;
    align-items: center;
    gap: 0.25rem;
  }
  .version-current {
    overflow: hidden;
    font-size: var(--docside-text-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #version-picker .version-caret {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
  }
  #version-picker[open] .version-caret {
    transform: rotate(180deg);
  }
  #version-picker > ul {
    position: absolute;
    z-index: 20;
    inset-block-start: calc(100% + 0.25rem);
    inset-inline-end: 0;
    width: max-content;
    min-width: 12rem;
    max-width: min(22rem, 100vw - 1rem);
    padding: 0.375rem;
    margin: 0;
    list-style: none;
    background: var(--popover);
    color: var(--popover-foreground);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }
  #version-picker li {
    margin: 0;
  }
  #version-picker .version-option {
    display: block;
    padding: 0.5rem 0.75rem;
    overflow-wrap: anywhere;
    color: var(--popover-foreground);
    text-decoration: none;
    border-radius: var(--radius-sm);
  }
  #version-picker a.version-option:hover,
  #version-picker a.version-option:focus-visible {
    color: var(--accent-foreground);
    background: var(--accent);
  }
  #version-picker .version-option.current {
    color: var(--accent-foreground);
    background: var(--accent);
  }
  #site-nav #version-picker {
    margin-top: 0.5rem;
  }
  #site-nav #version-picker > summary {
    width: min(16rem, 100vw - 4rem);
    min-height: 3rem;
    height: auto;
  }
  #site-nav #version-picker > ul {
    position: static;
    margin-top: 0.25rem;
    max-width: 100%;
    min-width: 0;
  }
  @media (min-width: 50rem) {
    :root:not([data-compact-sidebar]) #version-picker > summary {
      font-size: var(--docside-text-sm);
    }
  }
}
/*! Language selector geometry adapted from stock Starlight 39d4e71; MIT, Astro contributors. */
@layer docside {
  #language-picker {
    position: relative;
    flex: none;
  }
  #language-picker > summary {
    width: calc(7em + 1rem);
    list-style: none;
  }
  #language-picker > summary::-webkit-details-marker {
    display: none;
  }
  .language-picker-control {
    display: grid;
    min-width: 0;
    grid-template-columns: 0.875rem minmax(0, 1fr) 1.25rem;
    align-items: center;
    gap: 0.25rem;
  }
  .language-current {
    overflow: hidden;
    font-size: var(--docside-text-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #language-picker .language-caret {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
  }
  #language-picker[open] .language-caret {
    transform: rotate(180deg);
  }
  #language-picker > ul {
    position: absolute;
    z-index: 20;
    inset-block-start: calc(100% + 0.25rem);
    inset-inline-end: 0;
    width: max-content;
    min-width: 12rem;
    max-width: min(22rem, 100vw - 1rem);
    padding: 0.375rem;
    margin: 0;
    list-style: none;
    background: var(--popover);
    color: var(--popover-foreground);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }
  #language-picker li {
    margin: 0;
  }
  #language-picker .language-option {
    display: block;
    padding: 0.5rem 0.75rem;
    overflow-wrap: anywhere;
    color: var(--popover-foreground);
    text-decoration: none;
    border-radius: var(--radius-sm);
  }
  #language-picker a.language-option:hover,
  #language-picker a.language-option:focus-visible {
    color: var(--accent-foreground);
    background: var(--accent);
  }
  #language-picker .language-option.current {
    color: var(--accent-foreground);
    background: var(--accent);
  }
  #site-nav #language-picker {
    margin-top: 0.5rem;
  }
  #site-nav #language-picker > summary {
    width: calc(7em + 1rem);
    min-height: 3rem;
    height: auto;
  }
  #site-nav #language-picker > ul {
    inset-inline-start: 0;
    inset-inline-end: auto;
    min-width: min(12rem, 100vw - 2 * var(--docside-sidebar-pad-x) - 1rem);
    max-width: min(22rem, 100vw - 2 * var(--docside-sidebar-pad-x) - 1rem);
    position: static;
    margin-top: 0.25rem;
  }
  @media (max-width: 49.999rem) {
    .site-header #language-picker {
      position: static;
    }
    .site-header #language-picker > summary {
      width: 3.5rem;
    }
    .site-header #language-picker > ul {
      inset-block-start: calc(100% + 0.25rem);
      inset-inline-end: var(--docside-nav-pad-x);
      min-width: min(12rem, 100% - 2 * var(--docside-nav-pad-x));
      max-width: min(22rem, 100% - 2 * var(--docside-nav-pad-x));
    }
    .site-header .language-picker-control {
      grid-template-columns: 0.875rem 1.25rem;
      justify-content: center;
    }
    .site-header .language-current {
      display: none;
    }
  }
  @media (min-width: 50rem) {
    :root:not([data-compact-sidebar]) #language-picker > summary {
      font-size: var(--docside-text-sm);
    }
  }
}
@layer docside {
  #site-search {
    min-width: 0;
    flex: 1 1 18rem;
    max-width: 22rem;
  }
  #search-toggle {
    position: relative;
    justify-content: flex-start;
    width: 100%;
    color: var(--muted-foreground);
  }
  #search-toggle::after {
    content: "";
    position: absolute;
    inset-block: min(0px, (2.25rem - 44px) / 2);
    inset-inline: 0;
  }
  #search-toggle > span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #search-toggle > kbd {
    display: flex;
    gap: 0.25em;
    margin-inline-start: auto;
  }
  #search-toggle kbd {
    border-radius: var(--radius-sm);
    padding-inline: 0.375rem;
    background: var(--muted);
    color: var(--muted-foreground);
    font-family: var(--font-sans);
    font-size: var(--docside-text-2xs);
  }
  #search-dialog > .search-dialog-frame {
    width: calc(100% - 2rem);
    max-width: 40rem;
    min-height: 15rem;
  }
  .search-dialog-frame > header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  #search-input {
    flex: 1 1 12rem;
    width: 0;
    unicode-bidi: plaintext;
  }
  #search-close {
    flex: none;
  }
  .search-dialog-frame > section {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #search-status {
    color: var(--muted-foreground);
    overflow-wrap: anywhere;
  }
  #search-status p {
    margin: 0;
  }
  #search-status button {
    margin-top: 0.75rem;
  }
  #search-results ol {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
  }
  #search-results li + li {
    margin-top: 0.5rem;
  }
  #search-results a {
    display: block;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    color: var(--popover-foreground);
    text-decoration: none;
    overflow-wrap: anywhere;
  }
  #search-results a:hover,
  #search-results a:focus-visible {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  .search-title {
    font-weight: 600;
  }
  #search-results p {
    margin: 0.375rem 0 0;
    color: var(--muted-foreground);
  }
  body[data-search-modal-open] {
    overflow: hidden;
  }
  @media (max-width: 49.999rem) {
    #site-search {
      flex: 0 0 auto;
    }
    #search-toggle {
      width: 2.5rem;
      padding-inline: 0;
      justify-content: center;
    }
    #search-toggle > span,
    #search-toggle > kbd {
      display: none;
    }
  }
  :root[data-compact-sidebar] #site-search {
    flex: 0 0 auto;
  }
  :root[data-compact-sidebar] #search-toggle {
    width: 2.5rem;
    padding-inline: 0;
    justify-content: center;
  }
  :root[data-compact-sidebar] #search-toggle > span,
  :root[data-compact-sidebar] #search-toggle > kbd {
    display: none;
  }
  @media (max-width: 49.999rem) {
    #search-dialog > .search-dialog-frame {
      padding: 1rem;
      gap: 1rem;
    }
  }
  @media (any-pointer: coarse) {
    #search-close, #search-status button {
      min-height: 44px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    #search-dialog, #search-dialog::backdrop, #search-dialog > * {
      transition: none;
    }
  }
}
/*! Hero geometry adapted from stock Starlight 39d4e71; MIT, Astro contributors. */
@layer docside {
  .splash-frame {
    min-height: 100vh;
    padding-top: var(--docside-nav-height);
  }
  .splash-pane .content-container {
    max-width: var(--docside-content-width);
    margin-inline: auto;
  }
  .splash-pane .content-container:has(> .hero) {
    max-width: 80rem;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
  }
  .hero-image {
    object-fit: contain;
    width: min(70%, 20rem);
    height: auto;
    margin-inline: auto;
  }
  .hero-image[src$="/paper-dragon-docs.webp"] {
    width: min(100%, 30rem);
  }
  .hero-image-light {
    display: none;
  }
  [data-color-scheme=light] .hero-image-dark {
    display: none;
  }
  [data-color-scheme=light] .hero-image-light {
    display: block;
  }
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .hero-image[data-hero-depth].is-depth-ready {
      transform: perspective(1000px) rotateX(var(--docside-hero-depth-x, -2deg)) rotateY(var(--docside-hero-depth-y, -4deg)) scale(0.97);
      transform-origin: 50% 50%;
      filter: drop-shadow(0.6rem 1rem 1.25rem var(--docside-hero-depth-shadow-color));
      transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
    }
    .hero-image[data-hero-depth].is-depth-tracking {
      transition-duration: 120ms;
      will-change: transform;
    }
    .hero-image[data-hero-depth].is-depth-entering {
      animation: hero-depth-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
      will-change: transform, filter;
    }
    @keyframes hero-depth-enter {
      from {
        transform: perspective(1000px) translateY(0.6rem) rotateX(3deg) rotateY(-7deg) scale(0.94);
        filter: drop-shadow(0.2rem 0.3rem 0.4rem var(--docside-hero-depth-shadow-color-enter));
      }
      to {
        transform: perspective(1000px) rotateX(var(--docside-hero-depth-x, -2deg)) rotateY(var(--docside-hero-depth-y, -4deg)) scale(0.97);
        filter: drop-shadow(0.6rem 1rem 1.25rem var(--docside-hero-depth-shadow-color));
      }
    }
  }
  .hero-stack,
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-stack {
    gap: clamp(1.5rem, 1.5rem + 1vw, 2rem);
    text-align: center;
  }
  .hero-copy {
    gap: 1rem;
  }
  .hero-copy > * {
    max-width: 50ch;
  }
  .hero h1 {
    margin: 0;
    font-size: clamp(var(--docside-text-3xl), 0.25rem + 5vw, var(--docside-text-6xl));
  }
  .hero-tagline {
    font-size: clamp(var(--docside-text-base), 0.0625rem + 2vw, var(--docside-text-xl));
    color: var(--muted-foreground);
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    min-height: 44px;
  }
  .hero:not(:has(> .hero-image)) {
    grid-template-columns: minmax(0, 1fr);
  }
  @media (min-width: 50rem) {
    .hero {
      grid-template-columns: minmax(0, 34rem) minmax(0, 25rem);
      justify-content: center;
      gap: 4rem;
      padding-block: clamp(2.5rem, 1rem + 10vmin, 10rem);
    }
    .hero-image {
      order: 2;
      width: min(100%, 25rem);
      margin-inline: 0;
    }
    .hero:has(> .hero-image[src$="/paper-dragon-docs.webp"]) {
      grid-template-columns: minmax(0, 34rem) minmax(0, 34rem);
      gap: 2rem;
    }
    .hero-image[src$="/paper-dragon-docs.webp"] {
      width: 100%;
    }
    .hero-stack {
      text-align: start;
    }
    .hero-stack,
    .hero-copy {
      align-items: flex-start;
    }
    .hero-actions {
      justify-content: flex-start;
    }
  }
}
/*! Content component geometry adapted from stock Starlight 39d4e71; MIT, Astro contributors. */
@layer docside {
  .sl-icon {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    color: inherit;
    vertical-align: -0.125em;
  }
  html[dir=rtl] .sl-icon:is([data-icon=left-arrow], [data-icon=left-caret], [data-icon=right-arrow], [data-icon=right-caret]) {
    transform: scaleX(-1);
  }
  .sl-icon.small {
    font-size: 0.875rem;
  }
  .sl-icon.medium {
    font-size: 1rem;
  }
  .sl-icon.large {
    font-size: 1.5rem;
  }
  .sl-icon.color-accent {
    color: var(--primary);
  }
  .sl-icon.color-blue {
    color: var(--docside-status-blue-text);
  }
  .sl-icon.color-green {
    color: var(--docside-status-green-text);
  }
  .sl-icon.color-orange {
    color: var(--docside-status-orange-text);
  }
  .sl-icon.color-purple {
    color: var(--docside-status-purple-text);
  }
  .sl-icon.color-red {
    color: var(--docside-status-red-text);
  }
  .sl-icon.color-gray {
    color: var(--muted-foreground);
  }
  .icon-contract-fixtures {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }
  .icon-contract-fixtures :is(a, button) {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
  }
  .icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 1rem;
  }
  .icon-sample {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    padding: 0.75rem;
    overflow-wrap: anywhere;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }
  .icon-geometry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem;
  }
  .icon-geometry-sample {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  /* Vega owns geometry; documentation statuses add only semantic color pairs. */
  .badge[data-status=note],
  .alert[data-status=note] {
    color: var(--docside-status-blue-text);
    background-color: var(--docside-status-blue-surface);
    border-color: var(--docside-status-blue);
  }
  .badge[data-status=tip],
  .alert[data-status=tip] {
    color: var(--docside-status-purple-text);
    background-color: var(--docside-status-purple-surface);
    border-color: var(--docside-status-purple);
  }
  .badge[data-status=caution],
  .alert[data-status=caution] {
    color: var(--docside-status-orange-text);
    background-color: var(--docside-status-orange-surface);
    border-color: var(--docside-status-orange);
  }
  .badge[data-status=danger],
  .alert[data-status=danger] {
    color: var(--docside-status-red-text);
    background-color: var(--docside-status-red-surface);
    border-color: var(--docside-status-red);
  }
  .badge[data-status=success],
  .alert[data-status=success] {
    color: var(--docside-status-green-text);
    background-color: var(--docside-status-green-surface);
    border-color: var(--docside-status-green);
  }
  .badge {
    max-width: 100%;
    height: auto;
    min-height: 1.25rem;
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: middle;
  }
  .badge > span {
    min-width: 0;
  }
  .badge[data-size=small] {
    font-size: 0.6875rem;
    padding-inline: 0.375rem;
  }
  .badge[data-size=large] {
    font-size: 0.875rem;
    padding-inline: 0.625rem;
  }
  #site-nav .badge {
    flex-shrink: 1;
  }
  #site-nav a > *:not(:last-child) {
    margin-inline-end: 0.25em;
  }
  .sl-markdown-content :is(h1, h2, h3, h4, h5, h6) .badge {
    vertical-align: middle;
  }
  .sl-markdown-content :is(h1, h2, h3, h4, h5, h6):has(+ p > .badge:only-child) {
    display: inline-block;
  }
  .sl-markdown-content :is(h1, h2, h3, h4, h5, h6) + p:has(> .badge:only-child) {
    display: inline;
    margin: 0;
    margin-inline-start: 0.25em;
    vertical-align: middle;
  }
  .sl-markdown-content .sl-heading-wrapper:has(> .badge) > :first-child {
    padding-inline-end: 0.25em;
  }
  .sl-markdown-content .sl-heading-wrapper > .badge {
    margin-inline-end: var(--docside-anchor-icon-space);
    vertical-align: middle;
  }
  .sl-steps {
    --bullet-size: calc(var(--docside-line-height) * 1rem);
    --bullet-margin: 0.375rem;
    padding-inline-start: 0;
    list-style: none;
    counter-reset: steps-counter var(--docside-steps-start, 0);
  }
  .sl-steps > li {
    position: relative;
    min-height: calc(var(--bullet-size) + var(--bullet-margin));
    padding-bottom: 1px;
    padding-inline-start: calc(var(--bullet-size) + 1rem);
    counter-increment: steps-counter;
  }
  .sl-steps > li + li {
    margin-top: 0;
  }
  .sl-steps > li::before {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: var(--bullet-size);
    height: var(--bullet-size);
    color: var(--foreground);
    font-size: var(--docside-text-xs);
    font-weight: 600;
    line-height: var(--bullet-size);
    text-align: center;
    content: counter(steps-counter);
    background-color: var(--muted);
    border-radius: 99rem;
    box-shadow: inset 0 0 0 1px var(--border);
  }
  .sl-steps > li::after {
    --guide-width: 1px;
    position: absolute;
    inset-inline-start: calc((var(--bullet-size) - var(--guide-width)) / 2);
    top: calc(var(--bullet-size) + var(--bullet-margin));
    bottom: var(--bullet-margin);
    width: var(--guide-width);
    content: "";
    background-color: var(--border);
  }
  .sl-steps > li > :first-child {
    --lh: calc(1em * var(--docside-line-height));
    --shift-y: calc(0.5 * (var(--bullet-size) - var(--lh)));
    margin-bottom: var(--shift-y);
    transform: translateY(var(--shift-y));
  }
  .sl-steps > li > :first-child:where(h1, h2, h3, h4, h5, h6) {
    --lh: calc(1em * var(--docside-line-height-headings));
  }
  @supports (--prop: 1lh) {
    .sl-steps > li > :first-child {
      --lh: 1lh;
    }
  }
  .file-tree {
    --x-space: 1.5rem;
    --y-space: 0.125rem;
    --y-pad: 0;
    display: block;
    padding: 1rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: var(--docside-text-xs);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    contain: paint;
  }
  .file-tree .directory > details {
    padding: 0;
    padding-inline-start: var(--x-space);
    background: transparent;
    border: 0;
  }
  .file-tree .directory > details > summary {
    display: list-item;
    max-width: 100%;
    padding: var(--y-pad) 0.625rem;
    margin-inline-start: calc(-1 * var(--x-space));
    color: var(--foreground);
    font-weight: normal;
    border: 0;
  }
  .file-tree .directory > details > summary::marker,
  .file-tree .directory > details > summary::-webkit-details-marker {
    color: var(--muted-foreground);
  }
  .file-tree .directory > details > summary:hover,
  .file-tree .directory > details > summary:hover .tree-icon {
    color: var(--primary);
    cursor: pointer;
    fill: currentColor;
  }
  .file-tree .directory > details > summary:hover ~ ul {
    border-color: var(--border);
  }
  .file-tree .directory > details > summary:hover .highlight .tree-icon {
    color: var(--primary-foreground);
    fill: currentColor;
  }
  .file-tree ul {
    padding: 0;
    padding-inline-start: 0.125rem;
    margin-inline-start: 0.5rem;
    list-style: none;
    border-inline-start: 1px solid var(--border);
  }
  .file-tree > ul {
    padding: 0;
    margin: 0;
    border: 0;
  }
  .file-tree li {
    padding: var(--y-pad) 0;
    margin: var(--y-space) 0;
  }
  .file-tree .file {
    margin-inline-start: calc(var(--x-space) - 0.125rem);
    color: var(--foreground);
  }
  .file-tree .tree-entry {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: calc(100% - 1rem);
  }
  .file-tree .tree-entry > :first-child {
    flex-shrink: 0;
  }
  .file-tree .omission {
    padding-inline-start: 0.375rem;
    color: var(--muted-foreground);
    font-style: italic;
  }
  .file-tree .comment {
    min-width: 12rem;
    max-width: 24rem;
    padding-inline-start: 1.625rem;
    color: var(--muted-foreground);
  }
  .file-tree .comment {
    overflow-wrap: anywhere;
  }
  .file-tree .highlight {
    display: inline-block;
    padding-inline-end: 0.5rem;
    color: var(--primary-foreground);
    font-weight: 600;
    background-color: var(--primary);
    border-radius: 0.25rem;
  }
  .file-tree svg {
    display: inline;
    width: 0.875rem;
    height: 0.875rem;
    margin-inline: 0.25rem 0.375rem;
    vertical-align: middle;
    fill: var(--muted-foreground);
  }
  .file-tree .highlight svg.tree-icon {
    fill: currentColor;
  }
  .file-tree .entry-name {
    direction: ltr;
    unicode-bidi: isolate;
  }
  .card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .sl-markdown-content .card-grid,
  .sl-markdown-content .card-grid > * {
    margin-top: 0;
  }
  .card {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .docside-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
  }
  .card > section,
  .alert > section {
    min-width: 0;
  }
  .docside-link-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding-inline: 1.5rem;
    text-decoration: none;
  }
  .docside-link-card-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.5rem;
  }
  .docside-link-card-title {
    font-size: 1rem;
    font-weight: 500;
  }
  .docside-link-card-description,
  .docside-link-card > svg {
    color: var(--muted-foreground);
  }
  .docside-link-card:hover {
    background: var(--accent);
    color: var(--accent-foreground);
  }
  .docside-link-card:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 3px;
  }
  .docside-tabs {
    min-width: 0;
    margin-block: var(--docside-content-gap-y);
  }
  .docside-tabs > .tab-item + .tab-item {
    margin-top: 1.5rem;
  }
  .tab-item-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-size: var(--docside-text-lg);
  }
  /* Vega owns the tab treatment; only long-label overflow is local. */
  .docside-tabs > [role=tablist] {
    max-width: 100%;
    overflow-x: auto;
    justify-content: start;
  }
  .docside-tabs > [role=tablist] > [role=tab] {
    flex: 0 0 auto;
  }
  .tab-panel > :first-child {
    margin-top: 0;
  }
  /* Long authored action labels must wrap without changing Vega's controls. */
  .docside-action {
    max-width: 100%;
    height: auto;
    min-height: 2.25rem;
    padding-block: 0.5rem;
    white-space: normal;
    text-align: start;
    overflow-wrap: anywhere;
  }
  .docside-action > span {
    min-width: 0;
  }
  .sl-markdown-content > .docside-action {
    margin-block: 0.5rem;
    margin-inline-end: 0.5rem;
  }
  .alert {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .sl-markdown-content > :is(.alert, .card, .card-grid, .file-tree) {
    margin-block: var(--docside-content-gap-y);
  }
  .alert > [data-title] {
    min-width: 0;
  }
  .alert:has(> svg) {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .alert > section {
    color: var(--foreground);
    text-wrap: pretty;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }
  .alert:has(> svg) > section {
    grid-column: 2;
  }
  .alert > section > :first-child,
  .card > section > :first-child {
    margin-top: 0;
  }
  .alert > section > :last-child,
  .card > section > :last-child {
    margin-bottom: 0;
  }
  @media (min-width: 50rem) {
    .card-grid {
      align-items: start;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.5rem;
    }
    .card-grid.stagger {
      --stagger-height: 5rem;
      padding-bottom: var(--stagger-height);
    }
    .card-grid.stagger > :nth-child(2n) {
      transform: translateY(var(--stagger-height));
    }
  }
}
/*! Print presentation guided by stock Starlight 39d4e71; MIT, Astro contributors. */
.print-canonical {
  display: none;
}

@media print {
  html {
    scroll-padding: 0;
  }
  body {
    color: var(--foreground);
    background: var(--background);
    font-size: 11pt;
  }
  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .skip-link,
  #site-search,
  #mode-picker,
  #language-picker,
  #version-picker,
  #global-controls,
  #menu-toggle,
  #site-nav,
  #toc-slot,
  .copy-button,
  .copy-feedback,
  .docside-tabs > [role=tablist],
  .sl-anchor-link {
    display: none !important;
  }
  .site-header {
    position: static;
    display: block;
    height: auto;
    padding: 0 0 4mm;
    margin-bottom: 6mm;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
  }
  .site-title {
    color: var(--foreground);
    font-size: 14pt;
  }
  .page-frame,
  .splash-frame {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .main-pane,
  [data-has-toc] .main-pane,
  .splash-pane {
    width: auto;
    max-width: none;
    padding: 0;
  }
  .content-panel,
  .content-panel:last-child {
    padding: 0;
    border: 0;
  }
  .content-panel + .content-panel {
    margin-top: 5mm;
  }
  .content-container,
  [data-has-toc] .content-container {
    max-width: none;
    margin: 0;
  }
  h1,
  .sl-markdown-content :is(h1, h2, h3, h4, h5, h6) {
    color: var(--foreground);
    break-after: avoid;
  }
  .sl-heading-wrapper {
    break-after: avoid;
  }
  .sl-markdown-content :is(p, li) {
    orphans: 3;
    widows: 3;
  }
  .print-canonical {
    display: block;
    margin: 8mm 0 0;
    padding-top: 3mm;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    direction: ltr;
    font-family: var(--font-mono);
    font-size: 9pt;
    overflow-wrap: anywhere;
    unicode-bidi: isolate;
  }
  #article a[href^="http://"]::after,
  #article a[href^="https://"]::after {
    content: " (" attr(href) ")";
    color: var(--muted-foreground);
    direction: ltr;
    font-size: 0.85em;
    overflow-wrap: anywhere;
    unicode-bidi: isolate;
  }
  #article code {
    padding: 0;
    margin: 0;
    background: transparent;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #article pre,
  #article pre * {
    color: var(--docside-code-print-text) !important;
  }
  #article pre {
    max-width: 100%;
    overflow: visible;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    break-inside: auto;
  }
  #article pre code {
    white-space: inherit;
    overflow-wrap: inherit;
    word-break: inherit;
  }
  #article :is(.code-frame, figure.highlight) {
    overflow: visible;
    break-inside: auto;
    background: transparent;
  }
  #article .code-line {
    width: auto;
    min-width: 0;
    padding-inline-end: 0;
  }
  .sl-markdown-content table:not(:where(.not-content *)) {
    display: table;
    width: 100%;
    table-layout: fixed;
    overflow: visible;
    break-inside: auto;
  }
  .sl-markdown-content thead:not(:where(.not-content *)) {
    display: table-header-group;
  }
  .sl-markdown-content :is(th, td):not(:where(.not-content *)) {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .sl-markdown-content tr:not(:where(.not-content *)) {
    break-inside: avoid;
  }
  .sl-markdown-content :is(img, picture, video, canvas, svg):not(:where(.not-content *)) {
    max-width: 100%;
    height: auto;
    break-inside: avoid;
  }
  #article details:not([open]) > :not(summary) {
    display: block !important;
  }
  #article details::details-content {
    content-visibility: visible !important;
    block-size: auto;
    opacity: 1;
    transition: none;
  }
  @layer docside {
    .docside-tabs {
      display: block;
    }
  }
  /* Basecoat's base-layer hidden rule is important; override in that layer. */
  @layer base {
    .docside-tabs .tab-item-label[hidden],
    .docside-tabs .tab-panel[hidden] {
      display: block !important;
    }
  }
  #article summary {
    display: block;
    list-style: none;
    pointer-events: none;
  }
  #article summary::marker,
  #article summary::-webkit-details-marker {
    display: none;
  }
  .docside-tabs > .tab-item + .tab-item,
  .docside-tabs > .tab-panel + .tab-item-label {
    margin-top: 5mm;
  }
  .file-tree,
  .alert,
  .card,
  .badge,
  .docside-action[data-variant=primary] {
    color: var(--foreground);
    background: transparent;
  }
  .file-tree {
    overflow: visible;
    contain: none;
    overflow-wrap: anywhere;
    break-inside: auto;
  }
  .card-grid,
  .card-grid.stagger {
    display: block;
    padding-bottom: 0;
  }
  .card-grid.stagger > :nth-child(2n) {
    transform: none;
  }
  .card-grid > .card + .card {
    margin-top: 5mm;
    break-inside: auto;
  }
  .badge {
    border-color: var(--muted-foreground);
  }
}
/*! Shell geometry adapted from stock Starlight 39d4e71; MIT, Astro contributors.
 * See assets/starlight-LICENSE. Consumers use the compiled assets/docside.css. */
@layer properties, theme, base, components, utilities, docside;
@layer docside {
  [hidden] {
    display: none !important;
  }
  :root {
    --docside-content-inline-start: 0rem;
  }
  html {
    scrollbar-gutter: stable;
    scroll-padding-top: calc(1.5rem + var(--docside-nav-height) + var(--docside-mobile-toc-height));
    accent-color: var(--primary);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  html:not([data-has-toc]) {
    --docside-mobile-toc-height: 0rem;
  }
  body {
    line-height: var(--docside-line-height);
  }
  :is(p, h1, h2, h3, h4, h5, h6, code) {
    overflow-wrap: break-word;
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }
  :focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .skip-link {
    position: fixed;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    clip: rect(0, 0, 0, 0);
  }
  .skip-link:focus {
    clip: unset;
    z-index: 20;
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--primary-foreground);
    background: var(--primary);
    box-shadow: var(--shadow-lg);
  }
  .site-header {
    position: fixed;
    z-index: 10;
    inset: 0 0 auto;
    height: var(--docside-nav-height);
    padding: var(--docside-nav-pad-y) var(--docside-nav-pad-x);
    padding-inline-end: calc(var(--docside-nav-pad-x) + var(--menu-space, 0rem));
    border-bottom: 1px solid var(--border);
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .site-title {
    min-width: 0;
    font-family: var(--font-sans);
    font-size: var(--docside-text-h4);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
  }
  .page-frame {
    padding-top: calc(var(--docside-nav-height) + var(--docside-mobile-toc-height));
    padding-inline-start: var(--docside-content-inline-start);
    min-height: 100vh;
  }
  .main-pane {
    min-width: 0;
    padding: var(--docside-main-pad);
  }
  .content-panel {
    padding: 1.5rem var(--docside-content-pad-x);
  }
  .content-panel + .content-panel {
    border-top: 1px solid var(--border);
  }
  .content-panel:last-child {
    padding-bottom: 7.5rem;
  }
  .content-container {
    max-width: var(--docside-content-width);
  }
  :is(#page-title, .hero h1, #toc h2) {
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  #page-title {
    margin-top: 1rem;
    font-size: var(--docside-text-h1);
    line-height: var(--docside-line-height-headings);
    color: var(--foreground);
  }
  #toc-slot:empty {
    display: none;
  }
  @media (min-width: 50rem) {
    :root:not([data-compact-sidebar]) {
      --docside-content-inline-start: var(--docside-sidebar-width);
    }
  }
  @media (min-width: 72rem) {
    :root:not([data-compact-toc]) .page-frame {
      display: flex;
    }
    :root:not([data-compact-toc]) .main-pane {
      width: 100%;
    }
    :root[data-has-toc]:not([data-compact-toc]) .main-pane {
      width: min(100% - var(--docside-sidebar-width), var(--docside-content-width) + (100% - var(--docside-content-width) - var(--docside-sidebar-width)) / 2);
    }
    :root:not([data-compact-toc]) .content-container {
      margin-inline: auto;
    }
    :root[data-has-toc]:not([data-compact-toc]) .content-container {
      margin-inline: auto 0;
    }
    :root:not([data-compact-toc]) #toc-slot {
      order: 2;
      flex: 1;
      min-width: var(--docside-sidebar-width);
    }
  }
}
