/* blog.adrq.dev: Hashnode-style layout on the brand palette (accent #ff5722, Tailwind slate).
   Relative url() references are rewritten to hashed /assets/ names at build time.
   Pygments colours (theme/theme.yaml) are appended at build time, scoped like the variables.
   tests/test_contrast.py reads the colour variables below and checks them against WCAG AA. */

@font-face {
  font-family: "Geist";
  src: url("/assets/Geist-Variable.3626eba547.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist-Italic-Variable.01115bfdb1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/GeistMono-Variable.5d93ee6268.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #111827;
  --heading: #0f172a;
  --muted: #475569;
  --link: #cc3100;
  --accent: #ff5722;
  --rule: #e2e8f0;
  --code-border: #e2e8f0;
  --code-inline-bg: #f1f5f9;
  --code-inline-fg: #1e293b;
  --band: #f8fafc;
  --card-border: #e2e8f0;
  --img-border: #e2e8f0;
  --code-bg: #f8fafc;
  --card-bg: #ffffff;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --column: 680px;
  --container: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --radius: 12px;
}
[data-theme="dark"] {
  --bg: #0f172a;
  --fg: #e2e8f0;
  --heading: #f8fafc;
  --muted: #94a3b8;
  --link: #ff5722;
  --rule: #1e293b;
  --code-border: #334155;
  --code-inline-bg: #1e293b;
  --code-inline-fg: #e2e8f0;
  --band: #172033;
  --card-border: #334155;
  --img-border: #334155;
  --code-bg: #1e293b;
  --card-bg: #0f172a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f172a;
    --fg: #e2e8f0;
    --heading: #f8fafc;
    --muted: #94a3b8;
    --link: #ff5722;
    --rule: #1e293b;
    --code-border: #334155;
    --code-inline-bg: #1e293b;
    --code-inline-fg: #e2e8f0;
    --band: #172033;
    --card-border: #334155;
    --img-border: #334155;
    --code-bg: #1e293b;
    --card-bg: #0f172a;
  }
}

/* Theme toggle shows the icon of the current setting. */
.theme-toggle .icon { display: none; }
html:not([data-theme]) .icon-auto, [data-theme="light"] .icon-light, [data-theme="dark"] .icon-dark { display: block; }

html:not(.js) .theme-toggle { display: none; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Footer sits at the bottom of short pages (archive, 404). */
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; width: 100%; }
/* Links: body-colour text with a 2px accent underline (≥3:1 against the page, tested);
   the text turns accent on hover/focus. Components that aren't running text opt out below. */
