.analytics-consent[hidden], .analytics-consent [hidden], [data-analytics-settings][hidden] { display: none !important; }
body { padding-bottom: var(--analytics-consent-height, 0px); }
.analytics-consent {
  position: fixed;
  z-index: 1000;
  inset: auto 0 0;
  color: var(--ink, #28252c);
  background: #fff;
  border-top: 1px solid var(--line, #e8e4eb);
  font: 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left;
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
}
.analytics-consent__inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 24px;
}
.analytics-consent p { margin: 0; }
.analytics-consent a { color: var(--accent, #874594); text-decoration: underline; text-underline-offset: .18em; white-space: nowrap; }
.analytics-consent__copy { flex: 1; min-width: 0; }
.analytics-consent__current { margin-top: 3px !important; color: var(--muted, #716b77); font-size: 11px; }
.analytics-consent__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.analytics-consent__button {
  padding: 6px 13px;
  border: 1px solid var(--accent, #874594);
  border-radius: 3px;
  color: var(--accent, #874594);
  background: #fff;
  font: 500 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  min-width: 80px;
  min-height: 40px;
}
.analytics-consent__button:hover { background: var(--soft, #faf7fb); }
.analytics-consent__close { border: 0; background: none; color: var(--muted, #716b77); font: inherit; font-size: 12px; cursor: pointer; padding: 6px; min-height: 40px; text-decoration: underline; }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible { outline: 2px solid var(--accent, #874594); outline-offset: 3px; }
.privacy-settings-button { border: 0; padding: 0; color: var(--accent, #874594); background: none; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.analytics-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .analytics-consent__inner { width: calc(100% - 32px); padding-top: 10px; flex-direction: column; align-items: stretch; gap: 8px; }
  .analytics-consent__actions { flex-wrap: wrap; }
  .analytics-consent__button { flex: 1; min-height: 44px; }
  .analytics-consent__close { min-height: 44px; padding-inline: 10px; }
}
