.analytics-consent {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #17231c;
}

.analytics-consent__inner {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid #c8d4cb;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.6rem 2rem rgb(15 39 24 / 18%);
}

.analytics-consent__copy { flex: 1; }
.analytics-consent h2 { margin: 0 0 0.35rem; font-size: 1rem; }
.analytics-consent p { margin: 0; font-size: 0.86rem; line-height: 1.65; }
.analytics-consent a { display: inline-block; margin-top: 0.3rem; color: #165f3a; font-size: 0.82rem; text-underline-offset: 0.2em; }
.analytics-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(7rem, 1fr)); gap: 0.55rem; }
.analytics-consent button,
.analytics-settings-button {
  min-height: 2.75rem;
  border: 2px solid #276342;
  border-radius: 0.45rem;
  background: #fff;
  color: #19482f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.analytics-consent button:hover,
.analytics-consent button:focus-visible,
.analytics-settings-button:hover,
.analytics-settings-button:focus-visible { background: #edf6f0; outline: 3px solid #f0c86d; outline-offset: 2px; }
.analytics-settings-button { padding: 0.55rem 1rem; }

@media (max-width: 48rem) {
  .analytics-consent { right: 0.5rem; bottom: 0.5rem; left: 0.5rem; }
  .analytics-consent__inner { display: block; max-height: calc(100vh - 1rem); overflow: auto; padding: 0.85rem; }
  .analytics-consent__actions { margin-top: 0.75rem; }
  .analytics-consent p { font-size: 0.8rem; }
}

@media (max-width: 22rem) {
  .analytics-consent__actions { grid-template-columns: 1fr; }
}
