/* Bandeau « mode démo » ajouté par la version statique (dans le flux, au-dessus de l'app : ne cache aucune barre fixe) */
.demo-banner {
  position: relative; z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  padding: 6px 12px; padding-top: max(6px, env(safe-area-inset-top));
  background: rgba(6, 11, 20, .94); color: #dfe7f1; border-bottom: 1px solid rgba(255, 255, 255, .14);
  font: 500 12.5px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-align: center;
}
.demo-banner__back { color: #9fdcff; text-decoration: none; white-space: nowrap; font-weight: 700; }
.demo-banner__back:hover, .demo-banner__back:focus-visible { text-decoration: underline; }
.demo-banner__reset {
  min-height: 28px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: inherit;
  border-radius: 999px; padding: 3px 12px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.demo-banner__reset:hover, .demo-banner__reset:focus-visible { background: rgba(255, 255, 255, .18); }
.demo-banner a:focus-visible, .demo-banner button:focus-visible { outline: 2px solid #9fdcff; outline-offset: 2px; }
.demo-fatal {
  position: fixed; left: 16px; right: 16px; top: 64px; z-index: 2147483001; padding: 14px 16px; border-radius: 12px;
  background: #3b0d0d; color: #fff; font: 600 14px/1.4 system-ui, sans-serif;
}
@media (max-width: 560px) { .demo-banner { font-size: 11.5px; padding-left: 8px; padding-right: 8px; } }
@media print { .demo-banner, .demo-fatal { display: none !important; } }
