/* DevQ docs (/docs/): the look of every page scripts/site-docs.mjs makes.
   Design: design/ui/screens/19-website (docs-introduction.html, docs-report-a-bug.html and its
   dark twin); the numbers here are the ones of those references. Written by hand; the pages link
   this file with a hash of its content.

   Theme: light and dark with the site's mechanism: html[data-theme] set before the first paint
   from localStorage.theme, the system's theme otherwise. Screenshots look the same in both.
   One breakpoint, 900 px: .dx-wide is what only wide screens show, .dx-small what only narrow ones do. */

@font-face { font-family: 'Geist'; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 500; font-display: swap; src: url(/assets/fonts/geist-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url(/assets/fonts/geist-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 700; font-display: swap; src: url(/assets/fonts/geist-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 500; font-display: swap; src: url(/assets/fonts/geist-mono-latin-500-normal.woff2) format('woff2'); }
/* the demo store inside the element picker (SIL OFL, self-hosted with the landing) */
@font-face { font-family: 'Lora'; font-weight: 500; font-display: swap; src: url(/assets/fonts/lora-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url(/assets/fonts/dm-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url(/assets/fonts/dm-sans-600.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --bg: #fff; --ink: #14111C; --t2: #4D4860; --t3: #6B667E; --bd: #E8E6EE; --surf: #F7F6FA; --link: #5B3EF0; --acc: #F0EDFF;
  --hdr: rgba(255, 255, 255, .9); --btn-bg: #14111C; --btn-fg: #fff;
  --tip-bg: #EAF7D4; --tip-fg: #2F5D06; --note-bg: #F0EDFF; --note-fg: #5B3EF0; --kbd: #fff; --sh: rgba(20, 17, 28, .35);
  --focus: #6B4EFF; --veil: rgba(20, 17, 28, .45);
  --st-ok: #1F8A4C; --st-warn: #B45309; --st-down: #C8372D; --st-work: #6B4EFF;
  --sans: 'Geist', Inter, system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0E0C14; --ink: #F4F2FA; --t2: #B6B1C6; --t3: #8C879E; --bd: #2A2635; --surf: #17141F; --link: #B3A2FF; --acc: #241E3A;
    --hdr: rgba(14, 12, 20, .86); --btn-bg: #F4F2FA; --btn-fg: #14111C;
    --tip-bg: #1B260F; --tip-fg: #C6F84E; --note-bg: #1F1936; --note-fg: #C9BDFF; --kbd: #1E1A28; --sh: rgba(0, 0, 0, .6);
    --focus: #B3A2FF; --veil: rgba(0, 0, 0, .6);
    --st-ok: #2FA463; --st-warn: #F5A524; --st-down: #FF6B5E; --st-work: #B3A2FF;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E0C14; --ink: #F4F2FA; --t2: #B6B1C6; --t3: #8C879E; --bd: #2A2635; --surf: #17141F; --link: #B3A2FF; --acc: #241E3A;
  --hdr: rgba(14, 12, 20, .86); --btn-bg: #F4F2FA; --btn-fg: #14111C;
  --tip-bg: #1B260F; --tip-fg: #C6F84E; --note-bg: #1F1936; --note-fg: #C9BDFF; --kbd: #1E1A28; --sh: rgba(0, 0, 0, .6);
  --focus: #B3A2FF; --veil: rgba(0, 0, 0, .6);
  --st-ok: #2FA463; --st-warn: #F5A524; --st-down: #FF6B5E; --st-work: #B3A2FF;
}

html { interpolate-size: allow-keywords; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .35s, color .35s; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.dx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dx-skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 10px 14px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg); font-size: 14px; font-weight: 600; }
.dx-skip:focus { top: 12px; color: var(--btn-fg); }
.dx-grow { flex: 1; }
.for-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .for-light { display: none; } :root:not([data-theme="light"]) .for-dark { display: block; } }
:root[data-theme="dark"] .for-light { display: none; }
:root[data-theme="dark"] .for-dark { display: block; }

/* ---- top bar ---- */
.dx-top { position: sticky; top: 0; z-index: 20; background: var(--hdr); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--bd); }
.dx-bar { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 clamp(16px, 3vw, 28px); }
.dx-logo { display: block; flex: none; border-radius: 6px; }
.dx-logo img { display: block; max-width: none; }
.dx-logo .for-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dx-logo .for-dark { display: block; } }
:root[data-theme="dark"] .dx-logo .for-dark { display: block; }
.dx-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--surf); border: 1px solid var(--bd); font-size: 12.5px; font-weight: 600; color: var(--t2); }
.dx-tag:hover { color: var(--ink); }
.dx-search { margin-left: 24px; display: flex; align-items: center; gap: 10px; width: 360px; max-width: 34vw; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--bd); background: var(--surf); font-size: 14px; color: var(--t3); text-align: left; transition: border-color .2s; }
.dx-search:hover { border-color: var(--t3); }
.dx-search span { flex: 1; }
.dx-search kbd, .dx-find-esc kbd { font-family: var(--mono); font-size: 12px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--bd); background: var(--bg); color: var(--t3); }
.dx-toplink { font-size: 14px; color: var(--t2); }
/* the dot of the "Status" link: site/assets/status.js shows it once the status page said its state.
   In the top bar it keeps its room while hidden, so nothing moves when it appears. */
