.analytics-banner[hidden],
.analytics-banner button[hidden] {
  display: none;
}
.analytics-banner {
  position: fixed;
  z-index: 100;
  inset: auto 18px 18px auto;
  width: min(520px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid #8a8a8a;
  border-radius: 6px;
  background: #ffffff;
  color: #000000;
  box-shadow: 0 6px 24px #0002;
  font:
    14px/1.6 system-ui,
    sans-serif;
}
.analytics-banner h2 {
  font:
    700 18px/1.3 system-ui,
    sans-serif;
  margin: 0 0 10px;
}
.analytics-banner p {
  margin: 8px 0;
}
.analytics-banner a {
  text-decoration: underline;
}
.analytics-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.analytics-controls button {
  font:
    600 13px/1.4 system-ui,
    sans-serif;
  padding: 9px 14px;
  color: #000000;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 3px;
  cursor: pointer;
}
.analytics-controls button:focus-visible {
  outline: 3px solid #fe2e1e;
  outline-offset: 3px;
}
.analytics-settings {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
