.analytics-footer {
  margin-top: 1rem;
}

.analytics-settings {
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.analytics-consent {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.25rem;
  border: 1px solid #c9c7c0;
  background: #f5f3ef;
  color: #202727;
  box-shadow: 0 .75rem 2.25rem #1b221f26;
}

.analytics-consent h2 {
  margin: 0 0 .6rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.analytics-consent p {
  margin: 0 0 .6rem;
  line-height: 1.5;
  font-size: .9375rem;
}

.analytics-consent a {
  text-decoration: underline;
  text-underline-offset: .2em;
  font-size: .875rem;
}

.analytics-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-top: 1rem;
}

.analytics-actions button {
  min-height: 2.75rem;
  padding: .5rem;
  border: 1px solid #202727;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}

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

.analytics-actions button:focus-visible,
.analytics-settings:focus-visible {
  outline: 2px solid #c62832;
  outline-offset: 3px;
}
