/* Scoped analytics controls; existing page layout and brand rules are untouched. */
.analytics-consent[hidden]{display:none}
.analytics-consent{position:fixed;z-index:150;inset:auto 16px 16px;margin:auto;width:min(720px,calc(100% - 32px));max-height:70svh;overflow:auto;box-sizing:border-box;background:#faf5ee;color:var(--brown);border:1px solid var(--oxblood);border-radius:8px;padding:20px 24px;box-shadow:0 8px 32px #260e1830;font:400 16px/1.6 var(--font-body)}
.analytics-consent h2{font:400 21px/1.4 var(--font-heading);margin:0 0 10px;color:var(--garnet)}
.analytics-consent p{margin:0 0 14px}
.analytics-consent a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.analytics-consent-actions{display:flex;flex-wrap:wrap;gap:10px}
.analytics-consent-actions button{min-height:44px;padding:10px 16px;border:1px solid var(--garnet);border-radius:4px;background:var(--garnet);color:var(--parchment);cursor:pointer;font:400 15px/1.4 var(--font-ui)}
.analytics-consent-actions [data-analytics-close]{background:transparent;color:var(--garnet)}
.analytics-consent-status:empty{display:none}
.analytics-consent .analytics-consent-status{margin:12px 0 0;font-size:14px}
.analytics-preferences,[data-analytics-preferences]{font:400 14px/1.5 var(--font-ui);color:inherit;background:transparent;border:0;padding:8px 0;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.analytics-consent :focus-visible,.analytics-preferences:focus-visible,[data-analytics-preferences]:focus-visible{outline:2px solid var(--oxblood);outline-offset:4px}
.analytics-consent:focus{outline:2px solid var(--oxblood);outline-offset:3px}
@media(max-width:440px){.analytics-consent{inset:auto 12px 12px;width:calc(100% - 24px);padding:16px}.analytics-consent-actions button{flex:1 1 140px}}