a {
  color: var(--fg); text-decoration-line: underline; text-decoration-color: var(--link);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
a:hover, a:focus-visible { color: var(--link); }
.img-link, .featured-cover, .row-thumb { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgb(255 87 34 / 0.25); }
img { max-width: 100%; height: auto; }
time, .meta { font-variant-numeric: tabular-nums; }

.container {
  max-width: calc(var(--container) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none; min-width: 0; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The live wordmark's orange host; --link is the accent darkened to AA on light backgrounds. */
.brand-host { color: var(--link); }
.theme-toggle {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  color: var(--muted); background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.theme-toggle:hover { color: var(--fg); background: var(--code-inline-bg); }
/* A quiet "Subscribe" text link before the toggle, like the footer links (jumps to the form). */
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.header-subscribe { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--muted);
  text-decoration: none; padding: 8px 4px; }
.header-subscribe:hover, .header-subscribe:focus-visible { color: var(--link); }

/* Shared bits */
.meta { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--muted); margin: 0; }
.meta a { color: inherit; }
.meta a:hover { color: var(--link); }
.excerpt { color: var(--muted); font-size: 16px; line-height: 26px; margin: 0 0 10px; }
h1, h2, h3, h4 { color: var(--heading); }

/* Home */
.home-intro { margin: 64px 0 48px; }
.home-mark { display: block; width: 64px; height: 64px; margin: 0 0 20px; }
.home-intro h1 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.home-intro p { color: var(--muted); margin: 0; }
.home-identity { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.post-count { font-family: var(--font-mono); font-size: 13px; line-height: 20px; color: var(--muted); }

.featured {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding-bottom: 56px; border-bottom: 1px solid var(--rule);
}
.featured:not(:has(.featured-cover)) { grid-template-columns: minmax(0, 1fr); }
.featured-cover img, .row-thumb img { display: block; width: 100%; border-radius: var(--radius); }
/* Covers share the dark page colour; a hairline keeps their edge visible. */
.featured-cover img, .row-thumb img, .post-cover img, .more-thumb { border: 1px solid var(--img-border); }
.featured-title { font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; }
.featured-body .excerpt { font-size: 18px; line-height: 28px; margin-bottom: 16px; }
.featured-title a, .row-title a { color: var(--heading); text-decoration: none; }
.featured-title a:hover, .row-title a:hover { color: var(--link); }

.post-rows { list-style: none; margin: 0; padding: 0; }
.post-row {
  display: grid; grid-template-columns: 136px minmax(0, 1fr) 208px; gap: 40px;
  padding: 40px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.row-date { font-family: var(--font-mono); font-size: 13px; line-height: 30px; color: var(--muted); }
.row-title { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.row-thumb { grid-column: 3; }
.row-thumb img { border-radius: 8px; }
.home-more { font-family: var(--font-mono); font-size: 14px; margin: 40px 0 0; }

/* Post */
.post-header { max-width: var(--column); margin: 72px auto 40px; }
.post-title { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 20px; }
.post-byline { display: flex; align-items: center; gap: 10px;
  font-size: 16px; line-height: 24px; font-weight: 500; margin: 0 0 4px; }
.avatar { border-radius: 50%; }
.post-byline .author { color: var(--heading); }
.byline-icon { display: inline-grid; place-items: center; color: var(--muted); text-decoration: none; }
.byline-icon svg { width: 16px; height: 16px; }
.byline-icon:hover, .byline-icon:focus-visible { color: var(--link); }
.post-cover { max-width: var(--container); margin: 0 auto 56px; }
.post-cover img { display: block; width: 100%; border-radius: var(--radius); }

.prose { max-width: var(--column); margin: 0 auto; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table { margin: 0 0 28px; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--muted); }
.prose h2 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; margin: 56px 0 16px; }
.prose h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 40px 0 12px; }
.prose h4 { font-size: 18px; line-height: 28px; font-weight: 600; margin: 32px 0 8px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 0 0 0 20px; color: var(--muted); }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 40px 0; }
.prose figure img, .prose p > .img-link:only-child img { display: block; }
.prose small { font-size: 14px; line-height: 20px; color: var(--muted); }
.prose p:has(> small:only-child) { margin-top: 40px; }   /* a trailing note, e.g. "Discussion on Hacker News" */
.prose figcaption { font-size: 14px; line-height: 20px; color: var(--muted); text-align: center; margin-top: 12px; }
.prose .wide {
  width: min(var(--container), 100vw - 2 * var(--pad));
  max-width: none; position: relative; left: 50%; transform: translateX(-50%);
}
.prose .wide img { width: 100%; }

/* Tables scroll inside the column instead of widening the page. */
.prose table { display: block; max-width: 100%; width: max-content; overflow-x: auto;
  border-collapse: collapse; font-size: 16px; line-height: 24px; }
/* Opt-in wide table: <div class="wide table-scroll"><table>…</table></div> in a post. Fills the wide
   breakout on desktop; on narrow screens the div scrolls sideways instead of squashing the columns. */
.prose .table-scroll { overflow-x: auto; margin: 0 0 28px; }
.prose .table-scroll table { display: table; width: 100%; min-width: 640px; max-width: none;
  table-layout: fixed; overflow: visible; margin: 0; font-size: 15px; line-height: 22px; }
.prose .table-scroll tr:first-child > th:first-child { width: 20%; }
.prose .table-scroll th, .prose .table-scroll td { padding: 12px 22px; }
/* The row-label column hugs the left edge: the top-left header cell and each body row's label (a th followed by tds). */
.prose .table-scroll tr:first-child > th:first-child, .prose .table-scroll tr > th:first-child:has(+ td) { padding-left: 0; }
/* Faint lines between the data columns only (cells 3-4 of body rows; cells 2-3 of the Stall/Steady/Accelerate row). */
.prose .table-scroll td:nth-child(n+3),
.prose .table-scroll tr:nth-child(2) > th:nth-child(n+2) { border-left: 1px solid var(--rule); }
/* The italic takeaway after <br> in each cell: its own line, a little space, slightly heavier. */
.prose .table-scroll td i { display: block; margin-top: 8px; font-weight: 500; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 16px 10px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--heading); border-bottom-color: var(--code-border); }

/* Code */
code, pre { font-family: var(--font-mono); }
:not(pre) > code {
  font-size: 0.85em; background: var(--code-inline-bg); color: var(--code-inline-fg);
  padding: 0.15em 0.4em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; /* pill survives a line wrap */
}
.code-block { position: relative; margin: 0 0 28px; }
pre.highlight {
  background: var(--code-bg);
  margin: 0 0 28px; padding: 20px 24px; overflow-x: auto; border: 1px solid var(--code-border);
  border-radius: var(--radius); font-size: 14px; line-height: 24px; tab-size: 4;
}
.code-block pre.highlight { margin: 0; }
.copy-code {
  position: absolute; top: 10px; right: 10px; font: 500 12px/16px var(--font-mono);
  color: var(--muted); background: var(--bg); border: 1px solid var(--code-border);
  border-radius: 6px; padding: 4px 8px; cursor: pointer; opacity: 0; transition: opacity 0.15s;
}
.code-block:hover .copy-code, .copy-code:focus-visible { opacity: 1; }
@media (hover: none) { .copy-code { opacity: 1; } }

/* Footnotes */
.footnotes-sep { border: 0; border-top: 1px solid var(--rule); margin: 56px 0 24px; }
.footnotes { font-size: 15px; line-height: 24px; color: var(--muted); }
.footnotes ol { padding-left: 1.25em; }
.footnote-ref { line-height: 0; }
.footnote-ref a { color: var(--link); text-decoration: none; font-size: 0.75em; font-weight: 500; padding: 0 0.1em; }

/* End of post: related posts + blog card on a full-width tinted band.
   The box-shadow + clip-path bleed paints edge to edge without widening the page. */
.post-end {
  margin-top: 96px; padding: 64px 0 72px; background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax);
}
main:has(.post-end) + .site-footer { margin-top: 0; }
.more, .blog-card { max-width: var(--container); margin: 0 auto; }
.more-heading { font-size: 24px; line-height: 32px; font-weight: 600; margin: 0 0 24px; }
.more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.more-card {
  display: flex; gap: 20px; align-items: flex-start; padding: 24px; color: var(--fg);
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  text-decoration: none; transition: border-color 0.15s;
}
.more-card:hover { border-color: var(--muted); }
.more-card:hover .more-title { color: var(--link); }
.more-text { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.more-title, .more-excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.more-title { -webkit-line-clamp: 2; line-clamp: 2; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--heading); }
.more-excerpt { -webkit-line-clamp: 3; line-clamp: 3; font-size: 15px; line-height: 24px; color: var(--muted); }
.more-thumb { flex: none; width: 128px; height: auto; border-radius: 8px; }

.blog-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin-top: 32px; padding: 24px; background: var(--card-bg);
  border: 1px solid var(--card-border); border-radius: var(--radius);
}
.blog-card-brand { display: flex; align-items: center; gap: 16px; color: var(--heading); text-decoration: none; }
.blog-card-mark { width: 48px; height: 48px; flex: none; }
.blog-card-name { display: block; font-size: 18px; line-height: 24px; font-weight: 600; }
.blog-card-count { display: block; }
.blog-card-brand:hover .blog-card-name { color: var(--link); }
.identity-links { display: flex; gap: 10px; }
.icon-link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--muted); border: 1px solid var(--card-border); text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.icon-link:hover { color: var(--link); border-color: currentColor; }

/* Subscribe form (templates/subscribe.html, assets/subscribe.js). Plain under the home intro;
   a card at the top of the end-of-post band. The button reuses the heading/page pair (tested). */
