/* nw-base.css — the one shared look for every dashboard page.
   One font, one color set, three corner sizes. Pages link this FIRST, then their own
   stylesheet, and use these variables instead of their own hex values and font stacks.
   Every var() in a page carries its old value as the fallback, so a page that cannot
   load this file looks exactly as it did before.
   Colors come from the shell (index.html) and nw_brand.py, which the PDF reports use. */

:root {
  --nw-font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --nw-navy: #003D79;        /* brand, primary buttons, headings */
  --nw-navy-dark: #002D5A;   /* dark navy bands, pressed */
  --nw-navy-bright: #004A8F; /* hover, links */
  --nw-navy-soft: #E8EFF7;   /* selected rows, light navy fills */
  --nw-red: #C8102E;         /* brand red, errors */
  --nw-red-soft: #FDECEA;    /* error banners */
  --nw-green: #1E8E5A;       /* done / OK */
  --nw-green-soft: #E6F4EC;
  --nw-amber: #B45309;       /* waiting / attention */
  --nw-amber-soft: #FEF5EC;
  --nw-ink: #1A1A2E;         /* body text */
  --nw-muted: #5A6B82;       /* secondary text */
  --nw-line: #E2E8F0;        /* borders, dividers */
  --nw-line-strong: #C8D2E0; /* input and button outlines */
  --nw-bg: #F5F7FA;          /* page background */
  --nw-surface: #FFFFFF;     /* cards, panels */

  --nw-radius-sm: 4px;       /* chips, small inputs */
  --nw-radius: 8px;          /* buttons, inputs, cards */
  --nw-radius-pill: 999px;   /* badges */
}

/* Form controls don't inherit the page font in any browser, which is why the same
   page could show Segoe UI text next to an Arial button. Zero specificity: a page's
   own rule still wins. */
:where(button, input, select, textarea) { font-family: inherit; }
