/*
 * The client view's theme: every colour, typeface, radius and shadow it uses. client-view.css reads these tokens, so a house style is
 * this one file. This is the Compass house look ("Syntar Enterprise Intelligence": institutional, hairline-ruled, navy and teal, Inter
 * with a monospaced metrics face), from the design screens supplied 2026-10-31; docs/design/COMPASS-LOOK_plan.md says what was taken
 * from them and why. The 1.7/1.8 look (rounded, blue-violet) is in git at c691069.
 *
 * Colour roles: --brand is the ACTION colour (the one button per screen, the current step); --brand-2 is the governed teal (focus, selection,
 * progress, verified); --ok is success and done; --bad is danger and errors; --warn is caution (needs a look, not an error); --na is
 * not applicable. They never swap jobs. Where the spec's own colour fails 4.5:1 with white text, the fill is its darker hover shade.
 */
#cv-root {
  --bg: #f8fafc;
  --bg-2: #eaedff;
  --card: #ffffff;
  --card-2: #f4f6ff;
  --rail: #eef1ff;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #576579;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --rule-heavy: #cbd5e1;
  --brand: #0a192f;
  --brand-2: #0d9488;
  --brand-text: #0f766e;
  --brand-ink: #ffffff;
  --brand-hover: #1e293b;
  --brand-soft: #e6f7f4;
  --brand-glow: rgba(13, 148, 136, .28);
  --teal: #0f766e;
  --teal-soft: #f0fdfa;
  --teal-edge: #5eead4;
  --ok: #047857;
  --ok-ink: #ffffff;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --warn-edge: #fcd34d;
  --bad: #be123c;
  --bad-ink: #ffffff;
  --warn-ink: #ffffff;
  --bad-soft: #fff1f2;
  --bad-edge: #fecdd3;
  --na: #94a3b8;
  --hl: #fff1b0;
  --hl-edge: #e7b928;
  --paper: #ffffff;
  --paper-ink: #1e2430;
  /* Depth is hairlines and tonal planes. Tier 2 (sticky bars) and tier 3 (floating panels, popovers) are the only shadows. */
  --shadow: 0 1px 3px 0 rgba(15, 23, 42, .04);
  --shadow-lg: 0 4px 12px -2px rgba(15, 23, 42, .08), 0 2px 4px -1px rgba(15, 23, 42, .04);
  --backdrop: rgba(10, 25, 47, .65);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.5, 1.5, .4, 1);
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --label-track: .05em;
  /* confetti and other decoration read these */
  --deco-1: #0d9488;
  --deco-2: #0a192f;
  --deco-3: #047857;
  --deco-4: #d97706;
  --deco-5: #e11d48;
  --deco-6: #38bdf8;
}
#cv-root[data-theme="dark"] {
  --bg: #0a1424;
  --bg-2: #14233d;
  --card: #0f1b30;
  --card-2: #13233b;
  --rail: #13233b;
  --ink: #e6ecf7;
  --ink-2: #b4c0d6;
  --ink-3: #8a98b0;
  --line: #1f2e48;
  --line-2: #2c3d5c;
  --rule-heavy: #2c3d5c;
  --brand: #5eead4;
  --brand-2: #2dd4bf;
  --brand-text: #5eead4;
  --brand-ink: #0a192f;
  --brand-hover: #99f6e4;
  --brand-soft: #0f2e3d;
  --brand-glow: rgba(45, 212, 191, .3);
  --teal: #2dd4bf;
  --teal-soft: #0d2f35;
  --teal-edge: #1c6b66;
  --ok: #34d399;
  --ok-ink: #04201a;
  --ok-soft: #0f2e24;
  --warn: #fbbf24;
  --warn-soft: #33260c;
  --warn-edge: #7a5a12;
  --bad: #fb7185;
  --bad-ink: #2a0a12;
  --warn-ink: #2a1a02;
  --bad-soft: #3b1620;
  --bad-edge: #7a2f3d;
  --na: #64748b;
  --hl: #5b4d14;
  --hl-edge: #c9a227;
  --paper: #13233b;
  --paper-ink: #e3e8f3;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, .3);
  --shadow-lg: 0 4px 12px -2px rgba(0, 0, 0, .5), 0 2px 4px -1px rgba(0, 0, 0, .3);
  --backdrop: rgba(3, 9, 20, .72);
}
body.cv-mode { --cv-bg: #f8fafc; }
body.cv-mode.cv-dark { --cv-bg: #0a1424; background: #0a1424; }
