/* Docs: a Mintlify-style reference. Left nav, reading column, screenshots of the real app. */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; max-width: 1080px; margin: 0 auto; padding: 40px 24px 60px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; gap: 24px; } .docs-nav { position: static; } }
.docs-nav { position: sticky; top: 86px; align-self: start; font-size: 14px; }
.docs-nav h5 { margin: 22px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.docs-nav h5:first-child { margin-top: 0; }
.docs-nav a { display: block; padding: 6px 10px; margin: 1px -10px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.docs-nav a:hover { color: var(--ink); background: var(--panel); }
.docs-nav a[aria-current="page"] { color: var(--accent-deep); background: rgba(242,98,46,.09); font-weight: 600; }
.docs-crumb { font-size: 13px; color: var(--muted-2); margin: 0 0 8px; }
.docs-body { font-size: 16px; line-height: 1.65; color: var(--ink-3); }
.docs-body h1 { font-family: var(--font-lead); font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin: 0 0 12px; }
.docs-body .lede { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.docs-body h2 { font-family: var(--font-lead); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 10px; scroll-margin-top: 90px; }
.docs-body h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.docs-body p { margin: 0 0 14px; }
.docs-body a { color: var(--accent-deep); text-decoration: underline; text-decoration-color: rgba(201,72,27,.35); text-underline-offset: 3px; }
.docs-body ul { padding-left: 20px; margin: 0 0 16px; } .docs-body li { margin: 6px 0; }
.docs-body kbd, .docs-body code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; background: var(--panel); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.docs-body b { color: var(--ink); font-weight: 600; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 8px 0 20px; }
.steps > li { position: relative; padding: 0 0 22px 44px; margin: 0; }
.steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.steps > li::after { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 0; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps > li > p:first-child { margin-top: 3px; }
.shot { display: block; width: 100%; height: auto; margin: 10px 0 22px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(0,0,0,.45); background: #0f1216; }
.shot.narrow { max-width: 360px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 10px 0 22px; }
.shots figure { margin: 0; } .shots .shot { margin: 0 0 8px; } .shots figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.callout { margin: 16px 0 20px; padding: 14px 16px; border-radius: 12px; background: rgba(242,98,46,.07); box-shadow: 0 0 0 1px rgba(242,98,46,.22); font-size: 15px; }
.callout.info { background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.callout b { display: block; margin-bottom: 2px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pager a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 12px 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.pager a:hover { background: var(--panel); } .pager a small { display: block; font-weight: 400; color: var(--muted-2); font-size: 12px; margin-bottom: 2px; }
.pager .next { margin-left: auto; text-align: right; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.cards a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.cards a:hover { box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -20px rgba(0,0,0,.35); }
.cards b { display: block; font-weight: 600; margin-bottom: 4px; } .cards span { font-size: 14px; color: var(--muted); }
