/* v5 deployment articles (Round 10, 9 Nov; Aspire People since 15 Nov): /work/titan-network/, /work/aspire-people/,
   /work/w-harris-consulting/, /work/luxfolio/. The article itself is the releases' and field notes' (v5-pages.css: the
   contents list, the reading column, .p5-fig); this file draws what is new on it (templates/depfigs5.mjs):
     the architecture  in the conventions of the article figures the user praised: hairline boxes, grey arrows,
                       small uppercase captions, one mint accent on the decisive point, no frame around the drawing;
     the interface     about two components per article, built on the site's tokens with invented data: a window with
                       its name and where you are, the conversation, the one decisive control in mint. */

/* ── the architecture drawing ── */
.p5-fig .dp-svg { max-width: 800px; }
.dp-svg .dp-bx { fill: none; stroke: var(--ln3); stroke-width: 1.5; }
.dp-svg .dp-bx.dz { stroke: var(--ink4); stroke-dasharray: 3 6; }             /* a boundary: x-arc core */
.dp-svg .dp-bx.dp-fa { stroke: var(--ln2); }                                    /* what stays out of reach, faint */
.dp-svg .dp-bx.dp-bk { fill: var(--bg); }                                       /* a stacked card, hiding the one behind */
.dp-svg .dp-bx.op { fill: var(--bg); }
.dp-svg .dp-nm { font: 400 14px var(--sans); letter-spacing: -.005em; fill: var(--ink); }
/* On a phone a drawing's names are read at the size the other articles' drawings give theirs (user, 18 Nov: "make sure
   the visual's fonts in articles in mobile version have a consistent font (this one maybe has a bigger font than the
   rest"). Measured at 390 wide: these drew their names at 13.5px where the release pages' drawings draw theirs at 10
   to 10.5px. The phone drawing is 340 units across, so 11 units here is 10.6px on that screen. */
.dp-svg.figure-narrow .dp-nm { font-size: 11px; }
.dp-svg.figure-narrow .dp-cp { font-size: 9.5px; letter-spacing: .7px; }   /* the captions keep their place under the names: smaller than them, as on a wide screen */
.dp-svg.figure-narrow .dp-sb { font-size: 9px; }
.dp-svg.figure-narrow .dp-xc { font-size: 10.5px; }
.dp-svg .dp-cp { font: 400 11.5px var(--sans); letter-spacing: .9px; fill: var(--ink3); }
.dp-svg .dp-cp.m { fill: var(--m); }
.dp-svg .dp-cp.fa { fill: var(--ink4); }
.dp-svg .dp-sb { font: 400 10.5px var(--sans); letter-spacing: .5px; fill: var(--ink3); }
.dp-svg .dp-l { fill: none; stroke: var(--ink3); stroke-width: 1.5; }
.dp-svg .dp-l.m { stroke: var(--ma); }
.dp-svg .dp-ah { fill: var(--ink3); }
.dp-svg .dp-ah.m { fill: var(--ma); }
.dp-svg .dp-gate { fill: none; stroke: var(--ma); stroke-width: 2.5; }
.dp-svg .dp-mk { fill: var(--ink3); }
.dp-svg .dp-xc { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: -.02em; }   /* x-arc core, in its own face */

/* a link in the text keeps its words together (x-arc core) */
.dp-read a { white-space: nowrap; }

