/* GENERATED from design/tokens/tokens.json by design/tokens/build.mjs. Do not edit by hand. */
/* Chrome tokens are unprefixed; the reading surface is --read-* and --c-* (not edited by LB2). */

:root {
  --brand-night: #232a3b;
  --brand-paper: #f7f3ea;
  --brand-ochre: #d4a23c;
  --brand-rose: #c76f6a;
  --brand-dusk: #5b72a3;
  --brand-night-light: #f7f3ea;
  --brand-ochre-light: #e2b558;
  --brand-rose-light: #df8f8a;
  --brand-dusk-light: #9fb1d8;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;
  --radius-pill: 999px;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-loose: 1.65;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 600;
  --weight-heavy: 700;
  --icon-sm: 1rem;
  --icon-md: 1.375rem;
  --icon-lg: 1.75rem;
  --target: 2.75rem;
  --focus-width: 3px;
  --focus-offset: 2px;
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 260ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-ui: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --provider-height: 2.75rem;
  --provider-apple-radius: 0.5rem;
  --provider-google-radius: 0.25rem;
  --provider-google-mark: 1.25rem;
  --provider-text: 1rem;
  --provider-weight: 500;
  --provider-apple-font: -apple-system, system-ui, sans-serif;
  --provider-google-font: Roboto, system-ui, sans-serif;
  --provider-google-blue: #4285f4;
  --provider-google-green: #34a853;
  --provider-google-yellow: #fbbc05;
  --provider-google-red: #ea4335;
}

:root,
.theme-light {
  color-scheme: light;
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --sunken: #f0ebe0;
  --ink: #232a3b;
  --ink-soft: #555d70;
  --line: #e3ddd0;
  --line-strong: #80858f;
  --primary: #232a3b;
  --on-primary: #fffdf8;
  --primary-hover: #363f57;
  --selected: #e8ebf2;
  --focus: #232a3b;
  --overlay: rgb(19 23 32 / 0.38);
  --success: #2d6a47;
  --success-bg: #e3f0e7;
  --warning: #7a5200;
  --warning-bg: #fbefd0;
  --streak: #d4a23c;
  --streak-flame-top: #e2b558;
  --streak-flame-base: #c76f6a;
  --on-streak: #232a3b;
  --streak-bg: #fbefd0;
  --error: #a3302a;
  --error-bg: #fae5e2;
  --info: #3a5487;
  --info-bg: #e6ebf5;
  --shadow-sm: 0 1px 2px rgb(35 42 59 / 0.08);
  --shadow-md: 0 6px 24px rgb(35 42 59 / 0.10);
  --shadow-lg: 0 16px 40px rgb(35 42 59 / 0.18);
  --provider-apple-bg: #000000;
  --provider-apple-ink: #ffffff;
  --provider-google-bg: #ffffff;
  --provider-google-ink: #1f1f1f;
  --provider-google-border: #747775;
  --read-paper: #f7f1e3;
  --read-ink: #2b2722;
  --read-ink-soft: #5e5850;
  --read-word-highlight: #dcebe8;
  --read-focus: #1565c0;
  --read-jump-a: #1a56b0;
  --read-jump-b: #b3400b;
  --read-jump-silent: #8f8a80;
}

