/* Cookie-consent banner styles — staging build 27/11/2026.
 * Uses the site's own CSS variables so the banner follows the light/dark
 * theme automatically. TOKEN PAIRING (27/11 — visual check caught
 * dark-on-dark): the page surface is --fill-primary-on with
 * --text-primary text; --fill-primary itself is the INK color (dark in
 * light mode), so it must never be a banner background. External file
 * (style-src 'self' covers it). */
#sq-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--fill-primary-on, #fff);
  color: var(--text-primary, #111);
  border-top: 1px solid var(--stroke-secondary, #ddd);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.5;
}
#sq-cookie-banner[hidden] { display: none; }
#sq-cookie-banner .sq-cc-text { margin: 0; flex: 1 1 420px; max-width: 780px; }
#sq-cookie-banner .sq-cc-text a { color: inherit; text-decoration: underline; }
#sq-cookie-banner .sq-cc-actions { display: flex; gap: 10px; flex: none; }
#sq-cookie-banner button {
  font: inherit;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
#sq-cookie-banner .sq-cc-accept {
  background: var(--text-primary, #111);
  color: var(--fill-primary-on, #fff);
  border: 1px solid transparent;
}
#sq-cookie-banner .sq-cc-reject {
  background: transparent;
  color: var(--text-primary, #111);
  border: 1px solid var(--stroke-secondary, #bbb);
}
#sq-cookie-banner button:focus-visible,
#sq-cookie-settings:focus-visible {
  outline: 2px solid var(--text-primary, #111);
  outline-offset: 2px;
}
@media (max-width: 599px) {
  #sq-cookie-banner { padding: 12px 14px; }
  #sq-cookie-banner .sq-cc-actions { width: 100%; }
  #sq-cookie-banner .sq-cc-actions button { flex: 1 1 0; }
}
