/* Scoped to the optional analytics control and privacy page. */
.analytics-consent[hidden]{display:none!important}
.analytics-consent{position:fixed;z-index:60;inset:auto 16px 16px auto;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);box-shadow:0 4px 22px #153b4926;font-size:14px;line-height:1.55}
.analytics-consent h2{font-size:19px;line-height:1.3;letter-spacing:-.02em;margin-bottom:8px}
.analytics-consent p+p{margin-top:10px}
.analytics-consent a,.privacy-copy a{text-decoration:underline;text-underline-offset:3px}
.analytics-consent-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.analytics-consent-actions button{flex:1;min-width:140px;min-height:44px;border:1px solid var(--deep);border-radius:4px;padding:10px 12px;color:var(--deep);background:var(--paper);font-size:14px;font-weight:600;line-height:1.4}
.analytics-consent-actions button:hover{background:var(--ocean)}
.analytics-consent-actions button:disabled{cursor:default;opacity:.55}
.analytics-consent-status{font-size:13px;color:var(--muted);margin-top:12px!important}
.analytics-consent[data-settings-page]{position:static;width:100%;max-height:none;box-shadow:none;margin:24px 0}
.privacy-copy{max-width:820px}
.privacy-copy h2{font-size:clamp(26px,3vw,34px);margin:38px 0 16px}
.privacy-copy p+p{margin-top:16px}
@media(max-width:440px){.analytics-consent{inset:auto 12px 12px;width:calc(100% - 24px);padding:16px}.analytics-consent[data-settings-page]{width:100%}.analytics-consent-actions button{min-width:110px}}
