.docs { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 130px 0 40px; }
.docs aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; font-size: 14.5px; }
.docs aside h4 { margin: 18px 0 6px; padding-left: 12px; font-family: var(--font); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.docs aside h4:first-child { margin-top: 0; }
.docs aside a { padding: 7px 12px; border-radius: 10px; color: var(--text-2); transition: background .2s, color .2s; }
.docs aside a:hover, .docs aside a.on { background: var(--surface-2); color: var(--text); }
.doc { min-width: 0; max-width: 820px; }
.doc h1 { font-size: clamp(38px, 4.6vw, 56px); letter-spacing: -.04em; margin: 18px 0 16px; }
.doc h2 { font-size: 32px; letter-spacing: -.03em; margin: 64px 0 14px; padding-top: 10px; scroll-margin-top: 100px; }
.doc h3 { font-size: 18px; margin: 32px 0 10px; font-family: var(--font); font-weight: 600; }
.doc p, .doc li { color: var(--text-2); }
.doc code { font-family: var(--mono); font-size: .88em; padding: 2px 7px; border-radius: 7px; background: var(--surface-2); color: var(--ice-2); border: 1px solid var(--border); }
.doc pre { margin: 16px 0; padding: 18px 20px; border-radius: 16px; background: #0a0c11; border: 1px solid var(--border-2); overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: #c8d0de; }
.doc pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.endpoint { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-2); font-family: var(--mono); font-size: 14.5px; margin: 16px 0; overflow-x: auto; white-space: nowrap; }
.m { font-weight: 700; font-size: 12px; padding: 4px 9px; border-radius: 7px; letter-spacing: .05em; }
.m.post { background: rgba(255, 46, 77, .14); color: #ff7a90; }
.m.get { background: rgba(140, 200, 242, .12); color: var(--ice); }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td { color: var(--text-2); }
td:first-child { white-space: nowrap; }
.note { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(140, 200, 242, .22); background: rgba(140, 200, 242, .05); color: var(--text-2); margin: 18px 0; font-size: 15px; }
.note.warn { border-color: rgba(255, 46, 77, .35); background: rgba(255, 46, 77, .07); }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; padding-top: 100px; }
  .docs aside { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .docs aside h4 { width: 100%; margin: 8px 0 0; }
}
.endpoint .base-url { margin-right: -12px; }
