/* Pages légales : lisibles, imprimables, sans dépendance externe. */
:root { --fond: #f6f7f9; --carte: #fff; --texte: #1d2430; --discret: #5b6575; --bord: #e3e7ee; --accent: #1f6fd1; --mark: #fff3c4; }
@media (prefers-color-scheme: dark) {
  :root { --fond: #12161d; --carte: #1a1f28; --texte: #e6e9ee; --discret: #9aa4b4; --bord: #2a313d; --accent: #6aa8ff; --mark: #4a3f12; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: 820px; margin: 0 auto; padding: 1.2rem 1.25rem .4rem; }
.haut a.retour { color: var(--accent); text-decoration: none; font-weight: 600; }
.haut button, .haut select { font: inherit; font-size: .9rem; background: none; border: 1px solid var(--bord); color: var(--texte);
  border-radius: 8px; padding: .35rem .8rem; cursor: pointer; }
main { max-width: 820px; margin: 0 auto 3rem; padding: 2rem 2.2rem; background: var(--carte);
  border: 1px solid var(--bord); border-radius: 16px; }
h1 { font-size: 1.85rem; line-height: 1.2; margin: 0 0 .3rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }
p, li { max-width: 68ch; }
.version { color: var(--discret); font-size: .9rem; margin-top: 0; }
.encadre { background: var(--fond); border: 1px solid var(--bord); border-radius: 10px; padding: .8rem 1rem; font-size: .95rem; }
mark { background: var(--mark); color: inherit; padding: 0 .2em; border-radius: 3px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: start; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--bord); }
nav.autres { max-width: 820px; margin: -2rem auto 3rem; padding: 0 1.25rem; font-size: .92rem; color: var(--discret); }
nav.autres a { color: var(--accent); margin-right: 1rem; }
[lang="en"] [data-lang="fr"], [lang="fr"] [data-lang="en"] { display: none; }
@media (max-width: 640px) { main { padding: 1.3rem 1.1rem; border-radius: 0; border-left: 0; border-right: 0; } h1 { font-size: 1.5rem; } }
@media print { .haut, nav.autres { display: none; } main { border: 0; padding: 0; } body { background: #fff; } }
