/* ── 13. Documentation sidebar + on this page ────────── */
.s13 { height: 660px; background: var(--gray-0); color: var(--gray-800); }
.dc-h { position: absolute; left: 0; right: 0; top: 0; height: 60px; display: flex; align-items: center; gap: 22px; padding: 0 22px; border-bottom: 1px solid var(--gray-70); background: var(--gray-0); z-index: 5; }
.dc-lg { display: flex; align-items: center; gap: 8px; font-weight: 550; font-size: 17px; letter-spacing: -0.02em; flex: none; }
.dc-lg em { font-style: normal; font-weight: 500; color: var(--gray-450); }
.dc-q { display: flex; align-items: center; gap: 8px; width: 280px; height: 36px; padding: 0 10px 0 12px; border: 1px solid var(--gray-80); border-radius: 8px; color: var(--gray-350); font-size: 13px; }
.dc-q svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dc-q kbd { margin-left: auto; font: 500 11px var(--font); border: 1px solid var(--gray-80); border-radius: 4px; padding: 2px 5px; }
.dc-tl { margin-left: auto; display: flex; gap: 20px; font-size: 13px; color: var(--gray-650); font-weight: 500; }
.dc-body { position: absolute; left: 0; right: 0; top: 60px; bottom: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; }
.dc-side { position: relative; overflow-y: auto; padding: 18px 12px 40px; border-right: 1px solid var(--gray-50); scrollbar-width: none; }
.dc-side::-webkit-scrollbar { display: none; }
.dc-grp { margin-bottom: 6px; }
.dc-gh { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; padding: 8px 10px; font-size: 13px; font-weight: 550; color: var(--gray-800); cursor: default; text-align: left; }
.dc-gh svg { width: 12px; height: 12px; fill: none; stroke: var(--gray-350); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.2,.9,.25,1); }
.dc-gh[aria-expanded="false"] svg { transform: rotate(-90deg); }
.dc-gl { overflow: hidden; }
.dc-it { position: relative; z-index: 1; display: block; width: 100%; border: 0; background: none; text-align: left; padding: 6px 10px 6px 28px; font-size: 13px; color: var(--gray-650); cursor: default; border-radius: 6px; }
.dc-it:is(:hover, [data-hover]) { color: var(--gray-800); }
.dc-it.on { color: var(--violet-500); font-weight: 550; }
.dc-ai { position: absolute; left: 12px; right: 12px; top: 0; height: 30px; border-radius: 6px; background: color-mix(in srgb, var(--violet-500) 9%, transparent); box-shadow: inset 2px 0 0 var(--violet-500); opacity: 0; }
.dc-main { overflow-y: auto; padding: 34px clamp(20px, 4cqw, 52px) 260px; scrollbar-width: thin; overscroll-behavior: contain; }
.dc-crumb { font-size: 13px; color: var(--gray-450); }
.dc-main h3 { margin: 8px 0 0; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 550; transition: opacity .16s; }
.dc-lead { font-size: 17px; line-height: 1.6; color: var(--gray-650); margin: 14px 0 0; max-width: 62ch; }
.dc-main h4 { margin: 44px 0 0; font-size: 20px; font-weight: 550; letter-spacing: -0.01em; scroll-margin-top: 16px; }
.dc-main h5 { margin: 26px 0 0; font-size: 15px; font-weight: 550; scroll-margin-top: 16px; }
.dc-main p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--gray-650); max-width: 64ch; }
.dc-code { margin: 16px 0 0; background: var(--gray-20); border: 1px solid var(--gray-70); border-radius: 8px; padding: 14px 16px; font: 12px/1.7 var(--font-mono); color: var(--gray-800); white-space: pre; overflow-x: auto; }
.dc-code .k { color: var(--violet-500); } .dc-code .s { color: var(--aqua-500); } .dc-code .n { color: var(--orange-450); }
.dc-note { margin: 18px 0 0; padding: 14px 16px; border-radius: 8px; background: var(--gray-30); border: 1px solid var(--gray-90); font-size: 13px; line-height: 1.6; color: var(--violet-650); max-width: 64ch; }
.dc-toc { position: relative; padding: 34px 18px 20px 20px; font-size: 13px; }
.dc-toc p { margin: 0 0 12px; font-weight: 550; color: var(--gray-800); }
.dc-tl2 { position: relative; list-style: none; margin: 0; padding: 0 0 0 14px; }
.dc-tl2::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--gray-70); }
.dc-rng { position: absolute; left: -0.5px; top: 0; width: 2px; height: 0; border-radius: 2px; background: var(--violet-500); }
.dc-tl2 li button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 5px 0; font-size: 13px; line-height: 1.4; color: var(--gray-450); cursor: default; transition: color .2s; }
.dc-tl2 li.sub button { padding-left: 12px; }
.dc-tl2 li.vis button { color: var(--gray-800); }
.dc-mob { display: none; position: sticky; top: -34px; margin: -34px calc(-1 * clamp(20px, 4cqw, 52px)) 20px; padding: 12px clamp(20px, 4cqw, 52px); background: color-mix(in srgb, var(--gray-0) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-50); font-size: 13px; color: var(--gray-650); z-index: 2; }
.dc-mob b { color: var(--gray-800); }
.dc-mob i { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--violet-500); width: 0; }
@container (max-width: 860px) { .dc-body { grid-template-columns: 220px minmax(0, 1fr); } .dc-toc { display: none; } .dc-tl { display: none; } }
@container (max-width: 640px) { .dc-body { grid-template-columns: minmax(0, 1fr); } .dc-side { display: none; } .dc-q { width: auto; flex: 1; } .dc-q span, .dc-q kbd { display: none; } .dc-mob { display: block; } }

