.ccl-analytics-settings {
  display: flex;
  justify-content: center;
  margin-block: 0.75rem;
}

.ccl-analytics-settings button,
.ccl-analytics-actions button {
  box-sizing: border-box;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
}

.ccl-analytics-settings button {
  padding: 0.3rem 0.6rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
}

.ccl-analytics-choice {
  position: fixed;
  z-index: 100;
  inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) 1rem;
  box-sizing: border-box;
  max-width: 43rem;
  max-height: 46vh;
  overflow: auto;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid #d8cdbd;
  border-radius: 0.8rem;
  background: #fffcf6;
  color: #24201b;
  box-shadow: 0 6px 30px #21191038;
  font: 0.925rem/1.45 system-ui, sans-serif;
}

.ccl-analytics-choice h2 {
  margin: 0;
  font: 650 1.1rem/1.3 system-ui, sans-serif;
  color: inherit;
  letter-spacing: normal;
}

.ccl-analytics-choice p {
  margin: 0.45rem 0 0.75rem;
  color: inherit;
}

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

.ccl-analytics-actions button {
  flex: 1 1 9.5rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #5e4b38;
  border-radius: 0.4rem;
  background: #fff;
  color: #2b221b;
  font-weight: 650;
}

.ccl-analytics-choice button:focus-visible,
.ccl-analytics-settings button:focus-visible {
  outline: 2px solid #836342;
  outline-offset: 2px;
}
