/* Compact consent notice in the existing Gilroy/ARCHi Q palette. */
:root { --aq-consent-offset: 0px; --aq-fixed-cta-height: 0px; }
html[data-cookie-panel-visible] { scroll-padding-bottom: calc(var(--aq-consent-offset) + 16px); }
.aq-consent-reserve { flex: 0 0 auto; width: 100%; pointer-events: none; }
.aq-consent {
  --aq-cookie-ivory: #fcfaf7;
  --aq-cookie-ink: #131619;
  --aq-cookie-siena: #bb6b39;
  position: fixed;
  z-index: 1100;
  inset: auto auto 16px 20px;
  width: min(560px, calc(100% - 40px));
  max-height: min(70svh, calc(100svh - var(--aq-fixed-cta-height, 0px) - 140px));
  box-sizing: border-box;
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
  gap: 18px;
  border: 1px solid #e1d1b7;
  border-radius: 10px;
  background: var(--aq-cookie-ivory);
  color: var(--aq-cookie-ink);
  box-shadow: 0 6px 24px #1316191a;
  font-family: Gilroy, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  text-align: left;
}
.aq-consent[hidden], .aq-consent [hidden] { display: none !important; }
html body section.aq-consent[data-aq-consent-banner] h2.aq-consent__heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0 !important;
}
html body section.aq-consent[data-cookie-settings-open] h2.aq-consent__heading {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 8px !important;
  overflow: visible !important;
  clip-path: none;
  white-space: normal;
  color: var(--aq-cookie-ink) !important;
  font: 600 16px/1.3 Gilroy, sans-serif !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
html body .aq-consent[data-aq-consent-banner] p { padding: 0 !important; text-align: left !important; text-transform: none !important; letter-spacing: normal !important; }
html body .aq-consent[data-aq-consent-banner] p.aq-consent__text { margin: 0 !important; color: #353535 !important; font: 400 13px/1.45 Gilroy, sans-serif !important; }
.aq-consent__text a { color: #646464; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.aq-consent__text a:hover { color: var(--aq-cookie-ink); text-decoration-thickness: 2px; }
.aq-consent__actions { display: flex; flex-direction: column; gap: 8px; }
.aq-consent__button {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--aq-cookie-ink);
  border-radius: 6px;
  margin: 0;
  padding: 10px 12px;
  color: var(--aq-cookie-ink);
  background: transparent;
  font: 600 14px/1.35 Gilroy, sans-serif;
  letter-spacing: normal;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.aq-consent__button--accepted { background: var(--aq-cookie-siena); border-color: var(--aq-cookie-siena); }
.aq-consent__button:hover { background: var(--aq-cookie-ink); color: #fff; border-color: var(--aq-cookie-ink); }
.aq-consent__button:disabled { cursor: wait; background: #e1e2e7; color: #646464; border-color: #b4aea1; }
.aq-consent__close { align-self: center; border: 0; background: none; color: var(--aq-cookie-ink); font: 400 12px/1.4 Gilroy, sans-serif; min-height: 44px; padding: 4px 6px; text-decoration: underline; cursor: pointer; }
.aq-consent[data-cookie-settings-open] { grid-template-columns: minmax(0, 1fr) 160px; }
.aq-consent :focus-visible { outline: 2px solid var(--aq-cookie-ink); outline-offset: 3px; }
.aq-consent__heading:focus { outline: none; }
html body .aq-consent[data-aq-consent-banner] p.aq-consent__state { margin: 8px 0 0 !important; color: #646464 !important; font: 400 12px/1.4 Gilroy, sans-serif !important; }
html body .aq-consent[data-aq-consent-banner] p.aq-consent__error { margin: 8px 0 0 !important; color: #8d231d !important; font: 500 12px/1.4 Gilroy, sans-serif !important; }
.aq-consent-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[data-cookie-settings] { cursor: pointer; }
@media (max-width: 600px) {
  .aq-consent, .aq-consent[data-cookie-settings-open] { inset: auto 12px max(10px, env(safe-area-inset-bottom)); width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 16px; max-height: min(66svh, calc(100svh - var(--aq-fixed-cta-height, 0px) - 144px)); }
  .aq-consent__actions { width: 104px; justify-self: end; }
  .aq-consent[data-cookie-settings-open] .aq-consent__actions { width: 100%; }
}
@media (max-width: 360px) {
  .aq-consent { padding: 12px 14px; }
  html body .aq-consent[data-aq-consent-banner] p.aq-consent__text { font-size: 12px !important; line-height: 1.45 !important; }
}
@media (max-width: 600px) and (max-height: 420px) {
  .aq-consent:not([data-cookie-settings-open]) { grid-template-columns: minmax(0, 1fr) 90px; gap: 14px; padding: 10px 14px; }
  .aq-consent:not([data-cookie-settings-open]) .aq-consent__actions { width: 90px; }
}
@media (prefers-reduced-motion: reduce) { .aq-consent__button { transition: none; } }
@media print { .aq-consent, .aq-consent-reserve, .aq-consent-status { display: none !important; } }