/* No theme class (the site, the server pages, the moment before the app starts): follow the system. */
@media (prefers-color-scheme: dark) {
  :root:not(.theme-light) {
    color-scheme: dark;
    --bg: #131720;
    --surface: #1d2230;
    --sunken: #181c27;
    --ink: #eceef3;
    --ink-soft: #a8afc1;
    --line: #323849;
    --line-strong: #737b90;
    --primary: #eceef3;
    --on-primary: #131720;
    --primary-hover: #ffffff;
    --selected: #2a3245;
    --focus: #eceef3;
    --overlay: rgb(0 0 0 / 0.55);
    --success: #8fd1a8;
    --success-bg: #1d3328;
    --warning: #f0c46a;
    --warning-bg: #3a3020;
    --streak: #e2b558;
    --streak-flame-top: #f0c46a;
    --streak-flame-base: #df8f8a;
    --on-streak: #131720;
    --streak-bg: #3a3020;
    --error: #ff9a8f;
    --error-bg: #3d2224;
    --info: #a9bde6;
    --info-bg: #243052;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 6px 24px rgb(0 0 0 / 0.45);
    --shadow-lg: 0 16px 40px rgb(0 0 0 / 0.55);
    --provider-apple-bg: #ffffff;
    --provider-apple-ink: #000000;
    --provider-google-bg: #131314;
    --provider-google-ink: #e3e3e3;
    --provider-google-border: #8e918f;
    --read-paper: #1c1f26;
    --read-ink: #eceae4;
    --read-ink-soft: #a9afbb;
    --read-word-highlight: #23403d;
    --read-focus: #8ec5ff;
    --read-jump-a: #7ab8ff;
    --read-jump-b: #ffab5e;
    --read-jump-silent: #7d828d;
  }
}

.theme-dark {
  color-scheme: dark;
  --bg: #131720;
  --surface: #1d2230;
  --sunken: #181c27;
  --ink: #eceef3;
  --ink-soft: #a8afc1;
  --line: #323849;
  --line-strong: #737b90;
  --primary: #eceef3;
  --on-primary: #131720;
  --primary-hover: #ffffff;
  --selected: #2a3245;
  --focus: #eceef3;
  --overlay: rgb(0 0 0 / 0.55);
  --success: #8fd1a8;
  --success-bg: #1d3328;
  --warning: #f0c46a;
  --warning-bg: #3a3020;
  --streak: #e2b558;
  --streak-flame-top: #f0c46a;
  --streak-flame-base: #df8f8a;
  --on-streak: #131720;
  --streak-bg: #3a3020;
  --error: #ff9a8f;
  --error-bg: #3d2224;
  --info: #a9bde6;
  --info-bg: #243052;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 6px 24px rgb(0 0 0 / 0.45);
  --shadow-lg: 0 16px 40px rgb(0 0 0 / 0.55);
  --provider-apple-bg: #ffffff;
  --provider-apple-ink: #000000;
  --provider-google-bg: #131314;
  --provider-google-ink: #e3e3e3;
  --provider-google-border: #8e918f;
  --read-paper: #1c1f26;
  --read-ink: #eceae4;
  --read-ink-soft: #a9afbb;
  --read-word-highlight: #23403d;
  --read-focus: #8ec5ff;
  --read-jump-a: #7ab8ff;
  --read-jump-b: #ffab5e;
  --read-jump-silent: #7d828d;
}

/* The Grayscale reading style greys the chrome too: e-ink screens and grayscale displays. */
.style-gray.theme-light {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --sunken: #ececec;
  --ink: #111111;
  --ink-soft: #444444;
  --line: #cccccc;
  --line-strong: #767676;
  --primary: #111111;
  --on-primary: #ffffff;
  --primary-hover: #333333;
  --selected: #e6e6e6;
  --focus: #000000;
  --overlay: rgb(0 0 0 / 0.4);
  --success: #111111;
  --success-bg: #e6e6e6;
  --warning: #111111;
  --warning-bg: #e6e6e6;
  --streak: #111111;
  --streak-flame-top: #767676;
  --streak-flame-base: #111111;
  --on-streak: #ffffff;
  --streak-bg: #e6e6e6;
  --error: #111111;
  --error-bg: #e6e6e6;
  --info: #111111;
  --info-bg: #e6e6e6;
  --shadow-sm: none;
  --shadow-md: 0 0 0 1px #cccccc;
  --shadow-lg: 0 0 0 1px #999999;
  --read-paper: #ffffff;
  --read-ink: #111111;
  --read-ink-soft: #444444;
  --read-word-highlight: #e6e6e6;
  --read-focus: #000000;
  --read-jump-a: #111111;
  --read-jump-b: #6b6b6b;
  --read-jump-silent: #9e9e9e;
}

