/* r3-visuals: the animated and drawn product pictures, printed (tallyfy/work-queue#5229).
   Sheets with thin ink edges, the three inks for roles and states, the system's pills and labels,
   flat color, no glow, no gradient, no soft shadow. Every rule here holds with scripts off; 70-visuals.js
   only redraws the lines by hand (the kit's calm inked line) once it runs.
   One meaning per ink, in every picture:
     green  done, the on state (checks, the progress fill, a finished run)
     orange attention and AI (the step being worked, the AI spark, the problem in a story)
     blue   information and people in a team (a group, an info note)
     ink    every line, every word; paper, sheet and band for every ground.
   This file supersedes, in scene.css: "the process card: printed interface" to "the Gartner badge"
   (lines 23 to 98), "the inked check" and "the card's step-type marks" (146 to 155), and "the process
   wall" (157 to 168). In scene.js: the check path block and the feature figure recolor (120 to 142). */

/* =========================================================================================
   1. The hero's process card (ProductStory.astro): the one sheet that matters on the first screen
   ========================================================================================= */
body.tfx .ps-win {
  background: var(--c1-sheet) !important;
  border-radius: var(--c1-r-card) !important;
  /* scripts off: a straight ink edge and the 2px ink rule along the top */
  box-shadow: 0 0 0 var(--c1-line) var(--c1-ink), inset 0 var(--c1-rule) 0 var(--c1-ink) !important;
  color: var(--c1-ink) !important;
}
body.tfx .ps-body { background: var(--c1-sheet) !important; background-image: none !important; }
/* the card is a table of steps, so its figures stay tabular as today (the system sets the font's own figures on the
   page): its counts do not jitter as they change, and its two notes keep today's widths to the pixel */
body.tfx .ps { font-variant-numeric: lining-nums tabular-nums; }
/* the fold: the corner is gone (the night shows), and the flap lies on the sheet */
body.tfx .ps-win::before,
body.tfx .ps-win::after {
  content: ''; position: absolute; top: -1.5px; right: -1.5px; width: 22px; height: 22px; pointer-events: none; z-index: 4;
}
body.tfx .ps-win { border-top-right-radius: 0 !important; }
body.tfx .ps-win::before { background: var(--c1-night) var(--c1-grain-night); clip-path: polygon(0 0, 100% 0, 100% 100%); }
/* the flap is drawn at the right end of a strip along the card's top, so the ::after starts at the card's left edge
   both before and after the script frames the card; when it was a 22px box at the corner, its framing moved its
   start from the right corner to the left edge, and the page counted that as a layout shift (0.05 on an
   alternative page at 1440, measured 2026-11-17) */
body.tfx .ps-win::after { left: 0; width: auto; background: var(--c1-fold-flap) right top / 22px 22px no-repeat; }
/* scripts on: one hand-inked edge and the fold, drawn for the card's size; the sheet is masked to that
   edge, so the hand line is the sheet's only edge (no box in a box) */
body.tfx .ps-win[data-c1-framed] {
  box-shadow: none !important; border-radius: 0 !important;
  -webkit-mask: var(--c1-frame-mask) 0 0 / 100% 100% no-repeat; mask: var(--c1-frame-mask) 0 0 / 100% 100% no-repeat;
}
body.tfx .ps-win[data-c1-framed]::before { display: none; }
body.tfx .ps-win[data-c1-framed]::after {
  top: 0; right: 0; left: 0; bottom: 0; width: auto; height: auto;
  background: var(--c1-frame) 0 0 / 100% 100% no-repeat;
}

/* the hand edge arrives with the deferred script: it eases in over the straight edge instead of snapping */
@media (prefers-reduced-motion: no-preference) {
  body.tfx .ps-win[data-c1-framed] { animation: c1v-edge-out 0.5s ease-out both; }
  body.tfx :is(.ps-win, .ps-bub)[data-c1-framed]::after { animation: c1v-ink-in 0.5s ease-out both; }
}
@keyframes c1v-edge-out {
  from { box-shadow: 0 0 0 var(--c1-line) var(--c1-ink), inset 0 var(--c1-rule) 0 var(--c1-ink); -webkit-mask-image: none; mask-image: none; }
  to { box-shadow: 0 0 0 var(--c1-line) transparent, inset 0 var(--c1-rule) 0 transparent; }
}
@keyframes c1v-ink-in { from { opacity: 0; } to { opacity: 1; } }

