[data-analytics-settings] {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

#analytics-preferences {
  position: fixed;
  z-index: 10;
  inset: auto 1rem 1rem auto;
  width: min(24rem, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid #afc5cd;
  border-radius: .5rem;
  background: #fff;
  color: #102b3c;
  box-shadow: 0 .25rem 1.25rem #071b2d26;
  font: 1rem/1.45 system-ui, sans-serif;
}

#analytics-preferences p {
  margin: .35rem 0 .75rem;
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}

.analytics-actions button {
  padding: .4rem .65rem;
  border: 1px solid #627d89;
  border-radius: .25rem;
  background: #fff;
  color: #102b3c;
  font: inherit;
  cursor: pointer;
}
