/* The choice is non-modal; its reserved space keeps the footer reachable. */
body{padding-bottom:var(--analytics-consent-space,0px)}
.analytics-consent{position:fixed;z-index:15;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));display:grid;gap:20px;max-height:calc(100dvh - 48px);overflow-y:auto;padding:24px;background:var(--paper);color:var(--black);border:1px solid var(--gold);box-shadow:0 12px 36px #00000040}
.analytics-consent[hidden],[data-analytics-settings][hidden]{display:none!important}
.analytics-consent h2{font-size:1.25rem;line-height:1.25;letter-spacing:-.025em;margin-bottom:10px}
.analytics-consent-copy>p{font-size:.875rem;line-height:1.6;max-width:85ch}
.analytics-consent a{text-decoration:underline;text-underline-offset:3px}
.analytics-consent .analytics-consent-note{font-size:.75rem;margin-top:10px}
.analytics-consent-status{font-size:.75rem;margin-top:8px}
.analytics-consent-status:empty{display:none}
.analytics-consent-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.analytics-consent-actions button{flex:1;min-width:100px;min-height:44px;padding:11px 20px;border:1px solid var(--black);border-radius:0;background:transparent;color:var(--black);cursor:pointer;font:inherit;font-size:.875rem;touch-action:manipulation;transition:background-color 160ms var(--ease-out)}
.analytics-consent-actions button:hover{background:var(--gold)}
.analytics-consent :focus-visible{outline:2px solid var(--black);outline-offset:4px}
[data-analytics-settings]{min-height:44px;padding:0;border:0;border-radius:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px;touch-action:manipulation}
@media(min-width:900px){.analytics-consent{grid-template-columns:minmax(0,1fr) auto;align-items:center;max-width:1360px;margin-inline:auto}.analytics-consent-actions button{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){.analytics-consent-actions button{transition:none}}
