/* #pipeline, "How your operation becomes AI-native" (W9, round 6). The circuit is the scene: six of your tools straighten into
   lanes, AI agents work, packets run (uneven before the agent core, at constant speed after it), people decide at the ring.
   Default (no JS, reduced motion, fx-fail): natural flow, the composed frame with its labels, every line of copy as HTML plus a
   quiet mono list of the tools and of the seven tasks. Cinematic (html.js, not static, not fx-fail): a sticky 100svh stage; the
   scene adds .is-live to the section when it mounts, and every pre-state below hangs on .is-live so a scene that never loads
   leaves nothing hidden. Colours are tokens. */

/* ---- default flow ------------------------------------------------------------------------------------------ */
#pipeline .pipe__side { display: grid; gap: 1.4rem; max-width: 60ch; }
#pipeline .pipe__head > * + * { margin-top: 1.1rem; }
#pipeline h2 { font-size: clamp(1.5rem, 2.5vw, 2.6rem); line-height: 1; max-width: 16ch; }
#pipeline .pipe__body { color: var(--mut); max-width: 46ch; }
#pipeline .gate-art { position: relative; width: min(100%, 960px); margin: 2.2rem auto 0; container-type: inline-size; }
#pipeline .gate-art .composed { width: 100%; height: auto; }
#pipeline .circuit { display: none; }
#pipeline .gate-labels { margin: 0; padding: 0; list-style: none; }
/* Circuit labels: 11px mono floor, alpha .8 on ink (the --mut token is .62, too faint for a label that names a part). */
#pipeline .gate-labels li { position: absolute; font: 500 clamp(12px, 1.6cqw, 1.05rem)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(241 236 224 / .8); white-space: nowrap; transform: translateY(-50%); }
#pipeline .gate-labels li[data-label=records] { text-align: end; }
/* The tools' names sit inside their own frames, in sentence case; the records' names above their frames, "KPIs, tracked" under the dashboard. */
#pipeline .gate-labels li[data-label^=src] { font-size: clamp(12px, 1.15cqw, 13.5px); letter-spacing: .02em; text-transform: none; }
#pipeline .gate-labels li[data-label=recx] { font-size: clamp(11px, 1.15cqw, 13px); letter-spacing: .02em; text-transform: none; }
/* A frame under ~700 px wide is too small to hold the tools' and the records' names: the quiet list under it carries them instead. */
@container (max-width: 699px) {
  #pipeline:not(.is-live) .gate-labels li[data-label^=src], #pipeline:not(.is-live) .gate-labels li[data-label^=rec] { display: none; }
}
#pipeline .gate-hud { display: none; }
/* Overlay: the four record types (scripts/gen-pipeline-extra.mjs). In the composed frame the patches paint over circuit.mjs's
   identical ledger rows; live, the scene draws those frames itself and the patches step aside. */
#pipeline .pe { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#pipeline .pe--p { display: none; }
#pipeline .pe-patch { fill: var(--ink-2); }
#pipeline .pe-row { fill: none; stroke: var(--on-ink); stroke-opacity: .9; stroke-linecap: butt; stroke-linejoin: miter; }
#pipeline .pe-row.is-dim { stroke-opacity: .45; stroke-dasharray: 3 5; }
#pipeline .cols { display: grid; gap: .5rem; margin-top: 1.6rem; justify-items: center; text-align: center; max-width: 960px; margin-inline: auto; }
#pipeline .gate-cap { margin: 0; font: 700 1.25rem/1.05 var(--font-display); letter-spacing: -.02em; }
#pipeline .gate-sub { margin: 0; font: 500 .8rem/1.4 var(--font-mono); letter-spacing: .02em; color: var(--mut); max-width: 52ch; }
#pipeline .pipe__next { font: 500 .85rem/1.3 var(--font-mono); letter-spacing: .02em; color: var(--on-ink); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
#pipeline .pipe__next:hover { text-decoration-thickness: 2px; }
#pipeline .pipe__next:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
/* Quiet lists for the static page: the six tools (small screens only, where the frames cannot hold their names) and the seven tasks. */
#pipeline .pipe__tools, #pipeline .pipe__tasks { list-style: none; margin: .9rem auto 0; padding: 0; max-width: 960px; display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; font: 500 .75rem/1.5 var(--font-mono); letter-spacing: .02em; color: var(--mut); }
#pipeline .pipe__tasks b { font-weight: 600; color: var(--on-ink); letter-spacing: .06em; }
@media (min-width: 901px) {
  #pipeline .pipe__tools { display: none; }
}
#pipeline.is-live .pipe__tools, #pipeline.is-live .pipe__tasks { display: none; }

