.analytics-consent[hidden], [data-analytics-preferences][hidden] { display: none; }
.analytics-consent {
  position: fixed; z-index: 1000; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 42rem; padding: 1.25rem; color: var(--graphite); background: var(--ivory);
  border: 1px solid var(--neutral-400); border-radius: var(--radius);
  max-height: calc(100dvh - 2rem); overflow-y: auto; font-family: var(--font);
}
.analytics-consent h2 { font-size: 1.25rem; font-weight: 400; line-height: 1.3; margin: 0 0 .75rem; }
.analytics-consent p { font-size: .9375rem; line-height: 1.5; margin: 0 0 .75rem; }
.analytics-consent-status:empty { display: none; }
.analytics-consent a { color: inherit; text-decoration: underline; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.analytics-consent-actions button {
  min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--graphite);
  border-radius: var(--radius); background: transparent; color: var(--graphite);
  font: inherit; font-size: .9375rem; cursor: pointer;
}
.analytics-consent-actions button:hover { background: var(--sage); }
.analytics-consent :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.analytics-preferences { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; min-height: 44px; }
