@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local('Inter Regular'),
    url("fonts/Inter-Regular.f052ee44.woff2") format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: local('Inter Medium'),
    url("fonts/Inter-Medium.a625fde4.woff2") format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: local('Inter Bold'),
    url("fonts/Inter-Bold.36863650.woff2") format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  src: local('JetBrains Mono Regular'),
    url("fonts/JetBrainsMono-Regular.a9cb1cd8.woff2") format('woff2');
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header, main, footer {
  width: 100%;
  max-width: 720px;
  padding: 0 1rem;
  box-sizing: border-box;
}

header {
  position: relative;
  z-index: 2;
}

main, footer {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

a, a:link, a:visited, a:active {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #818cf8;
}

.removed-link {
  color: #9ca3af;
}

.link-not-tracked {
  background-color: #fef3c7;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

.backlink {
  margin-bottom: 0.75em;
}

.backlink-context-container {
  background-color: #f3f4f6;
  padding: 0.5em 0.75em;
  border-radius: 6px;
  margin-left: 1em;
  margin-top: 0.5em;
  border-left: 3px solid #e5e7eb;
}

.backlink-context {
  font-style: normal;
  color: #6b7280;
  font-size: 0.9em;
}

.backlink-context a {
  color: #6366f1;
}

.backlink-see-in-context {
  font-size: 0.8em;
}

.block-id {
  font-size: 0.7em;
  vertical-align: super;
  color: #9ca3af;
}

.highlight-do-not-link {
  background-color: #fef3c7;
  color: #6366f1;
  padding: 0 0.25em;
  border-radius: 3px;
}

code.fenced-code, code.language-python {
  display: block;
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  background-color: #f3f4f6;
  padding: 1em 1.25em;
  border-radius: 8px;
  font-size: 0.875em;
  line-height: 1.5;
  overflow-x: auto;
}

code.inline-code {
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  background-color: #f3f4f6;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}

.uninteresting-leaf-page {
  color: #9ca3af;
  font-weight: 500;
}

blockquote {
  font-style: normal;
  background-color: #f9fafb;
  padding: 1em 1.25em;
  border-radius: 8px;
  border-left: 4px solid #6366f1;
  margin: 1em 0;
  color: #4b5563;
}

.transcluded {
  background-color: #f9fafb;
  border-left: 3px solid #e5e7eb;
  padding: 0.75em 1em;
  margin: 1em 0;
  border-radius: 6px;
}

.transcluded-content {
  margin-top: 0.5em;
}

.transcluded-see-in-context {
  float: right;
  font-size: 0.85em;
  color: #6366f1;
  text-decoration: none;
}

.transcluded-see-in-context:hover {
  color: #818cf8;
  text-decoration: underline;
}

.frontmatter {
  margin-bottom: 1.5em;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75em;
  font-size: 0.9em;
}

.frontmatter tr:nth-child(even) {
  background-color: #f9fafb;
}

.frontmatter tr:nth-child(odd) {
  background-color: #ffffff;
}

.frontmatter td:first-child {
  font-weight: 500;
  color: #6b7280;
  padding-right: 1.5em;
}

.frontmatter td:last-child {
  color: #374151;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
  font-size: 0.9em;
}

th, td {
  border: 1px solid #e5e7eb;
  padding: 0.75em 1em;
  text-align: left;
}

th[align="center"], td[align="center"] { text-align: center; }
th[align="right"], td[align="right"] { text-align: right; }
th[align="left"], td[align="left"] { text-align: left; }

th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #374151;
}

/* Header actions */
.bundle-header-row {
  --meadow-header-action-size: 2.5rem;
  --meadow-header-action-border-color: #d1d5db;
  --meadow-header-action-border-radius: 6px;
  --meadow-header-action-background: #ffffff;
  --meadow-header-action-color: #4b5563;
  --meadow-header-action-hover-border-color: #9ca3af;
  --meadow-header-action-hover-background: #f9fafb;
  --meadow-header-action-hover-color: #111827;
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
  margin-bottom: 1em;
}

.bundle-header-row .breadcrumbs {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.sources-export-download,
.sources-export-download:link,
.sources-export-download:visited,
.sources-export-download:active {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35em;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.5rem;
  padding: 0.5em 0.75em;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1;
  color: #4b5563;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sources-export-download:hover {
  color: #111827;
  border-color: #9ca3af;
  background: #f9fafb;
}

.download-artifact-menu {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  flex: 0 0 auto;
}

.download-artifact-menu > summary.sources-export-download {
  display: inline-flex;
  width: max-content;
  box-sizing: border-box;
  align-self: flex-end;
  list-style: none;
}

.download-artifact-menu > summary.sources-export-download::-webkit-details-marker {
  display: none;
}

.download-artifact-menu > summary.sources-export-download::after {
  content: "▾";
  color: #9ca3af;
  display: inline-block;
  font-size: 0.85em;
  line-height: 1;
}

.download-artifact-menu[open] > summary.sources-export-download {
  color: #111827;
  border-color: #9ca3af;
  background: #f9fafb;
}

.download-artifact-menu[open] {
  z-index: 30;
}

.download-artifact-menu:not([open]) .download-artifact-menu-panel {
  display: none;
}

.download-artifact-menu-panel {
  width: 100%;
  height: 0;
  overflow: visible;
  position: relative;
  z-index: 30;
}

.download-artifact-menu-items {
  position: absolute;
  top: 0.35em;
  right: 0;
  z-index: 30;
  width: max-content;
  min-width: 10em;
  padding: 0.25em 0;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.download-artifact-menu-item,
.download-artifact-menu-item:link,
.download-artifact-menu-item:visited,
.download-artifact-menu-item:active {
  display: block;
  padding: 0.55em 0.75em;
  color: #4b5563;
  font-size: 0.85em;
  text-decoration: none;
  white-space: nowrap;
}

.download-artifact-menu-item:hover {
  color: #111827;
  background: #f9fafb;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85em;
  color: #6b7280;
  margin-bottom: 1em;
  padding: 0.5em 0.75em;
  background-color: #f9fafb;
  border-radius: 6px;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
}

.breadcrumb-link {
  color: #6366f1;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: #818cf8;
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5em;
  color: #d1d5db;
}

.breadcrumb-current {
  color: #6b7280;
}

@media (max-width: 520px) {
  .bundle-header-row {
    flex-direction: column;
    gap: 0.5em;
  }

  .sources-export-download,
  .download-artifact-menu {
    align-self: flex-start;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  header, main, footer {
    padding: 0 0.75rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
}

/* highlight.js github theme */
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}
