.analytics-consent {
  position: fixed;
  z-index: 500;
  inset: auto 1rem 1rem auto;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid #d8dedb;
  border-radius: 0.75rem;
  background: #fff;
  color: #18261f;
  box-shadow: 0 0.4rem 2rem #0003;
}
.analytics-consent[hidden] {
  display: none;
}
.analytics-consent p {
  margin: 0.5rem 0;
}
.analytics-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.analytics-consent-actions button {
  border: 1px solid #345a48;
  border-radius: 0.4rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  background: #fff;
  color: #173b2a;
}
.analytics-consent-actions button[data-allow] {
  background: #173b2a;
  color: #fff;
}
.analytics-consent-actions button:focus-visible,
.analytics-preference-link:focus-visible,
.analytics-preference-mobile:focus-visible {
  outline: 3px solid #397c5a;
  outline-offset: 2px;
}
.analytics-preference-mobile {
  display: none;
}
@media (max-width: 700px) {
  .analytics-preference-mobile {
    display: block;
    margin: 0.75rem auto;
    padding: 0.5rem;
    background: transparent;
    border: 0;
    color: var(--ink, #18261f);
    text-decoration: underline;
    cursor: pointer;
  }
}
.analytics-preference-link {
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