/* making it: the person's message, the file, the AI's reply */
body.tfx .ps-user {
  background: var(--c1-band) !important; color: var(--c1-ink) !important;
  border-radius: var(--c1-r-card) var(--c1-r-card) 1px var(--c1-r-card) !important;
  box-shadow: inset 0 0 0 1px var(--c1-hair);
}
body.tfx .ps-file {
  background: var(--c1-sheet) !important; color: var(--c1-ink) !important;
  border: 1px solid var(--c1-ink) !important; border-radius: var(--c1-r-ctl) !important;
}
body.tfx .ps-file svg { stroke: var(--c1-ink) !important; }
body.tfx .ps-ai { color: var(--c1-ink-soft) !important; }
body.tfx .ps-ai-text { color: var(--c1-ink); }
/* AI, in every picture, is the orange spark */
body.tfx .ps-ai-av { background: var(--c1-orange) !important; background-image: none !important; box-shadow: inset 0 0 0 1.5px var(--c1-ink); }
body.tfx .ps-ai-av svg { fill: var(--c1-ink) !important; }
body.tfx .ps-typing i { background: var(--c1-ink-soft) !important; }

/* running it: the run's name, its state, the plan line and the progress */
body.tfx .ps-pill {
  background: var(--c1-green-tint) !important; color: var(--c1-green-deep) !important;
  box-shadow: inset 0 0 0 1px rgb(20 83 43 / 0.3);
}
body.tfx .ps-pill b { font-variant-numeric: tabular-nums; }
body.tfx .ps-state {
  background: var(--c1-orange-tint) !important; color: var(--c1-orange-deep) !important;
  border-radius: var(--c1-r-pill) !important; box-shadow: inset 0 0 0 1px rgb(124 52 9 / 0.3);
}
body.tfx .ps.is-complete .ps-state { background: var(--c1-green-tint) !important; color: var(--c1-green-deep) !important; box-shadow: inset 0 0 0 1px rgb(20 83 43 / 0.3); }
body.tfx .ps-meta { color: var(--c1-ink-soft) !important; }
/* the progress: a printed track, the green run inside it, the ink mark where it has got to */
body.tfx .ps-strip { background: var(--c1-band) !important; border-radius: 0 !important; box-shadow: inset 0 0 0 1px var(--c1-hair); }
body.tfx .ps-fill { background: var(--c1-green) !important; border-radius: 0 !important; box-shadow: inset 0 -1px 0 rgb(24 36 29 / 0.35); }
body.tfx .ps-fill::after { background: var(--c1-green) !important; box-shadow: 0 0 0 1.5px var(--c1-ink) !important; }

/* the steps */
body.tfx .ps-steps { border-top: var(--c1-line) solid var(--c1-ink) !important; }
body.tfx .ps-row { border-bottom: 1px solid var(--c1-hair) !important; }
body.tfx .ps-row:last-child { border-bottom-color: transparent !important; }
/* the step being worked: the band paper, flat, so the row reads as the one in hand */
body.tfx .ps-row.active,
body.tfx .ps-row.working,
body.tfx .ps-row.waiting { background: var(--c1-band) !important; background-image: none !important; }
body.tfx .ps-title, body.tfx .ps-row.done .ps-title { color: var(--c1-ink) !important; }
body.tfx .ps-title i { color: var(--c1-ink-soft) !important; font-style: normal; font-variant-numeric: tabular-nums; }
body.tfx .ps-type { color: var(--c1-ink-soft) !important; }
/* the status mark: an empty ring before, the green stamp with an inked check once done */
body.tfx .ps-st { border: 1.5px solid var(--c1-ink) !important; background: var(--c1-sheet) !important; }
body.tfx .ps-row.done .ps-st { background: var(--c1-green) !important; border-color: var(--c1-ink) !important; }
body.tfx .ps-st svg { stroke: var(--c1-ink) !important; overflow: visible; --c1-ink-w: 2.2; --c1-ink-wob: 0.1; }
body.tfx .ps-st svg path { stroke: var(--c1-ink) !important; stroke-width: 2.1 !important; }
body.tfx .ps-row.done .ps-st svg { color: var(--c1-ink) !important; }
/* the step in hand: a ring in the orange text step (4.5 to 1 on the band row), still (no pulse, no glow) */
body.tfx :is(.ps-row.active, .ps-row.working, .ps-row.waiting) .ps-st {
  box-shadow: 0 0 0 2.5px var(--c1-band), 0 0 0 4px var(--c1-orange-text) !important;
  animation: none !important;
}
/* the check draws itself once, with the pen's ease, when its step is done */
body.tfx .ps-row:not(.done) .ps-st svg path[data-c1-pen] { stroke-dasharray: 1; stroke-dashoffset: 1; }
body.tfx .ps-row.done .ps-st svg path[data-c1-pen] { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  body.tfx .ps.is-playing .ps-row.done .ps-st svg path[data-c1-pen] { animation: c1v-pen 0.46s cubic-bezier(0.45, 0.05, 0.25, 1) both; }
  body.tfx .ps-st svg { transform: none !important; }
}
@keyframes c1v-pen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* Where a sheet can give a path its shape, the check is drawn here whole from the first paint and 70-visuals.js
   leaves it alone: the pen stroke's shape; its hand line, the seeded brush outline each row's check has always had,
   as a clip in the drawing's own 16 by 16 units (so `view-box`), with the stroke widened under it; and its dash by
   the stroke's own length (13.95), the gap a little longer so no end of a dash shows before the step is done.
   Elsewhere (Safari today) the rules above and the script draw the same check. */
