.analytics-consent[hidden], .analytics-preferences[hidden] { display: none !important; }
.analytics-consent { position: fixed; z-index: 90; left: 24px; right: 24px; bottom: 20px; max-width: 1160px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 50px #00182435; }
.analytics-consent-copy { max-width: 740px; }
.analytics-consent h2 { font-family: Nunito,Arial,sans-serif; font-size: 16px; font-weight: 700; line-height: 1.4; margin: 0 0 7px; letter-spacing: 0; }
.analytics-consent h2:focus { outline: none; }
.analytics-consent p { font-size: 13px; line-height: 1.65; margin: 0; color: var(--muted); }
.analytics-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; flex: none; gap: 10px; }
.analytics-consent-actions button { appearance: none; min-width: 104px; min-height: 45px; padding: 11px 16px; border: 1px solid var(--blue); border-radius: 4px; background: transparent; color: var(--ink); font: 600 14px/1.4 Nunito,Arial,sans-serif; cursor: pointer; }
.analytics-consent-actions button:hover { background: var(--bg); }
.analytics-consent-actions button:focus-visible, .analytics-preferences:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.analytics-preferences { appearance: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; min-height: 36px; font: inherit; line-height: 1.4; color: inherit; background: transparent; cursor: pointer; }
.analytics-consent-open .floating-cta { bottom: calc(var(--consent-bar-height, 150px) + 36px); }
@media (max-width:700px) {
  .analytics-consent { left: 14px; right: 14px; bottom: 14px; display: block; padding: 18px; }
  .analytics-consent-actions { margin-top: 16px; }
  .analytics-consent-actions button { flex: 1; }
  .analytics-consent p { font-size: 12px; }
}
