.adq-help {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
  white-space: nowrap;
}

.adq-help-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.adq-help-source {
  display: none !important;
}

.adq-help-target {
  cursor: help;
  text-decoration: underline dotted rgba(21, 94, 239, 0.34);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.adq-help-target:hover,
.adq-help-target:focus {
  text-decoration-color: rgba(21, 94, 239, 0.72);
  outline: none;
}

.adq-help-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: min(320px, calc(100vw - 24px));
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  pointer-events: none;
}

.adq-help-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.adq-soft-note {
  color: #667085;
  font-size: 12px;
}

.adq-code-panel {
  border: 1px solid #d7e3f4;
  border-radius: 8px;
  background: #fbfdff;
  overflow: hidden;
}

.adq-code-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 9px 12px;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.adq-code-panel > summary::-webkit-details-marker {
  display: none;
}

.adq-code-panel > summary::after {
  content: "展开";
  color: #1d62d6;
  font-size: 12px;
  font-weight: 800;
}

.adq-code-panel[open] > summary::after {
  content: "收起";
}

.adq-code-panel pre {
  margin: 0;
  border-top: 1px solid #d7e3f4;
  border-radius: 0;
}

.adq-private-label {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.adq-inline-code-free {
  display: none !important;
}

.adq-preview-message {
  min-height: 68px;
  padding: 12px;
  border: 1px solid #d7e3f4;
  border-radius: 8px;
  background: #fbfdff;
  color: #344054;
  font-size: 13px;
  line-height: 1.6;
}
