/* FlatInYourCity : tokens de la charte « Cartographe », version plan de métro épuré.
   Clair par défaut, sombre via prefers-color-scheme ou [data-theme="dark"]. */
:root {
  /* Surfaces et texte */
  --bg: #F4F4F0;        /* fond de page */
  --panel: #FFFFFF;     /* cartes, liste, barres */
  --soft: #EFEFEA;      /* champs, pastilles, placeholders */
  --ink: #24262B;       /* texte principal, bureau, stations de correspondance */
  --muted: #858993;     /* texte secondaire */
  --line: #E7E7E1;      /* filets */
  /* Accents */
  --sel: #F08C2B;       /* sélection courante (pin, ligne de liste, onglet) */
  --sel-ink: #FFFFFF;
  --sel-soft: #FDF1E5;  /* fond de la ligne sélectionnée */
  --accent: #2F6FD6;    /* liens */
  /* Sémantique */
  --good: #33A06F; --mid: #E2A03A; --bad: #E05A48;
  /* Carte */
  --m-land: #F7F7F3; --m-park: #DDEBD4; --m-water: #D2E3EF; --m-hood: #B3B6BC;
  --l-orange: #F08C2B; --l-green: #3FA45B; --l-blue: #3A78D8; --l-yellow: #E3B214;
  /* Lieux de vie : une forme et une couleur par type */
  --p-bar: #E05A48;      /* rond */
  --p-cafe: #C99542;     /* triangle */
  --p-marche: #3A78D8;   /* carré arrondi */
  --p-epicerie: #9EA3AB; /* losange */
  /* Typographie */
  --font-head: "Outfit", "Avenir Next", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  /* Formes */
  --r: 14px; --r-sm: 10px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #15171B; --panel: #1C1F24; --soft: #23262C; --ink: #ECEDEF; --muted: #8E939C; --line: #2B2F36;
  --sel: #F49A45; --sel-ink: #1A1209; --sel-soft: #2E241B; --accent: #6E9EF0;
  --good: #57C48F; --mid: #EBB25A; --bad: #F07766;
  --m-land: #1A1D22; --m-park: #1F3328; --m-water: #1C2F42; --m-hood: #565B64;
  --l-orange: #F49A45; --l-green: #4FB86B; --l-blue: #5A8FE6; --l-yellow: #EBC23A;
  --p-bar: #F07766; --p-cafe: #D9AC5C; --p-marche: #6E9EF0; --p-epicerie: #737983; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #15171B; --panel: #1C1F24; --soft: #23262C; --ink: #ECEDEF; --muted: #8E939C; --line: #2B2F36;
  --sel: #F49A45; --sel-ink: #1A1209; --sel-soft: #2E241B; --accent: #6E9EF0;
  --good: #57C48F; --mid: #EBB25A; --bad: #F07766;
  --m-land: #1A1D22; --m-park: #1F3328; --m-water: #1C2F42; --m-hood: #565B64;
  --l-orange: #F49A45; --l-green: #4FB86B; --l-blue: #5A8FE6; --l-yellow: #EBC23A;
  --p-bar: #F07766; --p-cafe: #D9AC5C; --p-marche: #6E9EF0; --p-epicerie: #737983; color-scheme: dark }