.subscribe { margin-top: 28px; }
.subscribe-card {
  max-width: var(--container); margin: 0 auto 48px; padding: 24px; background: var(--card-bg);
  border: 1px solid var(--card-border); border-radius: var(--radius);
}
.subscribe-heading { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0 0 12px; }
.subscribe-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 560px; }
.subscribe-email {
  flex: 1 1 220px; min-width: 0; height: 44px; padding: 0 14px; font: 16px/1 var(--font-sans);
  color: var(--fg); background: var(--bg); border: 1px solid var(--card-border); border-radius: 8px;
}
.subscribe-email::placeholder { color: var(--muted); opacity: 1; }
.subscribe-email:focus { border-color: var(--muted); }
.subscribe-button {
  flex: none; height: 44px; padding: 0 18px; font: 600 15px/1 var(--font-sans); color: var(--bg);
  background: var(--heading); border: 0; border-radius: 8px; cursor: pointer; transition: background 0.15s;
}
.subscribe-button:hover { background: var(--link); }
.subscribe-button:disabled { cursor: progress; opacity: 0.7; }
.subscribe-rss { font-family: var(--font-mono); font-size: 13px; color: var(--muted); text-decoration: none; }
.subscribe-rss:hover { color: var(--link); }
.subscribe-widget:not(:empty) { margin-top: 12px; }
.home-intro .subscribe-status, .subscribe-status { margin: 10px 0 0; font-size: 15px; line-height: 22px; color: var(--fg); }
.home-intro .subscribe-status:empty, .subscribe-status:empty { margin: 0; }
/* The field and button appear only once subscribe.js has installed its handlers and marked the form
   .subscribe-ready; until then (no JS, a blocked or failed script) the RSS note shows instead. */
