/* Copied from xentros-hos src/styles/hos/hos-tokens.css (DESIGN.md section 3).
   Keep in sync with HOS: change values there first, then copy. Never edit here alone. */
/* Xentros HOS design tokens (DESIGN.md, section 3).
   The ONLY file that may define --hos-* properties. Change values only together with DESIGN.md
   and re-run docs/design/tools/tokens.py to check contrast. Never alias legacy variables to these. */
:root {
  color-scheme: light;
  --hos-bg-app: #F6F6F4;
  --hos-bg-surface: #FFFFFF;
  --hos-bg-subtle: #FBFBFA;
  --hos-bg-muted: #F0EFEC;
  --hos-bg-active: #EBEAE6;
  --hos-bg-row-hover: #FAFAF8;
  --hos-bg-row-selected: #F4F7FE;
  --hos-line: #E6E5E1;
  --hos-line-soft: #EFEEEA;
  --hos-line-input: #D6D5D0;
  --hos-text: #1D1D1B;
  --hos-text-2: #4A4945;
  --hos-text-muted: #5F5E5A;
  --hos-text-faint: #6E6D68;
  --hos-link: #2155C9;
  --hos-link-hover: #163E95;
  --hos-focus: #2155C9;
  --hos-primary-bg: #1D1D1B;
  --hos-primary-fg: #FFFFFF;
  --hos-ok-bg: #E8F2EC;
  --hos-ok-fg: #1F5C38;
  --hos-ok: #2F7D4F;
  --hos-warn-bg: #FBF1E1;
  --hos-warn-fg: #7A4300;
  --hos-warn: #C77700;
  --hos-bad-bg: #FBEAE8;
  --hos-bad-fg: #962A21;
  --hos-bad: #C4352B;
  --hos-info-bg: #EAF0FD;
  --hos-info-fg: #1D4AA8;
  --hos-info: #2155C9;
  --hos-info-line: #C3D3F6;
  --hos-neutral: #8A8984;
  --hos-rack-arrival-bg: #DCE6FB;
  --hos-radius: 6px;
  --hos-radius-lg: 8px;
  --hos-radius-pill: 999px;
  --hos-font-sans: Geist, system-ui, sans-serif;
  --hos-font-mono: "Geist Mono", ui-monospace, monospace;
  --hos-hatch: repeating-linear-gradient(135deg, var(--hos-line-input) 0 3px, var(--hos-bg-muted) 3px 6px);
}

/* Authentication is intentionally always dark. It must not inherit a browser's
   first-run light workspace preference, because its translucent photograph is
   composed against --hos-bg-app. */
:root[data-hos-theme="dark"],
.hos-ui.hos-auth {
  color-scheme: dark;
  --hos-bg-app: #121211;
  --hos-bg-surface: #191917;
  --hos-bg-subtle: #1E1E1C;
  --hos-bg-muted: #262623;
  --hos-bg-active: #2C2C29;
  --hos-bg-row-hover: #1D1D1B;
  --hos-bg-row-selected: #1A2236;
  --hos-line: #2D2D2A;
  --hos-line-soft: #242422;
  --hos-line-input: #3D3D39;
  --hos-text: #ECECE8;
  --hos-text-2: #C4C3BD;
  --hos-text-muted: #A09F99;
  --hos-text-faint: #8F8E88;
  --hos-link: #8CB0F8;
  --hos-link-hover: #B5CCFB;
  --hos-focus: #8CB0F8;
  --hos-primary-bg: #ECECE8;
  --hos-primary-fg: #141413;
  --hos-ok-bg: #16291D;
  --hos-ok-fg: #94D6AC;
  --hos-ok: #44AA70;
  --hos-warn-bg: #2F2411;
  --hos-warn-fg: #F0C274;
  --hos-warn: #E2A33A;
  --hos-bad-bg: #35191A;
  --hos-bad-fg: #F5A49B;
  --hos-bad: #E8604F;
  --hos-info-bg: #172440;
  --hos-info-fg: #AFC8FB;
  --hos-info: #7AA2F7;
  --hos-info-line: #2E4677;
  --hos-neutral: #7E7D78;
  --hos-rack-arrival-bg: #1F3158;
}
