/* Navigator Pro Process Hub - fonts and colours.
   Every colour used on the site is named here once. */

@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* fonts */
  --font-head: "Barlow", system-ui, sans-serif;
  --font-text: "Source Sans 3", system-ui, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, monospace;

  /* page */
  --page: #f6f4ef;
  --ink: #1c2430;
  --ink-2: #4a5566;
  --line: #e2ddd3;
  --line-strong: #cfc8bb;
  --line-grey: #b9b1a2;
  --card: #ffffff;
  --card-shadow: 0 1px 2px rgba(28,36,48,.06), 0 6px 20px -12px rgba(28,36,48,.18);
  --greyed: #fbfaf8;

  /* header bar (fixed) */
  --bar: #453268;
  --bar-dark: #2c1f45;
  --bar-soft: #d9d0ea;
  --bar-greyed: #c9bfdc;
  --current: #ece7f4;

  /* tables */
  --table-head: #146EA6;
  --table-head-soft: #C5E5F8;

  /* RASCI letters (fixed) */
  --rasci-a: #CF2257;  --rasci-a-tint: #F7D1DD;
  --rasci-r: #127D80;  --rasci-r-tint: #BFF5F6;
  --rasci-ar: #7030A0; --rasci-ar-tint: #E6D5F0;
  --rasci-s: #0B4C91;  --rasci-s-tint: #BDDBFA;
  --rasci-c: #92D050;  --rasci-c-tint: #E9F6DC;
  --rasci-i: #FD6041;  --rasci-i-tint: #FFDFD9;

  /* kind of decision */
  --kind-policy: #146EA6;
  --kind-concession: #C2410C;
  --kind-rule: #2E7D4F;
  --kind-above: #7E3F8C;
  --kind-system: #5B6070;

  /* markers */
  --cert: #408569;      --cert-bg: #D5EBE2;      /* certify row; certification step on any chart, and its legend */
  --cert-sub-bg: #EDF6F2; --cert-sub-line: #cfe5db; /* certifier sub-rows */
  --approve: #453268;   --approve-bg: #ece7f4;   /* approve row */
  --tbs-bg: #f8f0d6;    --tbs-ink: #6b5310;
  --set-bg: #D5EBE2;    --set-ink: #17463A;
  --placeholder-bg: #eef0f3; --placeholder-ink: #4a5566; --placeholder-line: #9aa5b3;
  --proposed: #c65a11;
  --problem: #9b1c1c;   --problem-bg: #fdecec;
  --ok: #2E7D4F;        --ok-bg: #e3f1e7;

  /* authority tiers */
  --tier-1: #C5E5F8; --tier-2: #8BCAF1; --tier-3: #4A9BD0; --tier-light-ink: #042C53;
  --tier-4: #146EA6; --tier-5: #0D4F7A; --tier-joint: #082F4A; --tier-dark-ink: #ffffff;
  --tier-committee: #7E3F8C;

  /* tables */
  --band-bg: #EAF2F8; --band-ink: #0f5580; --elbow: #9fb4c7;

  /* accent palette: main, light, lightest */
  --acc1: #F25764; --acc1-l: #FABCC1; --acc1-ll: #FCDDE0;
  --acc2: #146EA6; --acc2-l: #8BCAF1; --acc2-ll: #C5E5F8; --acc2-ink: #0F537D;
  --acc3: #A0AB38; --acc3-l: #DEE3AA; --acc3-ll: #EEF1D4;
  --acc4: #915296; --acc4-l: #D5B7D8; --acc4-ll: #EADBEB;
  --acc5: #F2A413; --acc5-l: #FADBA1; --acc5-ll: #FCEDD0;
  --acc6: #408569; --acc6-l: #AAD6C5; --acc6-ll: #D5EBE2; --acc6-ink: #30644F;
  --acc7: #F22E52; --acc7-l: #FAABBA; --acc7-ll: #FCD5DC;
}
