.analytics-consent[hidden], .analytics-preferences[hidden] { display: none !important; }
.analytics-consent {
    position: fixed; z-index: 100001; left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom)); width: min(510px, calc(100vw - 32px));
    max-height: calc(100svh - 32px); overflow-y: auto; padding: clamp(20px, 3vw, 28px);
    border: 1px solid #d9ddcf; border-radius: 24px; background: #faf9f4; color: #29342c;
    box-shadow: 0 16px 60px #28372d24; font: 14px/1.6 'Trebuchet MS', Verdana, sans-serif;
    text-align: left; animation: analytics-consent-enter .28s ease-out;
}
.analytics-consent-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.analytics-consent-mark { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #e9ecdf; color: #526342; }
.analytics-consent-mark svg { width: 100%; height: 100%; }
.analytics-consent h2 { margin: 0; color: #29342c; font: 400 27px/1.2 Georgia, serif; letter-spacing: -.5px; }
.analytics-consent p { margin: 0 0 12px; }
.analytics-consent .analytics-consent-detail { color: #626b60; font-size: 12px; }
.analytics-consent p:last-child { margin: 12px 0 0; }
.analytics-consent a { color: #435737; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.analytics-consent-actions button {
    flex: 1 1 140px; min-height: 46px; padding: 11px 14px; border: 1px solid #647454;
    border-radius: 13px; background: #f2f3ea; color: #38472f; font: 600 13px/1.4 'Trebuchet MS', Verdana, sans-serif;
    cursor: pointer; transition: background .18s ease;
}
.analytics-consent-actions [data-analytics-accept] { background: #526342; color: #fff; }
.analytics-consent-actions button:hover { background: #e5e9db; }
.analytics-consent-actions [data-analytics-accept]:hover { background: #435537; }
.analytics-preferences { padding: 10px 0; min-height: 44px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.analytics-consent :is(a, button):focus-visible, .analytics-preferences:focus-visible { outline: 2px solid #647454; outline-offset: 4px; }
html[data-analytics-consent-open] [data-whatsapp-contact] { visibility: hidden; pointer-events: none; }
@keyframes analytics-consent-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .analytics-consent h2 { font-size: 24px; } .analytics-consent-actions button { padding-inline: 9px; } }
@media (prefers-reduced-motion: reduce) { .analytics-consent { animation: none; } .analytics-consent-actions button { transition: none; } }
