/* Staveta design tokens — v1.0 */
/* For production, self-host the three fonts (SIL OFL) instead of the import above, so no request leaves your servers. */

:root {
  /* Core */
  --st-ink: #0F1B2D;
  --st-paper: #F5F3EE;
  --st-white: #FFFFFF;
  --st-relay: #FF5A2C;       /* primary actions, the agent stroke — use ink text on it */
  --st-relay-deep: #C93A12;  /* relay as text/links on light backgrounds (AA) */
  --st-fjord: #1E6B66;       /* oversight, approved, compliant */
  --st-slate: #5B6575;       /* secondary text */
  --st-line: #DCD8CF;        /* borders, dividers */

  /* States */
  --st-approved: #1E6B66;
  --st-awaiting: #B7791F;
  --st-awaiting-bg: #FBEBD0;
  --st-awaiting-text: #7A4F0F;
  --st-declined: #B42318;

  /* Departments — avatars, tags, org chart only, never buttons */
  --st-dept-sales: #F2A93B;       /* ink text */
  --st-dept-hr: #E07A93;          /* ink text */
  --st-dept-software: #4F5BD5;    /* white text */
  --st-dept-accounting: #2E8B57;  /* white text */
  --st-dept-compliance: #2C4A7A;  /* white text */

  /* Type */
  --st-font-display: "Space Grotesk", system-ui, sans-serif;
  --st-font-text: "Inter", system-ui, sans-serif;
  --st-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --st-text-display: 72px;  /* lh 1.05, tracking -0.04em */
  --st-text-h2: 40px;       /* lh 1.15, tracking -0.03em */
  --st-text-h3: 24px;       /* lh 1.25, tracking -0.02em */
  --st-text-body: 16px;     /* lh 1.6 */
  --st-text-small: 14px;
  --st-text-mono: 13px;

  /* Shape & space */
  --st-radius-sm: 10px;   /* buttons, inputs */
  --st-radius-md: 16px;   /* cards */
  --st-radius-lg: 20px;   /* panels */
  --st-radius-pill: 999px;
  --st-space-1: 4px;
  --st-space-2: 8px;
  --st-space-3: 12px;
  --st-space-4: 16px;
  --st-space-6: 24px;
  --st-space-8: 32px;
  --st-space-12: 48px;
  --st-space-16: 64px;
  --st-tap-min: 44px;
}
/* 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("/staveta/fonts/SpaceGrotesk.ttf") format("truetype");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/staveta/fonts/JetBrainsMono.ttf") format("truetype");
}
/*
 * Staveta 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: brand/tokens.css (concatenated in front of this file).
 */

