.analytics-consent{position:fixed;z-index:1000;left:20px;bottom:20px;width:min(440px,calc(100% - 40px));padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 8px 40px #163f3529;font:400 14px/1.6 var(--font)}
.analytics-consent[hidden],.analytics-preferences[hidden],.analytics-consent-close[hidden]{display:none}
.analytics-consent h2{font-size:17px;line-height:1.4;margin:0 0 8px;letter-spacing:0}
.analytics-consent p{font-size:13px;margin:0;color:var(--muted)}
.analytics-consent a{text-decoration:underline;text-underline-offset:3px;color:var(--green)}
.analytics-consent-actions{display:flex;gap:10px;margin-top:16px}
.analytics-consent-actions button{flex:1;min-height:44px;border:1px solid var(--green);border-radius:8px;background:white;color:var(--green);font:700 13px/1.3 var(--font);padding:10px 12px;cursor:pointer}
.analytics-consent-actions button:hover{background:var(--sage)}
.analytics-consent-close,.analytics-preferences{font:inherit;font-size:12px;min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--muted);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.analytics-preferences{display:block;margin-left:auto}
.analytics-consent button:focus-visible,.analytics-preferences:focus-visible,.analytics-consent a:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.analytics-legal-footer{padding-bottom:24px}
.analytics-consent-open .mobile-cta{visibility:hidden}
@media(max-width:600px){.analytics-consent{left:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px);padding:16px}.analytics-consent h2{font-size:16px}.analytics-consent-actions button{font-size:12px}.analytics-preferences{margin-left:0}}
@media(max-height:500px){.analytics-consent{max-height:80vh;overflow:auto}}