[data-status="dot"] { display: inline-flex; align-items: center; gap: 8px; }
.dx-st { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--st-ok); visibility: hidden; }
.is-known > .dx-st { visibility: visible; }
.is-operational > .dx-st { animation: dx-pulse 2s infinite; }
.is-degraded > .dx-st { background: var(--st-warn); }
.is-downtime > .dx-st { background: var(--st-down); }
.is-maintenance > .dx-st { background: var(--st-work); }
@keyframes dx-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 138, 76, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 138, 76, 0); } }
.dx-ib { display: inline-flex; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 1px solid var(--bd); background: var(--bg); align-items: center; justify-content: center; color: var(--ink); transition: border-color .2s; }
.dx-ib:hover { border-color: var(--t3); }
.dx-theme span { display: inline-flex; }
.dx-theme .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dx-theme .i-sun { display: inline-flex; } :root:not([data-theme="light"]) .dx-theme .i-moon { display: none; } }
:root[data-theme="dark"] .dx-theme .i-sun { display: inline-flex; }
:root[data-theme="dark"] .dx-theme .i-moon { display: none; }
.dx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg); font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s, background .25s; }
.dx-btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--sh); }
.dx-btn svg { transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.dx-btn:hover svg { transform: translateX(3px); }
.dx-btn.is-plain { background: var(--bg); color: var(--ink); border-color: var(--bd); }
.dx-btn.is-plain:hover { color: var(--ink); }
.dx-btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }

/* ---- the three columns ---- */
.dx-shell { display: flex; }
.dx-nav { flex: 0 0 280px; padding: 32px 28px; border-right: 1px solid var(--bd); position: sticky; top: 65px; align-self: flex-start; height: calc(100vh - 65px); overflow-y: auto; overscroll-behavior: contain; }
.dx-nav-g { margin: 26px 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--t3); }
.dx-nav-g:first-child { margin-top: 0; }
.dx-nav ul, .dx-menu-nav ul { list-style: none; padding: 0; }
.dx-nav a, .dx-menu-nav a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px; font-size: 14.5px; color: var(--t2); }
.dx-nav a:hover, .dx-menu-nav a:hover { color: var(--ink); }
.dx-nav a[aria-current], .dx-menu-nav a[aria-current] { background: var(--acc); color: var(--link); font-weight: 600; }
.dx-main { flex: 1 1 0; min-width: 0; max-width: 820px; padding: 48px clamp(20px, 4vw, 56px) 80px; }
.dx-toc { flex: 0 0 240px; padding: 52px 28px; position: sticky; top: 65px; align-self: flex-start; max-height: calc(100vh - 65px); overflow-y: auto; }
.dx-toc p { font-size: 13px; font-weight: 600; color: var(--ink); }
.dx-toc .dx-toc-list { margin-top: 14px; }
.dx-toc-list a { display: block; padding: 5px 0 5px 14px; border-left: 2px solid var(--bd); font-size: 14px; color: var(--t3); transition: color .2s, border-color .2s; }
.dx-toc-list a:hover { color: var(--ink); }
.dx-toc-list a.on { border-left-color: #6B4EFF; color: var(--ink); }

/* ---- the head of a page ---- */
.dx-crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t3); }
.dx-crumb span { color: var(--ink); }
.dx-fold { margin-top: 18px; border: 1px solid var(--bd); border-radius: 12px; padding: 0 14px; }
.dx-fold summary { display: flex; align-items: center; gap: 10px; height: 46px; font-size: 14.5px; font-weight: 600; list-style: none; cursor: pointer; border-radius: 8px; }
.dx-fold summary::-webkit-details-marker { display: none; }
.dx-fold summary span { flex: 1; }
.dx-fold summary > svg:first-child { color: var(--t2); }
.dx-fold .pm { color: var(--t3); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.dx-fold[open] .pm { transform: rotate(180deg); }
.dx-fold .dx-toc-list { padding: 4px 0 14px; }
.dx-fold::details-content { block-size: 0; overflow: clip; transition: block-size .4s cubic-bezier(.22, 1, .36, 1), content-visibility .4s allow-discrete; }
.dx-fold[open]::details-content { block-size: auto; }
.dx-main h1 { margin-top: 14px; font-size: 44px; line-height: 1.08; font-weight: 700; letter-spacing: -.035em; overflow-wrap: anywhere; }
.dx-lead { margin-top: 14px; font-size: 19px; line-height: 1.55; color: var(--t2); }
.dx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dx-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--surf); border: 1px solid var(--bd); font-size: 13px; color: var(--t2); }
.dx-chip svg { color: var(--t3); }

