.site-analytics {
  position: fixed;
  z-index: 12;
  inset: auto 1rem 1rem auto;
  width: min(25rem, 100% - 2rem);
  padding: 1rem;
  border: 1px solid #947041;
  background: #13110e;
  box-shadow: 0 12px 35px #000a;
  color: #fff8ed;
}

.site-analytics h2 { margin: 0 0 .4rem; font-size: 1.125rem; }
.site-analytics p { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.4; }
.site-analytics__controls { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: .65rem; }
.site-analytics .button { min-height: 44px; padding: .55rem .85rem; font-size: .875rem; }
.site-analytics .button:disabled { opacity: .5; cursor: default; }
.site-analytics__preferences {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  padding: .45rem .1rem;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