/* ---- cinematic stage ---------------------------------------------------------------------------------------- */
/* Desktop: the circuit is the section. A compact headline row on top, the art as wide as the height allows, centred.
   fx/stages/gate.mjs (pipelineRect) mirrors this box so the swarm's trace dust lands on it. */
html.js:not(.fx-fail):not(.static) #pipeline .stage {
  --g: var(--gutter);
  --art-top: 196px;
  --cols-below: 150px;
  --seam-gap: 10px;
  --art-w: min(calc(100vw - 2 * var(--g)), calc((100svh - var(--art-top) - var(--cols-below)) / .6));
}
html.js:not(.fx-fail):not(.static) #pipeline .stage > * { z-index: 2; }
html.js:not(.fx-fail):not(.static) #pipeline .gate-art .composed { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; transition: none; }
#pipeline.is-live .gate-art .composed { display: none; }
#pipeline.is-live .pe-patch { display: none; }
#pipeline.is-live .pe-row { stroke-dasharray: 1; stroke-dashoffset: 1; }
#pipeline.is-live .circuit { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#pipeline.is-live .gate-hud { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 3; }
/* The names type in as their glyph snaps home (machine grammar); until then they wait out of sight. */
#pipeline.is-live .gate-labels li.is-wait { visibility: hidden; }

@media (min-width: 901px) {
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__side {
    position: absolute; left: var(--g); right: var(--g); top: 88px; max-width: none;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40ch); column-gap: 4vw; align-items: end; gap: .5rem 4vw;
  }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__head { display: contents; }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__head > * { margin: 0; }
  html.js:not(.fx-fail):not(.static) #pipeline .label { grid-column: 1 / -1; }
  html.js:not(.fx-fail):not(.static) #pipeline h2 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); max-width: none; }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__body { max-width: 40ch; padding-bottom: .3rem; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-art { position: absolute; top: var(--art-top); left: calc((100% - var(--art-w)) / 2); width: var(--art-w); aspect-ratio: 5 / 3; margin: 0; }
  /* Under 1100 px or 760 px tall the caption group sits under the art; above, it sits inside it, in the clear space under the core. */
  html.js:not(.fx-fail):not(.static) #pipeline .cols {
    position: absolute; left: calc((100% - var(--art-w)) / 2); width: var(--art-w); top: calc(var(--art-top) + var(--art-w) * .6 + 18px); margin: 0;
  }
}
@media (min-width: 1100px) and (min-height: 760px) {
  html.js:not(.fx-fail):not(.static) #pipeline .stage { --cols-below: 12px; }
  /* The caption group stacks up from the bottom of the art, which ends --seam above the stage's lower edge: #where's slanted seam overlaps
     the last --seam of this section, and none of the three lines may sit under it (H6). */
  html.js:not(.fx-fail):not(.static) #pipeline .cols {
    display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 3px;
    top: var(--art-top); height: calc(var(--art-w) * .6); pointer-events: none; max-width: none;
    padding-bottom: max(0px, calc(var(--art-top) + var(--art-w) * .6 - 100svh + var(--seam) + var(--seam-gap)));
  }
  html.js:not(.fx-fail):not(.static) #pipeline .cols > * { position: static; margin: 0 0 0 24.6%; width: 48.4%; text-align: center; max-width: none; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-cap { font-size: max(1.2rem, calc(var(--art-w) * .019)); }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-sub { font-size: max(12px, calc(var(--art-w) * .0105)); }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__next { font-size: max(12px, calc(var(--art-w) * .0105)); pointer-events: auto; }
}

/* The intro paragraph is on-ink the whole time it shows (W13 r3): --mut (.62) read as dark grey on near-black while it faded in. */
#pipeline.is-live .pipe__body { color: var(--on-ink); }