/* ── the interface components ── */
.dp-ui .p5-fig-a { display: flex; justify-content: center; }
.p5-fig .dp-ic { display: inline-block; flex: none; width: 14px; height: 14px; max-width: none; margin: 0; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p5-read .dp-ui :where(p, ul, li) { margin: 0; padding: 0; list-style: none; }   /* the article's own paragraph and list styles stay out of a component */
.dp-k { font: 500 10.5px/1 var(--mono); letter-spacing: .02em; color: var(--ink3); text-transform: lowercase; }

/* a window: its name, where you are, then the screen */
.dp-w { width: 100%; max-width: 580px; border: 1px solid var(--ln2); border-radius: 14px; background: var(--sf0); overflow: hidden; text-align: left; font-family: var(--sans); letter-spacing: -.005em; }
.dp-w-h { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--ln); }
.dp-w-h b { font: 500 13px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.dp-w-h span { min-width: 0; overflow: hidden; font: 500 11px/1 var(--mono); color: var(--ink3); white-space: nowrap; text-overflow: ellipsis; }
.dp-w-h span::before { content: "/"; margin-right: 12px; color: var(--ink4); }
.dp-ex { flex: none; height: 22px; margin-left: auto; padding: 0 9px; border: 1px solid var(--ln2); border-radius: 999px; font: 500 10.5px/20px var(--mono); font-style: normal; color: var(--ink3); }
.dp-w-b { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px 20px; }

/* the conversation */
.p5-read .dp-ask { align-self: flex-end; max-width: 82%; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: rgba(var(--fg-rgb), .07); font-size: 13.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.p5-read .dp-ans p { font-size: 13.5px; line-height: 1.65; color: var(--ink2); text-wrap: pretty; }
.dp-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dp-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--ln2); border-radius: 6px; font: 500 11px/1 var(--mono); letter-spacing: 0; color: var(--ink2); white-space: nowrap; vertical-align: 1px; }
.dp-chip .dp-ic { width: 13px; height: 13px; color: var(--ink3); }
.dp-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font: 500 12.5px/1 var(--sans); white-space: nowrap; }
.dp-btn.gh { border: 1px solid var(--ln2); color: var(--ink2); }
.dp-btn.pri { background: var(--m-fill); color: var(--on-m); }
.dp-acts { display: flex; gap: 8px; }

/* Titan: the proposed change, waiting for the member */
.dp-prop { border: 1px solid var(--ln2); border-radius: 12px; background: var(--sf1); }
.dp-prop-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 14px 16px 0; }
.dp-prop-h .dp-k { flex-basis: 100%; margin-bottom: 4px; }
.dp-prop-t { font: 500 14px/1.3 var(--sans); color: var(--ink); }
.dp-prop-in { font: 500 11px/1 var(--mono); color: var(--ink3); }
.p5-read .dp-prop-l { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 16px; }
.p5-read .dp-prop-l li { padding: 5px 9px; border-radius: 6px; background: rgba(var(--fg-rgb), .06); font: 500 11.5px/1.2 var(--mono); color: var(--ink); }
.dp-prop-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--ln); }
.dp-rule { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; color: var(--ink3); }

/* Titan: a member's own agent, calling Titan AI */
.dp-call { display: flex; align-items: center; gap: 10px; align-self: flex-start; height: 34px; padding: 0 12px; border: 1px solid rgba(var(--ma-rgb), .45); border-radius: 8px; background: rgba(var(--ma-rgb), .07); }
.dp-call > .dp-ic { color: var(--m); }
.dp-call b { font: 500 12.5px/1 var(--sans); color: var(--ink); }
.dp-call span { font: 500 11px/1 var(--mono); color: var(--ink3); }
.dp-ok { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(var(--fg-rgb), .08); color: var(--ink2); }
.dp-ok .dp-ic { width: 11px; height: 11px; stroke-width: 2.2; }
.dp-cmp { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-top: 6px; padding: 0 7px 0 16px; border: 1px solid var(--ln2); border-radius: 22px; font-size: 13px; color: var(--ink4); }
.dp-cmp i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--fg-rgb), .1); color: var(--ink2); }

/* CaseGuard: the case file beside the conversation, each claim with its document */
.dp-w.cg .dp-w-b { padding: 0; }
.dp-case { display: grid; grid-template-columns: 188px minmax(0, 1fr); }
.dp-docs { display: flex; flex-direction: column; gap: 2px; padding: 18px 10px; border-right: 1px solid var(--ln); background: rgba(var(--fg-rgb), .015); }
.dp-docs .dp-k { padding: 0 8px 10px; }
.dp-doc { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; font-size: 12.5px; line-height: 1.3; color: var(--ink3); }
.dp-doc .dp-ic { color: var(--ink4); }
.dp-doc.on { color: var(--ink); }
.dp-doc.on .dp-ic { color: var(--ma); }
.dp-thr { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px; }
.p5-read .dp-thr .dp-ans p { line-height: 1.9; }
.dp-chip.cite { gap: 4px; height: 19px; padding: 0 6px; border-color: rgba(var(--ma-rgb), .4); border-radius: 5px; background: rgba(var(--ma-rgb), .07); font-size: 10.5px; color: var(--ink); vertical-align: 1px; }
.dp-chip.cite .dp-ic { width: 11px; height: 11px; color: var(--m); }

