/* =====================================================================
   N2 dashboard theme: the single place to change how the site looks.

   Every page (dashboard, editor) is styled from these settings, so a
   restyle normally means editing only this file:
     - Fonts: change the @import line and the --font-* settings.
     - Colours: --navy (banner, headings) and --blue (accent) carry the
       brand; --green/--amber/--red/--grey are the traffic lights; the
       --bt-/--bis-/--stac-/--nag- pairs are the business colours
       (strong colour + light tint for the card header).
     - Shape: --radius, --radius-sm and --shadow.
     - Layout: --content-max (page width).
   Components live in design/dashboard.css (and design/editor.css) and
   only reference these names: change a setting here, not there.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* Typography */
  --font-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Brand */
  --navy: #1B2A4A;
  --navy-tint: #E8EDF5;    /* table header band, N2 card header */
  --blue: #3B7DD8;         /* accent: active tab, progress, current period */
  --blue-soft: #E3ECF9;
  --banner-text: #B0C4DE;  /* secondary text on the navy banner */

  /* Neutrals */
  --text: #202124; --text-mid: #5F6368; --text-light: #80868B;
  --bg: #F6F7F9; --white: #FFFFFF;
  --line: #E6E9EF;         /* hairlines inside cards */
  --line-strong: #D3D9E4;  /* card outlines, header rules */

  /* Traffic lights */
  --green: #1E8E3E; --green-bg: #E6F4EA;
  --amber: #C26A00; --amber-bg: #FEF3DC;
  --red:   #D93025; --red-bg:   #FCE8E6;
  --grey:  #9AA0A6; --grey-bg:  #EEF0F2;

  /* Businesses: strong colour + tint */
  --bt-teal: #0D7C66;     --bt-teal-bg: #E0F2EE;
  --bis-purple: #6C3483;  --bis-purple-bg: #EDE0F5;
  --stac-orange: #BE5504; --stac-orange-bg: #FDECD4;
  --nag-blue: #1A2B4A;    --nag-blue-bg: #DBE8F8;

  /* Shape and depth */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(27, 42, 74, 0.05);

  /* Layout */
  --content-max: 1200px;
  --gutter: max(16px, calc((100% - var(--content-max)) / 2 + 24px));  /* lines header up with content */

  /* Aliases used by design/editor.css */
  --accent: var(--blue); --accent-soft: rgba(59, 125, 216, 0.15);
  --surface: var(--white); --surface-alt: #FAFBFF;
  --ink-soft: var(--text-light); --bad: var(--red); --space: 8px;
}
