body { background: #fff; }
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.toc {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 16px; display: flex; flex-direction: column; gap: 2px;
  background: radial-gradient(120% 60% at 30% -10%, rgba(35, 79, 96, 0.55), rgba(16, 23, 27, 0) 60%), var(--side);
}
.toc a { color: #b9cad0; text-decoration: none; padding: 7px 12px; border-radius: 8px; font-weight: 500; font-size: 13.5px; }
.toc a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.toc a.cta { margin-top: 12px; background: #7fb3c4; color: #10171b; text-align: center; }
main { padding: 44px 56px 90px; max-width: 900px; }
h1 { font: 500 36px/1.2 var(--serif); margin-bottom: 10px; }
h2 { font: 500 24px var(--serif); margin: 0 0 12px; }
section { padding: 34px 0; border-top: 1px solid var(--line); }
.lead { color: var(--muted); font-size: 16px; max-width: 64ch; margin-bottom: 8px; }
p, li { line-height: 1.7; }
p { margin-bottom: 12px; }
code { font: 12.5px var(--mono); background: #eef3f4; padding: 1px 6px; border-radius: 5px; }
pre { background: #0f1a1f; color: #d7e6ea; padding: 16px 18px; border-radius: 10px; font: 12.5px/1.65 var(--mono); overflow-x: auto; margin: 12px 0 16px; }
pre code { background: none; padding: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 16px; font-size: 13.5px; display: block; overflow-x: auto; }
th, td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f5f8f8; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); }
.note { background: var(--warn-soft); border: 1px solid #ecd49b; color: #5c3d00; padding: 10px 14px; border-radius: 9px; font-size: 13.5px; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  main { padding: 26px 16px 60px; }
}
