.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 10050; bottom: 20px; left: 20px; width: min(520px, calc(100% - 40px)); padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); color: var(--text); box-shadow: var(--sh-lg); font-family: var(--font); max-height: calc(100dvh - 40px); overflow-y: auto; }
.analytics-consent h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.analytics-consent p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.analytics-consent a { color: var(--navy-dark); text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.analytics-consent-actions button { flex: 1 1 190px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--navy-dark); border-radius: 8px; background: var(--bg); color: var(--navy-dark); font: 600 15px var(--font); cursor: pointer; }
.analytics-consent-actions button:hover { background: var(--navy-50); }
.analytics-settings { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible, .analytics-settings:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.analytics-consent .analytics-consent-error { margin: 12px 0 0; font-weight: 600; }
.analytics-consent-error:empty { display: none; }
@media (max-width: 600px) { .analytics-consent { bottom: 12px; left: 12px; width: calc(100% - 24px); padding: 20px; max-height: calc(100dvh - 24px); } }
