/* Documentation page: normal scrolling page in the site's look. Dark by default like the site, light with the OS light scheme. */
:root { --d-bg: #11161c; --d-card: rgba(255,255,255,.05); --d-line: rgba(255,255,255,.14); --d-text: #e6eaef; --d-dim: #a7b1bd; --d-acc: rgb(139,191,255); }
@media (prefers-color-scheme: light) { :root { --d-bg: #f3f6fa; --d-card: #fff; --d-line: rgba(0,0,0,.12); --d-text: #1f2a37; --d-dim: #5b6776; --d-acc: #1c7ed6; } }
body.docs-page { background: var(--d-bg); color: var(--d-text); font-family: 'Nunito', sans-serif; font-weight: 400; overflow-y: auto; }
html.scrollable body.docs-page { height: auto; }
.docs-wrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; max-width: 1280px; margin: 0 auto; padding: 120px 28px 110px; position: relative; z-index: 1; }
.docs-nav { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 160px); overflow-y: auto; padding-right: 8px; font-size: 15px; }
.docs-nav .docs-jump { display: none; }
.docs-nav-group { margin: 20px 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--d-dim); font-weight: 600; }
.docs-nav ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--d-line); }
.docs-nav a { display: block; padding: 5px 12px; color: var(--d-text); opacity: .8; text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; }
.docs-nav a:hover { opacity: 1; }
.docs-nav a.on { opacity: 1; color: var(--d-acc); border-left-color: var(--d-acc); font-weight: 600; }
.docs-main h1 { font-size: 44px; font-weight: 300; margin: 0 0 10px; }
.docs-main h1 .rescolor { color: var(--d-acc); font-weight: 600; }
.docs-lead { font-size: 19px; color: var(--d-dim); max-width: 46em; margin-bottom: 10px; }
.docs-group { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--d-acc); font-weight: 800; margin: 56px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--d-line); }
.docs-sec { padding-top: 26px; scroll-margin-top: 100px; }
.docs-sec h3 { font-size: 26px; font-weight: 600; margin: 0 0 8px; }
.docs-sec p, .docs-main p { font-size: 17px; line-height: 1.65; max-width: 46em; color: var(--d-text); opacity: .92; }
.docs-points { margin: 10px 0 0; padding-left: 0; list-style: none; max-width: 46em; }
.docs-points, .docs-points li { list-style: none !important; }
.docs-points li::marker { content: none; }
.docs-points li { position: relative; padding-left: 22px; margin: 7px 0; font-size: 16px; line-height: 1.55; opacity: .92; }
.docs-points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--d-acc); }
.docs-sec figure { margin: 22px 0 6px; max-width: 980px; }
.docs-sec figure img.app-shot { max-height: none; width: 100%; }
.docs-guides { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--d-line); background: var(--d-card); border-radius: 12px; max-width: 46em; }
.docs-guides > span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--d-dim); font-weight: 600; margin-bottom: 6px; }
.docs-guide { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 7px 0; border-top: 1px solid var(--d-line); }
.docs-guide:first-of-type { border-top: 0; }
.docs-guide em { grid-column: 1; font-style: normal; font-size: 14px; color: var(--d-dim); }
.docs-guide .docs-links { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.docs-links { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.docs-links a { padding: 3px 14px; border-radius: 999px; border: 1px solid var(--d-acc); color: var(--d-acc); font-size: 14px; font-weight: 600; text-decoration: none; }
.docs-links a:hover { background: var(--d-acc); color: var(--d-bg); }
.docs-note { font-size: 12px; color: var(--d-dim); }
.docs-dl { width: 100%; max-width: 46em; border-collapse: collapse; margin-top: 10px; }
.docs-dl td { padding: 11px 6px; border-top: 1px solid var(--d-line); vertical-align: middle; }
.docs-dl td span { font-size: 14px; color: var(--d-dim); }
.docs-dl td.docs-cell { text-align: right; white-space: nowrap; width: 1%; }
@media (max-width: 900px) {
  .docs-wrap { grid-template-columns: 1fr; gap: 12px; padding: 92px 18px 90px; }
  .docs-nav { position: static; max-height: none; overflow: visible; }
  .docs-nav .docs-jump { display: block; width: 100%; padding: 10px 12px; font-size: 16px; border-radius: 8px; border: 1px solid var(--d-line); background: var(--d-card); color: var(--d-text); }
  .docs-nav .docs-nav-group, .docs-nav ul { display: none; }
  .docs-main h1 { font-size: 34px; }
  .docs-guide { grid-template-columns: 1fr; }
  .docs-guide .docs-links { grid-column: 1; grid-row: auto; margin-top: 6px; }
}
/* the site's fixed top and bottom bars need a background on a page that scrolls */
body.docs-page .panel.top, body.docs-page .panel.bottom { background: var(--d-bg); box-shadow: 0 0 0 1px var(--d-line); }
body.docs-page .panel.top { height: auto; }
/* sticky sidebar needs the document itself to scroll, not the body */
html.scrollable, html.scrollable body.docs-page { overflow-x: visible; overflow-y: visible; height: auto; }
html.scrollable { overflow-y: auto; }
