.analytics-consent {
  position: fixed;
  box-sizing: border-box;
  inset-inline: 16px;
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--floating-contact-clearance, 0px));
  z-index: 60;
  width: min(560px, calc(100% - 32px));
  max-height: min(65vh, calc(100dvh - 16px - max(16px, env(safe-area-inset-bottom)) - var(--floating-contact-clearance, 0px)));
  margin-inline: auto;
  padding: 20px;
  overflow: auto;
  color: var(--ink, #26241c);
  background: var(--paper, #fffdf6);
  border: 1px solid var(--line, #a29d8c);
  border-radius: 8px;
  box-shadow: 0 8px 28px #2425212b;
}

.analytics-consent h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.analytics-privacy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.analytics-consent-actions button {
  min-height: 44px;
  padding: 8px 14px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.analytics-settings {
  min-height: 44px;
  padding: 4px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