.style-gray.theme-dark {
  --bg: #0d0d0d;
  --surface: #1f1f1f;
  --sunken: #161616;
  --ink: #f2f2f2;
  --ink-soft: #bdbdbd;
  --line: #3a3a3a;
  --line-strong: #8a8a8a;
  --primary: #f2f2f2;
  --on-primary: #111111;
  --primary-hover: #ffffff;
  --selected: #333333;
  --focus: #ffffff;
  --overlay: rgb(0 0 0 / 0.6);
  --success: #f2f2f2;
  --success-bg: #333333;
  --warning: #f2f2f2;
  --warning-bg: #333333;
  --streak: #f2f2f2;
  --streak-flame-top: #bdbdbd;
  --streak-flame-base: #f2f2f2;
  --on-streak: #111111;
  --streak-bg: #333333;
  --error: #f2f2f2;
  --error-bg: #333333;
  --info: #f2f2f2;
  --info-bg: #333333;
  --shadow-sm: none;
  --shadow-md: 0 0 0 1px #3a3a3a;
  --shadow-lg: 0 0 0 1px #5c5c5c;
  --read-paper: #141414;
  --read-ink: #f2f2f2;
  --read-ink-soft: #bdbdbd;
  --read-word-highlight: #333333;
  --read-focus: #ffffff;
  --read-jump-a: #f2f2f2;
  --read-jump-b: #8f8f8f;
  --read-jump-silent: #5c5c5c;
}

/* contrast-surfaces: theme-light = --read-paper --surface --bg ; theme-dark = --read-paper --surface */

.palette-default.theme-light {
  --c-sh: #1565c0;
  --c-ch: #b34700;
  --c-th: #1b7a3a;
  --c-ng: #7b2fb5;
  --c-ing: #b0197e;
  --c-team: #00757a;
  --c-la: #c62828;
  --c-le: #457000;
  --c-li: #5a4fcf;
  --c-lo: #9a5b00;
  --c-lu: #0b6fa4;
  --c-r: #8d3a6a;
  --c-vt: #a3522e;
  --c-sv: #3f5a75;
  --c-schwa: #6b6470;
  --c-c: #2b2722;
  --c-silent: #5f6570;
  --c-dbl: #00757a;
}

.palette-default.theme-dark {
  --c-sh: #6db3ff;
  --c-ch: #ff9e5e;
  --c-th: #6fd48a;
  --c-ng: #c79bff;
  --c-ing: #ff8ad0;
  --c-team: #4fd1d9;
  --c-la: #ff8a80;
  --c-le: #b5d95a;
  --c-li: #a9a2ff;
  --c-lo: #f2b84b;
  --c-lu: #5cc8f5;
  --c-r: #e79ac3;
  --c-vt: #e8a27c;
  --c-sv: #a9c1dc;
  --c-schwa: #bdb4c4;
  --c-c: #eceae4;
  --c-silent: #9aa1ab;
  --c-dbl: #4fd1d9;
}

.palette-cb.theme-light {
  --c-sh: #0072b2;
  --c-ch: #aa4b00;
  --c-th: #007656;
  --c-ng: #8f5575;
  --c-ing: #6c671e;
  --c-team: #346c8c;
  --c-la: #aa4b00;
  --c-le: #007656;
  --c-li: #0072b2;
  --c-lo: #6c671e;
  --c-lu: #5f6973;
  --c-r: #8f5575;
  --c-vt: #007656;
  --c-sv: #0072b2;
  --c-schwa: #aa4b00;
  --c-c: #1d2026;
  --c-silent: #5d626a;
  --c-dbl: #346c8c;
}

.palette-cb.theme-dark {
  --c-sh: #4d9cc9;
  --c-ch: #dd7e33;
  --c-th: #1aa881;
  --c-ng: #cc79a7;
  --c-ing: #f0e442;
  --c-team: #56b4e9;
  --c-la: #dd7e33;
  --c-le: #1aa881;
  --c-li: #4d9cc9;
  --c-lo: #f0e442;
  --c-lu: #8c98a3;
  --c-r: #cc79a7;
  --c-vt: #1aa881;
  --c-sv: #4d9cc9;
  --c-schwa: #dd7e33;
  --c-c: #f2f0ea;
  --c-silent: #a0a6af;
  --c-dbl: #56b4e9;
}
