/* Docs host pages. Reuses the tokens from vault.css. */
body { background: var(--bg); }
.docs-top { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.docs-top .brand { color: var(--ink); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; gap: 6px; }
.docs-top .brand span { color: var(--sub); font-weight: 600; }
.docs-top nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.docs-top nav a { color: var(--sub); text-decoration: none; min-height: var(--tap); display: inline-flex; align-items: center; }
.docs-top nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.docs { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 48px; }
.docs h1 { font-size: 28px; margin: 0 0 12px; }
.docs h2 { font-size: 21px; margin: 36px 0 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.docs h3 { font-size: var(--text-lg); margin: 24px 0 8px; }
.docs p, .docs ul, .docs ol, .docs pre, .docs table, .docs blockquote, .docs .table-wrap { margin-top: 12px; }
.docs ul, .docs ol { padding-left: 22px; }
.docs li + li { margin-top: 4px; }
.docs a { color: var(--accent); }
.docs code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.docs pre { background: #0f1720; color: #e6edf3; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: var(--text-sm); line-height: 1.55; }
.docs pre code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }
.docs blockquote { padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); }
.docs table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.docs .table-wrap table { display: table; }
.docs .table-wrap { overflow-x: auto; }
.docs th, .docs td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.docs th { color: var(--sub); font-weight: 600; }
.errors tr:target { background: var(--warn-bg); }
.errors td:first-child a { text-decoration: none; }
.errors [lang="ko"], .docs .sub { color: var(--sub); }
.docs-foot { max-width: 760px; margin: 0 auto; padding: 20px var(--gutter) 40px; color: var(--sub); border-top: 1px solid var(--line); }
.docs-foot a { color: var(--accent); }
