/* gio tokens. Values from the gio brandbook (11-interfata/gio-jetoane.css, 06-culori, 07-fonturi);
   token names from option D (ADR-0050). Light first; every colour is redefined for dark.
   Contrast of every pair and the source of every value: docs/design/tokens.md.
   Derived (not in the brandbook, built from its neutrals): --c-hair, --c-accent-bg, --c-scrim, --shadow. */
@font-face {
  font-family: "Public Sans"; src: url(/static/fonts/public-sans-latin-normal.woff2) format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Public Sans"; src: url(/static/fonts/public-sans-latin-ext-normal.woff2) format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  color-scheme: light dark;
  --c-paper: #EBEDF1;      /* Hartie, fundal: page and map canvas */
  --c-surface: #FCFDFF;    /* Alb, suprafata: territories, cards, search, bar */
  --c-raised: #F5F7FA;     /* ridicat: suggestions, menus, hover */
  --c-ink: #15171A;        /* Grafit, text: text, nodes, path nodes */
  --c-ink-2: #61666F;      /* Gri, text secundar */
  --c-line: #7B8089;       /* Contur: borders, territory outlines */
  --c-edge: #7B8089;       /* linie neselectata: ties outside the selection, group links */
  --c-hair: #BABEC4;       /* derived, chart "zgomot": separators only, no meaning */
  --c-accent: #4C6BA6;     /* Cerneala: links, focus, the path, the chosen group */
  --c-accent-bg: #EEF1F8;  /* derived: 8 % Cerneala into Alb; selected row, active chip */
  --c-on-accent: #FCFDFF;  /* pe accent */
  --c-scrim: rgb(21 23 26 / 0.32);   /* derived from Grafit: over the map while the advanced search is open */
  /* category ties: names match edges.category in /api/map.json */
  --c-cat-family: #6A3446; --c-cat-business: #4184A0; --c-cat-political: #254971; --c-cat-financial: #584503;
  --c-cat-social: #375F36; --c-cat-judicial: #A4685E; --c-cat-media: #A5540B;
  --font-ui: "Public Sans", Arial, sans-serif;
  --font-quote: var(--font-ui);  /* one family; kept as a name so base.css need not change */
  --font-code: var(--font-ui);   /* figures use tabular-nums, not a monospace face */
  --t-xs: 0.8125rem; --t-sm: 0.875rem; --t-base: 1rem; --t-lead: 1.125rem; --t-h1: 1.5rem; --t-claim: 1.375rem;
  --w-text: 400; --w-strong: 600;
  --bar: 3.75rem; --strip: 2.75rem; --panel: 27rem;
  --radius: 0.5rem; --control: 2.75rem;
  --shadow: 0 12px 32px rgb(21 23 26 / 0.16), 0 2px 6px rgb(21 23 26 / 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --c-paper: #16181B; --c-surface: #1E2024; --c-raised: #292B30; --c-ink: #FCFDFF; --c-ink-2: #9A9FA6;
    --c-line: #7B8089; --c-edge: #7B8089; --c-hair: #4C5057; --c-accent: #7092D0; --c-accent-bg: #252932;
    --c-on-accent: #15171A; --c-scrim: rgb(21 23 26 / 0.6);
    --c-cat-family: #AE7284; --c-cat-business: #9CDFFE; --c-cat-political: #8FB8E6; --c-cat-financial: #B8A369;
    --c-cat-social: #86B285; --c-cat-judicial: #F4B1A6; --c-cat-media: #BC8866;
    --shadow: 0 12px 32px rgb(21 23 26 / 0.6), 0 2px 6px rgb(21 23 26 / 0.5);
  }
}
@media (min-width: 48em) { :root { --bar: 4.25rem; } }
@media (min-width: 64em) { :root { --t-h1: 1.75rem; --t-claim: 1.5rem; } }