/* CaseGuard: the caseload as a table, from a pre-checked query */
.dp-w.tb .dp-w-b { padding-bottom: 0; }
.dp-tb { margin: 0 -20px; overflow-x: auto; }
.dp-tb table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.dp-tb th, .dp-tb td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--ln); text-align: left; vertical-align: top; }
.dp-tb th:first-child, .dp-tb td:first-child { padding-left: 20px; }
.dp-tb th { font: 500 10.5px/1 var(--mono); letter-spacing: .02em; color: var(--ink3); border-bottom-color: var(--ln2); border-top: 1px solid var(--ln); }
.dp-tb td { color: var(--ink2); }
.dp-tb td.nm { color: var(--ink); }
.dp-q { display: flex; align-items: center; gap: 9px; margin: 0 -20px; padding: 13px 20px; font: 500 11px/1.4 var(--mono); color: var(--ink3); }
.dp-q > .dp-ic { color: var(--ma); stroke-width: 2; }
.dp-q > .dp-nx { flex: none; width: 6px; height: 6px; background: var(--ma); }   /* a step still to come: the site's small square, where a finished one takes the check */
.dp-q b { font-weight: 500; color: var(--m); }

/* Luxfolio: the broker's phone, the draft and the confirm step */
.dp-ph { width: 296px; max-width: 100%; padding: 9px; border: 1px solid var(--ln3); border-radius: 46px; background: var(--bg1); }
.dp-ph-s { position: relative; display: flex; flex-direction: column; height: 618px; border: 1px solid var(--ln); border-radius: 37px; background: var(--sf0); overflow: hidden; text-align: left; font-family: var(--sans); letter-spacing: -.005em; }
.dp-ph-n { position: absolute; top: 11px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 12px; background: #050707; }
.dp-ph-h { position: relative; display: grid; place-items: center; flex: none; height: 44px; margin-top: 42px; border-bottom: 1px solid var(--ln); }
.dp-ph-h b { font: 500 13px/1 var(--sans); color: var(--ink); }
.dp-ph-h .dp-ex { position: absolute; right: 12px; top: 11px; }
.dp-ph-b { display: flex; flex-direction: column; flex: none; gap: 12px; padding: 16px 14px; }
.p5-read .dp-ph-b .dp-ask, .p5-read .dp-ph-b .dp-ans p { font-size: 12.5px; }
.p5-read .dp-ph-b .dp-ask { max-width: 90%; }
.dp-dc { border: 1px solid var(--ln2); border-radius: 12px; background: var(--sf1); overflow: hidden; }
.dp-dc-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--ln); }
.dp-dc-h .dp-ic { color: var(--ink3); }
.dp-dc-h b { font: 500 12.5px/1 var(--sans); color: var(--ink); }
.dp-dc-h span { margin-left: auto; font: 500 10.5px/1 var(--mono); color: var(--ink3); }
.dp-dc-p { display: flex; flex-direction: column; gap: 7px; padding: 11px 12px 13px; }
.p5-read .dp-dc-p p { font: 400 11.5px/1.55 var(--sans); color: var(--ink2); }
.dp-done { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink3); }
.dp-done .dp-ic { width: 13px; height: 13px; stroke-width: 2; }
.dp-cf { position: relative; flex: none; margin-top: auto; padding: 16px 16px 26px; border-top: 1px solid var(--ln2); border-radius: 18px 18px 0 0; background: var(--sf1); }
.dp-cf::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: rgba(var(--fg-rgb), .3); }
.dp-cf b { display: block; font: 500 14px/1.3 var(--sans); color: var(--ink); }
.p5-read .dp-cf p { margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--ink3); }
.dp-cf .dp-acts { margin-top: 14px; }
.dp-cf .dp-btn { flex: 1; justify-content: center; height: 36px; }
.dp-cf .dp-btn.pri { flex: 2; }

