/* The depth parts (build three U10; docs/site-relaunch/round-three/specs/depth-parts.md).
   The second register: same world, denser. Class prefix dp-. One accent per figure (--amber),
   everything else from the ground and the neutral ramp. Numbers in mono. No shadow, glow or gradient
   on a data mark. Motion is the kit's (kit.css): this sheet only lays out the finished still. Each part's
   build is kitBuild's markup inside a dp- wrapper, so a step is an `li.kit-build__step` holding the part's
   own element. */

.dp-label, .dp-hood__label, .dp-note__where, .dp-table thead th, .dp-sheet__group {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted, var(--ink-2)); /* full caps, not small caps: small caps drew these at about 8 px */
}
.dp-label { display: block; margin: 0 0 .5em; }
.dp-mono, .kit-bar__value, .dp-tile__value, .dp-table td { font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-variant-numeric: tabular-nums; }

.dp-fact__link { font-family: var(--ui); font-size: .82rem; font-weight: 600; color: inherit; text-underline-offset: 3px; white-space: nowrap; }
.dp-fact__link:focus-visible, .dp-sys__name a:focus-visible, .dp-strip__stop a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.dp-uwee { display: block; pointer-events: none; }
.dp-uwee img { display: block; width: 100%; height: auto; }

/* ---------- 1. Under the hood ---------- */
.dp-hood { position: relative; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(40px, 6vw, 72px) var(--gutter); }
.dp-hood__wrap { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.dp-hood__head { position: relative; }
.dp-hood__title { font-family: var(--head); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin: 0; }
/* The Uwee steps over the band's top edge by about 24 px, so the world touches the register. */
.dp-hood__uwee { position: absolute; right: 0; top: calc(-1 * clamp(40px, 6vw, 72px) - 24px); width: clamp(84px, 9vw, 128px); }
.dp-hood__build .kit-build__list { gap: 0; }
.dp-hood__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.dp-hood__build .kit-build__step:last-child .dp-hood__row { border-bottom: 1px solid var(--rule); }
.dp-hood__label { margin: 0; padding-top: .2em; color: var(--amber-hi, var(--amber)); }
.dp-hood__fact { margin: 0; font-size: 1rem; line-height: 1.5; }
.dp-hood .dp-fact__link { margin-left: .35em; color: var(--muted); }

@media (min-width: 1100px) {
  /* Over the heading column, its left edge on the heading's: it still crosses the band's top edge and stands
     clear of the heading, which starts 8 px under its feet. */
  .dp-hood__uwee { left: 0; right: auto; top: calc(-1 * clamp(84px, 9vw, 128px) - 8px); }
}
@media (max-width: 1024px) {
  .dp-hood__wrap { grid-template-columns: 1fr; }
  .dp-hood__head { padding-right: 112px; min-height: 64px; }
  .dp-hood__uwee { top: auto; bottom: -8px; width: 96px; }
}
@media (max-width: 720px) {
  .dp-hood__row { grid-template-columns: 1fr; gap: 4px; }
  .dp-hood__head { padding-right: 84px; }
  .dp-hood__uwee { width: 72px; }
}

/* ---------- 2. The system diagram, full ---------- */
.dp-sys { margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--rule); }
.dp-sys__title { max-width: 60ch; margin: 0 0 clamp(56px, 7vw, 88px); font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
/* Build eight SA: the gap the connector spans, as wide as the diagram family's across arrow (64px) where the row has room. */
.dp-sys { --dp-sys-gap: clamp(48px, 4.5vw, 64px); }
.dp-sys__build .kit-build__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--dp-sys-gap); }
.dp-sys__build .kit-build__step { display: flex; min-width: 0; }
.dp-sys__station { position: relative; display: flex; flex: 1; min-width: 0; }
.dp-sys__card {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px;
  padding: 56px 16px 18px; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: var(--card);
  transition: transform 180ms var(--ease);
}
.dp-sys__card:focus-within { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .dp-sys__card:hover { transform: translateY(-3px); } }
.dp-sys__uwee { position: absolute; left: 12px; top: -52px; width: 92px; }
.dp-sys__name { margin: 0; font-size: 1.2rem; }
.dp-sys__name a { color: inherit; text-decoration: none; }
.dp-sys__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole card is the link's target */
.dp-sys__line { margin: 0; font-size: .95rem; line-height: 1.45; }
.dp-sys__facts { list-style: none; margin: 6px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.dp-sys__conn { position: absolute; top: 50%; right: calc(-1 * var(--dp-sys-gap)); width: var(--dp-sys-gap); height: 28px; transform: translateY(-50%); color: var(--ink-3); z-index: 1; }
.dp-sys__parcel { fill: var(--amber); }
/* FIX-3 (build six part two): the connector is an inline SVG (lib/site/parts/depth.ts systemFull) whose stroke AND
   geometry are attributes, and app/globals.css reverts every attribute-set SVG style under [data-v12-root], so each drew
   blank. Its paths are hidden and the element paints the line itself: a CSS mask (a data-URI copy of the connector,
   shape for shape; if those shapes change, change this with it) filled with currentColor. No CSS `d` is relied on
   (Safari may not take it). The dot stays the real circle, its geometry from CSS (cx, cy and r are CSS properties
   wherever the reset can reach them), drawn amber over its place in the mask.
   Build eight SA (Sarah, "too small", four threads): the box is the drawing's own 64x28 where the gap is 64px, so the
   line is 3px, the head 24px and the dot 12px, the diagram family's connector (hiw-diagrams.css), about twice the 32x14
   it replaced; a narrower gap scales the whole drawing down with it. The line parts around the dot, so the dot sits
   centered on it with a clear ring, and the head points at the next station. */
.dp-sys__conn > path { display: none; }
.dp-sys__conn .dp-sys__parcel { cx: 32px; cy: 14px; r: 6px; fill: var(--amber); stroke: none; }
.dp-sys__conn { background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cg fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 H 22'/%3E%3Cpath d='M42 14 H 58'/%3E%3Cpath d='M50 2 L 61 14 L 50 26'/%3E%3C/g%3E%3Ccircle cx='32' cy='14' r='6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cg fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 H 22'/%3E%3Cpath d='M42 14 H 58'/%3E%3Cpath d='M50 2 L 61 14 L 50 26'/%3E%3C/g%3E%3Ccircle cx='32' cy='14' r='6'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Build five SW14: no return strip and no carrier; "Approved fixes go back into the record." is in the title line. */
.dp-sys__data { margin: 24px 0 0; font-size: .95rem; color: var(--muted); }
.dp-sys__data a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .dp-sys__title { margin-bottom: 32px; }
  /* One column: a 44px gutter on the left carries the connector, and the rows sit the family's down gap (48px) apart. */
  .dp-sys__build .kit-build__list { grid-template-columns: 1fr; gap: 48px; padding-left: 44px; }
  .dp-sys__card { padding: 18px 16px 16px 104px; min-height: 120px; }
  .dp-sys__uwee { left: 8px; top: 12px; width: 84px; }
  /* The connector turns down the left edge: its 64x28 box turned a quarter, centered in the gutter (22px left of the
     card) and in the gap below the card (24px under it), so it runs down from this station to the next. */
  .dp-sys__conn { top: calc(100% + 24px - 14px); bottom: auto; right: auto; left: calc(-22px - 32px); width: 64px; transform: rotate(90deg); }
}
@media (max-width: 720px) {
  /* The Uwee moves to the card's top right so the words get the card's full width. */
  .dp-sys__card { padding: 16px; min-height: 0; }
  .dp-sys__uwee { left: auto; right: 8px; top: -22px; width: 64px; }
  .dp-sys__name { padding-right: 64px; }
}

/* The connectors draw in while the build plays, each with its station (clip-path only, motion rule 7). The
   still, reduced motion, phones and no-script never arm the build, so they print the finished diagram. */
.dp-sys__build .kit-build[data-kit-state="armed"] .dp-sys__conn { clip-path: inset(0 100% 0 0); }
.dp-sys__build .kit-build[data-kit-state="playing"] .dp-sys__conn { animation: dp-draw-right 220ms var(--ease) calc(var(--kit-delay, 0ms) + 180ms) both; }
@keyframes dp-draw-right { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .dp-sys__build .kit-build .dp-sys__conn { animation: none; clip-path: none; }
}

/* ---------- 3. The system strip, compact ---------- */
.dp-strip { padding: 10px 0; }
.dp-strip .kit-build { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.dp-strip .kit-build__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.dp-strip .kit-build__step { display: flex; align-items: center; }
.dp-strip .kit-build__step + .kit-build__step::before { content: ""; width: clamp(12px, 3vw, 40px); border-top: 1.5px solid var(--ink-3); margin: 0 6px; }
.dp-strip .kit-build__carry { margin: 0; }
.dp-strip .kit-build__carry .kit-uwee { width: 44px; }
.dp-strip__stop { display: flex; align-items: center; }
.dp-strip__stop a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 4px; border: 1.5px solid var(--rule); border-radius: 999px; color: inherit; text-decoration: none; font-family: var(--ui); font-weight: 600; font-size: .9rem; }
.dp-strip__head { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--paper-2); flex: none; }
.dp-strip__head img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.dp-strip__stop.is-current a { background: var(--amber); border-color: var(--amber); color: var(--ink); }
@media (max-width: 560px) {
  /* Five equal chips in one row, no connectors; the carry and Play again sit under them. */
  .dp-strip .kit-build__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; width: 100%; }
  .dp-strip .kit-build__step + .kit-build__step::before { content: none; }
  .dp-strip .kit-build__step { display: block; }
  .dp-strip .kit-build__step .dp-strip__stop, .dp-strip .kit-build__step .dp-strip__stop a { display: flex; width: 100%; }
  .dp-strip .kit-build__step .dp-strip__stop a { justify-content: center; padding: 4px 2px; font-size: .75rem; white-space: nowrap; }
}
@media (max-width: 720px) {
  .dp-strip__head { display: none; }
  .dp-strip__stop a { padding: 4px 10px; }
  .dp-strip .kit-build__step + .kit-build__step::before { width: 8px; margin: 0 2px; }
}

