.analytics-consent[hidden], .analytics-consent [hidden] { display: none !important; }
.analytics-consent {
  position: fixed; inset: auto auto .75rem .75rem; z-index: 1000; margin: 0;
  width: calc(100% - 1.5rem); max-width: 460px; max-height: calc(100dvh - 1.5rem); overflow: auto;
  display: flex; flex-direction: column; align-items: stretch; gap: .65rem; padding: .875rem;
  background: #f5f1e9; color: #252623; border: 1px solid #737570; border-radius: 12px;
  box-shadow: 0 8px 24px #0006; font: 400 .8125rem/1.45 Arial, sans-serif;
}
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent h2 { font: 600 .875rem/1.4 Arial, sans-serif; margin: 0 0 .25rem; }
.analytics-consent p { margin: 0; }
.analytics-consent a { color: #174da1; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent .analytics-signal { margin-top: .5rem; }
.analytics-consent .analytics-status { margin-top: .35rem; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.analytics-consent button {
  appearance: none; font: inherit; font-weight: 600; color: #252623;
  background: #eeece5; border: 1px solid #737570; border-radius: 6px;
  min-height: 44px; padding: .5rem .65rem; cursor: pointer;
}
.analytics-consent button:hover { background: #e1dfd6; }
.analytics-consent button:disabled { opacity: .6; cursor: default; }
.analytics-settings { appearance: none; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.analytics-settings:hover { text-decoration: underline; }
.analytics-consent button:focus-visible, .analytics-settings:focus-visible { outline: 2px solid #174da1; outline-offset: 4px; }
@media (max-width: 720px) {
  .analytics-consent-actions button { flex: 1; }
}
