.khemia-analytics-choice {
  position: fixed;
  z-index: 100000;
  right: 16px;
  bottom: 16px;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 520px;
  padding: 18px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
  font: 14px/1.5 Arial, sans-serif;
}
.khemia-analytics-choice[hidden], .khemia-analytics-success[hidden] { display: none !important; }
.khemia-analytics-choice p { margin: 0 0 10px; color: #222; font: inherit; }
.khemia-analytics-choice a { color: #075885; text-decoration: underline; }
.khemia-analytics-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.khemia-analytics-buttons button {
  flex: 1 1 160px;
  padding: 10px 12px;
  border: 1px solid #444;
  border-radius: 3px;
  background: #f5f5f5;
  color: #222;
  cursor: pointer;
  font: bold 14px/1.4 Arial, sans-serif;
}
.khemia-analytics-settings {
  display: inline-block;
  margin: 8px 0;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.khemia-analytics-buttons button:focus-visible, .khemia-analytics-settings:focus-visible,
.khemia-analytics-choice a:focus-visible { outline: 3px solid #075885; outline-offset: 3px; }
@media (max-width: 420px) {
  .khemia-analytics-choice { right: 10px; bottom: 10px; width: calc(100% - 20px); padding: 14px; }
}
