/* SpaceBot tokens (2026-09-29): the one palette every surface reads, the
   report page and its PDF, Beat panes, Home cards, the dashboard and the
   admin hubs. Each stylesheet uses these names instead of its own copy of
   the brand colours. A different chrome is a different set of these values
   (for example under [data-sb-theme="..."] on <html>), not different
   templates. Email is the exception: mail clients drop <style>, so the
   email templates keep their colours inline.

   Brand (SpaceBot guidelines 2025): SB Blue #28AAE2, deep #0F4054,
   teal #12B2B2, light gray #F4F4F4. */
/* Brand fonts, bundled (static/fonts, SIL Open Font License, see OFL-*.txt):
   Quicksand for headlines, Mulish for text. Mulish is Muli's current name;
   the "Muli" faces point at the same files so every existing 'Muli' rule
   gets the real font. Loaded here so any page that reads the tokens (and
   the PDFs, through pdf_url_fetcher) has them. */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/quicksand-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/quicksand-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mulish-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mulish"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mulish-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Muli"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Muli"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mulish-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Muli"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("../fonts/mulish-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* brand */
  --sb-blue: #28aae2;
  --sb-blue-deep: #1d87b5;
  --sb-deep: #0f4054;
  --sb-teal: #12b2b2;
  --sb-cyan: #00ffff;
  --sb-black: #000000;

  /* reading: text, lines, grounds */
  /* the one near-black for text and headings everywhere (the admin's
     ink); not pure black by choice */
  --sb-ink: #1c2b36;
  --sb-muted: #555555;
  --sb-line: #e8eaed;
  --sb-ground: #f8f9fb;
  /* the reports' accent: rules under headings, links, subheads; SB Blue, as
     the guidelines set subheads (it was a Google blue, #3367d6) */
  --sb-accent: var(--sb-blue);

  /* grays */
  --sb-gray-900: #1f2937;
  --sb-gray-700: #4d4d4d;
  --sb-gray-500: #6b7280;
  --sb-gray-300: #cccccc;
  --sb-gray-100: #e5e7eb;
  --sb-gray-50: #f4f4f4;

  /* tones: judgements (good, watch, act) and family colours, never
     decoration */
  --sb-green: #1c7a33;
  --sb-amber: #b7791f;
  --sb-red: #c0392b;
  /* the family colour once purple; now the palette's data blue (the name
     stays for existing callers) */
  --sb-purple: #176180;
  --sb-tone-teal: #0f8b8d;

  /* severity, everywhere a level is shown (Home lists, work orders, map
     markers, dispatch, issues): urgent is the red, medium the amber, so a
     page never shows two reds or two ambers for one meaning */
  --sb-sev-urgent: var(--sb-red);
  --sb-sev-high: #c2410c;
  --sb-sev-medium: var(--sb-amber);
  --sb-sev-low: var(--sb-gray-700);
  --sb-sev-clear: var(--sb-teal);

  /* Type (guidelines 4.0): headlines Quicksand Bold, sentence case, black;
     subheads Muli SemiBold in SB Blue; body Muli Light, in --sb-ink. Mulish is
     Muli's current name on Google Fonts. */
  --sb-font-head: "Quicksand", "Mulish", "Muli", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sb-font-body: "Muli", "Mulish", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sb-font: var(--sb-font-body);
}
