.analytics-consent{position:fixed;inset-inline:0;inset-block-end:0;z-index:100;display:flex;align-items:center;gap:1rem;padding:.8rem max(1rem,env(safe-area-inset-right)) calc(.8rem + env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));border-block-start:1px solid var(--border-strong,#64748b);background:var(--color-bg-end,#131a23);color:var(--color-text,#e8edf4);box-shadow:0 -4px 24px #0002;font-family:var(--font-sans,system-ui,sans-serif);font-size:14px;line-height:1.45}
.analytics-consent[hidden]{display:none}
.analytics-consent-copy{flex:1;min-width:0;max-width:58rem}
.analytics-consent h2{margin:0 0 .25rem;font:inherit;font-weight:650}
.analytics-consent p{margin:0}
.analytics-consent a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-consent-actions{display:flex;flex-wrap:wrap;gap:.5rem;flex:none}
.analytics-consent button{min-height:44px;padding:.55rem .85rem;border:1px solid var(--border-strong,#64748b);border-radius:.5rem;background:transparent;color:inherit;font:inherit;font-weight:600;cursor:pointer}
.analytics-consent button:hover{background:var(--surface-hover,#ffffff17)}
.analytics-consent :is(a,button):focus-visible{outline:2px solid var(--color-focus,#fbbf24);outline-offset:3px}
.analytics-settings{font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px}
.legal-page .analytics-consent{--color-bg-end:#f7f7f5;--border-strong:#bac3b7;--surface-hover:#e7ebe4;--color-focus:#147788}
@media(max-width:767px){.analytics-consent{align-items:stretch;flex-direction:column;gap:.6rem;padding-inline:.8rem}.analytics-consent-actions button{flex:1}}
@media(forced-colors:active){.analytics-consent{background:Canvas;color:CanvasText;border-color:ButtonText;box-shadow:none}.analytics-consent button{border-color:ButtonText}}
