/* jadeos.ai's docs (the build write-up HQ projects/hq-app/product/docs-2026-10-19.md; the board "jade.os docs",
   version 42, Miguel's "and as for docs, i approve", HQ decisions 2026-10-19 17:20): the cover (/docs), the front page
   (/docs/learn) and the docs pages (/docs/<name>). The site's frame, pill, look switch, "On this page" and foot are
   site.css's (.auth, .read-page, .toc, .toc-fold); everything here is the board's own, its inline styles made rules,
   and every rule is under .dx, the class of the docs' pages alone, so nothing here reaches another page of the site.
   The board's colours by look: dark by default, light by the site's switch; the cover too (version 43). Where the
   board's small grey words fell under WCAG AA on a card (the site's own rule, HQ decisions 2026-10-14 18:41), they take
   the next grey up: the graph maps' small lines, the Maps card's slab numbers, the search's group names. */

/* ---- The docs' colours ---- */
.dx {
  --dx-c1: #1c1c1c;
  --dx-c2: #212121;
  --dx-c3: #2a2a2a;
  --dx-ink: #f4f4f1;
  --dx-body: #d8d8d3;
  --dx-mut: #a1a1a9;
  --dx-mut2: #8a8a92;
  --dx-line: #3a3a3a;
  --dx-ort: #ff6a1a;
  --dx-inv: #f4f4f1;
  --dx-invk: #141417;
  --dx-invm: #5c5c64;
  --dx-shadow: rgba(0, 0, 0, 0.32);
  --dx-grid: rgba(244, 244, 241, 0.07);
}
[data-theme='light'] .dx {
  --dx-c1: #ffffff;
  --dx-c2: #ebebe6;
  --dx-c3: #dcdcd6;
  --dx-ink: #141417;
  --dx-body: #2c2c31;
  --dx-mut: #5c5c64;
  --dx-mut2: #6c6c74;
  --dx-line: #c4c4bd;
  --dx-ort: #b0400a;
  --dx-inv: #141417;
  --dx-invk: #f4f4f1;
  --dx-invm: #a1a1a9;
  --dx-shadow: rgba(20, 20, 23, 0.12);
  --dx-grid: rgba(20, 20, 23, 0.09);
}

/* ---- The pill: the site's, with the docs' search, and Docs marked as where you are ---- */
/* (over the page, so the search's results lie over what is under the pill) */
.dx .topbar { z-index: 5; }
.dx .topbar .wrap { flex-wrap: wrap; row-gap: 8px; height: auto; min-height: 52px; padding: 9px 9px 9px 10px; }
.dx .topbar nav a[aria-current] { color: #f4f4f1; font-weight: 600; }
.dx .dx-find { position: relative; }
.dx .dx-search { position: relative; display: block; width: 210px; }
.dx .dx-search input { display: block; width: 100%; height: 34px; margin: 0; padding: 0 30px 0 34px; border: 0; border-radius: 11px; background: var(--nav-btn); color: #f4f4f1; font-size: 13px; }
.dx .dx-search input::placeholder { color: #a1a1a9; opacity: 1; }
.dx .dx-search svg { position: absolute; left: 11px; top: 9px; width: 16px; height: 16px; color: #a1a1a9; pointer-events: none; }
.dx .dx-search kbd { position: absolute; right: 11px; top: 9px; font-family: var(--mono); font-size: 10px; line-height: 16px; color: #a1a1a9; pointer-events: none; }
/* the results: under the search, the first one marked for Enter */
.dx .dx-results { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: 380px; max-width: calc(100vw - 40px); box-sizing: border-box; padding: 8px; border-radius: 18px;
  background: var(--dx-c1); box-shadow: 0 24px 60px var(--dx-shadow); display: flex; flex-direction: column; gap: 2px; text-align: left; }
.dx .dx-results[hidden] { display: none; }
.dx .dx-res { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; line-height: 1.3;
  color: var(--dx-ink); text-decoration: none; }
.dx .dx-res b { font-weight: 500; }
.dx .dx-res i { flex: none; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut); }
.dx .dx-res:hover, .dx .dx-res.dx-first { background: var(--dx-c3); }
.dx .dx-none { margin: 0; padding: 10px 12px; font-size: 14px; line-height: 1.4; color: var(--dx-mut); }
/* (the results lie in the pill, whose ring is the bright orange on its dark ground; in the light look their panel is
   white, so their ring is the orange ink, as on the site's light grounds: review-1 S1) */
[data-theme='light'] .dx .dx-results :focus-visible { outline-color: #b0400a; }

/* ---- A docs page: the sidebar, the page in the middle, On this page at the right ---- */
.dx.read-page main.dx-main { padding: 0 28px; }
.dx .dx-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr) 220px; column-gap: 28px; max-width: 1376px; margin: 40px auto 0; align-items: start; }
.dx .dx-col { min-width: 0; }
.dx .dx-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 4px 6px 12px; box-sizing: border-box; }
.dx .dx-g { margin: 14px 0 6px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut2); }
.dx .dx-side .dx-g:first-child, .dx .dx-side-fold .dx-g:first-child { margin-top: 4px; color: var(--dx-ort); }
.dx .dx-side a, .dx .dx-side-fold nav a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--dx-mut); text-decoration: none; }
.dx .dx-side a:hover, .dx .dx-side-fold nav a:hover { color: var(--dx-ink); background: var(--dx-c1); }
.dx .dx-side a[aria-current], .dx .dx-side-fold nav a[aria-current] { background: var(--dx-inv); color: var(--dx-invk); font-weight: 600; box-shadow: inset 3px 0 0 #ff6a1a; }
/* the sidebar folded, for a phone (as the site's folded On this page) */
.dx .dx-side-fold { display: none; margin-bottom: 18px; border-radius: 16px; background: var(--tile); }
.dx .dx-side-fold summary { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; }
.dx .dx-side-fold summary::-webkit-details-marker { display: none; }
.dx .dx-side-fold summary::after { content: '+'; color: var(--dim); }
.dx .dx-side-fold[open] summary::after { content: '\2212'; }
.dx .dx-side-fold nav { display: flex; flex-direction: column; gap: 2px; padding: 0 10px 12px; }
.dx .toc { padding-top: 8px; }

/* the small line over the heading */
.dx .dx-eb { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dx-mut2); }
.dx .dx-num { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 10px; box-sizing: border-box; border-radius: 999px; background: var(--dx-c2); color: var(--dx-mut); }

