.analytics-consent[hidden], [data-analytics-settings][hidden] { display:none; }
.analytics-consent { --analytics-paper:#fbfaf6; --analytics-ink:#17201c; --analytics-muted:#4f5953; --analytics-line:#d7dad2; --analytics-focus:#174f3a; position:fixed; left:24px; bottom:24px; z-index:2100; display:flex; flex-direction:column; gap:14px; width:min(420px, calc(100vw - 48px)); max-height:calc(100dvh - 48px); overflow:auto; box-sizing:border-box; padding:18px 20px; border:1px solid var(--analytics-line); border-radius:8px; background:var(--analytics-paper); color:var(--analytics-ink); box-shadow:0 12px 40px rgba(23,32,28,.16), 0 2px 6px rgba(23,32,28,.08); font:14px/1.55 var(--sans,system-ui,sans-serif); text-align:left; }
.analytics-consent>div:first-child { min-width:0; }
.analytics-consent strong { display:block; font-size:14px; font-weight:700; }
.analytics-consent p { margin:4px 0 0; color:var(--analytics-muted); font-size:13px; line-height:1.55; }
.analytics-consent a { color:var(--analytics-focus); text-decoration:underline; text-underline-offset:3px; }
.analytics-actions { display:flex; gap:10px; }
.analytics-consent button { flex:1 1 0; min-height:44px; padding:8px 16px; border:1px solid var(--analytics-focus); border-radius:5px; background:transparent; color:var(--analytics-focus); font:600 14px/1.4 var(--sans,system-ui,sans-serif); cursor:pointer; }
.analytics-consent button:hover { background:var(--analytics-focus); color:var(--analytics-paper); }
.analytics-settings { min-height:44px; padding:0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.analytics-settings:hover { opacity:.8; }
.analytics-consent :is(a,button):focus-visible, .analytics-settings:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
@media (max-width:600px) {
  .analytics-consent { left:12px; right:12px; bottom:12px; width:auto; padding:14px 16px; gap:12px; }
}
@media print { .analytics-consent { display:none !important; } }
