.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 1200;
  inset-inline-end: 20px;
  bottom: 20px;
  width: min(440px, calc(100% - 40px));
  box-sizing: border-box;
  padding: 20px;
  color: #0b2d43;
  background: #fffdf8;
  border: 1px solid #b99457;
  box-shadow: 0 8px 28px rgb(11 45 67 / 16%);
  font-family: inherit;
  text-align: start;
}
.analytics-consent h2 { margin: 0 0 8px; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.analytics-consent p { margin: 0 0 16px; color: #23465b; font-size: 14px; line-height: 1.55; }
.analytics-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.analytics-consent-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #123f5d;
  border-radius: 0;
  background: #fffdf8;
  color: #123f5d;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.analytics-consent-actions button:hover { background: #dcebf0; }
.analytics-consent-actions button:focus-visible, .analytics-preferences:focus-visible { outline: 2px solid #b99457; outline-offset: 3px; }
.analytics-preferences { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.not-found-page .analytics-preferences { justify-self: center; color: var(--ivory); }
@media (max-width: 720px) {
  .analytics-consent { inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 16px; max-height: calc(100dvh - 144px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
  body:has(.mobile-contact.is-browsing) .analytics-consent { bottom: calc(10px + var(--mobile-contact-height)); }
  .analytics-consent h2 { font-size: 17px; }
  .analytics-consent p { margin-bottom: 12px; }
}