/* The swarm's dust never crosses the diagram's own words: its names and the caption sit on an ink plate whose edge is feathered
   (the canvas is behind the stage). */
#pipeline.is-live .gate-cap, #pipeline.is-live .gate-sub, #pipeline.is-live .gate-labels li[data-label=gate], #pipeline.is-live .gate-labels li[data-label=core] {
  background: var(--ink); box-shadow: 0 0 .5em .7em var(--ink);
}

/* the circuit, live */
#pipeline .c-trace, #pipeline .c-frame, #pipeline .c-ring, #pipeline .c-gate-ring, #pipeline .c-row { stroke-dasharray: 1; stroke-dashoffset: 1; }
#pipeline .c-trace { fill: none; stroke: var(--on-ink); stroke-opacity: .6; stroke-width: 1.7; stroke-linejoin: round; }
#pipeline .c-frame { fill: var(--ink-2); fill-opacity: 0; stroke: var(--on-ink); stroke-opacity: .6; stroke-width: 1.4; }
#pipeline .c-ring { fill: var(--ink-2); fill-opacity: 0; stroke: var(--on-ink); stroke-opacity: .6; stroke-width: 1.4; }
#pipeline .c-ticks { fill: none; stroke: var(--on-ink); stroke-opacity: .4; stroke-width: 1.2; }
#pipeline .c-ring2 { fill: none; stroke: var(--on-ink); stroke-opacity: .35; stroke-dasharray: 3 6; stroke-dashoffset: 0; }
#pipeline .c-spin, #pipeline .c-cells, #pipeline .c-scan, #pipeline .c-gate-pulse { transform-box: fill-box; transform-origin: center; }
#pipeline .c-cells circle { fill: var(--on-ink); opacity: .65; }
#pipeline .c-scan { fill: none; stroke: var(--on-ink); stroke-width: 1.6; }
#pipeline .c-gate-ring { fill: var(--ink-2); fill-opacity: 0; stroke: var(--on-ink); stroke-width: 1.6; }
#pipeline .c-gate-inner { fill: none; stroke: var(--on-ink); stroke-opacity: .4; stroke-dasharray: 2 4; }
#pipeline .c-gate-pulse { fill: none; stroke: var(--signal); stroke-width: 1.6; opacity: 0; }
#pipeline .c-gate.is-ping .c-gate-pulse, #pipeline.is-held .c-gate-pulse { animation: gate-ping 1.1s cubic-bezier(.2, 0, .1, 1) infinite; }
#pipeline .c-gate.is-ping .c-gate-pulse + .c-gate-pulse, #pipeline.is-held .c-gate-pulse + .c-gate-pulse { animation-delay: .55s; }
#pipeline .c-gate.is-ok .c-gate-ring { stroke: var(--ok); stroke-opacity: 1; stroke-width: 2.6; }
#pipeline .c-pulse { fill: none; stroke: var(--on-ink); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .12 1; stroke-dashoffset: .12; opacity: 0; }
#pipeline .c-row { fill: none; stroke: var(--on-ink); stroke-width: 2.4; stroke-opacity: .9; }
#pipeline .c-pkt { color: var(--on-ink); }
#pipeline .c-pkt.is-amber { color: var(--signal-d); }
#pipeline .c-pkt.is-hot { color: var(--signal); }
#pipeline .c-pkt.is-ok { color: var(--ok); }
#pipeline .c-head, #pipeline .c-tail { fill: currentColor; }
#pipeline .c-halo { fill: currentColor; fill-opacity: .14; stroke: currentColor; stroke-opacity: .5; stroke-width: 1.2; }
@keyframes gate-ping { from { transform: scale(1); opacity: .85; } to { transform: scale(2.7); opacity: 0; } }

/* the world stops for a person: everything dims and holds still, the ring keeps ringing, the seal settles into it */
#pipeline.is-held .c-trace, #pipeline.is-held .c-frame, #pipeline.is-held .c-ring { stroke-opacity: .28; }
#pipeline.is-held .c-pulse { opacity: .35 !important; }
#pipeline .gate-cap { transition: color .01s; }
/* Bone at full strength from p .5 (the scene adds .is-bone); at the hold the caption lands instantly and the shared human-ring (type.css) flashes round it once. */
#pipeline .gate-cap.is-bone, #pipeline .gate-cap.is-lit { color: var(--on-ink); }

