/* The GA4 consent banner (consent.njk). Linked only while analytics.js has a
   Measurement ID, so the rules ship only when the banner does. Colours and
   line come from site.css. */

.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10;
  padding-block: 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgb(0 0 0 / 0.12);
}

.consent-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}

.consent-inner p {
  max-width: 68ch;
  margin: 0;
}

.consent-actions {
  display: flex;
  gap: 12px;
}

.consent-reopen {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.consent-reopen::before {
  content: " · ";
  display: inline-block;
  white-space: pre;
  text-decoration: none;
}
