/* A single optional purpose, equal choices, and a permanent way back to preferences. */
.analytics-consent[hidden],.analytics-preferences[hidden],.analytics-consent [hidden]{display:none!important}
.analytics-consent{position:fixed;z-index:1100;inset:auto 20px 20px;max-width:1040px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:24px;background:var(--surface,#fff);color:var(--ink,#202830);border:1px solid var(--line,#dfe4e8);border-radius:20px;box-shadow:0 12px 56px #10243826;font-size:14px;line-height:1.55}
.analytics-consent-label{margin:0 0 5px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#65717b)}
.analytics-consent h2{margin:0 0 8px;font-size:20px;line-height:1.25;letter-spacing:-.025em;font-weight:700}
.analytics-consent p:not(.analytics-consent-label){margin:0;max-width:70ch;font-size:14px;line-height:1.55}
.analytics-consent a{text-decoration:underline;text-underline-offset:3px;color:inherit}
.analytics-consent-actions{display:grid;gap:8px;min-width:185px}
.analytics-consent-actions button{appearance:none;display:block;width:100%;min-height:44px;padding:10px 16px;border:1px solid var(--ink,#202830);border-radius:11px;background:var(--surface,#fff);color:var(--ink,#202830);font:inherit;font-size:13px;font-weight:650;line-height:1.3;text-align:center;cursor:pointer}
.analytics-consent-actions button:hover{background:var(--surface-soft,#f2f5f7)}
.analytics-consent-actions .analytics-consent-close{min-height:34px;padding:7px;background:transparent;border-color:transparent;font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.analytics-consent .analytics-consent-status:empty{display:none}
.analytics-consent .analytics-consent-status:not(:empty){margin-top:9px;font-size:12px;color:var(--muted,#65717b)}
.analytics-preferences{appearance:none;border:0;padding:4px 0;background:transparent;color:inherit;font:inherit;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.analytics-consent :focus-visible,.analytics-preferences:focus-visible{outline:3px solid #438dff;outline-offset:4px}
html[data-theme=dark] .analytics-consent{background:#17212b;color:#edf2f7;border-color:#3a4653;box-shadow:0 12px 56px #0007}
html[data-theme=dark] .analytics-consent-actions button{background:#17212b;color:#edf2f7;border-color:#b4c0cc}
html[data-theme=dark] .analytics-consent-actions button:hover{background:#243140}
html[data-theme=dark] .analytics-consent-label,html[data-theme=dark] .analytics-consent-status{color:#b4c0cc}
@media(max-width:700px){.analytics-consent{inset:auto 12px 12px;padding:18px;gap:16px;grid-template-columns:1fr;border-radius:16px;max-height:calc(100dvh - 24px);overflow:auto}.analytics-consent h2{font-size:18px}.analytics-consent p:not(.analytics-consent-label){font-size:13px;line-height:1.5}.analytics-consent-actions{grid-template-columns:1fr 1fr;min-width:0;gap:8px}.analytics-consent-actions button{font-size:12px;padding:10px 8px}.analytics-consent-actions .analytics-consent-close{grid-column:1/-1}.analytics-consent-label{font-size:10px}}
