body:has(.analytics-consent) {
  padding-bottom: var(--analytics-panel-space, 0px);
}
.analytics-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 30;
  inset: auto max(24px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) auto;
  width: min(390px, calc(100vw - 48px));
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  margin: 0;
  padding: 18px;
  border: 0;
  border-radius: 22px;
  background: rgb(245 244 240 / 97%);
  color: #303d28;
  box-shadow: 0 8px 36px #20212318;
  backdrop-filter: blur(12px);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.analytics-consent[data-side="left"] {
  left: max(24px, env(safe-area-inset-left));
  right: auto;
}
.analytics-consent[data-obscured="true"] {
  visibility: hidden;
  pointer-events: none;
}
.analytics-consent *,
.analytics-consent *::before,
.analytics-consent *::after {
  box-sizing: border-box;
}
.analytics-consent strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 13px;
}
.analytics-consent p {
  margin: 0;
  color: #65705f;
}
.analytics-consent-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  margin-top: 14px;
}
.analytics-consent button {
  font: inherit;
  font-weight: 650;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: #e7eadf;
  color: #303d28;
  cursor: pointer;
  white-space: normal;
  text-align: center;
}
.analytics-consent button:hover {
  background: #dbe1d1;
}
.analytics-consent button:active {
  transform: translateY(1px);
}
.analytics-consent a {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 11px;
  color: #65705f;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-block: 2px;
}
.analytics-settings {
  font: inherit;
  font-size: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  min-height: 44px;
  cursor: pointer;
  margin-top: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.analytics-consent button:focus-visible {
  background: #303d28;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.analytics-settings:focus-visible,
.analytics-consent a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
@media (max-width: 700px) {
  .analytics-consent,
  .analytics-consent[data-side="left"] {
    left: 16px;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    padding: 16px;
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .analytics-consent button:active {
    transform: none;
  }
}
