.analytics-consent{position:fixed;z-index:30;inset:auto 1rem 1rem;background:var(--paper,#f3f0e5);color:var(--ink,#23372c);border:1px solid var(--ink,#23372c);box-shadow:0 8px 30px #0002;padding:1.25rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;max-height:calc(100dvh - 2rem);overflow:auto}
.analytics-consent[hidden]{display:none}
.analytics-consent h2{font-size:1.35rem;line-height:1.2;margin:0 0 .5rem}
.analytics-consent p{font-size:.85rem;line-height:1.6;margin:.3rem 0;max-width:90ch}
.analytics-consent a{text-decoration:underline;text-underline-offset:.2em}
.analytics-consent-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;align-content:center}
.analytics-consent-actions button{background:var(--paper,#f3f0e5);color:var(--ink,#23372c);border:1px solid currentColor;min-height:44px;padding:.7rem 1rem;font:inherit;font-size:.85rem;cursor:pointer}
.analytics-consent-actions button:hover{background:#e4e3d8}
.analytics-consent-actions button:focus-visible,.analytics-consent a:focus-visible,#privacy-settings:focus-visible{outline:3px solid var(--rust,#873a24);outline-offset:3px}
#privacy-settings{background:none;border:0;padding:0;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;min-height:44px}
@media(max-width:800px){.analytics-consent{grid-template-columns:1fr;inset:auto .5rem .5rem;padding:1rem;max-height:calc(100dvh - 1rem)}.analytics-consent-actions{display:grid;grid-template-columns:1fr 1fr}.analytics-consent-actions button{height:100%}#analytics-close{grid-column:1/-1}}
