/* ========== Guide Tabs ========== */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.tab-btn:hover {
  color: var(--text-primary);
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* ========== Guide Content ========== */
.guide-section {
  margin-bottom: 28px;
}
.guide-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-primary);
}
.guide-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text-primary);
}
.guide-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 12px;
}
.guide-section ul, .guide-section ol {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 20px;
  margin: 0 0 12px;
}

/* Feature cards */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.feature-item:last-child { border-bottom: none; }
.feature-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.feature-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.step-content p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-content ul {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  margin: 0;
  line-height: 1.7;
}

/* Param table */
.param-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.param-table th {
  background: #f5f6f8;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.param-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.param-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-primary);
}

/* CSV spec */
.csv-sample {
  background: #f8f9fb;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
  color: var(--text-primary);
}
