/* yougent design tokens, from the Yougent Brand Kit (Farben, Typografie). Fonts are self-hosted by the build (no request leaves the server). */
:root {
  /* Core */
  --yg-graphite: #14171C;      /* text, dark surfaces */
  --yg-chalk: #F4F5F2;         /* base surface */
  --yg-white: #FFFFFF;         /* cards */
  --yg-cobalt: #2E46F0;        /* accent: result, action, links. White text on it. */
  --yg-cobalt-light: #9DB0FF;  /* accent on graphite */
  --yg-cobalt-dot: #4F66FF;    /* the logo dot on graphite */
  --yg-slate: #5B6470;         /* secondary text, metadata */
  --yg-fog: #DDE1E6;           /* lines, borders */

  /* Agent colours: tell agents apart, never a surface */
  --yg-agent-sales: #FFB547;
  --yg-agent-accounting: #7FD1AE;
  --yg-agent-hr: #F5A3C7;
  --yg-agent-privacy: #A3B5FF;

  /* Control */
  --yg-approve: #177A4C;
  --yg-stop: #D1343A;

  /* Type */
  --yg-font-display: "Space Grotesk", system-ui, sans-serif;
  --yg-font-text: "Inter", system-ui, sans-serif;
  --yg-font-mono: "JetBrains Mono", ui-monospace, monospace;
}
/* Self-hosted (SIL OFL). Inter ships with LibreChat itself, so only the two brand faces are added here. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/yougent/fonts/SpaceGrotesk.ttf") format("truetype");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/yougent/fonts/JetBrainsMono.ttf") format("truetype");
}
/*
 * yougent skin for LibreChat. Loaded after LibreChat's own stylesheet; only overrides CSS variables and a few
 * selectors, so it survives LibreChat updates as long as the variable names stay (build.sh patches fail loudly if not).
 * Source of truth for colours and type: skins/yougent/tokens.css (concatenated in front of this file), from the Yougent Brand Kit.
 * Brand rules kept here: chalk and white as ground (about 60 %), graphite as text and dark surfaces, cobalt only as the one signal
 * (action, links, result) with white text on it, agent colours never as a surface.
 */

/* Derived tints (not in the brand kit): neutral steps between chalk/fog and graphite for surfaces. */
:root {
  --yg-chalk-2: #ECEEEA;
  --yg-chalk-3: #E3E6E2;
  --yg-fog-strong: #C7CDD4;
  --yg-graphite-deep: #0E1013;
  --yg-graphite-2: #1A1E25;
  --yg-graphite-3: #232830;
  --yg-graphite-4: #2E343E;
  --yg-slate-light: #98A1AD;  /* slate lifted for AA on graphite (6.9:1) */
  --yg-cobalt-hover: #2338C9;
  --yg-warn: #8A5A00;         /* amber as text on chalk (5.4:1) */


  /* LibreChat's raw grey scale (used by utility classes) re-tinted from neutral grey to chalk/graphite. */
  --gray-20: #F7F8F5;
  --gray-50: #F1F2EF;
  --gray-100: #E9EBE7;
  --gray-200: #DDE1E6;
  --gray-300: #C7CDD4;
  --gray-400: #98A1AD;
  --gray-500: #5B6470;
  --gray-600: #343A44;
  --gray-700: #2E343E;
  --gray-800: #1A1E25;
  --gray-850: #14171C;
  --gray-900: #0E1013;
  --gizmo-gray-500: #98A1AD;
  --gizmo-gray-600: #5B6470;
  --gizmo-gray-950: #0E1013;
  --brand-purple: #2E46F0; /* LibreChat's accent for plugin/agent chips becomes cobalt */
}

