/* Nest, brand raven: generated from packages/nest/tokens/nest.tokens.json and raven.tokens.json by npm run tokens. Do not edit here.
   Link it, put data-theme="light" on <html> for the light theme, and load the font it names ("Satoshi"). */
:root { --font-satoshi: "Satoshi"; }
:root {
  color-scheme: dark;

  /* Surface: Backgrounds from the page up to raised layers. Stack them to show depth without adding shadows. */
  --bg: var(--cool-975);
  --surface: var(--cool-925);
  --surface-2: var(--cool-850);
  --surface-3: var(--cool-800);
  --field-bg: var(--cool-975);
  --scrim: var(--ink-shade-78);
  --surface-light: var(--white);

  /* Content: Text colours from primary to muted. Pick by importance, not by looks. */
  --text: var(--cool-50);
  --text-2: var(--cool-250);
  --muted: var(--cool-350);
  --text-disabled: var(--ink-500);

  /* Border: Strokes for dividers, outlines and card edges. */
  --border: var(--cool-tint-9);
  --border-strong: var(--cool-750);
  --border-hover: var(--cool-700);
  --track: var(--cool-750);
  --border-control: var(--ink-550);
  --border-control-hover: var(--ink-450);

  /* Accent: The green that marks selection, links and keyboard focus. */
  --accent: var(--ink-50);
  --accent-text: var(--ink-25);
  --focus: var(--ink-25);
  --accent-soft: var(--cool-850);
  --accent-edge: var(--cool-700);
  --accent-outline: var(--ink-650);
  --on-accent: var(--ink-950);
  --accent-ink: var(--ink-150);
  --accent-ink-muted: var(--ink-250);

  /* Action: The light primary button and the text colour that sits on it. */
  --primary: var(--cool-50);
  --primary-hover: var(--cool-25);
  --on-primary: var(--on-accent);

  /* Status: One colour per meaning, named by what it says and not by its hue: success, warning, danger, info (applied), progress (in process). Each has its text colour, its flat background and its outline. The match score has its own four tiers. */
  --neutral: var(--ink-400);
  --success: var(--green-250);
  --success-wash: var(--green-800);
  --success-edge: var(--green-650);
  --warning: var(--amber-250);
  --warning-wash: var(--amber-800);
  --warning-edge: var(--amber-650);
  --danger: var(--red-350);
  --danger-wash: var(--red-800);
  --danger-edge: var(--red-650);
  --danger-outline: var(--red-550);
  --info: var(--blue-300);
  --info-wash: var(--blue-800);
  --info-edge: var(--blue-650);
  --progress: var(--cyan-300);
  --progress-wash: var(--cyan-800);
  --progress-edge: var(--cyan-650);
  --interest: var(--violet-300);
  --interest-wash: var(--violet-800);
  --interest-edge: var(--violet-650);

  /* Chart: One colour per series in a chart, handed out in order. None is a status colour, so a series never reads as good or bad. Text next to a series stays in text colours; the series colour is only on the mark. */
  --chart-1: var(--azure-350);
  --chart-2: var(--orange-400);
  --chart-3: var(--aqua-400);
  --chart-4: var(--violet-350);
  --chart-5: var(--magenta-400);
  --chart-6: var(--indigo-400);
  --chart-7: var(--brown-350);
  --chart-8: var(--orchid-350);

  /* Primitives: The raw palette the semantic tokens point at. Use a semantic token in components, not these. */
  --moss-25: #f6f9f3;
  --moss-50: #eef2ea;
  --moss-100: #dde5d7;
  --moss-150: #cdd8c6;
  --moss-200: #bdcbb5;
  --moss-250: #aebda8;
  --moss-350: #8e9f90;
  --moss-400: #839588;
  --moss-450: #77887d;
  --moss-500: #687c6f;
  --moss-550: #5c6f63;
  --moss-600: #516256;
  --moss-650: #44574b;
  --moss-700: #394b3f;
  --moss-750: #2f3f35;
  --moss-800: #25342b;
  --moss-850: #1b2921;
  --moss-900: #141e18;
  --moss-950: #0b130e;
  --moss-975: #050a07;
  --ink-25: #f8f8f8;
  --ink-50: #f1f1f1;
  --ink-100: #e2e2e2;
  --ink-150: #d4d4d4;
  --ink-200: #c7c7c7;
  --ink-250: #b8b8b8;
  --ink-350: #9b9b9b;
  --ink-400: #909090;
  --ink-450: #848484;
  --ink-500: #777777;
  --ink-550: #6a6a6a;
  --ink-600: #5e5e5e;
  --ink-650: #535353;
  --ink-700: #474747;
  --ink-750: #3b3b3b;
  --ink-800: #313131;
  --ink-850: #262626;
  --ink-900: #1c1c1c;
  --ink-950: #111111;
  --ink-975: #090909;
  --ink-shade-78: #000000c7;
  --ink-shade-35: #00000059;
  --cool-975: #080a0f;
  --cool-925: #14161c;
  --cool-900: #1a1c22;
  --cool-850: #23262c;
  --cool-800: #2e3137;
  --cool-750: #383b41;
  --cool-700: #44474e;
  --cool-25: #f4f6fa;
  --cool-50: #e8ebf0;
  --cool-250: #a7adb8;
  --cool-350: #959ba7;
  --cool-650: #555b66;
  --cool-tint-9: #e8ebf017;
  --slate-950: #15181e;
  --slate-850: #2c313a;
  --slate-700: #515866;
  --slate-550: #798191;
  --slate-400: #a6acb9;
  --slate-250: #d5dae4;
  --slate-150: #eef2fa;
  --white: #ffffff;
  --sage-25: #f1faf5;
  --sage-50: #e5f5ea;
  --sage-100: #b3dfc3;
  --sage-150: #c1d7c5;
  --sage-200: #97d4ad;
  --sage-250: #abc5b2;
  --sage-300: #7cc499;
  --sage-350: #6fb58b;
  --sage-450: #3d7a56;
  --sage-500: #47654f;
  --sage-550: #2f6747;
  --sage-600: #365c43;
  --sage-650: #275d3b;
  --sage-700: #284e36;
  --sage-750: #1f3b2c;
  --sage-800: #132a1d;
  --sage-850: #1c2820;
  --sage-900: #161d19;
  --green-50: #e5f5e3;
  --green-250: #66d26a;
  --green-300: #9cc396;
  --green-550: #3a7a1c;
  --green-650: #385a33;
  --green-800: #283426;
  --amber-50: #faf0dc;
  --amber-250: #e3b95a;
  --amber-300: #ccb685;
  --amber-550: #8a6414;
  --amber-650: #645025;
  --amber-800: #363021;
  --red-50: #ffe9e7;
  --red-250: #eca8a1;
  --red-350: #e58a80;
  --red-400: #dc877f;
  --red-550: #a1554e;
  --red-600: #a8443c;
  --red-650: #7b423d;
  --red-800: #412b29;
  --cyan-50: #d6f7f9;
  --cyan-250: #6bc7ce;
  --cyan-300: #6ec0c4;
  --cyan-600: #276a70;
  --cyan-650: #005d63;
  --cyan-800: #193536;
  --blue-50: #e7efff;
  --blue-250: #9fb9eb;
  --blue-300: #7fa8e8;
  --blue-550: #3f63b8;
  --blue-650: #3b527e;
  --blue-800: #283040;
  --shade-5: #1c2a210b;
  --shade-12: #080d0a1f;
  --shade-14: #1c2a2124;
  --shade-35: #1c2a2159;
  --shade-50: #080d0a80;
  --shade-78: #080d0ac7;
  --azure-400: #2a78d6;
  --azure-350: #3987e5;
  --orange-350: #eb6834;
  --orange-400: #d95926;
  --aqua-350: #1baf7a;
  --aqua-400: #199e70;
  --violet-450: #6250d6;
  --violet-350: #9085e9;
  --violet-50: #efecff;
  --violet-250: #bdb3f0;
  --violet-300: #aa9df2;
  --violet-550: #5844c2;
  --violet-650: #4c4480;
  --violet-800: #2d2a42;
  --magenta-400: #d55181;
  --indigo-500: #4458c8;
  --indigo-400: #6577e0;
  --brown-450: #a8622a;
  --brown-350: #c07a3e;
  --orchid-400: #a84fc0;
  --orchid-350: #bf6fd3;

  /* Typography: Font families and the size scale. */
  --font-ui: var(--font-satoshi), system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --fs-3xs: 11px;
  --fs-2xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-body-lg: 18px;
  --fs-lg: 20px;
  --fs-xl: 26px;
  --fs-2xl: 32px;
  --fs-3xl: 40px;
  --fs-display-sm: clamp(var(--fs-3xl), 3.6vw, 52px);
  --fs-display-md: clamp(44px, 4.9vw, 76px);
  --fs-display-lg: clamp(88px, 12vw, 152px);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --lh-none: 1;
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.45;
  --lh-relaxed: 1.6;
  --tracking-tight: -0.02em;
  --tracking-open: 0.04em;
  --tracking-wide: 0.08em;
  --tracking-caps: 0.16em;

  /* Spacing: A 4 px scale for padding, gaps and margins. */
  --s-0-5: 2px;
  --s-1: 4px;
  --s-1-5: 6px;
  --s-2: 8px;
  --s-2-5: 10px;
  --s-3: 12px;
  --s-3-5: 14px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 28px;
  --s-8: 32px;
  --s-10: 40px;

  /* Shape: Corner radii and control heights. */
  --radius-xs: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --border-w: 1px;
  --ring-w: 2px;
  --ring-w-lg: 3px;
  --control-h-xs: 28px;
  --control-h-sm: 34px;
  --control-h: 38px;
  --control-h-lg: 44px;
  --switch-w: 36px;
  --switch-h: 20px;
  --bar-h: 12px;
  --avatar-md: 36px;
  --avatar-lg: 44px;
  --icon-sm: 12px;
  --icon-md: 14px;
  --icon-lg: 16px;
  --icon-xl: 20px;
  --icon-line: 1lh;
  --icon-chevron: 15px;
  --icon-btn: 18px;
  --topbar-h: 56px;
  --col-actions-w: 140px;
  --filter-panel-w: 720px;
  --filter-panel-max-h: calc(100dvh - var(--topbar-h) - var(--control-h) * 2 - var(--s-10));
  --cv-scale-narrow: min(0.4, calc((100vw - var(--s-4) * 2 - var(--s-6) * 2 - var(--border-w) * 2) / var(--cv-page-w)));
  --cv-page-w: 840px;
  --cv-page-h: 1190px;
  --dialog-h-wide: calc(100dvh - var(--s-8));
  --dialog-w-wide: 1120px;
  --page-w: 816px;
  --page-w-wide: 1120px;
  --page-w-max: 1280px;
  --notification-panel-w: min(420px, calc(100vw - var(--s-4) * 2));
  --notification-panel-max-h: calc(100dvh - var(--topbar-h) - var(--s-4) * 2);

  /* Elevation: How far a surface sits above the page: one resting shadow, one for what floats, and the glow behind the dashboard. */
  --shadow-card: 0 1px 3px var(--shade-12);
  --shadow-float: 0 12px 32px var(--shade-50);
  --glow: var(--sage-900);

  /* Opacity: How much of a whole element shows: disabled, secondary and faint content, the ambient artwork and the opaque end of a mask. */
  --opacity-dim: 0.55;
  --opacity-muted: 0.8;
  --ambient-opacity: 0.12;
  --mask-opaque: #000;

  /* Motion: Easing curves and durations, from an immediate change to a slow crawl. */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-creep: cubic-bezier(0.1, 0.7, 0.2, 1);
  --dur-instant: 100ms;
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-medium: 300ms;
  --dur-slow: 400ms;
  --dur-slower: 650ms;
  --dur-long: 1000ms;
  --dur-creep: 6s;
  --dur-stagger: 60ms;

  /* Layers: The stacking order, from behind the content to the messages that stay on top. */
  --z-below: -1;
  --z-raised: 1;
  --z-over: 2;
  --z-nav: 20;
  --z-under-sticky: calc(var(--z-sticky) - 1);
  --z-sticky: 30;
  --z-menu: 35;
  --z-header: 40;
  --z-overlay: 45;
  --z-modal: 50;
  --z-toast: 100;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: var(--ink-50);
  --surface: var(--ink-25);
  --surface-2: var(--ink-50);
  --surface-3: var(--ink-100);
  --field-bg: var(--ink-50);
  --scrim: var(--ink-shade-35);
  --surface-light: var(--white);
  --text: var(--ink-850);
  --text-2: var(--ink-650);
  --muted: var(--ink-600);
  --text-disabled: var(--ink-450);
  --border: var(--ink-100);
  --border-strong: var(--ink-200);
  --border-hover: var(--ink-250);
  --track: var(--ink-150);
  --border-control: var(--ink-450);
  --border-control-hover: var(--ink-550);
  --accent: var(--ink-850);
  --accent-text: var(--ink-900);
  --focus: var(--ink-900);
  --accent-soft: var(--ink-100);
  --accent-edge: var(--ink-200);
  --accent-outline: var(--ink-250);
  --on-accent: var(--ink-25);
  --accent-ink: var(--ink-750);
  --accent-ink-muted: var(--ink-600);
  --primary: var(--ink-900);
  --primary-hover: var(--ink-975);
  --neutral: var(--ink-550);
  --success: var(--green-550);
  --success-wash: var(--green-50);
  --success-edge: var(--green-300);
  --warning: var(--amber-550);
  --warning-wash: var(--amber-50);
  --warning-edge: var(--amber-300);
  --danger: var(--red-600);
  --danger-wash: var(--red-50);
  --danger-edge: var(--red-250);
  --danger-outline: var(--red-400);
  --info: var(--blue-550);
  --info-wash: var(--blue-50);
  --info-edge: var(--blue-250);
  --progress: var(--cyan-600);
  --progress-wash: var(--cyan-50);
  --progress-edge: var(--cyan-250);
  --interest: var(--violet-550);
  --interest-wash: var(--violet-50);
  --interest-edge: var(--violet-250);
  --chart-1: var(--azure-400);
  --chart-2: var(--orange-350);
  --chart-3: var(--aqua-350);
  --chart-4: var(--violet-450);
  --chart-5: var(--magenta-400);
  --chart-6: var(--indigo-500);
  --chart-7: var(--brown-450);
  --chart-8: var(--orchid-400);
  --font-ui: var(--font-satoshi), system-ui, sans-serif;
  --shadow-card: 0 1px 3px var(--shade-5);
  --shadow-float: 0 12px 32px var(--shade-14);
  --glow: var(--sage-25);
  --ambient-opacity: 0.20;
}