/* Aspire: the candidate's messaging app, screening as one conversation (the phone above, its own messages) */
.dp-ph-b.dp-chat { gap: 10px; }
.p5-read .dp-in { align-self: flex-start; max-width: 88%; padding: 8px 12px; border: 1px solid var(--ln2); border-radius: 14px 14px 14px 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
.p5-read .dp-chat .dp-ask { padding: 8px 12px; }
.dp-pho { align-self: flex-end; display: flex; flex-direction: column; gap: 7px; width: 152px; padding: 5px 5px 8px; border-radius: 14px 14px 4px 14px; background: rgba(var(--fg-rgb), .07); }
.dp-pho-i { display: grid; place-items: center; height: 64px; border-radius: 10px; background: rgba(var(--fg-rgb), .06); overflow: hidden; }
.dp-pho-i > span { display: flex; flex-direction: column; gap: 4px; width: 70px; padding: 7px 7px 8px; border: 1px solid var(--ln2); border-radius: 3px; background: var(--sf0); rotate: -4deg; }   /* the certificate, photographed */
.dp-pho-i i { display: block; height: 3px; border-radius: 2px; background: rgba(var(--fg-rgb), .16); }
.dp-pho-i i:first-child { width: 62%; height: 4px; margin-bottom: 1px; background: rgba(var(--fg-rgb), .32); }
.dp-pho-i i:nth-child(3) { width: 84%; }
.dp-pho-i i:last-child { width: 46%; }
.dp-pho > span { padding: 0 5px; font-size: 11px; line-height: 1.3; color: var(--ink2); }
.dp-vo { align-self: flex-end; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 6px; border-radius: 14px 14px 4px 14px; background: rgba(var(--fg-rgb), .07); }
.dp-vo > i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(var(--fg-rgb), .1); color: var(--ink); }
.p5-fig .dp-vo > i .dp-ic { width: 10px; height: 10px; margin-left: 2px; fill: currentColor; stroke-width: 1; }
.dp-vo > span { display: flex; align-items: center; gap: 2px; height: 20px; }
.dp-vo b { display: block; width: 2px; height: var(--h); border-radius: 1px; background: var(--ink3); }
.dp-bkd { align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border: 1px solid rgba(var(--ma-rgb), .45); border-radius: 12px; background: rgba(var(--ma-rgb), .07); }
.p5-fig .dp-bkd > .dp-ic { width: 18px; height: 18px; color: var(--m); }
.dp-bkd b { display: block; font: 500 12.5px/1.3 var(--sans); color: var(--ink); }
.dp-bkd span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--ink3); }
.dp-ph-f { position: relative; flex: none; margin-top: auto; padding: 8px 12px 26px; }
.dp-ph-f::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: rgba(var(--fg-rgb), .3); }
.dp-ph-f .dp-cmp { height: 38px; margin: 0; padding-left: 14px; font-size: 12.5px; }
.dp-ph-f .dp-cmp i { width: 28px; height: 28px; }

/* Aspire: a consultant's view of a candidate in the CRM, every check recorded and the interview booked */
.dp-rec { padding-bottom: 6px; }
.dp-rec .dp-who > div { min-width: 0; }
.p5-read .dp-st { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; margin-left: auto; padding: 0 9px; border: 1px solid rgba(var(--ma-rgb), .45); border-radius: 999px; background: rgba(var(--ma-rgb), .07); font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--ink); white-space: nowrap; }   /* as the call to Titan AI: the words in ink, the mark in mint */
.p5-fig .dp-st .dp-ic { width: 11px; height: 11px; stroke-width: 2.2; color: var(--ma); }
.dp-kv { display: grid; grid-template-columns: 124px minmax(0, 1fr); }
.dp-kv > * { display: flex; align-items: center; min-height: 46px; border-top: 1px solid var(--ln); }
.dp-kv > .dp-k { align-items: flex-start; padding-top: 17px; }
.p5-read .dp-ck { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 9px 20px; padding-block: 13px; }
.p5-read .dp-ck li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 1.35; color: var(--ink2); white-space: nowrap; }
.p5-fig .dp-ck .dp-ic { width: 13px; height: 13px; stroke-width: 2; color: var(--ink); }
.dp-v { flex-wrap: wrap; gap: 6px 9px; padding-block: 10px; font-size: 13px; line-height: 1.35; color: var(--ink2); }
.p5-fig .dp-v > .dp-ic { color: var(--ink3); }
.dp-v em { font-size: 12px; font-style: normal; color: var(--ink3); }

