/*
  DKHW theme for Blazor Blueprint (NFR-16, REIMAGINED_ARCHITECTURE.md §5, PILOT_NOTES.md §1.1 and §1.3).
  Loaded BEFORE _content/BlazorBlueprint.Components/blazorblueprint.css. The values below are declared outside
  any cascade layer, so they win over the library's layered design tokens. Light theme only.

  Fonts: Fira Sans (OFL-1.1, Google Fonts release "v18"), self-hosted, downloaded by scripts/get-fonts.ps1 into
  wwwroot/fonts (git-ignored). No request to Google Fonts at runtime.
*/

/* ---- Fira Sans, latin-ext ---- */
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/fira-sans-latin-ext-400-normal.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: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/fira-sans-latin-ext-500-normal.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: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/fira-sans-latin-ext-600-normal.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: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/fira-sans-latin-ext-700-normal.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;
}

/* ---- Fira Sans, latin ---- */
@font-face {
  font-family: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/fira-sans-latin-400-normal.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: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/fira-sans-latin-500-normal.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: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/fira-sans-latin-600-normal.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: "Fira Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/fira-sans-latin-700-normal.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;
}

/* ---- Blazor Blueprint theme variables (names from get_component theme, PILOT_NOTES.md §1.1) ---- */
:root {
  --background: #ffffff;
  --foreground: #303030;

  --card: #ffffff;
  --card-foreground: #303030;

  --popover: #ffffff;
  --popover-foreground: #303030;

  --primary: #0069b4;
  --primary-foreground: #ffffff;

  --secondary: #e3f2fb;
  --secondary-foreground: #303030;

  --muted: #f8f8f8;
  --muted-foreground: #5c5c5c;

  /* accent / info per PILOT_NOTES.md §1.3; muted-foreground, border and input are not in the token table. */
  --accent: #5bc5f2;
  --accent-foreground: #002a48;

  --destructive: #e30613;
  --destructive-foreground: #ffffff;

  --border: #dcdcdc;
  --input: #dcdcdc;
  --ring: #5bc5f2;

  --radius: 0.5rem;

  --font-sans: "Fira Sans", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* DKHW tokens that have no Blazor Blueprint variable; used by the app's own Tailwind markup. */
  --dkhw-primary-emphasis: #002a48;
  --dkhw-primary-subtle: #cce1f0;
  --dkhw-info: #5bc5f2;
  --dkhw-success: #52ae32;
  --dkhw-warning: #ea5b1b;
}
