.analytics-notice[hidden], .analytics-settings[hidden] { display: none; }
.analytics-settings { border: 0; padding: 0; background: none; color: white; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.analytics-notice { position: fixed; z-index: 1100; bottom: 1rem; left: 1rem; width: min(32rem, calc(100% - 2rem)); max-height: 70vh; overflow: auto; padding: 1.25rem; background: #fff; color: #17181a; border: 2px solid #275fbd; border-radius: 12px; box-shadow: 0 5px 25px #0004; font-size: .9rem; line-height: 1.5; }
.analytics-notice h2 { font: 700 1.1rem/1.3 var(--body, sans-serif); text-transform: none; letter-spacing: normal; margin: 0 0 .65rem; }
.analytics-notice p { margin: .6rem 0; color: #34383f; }
.analytics-notice summary { cursor: pointer; font-weight: 700; }
.analytics-notice a { color: #214f9e; text-decoration: underline; }
.analytics-actions { display: flex; gap: .75rem; margin-top: 1rem; }
.analytics-actions button { flex: 1; min-height: 44px; padding: .6rem; border: 2px solid #275fbd; border-radius: 6px; background: white; color: #214f9e; font: inherit; font-weight: 700; cursor: pointer; }
.analytics-actions button:last-child { background: #275fbd; color: white; }
.analytics-notice button:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #8db7ff; outline-offset: 3px; }
@media (max-width: 900px) { .analytics-notice { bottom: calc(5.5rem + env(safe-area-inset-bottom)); max-height: 60vh; } }
