.analytics-notice {
  position: fixed;
  z-index: 1100;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  box-sizing: border-box;
  width: min(400px, calc(100% - 24px));
  padding: 16px;
  border: 1px solid #b9c6d0;
  border-radius: 12px;
  background: #fff;
  color: #102033;
  box-shadow: 0 8px 24px rgb(7 22 36 / 18%);
  font: 500 .9rem / 1.5 system-ui, sans-serif;
}

.analytics-notice p {
  margin: 0 0 .75rem;
  color: inherit;
}

.analytics-notice a {
  color: #102033;
  text-decoration: underline;
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.analytics-actions > button {
  flex: 1 1 auto;
  min-height: 44px;
  margin: 0;
  padding: .5rem .75rem;
  border: 1px solid #68798a;
  border-radius: 6px;
  background: #f4f7fb;
  color: #102033;
  cursor: pointer;
  font: 600 .875rem / 1.3 system-ui, sans-serif;
}

.analytics-actions > button:hover {
  background: #e4ebf2;
}

.analytics-actions > button:focus-visible,
.analytics-notice a:focus-visible {
  outline: 2px solid #165daf;
  outline-offset: 2px;
}

@media (max-width: 860px) {
  body:has(> .floating-cta, > .floating-whatsapp) > .analytics-notice {
    inset-block-end: 5.75rem;
  }
}
