.analytics-footer {
  padding: 8px clamp(14px, 2.15vw, 42px) 16px;
  text-align: end;
}
.analytics-footer button {
  color: var(--muted);
  padding: 4px 0;
  font-size: .75rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#analytics-panel {
  position: fixed;
  z-index: 700;
  left: max(12px, env(safe-area-inset-left));
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 60px));
  width: min(22rem, calc(100% - 24px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 5px 24px #231f2029;
}
#analytics-title { font-size: .9375rem; }
#analytics-description { margin: 5px 0 10px; color: var(--muted); font-size: .8125rem; }
.analytics-choices { display: flex; flex-wrap: wrap; gap: 7px; }
.analytics-choices button {
  min-height: 36px;
  padding: 5px 13px;
  border: 1px solid #cfc9cb;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 650;
}
.analytics-choices button:hover { background: var(--soft); }
