/* 生信绘图：首次进入的聚光灯快速引导（与文献综述 / 实验绘图同一套样式） */

.xda-tour-replay {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #cfe9d8;
  border-radius: 999px;
  background: #ecf8f0;
  color: #2b7a4b;
  font-size: 11.5px;
  cursor: pointer;
}

.xda-tour-replay svg { width: 12px; height: 12px; }
.xda-tour-replay:hover { color: #22623c; border-color: #b7ddc6; background: #e1f3e8; }

.xda-tour { position: fixed; inset: 0; z-index: 2147483000; }
.xda-tour[hidden] { display: none; }

.xda-tour-spot {
  position: absolute;
  z-index: 1;
  border-radius: 12px;
  outline: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 9999px rgba(9, 20, 35, 0.58);
  transition: left 0.22s ease, top 0.22s ease, width 0.22s ease, height 0.22s ease;
  pointer-events: none;
}

.xda-tour-card {
  position: fixed;
  z-index: 2;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 18px 20px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(8, 20, 40, 0.3);
  transition: left 0.22s ease, top 0.22s ease;
}

.xda-tour-card h2 { margin: 0 32px 8px 0; color: #1d3350; font-size: 16px; font-weight: 600; }
.xda-tour-card p { margin: 0 0 18px; color: #5b7391; font-size: 13px; line-height: 1.75; }

.xda-tour-close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #93a7bd;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.xda-tour-close:hover { color: #2f4f70; }

.xda-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xda-tour-step { color: #93a7bd; font-size: 12px; }
.xda-tour-actions { display: flex; align-items: center; gap: 6px; }
.xda-tour-skip { padding: 6px 10px; border: 0; background: transparent; color: #6c829d; font-size: 13px; cursor: pointer; }
.xda-tour-skip:hover { color: #2f4f70; }
.xda-tour-next {
  padding: 8px 18px;
  border: 0;
  border-radius: 9px;
  background: #1d67b2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.xda-tour-next:hover { background: #154b85; }

/* 标题不撑满整行，让「快速引导」紧跟在「生信绘图」标题旁 */
body[data-xiaolan-agent="data-analysis"] .xlw-chat-head .xlw-chat-title {
  flex: 0 1 auto;
}
