.analytics-choice[hidden] { display: none; }
.analytics-choice { position: fixed; inset: auto auto 20px 20px; z-index: 90; width: min(380px, calc(100% - 40px)); padding: 20px; background: #fff; color: #252722; border: 1px solid #e2e2dc; border-radius: 16px; box-shadow: 0 8px 40px #25272218; font-size: 13px; line-height: 1.5; }
.analytics-choice strong { font-size: 15px; }
.analytics-choice p { margin: 7px 0 14px; }
.analytics-choice a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-actions { display: flex; gap: 8px; }
.analytics-actions button { flex: 1; min-height: 44px; border: 1px solid #d5d7d1; border-radius: 8px; background: #faf9f6; color: #252722; font: inherit; font-weight: 600; cursor: pointer; }
.analytics-actions button:hover { background: #eeefeb; }
.analytics-actions button:focus-visible, .analytics-settings:focus-visible { outline: 2px solid #2454eb; outline-offset: 3px; }
.analytics-settings { border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.analytics-settings:hover { text-decoration: underline; }
body.dialog-open .analytics-choice { visibility: hidden; }
@media (max-width: 600px) {
  .analytics-choice { inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px; width: auto; padding: 16px; }
  .analytics-choice-open .mobile-reserve { visibility: hidden; }
}
@media print { .analytics-choice, .analytics-settings { display: none; } }
