
:root { color-scheme: dark; --bg: #101116; --panel: #171921; --line: #272932; --ink: #f4f2ef; --muted: #a6a8b4; --accent: #ff4f8b; --accent-ink: #1a0710; --control: #3b3d47; --tint: rgba(244, 242, 239, .07); } 
:root[data-theme=light] { color-scheme: only light; --bg: #f4f5f8; --panel: #fff; --line: #e2e4eb; --ink: #16171d; --muted: #5f6272; --accent: #c2185b; --accent-ink: #fff; --control: #c9ccd6; --tint: rgba(22, 23, 29, .06); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.75 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.doc-top { background: var(--panel); border-bottom: 1px solid var(--line); }
.doc-top-in { max-width: 820px; margin: 0 auto; padding: 0 20px; min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.doc-brand { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.03em; text-decoration: none; }
.doc-brand i { width: 12px; height: 19px; background: var(--accent); clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%); }
.doc-nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--tint); }
.doc-nav a { padding: 6px 10px; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.doc-nav a[aria-current=page] { background: var(--panel); color: var(--accent); }
main { max-width: 820px; margin: 0 auto; padding: 32px 20px 48px; }
h1 { font-size: 26px; letter-spacing: -.03em; margin: 0 0 6px; }
.doc-meta { color: var(--muted); font-size: 13px; margin: 0 0 24px; }
.doc-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
.doc-card + .doc-card { margin-top: 16px; }
h2 { font-size: 17px; letter-spacing: -.02em; margin: 28px 0 8px; }
.doc-card > h2:first-child { margin-top: 0; }
p, ul, ol { margin: 0 0 10px; }
ul, ol { padding-left: 20px; }
li + li { margin-top: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 12px; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 13px; white-space: nowrap; }
td.num { white-space: nowrap; } 
.doc-note { color: var(--muted); font-size: 13px; }
.doc-foot { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; color: var(--muted); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }

.boss-head { display: flex; gap: 20px; align-items: flex-start; }
.boss-head img { flex: none; border-radius: 12px; }
.guide-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.guide-list li + li { margin-top: 0; }
.guide-list a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.guide-list a:hover { border-color: var(--accent); }
.guide-list b { display: block; color: var(--accent); }
.guide-list span { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.doc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.doc-btn:hover { filter: brightness(1.06); }
.doc-btn.ghost { border-color: var(--control); background: transparent; color: var(--ink); }
.doc-btn.ghost:hover { filter: none; background: var(--tint); }
.doc-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; margin: 16px 0; }
.doc-pager a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.doc-pager > :nth-child(2) { justify-content: center; color: var(--muted); }
.doc-pager > :last-child { justify-content: flex-end; text-align: right; }
.doc-pager a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 600px) { .doc-crumbs a, .doc-foot a { display: inline-block; padding: 6px 0; } .doc-card { padding: 20px 18px; } h1 { font-size: 22px; } th, td { padding: 8px 6px; } .doc-table-wrap { overflow-x: auto; } .boss-head { flex-direction: column; gap: 12px; } .boss-head img { width: 80px; height: auto; } .doc-pager { grid-template-columns: 1fr 1fr; } .doc-pager > :nth-child(2) { grid-column: 1 / -1; order: 1; } }
