/* Brand tokens: the one place to change the look. Every colour, font and size the skin uses comes from here.
   Loaded after every other stylesheet (see vite.config.js), so these values always win. The name, wordmark
   and tagline are in brand.json, the tab icon in favicon.svg. See BRANDING.md. */
/* IBM Plex is linked from each page's <head> (non-blocking), not @imported here. */

:root {
  /* Fonts */
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nr-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  /* Accent (buttons, links, selection, focus) */
  --nr-blue: #1f5fbf; --nr-blue-2: #2f74d8; --nr-blue-dark: #174a96; --nr-blue-bg: #e8f0fc; --nr-blue-line: #c3d6f5;
  --nr-on-accent: #fff;

  /* Errors */
  --nr-danger: #d9534f; --nr-danger-bg: #fdf0ef; --nr-danger-line: #f3c9c5; --nr-danger-ink: #a1271b;

  /* Done (a message that something was saved, created, deleted...) */
  --nr-ok: #1f8a4c; --nr-ok-bg: #e9f6ee;

  /* Warnings (needs attention, changed, medium priority) */
  --nr-warn: #9a5b00; --nr-warn-bg: #fdf3e2; --nr-warn-line: #f1d7a6;

  /* Text */
  --nr-ink: #1f2420; --nr-ink-2: #3d433c; --nr-muted: #5c625b; --nr-faint: #7c827b; --nr-icon-faint: #9aa09a; --nr-disabled: #b4b8b3;

  /* Surfaces and lines */
  --nr-surface: #fff; --nr-line: #eceeea; --nr-row-line: #f0f1ee; --nr-hover: #f7f8f6; --nr-sub-bg: #fafbf9;
  --nr-border: #e3e5e1; --nr-border-2: #dcdfd9; --nr-btn-hover: #f1f3f0; --nr-scroll: #d6d9d4;

  /* Page background behind cards and windows */
  --nr-page: #f6f7f9;

  /* Sign-in page */
  --nr-page-bg: #f5f8fd; --nr-card-line: #dfe6f1; --nr-input-line: #cfd8e6;

  /* Tables and lists */
  --nr-head: #f3f7fd; --nr-head-ink: #3d4f6b; --nr-head-line: #c3d6f5; --nr-zebra: #f8fbff; --nr-rule: #edf2f9;
  --nr-row-hover: #eef4fd; --nr-row-sel: #e1ecfb; --nr-grip: #9db4d6; --nr-ck-line: #b9c9e2; --nr-scroll-win: #c9d6ea;

  /* Shadows and the dialog mask */
  --nr-shadow-win: 0 10px 32px rgba(31, 36, 32, .14); --nr-shadow-pop: 0 8px 24px rgba(31, 36, 32, .12);
  --nr-shadow-dlg: 0 16px 40px rgba(31, 36, 32, .18); --nr-shadow-toast: 0 8px 24px rgba(31, 36, 32, .2);
  --nr-shadow-btn: 0 1px 4px rgba(31, 36, 32, .12); --nr-shadow-card: 0 12px 32px rgba(23, 42, 74, .08);
  --nr-mask: rgba(23, 42, 74, .28);

  /* Type and density */
  --nr-fs-body: 13.5px; --nr-fs-label: 12.5px; --nr-label-ink: #3d4f6b;
  --nr-ctl-h: 32px; --nr-ctl-line: #d4dceb; --nr-row-h: 38px;

  /* The app's original tokens (tokens.css, window.css), pointed at the brand */
  --win-font: var(--font);
  --brand-green: var(--nr-blue-2);
  --side-head: var(--nr-surface); --side-bg: var(--nr-surface); --side-hover: var(--nr-hover); --side-fg: var(--nr-ink);
  --badge-bg: transparent; --side-w: 320px; --nav-row-h: 46px; --nav-font: 14.5px;
  --win-head: var(--nr-surface);
  --grid-alt: var(--nr-zebra); --grid-sel: var(--nr-row-sel); --grid-line: transparent; --bar-bg: var(--nr-surface); --input-line: var(--nr-ctl-line);
}
