/* API 레퍼런스(/docs) — 사이트와 같은 톤(흰 배경 · 얇은 테두리 · 짙은 회색 버튼 · 주황빛 강조).
   Swagger UI 기본(밝은) 스타일 위에 머리말 · 글꼴 · 버튼 · 링크만 덧입힌다. */
:root { --dc-ink: #242b33; --dc-muted: #5f6872; --dc-line: #e9ebee; --dc-deep: #a8472f; --dc-dark: #29313a; }
html, body { margin: 0; background: #fff; }
body, .swagger-ui, .swagger-ui .opblock-tag, .swagger-ui .opblock .opblock-summary-description, .swagger-ui table thead tr th, .swagger-ui .parameter__name,
.swagger-ui .tab li, .swagger-ui .response-col_status, .swagger-ui label, .swagger-ui .btn, .swagger-ui select, .swagger-ui input, .swagger-ui textarea {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Noto Sans KR", sans-serif;
}
.swagger-ui, .swagger-ui .info li, .swagger-ui .info p, .swagger-ui .opblock-tag, .swagger-ui label, .swagger-ui table thead tr th, .swagger-ui .parameter__name { color: var(--dc-ink); }

/* 머리말 */
.dc-bar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--dc-line); }
.dc-bar-in { max-width: 1200px; height: 64px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.dc-bar a { color: inherit; text-decoration: none; }
.dc-logo { display: inline-flex; align-items: center; gap: 12px; }
.dc-logo img { height: 32px; width: auto; display: block; }
.dc-logo span { padding-left: 12px; border-left: 1px solid var(--dc-line); font: 700 15px/1 "Pretendard Variable", Pretendard, system-ui, sans-serif; color: var(--dc-muted); }
.dc-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.dc-nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 4px; font: 700 14px/1 "Pretendard Variable", Pretendard, system-ui, sans-serif; color: var(--dc-ink); }
.dc-nav a:hover { background: #f5f6f7; }
.dc-nav a.dk { background: var(--dc-dark); color: #fff; }
.dc-nav a.dk:hover { background: #1f252c; }
.dc-bar a:focus-visible { outline: 2px solid #b84a35; outline-offset: 2px; }

/* Swagger 본문 */
.swagger-ui .topbar { display: none; }
.swagger-ui .wrapper { max-width: 1200px; padding: 0 24px; }
.swagger-ui .info { margin: 40px 0 24px; }
.swagger-ui .info .title { color: var(--dc-ink); font-weight: 800; letter-spacing: -.04em; }
.swagger-ui .info .title small.version-stamp { background: #29313a; }
.swagger-ui .info a { color: var(--dc-deep); }
.swagger-ui .info p, .swagger-ui .info li { line-height: 1.75; word-break: keep-all; }
.swagger-ui .info code, .swagger-ui .renderedMarkdown code { background: #f3f5f7; color: var(--dc-ink); border-radius: 4px; }
.swagger-ui .scheme-container { box-shadow: none; border-bottom: 1px solid var(--dc-line); background: #fff; padding: 16px 0; }
.swagger-ui .opblock-tag { border-bottom: 1px solid var(--dc-line); font-weight: 800; letter-spacing: -.02em; }
.swagger-ui .opblock { border-radius: 8px; }
.swagger-ui .opblock .opblock-summary-path { font-weight: 700; }

/* 버튼 · 입력 */
.swagger-ui .btn { border-radius: 4px; box-shadow: none; font-weight: 700; }
.swagger-ui .btn.execute { background: var(--dc-dark); border-color: var(--dc-dark); color: #fff; }
.swagger-ui .btn.execute:hover { background: #1f252c; }
.swagger-ui .btn.authorize { border-color: #414952; color: var(--dc-ink); }
.swagger-ui .btn.authorize svg { fill: var(--dc-ink); }
.swagger-ui .btn.cancel { border-color: #b3261e; color: #b3261e; }
.swagger-ui select, .swagger-ui input[type=text], .swagger-ui textarea { border-radius: 4px; }
.swagger-ui .model-box, .swagger-ui section.models { border-radius: 8px; }
.swagger-ui section.models { border-color: var(--dc-line); }

@media (max-width: 768px) {
  .dc-bar-in { height: 56px; padding: 0 16px; gap: 8px; }
  .dc-logo img { height: 26px; }
  .dc-logo span { display: none; }
  .dc-nav a { height: 36px; padding: 0 10px; font-size: 13px; }
  .swagger-ui .wrapper { padding: 0 16px; }
  .swagger-ui .info { margin-top: 24px; }
}