/* Derived tints (not in the brand kit): neutral steps between Paper/Line and Ink for surfaces. */
:root {
  --st-paper-2: #EFECE5;
  --st-paper-3: #E7E3DA;
  --st-line-strong: #C9C4B8;
  --st-ink-deep: #0B1524;
  --st-ink-2: #162538;
  --st-ink-3: #1D3049;
  --st-ink-4: #274060;
  --st-slate-light: #8D97A6; /* slate lifted for AA on Ink (5.9:1) */
  --st-relay-hover: color-mix(in srgb, var(--st-relay) 88%, #000);

  /* LibreChat's raw grey scale (used by utility classes) re-tinted from neutral grey to paper/ink. */
  --gray-20: #F7F5F1;
  --gray-50: #F2F0EA;
  --gray-100: #EAE7DF;
  --gray-200: #DCD8CF;
  --gray-300: #C9C4B8;
  --gray-400: #8D97A6;
  --gray-500: #5B6575;
  --gray-600: #2E3B50;
  --gray-700: #1D3049;
  --gray-800: #162538;
  --gray-850: #0F1B2D;
  --gray-900: #0B1524;
  --gizmo-gray-500: #8D97A6;
  --gizmo-gray-600: #5B6575;
  --gizmo-gray-950: #0B1524;
  --brand-purple: #FF5A2C; /* LibreChat's accent for plugin/agent chips becomes Relay */
}

/* ---------- Light: Paper surfaces, Ink text ---------- */
html {
  --presentation: var(--st-paper);
  --text-primary: var(--st-ink);
  --text-secondary: var(--st-slate);
  --text-secondary-alt: var(--st-slate);
  --text-tertiary: var(--st-slate);
  --text-warning: var(--st-awaiting);
  --text-destructive: var(--st-declined);
  --ring-primary: var(--st-relay);
  --header-primary: var(--st-paper);
  --header-hover: var(--st-paper-2);
  --header-button-hover: var(--st-paper-2);
  --surface-active: var(--st-paper-3);
  --surface-active-alt: var(--st-line);
  --surface-hover: var(--st-paper-3);
  --surface-hover-alt: var(--st-line);
  --surface-primary: var(--st-paper);
  --surface-primary-alt: var(--st-paper-2);
  --surface-primary-contrast: var(--st-paper-3);
  --surface-secondary: var(--st-paper-2);
  --surface-secondary-alt: var(--st-paper-3);
  --surface-tertiary: var(--st-paper-3);
  --surface-tertiary-alt: var(--st-white);
  --surface-dialog: var(--st-white);
  --surface-submit: var(--st-relay);
  --surface-submit-hover: var(--st-relay-hover);
  --surface-destructive: var(--st-declined);
  --surface-destructive-hover: color-mix(in srgb, var(--st-declined) 85%, #000);
  --surface-chat: var(--st-paper);
  --border-light: var(--st-line);
  --border-medium-alt: var(--st-line);
  --border-medium: var(--st-line);
  --border-heavy: var(--st-line-strong);
  --border-xheavy: var(--st-slate);
  --border-destructive: var(--st-declined);

  /* shadcn tokens (HSL triplets) */
  --background: 43 26% 95%;
  --foreground: 216 50% 12%;
  --card: 0 0% 100%;
  --card-foreground: 216 50% 12%;
  --primary: 216 50% 12%;
  --primary-foreground: 43 26% 95%;
  --secondary: 42 24% 92%;
  --secondary-foreground: 216 50% 12%;
  --muted: 42 24% 92%;
  --muted-foreground: 217 13% 41%;
  --accent: 42 21% 88%;
  --accent-foreground: 216 50% 12%;
  --destructive: 4 76% 40%;
  --destructive-foreground: 43 26% 95%;
  --border: 42 16% 84%;
  --input: 42 16% 84%;
  --ring: 13 100% 59%;
  --radius: 0.625rem; /* 10px: buttons, inputs */
  --switch-unchecked: 217 13% 41%;
}

/* ---------- Dark: Ink surfaces, Paper text ---------- */
html.dark {
  --presentation: var(--st-ink);
  --text-primary: var(--st-paper);
  --text-secondary: #C3C8D1;
  --text-secondary-alt: var(--st-slate-light);
  --text-tertiary: var(--st-slate-light);
  --text-warning: #E5A94A;
  --text-destructive: #F0776B;
  --ring-primary: var(--st-relay);
  --header-primary: var(--st-ink-2);
  --header-hover: var(--st-ink-3);
  --header-button-hover: var(--st-ink-3);
  --surface-active: var(--st-ink-3);
  --surface-active-alt: var(--st-ink-4);
  --surface-hover: var(--st-ink-3);
  --surface-hover-alt: var(--st-ink-4);
  --surface-primary: var(--st-ink);
  --surface-primary-alt: var(--st-ink-deep);
  --surface-primary-contrast: var(--st-ink-deep);
  --surface-secondary: var(--st-ink-2);
  --surface-secondary-alt: var(--st-ink-2);
  --surface-tertiary: var(--st-ink-3);
  --surface-tertiary-alt: var(--st-ink-3);
  --surface-dialog: var(--st-ink-2);
  --surface-submit: var(--st-relay);
  --surface-submit-hover: var(--st-relay-hover);
  --surface-destructive: #8F1D14;
  --surface-destructive-hover: #741710;
  --surface-chat: var(--st-ink);
  --border-light: rgb(245 243 238 / 0.10);
  --border-medium-alt: rgb(245 243 238 / 0.16);
  --border-medium: rgb(245 243 238 / 0.16);
  --border-heavy: rgb(245 243 238 / 0.24);
  --border-xheavy: rgb(245 243 238 / 0.36);
  --border-destructive: #F0776B;

  --background: 216 50% 12%;
  --foreground: 43 26% 95%;
  --card: 214 44% 15%;
  --card-foreground: 43 26% 95%;
  --primary: 43 26% 95%;
  --primary-foreground: 216 50% 12%;
  --secondary: 214 43% 20%;
  --secondary-foreground: 43 26% 95%;
  --muted: 214 43% 20%;
  --muted-foreground: 216 12% 60%;
  --accent: 214 43% 20%;
  --accent-foreground: 43 26% 95%;
  --destructive: 4 70% 35%;
  --destructive-foreground: 43 26% 95%;
  --border: 214 43% 20%;
  --input: 214 43% 20%;
  --ring: 13 100% 59%;
  --switch-unchecked: 216 12% 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);
}

/* ---------- Relay is a fill with Ink text (brand rule), never white text ---------- */
.bg-surface-submit,
.bg-surface-submit:hover,
.bg-surface-submit svg {
  color: var(--st-ink);
}
::selection {
  background: color-mix(in srgb, var(--st-relay) 35%, transparent);
}
:focus-visible {
  outline-color: var(--st-relay);
}

/* ---------- Links: Relay Deep on light (AA), Relay on dark ---------- */
.markdown a,
.markdown a:visited {
  color: var(--st-relay-deep);
  text-underline-offset: 2px;
}
html.dark .markdown a,
html.dark .markdown a:visited {
  color: var(--st-relay);
}

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

/* ---------- Logo: the mark swaps to its reversed variant on dark ---------- */
html.dark img[src$="assets/logo.svg"] {
  content: url("/staveta/mark-reversed.svg");
}

/* ---------- 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(--st-relay, #FF5A2C); 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(15, 27, 45, .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(--st-paper, #F5F3EE)); color: var(--text-primary, var(--st-ink, #0F1B2D)); border: 1px solid var(--border-medium, var(--st-line, #DCD8CF)); 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, #DCD8CF); 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, #DCD8CF); 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(--st-font-mono, monospace); font-size: 12px; padding: 1px 8px; border: 1px solid var(--border-medium, #DCD8CF); 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: #FF5A2C; color: #0F1B2D; font-weight: 600; cursor: pointer; }
.st-mk-import:hover { background: #E94E20; }
.st-mk-import:disabled { opacity: .6; cursor: default; }
.st-mk-card-msg { font-size: 14px; }
.st-mk-open { color: var(--st-relay-deep, #C93A12); text-decoration: underline; }
html.dark .st-mk-open { color: #FF5A2C; }
.st-mk-import:focus-visible, .st-mk-close:focus-visible, .st-mk-search:focus-visible, .st-mk-open:focus-visible { outline: 2px solid #FF5A2C; 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, #DCD8CF); }
.st-mk-ok { background: color-mix(in srgb, #1E6B66 16%, transparent); border-color: transparent; }
.st-mk-warn { background: color-mix(in srgb, #FF5A2C 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, #FF5A2C 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(--st-paper, #F5F3EE)); color: var(--text-primary, var(--st-ink, #0F1B2D)); 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, #5B6575); 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, #5B6575); }
.st-aw-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-medium, #DCD8CF); margin-bottom: 16px; }
.st-aw-tab { border: 0; background: transparent; color: var(--text-secondary, #5B6575); 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: #FF5A2C; }
.st-aw-tab:hover { color: inherit; }
.st-aw-status { min-height: 1.4em; }
.st-aw-bad { color: #B42318; }
html.dark .st-aw-bad { color: #FF8A78; }
.st-aw-lead { margin: 0 0 16px; color: var(--text-secondary, #5B6575); 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, #DCD8CF); 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, #5B6575); line-height: 1.4; margin-top: 2px; }
.st-aw-empty { padding: 16px; border: 1px dashed var(--border-medium, #DCD8CF); border-radius: 12px; color: var(--text-secondary, #5B6575); line-height: 1.5; }
.st-aw-card { border: 1px solid var(--border-medium, #DCD8CF); 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(--st-relay-deep, #C93A12); text-decoration: underline; font-size: 14px; }
html.dark .st-aw-link { color: #FF5A2C; }
.st-aw-btn { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-medium, #DCD8CF); 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: #FF5A2C; border-color: #FF5A2C; color: #0F1B2D; }
.st-aw-primary:hover { background: #E94E20; }
.st-aw-quiet { border-color: transparent; color: var(--text-secondary, #5B6575); }
.st-aw-select { min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border-medium, #DCD8CF); 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, #C9C4B8); cursor: pointer; transition: background .15s; }
.st-aw-switch.is-on { background: #1E6B66; }
.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, #1E6B66 18%, transparent); color: #1E6B66; }
html.dark .st-aw-online { color: #6FD1C9; }
.st-aw-paused { background: color-mix(in srgb, #B42318 14%, transparent); color: #B42318; }
html.dark .st-aw-paused { color: #FF8A78; }
.st-aw-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #FF5A2C 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, #DCD8CF); 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 #FF5A2C; outline-offset: 2px; }
.st-aw-secret { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, #FF5A2C 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, #5B6575); 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, #5B6575); font-variant-numeric: tabular-nums; }
.st-aw-failed { color: #B42318; }
html.dark .st-aw-failed { color: #FF8A78; }
.st-aw-download { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light, #E9E5DC); }
.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 245 241;
  --gray-50: 242 240 234;
  --gray-100: 234 231 223;
  --gray-200: 220 216 207;
  --gray-300: 201 196 184;
  --gray-400: 141 151 166;
  --gray-500: 91 101 117;
  --gray-600: 46 59 80;
  --gray-700: 29 48 73;
  --gray-800: 22 37 56;
  --gray-850: 15 27 45;
  --gray-900: 11 21 36;
  --brand-purple: 255 90 44;
}
html {
  --presentation: 245 243 238;
  --text-primary: 15 27 45;
  --text-secondary: 91 101 117;
  --text-secondary-alt: 91 101 117;
  --text-tertiary: 91 101 117;
  --text-warning: 183 121 31;
  --text-destructive: 180 35 24;
  --ring-primary: 255 90 44;
  --header-primary: 245 243 238;
  --header-hover: 239 236 229;
  --header-button-hover: 239 236 229;
  --surface-active: 231 227 218;
  --surface-active-alt: 220 216 207;
  --surface-hover: 231 227 218;
  --surface-hover-alt: 220 216 207;
  --surface-primary: 245 243 238;
  --surface-primary-alt: 239 236 229;
  --surface-primary-contrast: 231 227 218;
  --surface-secondary: 239 236 229;
  --surface-secondary-alt: 231 227 218;
  --surface-tertiary: 231 227 218;
  --surface-tertiary-alt: 255 255 255;
  --surface-dialog: 255 255 255;
  --surface-submit: 255 90 44;
  --surface-submit-hover: 224 79 39;
  --surface-destructive: 180 35 24;
  --surface-destructive-hover: 153 30 20;
  --surface-chat: 245 243 238;
  --border-light: 220 216 207;
  --border-medium-alt: 220 216 207;
  --border-medium: 220 216 207;
  --border-heavy: 201 196 184;
  --border-xheavy: 91 101 117;
  --border-destructive: 180 35 24;
  --link: 201 58 18;
  --link-hover: 201 58 18;
  --link-inline: 201 58 18;
  --link-prose: 201 58 18;
  --text-on-status: 15 27 45;
  --focus-control: 15 27 45;
  --focus-outline: 15 27 45;
  --accent-primary: 30 107 102;
  --accent-primary-hover: 24 86 82;
  --surface-inverted: 15 27 45;
  --surface-inverted-hover: 29 48 73;
  --text-inverted: 245 243 238;
  --button-primary: 15 27 45;
  --button-primary-hover: 29 48 73;
  --surface-composer: 255 255 255;
  --surface-sidebar: 239 236 229;
}
html.dark {
  --presentation: 15 27 45;
  --text-primary: 245 243 238;
  --text-secondary: 195 200 209;
  --text-secondary-alt: 141 151 166;
  --text-tertiary: 141 151 166;
  --text-warning: 229 169 74;
  --text-destructive: 240 119 107;
  --ring-primary: 255 90 44;
  --header-primary: 22 37 56;
  --header-hover: 29 48 73;
  --header-button-hover: 29 48 73;
  --surface-active: 29 48 73;
  --surface-active-alt: 39 64 96;
  --surface-hover: 29 48 73;
  --surface-hover-alt: 39 64 96;
  --surface-primary: 15 27 45;
  --surface-primary-alt: 11 21 36;
  --surface-primary-contrast: 11 21 36;
  --surface-secondary: 22 37 56;
  --surface-secondary-alt: 22 37 56;
  --surface-tertiary: 29 48 73;
  --surface-tertiary-alt: 29 48 73;
  --surface-dialog: 22 37 56;
  --surface-submit: 255 90 44;
  --surface-submit-hover: 224 79 39;
  --surface-destructive: 143 29 20;
  --surface-destructive-hover: 116 23 16;
  --surface-chat: 15 27 45;
  --border-light: 245 243 238;
  --border-light-alpha: 0.10;
  --border-medium-alt: 245 243 238;
  --border-medium-alt-alpha: 0.16;
  --border-medium: 245 243 238;
  --border-medium-alpha: 0.16;
  --border-heavy: 245 243 238;
  --border-heavy-alpha: 0.24;
  --border-xheavy: 245 243 238;
  --border-xheavy-alpha: 0.36;
  --border-destructive: 240 119 107;
  --link: 255 90 44;
  --link-hover: 255 120 80;
  --link-inline: 255 90 44;
  --link-prose: 255 90 44;
  --text-on-status: 15 27 45;
  --focus-control: 245 243 238;
  --focus-outline: 245 243 238;
  --accent-primary: 109 200 185;
  --accent-primary-hover: 140 214 202;
  --surface-inverted: 245 243 238;
  --surface-inverted-hover: 231 227 218;
  --text-inverted: 15 27 45;
  --button-primary: 245 243 238;
  --button-primary-hover: 231 227 218;
  --surface-composer: 29 48 73;
  --surface-sidebar: 11 21 36;
}
