.analytics-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1010;
  font: inherit;
}
.analytics-consent section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  background: #172c2c;
  color: #fff;
  border-top: 1px solid #ffffff29;
  padding: 16px max(20px, calc((100% - 1180px) / 2))
    calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 16px #0003;
}
.analytics-consent section[hidden] { display: none; }
.analytics-consent p {
  margin: 0;
  flex: 1 1 22rem;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.analytics-consent button {
  background: transparent;
  border: 1px solid #ffffff8c;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 18px;
}
.analytics-consent button {
  background: #14777d;
  border-color: #14777d;
}
.analytics-consent button:hover { background: #14676b; }
.analytics-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.analytics-consent :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 560px) {
  .analytics-consent section { gap: 10px; }
  .analytics-consent p { flex-basis: 100%; }
}

.analytics-preferences button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: #14676b;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 6px 18px;
}
.analytics-preferences button:focus-visible {
  outline: 2px solid #14676b;
  outline-offset: 3px;
}
