/* Optional Google Analytics: equal accept/reject choices and persistent settings. */
.analytics-consent[hidden], .analytics-manage[hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 1200; left: 20px; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); max-width: 720px; margin-inline: auto; padding: 22px; background: #f4f3ed; color: #181915; border: 1px solid #85867c; border-radius: 8px; box-shadow: 0 12px 45px #0003; }
.analytics-consent h2 { font: 700 18px/1.4 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #181915; margin: 0 0 10px; }
.analytics-consent p { font: 400 13px/1.7 'DM Sans', sans-serif; margin: 0; }
.analytics-consent a { color: #181915; text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 12px; margin-top: 18px; }
.analytics-consent-actions button { flex: 1; min-height: 46px; padding: 12px 16px; font: 700 13px/1.5 'DM Sans', sans-serif; color: #fff; background: #181915; border: 1px solid #181915; border-radius: 4px; }
.analytics-consent-actions button:hover { background: #373a32; }
.analytics-manage { background: none; color: inherit; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
body.analytics-consent-open .floating-cta { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
@media(max-width: 500px) { .analytics-consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 18px; } .analytics-consent-actions { flex-direction: column; gap: 8px; } }
