/* Analytics choices follow the existing site's type, colours and spacing. */
.analytics-preferences {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-footer .footer-top nav { flex-wrap: wrap; align-items: center; }
.analytics-preferences:focus-visible,
.analytics-consent button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.analytics-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 5px 24px #26332722;
  font-size: 13px;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0; max-width: 610px; }
.analytics-consent > div { display: flex; gap: 10px; flex: none; }
.analytics-consent button {
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--green);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.analytics-consent button:hover { background: var(--soft); }
.privacy-notice { padding-block: 50px 70px; border-top: 1px solid var(--line); }
.privacy-notice p { max-width: 820px; font-size: 14px; color: var(--muted); }
.privacy-notice h2 { font-size: 32px; }
@media (max-width: 800px) {
  .analytics-consent { flex-direction: column; align-items: stretch; gap: 14px; }
  .analytics-consent > div { flex-wrap: wrap; }
  .analytics-consent button { flex: 1; }
}
@media (max-width: 400px) {
  .analytics-consent { inset: auto 10px 10px; padding: 16px; }
  .analytics-consent button { padding-inline: 8px; font-size: 12px; }
}