/* ---------- 4. The brand record sheet ---------- */
.dp-sheet { margin: 0; }
.dp-sheet__sheet { position: relative; }
.dp-sheet__frame {
  border: 2px solid var(--ink); border-radius: 4px; background: var(--card);
  outline: 1px solid var(--ink); outline-offset: 6px; /* the drawing sheet's double rule */
}
.dp-sheet__titleblock { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px 24px; padding: 14px 18px; border-bottom: 2px solid var(--ink); }
.dp-sheet__name { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.3rem; }
.dp-sheet__example { margin-left: .5em; font-family: var(--ui); font-size: .78rem; font-weight: 600; padding: 2px 8px; border: 1px solid var(--ink-3); border-radius: 999px; vertical-align: middle; }
.dp-sheet__titleblock .dp-label { margin: 0; }
.dp-sheet__groups { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; font-family: var(--mono, ui-monospace, monospace); font-size: .74rem; color: var(--ink-2); }
/* Six panels in three columns, the notes rail (the build's last step) beside them across both rows. */
.dp-sheet__build .kit-build__list { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1fr); gap: 0; }
.dp-sheet__build .kit-build__step { min-width: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dp-sheet__build .kit-build__step:nth-child(3n) { border-right: 0; }
.dp-sheet__build .kit-build__step:nth-child(n+4) { border-bottom: 0; }
.dp-sheet__build .kit-build__last { grid-column: 4; grid-row: 1 / span 2; border: 0; }
.dp-sheet__panel { height: 100%; padding: 16px 18px 20px; font-size: .95rem; line-height: 1.45; }
.dp-sheet__group { margin: 0 0 10px; }
.dp-sheet__panel p { margin: 0 0 8px; }
.dp-sheet__brand { font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.dp-sheet__empty { color: var(--ink-3); font-style: italic; }
.dp-swatches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dp-swatch { display: grid; grid-template-columns: 28px auto 1fr; align-items: center; gap: 10px; font-size: .86rem; }
.dp-swatch__chip { width: 28px; height: 28px; border-radius: 4px; border: 1px solid rgba(21, 23, 28, .25); }
.dp-swatch--primary .dp-swatch__chip { outline: 2px solid var(--amber); outline-offset: 2px; }
.dp-swatch__name { color: var(--ink-2); }
.dp-tags { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dp-tags li { font-family: var(--ui); font-size: .78rem; font-weight: 600; padding: 2px 10px; border: 1px solid var(--ink-3); border-radius: 999px; }
.dp-confirmed { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ui); font-size: .8rem; font-weight: 600; }
.dp-confirmed__mark { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); }
.dp-sheet__aside { font-size: .84rem; color: var(--ink-2); }
/* Build six part two FIX-6 (page walk: at 1440 Pip's desk touched the last note): beside the sheet the notes column keeps
   Pip's own height clear under its last note (Pip is 1.15 times as tall as wide, the width below), so the words end above
   the antenna at every width the column sits beside the sheet. Stacked (1024px and under) the 96px below still clears. */
.dp-sheet__notes { height: 100%; box-sizing: border-box; list-style: none; margin: 0; padding: 16px 16px calc(clamp(88px, 10vw, 132px) * 1.15); border-left: 2px solid var(--ink); display: grid; align-content: start; gap: 16px; font-size: .84rem; line-height: 1.45; }
.dp-note { position: relative; padding-left: 14px; }
.dp-note::before { content: ""; position: absolute; left: -30px; top: .7em; width: 38px; border-top: 1px dashed var(--ink-2); } /* the leader line to the sheet */
.dp-note::after { content: ""; position: absolute; left: -33px; top: calc(.7em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.dp-note__where { display: block; margin-bottom: 2px; }
.dp-sheet__uwee { position: absolute; right: -14px; bottom: -18px; width: clamp(88px, 10vw, 132px); }
.dp-sheet__cap { margin-top: 18px; background: transparent; font-size: .9rem; color: var(--muted); }

@media (max-width: 1024px) {
  .dp-sheet__build .kit-build__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-sheet__build .kit-build__step:nth-child(3n) { border-right: 1px solid var(--rule); }
  .dp-sheet__build .kit-build__step:nth-child(2n) { border-right: 0; }
  .dp-sheet__build .kit-build__step:nth-child(n+4) { border-bottom: 1px solid var(--rule); }
  .dp-sheet__build .kit-build__step:nth-child(n+5) { border-bottom: 0; }
  .dp-sheet__build .kit-build__last { grid-column: 1 / -1; grid-row: auto; border: 0; }
  .dp-sheet__notes { border-left: 0; border-top: 2px solid var(--ink); padding: 16px 18px 96px 30px; }
  .dp-note::before { left: -22px; width: 16px; }
  .dp-note::after { left: -25px; }
  .dp-sheet__titleblock { grid-template-columns: 1fr; }
  .dp-sheet__groups { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .dp-sheet__build .kit-build__list { grid-template-columns: 1fr; }
  .dp-sheet__build .kit-build__step, .dp-sheet__build .kit-build__step:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .dp-sheet__build .kit-build__last, .dp-sheet__build .kit-build__last:nth-child(n) { border-bottom: 0; }
  .dp-sheet__uwee { right: -6px; width: 84px; }
}

/* ---------- 5. The research exhibit ---------- */
.dp-ex { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--rule); border-radius: var(--radius); }
.dp-ex__head { max-width: 62ch; margin-bottom: 24px; }
.dp-ex__title { font-family: var(--head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 .35em; }
.dp-ex__lede { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.dp-ex__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.dp-ex--full .dp-ex__body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.dp-ex__figure { margin: 0; }
.dp-ex__build .kit-build__list { gap: 12px; }
.dp-bar { display: block; }
.dp-bar .kit-bar { grid-template-columns: minmax(8.5rem, 1fr) minmax(96px, 3fr) 5.2rem; }
.dp-ex .kit-bar__track { width: calc(var(--dp-len, 1) * 100%); height: 14px; border-radius: 3px; background: var(--paper-2); }
.dp-ex .kit-bar__fill { border-radius: 3px 0 0 3px; background: var(--amber); }
.dp-ex .kit-bar__label { font-size: .9rem; }
.dp-ex .kit-bar__value { text-align: right; }
.dp-ex__build .kit-build__last { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--rule); }
/* Wire carries the total line in and stands at its right end; the line keeps a clear lane for it. Build five SW12a
   (Sarah BDKbOcq6lEK1): 112 px (was 64 px), 88 px on a phone; he overlaps only the total line's own lane, never a bar
   or a number above it. Home sets its own sizes in home-page.css (#study, 124 and 96 px), which win there. */
.dp-ex__build .kit-build__last { padding-right: 124px; }
.dp-ex__build .kit-build__carry { margin-top: -18px; }
.dp-ex__build .kit-build__carry .kit-uwee { width: 112px; }
@media (max-width: 720px) {
  .dp-ex__build .kit-build__last { padding-right: 100px; }
  .dp-ex__build .kit-build__carry .kit-uwee { width: 88px; }
}
.dp-ex__total { margin: 0; font-family: var(--ui); font-weight: 600; font-size: .92rem; }
.dp-ex__figcap { margin-top: 14px; font-size: .86rem; line-height: 1.5; color: var(--muted); max-width: 64ch; }
.dp-ex__tiles { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1.5px solid var(--ink); }
.dp-tile { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.dp-tile__value { display: block; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ink); }
.dp-tile__label { display: block; margin-top: 6px; font-size: .9rem; color: var(--ink-2); }
.dp-pull { margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--amber); background: var(--card); max-width: 70ch; }
.dp-pull p { margin: 0 0 6px; }
.dp-pull__verdict { font-family: var(--ui); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.dp-pull__quote { font-family: var(--serif-accent, var(--body)); font-size: 1.1rem; }
.dp-pull__who { font-size: .82rem; color: var(--muted); }
.dp-ex__fold { margin-top: 24px; }
.dp-ex__source { margin: 22px 0 0; font-size: .9rem; color: var(--muted); }
.dp-ex__source a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }
.dp-ex__annex { white-space: nowrap; } /* build nine (Sarah VTOIn9o-A1rW): "the annex", its arrow and the period never part */
@media (max-width: 1024px) { .dp-ex--full .dp-ex__body { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .dp-bar .kit-bar { grid-template-columns: 1fr auto; }
  .dp-ex .kit-bar__track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- 6. The dense table ---------- */
.dp-tablewrap { position: relative; padding: 4px 0; }
.dp-table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.dp-table caption { caption-side: top; text-align: left; padding: 0 0 10px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--fg); }
/* A table inside a fold whose summary is the same title (lead ruling 13): the caption stays for screen readers and is
   not printed a second time. Listed by section, never every fold: the research exhibit's "The numbers as a table" fold
   has a caption that says more than its summary and stays visible. #limits: Writing Compare; #all: the Compare hub;
   #four-questions: Visibility Compare; #held-in: Strategy How. */
#limits .kit-fold .dp-table caption,
#all .kit-fold .dp-table caption,
#four-questions .kit-fold .dp-table caption,
#held-in .kit-fold .dp-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; }
.dp-table th, .dp-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.dp-table thead th { border-bottom: 1.5px solid var(--ink); padding-top: 0; }
.dp-table tbody th { font-family: var(--body); font-weight: 600; }
.dp-table td { font-family: var(--body); }
.dp-table .dp-key { box-shadow: inset 3px 0 0 var(--amber); padding-left: 12px; }
.dp-tablewrap__note { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.dp-tablewrap__uwee { position: absolute; right: 0; top: -58px; width: 76px; }
.dp-status { font-family: var(--ui); font-weight: 600; font-size: .82rem; }
.dp-ex__table td { font-family: var(--mono, ui-monospace, monospace); }
@media (max-width: 720px) {
  /* Stacked rows, label above value: never a sideways scroll. */
  .dp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dp-table, .dp-table tbody, .dp-table tfoot, .dp-table tr, .dp-table th, .dp-table td { display: block; }
  .dp-table tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .dp-table th, .dp-table td { border: 0; padding: 4px 0; }
  .dp-table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono, ui-monospace, monospace); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .dp-table .dp-key { padding-left: 10px; }
}

/* ---------- 7. The pipeline strip ---------- */
.dp-pipe { margin: 0; position: relative; }
.dp-pipe__title { margin: 0 0 14px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
.dp-pipe__uwee { position: absolute; right: 0; top: -44px; width: 72px; }
/* Build eight SA: the column gap the arrow spans, 64px (the diagram family's across arrow) where the row has room. */
.dp-pipe { --dp-pipe-gap: clamp(40px, 4.5vw, 64px); }
.dp-pipe__build .kit-build__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--dp-pipe-gap); }
.dp-pipe--wrap .dp-pipe__build .kit-build__list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
.dp-pipe__build .kit-build__step { position: relative; display: flex; align-items: flex-start; min-width: 0; }
/* A card is as tall as its words (top-aligned); the step's li still spans the row, so a row's turn can run down it. */
.dp-pipe__step { position: relative; flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); background: var(--card, var(--paper)); font-size: .88rem; line-height: 1.45; }
.dp-pipe__step--stop { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.dp-pipe__label { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--ui); font-weight: 700; font-size: .92rem; }
.dp-pipe__mark { display: inline-flex; color: var(--amber-ink); }
/* FIX-1, then FIX-3 (build six part two): the stop and person marks are inline SVGs (lib/site/parts/depth.ts MARK) whose
   stroke AND geometry are attributes, and app/globals.css reverts every attribute-set SVG style under [data-v12-root], so
   both drew blank. FIX-1 gave them back with CSS `d`, which Safari may not take; FIX-3 hides the children and paints each
   mark as a CSS mask (a data-URI copy of MARK, shape for shape, stroke 2 at 20px) filled with currentColor. If MARK's
   shapes change, change these with it. Build eight SA (Sarah QPN7MsoN2e9_): the person mark and its mask are gone; only
   the stop mark is left. */
.dp-pipe__mark svg { width: 20px; height: 20px; background-color: currentColor; }
.dp-pipe__mark svg > * { display: none; }
.dp-pipe__mark--stop svg { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 3.2 L 3 17 M 17 3 L 16.8 17 M 2.6 8.2 L 17.4 7.9 M 2.8 12.4 L 17.2 12.2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 3.2 L 3 17 M 17 3 L 16.8 17 M 2.6 8.2 L 17.4 7.9 M 2.8 12.4 L 17.2 12.2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Build six part two R5: a step's one plain sentence under its label (only a caller that passes `line` prints it). */
.dp-pipe__line { margin: 6px 0 0; color: var(--muted); }
/* Build five SW10: a row whose steps all lead somewhere links every label; a row where only some do keeps its boxes
   plain and lists those destinations once, as text links under the row. */
.dp-pipe__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; padding: 0; font-family: var(--ui); font-weight: 600; font-size: .92rem; }
.dp-pipe__links a { color: var(--fg); text-underline-offset: 3px; }
.dp-pipe__facts { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; color: var(--muted); }
/* On the title line, filling the gap. The box is 28px tall, centered where the 14px one was: top stays the old box's
   top and margin-top lifts it by the 7px it grew, so a page that sets only `top` (agents.css #ag-pipe) still centers it. */
.dp-arrow { position: absolute; top: 15px; margin-top: -7px; right: calc(-1 * var(--dp-pipe-gap)); width: var(--dp-pipe-gap); height: 28px; color: var(--ink-3); }
/* FIX-3 (build six part two): the arrow is an inline SVG (lib/site/parts/depth.ts ARROW) whose stroke AND geometry are
   attributes, and app/globals.css reverts every attribute-set SVG style under [data-v12-root], so every arrow drew blank.
   Its children are hidden and the element paints itself: the drawing is a CSS mask (a data-URI copy of ARROW, shaft then
   head, shape for shape; if ARROW's shapes change, change these with it) filled with currentColor. No CSS `d` (Safari
   may not take it) and no SVG attribute is relied on.
   Build eight SA (Sarah, "too small"): the box is ARROW's own 64x28 where the gap is 64px, so the line is 3px with a
   24px head, the diagram family's arrow (hiw-diagrams.css), about twice the 36x14, 1.5px arrow it replaced; a narrower
   gap scales it down. The phone's down arrow is a 40px box (scale .625), so its mask strokes 4.8 to keep 3px. */
.dp-arrow > * { display: none; }
.dp-arrow { background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cg fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 H 58'/%3E%3Cpath d='M50 2 L 61 14 L 50 26'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cg fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 H 58'/%3E%3Cpath d='M50 2 L 61 14 L 50 26'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 720px) { .dp-arrow { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cg fill='none' stroke='black' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 H 58'/%3E%3Cpath d='M50 2 L 61 14 L 50 26'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cg fill='none' stroke='black' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 14 H 58'/%3E%3Cpath d='M50 2 L 61 14 L 50 26'/%3E%3C/g%3E%3C/svg%3E"); } }
.dp-pipe--wrap .kit-build__step:nth-child(4n) .dp-arrow { display: none; } /* a row's last step turns instead */
/* The turn: out of a row's last card on its title line, down to the middle of the row gap, back across to the
   first column, and down into the next row's first card. Row gap 28 px; the column gap is --dp-pipe-gap (build eight
   SA: it was 40 px written into each width), and the line is the arrows' 3px. The return line runs from 18px into the
   first card to the drop line, half a gap past the row's last card: 4 (or 2) columns and 3.5 (or 1.5) gaps, less 18px. */
.dp-pipe--wrap .kit-build__step:nth-child(4n):not(:last-child)::after {
  content: ""; position: absolute; top: 21px; right: calc(var(--dp-pipe-gap) / -2); width: calc(var(--dp-pipe-gap) / 2); height: calc(100% - 21px + 14px);
  border-top: 3px solid var(--ink-3); border-right: 3px solid var(--ink-3); border-top-right-radius: 10px; pointer-events: none;
}
.dp-pipe--wrap .kit-build__step:nth-child(4n+1):not(:first-child)::before {
  content: ""; position: absolute; top: -14px; left: 18px; width: calc(400% + 3.5 * var(--dp-pipe-gap) - 18px); height: 14px;
  border-top: 3px solid var(--ink-3); border-left: 3px solid var(--ink-3); border-top-left-radius: 10px; pointer-events: none;
}
@media (max-width: 1024px) {
  .dp-pipe--wrap .dp-pipe__build .kit-build__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-pipe--wrap .kit-build__step:nth-child(4n) .dp-arrow { display: block; }
  .dp-pipe--wrap .kit-build__step:nth-child(2n) .dp-arrow { display: none; }
  .dp-pipe--wrap .kit-build__step:nth-child(4n):not(:last-child)::after, .dp-pipe--wrap .kit-build__step:nth-child(4n+1):not(:first-child)::before { content: none; }
  .dp-pipe--wrap .kit-build__step:nth-child(2n):not(:last-child)::after {
    content: ""; position: absolute; top: 21px; right: calc(var(--dp-pipe-gap) / -2); width: calc(var(--dp-pipe-gap) / 2); height: calc(100% - 21px + 14px);
    border-top: 3px solid var(--ink-3); border-right: 3px solid var(--ink-3); border-top-right-radius: 10px; pointer-events: none;
  }
  .dp-pipe--wrap .kit-build__step:nth-child(2n+1):not(:first-child)::before {
    content: ""; position: absolute; top: -14px; left: 18px; width: calc(200% + 1.5 * var(--dp-pipe-gap) - 18px); height: 14px;
    border-top: 3px solid var(--ink-3); border-left: 3px solid var(--ink-3); border-top-left-radius: 10px; pointer-events: none;
  }
}
@media (max-width: 720px) {
  .dp-pipe__build .kit-build__list, .dp-pipe--wrap .dp-pipe__build .kit-build__list { grid-auto-flow: row; grid-template-columns: 1fr; gap: 48px; }
  /* :nth-child(n) lifts these over the wrapped rows' 2n and 4n rules, so every step but the last points down. */
  /* Build eight SA: the down arrow is a 40x28 box turned a quarter, centered in the 48px gap (24px under the step). */
  .dp-pipe .kit-build__step:nth-child(n) .dp-arrow { display: block; top: auto; bottom: -38px; right: auto; left: 8px; transform: rotate(90deg); width: 40px; }
  .dp-pipe .kit-build__step:nth-child(n):last-child .dp-arrow { display: none; }
  /* One column: no turns (same weight as the turn rules, and later). */
  .dp-pipe--wrap .kit-build__step:nth-child(n):not(:last-child)::after, .dp-pipe--wrap .kit-build__step:nth-child(n):not(:first-child)::before { content: none; }
}

/* The compact strip is a page's wayfinding, so it offers no replay (lead ruling, build three; build five SW2: no part
   prints a Play again button any more, and kit.js never replays a part inside a nav). */

/* Build six part two SWEEP-T (review item): in forced-colors (high-contrast) mode the browser replaces the masks'
   currentColor background, so the arrows, connectors and marks vanish. These three carry the masks; they opt out of the
   forced palette and paint in the system text color, which forced colors keeps legible on its background. */
@media (forced-colors: active) {
  .dp-arrow, .dp-sys__conn, .dp-pipe__mark svg { forced-color-adjust: none; background-color: CanvasText; }
}
