.analytics-consent[hidden], [data-analytics-preferences][hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 1000;
  inset: auto 1rem 1rem;
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(42rem, calc(100% - 2rem));
  max-height: 80vh;
  overflow: auto;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid #727c87;
  border-radius: .75rem;
  box-shadow: 0 6px 24px #001b3440;
  background: #fff;
  color: #142638;
  font-size: 1rem;
  line-height: 1.45;
}
.analytics-consent h2 { margin: 0 0 .4rem; font-size: 1.125rem; }
.analytics-consent p { margin: 0 0 .8rem; }
.analytics-consent a { text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.analytics-consent-actions button {
  flex: 1 1 6rem;
  min-height: 44px;
  background: #fff;
  color: #142638;
  border: 1px solid currentColor;
  border-radius: .35rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.analytics-preferences {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-align: left;
  cursor: pointer;
}
.analytics-consent button:focus-visible, .analytics-preferences:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
