.analytics-settings {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  z-index: 1002;
  inset: auto auto max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.2rem;
  border: 1px solid #bac7b9;
  border-radius: 1rem;
  background: #fff;
  color: #20332e;
  box-shadow: 0 6px 26px #20332e26;
}
body:has(.analytics-consent:not([hidden])) #stipe {
  display: none;
}
.analytics-consent h2 { margin: 0 0 .35rem; font-size: 1.125rem; }
.analytics-consent p { margin: 0 0 .8rem; font-size: .95rem; }
.analytics-consent a { text-decoration: underline; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.analytics-consent-actions button {
  border: 1px solid #20332e;
  border-radius: .5rem;
  padding: .6rem .8rem;
  background: #fff;
  color: #20332e;
  font: inherit;
  cursor: pointer;
}
.analytics-consent button:focus-visible, .analytics-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
