.analytics-footer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.analytics-footer a, .analytics-footer button { color: inherit; }
.analytics-footer button {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.analytics-preferences {
  position: fixed;
  z-index: 100;
  inset: auto 1rem 1rem;
  max-width: 34rem;
  margin-left: auto;
  padding: 1.125rem;
  border: 1px solid #927951;
  border-radius: .75rem;
  background: #fff;
  color: #101d2c;
  box-shadow: 0 .5rem 2rem #0003;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.analytics-preferences h2 { margin: 0; font-size: 1.25rem; }
.analytics-preferences p { margin: .5rem 0; }
.analytics-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.analytics-choices button {
  border: 1px solid #162a42;
  border-radius: .375rem;
  background: #162a42;
  color: #fff;
  padding: .6rem .8rem;
  font: inherit;
  cursor: pointer;
}
.analytics-choices button:hover, .analytics-choices button:focus-visible { background: #29486c; }
