.analytics-choice {
  position: fixed;
  z-index: 30;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: min(360px, calc(100% - 94px));
  padding: 16px;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: #fff;
  color: #191919;
  box-shadow: 0 8px 32px #0002;
}

.analytics-choice[hidden],
.analytics-settings[hidden] { display: none; }

.analytics-choice h2 { font-size: 1rem; margin: 0 0 6px; }
.analytics-choice p { font-size: .875rem; margin: 0 0 12px; }
.analytics-choice a,
.analytics-settings { text-decoration: underline; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.analytics-settings {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
