.cookie-panel{position:fixed;inset:auto 0 0;z-index:40;background:var(--paper);color:var(--text);border-top:2px solid var(--blue);box-shadow:0 -8px 32px #0002;max-height:75dvh;overflow:auto;padding:var(--space-6)}
.cookie-inner{max-width:1200px;margin:auto;display:grid;grid-template-columns:1fr auto;gap:var(--space-6);align-items:center}
.cookie-panel h2{font-size:var(--text-lg);letter-spacing:0;margin-bottom:var(--space-2)}
.cookie-panel p{font-size:var(--text-sm);color:var(--muted);margin-block:var(--space-2)}
.cookie-actions{display:flex;flex-wrap:wrap;gap:var(--space-2);max-width:330px}
.cookie-actions button{border:1px solid var(--blue);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);min-height:44px;font-size:var(--text-sm);font-weight:600;color:var(--blue);background:var(--paper)}
.cookie-actions button:hover{background:var(--panel)}
.cookie-actions button:disabled{opacity:.5;cursor:not-allowed}
.cookie-panel label{display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-4)}
.cookie-panel input{width:20px;height:20px}
.footer-links [data-cookie-settings]{color:inherit;text-decoration:underline;padding-block:var(--space-2);min-height:44px}
@media(max-width:700px){.cookie-panel{padding:var(--space-5)}.cookie-inner{grid-template-columns:1fr;gap:var(--space-3)}.cookie-actions{max-width:none}}

/* Compact privacy bar: same content and choices, smaller footprint so it never covers the main CTA or the call bar. */
.cookie-panel{padding:var(--space-3) var(--space-6);max-height:none}
.cookie-inner{gap:var(--space-4)}
.cookie-inner>div:first-child{max-height:4.75rem;overflow:auto}
.cookie-panel:has(#mhq-cookie-options:not([hidden])) .cookie-inner>div:first-child{max-height:40dvh}
.cookie-panel h2{font-size:var(--text-base);margin-bottom:0}
.cookie-panel p{font-size:var(--text-xs);line-height:1.45;margin-block:var(--space-1)}
.cookie-actions{max-width:none;flex-wrap:nowrap}
.cookie-actions button{padding:var(--space-2) var(--space-3);white-space:nowrap}
@media(max-width:800px){.cookie-panel{bottom:calc(56px + env(safe-area-inset-bottom))}}
@media(max-width:700px){.cookie-panel{padding:var(--space-3) var(--space-4)}.cookie-inner{gap:var(--space-2)}.cookie-actions button{flex:1;padding:var(--space-2);font-size:var(--text-xs)}}