@supports (d: path('M0 0')) {
  /* the first row's line is the default, so a card with more rows (none today: 119 of 119 pages have five) never
     shows the widened stroke unclipped */
  body.tfx .ps-row .ps-st > svg > path {
    d: path('M3.5 8.7C4.5 9.3 5.5 10.4 6.4 11.6C7.9 9.2 9.9 6.7 12.9 4.3');
    clip-path: path('M3.24 9.02L4.25 10.75L6.26 12.91L8.6 10.96L9.83 9.46L11.12 8.09L12.31 6.6L13.3 4.76L12.63 3.99L10.58 4.71L8.9 5.98L7.53 7.56L6.31 9.2L6.37 10.11L5.8 9.19L3.78 8.37Z') view-box;
    stroke-width: 13.44px !important;
    vector-effect: none !important;
    paint-order: normal !important;
  }
  body.tfx .ps-row:nth-child(2) .ps-st > svg > path { clip-path: path('M3.26 8.99L4.18 10.83L6.25 13.1L8.77 11.1L10.01 9.61L11.29 8.25L12.4 6.7L13.28 4.75L12.51 3.84L10.34 4.45L8.57 5.67L7.18 7.27L5.97 8.93L6.38 9.71L6.01 8.98L3.88 8.25Z') view-box; }
  body.tfx .ps-row:nth-child(3) .ps-st > svg > path { clip-path: path('M3.3 8.95L4.34 10.66L6.27 12.69L8.37 10.78L9.54 9.22L10.79 7.78L12.01 6.27L13.12 4.56L12.64 3.99L10.71 4.85L9.05 6.12L7.64 7.65L6.36 9.24L6.37 10.1L5.86 9.13L3.85 8.28Z') view-box; }
  body.tfx .ps-row:nth-child(4) .ps-st > svg > path { clip-path: path('M3.13 9.15L4.11 10.9L6.25 13.1L8.71 11.05L9.87 9.49L11.07 8.05L12.19 6.48L13.21 4.67L12.68 4.04L10.69 4.83L8.99 6.06L7.58 7.6L6.33 9.21L6.37 10.13L5.76 9.23L3.69 8.47Z') view-box; }
  body.tfx .ps-row:nth-child(5) .ps-st > svg > path { clip-path: path('M3.21 9.05L4.24 10.77L6.26 12.89L8.56 10.94L9.76 9.41L11.02 8L12.19 6.47L13.21 4.66L12.63 3.99L10.64 4.78L8.97 6.04L7.59 7.61L6.37 9.24L6.37 10.18L5.75 9.24L3.74 8.41Z') view-box; }
  body.tfx .ps-row:not(.done) .ps-st > svg > path { stroke-dasharray: 13.95 14.5; stroke-dashoffset: 13.95; }
  body.tfx .ps-row.done .ps-st > svg > path { stroke-dasharray: 13.95 14.5; stroke-dashoffset: 0; }
  @media (prefers-reduced-motion: no-preference) {
    body.tfx .ps.is-playing .ps-row.done .ps-st > svg > path { animation: c1v-pen-len 0.46s cubic-bezier(0.45, 0.05, 0.25, 1) both; }
  }
}
@keyframes c1v-pen-len { from { stroke-dashoffset: 13.95; } to { stroke-dashoffset: 0; } }

/* who does each step: one pill shape; the role is told by an ink or the neutral
   guest (outside the company) a sheet with a dashed ink edge; group blue; job title the band;
   AI orange, as everywhere; a named person the band with an ink stamp for initials */
body.tfx .ps-who { border-radius: var(--c1-r-pill) !important; border-width: 1px !important; background-image: none !important; }
body.tfx .ps-av { box-shadow: none !important; background-image: none !important; }
body.tfx .ps-member { background: var(--c1-band) !important; border-color: rgb(24 36 29 / 0.3) !important; color: var(--c1-ink) !important; }
body.tfx .ps-member .ps-av { background: var(--c1-ink) !important; color: var(--c1-cream) !important; }
body.tfx .ps-group { background: var(--c1-blue-tint) !important; border-color: rgb(30 63 110 / 0.32) !important; color: var(--c1-blue-deep) !important; }
body.tfx .ps-group .ps-av { background: var(--c1-blue) !important; }
body.tfx .ps-jobtitle { background: var(--c1-band) !important; border-color: rgb(24 36 29 / 0.3) !important; color: var(--c1-ink) !important; }
body.tfx .ps-jobtitle .ps-av { background: var(--c1-ink-soft) !important; }
body.tfx .ps-guest { background: var(--c1-sheet) !important; border-color: var(--c1-ink) !important; border-style: dashed !important; color: var(--c1-ink) !important; }
body.tfx .ps-guest .ps-av { background: var(--c1-sheet) !important; color: var(--c1-ink) !important; border: 1.5px dashed var(--c1-ink) !important; }
body.tfx .ps-ai-chip { background: var(--c1-orange-tint) !important; border-color: rgb(124 52 9 / 0.32) !important; color: var(--c1-orange-deep) !important; }
body.tfx .ps-ai-chip .ps-av { background: var(--c1-orange) !important; box-shadow: inset 0 0 0 1px var(--c1-ink) !important; }
body.tfx .ps-ai-chip .ps-av svg { fill: var(--c1-ink) !important; }
body.tfx .ps-due .d-done { color: var(--c1-green-text) !important; }
body.tfx .ps-due .d-plan { color: var(--c1-ink-soft) !important; }
body.tfx .ps-due .d-live { color: var(--c1-orange-text) !important; }

