.analytics-consent[hidden], .analytics-settings [hidden], .analytics-actions [hidden] { display: none !important; }
.analytics-consent {
  position: fixed; z-index: 1000; inset: auto 12px 12px; margin: auto;
  max-width: 920px; max-height: 80dvh; overflow-y: auto;
  padding: 22px; border: 1px solid #dcdff1; border-radius: 22px;
  background: linear-gradient(120deg, #f0f7ff, #faf3ff);
  color: #192337; box-shadow: 0 12px 50px #34386826;
  font-family: inherit; text-align: left;
}
.analytics-copy h2 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.4; letter-spacing: normal; }
.analytics-copy p { margin: 0; font-size: .95rem; line-height: 1.6; color: #38445a; }
.analytics-copy a { color: #4845a0; text-decoration: underline; }
.analytics-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.analytics-actions button, .analytics-settings button {
  min-height: 44px; padding: 10px 16px; border: 1px solid #b9b9d9;
  border-radius: 12px; font: inherit; cursor: pointer; color: #262749; background: #fff;
}
.analytics-actions button { flex: 1 1 180px; font-weight: 600; }
.analytics-actions button:focus-visible, .analytics-settings button:focus-visible { outline: 3px solid #465ac9; outline-offset: 3px; }
.analytics-settings { padding: 16px; text-align: center; }
.analytics-settings button { font-size: .85rem; }
@media (max-width: 480px) { .analytics-consent { padding: 16px; } .analytics-actions { gap: 8px; } }
