.analytics-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.analytics-preferences {
  position: fixed;
  z-index: 110;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 16px;
  color: #10263b;
  background: #fff;
  border: 1px solid #b8d5de;
  border-radius: 12px;
  box-shadow: 0 5px 24px #10263b26;
  font-size: .875rem;
  line-height: 1.65;
}

.analytics-preferences h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  letter-spacing: normal;
}

.analytics-preferences a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.analytics-actions button {
  flex: 1;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #4d6877;
  border-radius: 7px;
  background: #fff;
  color: #10263b;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