/* ---- text ---- */
.dx-body b { color: var(--ink); font-weight: 600; }
.dx-body > h2 { margin-top: 52px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.dx-body > h3 { margin-top: 32px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.dx-body > p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--t2); }
.dx-list { margin-top: 14px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.6; color: var(--t2); }
.dx-body kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; margin: 0 2px; border-radius: 6px; border: 1px solid var(--bd); border-bottom-width: 2px; background: var(--kbd); font-family: var(--mono); font-size: 12.5px; color: var(--ink); vertical-align: 1px; }
.dx-body code { font-family: var(--mono); font-size: .9em; padding: 1px 5px; border-radius: 5px; background: var(--surf); border: 1px solid var(--bd); color: var(--ink); }
.dx-code { margin: 16px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--surf); border: 1px solid var(--bd); overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.dx-code code { padding: 0; border: 0; background: none; font-size: inherit; }
.dx-table { margin-top: 16px; border: 1px solid var(--bd); border-radius: 12px; overflow-x: auto; }
.dx-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.dx-table th, .dx-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bd); color: var(--t2); }
.dx-table th { background: var(--surf); color: var(--ink); font-weight: 600; white-space: nowrap; }
.dx-table tr:last-child td { border-bottom: 0; }
.dx-keys { margin-top: 16px; display: grid; gap: 8px; font-size: 15px; color: var(--t2); }
.dx-keys div { display: flex; align-items: center; gap: 14px; }
.dx-keys dt { flex: 0 0 150px; }

/* callouts */
.dx-call { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--note-bg); }
.dx-call > svg { margin-top: 1px; color: var(--note-fg); }
.dx-call p { font-size: 15px; line-height: 1.55; color: var(--ink); }
.dx-call .dx-call-t { font-weight: 600; color: var(--note-fg); line-height: 1.35; }
.dx-call .dx-call-t + p { margin-top: 4px; }
.dx-call a { text-decoration: underline; text-underline-offset: 2px; }
.dx-tip { background: var(--tip-bg); }
.dx-tip > svg, .dx-tip .dx-call-t { color: var(--tip-fg); }
.dx-tip a { color: var(--tip-fg); }
.dx-step .dx-call { margin-top: 16px; }

/* steps */
.dx-step { margin-top: 48px; }
.dx-step-h { display: flex; align-items: center; gap: 14px; }
.dx-step-n { display: inline-flex; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--bg); align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.dx-step h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.dx-step-b { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--t2); }
.dx-step-b p + p { margin-top: 10px; }

/* pictures */
.dx-fig { margin: 20px 0 0; }
.dx-fig-in { border-radius: 16px; background: var(--surf); border: 1px solid var(--bd); padding: clamp(14px, 3vw, 28px); overflow: hidden; }
.dx-fig-in.is-clip { padding: clamp(12px, 2.4vw, 22px); }
.dx-fig-in.is-dark, .lv-rec-bg { background: #14111C; }
.dx-fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--t3); }
.dx-shot { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 44px -18px rgba(20, 17, 28, .35); }
.dx-shot.is-pill { border-radius: 999px; }
.dx-narrow { margin: 0 auto; }
.dx-side { display: flex; gap: 24px; align-items: center; }
.dx-side-pic { flex: 0 0 46%; max-width: 300px; margin: 0 auto; }
.dx-side .dx-list { flex: 1; margin: 0; gap: 12px; font-size: 15px; line-height: 1.55; }
.dx-side > p { flex: 1; font-size: 15px; line-height: 1.55; color: var(--t2); }
.dx-browser { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #E8E6EE; box-shadow: 0 1px 0 rgba(20, 17, 28, .04), 0 24px 60px -20px rgba(20, 17, 28, .22); }
.dx-browser img { display: block; width: 100%; height: auto; }
.dx-browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F4F3F8; border-bottom: 1px solid #E8E6EE; }
.dx-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E7E4EE; flex: none; }
.dx-browser-bar > span { margin-left: 12px; flex: 1; min-width: 0; max-width: 440px; height: 24px; border-radius: 7px; background: #fff; border: 1px solid #E8E6EE; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-family: var(--mono); font-size: 12px; color: #6B667E; white-space: nowrap; overflow: hidden; }
.dx-browser-bar > span > span { overflow: hidden; text-overflow: ellipsis; }
.dx-hero { margin-top: 32px; border-radius: 16px; background: var(--surf); border: 1px solid var(--bd); padding: clamp(16px, 3vw, 28px) clamp(16px, 4vw, 40px) 0; overflow: hidden; }
.dx-hero-in { border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--bd); border-bottom: 0; box-shadow: 0 20px 50px -24px var(--sh); }
.dx-hero img { display: block; width: 100%; height: auto; }

