.analytics-preferences {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}

#analytics-consent {
  position: fixed;
  z-index: 20;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
  width: min(390px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid #d5e0cd;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px #253d3226;
}

#analytics-consent h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

#analytics-consent p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.analytics-consent-actions {
  display: flex;
  gap: 8px;
}

.analytics-consent-actions button {
  flex: 1;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #cedbc7;
  border-radius: 8px;
  background: #eef4e9;
  color: #245b45;
  font-weight: 600;
}

.analytics-consent-actions button:hover {
  background: #e2ecda;
}
