/* [pres-chat-export-v1] The chat header's Export menu: dark by default, light under :root[data-theme="light"]. */
.cxm {
  --cxm-bg: #17181c;
  --cxm-line: #2c2e36;
  --cxm-hover: #23252c;
  --cxm-text: #f2f2f4;
  --cxm-dim: #9ea2ad;
  --cxm-accent: #c6f24e;
  position: fixed;
  z-index: 9000;
  width: 310px;
  padding: 8px;
  border-radius: 14px;
  background: var(--cxm-bg);
  color: var(--cxm-text);
  border: 1px solid var(--cxm-line);
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.6);
  font-family: inherit;
  animation: cxm-in 0.12s ease-out;
}
:root[data-theme="light"] .cxm {
  --cxm-bg: #ffffff;
  --cxm-line: #e3e5eb;
  --cxm-hover: #f3f4f7;
  --cxm-text: #1b1d24;
  --cxm-dim: #646a78;
  --cxm-accent: #3f6b06;
  box-shadow: 0 22px 50px -20px rgba(20, 22, 30, 0.35);
}
@keyframes cxm-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.cxm-head {
  padding: 6px 10px 10px;
  border-bottom: 1px solid var(--cxm-line);
  margin-bottom: 4px;
}
.cxm-head b {
  display: block;
  font-size: 14px;
}
.cxm-head span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--cxm-dim);
}
.cxm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cxm-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.cxm-item:hover,
.cxm-item:focus-visible {
  background: var(--cxm-hover);
  outline: none;
}
.cxm-item:focus-visible {
  box-shadow: inset 0 0 0 1.5px var(--cxm-accent);
}
.cxm-item svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cxm-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cxm-t {
  flex: 1;
  min-width: 0;
}
.cxm-n {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.cxm-n em {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--cxm-dim);
  background: var(--cxm-hover);
  border: 1px solid var(--cxm-line);
}
.cxm-d {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--cxm-dim);
}
.cxm-spin {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--cxm-line);
  border-top-color: var(--cxm-accent);
  visibility: hidden;
}
.cxm-item.cxm-busy .cxm-spin {
  visibility: visible;
  animation: cxm-spin 0.8s linear infinite;
}
.cxm[aria-busy="true"] .cxm-item:not(.cxm-busy) {
  opacity: 0.5;
  pointer-events: none;
}
@keyframes cxm-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cxm {
    animation: none;
  }
  .cxm-item.cxm-busy .cxm-spin {
    animation: none;
  }
}
