.analytics-consent[hidden], [data-analytics-open][hidden], [data-analytics-close][hidden] { display: none !important; }
.analytics-consent {
    position: fixed; z-index: 10001; inset-inline: 16px; bottom: 90px;
    max-width: 860px; max-height: calc(100dvh - 120px); overflow-y: auto;
    margin-inline: auto; padding: 24px; background: #fff; color: #0f172a;
    border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 12px 48px #0f172a26;
    text-align: start; font-family: inherit;
}
.analytics-consent h2 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.analytics-consent p { font-size: 14px; line-height: 1.6; margin: 0 0 10px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.analytics-consent button {
    padding: 10px 16px; min-height: 44px; border: 1px solid #0f172a;
    border-radius: 8px; background: white; color: #0f172a; font: inherit; font-size: 14px; cursor: pointer;
}
.analytics-consent button:hover { background: #f1f5f9; }
.analytics-consent a, [data-analytics-open] { text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent a { color: #475569; font-size: 13px; }
.analytics-consent :focus-visible, [data-analytics-open]:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
@media (min-width: 1024px) { .analytics-consent { bottom: 24px; } }
@media (max-width: 480px) {
    .analytics-consent { padding: 18px; inset-inline: 10px; }
    .analytics-consent-actions [data-analytics-choice] { flex: 1 1 100%; }
}