/* hud: the agent's task card and the seal. No cursor, no status word: a card is a mono tag, the task typed out, and a plain tick. */
#pipeline .gate-hud .gate-card { position: absolute; left: 0; top: 0; visibility: hidden; display: grid; grid-template-columns: 1fr auto; gap: 0 .5rem; align-items: start; width: clamp(150px, 17.3cqw, 210px); padding: .55rem .7rem; background: var(--ink-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
#pipeline .gate-card.is-on { visibility: visible; }
#pipeline .gate-card__line { margin: 0; font: 500 clamp(12px, 1.12cqw, 13.5px)/1.4 var(--font-mono); letter-spacing: .01em; color: var(--on-ink); min-height: 4.1em; }
#pipeline .gate-card__tag { display: block; font-weight: 600; font-size: .92em; letter-spacing: .1em; color: var(--line2); }
#pipeline .gate-card__task { display: block; }
#pipeline .gate-card__tick { display: none; width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: square; margin-top: 1px; }
#pipeline .gate-card.is-decided .gate-card__tick { display: block; }
#pipeline .gate-seal { position: absolute; left: 0; top: 0; opacity: 0; color: var(--on-ink); will-change: transform, opacity; }
#pipeline .gate-seal svg { display: block; overflow: visible; }

/* Before the hold the caption and its sub-line read quietly; at the hold (the scene adds .is-capped and .is-lit) the caption lands in one frame, lit. */
#pipeline.is-live .gate-sub { color: rgb(241 236 224 / .72); }
#pipeline.is-live:not(.is-capped) .gate-cap:not(.is-bone) { color: rgb(241 236 224 / .72); }

/* ---- who does what (founder review 3, G11): the agent-work readout, what the agents do, what your team owns ------------------
   Live only: the scene adds .is-live. Without it the same words are the quiet .pipe__roles list and the .pipe__tasks list. Desktop:
   the readout stands above the agents' core (all seven tasks, the active one lit, finished ones ticked), the agents' points under
   the core and your team's points above the ring; the container's own width sizes the type (13 px at 1440). Phone: the two point
   lists sit side by side under the art and the readout is one typed task beside the core. */
