.analytics-preferences {
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 80;
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid #cbdced;
  border-radius: 8px;
  background: #fff;
  color: #000923;
  box-shadow: 0 6px 30px #00092326;
}
.analytics-preferences[hidden] { display: none; }
.analytics-preferences h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.analytics-preferences p { margin: 0 0 .5rem; line-height: 1.55; }
.analytics-preferences a { text-decoration: underline; }
.analytics-preferences-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.analytics-preferences-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: start;
  text-decoration: underline;
}
