.analytics-consent {
  position: fixed;
  z-index: 1100;
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  inset-inline-start: 1rem;
  width: min(27rem, calc(100% - 2rem));
  padding: 1rem 1.15rem;
  border: 1px solid #0e1a14;
  background: #fbf8f1;
  color: #0e1a14;
  box-shadow: 0 .25rem .85rem #0e1a1429;
  font: 1rem/1.55 system-ui, sans-serif;
}
.analytics-consent h2 { font-size: 1.2rem; margin: 0 0 .35rem; }
.analytics-consent p { margin: 0 0 .7rem; }
.analytics-consent a { color: #1e4d35; text-decoration: underline; }
.analytics-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.analytics-choices button {
  border: 1px solid #0e1a14;
  background: #f3eee3;
  color: #0e1a14;
  min-height: 2.65rem;
  padding: .45rem .7rem;
  font: inherit;
  cursor: pointer;
}
.analytics-choices button[data-analytics-choice="allow"] { background: #ffc93c; }
.analytics-preferences {
  color: inherit;
  background: none;
  padding: .6rem 0;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.analytics-consent :focus-visible, .analytics-preferences:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
