.analytics-consent[hidden] { display: none !important; }
.analytics-consent {
  position: fixed;
  z-index: 2147483000;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  width: min(34rem, calc(100% - 2rem));
  margin-inline: auto;
  box-sizing: border-box;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1rem 1.25rem;
  border: 1px solid #c7d4e1;
  border-radius: 0.85rem;
  background: #fff;
  color: #152438;
  box-shadow: 0 0.5rem 2rem #11284140;
  font-size: 0.95rem;
  line-height: 1.45;
}
.analytics-consent h2 { margin: 0 0 0.35rem; font-size: 1.12rem; color: inherit; }
.analytics-consent p { margin: 0 0 0.65rem; color: inherit; }
.analytics-consent details { margin: 0 0 0.85rem; }
.analytics-consent summary { cursor: pointer; font-weight: 600; }
.analytics-consent details p { margin-top: 0.45rem; }
.analytics-consent a { color: #064982; text-decoration: underline; }
.analytics-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.analytics-consent-actions button {
  min-height: 44px;
  padding: 0.55rem;
  border: 1px solid #16528a;
  border-radius: 0.4rem;
  background: #16528a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #103d68; }
.analytics-consent :focus-visible, .analytics-consent-open:focus-visible { outline: 3px solid #0080ba; outline-offset: 3px; }
.analytics-consent-open { background: transparent; border: 0; color: inherit; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-consent [data-analytics-consent-error] { margin: 0.6rem 0 0; }