/* Luxfolio: the admin control plane, one broker's permissions */
.dp-w.adm { max-width: 640px; }
.dp-w.adm .dp-w-b { padding: 0; }
.dp-adm { display: grid; grid-template-columns: 156px minmax(0, 1fr); }
.dp-ppl { display: flex; flex-direction: column; gap: 2px; padding: 18px 10px; border-right: 1px solid var(--ln); background: rgba(var(--fg-rgb), .015); }
.dp-ppl .dp-k { padding: 0 8px 10px; }
.dp-p { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 7px; }
.dp-p i, .dp-who > i { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(var(--fg-rgb), .08); color: var(--ink3); }
.dp-p i .dp-ic { width: 12px; height: 12px; }
.dp-p s { display: block; width: var(--w); height: 6px; border-radius: 3px; background: rgba(var(--fg-rgb), .1); }
.dp-p.on { background: rgba(var(--fg-rgb), .06); }
.dp-p.on s { background: rgba(var(--fg-rgb), .26); }
.dp-perm { min-width: 0; padding: 18px 20px 8px; }
.dp-who { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; }
.dp-who > i { width: 34px; height: 34px; }
.dp-who b { display: block; font: 500 14px/1.2 var(--sans); color: var(--ink); }
.dp-who span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--ink3); }
.dp-mx { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 64px); align-items: center; }
.dp-mx > * { min-height: 44px; display: flex; align-items: center; border-top: 1px solid var(--ln); }
.dp-mx > .dp-k, .dp-mx > .dp-lv { min-height: 30px; border-top: 0; }
.dp-lv { justify-content: center; font: 500 10.5px/1.2 var(--mono); color: var(--ink3); text-align: center; }
.dp-pl { padding-right: 12px; font-size: 13px; line-height: 1.35; color: var(--ink2); }
.dp-rc { justify-content: center; }
.dp-rd { width: 15px; height: 15px; border: 1.5px solid var(--ln3); border-radius: 50%; }
.dp-rd.on { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 3.5px, transparent 4px); }
.dp-lk { grid-column: span 3; justify-content: center; gap: 7px; font: 500 11px/1.2 var(--mono); color: var(--m); }
.dp-lk .dp-ic { width: 13px; height: 13px; color: var(--ma); }

@media (max-width: 640px) {
  .dp-w-h { gap: 10px; padding: 0 14px; }
  .dp-w-h span::before { margin-right: 8px; }
  .dp-w-b { padding: 18px 16px; }
  .dp-prop-f { justify-content: flex-end; }
  .dp-rule { flex-basis: 100%; }
  .dp-case { grid-template-columns: minmax(0, 1fr); }
  .dp-docs { flex-direction: row; flex-wrap: wrap; gap: 4px 2px; padding: 14px 10px 12px; border-right: 0; border-bottom: 1px solid var(--ln); }
  .dp-docs .dp-k { flex-basis: 100%; padding-bottom: 6px; }
  .dp-doc { padding: 5px 8px; font-size: 12px; }
  .dp-thr { padding: 18px 16px; }
  .dp-tb, .dp-q { margin-inline: -16px; }
  .dp-tb th:first-child, .dp-tb td:first-child, .dp-q { padding-left: 16px; }
  .dp-tb th:nth-child(2), .dp-tb td:nth-child(2) { display: none; }
  .dp-adm { grid-template-columns: minmax(0, 1fr); }
  .dp-ppl { display: none; }
  .dp-perm { padding: 16px 16px 6px; }
  .dp-mx { grid-template-columns: minmax(0, 1fr) repeat(3, 54px); }
  .dp-lv { font-size: 9.5px; white-space: nowrap; }
  .dp-pl { font-size: 12.5px; }
  .dp-kv { grid-template-columns: minmax(0, 1fr); }
  .dp-kv > .dp-k { min-height: 0; padding-top: 14px; }
  .dp-kv > :not(.dp-k) { min-height: 0; padding-top: 8px; border-top: 0; }
  .p5-read .dp-ck { padding-bottom: 14px; }
  .dp-v { padding-bottom: 14px; }
}

/* Verified Electronics (17 Nov): the purchasing agent's board. Both windows lay themselves out by their own width
   (a container), since six steps across need room a phone does not have. */
.dp-w.pipe, .dp-w.rq { max-width: 640px; container-type: inline-size; }
.dp-w.pipe .dp-w-b, .dp-w.rq .dp-w-b { gap: 0; padding: 0; }

