/* Docs. Builds on style.css and legal.css. */
/* Links after the brand, like the landing page; the button at the right edge. */
.docs-nav + .btn { margin-left: auto; }
.docs-nav a:hover, .docs-nav a[aria-current='page'] { color: var(--text); }
.docs-toc { margin-top: 24px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-1); }
.docs-toc ol { padding-left: 20px; list-style: decimal; columns: 2; column-gap: 32px; font-size: 14.5px; }
.docs-toc li + li { margin-top: 4px; }
.docs .command { margin-top: 10px; }
.docs h3 + .command { margin-top: 8px; }
.docs code { color: var(--text); font-size: .9em; }
.docs p code, .docs li code, .docs td code { padding: 1px 5px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface-2); }
/* Short commands and flags in a sentence stay on one line (--quiet, not --/quiet). */
.docs p code, .docs li code { white-space: nowrap; }
.docs kbd { padding: 0 5px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-3); font-size: 12.5px; }
.docs td small { color: var(--text-3); font-size: 12.5px; }
.docs td:first-child { white-space: nowrap; }
.docs .sym { font-family: var(--mono); font-size: 16px; text-align: center; }
.docs-terminal { margin-top: 12px; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: #0f1013; color: var(--text-2); font-size: 12.5px; line-height: 1.7; white-space: pre; }
.docs-terminal strong { color: #f4f5f7; font-weight: 400; }

@media (max-width: 820px) {
  .docs-nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .docs-toc ol { columns: 1; }
  .docs td:first-child { white-space: normal; }
}
