/* Cookie consent banner */
.hq-cc{position:fixed;z-index:85;right:16px;bottom:16px;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--line-2);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 20px 18px;font-size:var(--fs-sm);line-height:1.55}
.hq-cc[hidden],.hq-cc [hidden]{display:none!important}
.hq-cc__title{font-family:var(--font-display);font-size:1.05rem;font-weight:600;color:var(--cream);margin:0 0 6px;line-height:1.3}
.hq-cc__text{margin:0 0 14px;color:var(--text)}
.hq-cc__text a{color:var(--copper-2);text-decoration:underline;text-underline-offset:3px}
.hq-cc__text a:hover{color:var(--copper-3)}
.hq-cc__prefs{display:grid;gap:8px;margin:0 0 14px}
.hq-cc__opt{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer}
.hq-cc__opt input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--copper)}
.hq-cc__opt input:disabled{opacity:.6}
.hq-cc__opt strong{display:block;color:var(--cream);font-weight:600;margin-bottom:2px}
.hq-cc__opt span{color:var(--muted);font-size:.86rem;line-height:1.45}
.hq-cc__actions{display:flex;flex-wrap:wrap;gap:8px}
.hq-cc__actions .btn{flex:1 1 auto;width:auto}
.hq-cc[dir="rtl"]{text-align:right}
:root .hq-cc[dir="rtl"] :is(p,label,span,strong){direction:rtl;unicode-bidi:isolate;text-align:right}
:root:lang(ar) .hq-cc{line-height:1.75}
html.hq-cc-open .wa-fab{opacity:0;visibility:hidden;pointer-events:none}
.footer-legal [data-cc-open]{cursor:pointer}
@media (max-width:640px){.hq-cc{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:auto;padding:16px}.hq-cc__actions .btn{flex:1 1 40%}}
@media print{.hq-cc{display:none!important}}
/* Show the banner on first paint (no wait for deferred JS) */
html.hq-cc-need .hq-cc[hidden]{display:block!important}
