/* 개인정보처리방침(privacy.html)만: 목차와 본문 표. */

/* ── 개인정보처리방침 (읽기 먼저) ─────────────────────── */
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; margin-top: -10px; position: relative; z-index: 3; }
.toc { position: sticky; top: 84px; font-size: .9rem; }
.toc b { display: block; margin-bottom: 8px; color: var(--muted); font-size: .82rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ju-ink); border-left-color: var(--ju); }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px 34px 40px; box-shadow: var(--shadow-sm); max-width: 760px; }
.doc .meta { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.doc .note { border-left: 4px solid var(--ju); padding: 12px 16px; background: color-mix(in srgb, var(--ju) 8%, transparent); border-radius: 0 14px 14px 0; color: var(--muted); font-size: .95rem; }
.doc h2 { font-size: 1.2rem; margin: 36px 0 10px; display: flex; align-items: baseline; gap: 10px; scroll-margin-top: 84px; }
.doc h2::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--ju); transform: rotate(45deg) translateY(-2px); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.tbl { overflow-x: auto; margin: 10px 0; border-radius: 16px; border: 1px solid var(--line); }
.doc table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 460px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: var(--bg-2); font-weight: 800; }
.doc tr:not(:first-child):hover td { background: color-mix(in srgb, var(--ju) 4%, transparent); }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 18px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin: 0; background: var(--surface); }
  .toc a.on { border-color: var(--ju); }
  .doc { padding: 22px 18px 30px; border-radius: 22px; }
}
@media (max-width: 600px) {
  .tbl { border: 0; overflow: visible; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; min-width: 0; width: 100%; }
  .doc tr:first-child { display: none; }
  .doc tr { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; background: var(--surface); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 800; font-size: 1rem; padding-bottom: 6px; }
  .doc td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 800; color: var(--ju-ink); margin-top: 6px; }
  .doc tr:not(:first-child):hover td { background: none; }
}
@media (min-width: 601px) { .doc td:first-child, .doc th:first-child { min-width: 7.5em; } }