/* the pipeline: each request on its own track of steps, the part travelled in mint and the request's own chip at the
   step it has reached; beside the tracks, the requests waiting on suppliers (mint once an offer is in); below, what
   the agent is doing on each */
.dp-pipe { display: grid; grid-template-columns: minmax(0, 1fr) max-content; border-bottom: 1px solid var(--ln); }
.dp-trk { min-width: 0; padding: 22px 20px 14px; }
.dp-trk-h, .dp-tr-n { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }   /* --n steps, --at the one reached */
.dp-trk-h { padding-bottom: 6px; }
.dp-trk-h .dp-k { text-align: center; white-space: nowrap; }
.dp-tr { position: relative; height: 36px; }
.dp-tr-n { position: absolute; inset: 0; place-items: center; }
.dp-tr-n::before, .dp-tr-n::after { content: ""; position: absolute; top: 50%; left: calc(50% / var(--n)); height: 1.5px; margin-top: -.75px; }
.dp-tr-n::before { right: calc(50% / var(--n)); background: var(--ln); }
.dp-tr-n::after { width: calc(100% / var(--n) * var(--at)); background: var(--ma); }
.dp-tr-n i { position: relative; z-index: 1; display: grid; place-items: center; width: 11px; height: 11px; }
.dp-tr-n i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ln3); }
.dp-tr-n i.d::before { content: none; }
.dp-tk { position: absolute; z-index: 2; top: 50%; left: calc(50% / var(--n) + 100% / var(--n) * var(--at)); translate: -50% -50%; border-radius: 5px; background: var(--sf0); }
.dp-tr.s .dp-tk { left: 0; translate: 0 -50%; }
.dp-tr.e .dp-tk { left: auto; right: 0; translate: 0 -50%; }
.dp-tk > span { display: flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid rgba(var(--ma-rgb), .4); border-radius: 5px; background: rgba(var(--ma-rgb), .07); font: 500 10.5px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.p5-read .dp-tr-s { display: none; font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--ink3); white-space: nowrap; }
.dp-wait { display: flex; flex-direction: column; gap: 12px; width: 125px; padding: 22px 16px 16px; border-left: 1px solid var(--ln); background: rgba(var(--fg-rgb), .015); }
.dp-wait > .dp-k { line-height: 1.4; }
.dp-wait-g { display: grid; grid-template-columns: repeat(8, 8px); grid-auto-rows: 8px; gap: 4px; height: 104px; overflow: hidden; }   /* whole rows only: nine here */
.dp-wait-g i { display: block; width: 8px; height: 8px; border-radius: 2px; background: rgba(var(--fg-rgb), .1); }
.dp-wait-g i.on { background: var(--ma); }
.dp-wait-l { margin-top: auto; font: 500 10.5px/1 var(--mono); color: var(--m); }
.dp-ip { display: grid; grid-template-columns: max-content minmax(0, 1fr); padding: 18px 20px 6px; }
.dp-ip > .dp-k { grid-column: 1 / -1; padding-bottom: 10px; }
.dp-ip > b, .dp-ip > span:not(.dp-k) { display: flex; align-items: center; min-height: 40px; border-top: 1px solid var(--ln); }
.dp-ip > b { padding-right: 28px; font: 500 11.5px/1.3 var(--mono); color: var(--ink); }
.dp-ip > span:not(.dp-k) { font-size: 13px; line-height: 1.4; color: var(--ink2); }

/* a request opened: its steps as a strip, the finished ones with their times and the step being worked lit; the
   supplier that answered beside the offer the agent read from its reply */
