.measurement-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  width: min(35rem, calc(100vw - 2rem));
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line, #d8ddd6);
  border-radius: .9rem;
  background: var(--white, #fffdf8);
  box-shadow: var(--shadow, 0 1.2rem 3.2rem rgba(23, 59, 49, .12));
  color: var(--ink, #17211d);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.measurement-consent[hidden], .measurement-consent-settings[hidden] { display: none; }
.measurement-consent strong { display: block; margin-bottom: .3rem; color: var(--forest, #173b31); }
.measurement-consent p { margin: 0 0 .45rem; color: var(--muted, #64716b); font-size: .88rem; }
.measurement-consent a { color: var(--green, #2f8a5a); font-size: .82rem; font-weight: 800; }
.measurement-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.measurement-consent__button, .measurement-consent-settings {
  min-height: 2.65rem;
  border: 1px solid var(--green, #2f8a5a);
  border-radius: .55rem;
  padding: .6rem .75rem;
  background: var(--green, #2f8a5a);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
}
.measurement-consent__button--secondary { background: var(--white, #fffdf8); color: var(--forest, #173b31); }
.measurement-consent-settings {
  position: fixed;
  right: .75rem;
  bottom: .75rem;
  z-index: 45;
  min-height: 2.35rem;
  background: var(--white, #fffdf8);
  color: var(--forest, #173b31);
  box-shadow: 0 .5rem 1.5rem rgba(23, 59, 49, .12);
}

@media (max-width: 40rem) {
  .measurement-consent { right: .65rem; bottom: .65rem; width: calc(100vw - 1.3rem); }
  .measurement-consent__actions { grid-template-columns: minmax(0, 1fr); }
}
