.analytics-preferences[hidden], .analytics-status[hidden], .analytics-settings[hidden] { display: none; }
.analytics-preferences { position: fixed; z-index: 100; inset-inline: 1rem; bottom: calc(5.5rem + env(safe-area-inset-bottom)); max-width: 42rem; max-height: calc(100dvh - 10rem); overflow: auto; margin-inline: auto; padding: 1.25rem; border: 1px solid #76877e; border-radius: .75rem; background: #fff; color: #172f24; box-shadow: 0 .5rem 2rem #0003; }
.analytics-preferences h2 { font-size: 1.15rem; margin: 0 0 .65rem; }
.analytics-preferences p { font-size: .95rem; line-height: 1.7; margin: .65rem 0; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.analytics-actions .button { flex: 1; min-width: 8rem; min-height: 2.75rem; justify-content: center; }
.analytics-settings { margin-left: .75rem; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: .5rem; }
.analytics-status { position: fixed; z-index: 101; inset-inline: 1rem; bottom: calc(5.5rem + env(safe-area-inset-bottom)); max-width: 42rem; margin-inline: auto; padding: 1rem; border: 1px solid #76877e; border-radius: .5rem; background: #fff; color: #172f24; }
@media (min-width: 800px) { .analytics-preferences, .analytics-status { bottom: 1.5rem; } }