.dp-rq-t { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px 20px; border-bottom: 1px solid var(--ln); }
.dp-rq-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.dp-rq-h b { font: 500 13px/1.3 var(--mono); color: var(--ink); }
.dp-rq-h span { font-size: 13px; line-height: 1.4; color: var(--ink2); }
.p5-read .dp-sx { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.p5-read .dp-sx li { display: flex; flex-direction: column; gap: 7px; padding: 10px 10px 9px; border: 1px solid var(--ln); border-radius: 8px; font-size: 12.5px; line-height: 1.2; color: var(--ink2); white-space: nowrap; }
.dp-sx li > span { display: flex; align-items: center; gap: 5px; font: 500 10.5px/1 var(--mono); color: var(--ink3); }
.p5-fig .dp-sx .dp-ic { width: 11px; height: 11px; stroke-width: 2.2; color: var(--ink3); }
.p5-read .dp-sx li.now { border-color: rgba(var(--ma-rgb), .45); background: rgba(var(--ma-rgb), .07); color: var(--ink); }
.dp-sx li.now > span { color: var(--m); }
.p5-read .dp-sx li.next { color: var(--ink4); }
.dp-of { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.dp-of-s { padding: 20px 16px; border-right: 1px solid var(--ln); background: rgba(var(--fg-rgb), .015); }
.dp-of .dp-who { padding: 0; }
.dp-of .dp-who > div { min-width: 0; }
.dp-rp { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0 46px; }   /* the reply itself, its words not shown (as the names in the lists of people) */
.dp-rp s { display: block; width: var(--w); height: 6px; border-radius: 3px; background: rgba(var(--fg-rgb), .1); }
.dp-of-r { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-content: start; padding: 20px 20px 6px; }
.dp-of-r > .dp-k:first-child { grid-column: 1 / -1; padding-bottom: 10px; }
.dp-of-r > :not(:first-child) { display: flex; align-items: center; min-height: 38px; border-top: 1px solid var(--ln); }
.dp-of-v { font: 500 12px/1.3 var(--mono); color: var(--ink); }
.dp-w.rq .dp-q { margin: 0; border-top: 1px solid var(--ln); }

/* narrower windows: under full width the requests waiting on suppliers go under the tracks; narrower still, each
   track carries its own words, and the strip, the offer and the list stack */
@container (max-width: 637px) {
  .dp-pipe { grid-template-columns: minmax(0, 1fr); }
  .dp-wait { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; width: auto; padding: 16px 20px 18px; border-left: 0; border-top: 1px solid var(--ln); }
  .dp-wait > .dp-k { line-height: 1; }
  .dp-wait-g { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(auto-fill, 8px); justify-content: space-between; height: 20px; }   /* two rows across */
  .dp-wait-l { margin: 0; }
}
@container (max-width: 491px) {
  .dp-trk-h { display: none; }
  .dp-tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 11px 12px; height: auto; padding: 12px 0; }
  .dp-tr + .dp-tr { border-top: 1px solid var(--ln); }
  .dp-tr .dp-tk, .dp-tr.s .dp-tk, .dp-tr.e .dp-tk { position: static; translate: none; background: none; }
  .dp-tk > span { height: auto; padding: 0; border: 0; background: none; font-size: 11px; }
  .p5-read .dp-tr-s { display: block; }
  .dp-tr-n { position: relative; display: flex; justify-content: space-between; grid-column: 1 / -1; grid-row: 2; height: 11px; }   /* edge to edge */
  .dp-tr-n::before { left: 5.5px; right: 5.5px; }
  .dp-tr-n::after { left: 5.5px; width: calc((100% - 11px) / (var(--n) - 1) * var(--at)); }
  .dp-tr-n i.at { border: 1.5px solid var(--ma); border-radius: 50%; background: var(--sf0); }
  .dp-tr-n i.at::before { content: none; }
  .dp-wait-g { height: 32px; }   /* three rows */
  .dp-ip { grid-template-columns: minmax(0, 1fr); }
  .dp-ip > b { min-height: 0; padding: 11px 0 0; }
  .dp-ip > span:not(.dp-k) { min-height: 0; padding: 3px 0 11px; border-top: 0; }
  .p5-read .dp-sx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dp-of { grid-template-columns: minmax(0, 1fr); }
  .dp-of-s { border-right: 0; border-bottom: 1px solid var(--ln); }
  .dp-rp { display: none; }
}
@container (max-width: 289px) {
  .dp-w.pipe .dp-w-h span, .dp-w.rq .dp-w-h span { display: none; }   /* rather than cut to "pi…": the name and the pill stay */
  .p5-read .dp-sx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-wait-g { height: 44px; }   /* four rows */
  .dp-wait-l { grid-column: 1 / -1; grid-row: 3; }   /* under the squares, as beside the tracks */
}
/* on a phone the room inside the window is the other examples' (16px) */
@media (max-width: 640px) {
  .dp-trk, .dp-wait, .dp-ip, .dp-rq-t, .dp-of-s, .dp-of-r { padding-inline: 16px; }
  .dp-trk, .dp-rq-t { padding-top: 18px; }
}
