    .docs-shell {
      display: grid;
      grid-template-columns: 260px 1fr;
      min-height: 100vh;
      align-items: start;
      margin-top: 60px;
    }

    /* ── Sidebar ── */

    .docs-sidebar {
      position: sticky;
      top: 0;
      margin-top: 50px;
      height: 100vh;
      overflow-y: auto;
      border-right: 1px solid rgba(233, 238, 246, 0.08);
      padding: 28px 0 48px;
      display: flex;
      flex-direction: column;
      background: rgba(11, 13, 16, 0.6);
      backdrop-filter: blur(10px);
      scrollbar-width: thin;
      scrollbar-color: rgba(233, 238, 246, 0.12) transparent;
    }

    .docs-sidebar__logo {
      padding: 0 24px 28px;
      border-bottom: 1px solid rgba(233, 238, 246, 0.07);
      margin-bottom: 30px;
    }

    .docs-sidebar__logo a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--font-title);
      font-weight: 900;
      font-size: 1.05rem;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .docs-sidebar__logo-badge {
      font-family: var(--font);
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(34, 211, 238, 0.9);
      padding: 2px 8px;
      border-radius: 999px;
    }

    .docs-nav {
      margin-top: 70px;
      flex: 1;
      padding: 0 12px;
    }

    .docs-nav__group {
      margin-bottom: 28px;
    }

    .docs-nav__group-label {
      display: block;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(233, 238, 246, 0.38);
      padding: 0 12px;
      margin-bottom: 10px;
      margin-top: 10px;
    }

    .docs-nav__link {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      border-radius: 9px;
      font-size: 0.9rem;
      color: rgba(233, 238, 246, 0.64);
      transition: background 140ms ease, color 140ms ease;
      cursor: pointer;
      line-height: 1.35;
    }

    .docs-nav__link:hover {
      background: rgba(233, 238, 246, 0.05);
      color: rgba(233, 238, 246, 0.9);
    }

    .docs-nav__link.is-active {
      background: rgba(34, 211, 238, 0.08);
      color: rgba(34, 211, 238, 0.95);
      font-weight: 600;
    }

    .docs-nav__link.is-active::before {
      content: "";
      display: block;
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: rgba(34, 211, 238, 0.9);
      flex-shrink: 0;
    }

    /* ── Main content ── */

    .docs-main {
      min-width: 0;
      margin-top: 60px;
      padding: 56px clamp(24px, 5vw, 80px) 120px;
      max-width: 90%;
    }

    /* Section anchors */
    .docs-section {
      padding-top: 72px;
      margin-top: -24px;
    }

    .docs-section + .docs-section {
      border-top: 1px solid rgba(233, 238, 246, 0.07);
    }

    /* Section heading */
    .docs-section__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(34, 211, 238, 0.7);
      margin-bottom: 10px;
    }

    .docs-section h2 {
      font-family: var(--font-display);
      font-size: clamp(1.45rem, 2.2vw, 1.9rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin: 0 0 16px;
      color: var(--text);
    }

    .docs-section h3 {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      margin: 32px 0 10px;
      color: rgba(233, 238, 246, 0.92);
    }

    .docs-section p {
      color: var(--muted);
      line-height: 1.72;
      margin: 0 0 16px;
    }

    .docs-section ul,
    .docs-section ol {
      color: var(--muted);
      padding-left: 20px;
      margin: 0 0 20px;
      line-height: 1.72;
    }

    .docs-section li + li {
      margin-top: 6px;
    }

    /* Inline code */
    .docs-section code {
      font-family: var(--font-mono);
      font-size: 0.84em;
      background: rgba(233, 238, 246, 0.06);
      border: 1px solid rgba(233, 238, 246, 0.1);
      border-radius: 5px;
      padding: 1px 6px;
      color: rgba(34, 211, 238, 0.85);
    }

    /* Code block */
    .docs-codeblock {
      background: rgba(7, 9, 14, 0.72);
      border: 1px solid rgba(233, 238, 246, 0.1);
      border-radius: 14px;
      overflow: hidden;
      margin: 20px 0;
    }

    .docs-codeblock__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 16px;
      border-bottom: 1px solid rgba(233, 238, 246, 0.07);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: rgba(233, 238, 246, 0.38);
    }

    .docs-codeblock pre {
      margin: 0;
      padding: 18px 20px;
      font-family: var(--font-mono);
      font-size: 0.88rem;
      line-height: 1.65;
      color: rgba(233, 238, 246, 0.86);
      overflow-x: auto;
    }

    .docs-codeblock pre .kw  { color: rgba(167, 139, 250, 0.95); }
    .docs-codeblock pre .str { color: rgba(52, 211, 153, 0.9); }
    .docs-codeblock pre .cm  { color: rgba(233, 238, 246, 0.3); font-style: italic; }
    .docs-codeblock pre .kv  { color: rgba(34, 211, 238, 0.85); }

    /* Callout */
    .docs-callout {
      display: flex;
      gap: 14px;
      padding: 16px 18px;
      border-radius: 12px;
      border-left: 3px solid;
      margin: 20px 0;
    }

    .docs-callout--info {
      background: rgba(34, 211, 238, 0.05);
      border-color: rgba(34, 211, 238, 0.4);
    }

    .docs-callout--warn {
      background: rgba(251, 191, 36, 0.05);
      border-color: rgba(251, 191, 36, 0.4);
    }

    .docs-callout__icon {
      font-size: 1rem;
      line-height: 1.6;
      flex-shrink: 0;
    }

    .docs-callout p {
      margin: 0;
      font-size: 0.92rem;
      line-height: 1.6;
    }

    /* Property table */
    .docs-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
      font-size: 0.88rem;
    }

    .docs-table th {
      text-align: left;
      padding: 10px 14px;
      font-weight: 600;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(233, 238, 246, 0.45);
      border-bottom: 1px solid rgba(233, 238, 246, 0.1);
      background: none;
    }

    .docs-table td {
      padding: 11px 14px;
      color: var(--muted);
      border-bottom: 1px solid rgba(233, 238, 246, 0.06);
      vertical-align: top;
    }

    .docs-table td:first-child {
      font-family: var(--font-mono);
      font-size: 0.82rem;
      color: rgba(34, 211, 238, 0.8);
    }

    .docs-table tr:last-child td {
      border-bottom: none;
    }

    /* Chips / tags */
    .tag {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .tag--required {
      background: rgba(239, 68, 68, 0.1);
      color: rgba(252, 165, 165, 0.9);
    }

    .tag--optional {
      background: rgba(233, 238, 246, 0.07);
      color: rgba(233, 238, 246, 0.45);
    }

    /* Page title block */
    .docs-page-title {
      margin-bottom: 25px;
      padding-bottom: 32px;
      border-bottom: 1px solid rgba(233, 238, 246, 0.08);
    }

    .docs-page-title .eyebrow {
      margin-bottom: 12px;
    }

    .docs-page-title h1 {
      font-family: var(--font-title);
      font-weight: 900;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      line-height: 1.1;
      letter-spacing: -0.03em;
      margin: 0 0 14px;
    }

    .docs-page-title p {
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.65;
      max-width: 580px;
      margin: 0;
    }

    /* Step list */
    .docs-steps {
      list-style: none;
      padding: 0;
      margin: 20px 0;
      counter-reset: step;
    }

    .docs-steps li {
      counter-increment: step;
      display: grid;
      grid-template-columns: 32px 1fr;
      gap: 14px;
      align-items: start;
      margin-bottom: 20px;
    }

    .docs-steps li::before {
      content: counter(step);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--grad-1);
      color: #06080f;
      font-weight: 900;
      font-size: 0.82rem;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .docs-steps li p {
      margin: 0 0 10px;
    }

    /* ── Top nav right group ── */

    .docs-topnav {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .docs-topnav__links {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .docs-topnav__home {
      font-size: 0.85rem;
      font-weight: 500;
      color: rgba(233, 238, 246, 0.6);
      transition: color 140ms ease;
      white-space: nowrap;
    }

    .docs-topnav__home:hover {
      color: rgba(233, 238, 246, 0.95);
    }

    .docs-topnav__github {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 9px;
      font-size: 0.85rem;
      font-weight: 500;
      color: rgba(233, 238, 246, 0.62);
      border: 1px solid transparent;
      transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
      white-space: nowrap;
    }

    .docs-topnav__github:hover {
      color: rgba(233, 238, 246, 0.95);
      background: rgba(233, 238, 246, 0.05);
      border-color: rgba(233, 238, 246, 0.1);
    }

    .docs-topnav__sep {
      width: 1px;
      height: 16px;
      background: rgba(233, 238, 246, 0.12);
      flex-shrink: 0;
    }

    .docs-topnav__ai-label {
      font-size: 0.75rem;
      font-weight: 500;
      color: rgba(233, 238, 246, 0.3);
      white-space: nowrap;
      letter-spacing: 0.02em;
    }

    .docs-topnav__ai {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .docs-topnav__ai a {
      display: flex;
      align-items: center;
      opacity: 0.55;
      transition: opacity 140ms ease, transform 140ms ease;
    }

    .docs-topnav__ai a:hover {
      opacity: 1;
      transform: translateY(-1px);
    }

    .docs-topnav__ai img {
      width: 18px;
      height: 18px;
      object-fit: contain;
    }

    /* ── Hamburger button ── */

    .docs-hamburger {
      display: none;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 10px;
      border: 1px solid rgba(233, 238, 246, 0.12);
      background: rgba(233, 238, 246, 0.04);
      cursor: pointer;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      flex-shrink: 0;
      transition: background 140ms ease, border-color 140ms ease;
    }

    .docs-hamburger:hover {
      background: rgba(233, 238, 246, 0.08);
      border-color: rgba(233, 238, 246, 0.2);
    }

    .docs-hamburger__bar {
      display: block;
      width: 16px;
      height: 1.5px;
      background: rgba(233, 238, 246, 0.8);
      border-radius: 2px;
      transition: transform 220ms ease, opacity 180ms ease, width 180ms ease;
      transform-origin: center;
    }

    /* X state */
    .docs-hamburger.is-open .docs-hamburger__bar:nth-child(1) {
      transform: translateY(6.5px) rotate(45deg);
    }

    .docs-hamburger.is-open .docs-hamburger__bar:nth-child(2) {
      opacity: 0;
      width: 0;
    }

    .docs-hamburger.is-open .docs-hamburger__bar:nth-child(3) {
      transform: translateY(-6.5px) rotate(-45deg);
    }

    /* ── Backdrop ── */

    .docs-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(7, 9, 14, 0.72);
      backdrop-filter: blur(3px);
      z-index: 49;
      opacity: 0;
      transition: opacity 220ms ease;
    }

    .docs-backdrop.is-visible {
      opacity: 1;
    }

    /* Tablet — hide label and separator, keep home + icons */
    @media (max-width: 860px) {
      .docs-hamburger {
        display: flex;
      }

      .docs-topnav__links {
        gap: 8px;
      }

      .docs-topnav__ai-label,
      .docs-topnav__sep {
        display: none;
      }

      .docs-shell {
        grid-template-columns: 1fr;
      }

      /* Sidebar becomes a fixed drawer */
      .docs-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        z-index: 50;
        border-right: 1px solid rgba(233, 238, 246, 0.1);
        transform: translateX(-100%);
        transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
        margin-top: 0;
      }

      .docs-sidebar.is-open {
        transform: translateX(0);
      }

      .docs-backdrop {
        display: block;
      }

      .docs-main {
        padding: 32px 20px 80px;
        grid-column: 1;
      margin-top: 60px;
      }
    }

    /* Small phones — hide AI icons, keep Home link */
    @media (max-width: 480px) {
      .docs-topnav__ai {
        display: none;
      }

      .docs-topnav__home {
        font-size: 0.8rem;
      }
    }