:root {
    color-scheme: light dark;
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-ink: #0e120f;
    --color-ink-muted: #556058;
    --color-ink-faint: #687369;
    --color-line: #d7ded8;
    --color-accent: #2f6b35;
    --color-accent-ink: #ffffff;
    --color-selection: #cfe8d2;
    --color-code: #f3f7f4;
    --stone-underline: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%206%22%20width%3D%22100%22%20height%3D%226%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%232f6b35%22%20d%3D%22M0%201.9%2014%201.2l17%201L52%20.3l18%201.1L86%20.7l14%201.8V5l-17%20.9-22-1.3L44%206%2022%204.8%207%205.6%200%204.3Z%22%2F%3E%3C%2Fsvg%3E");
    --step-down: 0.8475rem;
    --step-0: 1.0000rem;
    --step-1: 1.1800rem;
    --step-2: 1.3924rem;
    --step-3: 1.6430rem;
    --step-4: 1.9388rem;
    --step-5: 2.2878rem;
    --font-sans: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --font-serif: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --font-prose: var(--font-sans);
    --font-size-base: 15.5px;
    --measure: 68ch;
    --page-width: 64rem;
    --radius: 0px;
    --space: 0.8rem;
    --stone-ledge: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%2012%22%20width%3D%221000%22%20height%3D%2212%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%206%2048%204l83%202.5%2056-3.5%2075%202%2078%202%2051-2.5%2077%201%2072-3%2062%202.5%2086%201.5%2057-3%2075%201.5%2073%202%2058-3%2049%202V12H0Z%22%2F%3E%3C%2Fsvg%3E");
    --stone-sliver: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%206%22%20width%3D%22100%22%20height%3D%226%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%201.9%2014%201.2l17%201L52%20.3l18%201.1L86%20.7l14%201.8V5l-17%20.9-22-1.3L44%206%2022%204.8%207%205.6%200%204.3Z%22%2F%3E%3C%2Fsvg%3E");
  }

  [data-theme='dark'] {
    --color-bg: #0b0e0c;
    --color-surface: #0b0e0c;
    --color-ink: #e6ece7;
    --color-ink-muted: #97a399;
    --color-ink-faint: #7f8a81;
    --color-line: #232a25;
    --color-accent: #7fc98a;
    --color-accent-ink: #0b0e0c;
    --color-selection: #1f4a2a;
    --color-code: #121713;
    --stone-underline: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%206%22%20width%3D%22100%22%20height%3D%226%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%237fc98a%22%20d%3D%22M0%201.9%2014%201.2l17%201L52%20.3l18%201.1L86%20.7l14%201.8V5l-17%20.9-22-1.3L44%206%2022%204.8%207%205.6%200%204.3Z%22%2F%3E%3C%2Fsvg%3E");
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) {
    --color-bg: #0b0e0c;
    --color-surface: #0b0e0c;
    --color-ink: #e6ece7;
    --color-ink-muted: #97a399;
    --color-ink-faint: #7f8a81;
    --color-line: #232a25;
    --color-accent: #7fc98a;
    --color-accent-ink: #0b0e0c;
    --color-selection: #1f4a2a;
    --color-code: #121713;
    --stone-underline: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%206%22%20width%3D%22100%22%20height%3D%226%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%237fc98a%22%20d%3D%22M0%201.9%2014%201.2l17%201L52%20.3l18%201.1L86%20.7l14%201.8V5l-17%20.9-22-1.3L44%206%2022%204.8%207%205.6%200%204.3Z%22%2F%3E%3C%2Fsvg%3E");
    }
  }
.al-0 { --shiki-light:#CF222E;--shiki-dark:#F47067 }
.al-1 { --shiki-light:#0550AE;--shiki-dark:#6CB6FF }
.al-2 { --shiki-light:#953800;--shiki-dark:#F69D50 }
.al-3 { --shiki-light:#1F2328;--shiki-dark:#ADBAC7 }
.al-4 { --shiki-light:#59636e;--shiki-dark:#768390 }
.al-5 { --shiki-light:#8250DF;--shiki-dark:#DCBDFB }
.al-6 { --shiki-light:#0A3069;--shiki-dark:#96D0FF }
.al .al-t { --shiki-light:#0550AE;--shiki-dark:#6CB6FF }
.al .al-q { --shiki-light:#953800;--shiki-dark:#F69D50 }
.al .al-n { --shiki-light:#0550AE;--shiki-dark:#6CB6FF }
