.statistics-banner {
  position: fixed; z-index: 10000; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 32px; padding: 20px max(24px, calc((100vw - 1240px)/2));
  background: #f5f3ef; color: #191d1b; border-top: 1px solid #b5b9b6;
  box-shadow: 0 -5px 24px #0000000d; font: 16px/1.5 Arial, sans-serif;
  max-height: 80vh; overflow: auto;
}
.statistics-banner[hidden] { display: none; }
.statistics-banner h2 { font: 400 24px/1.2 Georgia, serif; margin: 0 0 8px; }
.statistics-banner p { font: inherit; margin: 8px 0; max-width: 820px; }
.statistics-banner .statistics-note { font-size: 14px; color: #515954; margin-bottom: 0; }
.statistics-banner a { color: inherit; text-decoration: underline; }
.statistics-actions { display: flex; gap: 12px; flex-shrink: 0; }
.statistics-actions button {
  border: 1px solid #424a46; padding: 13px 18px; background: transparent;
  color: #191d1b; font: 600 16px/1.4 Arial, sans-serif; cursor: pointer;
}
.statistics-actions button:hover { background: #e5e2db; }
.statistics-actions button[data-choice="granted"] { background: #191d1b; color: #fff; border-color: #191d1b; }
.statistics-actions button[data-choice="granted"]:hover { background: #343a37; border-color: #343a37; }
.statistics-settings { margin: 12px 0 0; display: block; background: none; border: 0; padding: 4px 0;
  color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.statistics-settings--standalone { margin: 24px; }
body.intake-complete .statistics-settings--standalone { display: none; }
.statistics-banner button:focus-visible,.statistics-settings:focus-visible { outline: 2px solid #925718; outline-offset: 4px; }
@media(max-width: 900px) { .statistics-banner { flex-direction: column; align-items: stretch; gap: 12px; } }
@media(max-width: 420px) { .statistics-actions { flex-direction: column; } }
