/* Zeq SDK — Zeq DNA: black field, mint grid, square corners, system fonts, text never below 16px. */
:root { --bg:#050807; --panel:#0b1110; --line:#1c2a26; --ink:#e8f3ef; --muted:#8fa39c; --mint:#3df5b0;
        --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
       background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
       background-size: 32px 32px; }
a { color: var(--mint); }
.bar { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 2; }
.brand { font-weight: 700; letter-spacing: .12em; text-decoration: none; }
.wrap { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 13rem; gap: 2rem; max-width: 84rem; margin: 0 auto; padding: 1.5rem 1.25rem; }
.side, .toc { position: sticky; top: 4.5rem; align-self: start; display: grid; gap: .15rem; max-height: calc(100vh - 6rem); overflow: auto; }
.side a, .toc a { color: var(--muted); text-decoration: none; padding: .2rem .5rem; border-left: 2px solid transparent; }
.side a:hover, .toc a:hover { color: var(--ink); }
.side a.on { color: var(--mint); border-left-color: var(--mint); }
.toc a.l3 { padding-left: 1.25rem; }
main { min-width: 0; background: var(--panel); border: 1px solid var(--line); padding: 1.5rem 2rem 2.5rem; }
h1 { margin: 0 0 1rem; font-size: 2rem; line-height: 1.2; }
h2 { margin: 2.25rem 0 .75rem; font-size: 1.35rem; padding-top: .5rem; border-top: 1px solid var(--line); }
h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
code { font-family: var(--mono); font-size: 15px; background: var(--bg); padding: .05rem .3rem; border: 1px solid var(--line); }
pre { background: var(--bg); border: 1px solid var(--line); padding: 1rem; overflow: auto; }
pre code { border: 0; padding: 0; font-size: 15px; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: .45rem .6rem; border: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
footer { max-width: 84rem; margin: 0 auto 2rem; padding: 0 1.25rem; color: var(--muted); }
@media (max-width: 64rem) { .wrap { grid-template-columns: 1fr; } .side { position: static; max-height: none; grid-auto-flow: row; } .toc { display: none; } }