/* the article */
.dx .dx-doc { margin-top: 14px; }
.dx .dx-doc > :not(.dx-map) { max-width: 660px; }
.dx .dx-doc h1 { margin: 0; font-size: 42px; line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; color: var(--dx-ink); }
.dx .dx-doc .dx-lead { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--dx-mut); }
.dx .dx-doc h2 { margin: 38px 0 0; font-size: 23px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--dx-ink); scroll-margin-top: 24px; }
.dx .dx-doc p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.62; color: var(--dx-body); }
.dx .dx-doc p b, .dx .dx-doc li b { color: var(--dx-ink); }
.dx .dx-doc ol { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: dx-step; }
.dx .dx-doc ol li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.55; color: var(--dx-body); }
.dx .dx-doc ol li::before { counter-increment: dx-step; content: counter(dx-step); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--dx-c2); color: var(--dx-ink); font-family: var(--mono); font-size: 12px; }
.dx .dx-doc ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dx .dx-doc ul li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.55; color: var(--dx-body); }
.dx .dx-doc ul li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: #ff6a1a; }
.dx .dx-say { margin-top: 20px; padding: 16px 18px; border-radius: 18px; background: var(--dx-inv); color: var(--dx-invk); font-size: 15px; line-height: 1.5; box-shadow: inset 3px 0 0 #ff6a1a; }
.dx .dx-say .dx-sl { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-invm); }
.dx .dx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dx .dx-chips span { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; box-sizing: border-box; border-radius: 999px; background: var(--dx-c2); font-size: 13px; line-height: 1.35; color: var(--dx-body); }
.dx .dx-chips i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dx-mut2); }
.dx .dx-chips i.dx-ok { background: #5ad19a; }
.dx .dx-chips i.dx-or { background: #ff6a1a; }
.dx .dx-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.dx .dx-place { padding: 16px 18px; border-radius: 18px; background: var(--dx-c1); }
.dx .dx-place.dx-home { background: var(--dx-inv); color: var(--dx-invk); box-shadow: inset 3px 0 0 #ff6a1a; }
.dx .dx-place .dx-k { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut2); }
.dx .dx-place.dx-home .dx-k { color: var(--dx-invm); }
.dx .dx-place b { display: block; font-size: 17px; letter-spacing: -0.01em; color: var(--dx-ink); }
.dx .dx-place.dx-home b { color: var(--dx-invk); }
.dx .dx-place .dx-t { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--dx-mut); }
.dx .dx-place.dx-home .dx-t { color: var(--dx-invm); }
.dx .dx-inl { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 5px 0 16px; box-sizing: border-box; border-radius: 999px; background: var(--dx-inv);
  color: var(--dx-invk); font-size: 14px; font-weight: 600; text-decoration: none; }
.dx .dx-a { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #ff6a1a; color: #070708; display: flex; align-items: center; justify-content: center; }
.dx .dx-a svg { width: 14px; height: 14px; }
.dx .dx-def { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--dx-c1); box-shadow: inset 3px 0 0 #ff6a1a; font-size: 14.5px; line-height: 1.55; color: var(--dx-body); }
.dx .dx-doc p.dx-def { font-size: 14.5px; line-height: 1.55; }
.dx .dx-uthc { margin-top: 14px; padding: 4px 20px 18px; border-radius: 20px; background: var(--dx-c1); }
.dx .dx-doc .dx-uthc li { font-size: 14.5px; }

/* Back and Next */
/* Next first in the page, then Back (Miguel, 2026-10-20 16:16): drawn in reverse, so side by side Back stands at the left
   and Next at the right, and where they wrap or stack Next is above; Back alone (the last page) keeps to the left */
.dx .dx-foot { display: flex; flex-direction: row-reverse; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; max-width: 660px; }
.dx .dx-foot a { display: flex; flex-direction: column; gap: 4px; min-width: min(230px, 100%); box-sizing: border-box; padding: 14px 18px; border-radius: 16px; background: var(--dx-c1);
  color: var(--dx-ink); font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.dx .dx-foot a:hover { background: var(--dx-c3); }
.dx .dx-foot .dx-back { margin-right: auto; text-align: left; }
.dx .dx-foot .dx-next { margin-left: auto; text-align: right; }
.dx .dx-foot small { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dx-mut2); font-weight: 400; }
.dx .dx-foot a:hover small { color: var(--dx-mut); }

/* ---- The maps: one engine (docs.js). A box is read in the card under the map on a tap; Play walks the steps, the
   path lighting as it goes, a small orange packet riding the wire. A map wider than its column scrolls sideways
   inside its own frame. ---- */
.dx .dx-map { max-width: 800px; }
/* the steps: a list out of sight (the site's .sr-only), read whole by a screen reader (review-1 N5); not the article's
   numbered list */
.dx .dx-doc .dx-steps, .dx .dx-doc .dx-steps li { display: block; margin: 0; padding: 0; }
.dx .dx-scroll { width: fit-content; max-width: 100%; margin-top: 22px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; border-radius: 24px; }
.dx .dx-detail { display: flex; align-items: flex-start; gap: 18px; max-width: 660px; min-height: 62px; margin-top: 12px; padding: 18px 20px; box-sizing: border-box; border-radius: 20px; background: var(--dx-c1); }
.dx .dx-detail.dx-wide { max-width: 800px; }
.dx .dx-dt { flex: 1; min-width: 0; }
.dx .dx-dk { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut2); }
.dx .dx-dt b { display: block; margin-top: 6px; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; color: var(--dx-ink); }
.dx .dx-doc .dx-dt p { margin: 6px 0 0; }
.dx .dx-play { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 38px; margin: 0; padding: 0 16px 0 6px; border: 0; border-radius: 999px; background: var(--dx-inv);
  color: var(--dx-invk); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dx .dx-play i { width: 28px; height: 28px; border-radius: 50%; background: #ff6a1a; color: #070708; display: flex; align-items: center; justify-content: center; }
.dx .dx-play svg { width: 12px; height: 12px; }
.dx .dx-node { margin: 0; font-family: var(--display); text-align: left; cursor: pointer; }

/* the graph maps: How an approval moves, How your phone links, Where your data lives */
.dx .dx-graph { position: relative; width: 660px; height: 320px; border-radius: 24px; background: var(--dx-c1); overflow: hidden; }
.dx .dx-graph.dx-tall { height: 330px; }
.dx .dx-graph > svg { position: absolute; left: 0; top: 0; }
.dx .dx-graph .dx-e { fill: none; stroke: var(--dx-line); stroke-width: 2; transition: stroke 0.3s; }
.dx .dx-graph .dx-e.dx-dash { stroke-dasharray: 5 6; stroke: var(--dx-ort); opacity: 0.55; }
.dx .dx-graph .dx-e.lit { stroke: #ff6a1a; opacity: 1; stroke-width: 2.6; }
.dx .dx-lbl { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dx-ort); }
.dx .dx-lbl.dx-m { color: var(--dx-mut2); }
.dx .dx-graph .dx-node { position: absolute; box-sizing: border-box; width: 142px; min-height: 76px; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--dx-c2); color: var(--dx-ink);
  font-size: 14px; font-weight: 600; line-height: 1.25; display: flex; flex-direction: column; gap: 4px; transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s; }
.dx .dx-graph .dx-node:hover { transform: translateY(-2px); }
.dx .dx-graph .dx-node .dx-k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dx-mut); font-weight: 400; }
.dx .dx-graph .dx-node small { font-size: 12px; font-weight: 400; color: var(--dx-mut); line-height: 1.35; }
.dx .dx-graph .dx-node.dx-you { box-shadow: inset 3px 0 0 #ff6a1a; }
.dx .dx-graph .dx-node.sel { background: var(--dx-inv); color: var(--dx-invk); box-shadow: inset 3px 0 0 #ff6a1a; }
.dx .dx-graph .dx-node.sel .dx-k, .dx .dx-graph .dx-node.sel small { color: var(--dx-invm); }
.dx .dx-graph .dx-node.lit { background: #ff6a1a; color: #070708; }
.dx .dx-graph .dx-node.lit .dx-k, .dx .dx-graph .dx-node.lit small { color: #070708; }
.dx .dx-graph .dx-node.dx-zone { min-height: 250px; justify-content: flex-start; }
.dx .dx-ul { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; font-size: 12.5px; font-weight: 500; }
.dx .dx-ul span { padding: 7px 10px; border-radius: 10px; background: var(--dx-c3); line-height: 1.3; }
.dx .dx-graph .dx-node.sel .dx-ul span { background: rgba(20, 20, 23, 0.08); }
[data-theme='light'] .dx .dx-graph .dx-node.sel .dx-ul span { background: rgba(244, 244, 241, 0.12); }
.dx .dx-graph .dx-node.lit .dx-ul span { background: rgba(7, 7, 8, 0.12); }
.dx .dx-mnote { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 12px 16px; border-radius: 14px; border: 1px dashed var(--dx-line); font-size: 13.5px; line-height: 1.4; color: var(--dx-mut); }
/* where the board draws each box and line */
.dx .dx-ap [data-node="ask"] { left: 14px; top: 40px; }
.dx .dx-ap [data-node="agent"] { left: 178px; top: 40px; }
.dx .dx-ap [data-node="check"] { left: 342px; top: 40px; }
.dx .dx-ap [data-node="today"] { left: 506px; top: 40px; }
.dx .dx-ap [data-node="you"] { left: 506px; top: 220px; }
.dx .dx-ap [data-node="out"] { left: 342px; top: 220px; }
.dx .dx-ap [data-node="archive"] { left: 178px; top: 220px; }
.dx .dx-ap .dx-lbl { left: 290px; top: 150px; }
.dx .dx-ph [data-node="phone"] { left: 14px; top: 92px; }
.dx .dx-ph [data-node="relay"] { left: 178px; top: 92px; }
.dx .dx-ph [data-node="computer"] { left: 342px; top: 92px; }
.dx .dx-ph [data-node="ai"] { left: 506px; top: 92px; }
.dx .dx-ph .dx-lbl1 { left: 16px; top: 52px; }
.dx .dx-ph .dx-lbl2 { left: 16px; top: 196px; }
.dx .dx-da [data-node="phone"] { left: 14px; top: 40px; }
.dx .dx-da [data-node="relay"] { left: 178px; top: 40px; }
.dx .dx-da [data-node="computer"] { left: 342px; top: 40px; }
.dx .dx-da [data-node="ai"] { left: 506px; top: 40px; }

/* the architecture maps: How AI works (the system) and How AI memory works, on a dot grid */
.dx .dx-arch { position: relative; width: 800px; border-radius: 24px; background-color: var(--dx-c1); background-image: radial-gradient(var(--dx-grid) 1px, transparent 1.3px); background-size: 16px 16px; overflow: hidden; }
.dx .dx-sys { height: 470px; }
.dx .dx-mem { height: 440px; }
.dx .dx-arch .dx-zone { position: absolute; box-sizing: border-box; border: 1px dashed var(--dx-line); border-radius: 18px; }
.dx .dx-arch .dx-zone.dx-net { border-style: dotted; }
.dx .dx-zl, .dx .dx-al { position: absolute; left: 14px; top: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut2); white-space: nowrap; }
.dx .dx-appf { position: absolute; box-sizing: border-box; border: 1.5px solid rgba(255, 106, 26, 0.45); border-radius: 14px; }
.dx .dx-appf .dx-al { color: var(--dx-ort); }
.dx .dx-al.dx-bl { top: auto; bottom: 10px; }
.dx .dx-racks, .dx .dx-wires { position: absolute; left: 0; top: 0; pointer-events: none; }
.dx .dx-racks rect { fill: var(--dx-c2); stroke: var(--dx-line); stroke-width: 1; }
.dx .dx-racks path { stroke: var(--dx-line); stroke-width: 1.2; fill: none; }
.dx .dx-rl { position: absolute; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dx-mut2); white-space: nowrap; }
.dx .dx-arch .dx-e { fill: none; stroke: var(--dx-mut2); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke 0.3s; }
.dx .dx-arch .dx-e.dx-dash { stroke-dasharray: 5 5; }
.dx .dx-arch .dx-e.lit { stroke: #ff6a1a; stroke-width: 2; }
.dx .dx-wl { position: absolute; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dx-ort); white-space: nowrap; }
.dx .dx-arch .dx-node { position: absolute; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--dx-line); border-radius: 12px; background: var(--ground); color: var(--dx-ink);
  font-size: 13px; font-weight: 600; line-height: 1.2; display: flex; flex-direction: column; justify-content: flex-start; gap: 3px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.dx .dx-sys .dx-node { justify-content: center; }
.dx .dx-arch .dx-node:hover { border-color: var(--dx-mut2); }
.dx .dx-arch .dx-node small { font-size: 11px; font-weight: 400; line-height: 1.3; color: var(--dx-mut); }
.dx .dx-lb { position: absolute; right: 8px; top: 7px; padding: 2px 6px; border-radius: 999px; background: var(--dx-c3); font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--dx-mut); }
.dx .dx-arch .dx-node.dx-you { border-color: rgba(255, 106, 26, 0.6); }
.dx .dx-arch .dx-node.dx-store { box-shadow: inset 0 3px 0 var(--dx-mut2); }
.dx .dx-arch .dx-node.sel { background: var(--dx-inv); color: var(--dx-invk); border-color: var(--dx-inv); box-shadow: none; }
.dx .dx-arch .dx-node.sel small { color: var(--dx-invm); }
.dx .dx-arch .dx-node.lit { background: #ff6a1a; color: #070708; border-color: #ff6a1a; box-shadow: none; }
.dx .dx-arch .dx-node.lit small { color: #070708; }
.dx .dx-arch .dx-node.lit .dx-lb { background: #070708; color: #f4f4f1; }
/* the packet: a small orange dot riding the wire of the step on show (its road, the board's, by step) */
.dx .dx-pk { position: absolute; left: 0; top: 0; z-index: 3; width: 10px; height: 10px; border-radius: 50%; background: #ff6a1a; box-shadow: 0 0 0 4px rgba(255, 106, 26, 0.22), 0 0 14px #ff6a1a;
  offset-rotate: 0deg; animation: dx-ride 1.5s ease-in-out infinite; pointer-events: none; }
.dx .dx-pk:not([data-at]) { display: none; }
@keyframes dx-ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.dx .dx-sys .dx-pk[data-at="0"] { offset-path: path("M96 106 V160"); }
.dx .dx-sys .dx-pk[data-at="2"] { offset-path: path("M304 178 H400 V81 H480"); }
.dx .dx-sys .dx-pk[data-at="3"] { offset-path: path("M624 106 V140"); }
.dx .dx-sys .dx-pk[data-at="4"] { offset-path: path("M480 186 H416 V273 H304"); }
.dx .dx-sys .dx-pk[data-at="5"] { offset-path: path("M243 244 V218"); }
.dx .dx-sys .dx-pk[data-at="6"] { offset-path: path("M243 302 V315 H109 V328"); }
.dx .dx-sys .dx-pk[data-at="7"] { offset-path: path("M170 357 H182"); }
.dx .dx-sys .dx-pk[data-at="8"] { offset-path: path("M109 218 V244"); }
.dx .dx-mem .dx-pk[data-at="0"] { offset-path: path("M220 104 H236 V165 H252"); }
.dx .dx-mem .dx-pk[data-at="1"] { offset-path: path("M444 215 H504"); }
.dx .dx-mem .dx-pk[data-at="2"] { offset-path: path("M636 140 V116"); }
.dx .dx-mem .dx-pk[data-at="3"] { offset-path: path("M220 104 H236 V165 H252"); }
.dx .dx-mem .dx-pk[data-at="4"] { offset-path: path("M252 196 H220"); }
.dx .dx-mem .dx-pk[data-at="5"] { offset-path: path("M252 266 H220"); }
.dx .dx-mem .dx-pk[data-at="6"] { offset-path: path("M636 290 V318"); }
.dx .dx-mem .dx-pk[data-at="7"] { offset-path: path("M220 323 H236 V270 H252"); }
/* How AI memory works: how full the window is, its session, and the desk's four sheets */
.dx .dx-cw { position: absolute; left: 520px; top: 258px; z-index: 2; width: 232px; height: 9px; border-radius: 5px; background: var(--dx-c3); overflow: hidden; pointer-events: none; }
.dx .dx-cw i { display: block; width: 52%; height: 100%; border-radius: 5px; background: var(--dx-mut2); transition: width 0.7s ease, background 0.3s; }
.dx .dx-cw[data-level="0"] i { width: 8%; }
.dx .dx-cw[data-level="1"] i { width: 30%; }
.dx .dx-cw[data-level="3"] i { width: 78%; background: #ff6a1a; }
.dx .dx-cw[data-level="4"] i { width: 94%; background: #ff6a1a; }
.dx .dx-cwl, .dx .dx-sess { position: absolute; z-index: 2; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dx-mut2); pointer-events: none; }
.dx .dx-cwl { left: 520px; top: 272px; }
.dx .dx-sess { left: 680px; top: 150px; padding: 3px 8px; border-radius: 999px; background: var(--dx-c3); color: var(--dx-mut); }
.dx .dx-arch .dx-node.lit + .dx-cw { background: rgba(7, 7, 8, 0.22); }
.dx .dx-arch .dx-node.lit + .dx-cw i { background: #070708; }
.dx .dx-arch .dx-node.lit + .dx-cw + .dx-cwl { color: #070708; }
.dx .dx-arch .dx-node.lit + .dx-cw + .dx-cwl + .dx-sess { background: #070708; color: #f4f4f1; }
.dx .dx-sheets { position: absolute; left: 266px; top: 194px; z-index: 2; width: 164px; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }
.dx .dx-sheets i { display: block; padding: 4px 8px; border-radius: 7px; background: var(--dx-c3); font-style: normal; font-size: 10.5px; line-height: 1.3; color: var(--dx-body); }
.dx .dx-sheets i.dx-m { background: var(--dx-inv); color: var(--dx-invk); }
.dx .dx-sheets i.dx-o { box-shadow: inset 0 0 0 1px rgba(255, 106, 26, 0.6); }
/* where the board draws each place, box and label of the two architecture maps */
.dx .dx-sys .dx-z1 { left: 16px; top: 16px; width: 320px; height: 438px; }
.dx .dx-sys .dx-z2 { left: 352px; top: 16px; width: 96px; height: 438px; }
.dx .dx-sys .dx-z3 { left: 464px; top: 16px; width: 320px; height: 438px; }
.dx .dx-sys .dx-appf { left: 32px; top: 128px; width: 288px; height: 318px; }
.dx .dx-sys .dx-rl { left: 486px; top: 438px; }
.dx .dx-sys .dx-wl1 { left: 356px; top: 122px; }
.dx .dx-sys .dx-wl2 { left: 420px; top: 222px; }
.dx .dx-sys [data-node="you"] { left: 36px; top: 52px; width: 120px; height: 54px; }
.dx .dx-sys [data-node="desk"] { left: 48px; top: 160px; width: 256px; height: 58px; }
.dx .dx-sys [data-node="memory"] { left: 48px; top: 244px; width: 122px; height: 58px; }
.dx .dx-sys [data-node="tools"] { left: 182px; top: 244px; width: 122px; height: 58px; }
.dx .dx-sys [data-node="check"] { left: 48px; top: 328px; width: 122px; height: 58px; }
.dx .dx-sys [data-node="ok"] { left: 182px; top: 328px; width: 122px; height: 58px; }
.dx .dx-sys [data-node="api"] { left: 480px; top: 56px; width: 288px; height: 50px; }
.dx .dx-sys [data-node="run"] { left: 480px; top: 140px; width: 288px; height: 62px; }
.dx .dx-sys [data-node="model"] { left: 480px; top: 236px; width: 138px; height: 62px; }
.dx .dx-sys [data-node="chips"] { left: 630px; top: 236px; width: 138px; height: 62px; }
.dx .dx-mem .dx-z1 { left: 16px; top: 16px; width: 456px; height: 408px; }
.dx .dx-mem .dx-z2 { left: 488px; top: 16px; width: 296px; height: 408px; }
.dx .dx-mem .dx-appf { left: 28px; top: 44px; width: 432px; height: 368px; }
.dx .dx-mem .dx-wl1 { left: 452px; top: 186px; width: 46px; white-space: normal; line-height: 1.3; }
.dx .dx-mem [data-node="chat"] { left: 44px; top: 76px; width: 176px; height: 56px; }
.dx .dx-mem [data-node="memory"] { left: 44px; top: 148px; width: 176px; height: 62px; }
.dx .dx-mem [data-node="note"] { left: 44px; top: 226px; width: 176px; height: 56px; }
.dx .dx-mem [data-node="msg"] { left: 44px; top: 298px; width: 176px; height: 50px; }
.dx .dx-mem [data-node="desk"] { left: 252px; top: 140px; width: 192px; height: 190px; }
.dx .dx-mem [data-node="model"] { left: 504px; top: 64px; width: 264px; height: 52px; }
.dx .dx-mem [data-node="window"] { left: 504px; top: 140px; width: 264px; height: 150px; }
.dx .dx-mem [data-node="fresh"] { left: 504px; top: 318px; width: 264px; height: 56px; }

/* ---- The front page: "Learn it your way.", the search, three cards, Popular ---- */
.dx .dx-ix { max-width: 1184px; margin: 56px auto 0; }
.dx .dx-ix h1 { margin: 18px 0 0; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--dx-ink); }
.dx .dx-find-big { max-width: 640px; margin-top: 26px; }
.dx .dx-bigsearch { position: relative; display: block; }
.dx .dx-bigsearch input { display: block; width: 100%; height: 62px; margin: 0; padding: 0 64px 0 50px; box-sizing: border-box; border: 0; border-radius: 20px; background: var(--dx-inv); color: var(--dx-invk); font-size: 17px; }
.dx .dx-bigsearch input::placeholder { color: var(--dx-invm); opacity: 1; }
.dx .dx-bigsearch svg { position: absolute; left: 22px; top: 23px; width: 16px; height: 16px; color: var(--dx-invm); pointer-events: none; }
.dx .dx-bigsearch kbd { position: absolute; right: 10px; top: 13px; padding: 6px 10px; border-radius: 10px; background: var(--dx-c3); font-family: var(--mono); font-size: 11px; line-height: 24px; color: var(--dx-ink); pointer-events: none; }
.dx .dx-find-big .dx-results { left: 0; right: 0; width: auto; max-width: none; }
.dx .dx-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.dx .dx-door { position: relative; height: 400px; padding: 24px; box-sizing: border-box; border-radius: 26px; background: var(--dx-c1); color: var(--dx-ink); display: flex; flex-direction: column;
  overflow: hidden; text-decoration: none; transition: transform 0.25s; }
.dx .dx-door:hover { transform: translateY(-3px); }
.dx .dx-door.dx-door-l { background: var(--dx-inv); color: var(--dx-invk); }
.dx .dx-door .dx-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut2); }
.dx .dx-door.dx-door-l .dx-k { color: var(--dx-invm); }
.dx .dx-door h2 { margin: auto 0 8px; font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -0.035em; }
.dx .dx-door p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--dx-mut); }
.dx .dx-door.dx-door-l p { color: var(--dx-invm); }
.dx .dx-gp { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 5px 0 16px; box-sizing: border-box; border-radius: 999px;
  background: var(--dx-inv); color: var(--dx-invk); font-size: 14px; font-weight: 600; }
.dx .dx-door.dx-door-l .dx-gp { background: var(--dx-invk); color: var(--dx-inv); }
.dx .dx-mini { position: absolute; left: 24px; right: 24px; top: 60px; height: 170px; }
.dx .dx-mini svg { display: block; width: 100%; height: 170px; }
.dx .dx-lines i { display: block; height: 9px; margin-bottom: 12px; border-radius: 5px; background: var(--dx-c3); }
.dx .dx-lines i.dx-w40 { width: 40%; }
.dx .dx-lines i.dx-w60 { width: 60%; }
.dx .dx-lines i.dx-w80 { width: 80%; }
.dx .dx-lines i.dx-w85 { width: 85%; }
.dx .dx-lines i.dx-w90 { width: 90%; }
.dx .dx-slabs { position: absolute; inset: 6px 10px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.dx .dx-slabs i { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-radius: 10px; background: var(--dx-c3); font-style: normal; font-size: 12.5px; color: var(--dx-mut); }
.dx .dx-slabs b { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--dx-mut); }
.dx .dx-slabs .dx-s2 { margin: 0 36px; background: #ff6a1a; color: #070708; }
.dx .dx-slabs .dx-s2 b { color: #070708; }
.dx .dx-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.dx .dx-pop b { margin-right: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dx-mut2); font-weight: 400; }
.dx .dx-pop a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; box-sizing: border-box; border-radius: 999px; background: var(--dx-c1); color: var(--dx-body); font-size: 13.5px; text-decoration: none; }
.dx .dx-pop a:hover { background: var(--dx-c3); }

/* ---- The cover: the helix of the app's own views (docs-cover.js, WebGL2), the film's dark, and in the
   light look the board's version 43; it does not scroll ---- */
html:has(> body.dx-cover) { overflow: hidden; }
.dx.dx-cover { position: relative; height: calc(100vh - 32px); height: calc(100svh - 32px); min-height: 0; overflow: hidden; }
.dx.dx-cover .topbar { position: absolute; left: 0; right: 0; top: 0; z-index: 6; }
.dx .dx-stage { --dx-c1: #1c1c1c; --dx-c2: #1e1e1e; --dx-c3: #2a2a2a; --dx-ink: #f4f4f1; --dx-mut: #a1a1a9; --dx-mut2: #8a8a92;
  position: absolute; inset: 0; z-index: 1; display: block; padding: 0; border-radius: inherit; overflow: hidden; color: #f4f4f1;
  background-color: #0d0d0d; background-image: radial-gradient(90% 80% at 70% 40%, #191513 0%, #0d0d0d 60%, #090909 100%); }
.dx .dx-gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.dx .dx-gl[data-gl="none"] { display: none; }
.dx .dx-fade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.55) 30%, rgba(9, 9, 9, 0) 52%); pointer-events: none; }
.dx .dx-titles { position: absolute; z-index: 5; right: 72px; top: 112px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding: 22px 0 22px 40px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a8a92;
  background: radial-gradient(closest-side, rgba(6, 6, 6, 0.82), rgba(6, 6, 6, 0)); text-shadow: 0 0 14px #060606, 0 0 4px #060606; }
.dx .dx-titles span { display: flex; align-items: center; gap: 10px; }
.dx .dx-titles i { display: block; width: 22px; height: 3px; border-radius: 2px; background: #2a2a2a; }
.dx .dx-titles span:first-child { color: #f4f4f1; }
.dx .dx-titles span:first-child i { width: 40px; background: #ff6a1a; }
.dx .dx-cap { position: absolute; z-index: 5; left: 72px; bottom: 72px; width: 480px; max-width: calc(100% - 48px); }
.dx .dx-cap h1 { margin: 20px 0 0; font-size: 58px; line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: #f4f4f1; }
.dx .dx-cap p { margin: 20px 0 0; font-size: 17px; line-height: 1.55; color: #a1a1a9; }
.dx .dx-go { display: inline-flex; align-items: center; gap: 10px; height: 42px; margin-top: 24px; padding: 0 5px 0 17px; box-sizing: border-box; border-radius: 999px; background: #f4f4f1; color: #141417;
  font-size: 14px; font-weight: 600; text-decoration: none; }
.dx .dx-go .dx-a { width: 32px; height: 32px; }
/* the cover in the light look (version 43, Miguel 2026-10-20 06:18, "this is perfect"; docs13.py): a pale warm ground,
   the fade from the page's ivory, the line in the muted shade, Continue near black with ivory words and the orange
   arrow, the chapter list in the light shades with the first title near black and every bar grey (the board as
   drawn: its light rule outweighs the dark look's orange first bar); the ring is the site's own on a light ground */
[data-theme='light'] .dx .dx-stage { --dx-c1: #ffffff; --dx-c2: #e4e4df; --dx-c3: #dcdcd6; --dx-ink: #141417; --dx-mut: #5c5c64; --dx-mut2: #6c6c74; color: #141417;
  background-color: #f4f4f1; background-image: radial-gradient(90% 80% at 70% 40%, #fbf5ef 0%, #f4f4f1 58%, #ecece7 100%); }
[data-theme='light'] .dx .dx-fade { background: linear-gradient(90deg, rgba(244, 244, 241, 0.94) 0%, rgba(244, 244, 241, 0.6) 30%, rgba(244, 244, 241, 0) 52%); }
[data-theme='light'] .dx .dx-cap h1 { color: #141417; }
[data-theme='light'] .dx .dx-cap p { color: #5c5c64; }
[data-theme='light'] .dx .dx-go { background: #141417; color: #f4f4f1; }
[data-theme='light'] .dx .dx-titles { color: #6c6c74; background: radial-gradient(closest-side, rgba(244, 244, 241, 0.88), rgba(244, 244, 241, 0)); text-shadow: 0 0 14px #f4f4f1, 0 0 4px #f4f4f1; }
[data-theme='light'] .dx .dx-titles span:first-child { color: #141417; }
/* (as heavy as the dark look's orange first bar above, .dx .dx-titles span:first-child i: this one wins by coming later,
   so it stays after it) */
[data-theme='light'] .dx .dx-titles span i { background: #c4c4bd; }

/* ---- Narrower windows ---- */
@media (max-width: 1439.98px) {
  .dx.read-page main.dx-main { padding: 0 20px; }
  .dx .dx-grid { grid-template-columns: 220px minmax(0, 1fr) 220px; column-gap: 24px; }
}
/* On this page folds into the page, as on the site's reading pages */
@media (max-width: 1199.98px) {
  .dx .dx-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .dx .toc { display: none; }
  .dx .toc-fold { display: block; }
  .dx .dx-doors { gap: 12px; }
  .dx .dx-door h2 { font-size: 32px; }
}
/* the pill's search on a row of its own */
@media (max-width: 900px) {
  .dx .topbar .wrap { width: 100%; max-width: 640px; box-sizing: border-box; }
  .dx .topbar .look { margin-left: auto; }
  .dx .dx-find { order: 3; flex: 1 0 100%; }
  .dx .dx-search { width: 100%; }
  .dx .dx-results { left: 0; right: 0; width: auto; max-width: none; }
  .dx .dx-doors { grid-template-columns: minmax(0, 1fr); }
  .dx .dx-door { height: 340px; }
  .dx .dx-ix h1 { font-size: 46px; }
  .dx .dx-titles { display: none; }
}
/* a phone: one column, the sidebar folded too */
@media (max-width: 760px) {
  .dx .topbar .wrap { max-width: none; }
  .dx.read-page main.dx-main { padding: 0 16px; }
  .dx .dx-grid { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .dx .dx-side { display: none; }
  .dx .dx-side-fold { display: block; }
  .dx .dx-doc h1 { font-size: 34px; }
  .dx .dx-doc h2 { font-size: 21px; }
  .dx .dx-places { grid-template-columns: minmax(0, 1fr); }
  .dx .dx-detail { flex-wrap: wrap; }
  .dx .dx-foot a { flex: 1 1 100%; }
  .dx .dx-foot .dx-next, .dx .dx-foot .dx-back { margin: 0; }
  .dx .dx-ix { margin-top: 32px; }
  .dx .dx-ix h1 { font-size: 40px; }
  .dx .dx-bigsearch input { height: 56px; font-size: 16px; }
  .dx .dx-bigsearch svg { top: 20px; }
  .dx .dx-bigsearch kbd { top: 10px; }
  .dx .dx-door { height: 320px; padding: 20px; }
  .dx .dx-mini { left: 20px; right: 20px; top: 52px; }
  .dx .dx-door h2 { font-size: 30px; }
  .dx.dx-cover { height: calc(100vh - 16px); height: calc(100svh - 16px); }
  .dx .dx-cap { left: 20px; right: 20px; bottom: 24px; width: auto; max-width: none; }
  .dx .dx-cap h1 { margin-top: 14px; font-size: 38px; }
  .dx .dx-cap p { margin-top: 14px; font-size: 15px; }
  .dx .dx-go { margin-top: 18px; }
}
/* a window narrower than the board's or taller than 6 to 5, where the helix stands behind the cover's words, not beside
   them (docs-cover.js shifts it right only from an aspect of 1.2, and under 1,200 px the words reach past the side
   fade): the fade rises from the bottom, strong enough that the words read over any card at any turn, in both looks,
   and the light eyebrow takes the muted shade a step darker (not drawn on the board; the Site's picks of 2026-10-20,
   HQ decisions; measured in proofs\site\2026-10-20-cover-light\measure.json) */
@media (max-width: 1199.98px), (max-aspect-ratio: 6/5) {
  .dx .dx-fade { background: linear-gradient(0deg, rgba(9, 9, 9, 0.98) 0%, rgba(9, 9, 9, 0.88) 52%, rgba(9, 9, 9, 0) 85%); }
  [data-theme='light'] .dx .dx-fade { background: linear-gradient(0deg, rgba(244, 244, 241, 0.98) 0%, rgba(244, 244, 241, 0.88) 52%, rgba(244, 244, 241, 0) 85%); }
  [data-theme='light'] .dx .dx-stage { --dx-mut2: #5c5c64; }
}
/* a short window: the cover's words smaller, so they stay under the pill */
@media (max-height: 640px) {
  .dx .dx-cap { bottom: 24px; }
  .dx .dx-cap h1 { margin-top: 12px; font-size: 34px; }
  .dx .dx-cap p { margin-top: 10px; font-size: 14px; line-height: 1.45; }
  .dx .dx-go { margin-top: 14px; }
  .dx .dx-titles { display: none; }
}

/* ---- Reduced motion: no packet ride, no glide, no lift ---- */
@media (prefers-reduced-motion: reduce) {
  .dx .dx-pk { display: none; }
  .dx .dx-arch .dx-node, .dx .dx-graph .dx-node, .dx .dx-arch .dx-e, .dx .dx-graph .dx-e, .dx .dx-cw i, .dx .dx-door { transition: none; }
  .dx .dx-graph .dx-node:hover, .dx .dx-door:hover { transform: none; }
}

/* ---- Windows' high contrast: the page marked in the sidebar by a line of its own ---- */
@media (forced-colors: active) {
  .dx .dx-side a[aria-current], .dx .dx-side-fold nav a[aria-current] { border-left: 3px solid Highlight; }
  .dx .dx-node.lit, .dx .dx-node.sel { outline: 2px solid Highlight; }
}