#pipeline .pipe-node, #pipeline .pipe-roll { display: none; }
#pipeline .pipe__roles { list-style: none; margin: .5rem auto 0; padding: 0; max-width: 960px; display: grid; gap: .2rem; font: 500 .75rem/1.5 var(--font-mono); letter-spacing: .02em; color: var(--mut); }
#pipeline .pipe__roles b { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink); margin-right: .7em; }
#pipeline.is-live .pipe__roles { display: none; }
#pipeline.is-live .pipe-node {
  display: block; position: absolute; z-index: 3; margin: 0; pointer-events: none;
  --pn: clamp(12px, 1.13cqw, 13.5px);
  padding: .9em .85em .6em; font: 500 var(--pn)/1.42 var(--font-mono); letter-spacing: .01em; color: var(--on-ink);
  background: color-mix(in srgb, var(--ink-2) 92%, transparent); border: 1px solid color-mix(in srgb, var(--on-ink) 30%, transparent);
}
#pipeline .pipe-node__legend { position: absolute; top: 0; left: .7em; margin: 0; transform: translateY(-54%); padding: 0 .45em; background: var(--ink); font: 600 .86em/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); }
#pipeline .pipe-node ul { list-style: none; margin: 0; padding: 0; }
#pipeline.is-live .pipe-node--work { padding-inline: .7em; }
/* one legend, two columns: what the agents do, what your team owns */
#pipeline.is-live .pipe-node--roles { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: .9em; padding: .75em .85em .65em; box-sizing: border-box; }
#pipeline .pn-head { margin: 0 0 .35em; font: 600 .86em/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); }
#pipeline .pn-col--team .pn-head { color: var(--line2); }
#pipeline .pn-col li { position: relative; padding-left: 1.15em; }
#pipeline .pn-col li::before { content: ""; position: absolute; left: .12em; top: .58em; width: .42em; height: .42em; background: var(--on-ink); }
/* the readout rows: a mark (a ring waiting, a lit square working, a tick done), the industry in mono caps, the task */
#pipeline .pipe-node--work li { display: grid; grid-template-columns: 1.1em 7.6em auto; column-gap: .3em; align-items: baseline; white-space: nowrap; color: rgb(241 236 224 / .74); }
#pipeline .pw-mark { position: relative; display: block; width: 1.1em; height: 1em; }
#pipeline .pw-mark::before { content: ""; position: absolute; left: .18em; top: .3em; width: .46em; height: .46em; border: 1px solid rgb(241 236 224 / .6); }
#pipeline .pw-tick { position: absolute; left: 0; top: .08em; width: .95em; height: .95em; display: none; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: square; }
#pipeline .pw-tag { font-weight: 600; font-size: .88em; letter-spacing: .03em; color: rgb(241 236 224 / .62); }
#pipeline .pw-row.is-done .pw-mark::before { display: none; }
#pipeline .pw-row.is-done .pw-tick { display: block; }
#pipeline .pw-row.is-now { color: var(--on-ink); }
#pipeline .pw-row.is-now .pw-tag { color: var(--line2); }
#pipeline .pw-row.is-now .pw-mark::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 .22em color-mix(in srgb, var(--signal) 30%, transparent); }
@media (min-width: 901px) {
  #pipeline.is-live .pipe-node--work { left: 23.3%; top: 4.2%; }
  #pipeline.is-live .pipe-node--roles { --pn: 12px; left: 23.7%; top: 69.4%; width: 47.4%; line-height: 1.38; }
  @container (max-width: 1099px) { #pipeline.is-live .gate-card { width: 150px; } }
  @container (max-width: 1049px) {
    #pipeline.is-live .pw-tag { display: none; }
    #pipeline.is-live .pipe-node--work li { grid-template-columns: 1.2em auto; }
  }
  @container (max-width: 779px) { #pipeline.is-live .pipe-node { display: none; } }
  @container (max-width: 999px) { #pipeline.is-live .pipe-node--roles { display: none; } }
}
#pipeline.is-live .pipe-roll { display: none; }

/* ---- phone: the same circuit rotated, copy as an opaque stack above and below it -------------------------------
   The art box is a pure function of the viewport (--pt and --pb reserve the copy above and below; circuitRect() in
   fx/svg/circuit.mjs mirrors this formula and a test pins the numbers), so the swarm's trace dust lands on the DOM circuit.
   Copy floors: 11px text, 12px circuit labels (they sit in clear space: above the sources in two tiers, beside the core and the
   gate, below the records). Under 700px of height the intro paragraph steps aside (it stays in every static frame). */
@media (max-width: 900px) {
  /* the composed frame is always the desktop circuit, so the phone overlay and label slot exist only while the rotated live circuit runs */
  #pipeline.is-live .pe--d { display: none; }
  #pipeline.is-live .pe--p { display: block; }
  html.js:not(.fx-fail):not(.static) #pipeline .stage {
    --pt: 196px; --pb: 212px; --seam-gap: 5px;
    --avail: max(160px, calc(100svh - var(--pt) - var(--pb)));
    --art-w: min(calc(100vw - 32px), calc(var(--avail) * 880 / 1100));
    display: flex; flex-direction: column; gap: 6px; padding: 74px var(--g) 10px;
  }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__side, html.js:not(.fx-fail):not(.static) #pipeline .pipe__head { display: contents; }
  html.js:not(.fx-fail):not(.static) #pipeline .label { order: 1; margin: 0; }
  html.js:not(.fx-fail):not(.static) #pipeline h2 { order: 2; font-size: clamp(1.15rem, 5.3vw, 1.55rem); max-width: none; margin: 0; }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__body { order: 3; font-size: 11px; line-height: 1.35; margin: 0; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-art {
    order: 4; position: absolute; margin: 0; aspect-ratio: auto;
    width: var(--art-w); height: calc(var(--art-w) * 1100 / 880);
    left: calc((100% - var(--art-w)) / 2);
    top: calc(var(--pt) + (var(--avail) - var(--art-w) * 1100 / 880) / 2);
  }
  html.js:not(.fx-fail):not(.static) #pipeline .cols { order: 6; margin: auto 0 calc(var(--seam) + var(--seam-gap) - 10px); max-width: none; gap: 2px; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-cap { font-size: .95rem; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-sub { font-size: 11px; line-height: 1.22; }
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__next { font-size: 12px; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-labels li { font-size: 12px; letter-spacing: .06em; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-labels li[data-label^=src], html.js:not(.fx-fail):not(.static) #pipeline .gate-labels li[data-label^=rec], html.js:not(.fx-fail):not(.static) #pipeline .gate-labels li[data-label=recx] { font-size: 12px; letter-spacing: 0; text-transform: none; }
  /* the six tool names (the hero's, in full): each hangs directly under its own frame in the circuit's 3 x 2 grid, 11px; the kicker
     "Your systems" steps aside here (the grid names the systems) */
  html.js:not(.fx-fail):not(.static) #pipeline .gate-labels li[data-label^=src] { font-size: 11px; letter-spacing: -.03em; white-space: normal; width: max-content; text-align: center; line-height: 1.2; }
  html.js:not(.fx-fail):not(.static) #pipeline .gate-labels li[data-label=sources] { display: none; }
  /* "KPIs, tracked" hangs on its own line under "Dashboard" (the scene places both in px), clear of "Task list" */
  #pipeline .gate-card { width: 112px; padding: .3rem .4rem; }
  #pipeline .gate-card__line { font-size: 11px; min-height: 2.7em; }
  /* the two point lists fill the band under the art (the art's own box is fixed by --pt / --pb); the readout is one task beside the core */
  #pipeline.is-live .pipe-node--work { display: none; }
  #pipeline.is-live .pipe-node--roles { --pn: 11.5px; top: calc(100% + 5px); left: calc(50% - (100vw - 32px) / 2); width: calc(100vw - 32px); grid-template-columns: 1fr 1fr; column-gap: .8em; padding: .6em .6em .45em; line-height: 1.3; letter-spacing: 0; }
  #pipeline .pn-col li { padding-left: .95em; }
  #pipeline .pn-col li::before { top: .5em; }
  #pipeline.is-live .pipe-roll { display: block; position: absolute; z-index: 3; pointer-events: none; left: 62.05%; top: 46.5%; width: calc(50vw - 16px - .1205 * var(--art-w)); box-sizing: border-box; min-height: 4.7em; padding: .6em .2em .2em .6em; font: 500 12px/1.3 var(--font-mono); color: var(--on-ink); border-left: 2px solid var(--signal); background: color-mix(in srgb, var(--ink) 82%, transparent); }
  #pipeline .pipe-roll__tag { display: block; font-weight: 600; font-size: 11px; letter-spacing: .02em; color: var(--line2); }
  #pipeline .pipe-roll__task { display: block; }
  #pipeline .pipe-roll__pips { position: absolute; left: .6em; right: .2em; top: .15em; display: flex; gap: 3px; }
  #pipeline .pw-pip { display: block; flex: 1; height: 3px; background: rgb(241 236 224 / .25); }
  #pipeline .pw-pip.is-done { background: rgb(241 236 224 / .6); }
  #pipeline .pw-pip.is-now { background: var(--signal); }
}
@media (max-width: 900px) and (max-height: 699px), (max-width: 359px) {
  #pipeline.is-live .pipe-node { display: none; }
}
@media (max-width: 374px) {
  #pipeline.is-live .pipe-roll { font-size: 11px; }
  #pipeline .gate-hud .gate-card { width: 118px; }
  html.js:not(.fx-fail):not(.static) #pipeline .stage { --pt: 200px; }
}
@media (max-width: 900px) and (max-height: 699px) {
  html.js:not(.fx-fail):not(.static) #pipeline .pipe__body { display: none; }
  html.js:not(.fx-fail):not(.static) #pipeline .stage { --pt: 154px; --pb: 132px; }
}
@media (max-width: 374px) and (max-height: 699px) {
  html.js:not(.fx-fail):not(.static) #pipeline .stage { --pt: 150px; }
}

@media print {
  #pipeline .gate-hud, #pipeline .circuit { display: none !important; }
  #pipeline.is-live .gate-art .composed { display: block !important; }
}
