.analytics-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 2500;
  width: min(31rem, calc(100vw - 2rem));
  padding: 1.1rem;
  border: 1px solid #dce5e1;
  border-radius: .9rem;
  background: #fff;
  color: #173435;
  box-shadow: 0 20px 60px rgba(10, 43, 44, .22);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.analytics-consent p { margin: 0 0 .55rem; line-height: 1.45; }
.analytics-consent p + p { color: #526866; font-size: .9rem; }
.analytics-consent form > div { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .9rem; }
.analytics-consent button { padding: .58rem .8rem; border: 1px solid #0f5b55; border-radius: .55rem; font: inherit; font-weight: 700; cursor: pointer; }
.analytics-consent-primary { background: #0f5b55; color: #fff; }
.analytics-consent-secondary { background: #fff; color: #0f5b55; }
.footer-consent-link,
.app-sidebar-footer [data-analytics-consent-open] {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 520px) {
  .analytics-consent form > div { align-items: stretch; flex-direction: column-reverse; }
}
