.measurement-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  color: #17231c;
  background: #fff;
  border: 1px solid rgba(23, 68, 43, .22);
  border-radius: .8rem;
  box-shadow: 0 .8rem 2.5rem rgba(10, 34, 21, .22);
}

.measurement-consent[hidden] { display: none; }
.measurement-consent > div:first-child { min-width: 0; }
.measurement-consent strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.measurement-consent p { max-width: 48rem; margin: 0; font-size: .9rem; line-height: 1.45; }
.measurement-consent a { color: inherit; text-decoration: underline; }
.measurement-consent-actions { display: flex; flex: 0 0 auto; gap: .65rem; }
.measurement-consent-actions .button { white-space: nowrap; }

@media (max-width: 720px) {
  .measurement-consent {
    right: auto;
    bottom: 4.75rem;
    left: .75rem;
    display: block;
    width: calc(100% - 1.5rem);
    max-width: none;
    margin: 0;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: .9rem;
  }
  .measurement-consent p { overflow-wrap: anywhere; }
  .measurement-consent-actions { flex-direction: column; margin-top: .8rem; }
  .measurement-consent-actions .button { width: 100%; padding-inline: .65rem; white-space: normal; }
}
