/* 공개 API 매뉴얼(/docs) 전용 — admin.css 와 같은 톤, 문서 읽기용으로만 조정. */
* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 32px 20px 64px;
  max-width: 940px;
  background: #f4f6f8;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.doc-header { margin-bottom: 20px; }
.doc-header h1 { font-size: 24px; margin: 0 0 8px; }
.lead { margin: 0 0 6px; color: #374151; }
.muted { color: #6b7280; font-size: 13px; }

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.toc { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 24px; }
.toc a { color: #2563eb; text-decoration: none; font-size: 13px; }
.toc a:hover { text-decoration: underline; }

h2 { font-size: 17px; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid #eef1f4; }
h3 { font-size: 14px; margin: 22px 0 8px; }
p { margin: 8px 0; }
ul { margin: 8px 0; padding-left: 20px; }

a { color: #2563eb; }

code {
  background: #f3f4f6;
  border-radius: 4px;
  padding: 1px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}

pre {
  background: #111827;
  color: #e5e7eb;
  border-radius: 6px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.55;
}
pre code { background: none; color: inherit; padding: 0; }

table { width: 100%; border-collapse: collapse; margin: 10px 0; }
th, td { padding: 8px 10px; text-align: left; border-bottom: 1px solid #eef1f4; vertical-align: top; }
th { color: #6b7280; font-size: 12px; font-weight: 600; }
tbody tr:last-child td { border-bottom: none; }

.method {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge {
  display: inline-block;
  background: #e5e7eb;
  color: #4b5563;
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 11px;
  font-weight: 600;
}
.soon { color: #4b5563; }

.warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 10px 12px;
  color: #92400e;
}

.doc-footer { text-align: center; margin-top: 8px; }

@media (max-width: 640px) {
  .card { padding: 16px; }
}