/* ---------- Light: chalk surfaces, graphite text ---------- */
html {
  --presentation: var(--yg-chalk);
  --text-primary: var(--yg-graphite);
  --text-secondary: var(--yg-slate);
  --text-secondary-alt: var(--yg-slate);
  --text-tertiary: var(--yg-slate);
  --text-warning: var(--yg-warn);
  --text-destructive: var(--yg-stop);
  --ring-primary: var(--yg-cobalt);
  --header-primary: var(--yg-chalk);
  --header-hover: var(--yg-chalk-2);
  --header-button-hover: var(--yg-chalk-2);
  --surface-active: var(--yg-chalk-3);
  --surface-active-alt: var(--yg-fog);
  --surface-hover: var(--yg-chalk-3);
  --surface-hover-alt: var(--yg-fog);
  --surface-primary: var(--yg-chalk);
  --surface-primary-alt: var(--yg-chalk-2);
  --surface-primary-contrast: var(--yg-chalk-3);
  --surface-secondary: var(--yg-chalk-2);
  --surface-secondary-alt: var(--yg-chalk-3);
  --surface-tertiary: var(--yg-chalk-3);
  --surface-tertiary-alt: var(--yg-white);
  --surface-dialog: var(--yg-white);
  --surface-submit: var(--yg-cobalt);
  --surface-submit-hover: var(--yg-cobalt-hover);
  --surface-destructive: var(--yg-stop);
  --surface-destructive-hover: color-mix(in srgb, var(--yg-stop) 85%, #000);
  --surface-chat: var(--yg-chalk);
  --border-light: var(--yg-fog);
  --border-medium-alt: var(--yg-fog);
  --border-medium: var(--yg-fog);
  --border-heavy: var(--yg-fog-strong);
  --border-xheavy: var(--yg-slate);
  --border-destructive: var(--yg-stop);

  /* shadcn tokens (HSL triplets) */
  --background: 80 13% 95%;
  --foreground: 218 17% 9%;
  --card: 0 0% 100%;
  --card-foreground: 218 17% 9%;
  --primary: 218 17% 9%;
  --primary-foreground: 80 13% 95%;
  --secondary: 90 11% 93%;
  --secondary-foreground: 218 17% 9%;
  --muted: 90 11% 93%;
  --muted-foreground: 214 10% 40%;
  --accent: 105 7% 89%;
  --accent-foreground: 218 17% 9%;
  --destructive: 358 63% 51%;
  --destructive-foreground: 0 0% 100%;
  --border: 213 15% 88%;
  --input: 213 15% 88%;
  --ring: 233 87% 56%;
  --radius: 0.625rem; /* 10px: buttons, inputs */
  --switch-unchecked: 214 10% 40%;
}

/* ---------- Dark: graphite surfaces, chalk text ---------- */
html.dark {
  --presentation: var(--yg-graphite);
  --text-primary: var(--yg-chalk);
  --text-secondary: #C5CAD2;
  --text-secondary-alt: var(--yg-slate-light);
  --text-tertiary: var(--yg-slate-light);
  --text-warning: #FFB547;
  --text-destructive: #FF8F94;
  --ring-primary: var(--yg-cobalt-dot);
  --header-primary: var(--yg-graphite-2);
  --header-hover: var(--yg-graphite-3);
  --header-button-hover: var(--yg-graphite-3);
  --surface-active: var(--yg-graphite-3);
  --surface-active-alt: var(--yg-graphite-4);
  --surface-hover: var(--yg-graphite-3);
  --surface-hover-alt: var(--yg-graphite-4);
  --surface-primary: var(--yg-graphite);
  --surface-primary-alt: var(--yg-graphite-deep);
  --surface-primary-contrast: var(--yg-graphite-deep);
  --surface-secondary: var(--yg-graphite-2);
  --surface-secondary-alt: var(--yg-graphite-2);
  --surface-tertiary: var(--yg-graphite-3);
  --surface-tertiary-alt: var(--yg-graphite-3);
  --surface-dialog: var(--yg-graphite-2);
  --surface-submit: var(--yg-cobalt);
  --surface-submit-hover: #4F66FF;
  --surface-destructive: #A3262C;
  --surface-destructive-hover: #861E23;
  --surface-chat: var(--yg-graphite);
  --border-light: rgb(244 245 242 / 0.10);
  --border-medium-alt: rgb(244 245 242 / 0.16);
  --border-medium: rgb(244 245 242 / 0.16);
  --border-heavy: rgb(244 245 242 / 0.24);
  --border-xheavy: rgb(244 245 242 / 0.36);
  --border-destructive: #FF8F94;

  --background: 218 17% 9%;
  --foreground: 80 13% 95%;
  --card: 218 17% 12%;
  --card-foreground: 80 13% 95%;
  --primary: 80 13% 95%;
  --primary-foreground: 218 17% 9%;
  --secondary: 217 16% 16%;
  --secondary-foreground: 80 13% 95%;
  --muted: 217 16% 16%;
  --muted-foreground: 214 11% 64%;
  --accent: 217 16% 16%;
  --accent-foreground: 80 13% 95%;
  --destructive: 358 55% 40%;
  --destructive-foreground: 80 13% 95%;
  --border: 217 16% 16%;
  --input: 217 16% 16%;
  --ring: 231 100% 65%;
  --switch-unchecked: 214 11% 40%;
}

/* ---------- Full-page shells hard-code white / grey-900 (login, error pages): follow the theme instead ---------- */
[class*="min-h-screen"][class*="bg-white"],
[class*="min-h-screen"][class*="bg-gray-"] {
  background-color: var(--surface-primary);
}

/* ---------- Cobalt is a fill with white text (brand rule) ---------- */
.bg-surface-submit,
.bg-surface-submit:hover,
.bg-surface-submit svg {
  color: var(--yg-white);
}
::selection {
  background: color-mix(in srgb, var(--yg-cobalt) 30%, transparent);
}
:focus-visible {
  outline-color: var(--yg-cobalt);
}
html.dark :focus-visible {
  outline-color: var(--yg-cobalt-light);
}

/* ---------- Links: cobalt on light, cobalt light on graphite ---------- */
.markdown a,
.markdown a:visited {
  color: var(--yg-cobalt);
  text-underline-offset: 2px;
}
.markdown a:hover {
  color: var(--yg-graphite);
}
html.dark .markdown a,
html.dark .markdown a:visited {
  color: var(--yg-cobalt-light);
}
html.dark .markdown a:hover {
  color: var(--yg-chalk);
}

/* ---------- Type: Space Grotesk for headlines (tracking -3 %), JetBrains Mono for code and logs, Inter stays for UI and chat ---------- */
h1, h2, h3,
.font-display {
  font-family: var(--yg-font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}
code, kbd, samp, pre,
.font-mono {
  font-family: var(--yg-font-mono) !important;
}

/* ---------- Logo: LibreChat loads assets/logo.svg (cached for days); the mark is swapped by CSS from a fresh path, reversed on dark ---------- */
img[src$="assets/logo.svg"] {
  content: url("/yougent/mark-primary.svg");
}
html.dark img[src$="assets/logo.svg"] {
  content: url("/yougent/mark-reversed.svg");
}
/* Marketplace button and dialog (js/nav.js). */
/* ---------- Agent marketplace in the left rail (see js/nav.js) ---------- */
.st-market {
  border: 0;
  background: transparent;
  cursor: pointer;
  position: fixed;
  left: 6px;
  bottom: 60px;
  z-index: 40;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text-secondary, currentColor);
  text-decoration: none;
}
.st-market:hover { background: color-mix(in srgb, currentColor 10%, transparent); color: var(--text-primary, currentColor); }
.st-market:focus-visible { outline: 2px solid var(--yg-cobalt); outline-offset: 2px; }
.st-market[hidden] { display: none; }
@media (max-width: 767px) { .st-market { display: none; } }

/* Marketplace dialog */
.st-mk-lock { overflow: hidden; }
.st-mk-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 23, 28, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.st-mk-overlay[hidden] { display: none; }
.st-mk-dialog { width: 100%; max-width: 760px; max-height: 88vh; overflow: auto; background: var(--surface-primary, var(--yg-chalk)); color: var(--text-primary, var(--yg-graphite)); border: 1px solid var(--border-medium, var(--yg-fog)); border-radius: 16px; padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.st-mk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-mk-title { margin: 0; font-size: 28px; }
.st-mk-close { border: 0; background: transparent; color: inherit; font-size: 18px; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.st-mk-close:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.st-mk-lead { margin: 8px 0 16px; color: var(--text-secondary, inherit); }
.st-mk-search { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-medium, #DDE1E6); background: var(--surface-secondary, #fff); color: inherit; font: inherit; }
.st-mk-status { min-height: 1.4em; margin: 8px 0; color: var(--text-secondary, inherit); }
.st-mk-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.st-mk-card { border: 1px solid var(--border-medium, #DDE1E6); border-radius: 12px; padding: 16px; background: var(--surface-secondary, transparent); }
.st-mk-card-top { display: flex; align-items: center; gap: 8px; }
.st-mk-card-name { margin: 0; font-size: 18px; }
.st-mk-tag { font-family: var(--yg-font-mono); font-size: 12px; padding: 1px 8px; border: 1px solid var(--border-medium, #DDE1E6); border-radius: 999px; }
.st-mk-card-desc { margin: 6px 0 12px; color: var(--text-secondary, inherit); }
.st-mk-card-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-mk-import { min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--yg-cobalt); color: var(--yg-white); font-weight: 600; cursor: pointer; }
.st-mk-import:hover { background: var(--yg-cobalt-hover); }
.st-mk-import:disabled { opacity: .6; cursor: default; }
.st-mk-card-msg { font-size: 14px; }
.st-mk-open { color: var(--yg-cobalt); text-decoration: underline; }
html.dark .st-mk-open { color: var(--yg-cobalt-light); }
.st-mk-import:focus-visible, .st-mk-close:focus-visible, .st-mk-search:focus-visible, .st-mk-open:focus-visible { outline: 2px solid var(--yg-cobalt); outline-offset: 2px; }
.st-mk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.st-mk-chip { font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--border-medium, #DDE1E6); }
.st-mk-ok { background: color-mix(in srgb, var(--yg-approve) 16%, transparent); border-color: transparent; }
.st-mk-warn { background: color-mix(in srgb, var(--yg-cobalt) 18%, transparent); border-color: transparent; }
.st-mk-muted { color: var(--text-secondary, inherit); }
.st-mk-update { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--yg-cobalt) 14%, transparent); font-size: 14px; line-height: 1.45; }
/* Tresor and Desktop Work: a layer inside LibreChat's agent dialog. Colours come from LibreChat's own variables first, brand tokens second. */
.st-aw-launch { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 0 !important; flex: none !important; padding-inline: 12px !important; white-space: nowrap; font-size: 14px; }
.st-aw-layer { position: absolute; inset: 0; z-index: 20; overflow: auto; border-radius: inherit; background: var(--surface-primary, var(--yg-chalk)); color: var(--text-primary, var(--yg-graphite)); padding: 28px 32px 32px; }
.st-aw-layer[hidden] { display: none; }
.st-aw-inner { max-width: 820px; margin: 0 auto; }
.st-aw-head { display: grid; gap: 14px; margin-bottom: 18px; }
.st-aw-back { justify-self: start; border: 0; background: transparent; color: var(--text-secondary, #5B6470); font: inherit; font-size: 14px; padding: 6px 10px 6px 0; cursor: pointer; }
.st-aw-back:hover { color: inherit; text-decoration: underline; }
.st-aw-title { margin: 0; font-size: 28px; line-height: 1.2; }
.st-aw-sub { margin: 4px 0 0; color: var(--text-secondary, #5B6470); }
.st-aw-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-medium, #DDE1E6); margin-bottom: 16px; }
.st-aw-tab { border: 0; background: transparent; color: var(--text-secondary, #5B6470); font: inherit; font-weight: 600; padding: 10px 16px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.st-aw-tab.is-on { color: inherit; border-bottom-color: var(--yg-cobalt); }
.st-aw-tab:hover { color: inherit; }
.st-aw-status { min-height: 1.4em; }
.st-aw-bad { color: var(--yg-stop); }
html.dark .st-aw-bad { color: #FF8F94; }
.st-aw-lead { margin: 0 0 16px; color: var(--text-secondary, #5B6470); line-height: 1.5; }
.st-aw-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 10px; }
.st-aw-h h3 { margin: 0; font-size: 18px; }
.st-aw-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--border-medium, #DDE1E6); border-radius: 12px; margin-bottom: 10px; background: var(--surface-secondary, transparent); }
.st-aw-rowlabel { font-weight: 600; }
.st-aw-hint { font-size: 13px; color: var(--text-secondary, #5B6470); line-height: 1.4; margin-top: 2px; }
.st-aw-empty { padding: 16px; border: 1px dashed var(--border-medium, #DDE1E6); border-radius: 12px; color: var(--text-secondary, #5B6470); line-height: 1.5; }
.st-aw-card { border: 1px solid var(--border-medium, #DDE1E6); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; background: var(--surface-secondary, transparent); }
.st-aw-cardtop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.st-aw-cardname { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-aw-modeRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.st-aw-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.st-aw-link { color: var(--yg-cobalt); text-decoration: underline; font-size: 14px; }
html.dark .st-aw-link { color: var(--yg-cobalt-light); }
.st-aw-btn { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-medium, #DDE1E6); background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.st-aw-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.st-aw-btn:disabled { opacity: .6; cursor: default; }
.st-aw-primary { background: var(--yg-cobalt); border-color: var(--yg-cobalt); color: var(--yg-white); }
.st-aw-primary:hover { background: var(--yg-cobalt-hover); }
.st-aw-quiet { border-color: transparent; color: var(--text-secondary, #5B6470); }
.st-aw-select { min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border-medium, #DDE1E6); background: var(--surface-primary, #fff); color: inherit; font: inherit; font-size: 14px; }
.st-aw-switch { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; border: 0; background: var(--border-heavy, #C7CDD4); cursor: pointer; transition: background .15s; }
.st-aw-switch.is-on { background: var(--yg-approve); }
.st-aw-switch:disabled { opacity: .6; cursor: default; }
.st-aw-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.st-aw-switch.is-on .st-aw-knob { transform: translateX(20px); }
.st-aw-pill { font-size: 12px; font-weight: 600; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); }
.st-aw-online { background: color-mix(in srgb, var(--yg-approve) 18%, transparent); color: var(--yg-approve); }
html.dark .st-aw-online { color: #5FD39A; }
.st-aw-paused { background: color-mix(in srgb, var(--yg-stop) 14%, transparent); color: var(--yg-stop); }
html.dark .st-aw-paused { color: #FF8F94; }
.st-aw-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--yg-cobalt) 14%, transparent); }
.st-aw-approval { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.st-aw-form { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border-medium, #DDE1E6); border-radius: 12px; margin-bottom: 14px; background: var(--surface-secondary, transparent); }
.st-aw-field { display: grid; gap: 4px; }
.st-aw-field label { font-weight: 600; font-size: 14px; }
.st-aw-form button[type="submit"] { justify-self: start; }
.st-aw-launch:focus-visible, .st-aw-btn:focus-visible, .st-aw-tab:focus-visible, .st-aw-back:focus-visible, .st-aw-switch:focus-visible, .st-aw-select:focus-visible, .st-aw-link:focus-visible { outline: 2px solid var(--yg-cobalt); outline-offset: 2px; }
.st-aw-secret { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--yg-cobalt) 10%, transparent); display: grid; gap: 6px; }
.st-aw-secretrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.st-aw-secretrow .st-aw-hint { min-width: 74px; }
.st-aw-code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; user-select: all; word-break: break-all; }
.st-aw-note { margin-top: 8px; font-size: 14px; color: var(--text-secondary, #5B6470); white-space: pre-wrap; }
.st-aw-area { min-height: 64px; height: auto; padding: 8px 12px; resize: vertical; }
.st-aw-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.st-aw-log li { display: flex; gap: 10px; }
.st-aw-time { flex: none; min-width: 84px; color: var(--text-secondary, #5B6470); font-variant-numeric: tabular-nums; }
.st-aw-failed { color: var(--yg-stop); }
html.dark .st-aw-failed { color: #FF8F94; }
.st-aw-download { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light, #E9EBE7); }
.st-aw-download .st-aw-hint { margin: 6px 0 0; }
@media (max-width: 640px) { .st-aw-layer { padding: 18px 16px; } .st-aw-row, .st-aw-cardtop { flex-direction: column; align-items: stretch; } }

/* Team panel */
.st-aw-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.st-aw-check input { width: 18px; height: 18px; margin: 0; }
/* GENERATED by gen-v089.py from theme.css: colour variables as RGB triplets for LibreChat >= 0.8.9. */
:root {
  --gray-20: 247 248 245;
  --gray-50: 241 242 239;
  --gray-100: 233 235 231;
  --gray-200: 221 225 230;
  --gray-300: 199 205 212;
  --gray-400: 152 161 173;
  --gray-500: 91 100 112;
  --gray-600: 52 58 68;
  --gray-700: 46 52 62;
  --gray-800: 26 30 37;
  --gray-850: 20 23 28;
  --gray-900: 14 16 19;
  --brand-purple: 46 70 240;
}
html {
  --presentation: 244 245 242;
  --text-primary: 20 23 28;
  --text-secondary: 91 100 112;
  --text-secondary-alt: 91 100 112;
  --text-tertiary: 91 100 112;
  --text-warning: 138 90 0;
  --text-destructive: 209 52 58;
  --ring-primary: 46 70 240;
  --header-primary: 244 245 242;
  --header-hover: 236 238 234;
  --header-button-hover: 236 238 234;
  --surface-active: 227 230 226;
  --surface-active-alt: 221 225 230;
  --surface-hover: 227 230 226;
  --surface-hover-alt: 221 225 230;
  --surface-primary: 244 245 242;
  --surface-primary-alt: 236 238 234;
  --surface-primary-contrast: 227 230 226;
  --surface-secondary: 236 238 234;
  --surface-secondary-alt: 227 230 226;
  --surface-tertiary: 227 230 226;
  --surface-tertiary-alt: 255 255 255;
  --surface-dialog: 255 255 255;
  --surface-submit: 46 70 240;
  --surface-submit-hover: 35 56 201;
  --surface-destructive: 209 52 58;
  --surface-destructive-hover: 178 44 49;
  --surface-chat: 244 245 242;
  --border-light: 221 225 230;
  --border-medium-alt: 221 225 230;
  --border-medium: 221 225 230;
  --border-heavy: 199 205 212;
  --border-xheavy: 91 100 112;
  --border-destructive: 209 52 58;
  --link: 46 70 240;
  --link-hover: 35 56 201;
  --link-inline: 46 70 240;
  --link-prose: 46 70 240;
  --text-on-status: 20 23 28;
  --focus-control: 20 23 28;
  --focus-outline: 20 23 28;
  --accent-primary: 46 70 240;
  --accent-primary-hover: 35 56 201;
  --surface-inverted: 20 23 28;
  --surface-inverted-hover: 35 40 48;
  --text-inverted: 244 245 242;
  --button-primary: 20 23 28;
  --button-primary-hover: 35 40 48;
  --surface-composer: 255 255 255;
  --surface-sidebar: 236 238 234;
}
html.dark {
  --presentation: 20 23 28;
  --text-primary: 244 245 242;
  --text-secondary: 197 202 210;
  --text-secondary-alt: 152 161 173;
  --text-tertiary: 152 161 173;
  --text-warning: 255 181 71;
  --text-destructive: 255 143 148;
  --ring-primary: 79 102 255;
  --header-primary: 26 30 37;
  --header-hover: 35 40 48;
  --header-button-hover: 35 40 48;
  --surface-active: 35 40 48;
  --surface-active-alt: 46 52 62;
  --surface-hover: 35 40 48;
  --surface-hover-alt: 46 52 62;
  --surface-primary: 20 23 28;
  --surface-primary-alt: 14 16 19;
  --surface-primary-contrast: 14 16 19;
  --surface-secondary: 26 30 37;
  --surface-secondary-alt: 26 30 37;
  --surface-tertiary: 35 40 48;
  --surface-tertiary-alt: 35 40 48;
  --surface-dialog: 26 30 37;
  --surface-submit: 46 70 240;
  --surface-submit-hover: 79 102 255;
  --surface-destructive: 163 38 44;
  --surface-destructive-hover: 134 30 35;
  --surface-chat: 20 23 28;
  --border-light: 244 245 242;
  --border-light-alpha: 0.10;
  --border-medium-alt: 244 245 242;
  --border-medium-alt-alpha: 0.16;
  --border-medium: 244 245 242;
  --border-medium-alpha: 0.16;
  --border-heavy: 244 245 242;
  --border-heavy-alpha: 0.24;
  --border-xheavy: 244 245 242;
  --border-xheavy-alpha: 0.36;
  --border-destructive: 255 143 148;
  --link: 157 176 255;
  --link-hover: 195 207 255;
  --link-inline: 157 176 255;
  --link-prose: 157 176 255;
  --text-on-status: 20 23 28;
  --focus-control: 244 245 242;
  --focus-outline: 244 245 242;
  --accent-primary: 157 176 255;
  --accent-primary-hover: 195 207 255;
  --surface-inverted: 244 245 242;
  --surface-inverted-hover: 227 230 226;
  --text-inverted: 20 23 28;
  --button-primary: 244 245 242;
  --button-primary-hover: 227 230 226;
  --surface-composer: 35 40 48;
  --surface-sidebar: 14 16 19;
}