/* the clip: frames, a pointer, a bar per frame (its keyframes are written into the page) */
.dx-stage-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--bd); }
.dx-stage { position: relative; aspect-ratio: var(--ar); background: var(--bg); }
.dx-fr { position: absolute; inset: 0; opacity: 0; }
.dx-fr.f1 { opacity: 1; }
.dx-fr img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.dx-cur { position: absolute; z-index: 4; width: 26px; height: 26px; }
.dx-rip { position: absolute; z-index: 3; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid #6B4EFF; opacity: 0; }
.dx-clip-ctl { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.dx-clip-btn { display: inline-flex; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); align-items: center; justify-content: center; }
.dx-clip-btn span { display: inline-flex; }
.dx-clip-btn .i-play, .dx-clip.is-paused .dx-clip-btn .i-pause { display: none; }
.dx-clip.is-paused .dx-clip-btn .i-play { display: inline-flex; }
.dx-clip.is-paused * { animation-play-state: paused !important; }
.dx-clip-bars { flex: 1; height: 4px; border-radius: 3px; background: var(--bd); overflow: hidden; display: flex; }
.dx-clip-bars i { display: block; height: 100%; width: 0; background: #6B4EFF; }
.dx-clip-time { font-family: var(--mono); font-size: 12.5px; color: var(--t3); }

/* cards (the Introduction) */
.dx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.dx-cards.dx-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dx-card { display: block; border-radius: 14px; border: 1px solid var(--bd); padding: 20px; color: var(--ink); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, border-color .35s; }
.dx-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 17, 28, .10); border-color: var(--t3); }
.dx-card-ic { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: var(--acc); color: var(--link); align-items: center; justify-content: center; }
.dx-card-t { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; }
.dx-card-p { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--t2); }

