/* Graph Theory Masterclass theme "Hairline" (design option 2): design tokens and web fonts (assets/theme/tokens.css).
   Loaded after the engine stylesheet; these values replace the engine defaults.
   Swiss minimal node-link diagrams: pure white paper, true black 1 px lines and text, Edge Grey #A7ADB6 for every
   hairline and inactive vertex (lines only, never text), Field #F0F2F4 as the one alternate band, and Cobalt #1F4FD8
   as the one accent, which always marks what the reader is looking at (the hovered vertex and its edges, the active
   link, the primary button). Grey text is Slate #5B626C, so that all text passes AA on Paper and on Field. No cards,
   no shadows, no radius. Type: Chivo only (variable, weights 300 to 800, italic 400 for variables); "GT Math" is a
   Gentium Plus slice for the Greek letters and the relation signs Chivo lacks. The engine's --serif and --mono slots
   carry Chivo as well: the design has one typeface. */

@font-face { font-family: "Chivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/chivo-300.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: "Chivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/chivo-300-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chivo"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/chivo-400i.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: "Chivo"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/chivo-400i-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "GT Math"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gentium-plus-400-greek.woff2") format("woff2"); unicode-range: U+0370-03FF; }
@font-face { font-family: "GT Math"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/gentium-plus-400i-greek.woff2") format("woff2"); unicode-range: U+0370-03FF; }
@font-face { font-family: "GT Math"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gentium-plus-400-math.woff2") format("woff2"); unicode-range: U+1D62-1D63, U+2070-209F, U+2190-22FF, U+2308-230B; }
@font-face { font-family: "GT Math"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/gentium-plus-400i-math.woff2") format("woff2"); unicode-range: U+1D62-1D63, U+2070-209F, U+2190-22FF, U+2308-230B; }

:root {
  /* engine tokens */
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f0f2f4;
  --ink: #000000;
  --muted: #5b626c;
  --dim: #5b626c;
  --line: #a7adb6;
  --line-strong: #000000;
  --paper: #ffffff;
  --paper-2: #f0f2f4;
  --paper-ink: #000000;
  --paper-muted: #5b626c;
  --paper-line: #a7adb6;
  --accent: #1f4fd8;
  --accent-ink: #1f4fd8;
  --ok: #1f7a3d;
  --bad: #b3392f;
  --serif: "Chivo", "GT Math", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Chivo", "GT Math", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Chivo", "GT Math", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1376px;
  --header-h: 72px;
  /* the design's own names */
  --paper-white: #ffffff;
  --edge: #a7adb6;
  --slate: #5b626c;
  --field: #f0f2f4;
  --cobalt: #1f4fd8;
  --cobalt-deep: #163ba8;
  /* graph colours: only inside the drawings, where a graph needs more than one colour (a colouring, red and blue edges) */
  --red: #e0352b;
  --yellow: #f5b800;
  --gut: 32px;
  --pad: 32px;
  --mono-real: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; --pad: 16px; }
}
