/* Compact existing consent panel; no modal, backdrop or body-height spacer. */
.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30;
  max-height: min(50dvh, 340px); overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid #d8e1dc; background: #f3f6f4; color: #26332d;
  text-align: start; padding-bottom: env(safe-area-inset-bottom, 0px);
  font: 14px/1.5 "Segoe UI", "Noto Sans", Arial, Helvetica, sans-serif;
}
.analytics-consent__inner {
  max-width: 1440px; margin-inline: auto; padding: 14px 36px;
  display: flex; align-items: center; gap: 24px;
}
.analytics-consent__copy { flex: 1; min-width: 0; }
.analytics-consent h2 { margin: 0 0 4px; color: #10402f; font-size: 16px; font-weight: 650; line-height: 1.35; }
.analytics-consent p { margin: 0; }
.analytics-consent p[data-consent-signal] { margin-top: 4px; }
.analytics-consent p[data-consent-status] { margin-bottom: 4px; font-size: 13px; color: #5b6860; }
.analytics-consent a, .analytics-preferences { color: #10402f; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent a { white-space: nowrap; }
.analytics-consent a:hover, .analytics-preferences:hover { color: #0b2e22; text-decoration-thickness: 2px; }
.analytics-consent__actions { display: flex; align-items: stretch; gap: 8px; flex: 0 0 auto; }
.analytics-consent__actions button {
  border: 1px solid #10402f; border-radius: 4px; padding: 9px 15px;
  min-height: 44px; max-width: 100%; background: #fff; color: #10402f;
  font: inherit; font-weight: 600; line-height: 1.35; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.analytics-consent__actions button:hover { background: #e5ede8; }
.analytics-consent__actions button[data-consent-choice="accepted"] { background: #10402f; color: #fff; }
.analytics-consent__actions button[data-consent-choice="accepted"]:hover { background: #0b2e22; }
.analytics-consent__actions button[aria-pressed="true"] { outline: 2px solid #10402f; outline-offset: 2px; }
.analytics-consent :is(a, button):focus-visible, .analytics-preferences:focus-visible { outline: 2px solid #10402f; outline-offset: 3px; }
.analytics-preferences { border: 0; padding: 0; background: transparent; font: inherit; cursor: pointer; }
html { scroll-padding-block-end: calc(var(--leoneq-consent-offset, 0px) + 16px); }
html .site-back-top.site-back-top { bottom: calc(24px + var(--leoneq-consent-offset, 0px)); }
@media (max-width: 900px) {
  .analytics-consent__inner { display: block; padding: 12px 20px; }
  .analytics-consent__actions { margin-top: 10px; }
  .analytics-consent__actions button { flex: 1; min-width: 0; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) { .analytics-consent button { transition: none; } }