/* the two notes beside the card: printed tickets, one squared corner where they point */
body.tfx .ps-bub {
  border-radius: var(--c1-r-card) !important;
  box-shadow: 0 0 0 var(--c1-line) var(--c1-ink) !important;
  color: var(--c1-ink) !important;
}
body.tfx .ps-bub-top { border-bottom-right-radius: 0 !important; }
body.tfx .ps-bub-bottom { border-top-left-radius: 0 !important; background: var(--c1-green-tint) !important; }
body.tfx .ps-bub-top.b-make { background: var(--c1-blue-tint) !important; }
body.tfx .ps-bub-top.b-run { background: var(--c1-orange-tint) !important; }
/* scripts on: the note's one edge is the hand line, drawn on the edge itself */
body.tfx .ps-bub[data-c1-framed] {
  box-shadow: none !important; border-radius: 0 !important;
  -webkit-mask: var(--c1-frame-mask) 0 0 / 100% 100% no-repeat; mask: var(--c1-frame-mask) 0 0 / 100% 100% no-repeat;
}
body.tfx .ps-bub[data-c1-framed]::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--c1-frame) 0 0 / 100% 100% no-repeat;
}
/* hand-overs between chapters: the sheet is never empty. The card's own script and its timing are untouched;
   only how a chapter leaves changes.
   - When the run ends (is-fading) the steps fall back to a pencil ghost instead of fading out with the whole sheet.
   - When the next chapter starts, a step that is not yet written stays as that ghost and inks in at its own
     moment, where today it is blank paper until then.
   - A chapter change clears before it redraws: the part leaving fades first and the part arriving follows, so two
     chapters never print over each other; the new words stay in pencil until they are written. */
body.tfx .ps { --c1-ghost: 0.3; }
body.tfx .ps.is-fading .ps-body { opacity: 1 !important; }
body.tfx .ps.is-fading .ps-row,
body.tfx .ps.is-playing .ps-row:not(.in) { opacity: var(--c1-ghost) !important; transform: none !important; }
/* the new chapter's words: the person's message and the AI's reply appear as the same pencil ghost once the run's header
   has gone, and each is inked at its own moment; while the AI types, a pencil bar (the drawings' placeholder for a line
   of text, no words) holds the place of its reply beside the dots */
body.tfx .ps.is-playing:not(.is-run) .ps-user:not(.in) { opacity: var(--c1-ghost) !important; transform: none !important; }
body.tfx .ps.is-playing:not(.is-run) .ps-ai:not(.in):not(.typing) { opacity: var(--c1-ghost) !important; }
body.tfx .ps.is-playing .ps-ai.typing .ps-typing { align-items: center; }
/* the top of the sheet holds the run's header and the chat, one at a time: the one leaving fades in 0.2s, and the one
   arriving starts only then; the steps fall to the pencil ghost at the same pace */
body.tfx .ps.is-playing .ps-top > .ps-run,
body.tfx .ps.is-playing .ps-top > .ps-chat { transition: opacity 0.2s ease-in, transform 0.2s ease-in !important; }
body.tfx .ps.is-playing.is-run .ps-top > .ps-run,
body.tfx .ps.is-playing:not(.is-run) .ps-top > .ps-chat { transition: opacity 0.3s ease-out 0.2s, transform 0.3s ease-out 0.2s !important; }
body.tfx .ps.is-playing .ps-row:not(.in) { transition-duration: 0.2s !important; }
body.tfx .ps.is-playing .ps-ai.typing .ps-typing::after {
  content: ''; display: block; width: 13em; height: 1.2em; margin-left: 6px;
  border-radius: var(--c1-r-pill); background: var(--c1-hair);
}
/* the notes come and go with the pen's ease, and only rise; nothing grows */
body.tfx .ps.is-playing .ps-bub:not(.show) { transform: translateY(6px) !important; }

/* =========================================================================================
   2. Pause controls: the system draws them (system.css section 14, by class), so this file sets nothing on them.
   ========================================================================================= */

/* =========================================================================================
   3. The process wall (ProcessWall.astro): the wall is the problem, in the orange tint; the steps
      are sheets; the checks are green stamps; AI is the orange spark; the route is a thin ink line
   ========================================================================================= */
