/* Village Gateway API reference page (public/gateway-api.html). Built by scripts/build-gateway-api-page.js. No inline styles: the CSP forbids them. */
.api-doc { max-width: 60rem; }
.api-doc h2 { margin-bottom: .6rem; }
.api-doc .sub { max-width: 52rem; }
.api-doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--code-bg, rgba(127, 127, 127, .14)); padding: .08em .35em; border-radius: .25rem; overflow-wrap: anywhere; }
.api-code { margin: .9rem 0; padding: .9rem 1rem; overflow-x: auto; background: var(--code-bg, rgba(127, 127, 127, .12)); border: 1px solid var(--line, rgba(127, 127, 127, .3)); border-radius: .5rem; font-size: .88rem; line-height: 1.5; max-width: 100%; }
.api-code code { background: none; padding: 0; white-space: pre; overflow-wrap: normal; }
.api-steps, .api-list { margin: .8rem 0 .8rem 1.3rem; max-width: 52rem; }
.api-steps li, .api-list li { margin: .45rem 0; }
.api-scroll { overflow-x: auto; margin: 1rem 0; }
.api-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.api-table caption { text-align: left; font-weight: 650; padding: .3rem 0; }
.api-table th, .api-table td { text-align: left; vertical-align: top; padding: .5rem .7rem; border-bottom: 1px solid var(--line, rgba(127, 127, 127, .3)); }
.api-table thead th { font-weight: 650; }
.api-table tbody th { font-weight: 500; white-space: nowrap; }
.api-code:focus-visible, .api-scroll:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 40rem) { .api-table tbody th { white-space: normal; } }
