.burd-consent[hidden], .burd-measurement-settings button[hidden], .burd-consent button[hidden] { display: none !important; }
.burd-consent {
  position: fixed; z-index: 940; inset-inline-end: 1rem; bottom: 1rem;
  width: min(430px, calc(100vw - 2rem)); max-height: calc(100dvh - 180px);
  overflow-y: auto; padding: 1rem; border: 1px solid #ccd2d6; border-radius: 12px;
  background: #fff; color: #17212b; box-shadow: 0 6px 28px #17212b26;
  font-family: inherit; font-size: 0.82rem; line-height: 1.65;
}
.burd-consent h2 { margin: 0 0 0.35rem; font-size: 1rem; }
.burd-consent p { margin: 0 0 0.75rem; }
.burd-consent a { color: #193e59; text-decoration: underline; }
.burd-consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.burd-consent button { min-height: 44px; padding: 0.5rem 0.85rem; background: #17212b; color: #fff; border: 1px solid #17212b; border-radius: 6px; cursor: pointer; font: inherit; }
.burd-consent button:focus-visible, .burd-measurement-settings button:focus-visible { outline: 3px solid #e99047; outline-offset: 3px; }
.burd-measurement-settings { background: #17212b; text-align: center; padding: 0 1rem 1rem; }
.burd-measurement-settings button { color: #fff; background: transparent; border: 0; font: inherit; font-size: 0.8rem; text-decoration: underline; cursor: pointer; min-height: 44px; }
@media (max-width: 900px) {
  .burd-consent { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .burd-measurement-settings { padding-bottom: 100px; }
  /* Keep the existing service dropdown clear; the notice returns when closed. */
  body:has([data-primary-nav][data-open]) .burd-consent { visibility: hidden; }
}