body.tfx .pw .pw-wall rect { fill: var(--c1-orange-tint) !important; stroke: var(--c1-ink) !important; stroke-width: 1.5px !important; rx: 2.5px; ry: 2.5px; vector-effect: non-scaling-stroke; }
body.tfx .pw .pw-link { stroke: var(--c1-ink) !important; stroke-opacity: 1 !important; stroke-width: 1.5px !important; vector-effect: non-scaling-stroke; --c1-ink-w: 1.3; }
body.tfx .pw .pw-step rect { fill: var(--c1-sheet) !important; stroke: var(--c1-ink) !important; stroke-width: 1.5px !important; rx: 4px; ry: 4px; vector-effect: non-scaling-stroke; --c1-ink-w: 1.8; }
body.tfx .pw .pw-step-num { fill: var(--c1-ink) !important; font-family: var(--c1-display) !important; font-weight: var(--c1-w-strong, 600) !important; letter-spacing: -0.02em !important; }
body.tfx .pw .pw-check circle { fill: var(--c1-green) !important; stroke: var(--c1-ink) !important; stroke-width: 1.5px !important; vector-effect: non-scaling-stroke; }
body.tfx .pw .pw-check polyline { stroke: var(--c1-ink) !important; stroke-width: 3 !important; --c1-ink-w: 2.7; --c1-ink-wob: 0.1; }
body.tfx .pw .pw-ai path { fill: var(--c1-orange) !important; stroke: var(--c1-ink) !important; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
@media (max-width: 767.98px) {
  body.tfx .pw .pw-wall rect,
body.tfx .pw .pw-step rect,
body.tfx .pw .pw-check circle,
body.tfx .pw .pw-link:not(c1-no),
body.tfx .pw .pw-ai path { stroke-width: 1px !important; }
}
/* the doorway's clip edge sits on the standing wall's ink line (its outer edge), so a sliding brick passes behind the
   wall instead of showing an open, unlined cut in the gap below it. The line is thicker in drawing units on a phone. */
body.tfx .pw #pw-door-clip rect { y: 106px; height: 148px; }
@media (max-width: 767.98px) { body.tfx .pw #pw-door-clip rect { y: 108.6px; height: 142.8px; } }

/* =========================================================================================
   4. The feature stories (FeatureStory.astro and feature-story/, prefixes fs1b- to fs6a-): the six
      figures on the home page and the one-cell figures on feature pages. Their own colors live in a
      \3c style> inside each SVG; these rules outrank them, so they hold with scripts off (scene.js's
      color rewriting is no longer needed). Lines are ink, at the system's 1.5px with scripts off and
      the kit's hand line with scripts on; states live in the fills.
   ========================================================================================= */
/* a step: a sheet with an ink line and the system's corner */
body.tfx .fs .fs3a-step:not(c1-no),
body.tfx .fs .fs4b-step:not(c1-no),
body.tfx .fs .fs5a-step:not(c1-no),
body.tfx .fs .fs6a-step:not(c1-no),
body.tfx .fs .fs1b-step rect,
body.tfx .fs .fs2a-step rect {
  fill: var(--c1-sheet); stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; rx: 4px; ry: 4px; --c1-ink-w: 1.7;
}
body.tfx .fs .fs1b-num,
body.tfx .fs .fs2a-num,
body.tfx .fs .fs3a-num,
body.tfx .fs .fs4b-num,
body.tfx .fs .fs5a-num,
body.tfx .fs .fs6a-num { fill: var(--c1-ink); font-family: var(--c1-display); font-weight: var(--c1-w-strong, 600); }
/* done: the green stamp with an ink edge and an inked tick */
body.tfx .fs .fs3a-check-dot:not(c1-no),
body.tfx .fs .fs4b-check-dot:not(c1-no),
body.tfx .fs .fs5a-check circle,
body.tfx .fs .fs6a-check circle,
body.tfx .fs .fs1b-chk circle,
body.tfx .fs .fs2a-chk circle,
body.tfx .fs circle.fs6a-green-fill {
  fill: var(--c1-green); stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke;
}
body.tfx .fs .fs3a-tick:not(c1-no),
body.tfx .fs .fs4b-tick:not(c1-no),
body.tfx .fs .fs5a-check polyline,
body.tfx .fs .fs6a-check polyline,
body.tfx .fs .fs1b-chk polyline,
body.tfx .fs .fs2a-chk polyline {
  stroke: var(--c1-ink); stroke-width: 3; --c1-ink-w: 2.5; --c1-ink-wob: 0.1;
}
/* a connector: a thin ink line */
body.tfx .fs .fs1b-line,
body.tfx .fs .fs2a-line,
body.tfx .fs .fs3a-link,
body.tfx .fs .fs4b-link,
body.tfx .fs .fs5a-link,
body.tfx .fs .fs6a-link { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; --c1-ink-w: 1.3; }
/* a thing that is neither the problem nor done (an email, a chat, a meeting, an app, a form field): a sheet */
body.tfx .fs .fs2a-card,
body.tfx .fs .fs3a-neutral,
body.tfx .fs .fs4b-neutral,
body.tfx .fs .fs5a-neutral,
body.tfx .fs .fs6a-neutral,
body.tfx .fs .fs3a-field,
body.tfx .fs .fs4b-field {
  fill: var(--c1-sheet); stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; rx: 4px; ry: 4px;
}
body.tfx .fs .fs2a-ink,
body.tfx .fs .fs3a-ink-line,
body.tfx .fs .fs4b-ink-line,
body.tfx .fs .fs5a-inkline,
body.tfx .fs .fs6a-inkline { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
body.tfx .fs .fs3a-ink,
body.tfx .fs .fs4b-ink,
body.tfx .fs .fs5a-ink,
body.tfx .fs .fs6a-ink { fill: var(--c1-ink); }
body.tfx .fs .fs3a-white,
body.tfx .fs .fs4b-white,
body.tfx .fs .fs5a-badge,
body.tfx .fs .fs6a-badge { fill: var(--c1-sheet); }
/* lines of text in a drawing: a light tint of the ink, no outline */
body.tfx .fs .fs3a-soft,
body.tfx .fs .fs4b-soft { fill: var(--c1-hair); }
/* a value written into a field, and an app's glyphs: the soft ink */
body.tfx .fs .fs3a-value:not(c1-no),
body.tfx .fs .fs4b-value:not(c1-no),
body.tfx .fs rect.fs5a-ink { fill: var(--c1-ink-soft); }
/* people: the blue tint, drawn in ink */
body.tfx .fs .fs1b-person,
body.tfx .fs .fs4b-person { fill: var(--c1-blue-tint); stroke: var(--c1-ink); stroke-width: 1.5px; }
body.tfx .fs :is(.fs1b-person, .fs4b-person) circle,
body.tfx .fs :is(.fs1b-person, .fs4b-person) path { vector-effect: non-scaling-stroke; }
/* the problem: the orange tint, drawn in ink; what calls for attention, in orange */
body.tfx .fs .fs1b-prob:not(c1-no),
body.tfx .fs .fs2a-prob rect,
body.tfx .fs .fs3a-problem:not(c1-no),
body.tfx .fs .fs4b-problem:not(c1-no),
body.tfx .fs .fs5a-problem:not(c1-no),
body.tfx .fs .fs6a-problem:not(c1-no) {
  fill: var(--c1-orange-tint); stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; rx: 4px; ry: 4px;
}
body.tfx .fs .fs1b-pbar { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; --c1-ink-w: 1.2; }
body.tfx .fs .fs3a-problem-line,
body.tfx .fs .fs4b-problem-line,
body.tfx .fs .fs5a-problem-line,
body.tfx .fs .fs6a-problem-line { stroke: var(--c1-orange); stroke-width: 2px; vector-effect: non-scaling-stroke; --c1-ink-w: 2; }
body.tfx .fs .fs3a-problem-fill,
body.tfx .fs .fs4b-problem-fill,
body.tfx .fs .fs5a-problem-fill,
body.tfx .fs .fs6a-problem-fill { fill: var(--c1-orange); }
body.tfx .fs .fs2a-pnum,
body.tfx .fs .fs5a-qmark,
body.tfx .fs .fs5a-problem-num,
body.tfx .fs .fs6a-qmark,
body.tfx .fs .fs6a-problem-num { fill: var(--c1-orange-text); }
/* a cut along the dashes: a crisp dashed ink line (a dash is not hand-drawn) */
body.tfx .fs .fs1b-cut { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
/* a step not yet written: a dashed outline in the quiet edge ink */
body.tfx .fs .fs2a-ghost rect { fill: var(--c1-paper); stroke: var(--c1-edge); stroke-width: 1.5px; vector-effect: non-scaling-stroke; rx: 4px; ry: 4px; }
body.tfx .fs .fs2a-gnum { fill: var(--c1-edge); font-family: var(--c1-display); font-weight: var(--c1-w-strong, 600); }
/* AI is the orange spark, in every picture */
body.tfx .fs .fs3a-spark,
body.tfx .fs .fs4b-spark,
body.tfx .fs .fs5a-spark,
body.tfx .fs .fs6a-spark { fill: var(--c1-orange); stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
body.tfx .fs .fs3a-ai-txt,
body.tfx .fs .fs4b-ai-txt,
body.tfx .fs .fs5a-aiword,
body.tfx .fs .fs6a-aiword,
body.tfx .fs .fs2a-label { fill: var(--c1-ink); }
body.tfx .fs .fs5a-label,
body.tfx .fs .fs5a-word,
body.tfx .fs .fs6a-label,
body.tfx .fs .fs6a-word { fill: var(--c1-ink-soft); }
body.tfx .fs .fs5a-count,
body.tfx .fs .fs6a-count { fill: var(--c1-ink); }

/* =========================================================================================
   5. The category stories (CategoryStory.astro and category-story/, prefix cs-): one per comparison
      page, all eight on /alternatives/. Their colors are custom properties on .cs, read by both their
      rules and their keyframes, so the inks are set by remapping those properties: this holds with
      scripts off and inside every animation. Lines are ink at 1.5px; the hand line comes from the script.
   ========================================================================================= */
body.tfx .cs {
  --cs-orange: var(--c1-orange);
  --cs-brick: var(--c1-orange-tint);
  --cs-step: var(--c1-sheet);
  --cs-green: var(--c1-ink);       /* a step's outline and number: ink */
  --cs-link: var(--c1-ink);        /* a connector: ink */
  --cs-ink: var(--c1-edge);        /* a quiet thing: the quiet edge ink */
  --cs-check: var(--c1-green);     /* done: the green stamp */
  --cs-check-ink: var(--c1-ink);
}
body.tfx .cs .cs-step rect { stroke: var(--cs-green); stroke-width: 1.5px; vector-effect: non-scaling-stroke; rx: 4px; ry: 4px; --c1-ink-w: 1.7; }
body.tfx .cs .cs-num { fill: var(--cs-green); font-family: var(--c1-display); font-weight: var(--c1-w-strong, 600); letter-spacing: -0.02em; }
body.tfx .cs .cs-check circle { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
body.tfx .cs .cs-check polyline { stroke-width: 3; --c1-ink-w: 2.5; --c1-ink-wob: 0.1; }
body.tfx .cs .cs-link,
body.tfx .cs .cs-green-line { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; --c1-ink-w: 1.3; }
body.tfx .cs .cs-neutral { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
body.tfx .cs .cs-neutral:is(rect) { rx: 4px; ry: 4px; }
body.tfx .cs .cs-ink-line { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
body.tfx .cs .cs-soft { fill: var(--c1-hair); }
/* a solid mark (a flag, a button, dust): the soft ink, as in the feature stories */
body.tfx .cs .cs-ink-fill { fill: var(--c1-ink-soft); }
body.tfx .cs .cs-problem { stroke: var(--c1-ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
body.tfx .cs .cs-problem:is(rect) { rx: 4px; ry: 4px; }
body.tfx .cs .cs-problem-line { stroke: var(--c1-orange); stroke-width: 2px; vector-effect: non-scaling-stroke; --c1-ink-w: 2; }
body.tfx .cs .cs-check-problem circle { fill: var(--c1-orange); }
body.tfx .cs .cs-check-ink circle { fill: var(--c1-edge); }
/* people: the blue tint, drawn in ink; a person nobody waited for turns orange (Workflow's keyframes) */
body.tfx .cs .cs-person { --cs-ink: var(--c1-blue-tint); stroke: var(--c1-ink); stroke-width: 1.5px; }
body.tfx .cs .cs-person > circle,
body.tfx .cs .cs-person > path { vector-effect: non-scaling-stroke; }
/* Workflow: the shared step is quiet while the problem plays and ink once it is the team's */
body.tfx .cs .cs-a-workflow-step { --cs-ink: var(--c1-edge); --cs-green: var(--c1-ink); }
/* Documentation: a written line is ink, and fades to the quiet edge ink while the page sits unread */
body.tfx .cs .cs-a-doc-line { --cs-ink: var(--c1-ink); --cs-link: var(--c1-edge); stroke: var(--cs-link); }

/* =========================================================================================
   6. OperationsSpectrum (the "People, AI, Apps" band on /workflow/, /ai/, /integrations/, /mcp-server/).
      The tiles take the system's actor inks (system.css section 41). Here: the numbered rings in ink, and
      the card for the page you are on keeps its meaning as the sheet that matters: the 2px ink rule along
      its top, drawn inside its box. Selected by the component's own classes, so no other card is touched.
   ========================================================================================= */
body.tfx main .group.rounded-xl.border.p-5 > .flex.items-center > span.rounded-full.border:first-child,
body.tfx main .card-snipped.group > .flex.items-center > span.rounded-full.border:first-child {
  border-color: var(--c1-hair-firm) !important; border-width: 1.5px !important; color: var(--c1-ink) !important;
  background: var(--c1-sheet); font-variant-numeric: tabular-nums; font-weight: var(--c1-w-strong, 600) !important;
}
/* the card for the page you are on (today a green edge on a mint tint) */
body.tfx.tfx main .group.rounded-xl.border.p-5.border-brand-green-dark {
  box-shadow: inset 0 var(--c1-rule) 0 var(--c1-hair) !important;
}
body.tfx main .group.rounded-xl.border.p-5:hover { box-shadow: none; background-color: var(--c1-band) !important; }
body.tfx.tfx main .group.rounded-xl.border.p-5.border-brand-green-dark:hover { box-shadow: inset 0 var(--c1-rule) 0 var(--c1-edge) !important; }

/* =========================================================================================
   7. MiddlewareReplacement (the "Moving off ...?" banner on middleware comparison pages and ~15 posts).
      The system's card rule already prints the panel. Its robot disc was a green with no job: it becomes
      an ink stamp with a cream glyph, as the card's named-person stamp (14.1 to 1). Only this disc:
      it is the one hidden-until-sm 48px round green disc on the site.
   ========================================================================================= */
body.tfx main div.hidden.w-12.h-12.rounded-full.bg-brand-green-dark.flex-shrink-0 {
  background: var(--c1-ink) !important; box-shadow: inset 0 0 0 1.5px var(--c1-ink);
}
body.tfx main div.hidden.w-12.h-12.rounded-full.bg-brand-green-dark.flex-shrink-0 svg { color: var(--c1-cream) !important; }

/* =========================================================================================
   8. The video poster (VimeoPlayer's facade, on the home page and the solution pages). With scripts on, the
      facade's own overlay is painted with a drawn poster: the night field, one hand-inked sheet standing for the
      product, and the real green play button above it. The video, its button, its box and its image are untouched;
      with scripts off the real poster shows as 50-proof.css prints it. The mat round the box is 50-proof.css's.
   ========================================================================================= */
body.tfx .vimeo-facade.c1-poster > div.absolute.inset-0 {
  background: var(--c1-poster) 0 0 / 100% 100% no-repeat, var(--c1-grain-night), var(--c1-night) !important;
}
body.tfx .vimeo-facade.c1-poster > div.absolute.inset-0::before { display: none !important; }
body.tfx .vimeo-facade.c1-poster > div.absolute.inset-0::after { box-shadow: none !important; }

/* ---------- 9. The tracker: two states, two looks ----------
   "Active" is the step in hand: orange, the attention ink, as the system's tracker draws it. "Waiting" waits on a
   person, so it takes the people ink: the blue tint with blue text and edge. */
body.tfx .tallyfy-control-layer .tcl-row .tcl-pill-wait {
  background-color: var(--c1-blue-tint) !important; color: var(--c1-blue-deep) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1-blue-deep) 30%, transparent) !important;
}

/* ---------- 10. The security page's two architecture diagrams ----------
   70-visuals.js repaints them in ink and the three inks. Their sheet mat is drawn inside the picture's box, so the
   frame sits in the text column instead of 15.5px outside it (keyed on the alt text, which stays when the picture is
   repainted). The repainted picture is already in the inks, so the bitmaps' calming filter is not needed on it. */
body.tfx .legal-body div:has(> img[alt$=' - Diagram']) {
  padding: var(--c1-mat) !important;
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-hair) !important;
}
/* the picture's own margins collapsed through its block before the mat was drawn inside it; the block keeps the same
   margins, so the space round the print stays as it was */
body.tfx .legal-body div:has(> img[alt$=' - Diagram']) > img { margin-block: 0 !important; }
body.tfx .legal-body img[data-c1-repainted] { filter: none !important; }

/* ---------- 11. `?motion=0` is real reduced motion ----------
   With the switch, the page's start marks html with data-tfx-motion="0" before first paint and reports reduced
   motion to scripts, so the card never plays; the hand edge then arrives without its ease. */
html[data-tfx-motion='0'] body.tfx .ps-win[data-c1-framed],
html[data-tfx-motion='0'] body.tfx .ps-win[data-c1-framed]::after,
html[data-tfx-motion='0'] body.tfx .ps-bub[data-c1-framed]::after { animation: none !important; }
/* the tracker as under real reduced motion: its two endless loops (the running segment's bar and the active pill's
   spinner) stop, and its parts change without easing */
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-seg-active::after,
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-pill-active > svg { animation: none !important; }
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-workflow-card,
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-seg,
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-row,
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-why,
html[data-tfx-motion='0'] body.tfx .tallyfy-control-layer .tcl-toggle { transition: none !important; }

/* ---------- 12. One pause stamp size ----------
   Every picture's pause stamp is 32px at every width, as the hero card's and the tracker's are; the pictures' own
   rules made the wall's, the feature stories' and the categories' 28px when the picture is narrow. */
body.tfx .pw-toggle,
body.tfx .fs-toggle,
body.tfx .cs-toggle { width: 32px !important; height: 32px !important; }

/* ---------- 13. Nothing in the pictures is heavier than the strong weight ----------
   The pictures' own styles paint every word and number in the wall, the feature stories and the categories at 700,
   and the hero card's notes and initials at 700; the look sets them all at the system's strong weight (600). Every
   painted text these rules reach was 700 or 800, so none is made heavier. The closing picture's words are drawn
   by 70-visuals.js at the same weight at most. */
body.tfx .ps .ps-bub,
body.tfx .ps .ps-av,
body.tfx .pw .pw-svg text,
body.tfx .fs .fs1b-scene text,
body.tfx .fs .fs2a-scene text,
body.tfx .fs .fs3a-txt,
body.tfx .fs .fs4b-txt,
body.tfx .fs .fs5a-txt,
body.tfx .fs .fs6a-txt,
body.tfx .cs .cs-svg text { font-weight: var(--c1-w-strong, 600); }
