@layer reset, base, components, modules, utilities, native, platform;

/* Tokens follow misc/desktop-design-spec.md (13px system type, hairlines,
   layered shadows, light and dark tuned separately),
   coloured from a terminal theme's light and dark palettes. The accent is the
   palette's blue rather than the OS accent, so it never clashes.
/* -------------------------------------------------------------------------- */

@layer base {
  :root {
    color-scheme: light;

    /* Insets */
    --custom-safe-inset-top: var(--injected-safe-inset-top, env(safe-area-inset-top, 0px));
    --custom-safe-inset-right: var(--injected-safe-inset-right, env(safe-area-inset-right, 0px));
    --custom-safe-inset-bottom: var(--injected-safe-inset-bottom, env(safe-area-inset-bottom, 0px));
    --custom-safe-inset-left: var(--injected-safe-inset-left, env(safe-area-inset-left, 0px));

    /* Spacing */
    --inline-space: 1ch;
    --inline-space-half: calc(var(--inline-space) / 2);
    --inline-space-double: calc(var(--inline-space) * 2);
    --block-space: 1rem;
    --block-space-half: calc(var(--block-space) / 2);
    --block-space-double: calc(var(--block-space) * 2);

    /* A 4px grid with 2px half-steps, named by their size in px */
    --space-2: 0.125rem;
    --space-4: 0.25rem;
    --space-6: 0.375rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-20: 1.25rem;
    --space-24: 1.5rem;

    /* Text */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
    --font-mono: Menlo, Monaco, Consolas, ui-monospace, monospace;

    /* Desktop sizes from the spec. --text-small is the 13px base most UI text
       uses; --text-normal (14px) is for body copy and text fields. */
    --text-xx-small: 0.6875rem; /* 11px: timestamps, fine print */
    --text-x-small: 0.75rem; /* 12px: secondary UI text, code */
    --text-small: 0.8125rem; /* 13px: default UI text */
    --text-normal: 0.875rem; /* 14px: body, text fields */
    --text-medium: 1rem; /* 16px: section titles */
    --text-large: 1.125rem; /* 18px */
    --text-x-large: 1.25rem; /* 20px: page titles */
    --text-xx-large: 1.5rem; /* 24px: hero headings, rare */

    --leading-tight: 1.23; /* 13/16: menu and sidebar rows */
    --leading-normal: 1.5;

    /* Hairlines are one device pixel: 0.5px on high-density displays */
    --hairline: 1px;

    @media (resolution >= 2dppx) {
      --hairline: 0.5px;
    }

    /* Borders */
    --border: var(--hairline) solid var(--color-border);
    --border-strong: var(--hairline) solid var(--color-border-strong);

    /* Corner radii. Nested elements take the outer radius minus the padding. */
    --border-radius-small: 0.25rem; /* 4px: small controls, keyboard hints */
    --border-radius: 0.375rem; /* 6px: rows, small cards */
    --border-radius-field: 0.5rem; /* 8px: text fields */
    --border-radius-large: 0.625rem; /* 10px: cards, menus, popovers */
    --border-radius-x-large: 0.875rem; /* 14px: large round icon buttons */
    --border-radius-bubble: 1.125rem; /* 18px: message bubbles */
    --border-radius-pill: 999px;

    /* Shadows: a hairline ring, then one or two blurs. Dark mode redefines them. */
    --shadow-small: /* low: buttons, small raised items */
      0 0 0 var(--hairline) oklch(var(--lch-black) / 5%),
      0 1px 2px oklch(var(--lch-black) / 4%);
    --shadow: /* mid: cards */
      0 0 0 var(--hairline) oklch(var(--lch-black) / 5%),
      0 1px 2px oklch(var(--lch-black) / 4%),
      0 6px 20px oklch(var(--lch-black) / 8%);
    --shadow-high: /* prominent cards */
      0 0 0 var(--hairline) oklch(var(--lch-black) / 5%),
      0 1px 2px oklch(var(--lch-black) / 4%),
      0 6px 20px oklch(var(--lch-black) / 10%);
    --shadow-large: /* overlay: popovers, pickers, modals */
      0 0 0 var(--hairline) oklch(var(--lch-black) / 5%),
      0 1px 2px oklch(var(--lch-black) / 6%),
      0 8px 24px oklch(var(--lch-black) / 12%);
    --shadow-menu: /* deeper, like native menus */
      0 0 0 var(--hairline) oklch(var(--lch-black) / 8%),
      0 1px 3px oklch(var(--lch-black) / 8%),
      0 10px 30px oklch(var(--lch-black) / 18%);
    --shadow-card: /* the main floating content card */
      0 0 0 0.5px var(--color-card-edge),
      0 2px 23px oklch(var(--lch-black) / 5.6%);

    /* Components */
    --btn-size: 2rem;
    --icon-size: 1.15em;

    /* Focus rings: the user's accent, keyboard focus only */
    --focus-ring-color: var(--color-accent);
    --focus-ring-offset: 1px;
    --focus-ring-size: 2px;
    --focus-ring: var(--focus-ring-size) solid var(--focus-ring-color);

    /* Motion: quick, eases out, never bounces */
    --duration-fast: 120ms; /* hover fills */
    /* Sidebar open/close. The spec's 140ms felt abrupt over a 236px slide, so
       this is a little longer, on the same curve. */
    --duration-panel: 200ms;
    --duration: 200ms; /* fades, overlays */
    --duration-expand: 300ms; /* expand and collapse content */
    --ease-panel: cubic-bezier(0.2, 0, 0, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --main-padding: clamp(var(--inline-space), 3vw, var(--inline-space-double));
    --main-width: 64rem;
    --reading-width: 48rem; /* ~768px column for long-form text */
    --window-inset: var(--space-8);

    /* Z-index */
    --z-popup: 10;
    --z-nav: 20;

    /* Colors: tier 1, raw OKLCH channels
    /* ------------------------------------------------------------------------ */
    /* Values come from the terminal theme's palettes where it has one; the
       in-between surfaces and fills are steps on the same hues. */

    --lch-black: 0% 0 0;
    --lch-white: 100% 0 0;

    --lch-ink-darkest: 25.4% 0.011 254; /* #1f2328, text */
    --lch-ink-darker: 37.5% 0.015 248; /* #3b4249 */
    --lch-ink-dark: 48.5% 0.020 251; /* #57606a, bright black, secondary */
    --lch-ink-medium: 66.6% 0.018 251; /* #8c959f, bright white, placeholder */
    --lch-ink-light: 82.9% 0.006 265; /* #c5c7cb */
    --lch-ink-lighter: 89.6% 0.005 248; /* #dadde0 */
    --lch-ink-lightest: 97.5% 0.006 255; /* #f4f7fb */

    --lch-window: 97.5% 0.006 255; /* #f4f7fb, chrome around the content */
    --lch-canvas: 100% 0 0; /* #ffffff, background */
    --lch-surface: 100% 0 0; /* #ffffff, raised items */
    --lch-surface-subtle: 97.5% 0.006 255; /* #f4f7fb, row and line highlight */
    --lch-menu: 98.4% 0.006 255; /* #f7fafe */
    --lch-input: 100% 0 0; /* #ffffff */

    --lch-border: 89.6% 0.005 248; /* #dadde0 */
    --lch-border-strong: 82.9% 0.006 265; /* #c5c7cb */

    /* Focus rings, selected rows and text selection */
    --lch-accent: 54% 0.191 257; /* #0969da, cursor */
    --lch-ink-on-accent: 100% 0 0; /* #ffffff */
    --lch-selection: 25.4% 0.011 254; /* #1f2328, selection */
    --lch-ink-selected: 100% 0 0; /* #ffffff, selected text */
    --lch-accent-fill: 94.9% 0.025 250; /* #e2f0ff */

    --lch-blue-darker: 37.9% 0.141 259; /* #033d8b */
    --lch-blue-dark: 46.5% 0.187 260; /* #0050bf, link hover */
    --lch-blue-medium: 54% 0.191 257; /* #0969da, blue, links */
    --lch-blue-light: 94.8% 0.026 246; /* #e0f0ff, info fill */
    --lch-info: 54% 0.191 257; /* #0969da, blue */

    --lch-red-dark: 45.9% 0.178 22; /* #a40e26, bright red */
    --lch-red-medium: 55.2% 0.205 25; /* #cf222e, red, error */
    --lch-red-light: 94.4% 0.028 26; /* #ffe6e3, error fill */

    --lch-green-dark: 43.9% 0.118 148; /* #116329, green */
    --lch-green-medium: 52.4% 0.140 148; /* #1a7f37, bright green, success */
    --lch-green-light: 95% 0.034 148; /* #e0f5e2, success fill */

    --lch-yellow-medium: 53.7% 0.121 64; /* #9d5c00, yellow, warning text and badges */
    --lch-yellow-light: 93.9% 0.052 77; /* #ffe7c5, highlight */

    /* Primary action: the palette blue */
    --lch-action: 54% 0.191 257; /* #0969da, blue */
    --lch-action-hover: 46.5% 0.187 260; /* #0050bf */
    --lch-ink-on-action: 100% 0 0; /* #ffffff */

    /* Secondary buttons and switch tracks */
    --lch-control: 93.9% 0.006 255; /* #e8ebef */
    --lch-control-hover: 90.9% 0.006 265; /* #dfe1e5 */
    --lch-ink-on-control: 25.4% 0.011 254; /* #1f2328 */

    /* Chart and categorical colours: the ANSI set, picked to read on the background */
    --lch-palette-blue: 64.2% 0.195 255; /* #218bff, bright blue */
    --lch-palette-cyan: 61.4% 0.094 218; /* #3192aa, bright cyan */
    --lch-palette-yellow: 64.3% 0.141 68; /* #c47a00, bright yellow */
    --lch-palette-red: 55.2% 0.205 25; /* #cf222e, red */
    --lch-palette-magenta: 66.9% 0.190 297; /* #a475f9, bright magenta */
    --lch-palette-green: 52.4% 0.140 148; /* #1a7f37, bright green */
    --lch-palette-bright-blue: 54% 0.191 257; /* #0969da, blue */
    --lch-palette-bright-cyan: 53.7% 0.084 202; /* #1b7c83, cyan */
    --lch-palette-neutral: 66.6% 0.018 251; /* #8c959f, bright white */
    --lch-palette-neutral-dim: 82.9% 0.006 265; /* #c5c7cb */

    /* Lines drawn as translucent ink, redefined for dark mode */
    --color-separator: oklch(var(--lch-ink-darkest) / 10%);
    --color-card-edge: oklch(var(--lch-border-strong));

    /* Colors: tier 2, named
    /* ------------------------------------------------------------------------ */

    --color-window: oklch(var(--lch-window));
    --color-canvas: oklch(var(--lch-canvas));
    --color-surface: oklch(var(--lch-surface));
    --color-surface-subtle: oklch(var(--lch-surface-subtle));
    --color-menu: oklch(var(--lch-menu));
    --color-input: oklch(var(--lch-input));

    --color-ink: oklch(var(--lch-ink-darkest));
    --color-ink-subtle: oklch(var(--lch-ink-darker));
    --color-ink-muted: oklch(var(--lch-ink-dark));
    --color-ink-placeholder: oklch(var(--lch-ink-medium));
    --color-ink-inverted: oklch(var(--lch-canvas));

    --color-border: oklch(var(--lch-border));
    --color-border-strong: oklch(var(--lch-border-strong));

    --color-link: oklch(var(--lch-blue-medium));
    --color-link-dark: oklch(var(--lch-blue-dark));
    --color-link-darker: oklch(var(--lch-blue-darker));

    --color-accent: oklch(var(--lch-accent));
    --color-ink-on-accent: oklch(var(--lch-ink-on-accent));
    --color-accent-selection: oklch(var(--lch-selection));
    --color-ink-selected: oklch(var(--lch-ink-selected));
    --color-accent-fill: oklch(var(--lch-accent-fill));

    /* Status colours are fixed; they never follow the accent */
    --color-negative: oklch(var(--lch-red-medium));
    --color-negative-fill: oklch(var(--lch-red-light));
    --color-positive: oklch(var(--lch-green-medium));
    --color-positive-fill: oklch(var(--lch-green-light));
    --color-warning: oklch(var(--lch-yellow-medium));
    --color-info: oklch(var(--lch-info));
    --color-info-fill: oklch(var(--lch-blue-light));
    --color-highlight: oklch(var(--lch-yellow-light));
    --color-marker: oklch(var(--lch-red-dark));

    --color-action: oklch(var(--lch-action));
    --color-action-hover: oklch(var(--lch-action-hover));
    --color-ink-on-action: oklch(var(--lch-ink-on-action));
    --color-control: oklch(var(--lch-control));
    --color-control-hover: oklch(var(--lch-control-hover));
    --color-ink-on-control: oklch(var(--lch-ink-on-control));

    --color-palette-blue: oklch(var(--lch-palette-blue));
    --color-palette-cyan: oklch(var(--lch-palette-cyan));
    --color-palette-yellow: oklch(var(--lch-palette-yellow));
    --color-palette-red: oklch(var(--lch-palette-red));
    --color-palette-magenta: oklch(var(--lch-palette-magenta));
    --color-palette-green: oklch(var(--lch-palette-green));
    --color-palette-bright-blue: oklch(var(--lch-palette-bright-blue));
    --color-palette-bright-cyan: oklch(var(--lch-palette-bright-cyan));
    --color-palette-neutral: oklch(var(--lch-palette-neutral));
    --color-palette-neutral-dim: oklch(var(--lch-palette-neutral-dim));

    /* Older names for the selection tints */
    --color-selected-light: var(--color-accent-fill);
    --color-selected: var(--color-accent-selection);
    --color-selected-dark: color-mix(in oklch, var(--color-accent) 45%, transparent);

    /* Phones keep larger type so small text stays legible */
    @media (max-width: 639px) {
      --text-xx-small: 0.75rem;
      --text-x-small: 0.8125rem;
      --text-small: 0.9375rem;
      --text-normal: 1rem;
      --text-medium: 1.125rem;
      --text-large: 1.25rem;
      --text-x-large: 1.5rem;
      --text-xx-large: 1.75rem;
    }
  }

  /* Dark mode redefines tier 1 plus the translucent lines and shadows, so
     every named colour follows. Keep the two blocks below identical.
  /* -------------------------------------------------------------------------- */

  html[data-theme="dark"] {
    color-scheme: dark;

    /* The palette as given: near-black background, light text */
    --lch-ink-darkest: 94.3% 0.011 244; /* #e6edf3, text */
    --lch-ink-darker: 78.5% 0.017 251; /* #b1bac4, white */
    --lch-ink-dark: 68.7% 0.019 256; /* #939ba6, secondary */
    --lch-ink-medium: 56.3% 0.020 256; /* #6e7681, bright black, placeholder */
    --lch-ink-light: 36.6% 0.014 257; /* #3a3f46 */
    --lch-ink-lighter: 31.6% 0.014 262; /* #2e3239 */
    --lch-ink-lightest: 24.2% 0.013 258; /* #1c2026 */

    /* Content is the darkest; chrome and raised items step up from it */
    --lch-window: 21.2% 0.013 258; /* #15191f */
    --lch-canvas: 17.6% 0.014 258; /* #0d1117, background */
    --lch-surface: 21.2% 0.013 258; /* #15191f */
    --lch-surface-subtle: 24.2% 0.013 258; /* #1c2026 */
    --lch-menu: 27.6% 0.014 262; /* #24282f */
    --lch-input: 24.2% 0.013 258; /* #1c2026 */

    --lch-border: 31.6% 0.014 262; /* #2e3239 */
    --lch-border-strong: 36.6% 0.014 257; /* #3a3f46 */

    --lch-accent: 71.5% 0.152 253; /* #58a6ff, blue */
    --lch-ink-on-accent: 17.6% 0.014 258; /* #0d1117 */
    --lch-selection: 94.3% 0.011 244; /* #e6edf3, selection */
    --lch-ink-selected: 17.6% 0.014 258; /* #0d1117, selected text */
    --lch-accent-fill: 30.1% 0.070 253; /* #112f50 */

    --lch-blue-darker: 61.8% 0.193 258; /* #2f81f7, cursor */
    --lch-blue-dark: 61.8% 0.193 258; /* #2f81f7, cursor, link hover */
    --lch-blue-medium: 71.5% 0.152 253; /* #58a6ff, blue, links */
    --lch-blue-light: 28.1% 0.054 253; /* #142a43, info fill */
    --lch-info: 71.5% 0.152 253; /* #58a6ff, blue */

    --lch-red-dark: 80.1% 0.113 26; /* #ffa198, bright red */
    --lch-red-medium: 73.4% 0.163 26; /* #ff7b72, red */
    --lch-red-light: 28% 0.055 26; /* #401d1a */

    --lch-green-dark: 77.2% 0.188 145; /* #56d364, bright green */
    --lch-green-medium: 69.5% 0.181 146; /* #3fb950, green */
    --lch-green-light: 28% 0.056 145; /* #153017 */

    --lch-yellow-medium: 72% 0.140 80; /* #d29922, yellow */
    --lch-yellow-light: 27.9% 0.055 79; /* #372503 */

    --lch-action: 71.5% 0.152 253; /* #58a6ff, blue */
    --lch-action-hover: 61.8% 0.193 258; /* #2f81f7, cursor */
    --lch-ink-on-action: 17.6% 0.014 258; /* #0d1117 */

    --lch-control: 31.6% 0.014 262; /* #2e3239 */
    --lch-control-hover: 36.6% 0.014 257; /* #3a3f46 */
    --lch-ink-on-control: 94.3% 0.011 244; /* #e6edf3 */

    --lch-palette-blue: 71.5% 0.152 253; /* #58a6ff */
    --lch-palette-cyan: 75.5% 0.116 202; /* #39c5cf */
    --lch-palette-yellow: 72% 0.140 80; /* #d29922 */
    --lch-palette-red: 73.4% 0.163 26; /* #ff7b72 */
    --lch-palette-magenta: 73.2% 0.167 302; /* #bc8cff */
    --lch-palette-green: 69.5% 0.181 146; /* #3fb950 */
    --lch-palette-bright-blue: 78.6% 0.115 247; /* #79c0ff */
    --lch-palette-bright-cyan: 80.4% 0.111 202; /* #56d4dd */
    --lch-palette-neutral: 78.5% 0.017 251; /* #b1bac4 */
    --lch-palette-neutral-dim: 56.3% 0.020 256; /* #6e7681 */

    --color-separator: oklch(var(--lch-ink-darkest) / 13%);
    --color-card-edge: oklch(var(--lch-ink-darkest) / 8%);

    /* Much heavier than light, with a light outline so dark surfaces keep an edge */
    --shadow-small:
      0 0 0 var(--hairline) oklch(var(--lch-white) / 15%),
      0 1px 2px oklch(var(--lch-black) / 4%);
    --shadow:
      0 0 0 var(--hairline) oklch(var(--lch-white) / 15%),
      0 1px 2px oklch(var(--lch-black) / 4%),
      0 6px 20px oklch(var(--lch-black) / 8%);
    --shadow-high:
      0 0 0 var(--hairline) oklch(var(--lch-white) / 25%),
      0 1px 2px oklch(var(--lch-black) / 4%),
      0 6px 20px oklch(var(--lch-black) / 10%);
    --shadow-large:
      0 0 0 var(--hairline) oklch(var(--lch-border-strong)),
      0 1px 2px oklch(var(--lch-black) / 30%),
      0 10px 30px oklch(var(--lch-black) / 45%);
    --shadow-menu:
      0 0 0 var(--hairline) oklch(var(--lch-white) / 12%),
      0 1px 3px oklch(var(--lch-black) / 35%),
      0 12px 34px oklch(var(--lch-black) / 50%);
    --shadow-card:
      0 0 0 0.5px var(--color-card-edge),
      0 4px 24px oklch(var(--lch-black) / 10%),
      0 1px 12px oklch(var(--lch-black) / 20%);
  }

  @media (prefers-color-scheme: dark) {
    html:not([data-theme]) {
      color-scheme: dark;

      /* The palette as given: near-black background, light text */
      --lch-ink-darkest: 94.3% 0.011 244; /* #e6edf3, text */
      --lch-ink-darker: 78.5% 0.017 251; /* #b1bac4, white */
      --lch-ink-dark: 68.7% 0.019 256; /* #939ba6, secondary */
      --lch-ink-medium: 56.3% 0.020 256; /* #6e7681, bright black, placeholder */
      --lch-ink-light: 36.6% 0.014 257; /* #3a3f46 */
      --lch-ink-lighter: 31.6% 0.014 262; /* #2e3239 */
      --lch-ink-lightest: 24.2% 0.013 258; /* #1c2026 */

      /* Content is the darkest; chrome and raised items step up from it */
      --lch-window: 21.2% 0.013 258; /* #15191f */
      --lch-canvas: 17.6% 0.014 258; /* #0d1117, background */
      --lch-surface: 21.2% 0.013 258; /* #15191f */
      --lch-surface-subtle: 24.2% 0.013 258; /* #1c2026 */
      --lch-menu: 27.6% 0.014 262; /* #24282f */
      --lch-input: 24.2% 0.013 258; /* #1c2026 */

      --lch-border: 31.6% 0.014 262; /* #2e3239 */
      --lch-border-strong: 36.6% 0.014 257; /* #3a3f46 */

      --lch-accent: 71.5% 0.152 253; /* #58a6ff, blue */
      --lch-ink-on-accent: 17.6% 0.014 258; /* #0d1117 */
      --lch-selection: 94.3% 0.011 244; /* #e6edf3, selection */
      --lch-ink-selected: 17.6% 0.014 258; /* #0d1117, selected text */
      --lch-accent-fill: 30.1% 0.070 253; /* #112f50 */

      --lch-blue-darker: 61.8% 0.193 258; /* #2f81f7, cursor */
      --lch-blue-dark: 61.8% 0.193 258; /* #2f81f7, cursor, link hover */
      --lch-blue-medium: 71.5% 0.152 253; /* #58a6ff, blue, links */
      --lch-blue-light: 28.1% 0.054 253; /* #142a43, info fill */
      --lch-info: 71.5% 0.152 253; /* #58a6ff, blue */

      --lch-red-dark: 80.1% 0.113 26; /* #ffa198, bright red */
      --lch-red-medium: 73.4% 0.163 26; /* #ff7b72, red */
      --lch-red-light: 28% 0.055 26; /* #401d1a */

      --lch-green-dark: 77.2% 0.188 145; /* #56d364, bright green */
      --lch-green-medium: 69.5% 0.181 146; /* #3fb950, green */
      --lch-green-light: 28% 0.056 145; /* #153017 */

      --lch-yellow-medium: 72% 0.140 80; /* #d29922, yellow */
      --lch-yellow-light: 27.9% 0.055 79; /* #372503 */

      --lch-action: 71.5% 0.152 253; /* #58a6ff, blue */
      --lch-action-hover: 61.8% 0.193 258; /* #2f81f7, cursor */
      --lch-ink-on-action: 17.6% 0.014 258; /* #0d1117 */

      --lch-control: 31.6% 0.014 262; /* #2e3239 */
      --lch-control-hover: 36.6% 0.014 257; /* #3a3f46 */
      --lch-ink-on-control: 94.3% 0.011 244; /* #e6edf3 */

      --lch-palette-blue: 71.5% 0.152 253; /* #58a6ff */
      --lch-palette-cyan: 75.5% 0.116 202; /* #39c5cf */
      --lch-palette-yellow: 72% 0.140 80; /* #d29922 */
      --lch-palette-red: 73.4% 0.163 26; /* #ff7b72 */
      --lch-palette-magenta: 73.2% 0.167 302; /* #bc8cff */
      --lch-palette-green: 69.5% 0.181 146; /* #3fb950 */
      --lch-palette-bright-blue: 78.6% 0.115 247; /* #79c0ff */
      --lch-palette-bright-cyan: 80.4% 0.111 202; /* #56d4dd */
      --lch-palette-neutral: 78.5% 0.017 251; /* #b1bac4 */
      --lch-palette-neutral-dim: 56.3% 0.020 256; /* #6e7681 */

      --color-separator: oklch(var(--lch-ink-darkest) / 13%);
      --color-card-edge: oklch(var(--lch-ink-darkest) / 8%);

      /* Much heavier than light, with a light outline so dark surfaces keep an edge */
      --shadow-small:
        0 0 0 var(--hairline) oklch(var(--lch-white) / 15%),
        0 1px 2px oklch(var(--lch-black) / 4%);
      --shadow:
        0 0 0 var(--hairline) oklch(var(--lch-white) / 15%),
        0 1px 2px oklch(var(--lch-black) / 4%),
        0 6px 20px oklch(var(--lch-black) / 8%);
      --shadow-high:
        0 0 0 var(--hairline) oklch(var(--lch-white) / 25%),
        0 1px 2px oklch(var(--lch-black) / 4%),
        0 6px 20px oklch(var(--lch-black) / 10%);
      --shadow-large:
        0 0 0 var(--hairline) oklch(var(--lch-border-strong)),
        0 1px 2px oklch(var(--lch-black) / 30%),
        0 10px 30px oklch(var(--lch-black) / 45%);
      --shadow-menu:
        0 0 0 var(--hairline) oklch(var(--lch-white) / 12%),
        0 1px 3px oklch(var(--lch-black) / 35%),
        0 12px 34px oklch(var(--lch-black) / 50%);
      --shadow-card:
        0 0 0 0.5px var(--color-card-edge),
        0 4px 24px oklch(var(--lch-black) / 10%),
        0 1px 12px oklch(var(--lch-black) / 20%);
    }
  }
}
