/* Consent-gated Yandex Metrica. No analytics request is made before approval. */
.analytics-consent { position:fixed; z-index:1000; left:50%; bottom:18px; transform:translateX(-50%); width:min(920px,calc(100% - 28px)); box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 22px; border:1px solid var(--hairline); border-radius:16px; background:rgba(250,254,249,.98); box-shadow:0 18px 60px rgba(20,45,34,.24); }
.analytics-consent h2 { margin:0 0 .4rem; font-size:1.15rem; }
.analytics-consent p { margin:0; color:var(--subtle); }
.analytics-consent-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:.65rem; flex:0 0 auto; }
.analytics-consent-actions .button { min-height:42px; }
.analytics-settings-link { appearance:none; border:0; padding:0; background:transparent; color:inherit; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.analytics-settings-link:hover { color:var(--accent); }
@media(max-width:760px) { .analytics-consent { align-items:stretch; flex-direction:column; gap:16px; bottom:10px; padding:18px; } .analytics-consent-actions { justify-content:flex-start; } }
