.analytics-consent[hidden] { display: none !important; }
.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  width: min(460px, calc(100vw - 40px));
  color: var(--aura8-ink);
}
.analytics-consent__panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--aura8-line);
  border-radius: 18px;
  background: var(--aura8-white);
  box-shadow: 0 18px 60px rgba(11, 18, 32, .24);
}
.analytics-consent__panel .eyebrow { margin-bottom: 10px; }
.analytics-consent__panel h2 { font-size: 26px; line-height: 32px; margin: 0 40px 10px 0; }
.analytics-consent__panel p:not(.eyebrow) { font-size: 14px; line-height: 21px; }
.analytics-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.analytics-consent__actions .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.analytics-consent__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--aura8-line);
  border-radius: 50%;
  background: var(--aura8-white);
  color: var(--aura8-ink);
  font-size: 24px;
  cursor: pointer;
}
.analytics-consent__close[hidden] { display: none !important; }
.analytics-consent__status { min-height: 0; margin: 0 0 12px; color: var(--aura8-warning); }
.analytics-consent__status:empty { display: none; }
.site-footer [data-analytics-open] { cursor: pointer; }

@media (max-width: 600px) {
  .analytics-consent { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .analytics-consent__panel { padding: 22px; }
  .analytics-consent__panel p:not(.eyebrow) { font-size: 13px; line-height: 19px; }
  .analytics-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-consent__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent *, .analytics-consent *::before, .analytics-consent *::after { scroll-behavior: auto !important; }
}
