.analytics-consent[hidden], .analytics-preferences button[hidden] { display: none; }
.analytics-consent { position: fixed; inset: auto 0 0; z-index: 10000; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 20px 28px; padding-bottom: max(20px, env(safe-area-inset-bottom)); background: #fffdf8; color: #203c2d; box-shadow: 0 -4px 24px #0002; }
.analytics-consent > div:first-child { max-width: 660px; }
.analytics-consent h2 { font: 700 20px/1.3 Georgia, serif; margin: 0 0 6px; }
.analytics-consent p { font: 15px/1.5 Arial, sans-serif; margin: 0; }
.analytics-consent a { color: #104b38; text-decoration: underline; }
.analytics-consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.analytics-consent-actions button { min-height: 44px; padding: 10px 16px; border: 1px solid #104b38; border-radius: 4px; background: #fff; color: #104b38; font: 600 15px/1.4 Arial, sans-serif; cursor: pointer; }
.analytics-consent-actions button:last-child { background: #104b38; color: #fff; }
.analytics-preferences { background: #103e2f; text-align: center; }
.analytics-preferences button { padding: 12px 20px; border: 0; background: transparent; color: #fff; text-decoration: underline; font-size: 14px; cursor: pointer; }
.analytics-consent button:focus-visible, .analytics-preferences button:focus-visible { outline: 3px solid #ad8136; outline-offset: 3px; }
@media (max-width: 800px) {
    .analytics-consent { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; }
    .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
