.analytics-consent[hidden] {
  display: none;
}

.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
  padding: 20px 22px;
  color: #14271f;
  background: #fffefb;
  border: 1px solid #cfe0d8;
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(14, 45, 34, 0.16);
}

.analytics-consent__copy {
  min-width: 0;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.analytics-consent__copy p {
  max-width: 620px;
  margin: 0;
  color: #52675e;
  font-size: 0.94rem;
  line-height: 1.55;
}

.analytics-consent__copy a {
  display: inline-block;
  margin-top: 7px;
  color: #086b4d;
  font-size: 0.86rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.analytics-consent__actions button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #c7d8d0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.91rem;
  font-weight: 750;
  cursor: pointer;
}

.analytics-consent__primary {
  color: #fff;
  background: #07845e;
  border-color: #07845e !important;
}

.analytics-consent__secondary {
  color: #183027;
  background: #fff;
}

.analytics-consent__actions button:focus-visible,
.analytics-preferences:focus-visible {
  outline: 3px solid rgba(7, 132, 94, 0.28);
  outline-offset: 3px;
}

.analytics-preferences {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .analytics-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    width: calc(100% - 24px);
    padding: 18px;
    border-radius: 14px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .analytics-consent__actions button {
    width: 100%;
  }
}
