.cookie-consent[hidden], .cookie-settings[hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  padding: 1.25rem max(1rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: #fff;
  color: #052f3b;
  border-top: 4px solid #11aa9e;
  box-shadow: 0 -4px 28px #052f3b33;
  font: 400 1rem/1.5 var(--font, Arial, sans-serif);
}
.cookie-consent-inner { max-width: 64rem; margin: 0 auto; }
.cookie-consent h2 { margin: 0 0 .5rem; font-size: 1.3rem; line-height: 1.25; }
.cookie-consent p { margin: 0 0 .75rem; }
.cookie-consent a { text-underline-offset: .18em; }
.cookie-consent summary { width: fit-content; padding: .4rem 0; cursor: pointer; font-weight: 700; }
.cookie-consent summary:focus-visible, .cookie-option input:focus-visible { outline: 3px solid #0b7f78; outline-offset: 3px; }
.cookie-required { margin-top: .5rem !important; font-size: .9rem; }
.cookie-option { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; cursor: pointer; }
.cookie-option input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: #0b7f78; }
.cookie-option small { display: block; font-size: .9rem; }
.cookie-option:has(input:disabled) { opacity: .65; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.cookie-button {
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border: 2px solid #052f3b;
  border-radius: .4rem;
  background: #fff;
  color: #052f3b;
  font: 700 1rem/1.3 var(--font, Arial, sans-serif);
  cursor: pointer;
}
.cookie-button:hover { background: #ddf5f2; }
.cookie-actions .cookie-button { flex: 1 1 12rem; }
.cookie-settings { display: block; margin: .25rem 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.cookie-settings:hover { color: var(--sun, #11aa9e); }
@media (max-width: 48rem) {
  .cookie-consent { bottom: 4.5rem; max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem); }
}
