.analytics-choices[hidden], .analytics-settings[hidden] { display: none; }
.analytics-choices {
  position: fixed;
  z-index: 8;
  inset: auto 16px 16px auto;
  width: min(420px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 4px 20px #39292322;
  color: var(--ink);
}
.analytics-choices h2 { font-size: 1.4rem; margin-bottom: 8px; }
.analytics-choices p { margin: 0 0 12px; font-size: .94rem; }
.analytics-choices .actions { gap: 8px; }
.analytics-choices .button { min-height: 44px; padding: 8px 12px; }
.analytics-settings { font: inherit; color: var(--accent); padding: 0; background: none; border: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 650px) {
  .analytics-choices { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
