.analytics-notice[hidden] { display: none !important; }
.analytics-notice { position: fixed; z-index: 90; right: 22px; bottom: 24px; width: min(440px, calc(100vw - 32px)); padding: 22px; box-sizing: border-box; color: #173a2c; background: #fff; border: 1px solid #d9e1da; border-radius: 14px; box-shadow: 0 10px 40px rgb(11 47 35 / 16%); font: 15px/1.55 system-ui, sans-serif; }
.analytics-notice-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.analytics-notice h2 { margin: 0; color: #0b2f23; font: 650 19px/1.3 system-ui, sans-serif; }
.analytics-notice p { margin: 12px 0; }
.analytics-notice .analytics-choice-status { font-size: 13px; margin: 8px 0; }
.analytics-close { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; color: #365244; border: 0; border-radius: 5px; background: transparent; font: 24px/1 system-ui, sans-serif; cursor: pointer; }
.analytics-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 12px; }
.analytics-actions button { min-height: 44px; padding: 10px; border: 1px solid #0b2f23; border-radius: 6px; font: 600 14px/1.3 system-ui, sans-serif; cursor: pointer; }
.analytics-actions [data-analytics-choice="allow"] { background: #0b2f23; color: #fff; }
.analytics-actions [data-analytics-choice="deny"] { background: #fff; color: #0b2f23; }
.analytics-privacy { color: #244d38; text-decoration: underline; font-size: 13px; }
.analytics-settings { padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.analytics-stop-qa { display: block; margin-top: 12px; padding: 0; border: 0; background: transparent; color: #365244; text-decoration: underline; font: 13px/1.5 system-ui, sans-serif; cursor: pointer; }
.analytics-stop-qa[hidden] { display: none; }
.analytics-notice button:focus-visible, .analytics-notice a:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #b88331; outline-offset: 3px; }
@media (max-width: 640px) { .analytics-notice { right: 16px; bottom: 90px; padding: 18px; max-height: calc(100dvh - 120px); overflow: auto; } .analytics-notice h2 { font-size: 18px; } .footer-bottom { flex-wrap: wrap; gap: 12px; } }
