.analytics-preferences {
  position: fixed;
  right: 12px;
  bottom: 8px;
  z-index: 90;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  color: #555;
  padding: 5px 9px;
  font:
    12px/1.4 system-ui,
    sans-serif;
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 100;
  width: min(430px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  color: #252525;
  box-shadow: 0 8px 40px #0002;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
.analytics-consent strong {
  font-size: 16px;
}
.analytics-consent p {
  margin: 8px 0 14px;
}
.analytics-consent div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.analytics-consent button {
  border: 1px solid #aaa;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  color: #252525;
  cursor: pointer;
  font: inherit;
}
.analytics-consent button:focus-visible,
.analytics-preferences:focus-visible {
  outline: 2px solid #35694b;
  outline-offset: 3px;
}
.analytics-consent button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.analytics-consent [data-close] {
  border-color: transparent;
}
.analytics-consent[hidden],
.analytics-preferences[hidden] {
  display: none;
}
