.clarm-explainer {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147483000;
  width: min(420px, calc(100vw - 32px));
  font-family: inherit;
  color: #0f172a;
}

.clarm-explainer:not([open]) {
  width: max-content;
}

.clarm-explainer summary {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  color: #0f172a;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  list-style: none;
}

.clarm-explainer summary::-webkit-details-marker {
  display: none;
}

.clarm-explainer summary::before {
  content: "AI";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.clarm-explainer[open] summary {
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 14px;
}

.clarm-explainer-panel {
  margin-top: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(16px);
}

.clarm-explainer-panel h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.clarm-explainer-panel p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.clarm-explainer-panel strong {
  color: #0f172a;
  font-weight: 600;
}

@media (max-width: 640px) {
  .clarm-explainer {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .clarm-explainer[open] summary {
    width: 100%;
    justify-content: center;
  }
}
