/* Portail des APK — style « Nuit sobre » (decisions-parent.md D5, palette contrat-s7.md). */
:root {
  --fond: #f6f7f9;
  --texte: #111418;
  --gris: #5f6670;
  --accent: #0f766e;
  --alerte: #92400e;
  --filet: #d5d9de;
  --carte: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #0b0d10;
    --texte: #e8eaed;
    --gris: #9aa0a6;
    --accent: #2dd4bf;
    --alerte: #f59e0b;
    --filet: #2a2f36;
    --carte: #12151a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 16px;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.6 system-ui, "Segoe UI", Inter, sans-serif;
}

main { max-width: 720px; margin: 0 auto; }

h1 {
  font-size: 1.4rem;
  margin: 0 0 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--filet);
}

.bandeau-test {
  border: 1px solid var(--alerte);
  color: var(--alerte);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
}

.intro { color: var(--gris); }

article {
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}

h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }

.pastille-test {
  display: inline-block;
  border: 1px solid var(--alerte);
  color: var(--alerte);
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0 0.5rem;
  vertical-align: middle;
}

.meta { color: var(--gris); margin: 0.2rem 0 0.8rem; }

.telecharger {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  padding: 0 1.2rem;
  background: var(--accent);
  color: var(--fond);
  border-radius: 14px;
  text-decoration: none;
}

.empreinte { font-size: 0.9rem; color: var(--gris); margin: 0.8rem 0 0; }

code {
  word-break: break-all;
  font-size: 0.8rem;
  color: var(--gris);
}

.notes { border-top: 1px solid var(--filet); padding-top: 0.6rem; }

details { margin-top: 0.8rem; }
details summary { cursor: pointer; color: var(--accent); }
details li { margin: 0.3rem 0; }

.vide { color: var(--gris); }

a { color: var(--accent); }

footer {
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: var(--gris);
  font-size: 0.9rem;
  border-top: 1px solid var(--filet);
  padding-top: 0.8rem;
}
