.analytics-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  max-height: calc(100dvh - 40px);
  margin-inline: auto;
  padding: 24px;
  overflow-y: auto;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.3; }
.analytics-consent p { margin: 0; font-size: 15px; line-height: 1.5; }
.analytics-consent a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.analytics-consent-actions .button { min-height: 44px; white-space: nowrap; }
.analytics-settings { min-height: 44px; padding: 0; text-align: start; font: inherit; }
.analytics-settings:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .analytics-consent { inset: auto 12px 12px; max-height: calc(100dvh - 24px); padding: 20px; flex-direction: column; align-items: stretch; gap: 16px; }
  .analytics-consent-actions .button { flex: 1; }
}
