/* 개인정보 처리방침·이용 안내·방문 통계 같은 따로 열리는 문서 화면(2026-10-24 공개 준비).
   색·글자 크기·모서리는 style.css 맨 위 토큰만 쓴다(글자 11·12·13·14·18, 두께 400·500·600). 왼쪽 메뉴가 없는 한 칸 문서. */
body.doc-page { min-height: 100vh; }
.doc-page main.doc { margin: 0 auto; min-height: 0; }
.doc { max-width: 760px; margin: 0 auto; padding: 32px 16px 80px; display: flex; flex-direction: column; gap: 16px; }
.doc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.doc-top .logo { padding: 0; min-height: 32px; }
.doc dd a, .doc .lead a { display: inline-flex; align-items: center; min-height: 24px; } /* 문장 밖에 홀로 있는 링크는 누르는 자리 24px */
.doc input, .doc select { height: 36px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--bg-subtle); color: var(--text); font: inherit; }
.doc input:focus-visible, .doc select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.doc h1 { font-size: 18px; font-weight: 600; margin: 8px 0 0; }
.doc h2 { font-size: 14px; font-weight: 600; margin: 20px 0 0; }
.doc h3 { font-size: 13px; font-weight: 600; margin: 8px 0 0; }
.doc p, .doc li, .doc dd, .doc td, .doc th { font-size: 13px; line-height: 1.75; color: var(--text-2); }
.doc p, .doc ul, .doc ol, .doc dl { margin: 0; }
.doc ul, .doc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.doc a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 3px; }
.doc .lead { font-size: 12px; color: var(--text-3); }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.doc dt { font-size: 12px; color: var(--text-3); line-height: 1.75; }
.doc dd { margin: 0; }
.doc .box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.doc .tbl { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-surface); }
.doc th { text-align: left; font-weight: 500; color: var(--text-3); font-size: 12px; padding: 8px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.doc td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
/* 언어 고르기 — 세 언어 본문 중 고른 것만 보임(스크립트가 없으면 모두 보임) */
.langs { display: flex; gap: 4px; flex-wrap: wrap; }
.langs a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--r-sm); color: var(--text-3); text-decoration: none; font-size: 13px; font-weight: 500; }
.langs a:hover { background: var(--bg-hover); color: var(--text-2); }
.langs a[aria-current="true"] { background: var(--bg-selected); color: var(--text); }
html.one-lang .doc-lang:not(.on) { display: none; }
.doc-lang { display: flex; flex-direction: column; gap: 12px; }
.stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc .row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.doc .field { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 640px) {
  .doc { padding: 20px 16px 64px; }
  .doc dl { grid-template-columns: 1fr; gap: 0 0; }
  .doc dd { margin-bottom: 8px; }
  .langs a { min-height: 44px; }
  .doc-top .logo { min-height: 44px; min-width: 44px; }
  .doc-top .logo-text { display: inline; }
  .doc dd a, .doc .lead a { min-height: 44px; }
  .stat-cards { grid-template-columns: 1fr; }
}
