.av-cookie-banner[hidden] { display: none !important; }
/* A fixed consent banner must not cover form or footer controls. The measured
   space disappears as soon as a choice is saved or the settings dialog opens. */
html { scroll-padding-bottom: var(--av-cookie-banner-space, 0px); }
body { padding-bottom: var(--av-cookie-banner-space, 0px); }
button, input, select, textarea, a[href], [tabindex] {
  scroll-margin-bottom: var(--av-cookie-banner-space, 0px);
}
.av-cookie-banner button, .av-cookie-banner a { scroll-margin-bottom: 0; }
.av-cookie-banner {
  position: fixed; inset: auto 16px 16px; z-index: 1060;
  display: flex; align-items: center; gap: 24px;
  max-width: 1400px; margin-inline: auto; padding: 20px 24px;
  background: #fff; color: #172c35; border: 1px solid #8da8b2;
  border-radius: 6px; box-shadow: 0 4px 24px #132d3940;
  max-height: 65vh; overflow-y: auto;
}
.av-cookie-banner h2 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.av-cookie-banner p { margin: 0; max-width: 850px; font-size: 14px; line-height: 1.5; }
.av-cookie-banner a { color: #005f88; text-decoration: underline; }
.av-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.av-cookie-banner .av-cookie-actions { flex: 0 0 auto; }
.av-cookie-actions button {
  min-height: 44px; padding: 10px 14px; border: 1px solid #005f88;
  border-radius: 4px; background: #fff; color: #00446a;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.av-cookie-actions button:hover { background: #eaf4f7; }
.av-cookie-actions button:focus-visible, .av-cookie-analytics-option input:focus-visible {
  outline: 3px solid #0089bd; outline-offset: 3px;
}
.av-cookie-analytics-option { align-items: center; gap: 20px; }
.av-cookie-analytics-option label { margin: 0; cursor: pointer; }
.av-cookie-analytics-option label span { display: block; font-size: 14px; line-height: 1.5; font-weight: 400; margin-top: 4px; }
.av-cookie-analytics-option input { width: 24px; height: 24px; min-width: 24px; accent-color: #005f88; cursor: pointer; }
.av-cookie-page-settings { margin: 16px; padding: 8px; background: transparent; border: 0; color: #005f88; text-decoration: underline; }
@media (max-width: 1100px) {
  .av-cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
}
@media (max-width: 640px) {
  .av-cookie-banner { inset: auto 8px 8px; padding: 16px; border-radius: 0; }
  .av-cookie-actions button { flex: 1 1 auto; }
}