/* helpful, previous / next */
.dx-helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 56px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--bd); }
html:not(.js) .dx-helpful { display: none; }
.dx-helpful [hidden] { display: none !important; }
.dx-helpful-q, .dx-helpful-thanks { font-size: 15px; color: var(--t2); }
.dx-helpful-btns { display: flex; gap: 10px; }
.dx-helpful-thanks { flex: 1 1 100%; }
.dx-helpful-more { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: end; }
.dx-helpful-more label { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--ink); }
.dx-helpful-more label span { margin-left: 6px; font-weight: 400; color: var(--t3); }
.dx-helpful-more textarea { min-height: 76px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--bd); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.dx-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.dx-body + .dx-pn { margin-top: 56px; }
.dx-pn a { display: block; border-radius: 12px; border: 1px solid var(--bd); padding: 16px 20px; color: var(--ink); transition: border-color .2s; }
.dx-pn a:hover { border-color: var(--t3); }
.dx-pn span { font-size: 13px; color: var(--t3); }
.dx-pn b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.dx-next { text-align: right; }
.dx-next b { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

/* ---- live parts (docs-src/live.js) ---- */
@keyframes pkb { 0%, 20% { left: 20px; top: 46px; width: 362px; height: 56px; background: rgba(107, 78, 255, 0); } 28%, 42% { left: 20px; top: 104px; width: 404px; height: 30px; background: rgba(107, 78, 255, 0); } 50%, 54% { left: 20px; top: 144px; width: 480px; height: 52px; background: rgba(107, 78, 255, 0); } 58%, 92% { left: 20px; top: 144px; width: 480px; height: 52px; background: rgba(107, 78, 255, .10); } 100% { left: 20px; top: 46px; width: 362px; height: 56px; background: rgba(107, 78, 255, 0); } }
@keyframes pkt { 0%, 20% { top: 24px; } 28%, 42% { top: 82px; } 50%, 92% { top: 122px; } 100% { top: 24px; } }
@keyframes pkc { 0% { left: 330px; top: 84px; transform: none; } 20% { left: 344px; top: 80px; } 28%, 42% { left: 366px; top: 116px; } 50% { left: 160px; top: 174px; transform: none; } 55% { transform: scale(.8); } 58%, 92% { left: 160px; top: 174px; transform: none; } 100% { left: 330px; top: 84px; } }
@keyframes pkr { 0%, 53% { opacity: 0; transform: scale(.3); } 55% { opacity: 1; } 68%, 100% { opacity: 0; transform: scale(1.9); } }
.lv-picker-bg { background: #F8F5EF; }
.lv-zoom { display: flex; justify-content: center; }
.lv-picker { position: relative; width: 520px; height: 236px; flex: none; border-radius: 14px; background: #FAF7F0; border: 1px solid #ECE6D8; overflow: hidden; box-shadow: 0 18px 44px -24px rgba(20, 17, 28, .3); }
.lv-picker p { position: absolute; left: 28px; white-space: nowrap; }
.lv-pk-brand { top: 24px; font: 500 11px/16px 'DM Sans', 'Geist', sans-serif; letter-spacing: .24em; color: #6A6458; }
.lv-pk-title { top: 50px; font: 500 40px/48px 'Lora', Georgia, serif; color: #1F1B16; letter-spacing: -.01em; }
.lv-pk-text { top: 108px; font: 400 15px/22px 'DM Sans', 'Geist', sans-serif; color: #57524A; }
.lv-pk-price { position: absolute; left: 28px; top: 150px; height: 40px; display: flex; align-items: center; gap: 12px; font-family: 'DM Sans', 'Geist', sans-serif; }
.lv-pk-price span { font-size: 24px; font-weight: 600; color: #1F1B16; }
.lv-pk-price s { font-size: 18px; color: #6F695D; }
.lv-pk-price b { margin-left: -26px; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; background: #B3483D; color: #fff; font-size: 15px; font-weight: 600; }
/* each rests on its last frame (the price picked): that is what reduced motion shows */
.pkb { position: absolute; left: 20px; top: 144px; width: 480px; height: 52px; background: rgba(107, 78, 255, .10); border: 2px solid #8B73FF; border-radius: 8px; animation: pkb 9s cubic-bezier(.65, 0, .35, 1) infinite; }
.pkt { position: absolute; left: 20px; top: 122px; height: 20px; padding: 0 7px; border-radius: 5px; background: #6B4EFF; color: #fff; font: 500 12px/20px var(--mono); animation: pkt 9s cubic-bezier(.65, 0, .35, 1) infinite; }
.pkc { position: absolute; z-index: 3; left: 160px; top: 174px; width: 22px; height: 22px; animation: pkc 9s cubic-bezier(.65, 0, .35, 1) infinite; }
.pkr { position: absolute; left: 150px; top: 164px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #6B4EFF; opacity: 0; animation: pkr 9s infinite both; }

@keyframes blink { 50% { opacity: .15; } }
.blink { animation: blink 1.2s steps(1) infinite; }
@property --t { syntax: '<integer>'; inherits: false; initial-value: 0; }
@keyframes tmr { from { --t: 0; } to { --t: 59; } }
.tmr { animation: tmr 60s steps(59, end) infinite; counter-reset: t var(--t); }
.tmr::after { content: "0:" counter(t, decimal-leading-zero); }
@keyframes wv { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.wv { display: flex; align-items: center; gap: 2px; height: 16px; }
.wv i { display: block; width: 3px; height: 16px; border-radius: 2px; background: #C6F84E; transform-origin: center; animation: wv 1s ease-in-out infinite; }
.lv-rec { position: relative; }
.lv-rec-pill { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(20, 17, 28, .88); color: #fff; font: 600 13px var(--mono); }
.lv-rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; }
.lv-rec-cam { display: flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 500; color: #D9D5E4; }
.lv-rec-bar { margin: -18px 5% 0; position: relative; }

/* ---- search ---- */
dialog.dx-find, dialog.dx-menu { color: var(--ink); background: var(--bg); border: 0; padding: 0; }
dialog.dx-find::backdrop { background: var(--veil); }
.dx-find { width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 96px)); margin: 12vh auto 0; border-radius: 16px; box-shadow: 0 0 0 1px var(--bd), 0 30px 80px -20px var(--sh); overflow: hidden; }
.dx-find[open] { display: flex; flex-direction: column; animation: dx-rise .22s cubic-bezier(.22, 1, .36, 1); }
@keyframes dx-rise { from { opacity: 0; transform: translateY(8px); } }
.dx-find-top { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; border-bottom: 1px solid var(--bd); color: var(--t3); flex: none; }
.dx-find-top input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; }
.dx-find-top input::placeholder { color: var(--t3); }
.dx-find-top input::-webkit-search-cancel-button { display: none; }
.dx-find-esc { padding: 4px; border: 0; background: none; border-radius: 6px; }
.dx-results { overflow-y: auto; padding: 8px; min-height: 0; }
.dx-results:empty { display: none; }
.dx-hit { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); scroll-margin: 8px; }
.dx-hit:hover { color: var(--ink); }
.dx-hit[aria-selected="true"] { background: var(--acc); }
.dx-hit-t { display: block; font-size: 15px; font-weight: 600; }
.dx-hit-w { display: block; margin-top: 2px; font-size: 12.5px; color: var(--t3); }
.dx-hit[aria-selected="true"] .dx-hit-w { color: var(--t2); }
.dx-hit-s { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--t2); }
.dx-hit mark { background: none; color: var(--link); font-weight: 600; }
.dx-find-say { padding: 14px 20px 18px; font-size: 14px; color: var(--t3); }
.dx-find-say:empty { display: none; }

/* ---- the menu of narrow screens ---- */
.dx-menu { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; }
.dx-menu[open] { display: flex; flex-direction: column; animation: dx-rise .25s cubic-bezier(.22, 1, .36, 1); }
.dx-menu-top { display: flex; align-items: center; height: 68px; padding: 0 20px; border-bottom: 1px solid var(--bd); flex: none; }
.dx-menu-nav { flex: 1; overflow-y: auto; padding: 24px 20px 8px 30px; }
.dx-menu-nav a { padding: 9px 10px; font-size: 16px; }
.dx-menu-foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px 24px; border-top: 1px solid var(--bd); font-size: 15px; }
.dx-menu-foot a:not(.dx-btn) { color: var(--t2); padding: 8px 0; }
.dx-menu-foot .dx-btn { flex: 1 1 100%; height: 52px; font-size: 16px; }

/* ---- one breakpoint ---- */
@media (min-width: 901px) { .dx-small { display: none !important; } }
/* between the breakpoint and a window wide enough for three columns there are two: "On this page" moves
   into the menu, under the page's line (design 20 · 4, at the end of this file) */
@media (min-width: 901px) and (max-width: 1180px) {
  .dx-toc { display: none; }
  .lv-zoom { zoom: .8; }
}
@media (max-width: 900px) {
  .dx-wide { display: none !important; }
  .dx-bar { gap: 8px; }
  .dx-tag { margin-left: 8px; }
  .dx-stage { aspect-ratio: var(--arm, var(--ar)); }
  .dx-cards, .dx-cards.dx-cols-3, .dx-pn { grid-template-columns: minmax(0, 1fr); }
  .dx-pn > span { display: none; }
  .dx-side { flex-direction: column; align-items: stretch; }
  .dx-side-pic { flex: none; width: 100%; }
  .dx-helpful { flex-direction: column; align-items: stretch; }
  .dx-helpful-more { grid-template-columns: minmax(0, 1fr); }
  .lv-zoom { zoom: .58; }
  .dx-keys div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dx-keys dt { flex: none; }
}
@media (max-width: 380px) { .lv-zoom { zoom: .54; } .dx-step h2 { font-size: 22px; } }

/* ===== Design 20 (design/ui/screens/20-site-details): the search grouped by page, the menu of narrow
   screens, "Was this page helpful?", two columns from 901 to 1180 px, tabs in a step, comparison
   tables, the phone frame, the foot of the page, the word after the Status dot. The numbers are the
   reference's (capture/d20-proposal.css); what differs from that file is marked "ours". ===== */

/* 1 · Search (⌘K): results grouped by page, a key line at the foot, an empty state and a no-result state */
.dx-find { box-shadow: 0 0 0 1px var(--bd), 0 28px 80px -16px var(--sh); }
.dx-results { padding: 6px 8px 8px; }
.dx-grp + .dx-grp { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--bd); }
.dx-grp-h { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; font-size: 12.5px; color: var(--t3); }
.dx-grp-h b { font-size: 13px; font-weight: 600; color: var(--ink); }
.dx-grp-h i { font-style: normal; }
.dx-grp-h i::before { content: '·'; margin-right: 8px; }
.dx-find .dx-hit { display: grid; grid-template-columns: 18px minmax(0, 1fr) 18px; column-gap: 12px; align-items: start; padding: 9px 12px; }
.dx-hit-ic { grid-row: 1 / span 2; margin-top: 2px; color: var(--t3); display: inline-flex; }
.dx-find .dx-hit-t { grid-column: 2; font-size: 14.5px; }
.dx-find .dx-hit-s { grid-column: 2; margin-top: 3px; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dx-hit-go { grid-column: 3; grid-row: 1 / span 2; align-self: center; display: inline-flex; color: var(--link); opacity: 0; }
.dx-hit[aria-selected="true"] .dx-hit-ic { color: var(--link); }
.dx-hit[aria-selected="true"] .dx-hit-go { opacity: 1; }
.dx-find-foot { flex: none; display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 16px; border-top: 1px solid var(--bd); font-size: 12.5px; color: var(--t3); }
.dx-find-foot span { display: inline-flex; align-items: center; gap: 4px; }
.dx-find-foot kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; margin-right: 2px; border-radius: 6px; border: 1px solid var(--bd); background: var(--kbd); font-family: var(--mono); font-size: 11.5px; color: var(--t2); }
.dx-find-foot .dx-grow { flex: 1; }
.dx-find-start { padding: 6px 8px 10px; }
.dx-find-start .dx-grp-h { height: 34px; }
.dx-find-none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 24px 48px; text-align: center; }
.dx-find-none > span { display: inline-flex; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: var(--surf); border: 1px solid var(--bd); color: var(--t3); align-items: center; justify-content: center; }
.dx-find-none b { font-size: 15px; font-weight: 600; color: var(--ink); }
.dx-find-none p { font-size: 14px; line-height: 1.5; color: var(--t3); max-width: 440px; }
/* ours: one of the first screen, the results and "No results" shows; the others are [hidden] */
.dx-find [hidden] { display: none !important; }
.dx-find-start { flex: none; }
.dx-helpful-act a { text-decoration: underline; text-underline-offset: 2px; }

/* 2 · The menu of narrow screens: search and theme at the top, Status and devq.app as rows, the Chrome button last */
.dx-menu-top { gap: 8px; }
.dx-menu-top .dx-tag { margin-left: 8px; }
.dx-menu-find { flex: none; padding: 16px 20px 4px; }
.dx-menu-find .dx-search { display: flex; width: 100%; max-width: none; margin: 0; height: 46px; font-size: 15px; }
.dx-menu-nav { padding-top: 16px; }
.dx-menu-foot { display: block; padding: 8px 20px 24px; }
.dx-menu-row { display: flex; align-items: center; gap: 10px; height: 52px; border-bottom: 1px solid var(--bd); font-size: 15px; color: var(--ink); }
.dx-menu-row > span:first-child { flex: 1; display: inline-flex; align-items: center; gap: 10px; }
.dx-menu-row small { font-size: 13.5px; color: var(--t3); }
.dx-menu-row > svg { color: var(--t3); }
/* ours: the dot sits inside the row's first span, so the rules of the top bar (a > .dx-st) are repeated for it;
   until the state is known there is no dot and no sentence, and the row is a plain link */
.dx-menu-row.is-known .dx-st { visibility: visible; }
.dx-menu-row:not(.is-known) .dx-st { display: none; }
.dx-menu-row.is-operational .dx-st { animation: dx-pulse 2s infinite; }
.dx-menu-row.is-degraded .dx-st { background: var(--st-warn); color: var(--st-warn); }
.dx-menu-row.is-downtime .dx-st { background: var(--st-down); color: var(--st-down); }
.dx-menu-row.is-maintenance .dx-st { background: var(--st-work); color: var(--st-work); }
.dx-menu-row.is-degraded .dx-st, .dx-menu-row.is-downtime .dx-st, .dx-menu-row.is-maintenance .dx-st { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.dx-menu-foot .dx-btn { display: flex; width: 100%; margin-top: 16px; }
.dx-menu-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--t3); text-align: center; }

/* 3 · "Was this page helpful?": the question, then after No the box for what was missing, then the thanks */
.dx-helpful { gap: 12px 14px; }
.dx-helpful-head { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 600; }
.dx-helpful-head > span { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--tip-bg); color: var(--tip-fg); align-items: center; justify-content: center; flex: none; }
.dx-helpful-more { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.dx-helpful-more label { font-size: 14px; font-weight: 500; color: var(--t2); }
.dx-helpful-more textarea { width: 100%; min-height: 92px; resize: vertical; }
.dx-helpful-more textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.dx-helpful-act { display: flex; align-items: center; gap: 14px; }
.dx-helpful-act .dx-btn { height: 40px; padding: 0 16px; font-size: 14.5px; }
.dx-helpful-act small { font-size: 13px; color: var(--t3); }
.dx-helpful.is-done { align-items: center; }
.dx-helpful.is-done .dx-helpful-head { flex: 0 1 auto; }
.dx-helpful.is-done p { font-size: 15px; color: var(--t3); }

/* 4 · From 901 to 1180 px: two columns. The sections of the page open under its line in the menu; no folded box */
.dx-nav-sub { display: none; list-style: none; margin: 4px 0 10px 2px; padding: 0; border-left: 1px solid var(--bd); }
.dx-nav .dx-nav-sub a { margin: 0 0 0 -1px; padding: 4px 10px 4px 14px; border-left: 2px solid transparent; border-radius: 0; font-size: 13.5px; color: var(--t3); }
.dx-nav .dx-nav-sub a:hover { color: var(--ink); }
.dx-nav .dx-nav-sub a.on { border-left-color: #6B4EFF; color: var(--ink); font-weight: 500; background: none; }
@media (min-width: 901px) and (max-width: 1180px) {
  .dx-nav { flex-basis: 248px; padding: 28px 22px; }
  .dx-nav-sub { display: block; }
  .dx-fold.dx-small { display: none !important; }
  .dx-main { padding: 40px 36px 72px; }
}

/* 5 · Tabs inside a step (one way to do it, out of several) */
.dx-tabs { margin-top: 16px; }
.dx-tablist { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 3px; border-radius: 11px; background: var(--surf); border: 1px solid var(--bd); }
.dx-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 8px; background: none; font-size: 14px; font-weight: 500; color: var(--t2); white-space: nowrap; }
.dx-tab svg { color: var(--t3); }
.dx-tab:hover { color: var(--ink); }
.dx-tab[aria-selected="true"] { background: var(--bg); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(20, 17, 28, .08), 0 0 0 1px var(--bd); }
.dx-tab[aria-selected="true"] svg { color: var(--link); }
.dx-tabpanel { margin-top: 14px; }
.dx-tabpanel[hidden] { display: none; }
.dx-tabpanel > p { margin-top: 10px; }
.dx-tabpanel > p:first-child { margin-top: 0; }
/* ours: the label of a panel is only read where the tabs cannot work (no scripts: every panel shows) */
.dx-tab-nojs { display: none; font-weight: 600; color: var(--ink); }
.dx-tab-nojs + * { margin-top: 0 !important; }
html:not(.js) .dx-tablist { display: none; }
html:not(.js) .dx-tabpanel[hidden] { display: block; }
html:not(.js) .dx-tab-nojs { display: block; margin-bottom: 8px; }
html:not(.js) .dx-tabpanel > .dx-tab-nojs + * { margin-top: 0; }
@media (max-width: 900px) { .dx-tablist { display: grid; width: 100%; } .dx-tab { padding: 0 8px; } }

/* 6 · Comparison tables: a mark for included and not included; text only when the cell says more */
.dx-table.is-compare th:first-child { width: 46%; }
.dx-yes, .dx-no { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--ink); }
.dx-yes > i { display: inline-flex; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tip-bg); color: var(--tip-fg); align-items: center; justify-content: center; }
.dx-no > i { display: inline-flex; flex: none; width: 22px; height: 22px; align-items: center; justify-content: center; color: var(--t3); opacity: .7; }

/* 7 · A capture taken at phone width, in a phone */
.dx-phone { position: relative; width: 300px; margin: 0 auto; padding: 10px; border-radius: 46px; background: #14111C; box-shadow: 0 0 0 1px #2A2635, 0 30px 60px -24px rgba(20, 17, 28, .45); }
.dx-phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
:root[data-theme="dark"] .dx-phone { background: #050408; box-shadow: 0 0 0 1px #3A3546, 0 30px 60px -24px rgba(0, 0, 0, .7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dx-phone { background: #050408; box-shadow: 0 0 0 1px #3A3546, 0 30px 60px -24px rgba(0, 0, 0, .7); } }
@media (max-width: 900px) { .dx-phone { width: 260px; } }

/* 8 · The foot of every docs page */
.dx-foot { border-top: 1px solid var(--bd); }
.dx-foot-in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding: 28px clamp(16px, 3vw, 28px) 32px; font-size: 14px; color: var(--t3); }
.dx-foot-in nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.dx-foot-in nav a { color: var(--t2); }
.dx-foot-in nav a:hover { color: var(--ink); }
.dx-foot-tm { flex: 1 1 auto; text-align: right; font-size: 13px; }
@media (max-width: 900px) { .dx-foot-in { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px 32px; } .dx-foot-tm { text-align: left; } }

/* 9 · The dot of "Status": a soft ring when something is wrong, and the state in words after the link
   (status.js writes it into [data-status-say]), so the colour is not the only sign */
.dx-st-say { color: var(--t3); }
.dx-st-say:empty { display: none; }
.dx-st-say::before { content: '·'; margin-right: 6px; }
.is-degraded > .dx-st, .is-downtime > .dx-st, .is-maintenance > .dx-st { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.is-degraded > .dx-st { color: var(--st-warn); }
.is-downtime > .dx-st { color: var(--st-down); }
.is-maintenance > .dx-st { color: var(--st-work); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* every moving part rests on its final frame */
  .dx-clip .dx-fr { opacity: 0; }
  .dx-clip .dx-fr:last-of-type { opacity: 1; }
  .dx-clip .dx-cur, .dx-clip .dx-rip, .dx-clip-btn { display: none; }
  .dx-clip-bars i:last-child { width: 100%; }
}
@media print { .dx-top, .dx-nav, .dx-toc, .dx-helpful, .dx-fold, .dx-foot { display: none !important; } }
