#wmPublicConsent[hidden],
#wmPublicConsentPreferences[hidden],
#wmPublicConsentError[hidden] {
  display: none !important;
}
#wmPublicConsent {
  position: fixed;
  z-index: 2200;
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  box-sizing: border-box;
  max-width: 760px;
  max-height: 42vh;
  max-height: 42dvh;
  overflow: auto;
  margin: 0 auto;
  padding: 16px clamp(14px, 3vw, 22px);
  border: 1px solid #b3c2d5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 26px rgb(13 35 77 / 22%);
  color: #1c2433;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}
#wmPublicConsent h2 {
  margin: 0 0 8px;
  color: #0d234d;
  font-size: 1.16em;
}
#wmPublicConsent p {
  margin: 0 0 9px;
}
#wmPublicConsent a {
  color: #10437e;
  text-decoration: underline;
}
.wm-public-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#wmPublicConsent button,
#wmPublicConsentPreferences {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #0d234d;
  border-radius: 7px;
  background: #fff;
  color: #0d234d;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
#wmPublicConsentPreferences {
  display: block;
  margin: 12px auto;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
#wmPublicConsent :is(button, a):focus-visible,
#wmPublicConsentPreferences:focus-visible {
  outline: 3px solid #975400;
  outline-offset: 2px;
}
#wmPublicConsentError {
  margin: 8px 0 0;
  color: #8d1f2b;
}
body.wm-public-consent-open :is(#wmWaWrap, .wa-float, #wmSharedBackTop, #wmBackTop) {
  visibility: hidden;
}
@media (max-width: 480px) {
  #wmPublicConsent {
    max-height: 54vh;
    max-height: 54dvh;
  }
  .wm-public-consent-actions button {
    flex: 1 1 120px;
  }
}