.subscribe-hp { display: none; }
.subscribe-nojs { margin: 10px 0 0; font-size: 15px; line-height: 22px; color: var(--muted); }
.subscribe-form:not(.subscribe-ready) .subscribe-email,
.subscribe-form:not(.subscribe-ready) .subscribe-button,
.subscribe-ready .subscribe-nojs { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Archive, 404 */
.page { max-width: var(--column); margin: 64px auto 0; }
.page h1 { font-size: 36px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 32px; }
.archive-year h2 { font-size: 24px; line-height: 32px; font-weight: 600; margin: 40px 0 8px; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.archive-list time { flex: none; width: 64px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.archive-list a { color: var(--heading); text-decoration: none; }
.archive-list a:hover { color: var(--link); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); margin-top: 112px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 88px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.footer-nav { display: flex; align-items: center; gap: 12px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--link); }

/* Lightbox */
dialog.lightbox { padding: 0; border: 0; max-width: 95vw; max-height: 95vh; background: transparent; }
dialog.lightbox::backdrop { background: rgb(15 23 42 / 0.9); }
dialog.lightbox img { display: block; max-width: 95vw; max-height: 95vh; cursor: zoom-out; border-radius: 8px; }
.lightbox-close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center;
  font: 400 28px/1 var(--font-sans); color: #ffffff; background: rgb(15 23 42 / 0.75);
  border: 1px solid rgb(255 255 255 / 0.4); border-radius: 50%; cursor: pointer;
}
.lightbox-close:hover { background: rgb(15 23 42 / 0.95); }

/* Mobile */
@media (max-width: 760px) {
  .brand-sub { white-space: normal; }
  /* Room for the header's "Subscribe" link: "Engineering Notes" stays on one line down to ~360 px. */
  .header-inner { gap: 10px; }
  .header-actions { gap: 0; }
  .header-subscribe { font-size: 12px; padding: 8px 4px; }
  .home-intro { margin: 40px 0 32px; }
  .home-mark { width: 52px; height: 52px; margin-bottom: 16px; }
  .home-intro h1, .page h1 { font-size: 30px; line-height: 38px; }
  .featured { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 40px; }
  .featured-title { font-size: 24px; line-height: 32px; }
  .post-row {
    grid-template-columns: minmax(0, 1fr) 96px; gap: 4px 16px; padding: 28px 0;
    grid-template-areas: "date thumb" "body thumb";
  }
  .row-date { grid-area: date; line-height: 20px; }
  .row-body { grid-area: body; }
  .row-thumb { grid-area: thumb; grid-column: auto; }
  .row-title { font-size: 20px; line-height: 28px; }
  .post-header { margin: 40px auto 28px; }
  .post-title { font-size: 30px; line-height: 38px; }
  .post-cover { margin-bottom: 36px; }
  .post-cover img { border-radius: 8px; }
  .prose h2 { font-size: 22px; line-height: 30px; margin-top: 44px; }
  pre.highlight { padding: 16px; border-radius: 8px; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 24px 0; }
  .post-end { margin-top: 64px; padding: 44px 0 48px; }
  .more-heading { font-size: 22px; line-height: 30px; margin-bottom: 20px; }
  .more-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .more-card:nth-child(n+4) { display: none; } /* 3 cards on mobile; same HTML */
  .more-card { padding: 20px; gap: 16px; }
  .more-thumb { display: none; } /* one column: titles get the full width */
  .blog-card { padding: 20px; }
  .subscribe-card { padding: 20px; margin-bottom: 36px; }
}

/* Pygments: generated at build time from theme/theme.yaml */
[data-theme="light"] .highlight .hll { background-color: #f8fafc }
[data-theme="light"] .highlight .c { color: #475569; font-style: italic } /* Comment */
[data-theme="light"] .highlight .err { color: #B91C1C } /* Error */
[data-theme="light"] .highlight .esc { color: #1E293B } /* Escape */
[data-theme="light"] .highlight .g { color: #1E293B } /* Generic */
[data-theme="light"] .highlight .k { color: #C2410C } /* Keyword */
[data-theme="light"] .highlight .l { color: #1E293B } /* Literal */
[data-theme="light"] .highlight .n { color: #1E293B } /* Name */
[data-theme="light"] .highlight .o { color: #334155 } /* Operator */
[data-theme="light"] .highlight .x { color: #1E293B } /* Other */
[data-theme="light"] .highlight .p { color: #334155 } /* Punctuation */
[data-theme="light"] .highlight .ch { color: #475569; font-style: italic } /* Comment.Hashbang */
[data-theme="light"] .highlight .cm { color: #475569; font-style: italic } /* Comment.Multiline */
[data-theme="light"] .highlight .cp { color: #475569 } /* Comment.Preproc */
[data-theme="light"] .highlight .cpf { color: #475569; font-style: italic } /* Comment.PreprocFile */
[data-theme="light"] .highlight .c1 { color: #475569; font-style: italic } /* Comment.Single */
[data-theme="light"] .highlight .cs { color: #475569; font-style: italic } /* Comment.Special */
[data-theme="light"] .highlight .gd { color: #B91C1C } /* Generic.Deleted */
[data-theme="light"] .highlight .ge { color: #1E293B; font-style: italic } /* Generic.Emph */
[data-theme="light"] .highlight .ges { color: #1E293B } /* Generic.EmphStrong */
[data-theme="light"] .highlight .gr { color: #1E293B } /* Generic.Error */
[data-theme="light"] .highlight .gh { color: #1E293B; font-weight: bold } /* Generic.Heading */
[data-theme="light"] .highlight .gi { color: #047857 } /* Generic.Inserted */
[data-theme="light"] .highlight .go { color: #1E293B } /* Generic.Output */
[data-theme="light"] .highlight .gp { color: #1E293B } /* Generic.Prompt */
[data-theme="light"] .highlight .gs { color: #1E293B; font-weight: bold } /* Generic.Strong */
[data-theme="light"] .highlight .gu { color: #1E293B } /* Generic.Subheading */
[data-theme="light"] .highlight .gt { color: #1E293B } /* Generic.Traceback */
[data-theme="light"] .highlight .kc { color: #C2410C } /* Keyword.Constant */
[data-theme="light"] .highlight .kd { color: #C2410C } /* Keyword.Declaration */
[data-theme="light"] .highlight .kn { color: #C2410C } /* Keyword.Namespace */
[data-theme="light"] .highlight .kp { color: #C2410C } /* Keyword.Pseudo */
[data-theme="light"] .highlight .kr { color: #C2410C } /* Keyword.Reserved */
[data-theme="light"] .highlight .kt { color: #A16207 } /* Keyword.Type */
[data-theme="light"] .highlight .ld { color: #1E293B } /* Literal.Date */
[data-theme="light"] .highlight .m { color: #7C3AED } /* Literal.Number */
[data-theme="light"] .highlight .s { color: #047857 } /* Literal.String */
[data-theme="light"] .highlight .na { color: #A16207 } /* Name.Attribute */
[data-theme="light"] .highlight .nb { color: #0E7490 } /* Name.Builtin */
[data-theme="light"] .highlight .nc { color: #1D4ED8 } /* Name.Class */
[data-theme="light"] .highlight .no { color: #1E293B } /* Name.Constant */
[data-theme="light"] .highlight .nd { color: #0E7490 } /* Name.Decorator */
[data-theme="light"] .highlight .ni { color: #1E293B } /* Name.Entity */
[data-theme="light"] .highlight .ne { color: #1E293B } /* Name.Exception */
[data-theme="light"] .highlight .nf { color: #1D4ED8 } /* Name.Function */
[data-theme="light"] .highlight .nl { color: #1E293B } /* Name.Label */
[data-theme="light"] .highlight .nn { color: #1E293B } /* Name.Namespace */
[data-theme="light"] .highlight .nx { color: #1E293B } /* Name.Other */
[data-theme="light"] .highlight .py { color: #1E293B } /* Name.Property */
[data-theme="light"] .highlight .nt { color: #C2410C } /* Name.Tag */
[data-theme="light"] .highlight .nv { color: #9D174D } /* Name.Variable */
[data-theme="light"] .highlight .ow { color: #C2410C } /* Operator.Word */
[data-theme="light"] .highlight .pm { color: #334155 } /* Punctuation.Marker */
[data-theme="light"] .highlight .w { color: #1E293B } /* Text.Whitespace */
[data-theme="light"] .highlight .mb { color: #7C3AED } /* Literal.Number.Bin */
[data-theme="light"] .highlight .mf { color: #7C3AED } /* Literal.Number.Float */
[data-theme="light"] .highlight .mh { color: #7C3AED } /* Literal.Number.Hex */
[data-theme="light"] .highlight .mi { color: #7C3AED } /* Literal.Number.Integer */
[data-theme="light"] .highlight .mo { color: #7C3AED } /* Literal.Number.Oct */
[data-theme="light"] .highlight .sa { color: #047857 } /* Literal.String.Affix */
[data-theme="light"] .highlight .sb { color: #047857 } /* Literal.String.Backtick */
[data-theme="light"] .highlight .sc { color: #047857 } /* Literal.String.Char */
[data-theme="light"] .highlight .dl { color: #047857 } /* Literal.String.Delimiter */
[data-theme="light"] .highlight .sd { color: #047857 } /* Literal.String.Doc */
[data-theme="light"] .highlight .s2 { color: #047857 } /* Literal.String.Double */
[data-theme="light"] .highlight .se { color: #047857 } /* Literal.String.Escape */
[data-theme="light"] .highlight .sh { color: #047857 } /* Literal.String.Heredoc */
[data-theme="light"] .highlight .si { color: #7C3AED } /* Literal.String.Interpol */
[data-theme="light"] .highlight .sx { color: #047857 } /* Literal.String.Other */
[data-theme="light"] .highlight .sr { color: #047857 } /* Literal.String.Regex */
[data-theme="light"] .highlight .s1 { color: #047857 } /* Literal.String.Single */
[data-theme="light"] .highlight .ss { color: #047857 } /* Literal.String.Symbol */
[data-theme="light"] .highlight .bp { color: #0E7490 } /* Name.Builtin.Pseudo */
[data-theme="light"] .highlight .fm { color: #1D4ED8 } /* Name.Function.Magic */
[data-theme="light"] .highlight .vc { color: #9D174D } /* Name.Variable.Class */
[data-theme="light"] .highlight .vg { color: #9D174D } /* Name.Variable.Global */
[data-theme="light"] .highlight .vi { color: #9D174D } /* Name.Variable.Instance */
[data-theme="light"] .highlight .vm { color: #9D174D } /* Name.Variable.Magic */
[data-theme="light"] .highlight .il { color: #7C3AED } /* Literal.Number.Integer.Long */
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) .highlight .hll { background-color: #f8fafc }
:root:not([data-theme="dark"]) .highlight .c { color: #475569; font-style: italic } /* Comment */
:root:not([data-theme="dark"]) .highlight .err { color: #B91C1C } /* Error */
:root:not([data-theme="dark"]) .highlight .esc { color: #1E293B } /* Escape */
:root:not([data-theme="dark"]) .highlight .g { color: #1E293B } /* Generic */
:root:not([data-theme="dark"]) .highlight .k { color: #C2410C } /* Keyword */
:root:not([data-theme="dark"]) .highlight .l { color: #1E293B } /* Literal */
:root:not([data-theme="dark"]) .highlight .n { color: #1E293B } /* Name */
:root:not([data-theme="dark"]) .highlight .o { color: #334155 } /* Operator */
:root:not([data-theme="dark"]) .highlight .x { color: #1E293B } /* Other */
:root:not([data-theme="dark"]) .highlight .p { color: #334155 } /* Punctuation */
:root:not([data-theme="dark"]) .highlight .ch { color: #475569; font-style: italic } /* Comment.Hashbang */
:root:not([data-theme="dark"]) .highlight .cm { color: #475569; font-style: italic } /* Comment.Multiline */
:root:not([data-theme="dark"]) .highlight .cp { color: #475569 } /* Comment.Preproc */
:root:not([data-theme="dark"]) .highlight .cpf { color: #475569; font-style: italic } /* Comment.PreprocFile */
:root:not([data-theme="dark"]) .highlight .c1 { color: #475569; font-style: italic } /* Comment.Single */
:root:not([data-theme="dark"]) .highlight .cs { color: #475569; font-style: italic } /* Comment.Special */
:root:not([data-theme="dark"]) .highlight .gd { color: #B91C1C } /* Generic.Deleted */
:root:not([data-theme="dark"]) .highlight .ge { color: #1E293B; font-style: italic } /* Generic.Emph */
:root:not([data-theme="dark"]) .highlight .ges { color: #1E293B } /* Generic.EmphStrong */
:root:not([data-theme="dark"]) .highlight .gr { color: #1E293B } /* Generic.Error */
:root:not([data-theme="dark"]) .highlight .gh { color: #1E293B; font-weight: bold } /* Generic.Heading */
:root:not([data-theme="dark"]) .highlight .gi { color: #047857 } /* Generic.Inserted */
:root:not([data-theme="dark"]) .highlight .go { color: #1E293B } /* Generic.Output */
:root:not([data-theme="dark"]) .highlight .gp { color: #1E293B } /* Generic.Prompt */
:root:not([data-theme="dark"]) .highlight .gs { color: #1E293B; font-weight: bold } /* Generic.Strong */
:root:not([data-theme="dark"]) .highlight .gu { color: #1E293B } /* Generic.Subheading */
:root:not([data-theme="dark"]) .highlight .gt { color: #1E293B } /* Generic.Traceback */
:root:not([data-theme="dark"]) .highlight .kc { color: #C2410C } /* Keyword.Constant */
:root:not([data-theme="dark"]) .highlight .kd { color: #C2410C } /* Keyword.Declaration */
:root:not([data-theme="dark"]) .highlight .kn { color: #C2410C } /* Keyword.Namespace */
:root:not([data-theme="dark"]) .highlight .kp { color: #C2410C } /* Keyword.Pseudo */
:root:not([data-theme="dark"]) .highlight .kr { color: #C2410C } /* Keyword.Reserved */
:root:not([data-theme="dark"]) .highlight .kt { color: #A16207 } /* Keyword.Type */
:root:not([data-theme="dark"]) .highlight .ld { color: #1E293B } /* Literal.Date */
:root:not([data-theme="dark"]) .highlight .m { color: #7C3AED } /* Literal.Number */
:root:not([data-theme="dark"]) .highlight .s { color: #047857 } /* Literal.String */
:root:not([data-theme="dark"]) .highlight .na { color: #A16207 } /* Name.Attribute */
:root:not([data-theme="dark"]) .highlight .nb { color: #0E7490 } /* Name.Builtin */
:root:not([data-theme="dark"]) .highlight .nc { color: #1D4ED8 } /* Name.Class */
:root:not([data-theme="dark"]) .highlight .no { color: #1E293B } /* Name.Constant */
:root:not([data-theme="dark"]) .highlight .nd { color: #0E7490 } /* Name.Decorator */
:root:not([data-theme="dark"]) .highlight .ni { color: #1E293B } /* Name.Entity */
:root:not([data-theme="dark"]) .highlight .ne { color: #1E293B } /* Name.Exception */
:root:not([data-theme="dark"]) .highlight .nf { color: #1D4ED8 } /* Name.Function */
:root:not([data-theme="dark"]) .highlight .nl { color: #1E293B } /* Name.Label */
:root:not([data-theme="dark"]) .highlight .nn { color: #1E293B } /* Name.Namespace */
:root:not([data-theme="dark"]) .highlight .nx { color: #1E293B } /* Name.Other */
:root:not([data-theme="dark"]) .highlight .py { color: #1E293B } /* Name.Property */
:root:not([data-theme="dark"]) .highlight .nt { color: #C2410C } /* Name.Tag */
:root:not([data-theme="dark"]) .highlight .nv { color: #9D174D } /* Name.Variable */
:root:not([data-theme="dark"]) .highlight .ow { color: #C2410C } /* Operator.Word */
:root:not([data-theme="dark"]) .highlight .pm { color: #334155 } /* Punctuation.Marker */
:root:not([data-theme="dark"]) .highlight .w { color: #1E293B } /* Text.Whitespace */
:root:not([data-theme="dark"]) .highlight .mb { color: #7C3AED } /* Literal.Number.Bin */
:root:not([data-theme="dark"]) .highlight .mf { color: #7C3AED } /* Literal.Number.Float */
:root:not([data-theme="dark"]) .highlight .mh { color: #7C3AED } /* Literal.Number.Hex */
:root:not([data-theme="dark"]) .highlight .mi { color: #7C3AED } /* Literal.Number.Integer */
:root:not([data-theme="dark"]) .highlight .mo { color: #7C3AED } /* Literal.Number.Oct */
:root:not([data-theme="dark"]) .highlight .sa { color: #047857 } /* Literal.String.Affix */
:root:not([data-theme="dark"]) .highlight .sb { color: #047857 } /* Literal.String.Backtick */
:root:not([data-theme="dark"]) .highlight .sc { color: #047857 } /* Literal.String.Char */
:root:not([data-theme="dark"]) .highlight .dl { color: #047857 } /* Literal.String.Delimiter */
:root:not([data-theme="dark"]) .highlight .sd { color: #047857 } /* Literal.String.Doc */
:root:not([data-theme="dark"]) .highlight .s2 { color: #047857 } /* Literal.String.Double */
:root:not([data-theme="dark"]) .highlight .se { color: #047857 } /* Literal.String.Escape */
:root:not([data-theme="dark"]) .highlight .sh { color: #047857 } /* Literal.String.Heredoc */
:root:not([data-theme="dark"]) .highlight .si { color: #7C3AED } /* Literal.String.Interpol */
:root:not([data-theme="dark"]) .highlight .sx { color: #047857 } /* Literal.String.Other */
:root:not([data-theme="dark"]) .highlight .sr { color: #047857 } /* Literal.String.Regex */
:root:not([data-theme="dark"]) .highlight .s1 { color: #047857 } /* Literal.String.Single */
:root:not([data-theme="dark"]) .highlight .ss { color: #047857 } /* Literal.String.Symbol */
:root:not([data-theme="dark"]) .highlight .bp { color: #0E7490 } /* Name.Builtin.Pseudo */
:root:not([data-theme="dark"]) .highlight .fm { color: #1D4ED8 } /* Name.Function.Magic */
:root:not([data-theme="dark"]) .highlight .vc { color: #9D174D } /* Name.Variable.Class */
:root:not([data-theme="dark"]) .highlight .vg { color: #9D174D } /* Name.Variable.Global */
:root:not([data-theme="dark"]) .highlight .vi { color: #9D174D } /* Name.Variable.Instance */
:root:not([data-theme="dark"]) .highlight .vm { color: #9D174D } /* Name.Variable.Magic */
:root:not([data-theme="dark"]) .highlight .il { color: #7C3AED } /* Literal.Number.Integer.Long */
}
[data-theme="dark"] .highlight .hll { background-color: #1e293b }
[data-theme="dark"] .highlight .c { color: #94A3B8; font-style: italic } /* Comment */
[data-theme="dark"] .highlight .err { color: #FCA5A5 } /* Error */
[data-theme="dark"] .highlight .esc { color: #E2E8F0 } /* Escape */
[data-theme="dark"] .highlight .g { color: #E2E8F0 } /* Generic */
[data-theme="dark"] .highlight .k { color: #FF8A65 } /* Keyword */
[data-theme="dark"] .highlight .l { color: #E2E8F0 } /* Literal */
[data-theme="dark"] .highlight .n { color: #E2E8F0 } /* Name */
[data-theme="dark"] .highlight .o { color: #CBD5E1 } /* Operator */
[data-theme="dark"] .highlight .x { color: #E2E8F0 } /* Other */
[data-theme="dark"] .highlight .p { color: #CBD5E1 } /* Punctuation */
[data-theme="dark"] .highlight .ch { color: #94A3B8; font-style: italic } /* Comment.Hashbang */
[data-theme="dark"] .highlight .cm { color: #94A3B8; font-style: italic } /* Comment.Multiline */
[data-theme="dark"] .highlight .cp { color: #94A3B8 } /* Comment.Preproc */
[data-theme="dark"] .highlight .cpf { color: #94A3B8; font-style: italic } /* Comment.PreprocFile */
[data-theme="dark"] .highlight .c1 { color: #94A3B8; font-style: italic } /* Comment.Single */
[data-theme="dark"] .highlight .cs { color: #94A3B8; font-style: italic } /* Comment.Special */
[data-theme="dark"] .highlight .gd { color: #FCA5A5 } /* Generic.Deleted */
[data-theme="dark"] .highlight .ge { color: #E2E8F0; font-style: italic } /* Generic.Emph */
[data-theme="dark"] .highlight .ges { color: #E2E8F0 } /* Generic.EmphStrong */
[data-theme="dark"] .highlight .gr { color: #E2E8F0 } /* Generic.Error */
[data-theme="dark"] .highlight .gh { color: #E2E8F0; font-weight: bold } /* Generic.Heading */
[data-theme="dark"] .highlight .gi { color: #6EE7B7 } /* Generic.Inserted */
[data-theme="dark"] .highlight .go { color: #E2E8F0 } /* Generic.Output */
[data-theme="dark"] .highlight .gp { color: #E2E8F0 } /* Generic.Prompt */
[data-theme="dark"] .highlight .gs { color: #E2E8F0; font-weight: bold } /* Generic.Strong */
[data-theme="dark"] .highlight .gu { color: #E2E8F0 } /* Generic.Subheading */
[data-theme="dark"] .highlight .gt { color: #E2E8F0 } /* Generic.Traceback */
[data-theme="dark"] .highlight .kc { color: #FF8A65 } /* Keyword.Constant */
[data-theme="dark"] .highlight .kd { color: #FF8A65 } /* Keyword.Declaration */
[data-theme="dark"] .highlight .kn { color: #FF8A65 } /* Keyword.Namespace */
[data-theme="dark"] .highlight .kp { color: #FF8A65 } /* Keyword.Pseudo */
[data-theme="dark"] .highlight .kr { color: #FF8A65 } /* Keyword.Reserved */
[data-theme="dark"] .highlight .kt { color: #FCD34D } /* Keyword.Type */
[data-theme="dark"] .highlight .ld { color: #E2E8F0 } /* Literal.Date */
[data-theme="dark"] .highlight .m { color: #C4B5FD } /* Literal.Number */
[data-theme="dark"] .highlight .s { color: #6EE7B7 } /* Literal.String */
[data-theme="dark"] .highlight .na { color: #FCD34D } /* Name.Attribute */
[data-theme="dark"] .highlight .nb { color: #67E8F9 } /* Name.Builtin */
[data-theme="dark"] .highlight .nc { color: #93C5FD } /* Name.Class */
[data-theme="dark"] .highlight .no { color: #E2E8F0 } /* Name.Constant */
[data-theme="dark"] .highlight .nd { color: #67E8F9 } /* Name.Decorator */
[data-theme="dark"] .highlight .ni { color: #E2E8F0 } /* Name.Entity */
[data-theme="dark"] .highlight .ne { color: #E2E8F0 } /* Name.Exception */
[data-theme="dark"] .highlight .nf { color: #93C5FD } /* Name.Function */
[data-theme="dark"] .highlight .nl { color: #E2E8F0 } /* Name.Label */
[data-theme="dark"] .highlight .nn { color: #E2E8F0 } /* Name.Namespace */
[data-theme="dark"] .highlight .nx { color: #E2E8F0 } /* Name.Other */
[data-theme="dark"] .highlight .py { color: #E2E8F0 } /* Name.Property */
[data-theme="dark"] .highlight .nt { color: #FF8A65 } /* Name.Tag */
[data-theme="dark"] .highlight .nv { color: #F9A8D4 } /* Name.Variable */
[data-theme="dark"] .highlight .ow { color: #FF8A65 } /* Operator.Word */
[data-theme="dark"] .highlight .pm { color: #CBD5E1 } /* Punctuation.Marker */
[data-theme="dark"] .highlight .w { color: #E2E8F0 } /* Text.Whitespace */
[data-theme="dark"] .highlight .mb { color: #C4B5FD } /* Literal.Number.Bin */
[data-theme="dark"] .highlight .mf { color: #C4B5FD } /* Literal.Number.Float */
[data-theme="dark"] .highlight .mh { color: #C4B5FD } /* Literal.Number.Hex */
[data-theme="dark"] .highlight .mi { color: #C4B5FD } /* Literal.Number.Integer */
[data-theme="dark"] .highlight .mo { color: #C4B5FD } /* Literal.Number.Oct */
[data-theme="dark"] .highlight .sa { color: #6EE7B7 } /* Literal.String.Affix */
[data-theme="dark"] .highlight .sb { color: #6EE7B7 } /* Literal.String.Backtick */
[data-theme="dark"] .highlight .sc { color: #6EE7B7 } /* Literal.String.Char */
[data-theme="dark"] .highlight .dl { color: #6EE7B7 } /* Literal.String.Delimiter */
[data-theme="dark"] .highlight .sd { color: #6EE7B7 } /* Literal.String.Doc */
[data-theme="dark"] .highlight .s2 { color: #6EE7B7 } /* Literal.String.Double */
[data-theme="dark"] .highlight .se { color: #6EE7B7 } /* Literal.String.Escape */
[data-theme="dark"] .highlight .sh { color: #6EE7B7 } /* Literal.String.Heredoc */
[data-theme="dark"] .highlight .si { color: #C4B5FD } /* Literal.String.Interpol */
[data-theme="dark"] .highlight .sx { color: #6EE7B7 } /* Literal.String.Other */
[data-theme="dark"] .highlight .sr { color: #6EE7B7 } /* Literal.String.Regex */
[data-theme="dark"] .highlight .s1 { color: #6EE7B7 } /* Literal.String.Single */
[data-theme="dark"] .highlight .ss { color: #6EE7B7 } /* Literal.String.Symbol */
[data-theme="dark"] .highlight .bp { color: #67E8F9 } /* Name.Builtin.Pseudo */
[data-theme="dark"] .highlight .fm { color: #93C5FD } /* Name.Function.Magic */
[data-theme="dark"] .highlight .vc { color: #F9A8D4 } /* Name.Variable.Class */
[data-theme="dark"] .highlight .vg { color: #F9A8D4 } /* Name.Variable.Global */
[data-theme="dark"] .highlight .vi { color: #F9A8D4 } /* Name.Variable.Instance */
[data-theme="dark"] .highlight .vm { color: #F9A8D4 } /* Name.Variable.Magic */
[data-theme="dark"] .highlight .il { color: #C4B5FD } /* Literal.Number.Integer.Long */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .highlight .hll { background-color: #1e293b }
:root:not([data-theme="light"]) .highlight .c { color: #94A3B8; font-style: italic } /* Comment */
:root:not([data-theme="light"]) .highlight .err { color: #FCA5A5 } /* Error */
:root:not([data-theme="light"]) .highlight .esc { color: #E2E8F0 } /* Escape */
:root:not([data-theme="light"]) .highlight .g { color: #E2E8F0 } /* Generic */
:root:not([data-theme="light"]) .highlight .k { color: #FF8A65 } /* Keyword */
:root:not([data-theme="light"]) .highlight .l { color: #E2E8F0 } /* Literal */
:root:not([data-theme="light"]) .highlight .n { color: #E2E8F0 } /* Name */
:root:not([data-theme="light"]) .highlight .o { color: #CBD5E1 } /* Operator */
:root:not([data-theme="light"]) .highlight .x { color: #E2E8F0 } /* Other */
:root:not([data-theme="light"]) .highlight .p { color: #CBD5E1 } /* Punctuation */
:root:not([data-theme="light"]) .highlight .ch { color: #94A3B8; font-style: italic } /* Comment.Hashbang */
:root:not([data-theme="light"]) .highlight .cm { color: #94A3B8; font-style: italic } /* Comment.Multiline */
:root:not([data-theme="light"]) .highlight .cp { color: #94A3B8 } /* Comment.Preproc */
:root:not([data-theme="light"]) .highlight .cpf { color: #94A3B8; font-style: italic } /* Comment.PreprocFile */
:root:not([data-theme="light"]) .highlight .c1 { color: #94A3B8; font-style: italic } /* Comment.Single */
:root:not([data-theme="light"]) .highlight .cs { color: #94A3B8; font-style: italic } /* Comment.Special */
:root:not([data-theme="light"]) .highlight .gd { color: #FCA5A5 } /* Generic.Deleted */
:root:not([data-theme="light"]) .highlight .ge { color: #E2E8F0; font-style: italic } /* Generic.Emph */
:root:not([data-theme="light"]) .highlight .ges { color: #E2E8F0 } /* Generic.EmphStrong */
:root:not([data-theme="light"]) .highlight .gr { color: #E2E8F0 } /* Generic.Error */
:root:not([data-theme="light"]) .highlight .gh { color: #E2E8F0; font-weight: bold } /* Generic.Heading */
:root:not([data-theme="light"]) .highlight .gi { color: #6EE7B7 } /* Generic.Inserted */
:root:not([data-theme="light"]) .highlight .go { color: #E2E8F0 } /* Generic.Output */
:root:not([data-theme="light"]) .highlight .gp { color: #E2E8F0 } /* Generic.Prompt */
:root:not([data-theme="light"]) .highlight .gs { color: #E2E8F0; font-weight: bold } /* Generic.Strong */
:root:not([data-theme="light"]) .highlight .gu { color: #E2E8F0 } /* Generic.Subheading */
:root:not([data-theme="light"]) .highlight .gt { color: #E2E8F0 } /* Generic.Traceback */
:root:not([data-theme="light"]) .highlight .kc { color: #FF8A65 } /* Keyword.Constant */
:root:not([data-theme="light"]) .highlight .kd { color: #FF8A65 } /* Keyword.Declaration */
:root:not([data-theme="light"]) .highlight .kn { color: #FF8A65 } /* Keyword.Namespace */
:root:not([data-theme="light"]) .highlight .kp { color: #FF8A65 } /* Keyword.Pseudo */
:root:not([data-theme="light"]) .highlight .kr { color: #FF8A65 } /* Keyword.Reserved */
:root:not([data-theme="light"]) .highlight .kt { color: #FCD34D } /* Keyword.Type */
:root:not([data-theme="light"]) .highlight .ld { color: #E2E8F0 } /* Literal.Date */
:root:not([data-theme="light"]) .highlight .m { color: #C4B5FD } /* Literal.Number */
:root:not([data-theme="light"]) .highlight .s { color: #6EE7B7 } /* Literal.String */
:root:not([data-theme="light"]) .highlight .na { color: #FCD34D } /* Name.Attribute */
:root:not([data-theme="light"]) .highlight .nb { color: #67E8F9 } /* Name.Builtin */
:root:not([data-theme="light"]) .highlight .nc { color: #93C5FD } /* Name.Class */
:root:not([data-theme="light"]) .highlight .no { color: #E2E8F0 } /* Name.Constant */
:root:not([data-theme="light"]) .highlight .nd { color: #67E8F9 } /* Name.Decorator */
:root:not([data-theme="light"]) .highlight .ni { color: #E2E8F0 } /* Name.Entity */
:root:not([data-theme="light"]) .highlight .ne { color: #E2E8F0 } /* Name.Exception */
:root:not([data-theme="light"]) .highlight .nf { color: #93C5FD } /* Name.Function */
:root:not([data-theme="light"]) .highlight .nl { color: #E2E8F0 } /* Name.Label */
:root:not([data-theme="light"]) .highlight .nn { color: #E2E8F0 } /* Name.Namespace */
:root:not([data-theme="light"]) .highlight .nx { color: #E2E8F0 } /* Name.Other */
:root:not([data-theme="light"]) .highlight .py { color: #E2E8F0 } /* Name.Property */
:root:not([data-theme="light"]) .highlight .nt { color: #FF8A65 } /* Name.Tag */
:root:not([data-theme="light"]) .highlight .nv { color: #F9A8D4 } /* Name.Variable */
:root:not([data-theme="light"]) .highlight .ow { color: #FF8A65 } /* Operator.Word */
:root:not([data-theme="light"]) .highlight .pm { color: #CBD5E1 } /* Punctuation.Marker */
:root:not([data-theme="light"]) .highlight .w { color: #E2E8F0 } /* Text.Whitespace */
:root:not([data-theme="light"]) .highlight .mb { color: #C4B5FD } /* Literal.Number.Bin */
:root:not([data-theme="light"]) .highlight .mf { color: #C4B5FD } /* Literal.Number.Float */
:root:not([data-theme="light"]) .highlight .mh { color: #C4B5FD } /* Literal.Number.Hex */
:root:not([data-theme="light"]) .highlight .mi { color: #C4B5FD } /* Literal.Number.Integer */
:root:not([data-theme="light"]) .highlight .mo { color: #C4B5FD } /* Literal.Number.Oct */
:root:not([data-theme="light"]) .highlight .sa { color: #6EE7B7 } /* Literal.String.Affix */
:root:not([data-theme="light"]) .highlight .sb { color: #6EE7B7 } /* Literal.String.Backtick */
:root:not([data-theme="light"]) .highlight .sc { color: #6EE7B7 } /* Literal.String.Char */
:root:not([data-theme="light"]) .highlight .dl { color: #6EE7B7 } /* Literal.String.Delimiter */
:root:not([data-theme="light"]) .highlight .sd { color: #6EE7B7 } /* Literal.String.Doc */
:root:not([data-theme="light"]) .highlight .s2 { color: #6EE7B7 } /* Literal.String.Double */
:root:not([data-theme="light"]) .highlight .se { color: #6EE7B7 } /* Literal.String.Escape */
:root:not([data-theme="light"]) .highlight .sh { color: #6EE7B7 } /* Literal.String.Heredoc */
:root:not([data-theme="light"]) .highlight .si { color: #C4B5FD } /* Literal.String.Interpol */
:root:not([data-theme="light"]) .highlight .sx { color: #6EE7B7 } /* Literal.String.Other */
:root:not([data-theme="light"]) .highlight .sr { color: #6EE7B7 } /* Literal.String.Regex */
:root:not([data-theme="light"]) .highlight .s1 { color: #6EE7B7 } /* Literal.String.Single */
:root:not([data-theme="light"]) .highlight .ss { color: #6EE7B7 } /* Literal.String.Symbol */
:root:not([data-theme="light"]) .highlight .bp { color: #67E8F9 } /* Name.Builtin.Pseudo */
:root:not([data-theme="light"]) .highlight .fm { color: #93C5FD } /* Name.Function.Magic */
:root:not([data-theme="light"]) .highlight .vc { color: #F9A8D4 } /* Name.Variable.Class */
:root:not([data-theme="light"]) .highlight .vg { color: #F9A8D4 } /* Name.Variable.Global */
:root:not([data-theme="light"]) .highlight .vi { color: #F9A8D4 } /* Name.Variable.Instance */
:root:not([data-theme="light"]) .highlight .vm { color: #F9A8D4 } /* Name.Variable.Magic */
:root:not([data-theme="light"]) .highlight .il { color: #C4B5FD } /* Literal.Number.Integer.Long */
}
/* palette L4 (light) from theme/theme.yaml */
[data-theme="light"] {
  --bg: #f7f5f0;
  --fg: #1c1917;
  --heading: #0c0a09;
  --muted: #57534e;
  --link: #bd2d00;
  --card-bg: #fdfcfa;
  --band: #efebe3;
  --code-bg: #fdfcfa;
  --code-inline-bg: #ebe7de;
  --code-inline-fg: #292524;
  --rule: #e4dfd5;
  --code-border: #e2ddd2;
  --card-border: #e2ddd2;
  --img-border: #e2ddd2;
}
@media (prefers-color-scheme: light) {
:root:not([data-theme="dark"]) {
  --bg: #f7f5f0;
  --fg: #1c1917;
  --heading: #0c0a09;
  --muted: #57534e;
  --link: #bd2d00;
  --card-bg: #fdfcfa;
  --band: #efebe3;
  --code-bg: #fdfcfa;
  --code-inline-bg: #ebe7de;
  --code-inline-fg: #292524;
  --rule: #e4dfd5;
  --code-border: #e2ddd2;
  --card-border: #e2ddd2;
  --img-border: #e2ddd2;
}
}
/* palette D2 (dark) from theme/theme.yaml */
[data-theme="dark"] {
  --bg: #0b1018;
  --card-bg: #0b1018;
  --band: #121925;
  --code-bg: #18212f;
  --code-inline-bg: #1a2331;
  --rule: #182030;
  --code-border: #2a3546;
  --card-border: #2a3546;
  --img-border: #2a3546;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  --bg: #0b1018;
  --card-bg: #0b1018;
  --band: #121925;
  --code-bg: #18212f;
  --code-inline-bg: #1a2331;
  --rule: #182030;
  --code-border: #2a3546;
  --card-border: #2a3546;
  --img-border: #2a3546;
}
}
