.analytics-panel {
  position: fixed;
  z-index: 200;
  right: 12px;
  bottom: 10px;
  max-width: min(360px, calc(100vw - 24px));
  color: #f7f3f7;
  font:
    13px/1.5 system-ui,
    sans-serif;
}
.analytics-panel [hidden] {
  display: none !important;
}
.analytics-contact-settings {
  display: none;
  margin-top: 12px;
  padding: 8px 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #bdadbd;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
html[data-analytics-ready='true'] .analytics-contact-settings {
  display: inline-block;
}
.analytics-options {
  padding: 18px;
  background: #201923;
  border: 1px solid #67546c;
  border-radius: 16px;
  box-shadow: 0 4px 20px #0008;
}
.analytics-options p {
  margin: 8px 0;
  color: #e3d9e6;
}
.analytics-panel a {
  color: #c7e8ff;
  text-decoration: underline;
}
.analytics-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.analytics-panel button {
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid #95819b;
  border-radius: 20px;
  background: #302535;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.analytics-actions button {
  flex: 1;
}
.analytics-panel button:focus-visible {
  outline: 2px solid #87ceeb;
  outline-offset: 3px;
}
.analytics-panel [data-analytics-action='settings'] {
  min-height: 28px;
  font-size: 11px;
  background: #100c11;
}
