/* Restyle of the existing consent banner (created by main-*.js; logic untouched).
   Higher specificity (aside.tq-metrics-choice) beats the inline <style> the script injects. */
aside.tq-metrics-choice{left:50%;right:auto;bottom:14px;transform:translateX(-50%);width:min(980px,calc(100% - 24px));max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:22px;row-gap:2px;padding:14px 18px;background:rgba(21,19,29,.97);color:#f6f3ec;border:1px solid rgba(255,255,255,.14);border-radius:18px;box-shadow:0 24px 60px -20px rgba(0,0,0,.8);font:13px/1.45 "Inter",ui-sans-serif,system-ui,sans-serif;backdrop-filter:blur(10px);z-index:1000}
aside.tq-metrics-choice>*{grid-column:1}
aside.tq-metrics-choice strong{font-family:"Bricolage","Inter",sans-serif;font-size:14px}
aside.tq-metrics-choice p{margin:0 0 4px;color:#a19cb0;font-size:12px}
aside.tq-metrics-choice p a{color:#c6f432}
aside.tq-metrics-choice label{margin:2px 0;font-size:12.5px;color:#d8d4e2}
aside.tq-metrics-choice input{accent-color:#c6f432}
aside.tq-metrics-choice div{grid-column:2;grid-row:1/span 4;align-self:center;flex-direction:column;gap:8px}
aside.tq-metrics-choice button{padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#f6f3ec;font:600 13px/1.2 "Inter",sans-serif;white-space:nowrap}
aside.tq-metrics-choice button:first-child{background:#c6f432;border-color:#c6f432;color:#0b0a10}
@media (max-width:760px){
  aside.tq-metrics-choice{grid-template-columns:minmax(0,1fr);bottom:8px;padding:12px 14px;max-height:46vh;overflow:auto}
  aside.tq-metrics-choice p{font-size:11.5px;line-height:1.4}
  aside.tq-metrics-choice div{grid-column:1;grid-row:auto;flex-direction:row;margin-top:6px}
  aside.tq-metrics-choice button{flex:1}
}
/* while the banner is open, let the page scroll past it so nothing stays covered */
body:has(aside.tq-metrics-choice){padding-bottom:230px}
@media (min-width:761px){body:has(aside.tq-metrics-choice){padding-bottom:140px}}
@media print{aside.tq-metrics-choice{display:none!important}}
/* Keep every button clear of Netlify's fixed "Powered by Netlify" badge (bottom-right, ~192x64px).
   Above 1400px the centred 980px bar never reaches the badge, so it is left as-is. */
@media (max-width:1400px){aside.tq-metrics-choice{bottom:calc(76px + env(safe-area-inset-bottom))}}
body:has(aside.tq-metrics-choice){padding-bottom:300px}
@media (min-width:761px){body:has(aside.tq-metrics-choice){padding-bottom:210px}}
