.docs-tag {
  font-size: 12px; font-weight: 650; color: var(--accent-2); margin-left: 4px;
  padding: 3px 8px; border-radius: 6px; background: rgba(82, 111, 255, 0.1); border: 1px solid rgba(82, 111, 255, 0.25);
}
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding: 56px 0 96px; }
.toc { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toc-title { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.toc a { color: #a7aec0; font-size: 14.5px; padding: 5px 10px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.toc a.sub { padding-left: 24px; font-size: 14px; }
.doc { max-width: 760px; min-width: 0; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 18px;
  background: none; color: var(--text); -webkit-background-clip: initial; background-clip: initial; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); max-width: none; scroll-margin-top: 88px; }
.doc h3 { font-size: 19px; margin: 32px 0 10px; scroll-margin-top: 88px; }
.doc p, .doc li { color: #b6bdcd; font-size: 16px; }
.doc b { color: var(--text); font-weight: 650; }
.doc .lead { font-size: 18.5px; color: #c9cfdc; }
.doc ul { padding-left: 20px; margin: 12px 0; }
.doc li { margin: 8px 0; }
.doc li::marker { color: var(--accent-2); }
.doc code {
  font: 13.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #d6dcff;
  background: rgba(82, 111, 255, 0.1); border: 1px solid rgba(82, 111, 255, 0.18); padding: 1px 6px; border-radius: 6px;
  overflow-wrap: anywhere;
}
.doc .note { font-size: 14.5px; color: var(--muted); }
.doc .updated { margin-top: 56px; color: var(--muted); font-size: 13.5px; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin: 18px 0; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { color: var(--muted); font-weight: 550; font-size: 13px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { color: #c3c9d6; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc-title { width: 100%; }
  .toc a.sub { padding-left: 10px; }
}
