/* 开发文档增强样式 — 2026-09-15 */
.doc-callout {
  border-left: 4px solid #1e9fff;
  background: #f2f8ff;
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
  line-height: 1.7;
}
.doc-callout.warn {
  border-left-color: #ffb800;
  background: #fffbe6;
}
.doc-callout.ok {
  border-left-color: #16b777;
  background: #f0f9f4;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}
.doc-card {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  transition: box-shadow .15s ease;
}
.doc-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.doc-card a { font-weight: 600; color: #1e9fff; text-decoration: none; }
.doc-card p { margin: 6px 0 0; color: #666; font-size: 13px; line-height: 1.5; }
.doc-steps { counter-reset: step; list-style: none; padding-left: 0; }
.doc-steps > li {
  counter-increment: step;
  position: relative;
  padding: 10px 12px 10px 48px;
  margin: 8px 0;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
}
.doc-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 12px; top: 10px;
  width: 26px; height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  background: #1e9fff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.doc-prompt-wrap {
  position: relative;
  margin: 12px 0 28px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
}
.doc-prompt-wrap .doc-copy-btn {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 2;
  border: 0;
  background: #1e9fff;
  color: #fff;
  border-radius: 4px;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 12px;
}
.doc-prompt-wrap pre {
  margin: 0 !important;
  padding: 40px 16px 16px !important;
  background: transparent !important;
  color: inherit !important;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.65;
  max-height: 420px;
  overflow: auto;
}
.doc-kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f7f7f7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.markdown-body table { font-size: 13px; }
.markdown-body h1 { border-bottom: 1px solid #eee; padding-bottom: 8px; }
