/* Couleurs des ambiances Jour et Nuit de l'app (ios/Dreamcase/Theme/AmbiancePalette.swift). */
:root {
  --feuille: #F6F1E7;
  --texte: #1B1F3B;
  --texte-2: #4A4F6E;
  --accent: #2E4A9E;
  --filet: #B8954A;
  --separateur: #D9D0BF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --feuille: #0E1433;
    --texte: #F6F1E7;
    --texte-2: #B9BFDA;
    --accent: #F3C969;
    --filet: #A8873F;
    --separateur: #2A3360;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--feuille);
  color: var(--texte);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
header, nav, main { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--filet);
}
.marque, h1, h2 { font-family: ui-serif, "New York", Georgia, serif; }
.marque { font-size: 22px; color: var(--texte); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 12px; padding-bottom: 12px; }
nav a, .langue { color: var(--texte-2); text-decoration: none; padding: 10px 0; }
nav a[aria-current="page"] { color: var(--texte); text-decoration: underline; text-decoration-color: var(--filet); }
main { padding-bottom: 64px; }
h1 { font-size: 32px; line-height: 1.2; font-weight: 600; margin: 24px 0 8px; }
h2 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 32px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); text-underline-offset: 2px; }
code { font: inherit; }
.tableau { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--separateur); }
th { color: var(--texte-2); font-weight: 600; border-bottom-color: var(--filet); }
