/* r3-proof: a customer's word and every proof of trust, in the chosen system (round 3, tallyfy/work-queue#5229).
   Area: the home page from "People heart Tallyfy" to the footer, /customers/ top to bottom, and the testimonial,
   quote and proof components wherever they appear. Every rule starts with body.tfx, so ?look=old is today's site.
   Nothing here changes a size or a position: the 1.5px ink edge is a box's own 1px border plus half a pixel of inset
   shadow (or a full 1.5px inset where a box has no border), never a new border width that would move what is inside,
   and never an outline (it snaps to 1px). Only the system's tokens are used. One meaning per ink, as in the product
   pictures (70-visuals.css): green done, orange the step in hand and AI, blue a group and information, ink a person. */

/* ---------- 1. The rolling testimonials (home and seven other pages): the system's quote card ----------
   Kitchen sink section 20, the card: the sheet, the thin ink border, the card corner, the mark at its top left, the
   words in ink, the name at the strong weight (600; nothing in the look is heavier), the role in soft ink, the stars
   in orange. The sheet and border are system.css's card
   rule (sections 7 and 48); a lift on hover is never part of a quote. */
body.tfx.tfx .testimonials-rolling .testimonial-card.testimonial-card {
  background-color: var(--c1-sheet);
  border-color: var(--c1-hair) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: var(--c1-line-half) !important;
}
body.tfx.tfx .testimonials-rolling .testimonial-card.testimonial-card:hover { transform: none; box-shadow: var(--c1-line-half) !important; }
/* the mark: the system's filled printed quote in the orange, at the top left of the words. The card has no room above
   the words for the kit's 24px mark, so it is the same mark at the size of the first line */
body.tfx .testimonials-rolling .testimonial-card blockquote > span.absolute {
  color: transparent !important;
  background-color: var(--c1-orange);
  -webkit-mask: var(--c1-quote-mark) 1px 14px / 13px 13px no-repeat;
  mask: var(--c1-quote-mark) 1px 14px / 13px 13px no-repeat;
}
body.tfx .testimonials-rolling .testimonial-card blockquote p { color: var(--c1-ink); }
body.tfx .testimonials-rolling .testimonial-card .font-semibold { font-weight: var(--c1-w-strong, 600); color: var(--c1-ink); }
/* the photo: an ink ring (drawn in its own 2px border, so the photo keeps its box), warmed like the menu's */
body.tfx .testimonials-rolling .testimonial-card img.rounded-full {
  border: var(--c1-line) solid var(--c1-hair) !important;
  filter: grayscale(0.15) sepia(0.12);
}
body.tfx .testimonials-rolling .testimonial-card > div[aria-hidden='true'] svg { color: var(--c1-orange); fill: currentColor; }
body.tfx .testimonials-rolling .testimonial-card .border-t { border-color: var(--c1-hair) !important; }

/* initials where there is no photo are the system's round paper token (system.css section 23).
   In the strip the initials box can be squeezed by its row (30 by 48px on a phone, today as well), so there the token
   is drawn as a flat circle inside the box, sized to its narrow side: band paper, a 1.5px ink ring, hard edges */
body.tfx.tfx .testimonials-rolling .testimonial-card div.rounded-full[class*='bg-gradient-to-br'] {
  background-color: transparent !important;
  background-image: radial-gradient(circle closest-side,
    var(--c1-band) calc(100% - 2px), var(--c1-ink) calc(100% - 1.5px) calc(100% - 0.5px), transparent 100%) !important;
  box-shadow: none !important;
}

/* the strip runs to the screen's edges, so a card is cut only by the screen, never by a window inside the page
   margin. The strip's own box stays where it is (the stamps keep their places); it simply stops clipping, and the
   cards run out over the margins. The site already clips html and body sideways (overflow-x: clip), so the page
   never scrolls sideways. The track's two copies of the cards would leave the left margin empty at rest and empty it
   again at every wrap, so the track is shifted left by whole cards (one card, two past 2,400px wide), never less
   than the margin: a card still starts at the column's edge at rest, the one before it runs off the screen, and the
   wrap stays seamless. One card is the component's own card width and gap at each of its widths (Tailwind's
   w-[280px] sm:w-[320px] md:w-[380px] lg:w-[420px], gap-4 md:gap-6), so the shift follows the root size as the gap
   does. The fades at the edges are gone: nothing is cut inside the page any more. */
body.tfx.tfx .testimonials-rolling.testimonials-rolling { overflow: visible; }
body.tfx.tfx .testimonials-rolling .testimonials-edge-mask.testimonials-edge-mask { display: none !important; }
body.tfx.tfx .testimonials-rolling .testimonial-track.testimonial-track { translate: calc(-1 * (280px + 1rem)) 0; }
@media (min-width: 640px) { body.tfx.tfx .testimonials-rolling .testimonial-track.testimonial-track { translate: calc(-1 * (320px + 1rem)) 0; } }
@media (min-width: 768px) { body.tfx.tfx .testimonials-rolling .testimonial-track.testimonial-track { translate: calc(-1 * (380px + 1.5rem)) 0; } }
@media (min-width: 1024px) { body.tfx.tfx .testimonials-rolling .testimonial-track.testimonial-track { translate: calc(-1 * (420px + 1.5rem)) 0; } }
@media (min-width: 2401px) { body.tfx.tfx .testimonials-rolling .testimonial-track.testimonial-track { translate: calc(-2 * (420px + 1.5rem)) 0; } }
@media (min-width: 3301px) { body.tfx.tfx .testimonials-rolling .testimonial-track.testimonial-track { translate: calc(-3 * (420px + 1.5rem)) 0; } }

/* pause and the two arrows: the system's pause stamp (system.css section 14, 70-visuals.css section 12): 32px at every
   width (the strip's own rule made them 40px from 768px), a 16px glyph, the sheet, a 1px ink border with the half
   pixel inside it, never a 1.5px border (it draws as 1px); hover tints the paper, never a green blob.
   The pause stamp stands on the paper above the cards, never on a card that is not its own: its bottom edge 8px above
   the cards' top edge (the strip's own top padding, py-8, is 2rem, so its top is that less the stamp and the 8px) and
   its right edge where it was (right-2, 8px in from the strip's right). The arrows stay at the cards' middle, where a
   phone needs them. No stamp has a mat: its own opaque sheet and ink edge are enough over a card, and a paper ring
   round it notched every card that passed under it. Keyboard focus keeps the system's ring. */
body.tfx.tfx .testimonials-rolling .testimonials-playpause.testimonials-playpause,
body.tfx.tfx .testimonials-rolling .nav-arrow.nav-arrow { width: 32px !important; height: 32px !important; }
body.tfx.tfx .testimonials-rolling .testimonials-playpause.testimonials-playpause { top: calc(2rem - 40px) !important; }
body.tfx.tfx .testimonials-rolling .testimonials-playpause svg,
body.tfx.tfx .testimonials-rolling .nav-arrow svg { width: 16px !important; height: 16px !important; }
body.tfx .testimonials-rolling .testimonials-playpause, body.tfx .testimonials-rolling .nav-arrow {
  background: var(--c1-sheet) !important;
  color: var(--c1-ink) !important;
  border: 1px solid var(--c1-edge) !important;
  box-shadow: none !important;
} /* These selectors are written out, not ended in an :is() list, so Chrome files each under its class, id or tag and does not try it on every element; a :where(x):is(...) keeps the old weight (tallyfy/website-astro#760). */
body.tfx .testimonials-rolling .testimonials-playpause:hover, body.tfx .testimonials-rolling .nav-arrow:hover { background: var(--c1-band) !important; color: var(--c1-ink) !important; }

/* the heading's heart: the same character, painted flat in the orange ink (50-proof.js wraps it in .proof-heart) */
body.tfx .proof-heart {
  color: transparent;
  text-shadow: 0 0 0 var(--c1-orange);
}

/* ---------- 1b. The rating badge on the product story (home, comparison and feature heroes): mounted as issued ----------
   The badge is Gartner's file exactly as issued: no script touches it, and nothing here filters, blends or covers it.
   A third party's mark keeps its own colors, as the customers' logos do; the system's part is the mount. Its own box
   becomes a mounted picture (kitchen sink 05 and 09): a ground behind the file's clear ground, the thin ink edge drawn
   inside the box as a shadow (a border would shrink the picture), and the control corner. The file is clear for 7px
   round its tiles, so the edge never meets the picture. Same box, same alt text, on screen from the first paint.
   The ground is the file's own white, #fafafa (read from the file's tiles), not the sheet: on the sheet's cream the
   two tiles showed as cool grey boxes (a step of 3.77 in Lab). It is the one color here that is not a token, because
   it belongs to the file. */
body.tfx.tfx .ps-proof img {
  background-color: #fafafa;
  border-radius: var(--c1-r-ctl);
  box-shadow: var(--c1-line-whole);
}

/* ---------- 2. The customer stories page: TestimonialCard, the system's quote card ----------
   The sheet, the thin ink border drawn inside (the card has no border of its own), the card corner, the kit's 24px
   mark in orange at its top left (the card draws it 32px; it is set at three quarters from its top left corner, so the
   box does not change), the words in ink, the name at 650. Every story is the same card: most are flagged featured,
   so a featured mark would mean nothing. */
body.tfx.tfx .testimonial-card.rounded-\[16px\],
body.tfx.tfx .testimonial-card.rounded-\[16px\].ring-2 {
  background-color: var(--c1-sheet) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: inset 0 0 0 1px var(--c1-hair) !important;
}
body.tfx .testimonial-card.rounded-\[16px\] > svg:first-child { color: var(--c1-orange); fill: var(--c1-orange); transform: scale(0.75); transform-origin: 0 0; }
body.tfx .testimonial-card.rounded-\[16px\] blockquote { color: var(--c1-ink); }
body.tfx .testimonial-card.rounded-\[16px\] p.font-semibold { font-weight: var(--c1-w-strong, 600); color: var(--c1-ink); }
body.tfx .testimonial-card.rounded-\[16px\] img.rounded-full {
  box-shadow: 0 0 0 var(--c1-line) var(--c1-hair);
  filter: grayscale(0.15) sepia(0.12);
}
/* "Read full story": a plain ink link with the system's underline */
body.tfx .testimonial-card.rounded-\[16px\] a[href] {
  color: var(--c1-ink) !important;
  text-decoration: underline; text-decoration-color: var(--c1-ink); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.tfx .testimonial-card.rounded-\[16px\] a[href]:hover { text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }

/* the "Proven ROI" sheet at the end of the stories: the green tint (done), its 2px edge in ink, and the fold, once */
body.tfx.tfx [data-pack] > div.bg-green-50 {
  position: relative;
  background-color: var(--c1-green-tint) !important;
  border-color: var(--c1-hair) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: none !important;
}
body.tfx [data-pack] > div.bg-green-50::before,
body.tfx [data-pack] > div.bg-green-50::after {
  content: ''; position: absolute; top: -2px; right: -2px;
  width: var(--c1-fold); height: var(--c1-fold); pointer-events: none; z-index: 3;
}
body.tfx [data-pack] > div.bg-green-50::before { background: var(--c1-paper); clip-path: polygon(0 0, 100% 0, 100% 100%); }
body.tfx [data-pack] > div.bg-green-50::after { background: var(--c1-fold-flap) center / 100% 100% no-repeat; }
/* its title is a heading: the heading face at the strong weight and the face's own spacing (today a global p.text-xl
   rule sets it at 400). It is a p, not an h3, so its line height stays: a taller card could re-pack the grid. */
body.tfx [data-pack] > div.bg-green-50 > p.text-xl { font-family: var(--c1-display); font-weight: var(--c1-w-strong, 600); letter-spacing: var(--c1-track-h34, 0em); }
body.tfx [data-pack] > div.bg-green-50 a[href] {
  color: var(--c1-ink) !important;
  text-decoration: underline; text-decoration-color: var(--c1-ink); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.tfx [data-pack] > div.bg-green-50 a[href]:hover { text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }

/* ---------- 3. "Watch the work move": the TallyfyControlLayer as printed interface ---------- */
body.tfx .tallyfy-control-layer {
  --tcl-surface: var(--c1-sheet);
  --tcl-border: var(--c1-hair);
  --tcl-line: var(--c1-hair);
  --tcl-track: var(--c1-hair);
  --tcl-head: var(--c1-band);
  --tcl-text: var(--c1-ink);
  --tcl-muted: var(--c1-ink-soft);
  --tcl-faint: var(--c1-ink-soft);
  --tcl-green: var(--c1-green);
  --tcl-green-text: var(--c1-green-text);
  --tcl-green-bg: var(--c1-green-tint);
  --tcl-green-tint: var(--c1-band);
  /* the "Active" pill: the step in hand is orange in every product picture (70-visuals.css), so its tint and deep step */
  --tcl-blue-text: var(--c1-orange-deep);
  --tcl-blue-bg: var(--c1-orange-tint);
  --tcl-amber-text: var(--c1-orange-deep);
  --tcl-amber-bg: var(--c1-orange-tint);
  --tcl-purple-text: var(--c1-ink);
  --tcl-purple-bg: var(--c1-band);
  --tcl-red: var(--c1-orange-text);
  --tcl-shadow: none;
}
/* the heading takes the same weight, tracking and size as every other h2 (36px, 30px on a phone). Its line height is
   today's (the site's h2 rule, 1.4 times today's 38px or 28px) or the h2 minimum, whichever is more: 53.2px at 36px
   (1.48), 43.2px at 30px (1.44; today's 39.2px was 1.31). */
body.tfx .tallyfy-control-layer:not(.is-compact) .tcl-hero { font-weight: var(--c1-w-strong, 600); letter-spacing: var(--c1-track-h12, 0em); font-size: 36px; line-height: max(53.2px, calc(36px * var(--c1-lh-h2, 1.44))) !important; }
@container tcl (max-width: 640px) {
  body.tfx .tallyfy-control-layer:not(.is-compact) .tcl-hero { font-size: 30px; line-height: max(39.2px, calc(30px * var(--c1-lh-h2, 1.44))) !important; }
}
/* the sheet: the card corner, no shadow, and the 1.5px ink edge: its own 1px border in ink and half a pixel more,
   drawn on a layer above the rows so the band-paper head and the row in hand cannot cover it */
body.tfx .tallyfy-control-layer .tcl-workflow-card {
  border-color: var(--c1-hair);
  border-radius: var(--c1-r-card);
  box-shadow: none;
}
body.tfx .tallyfy-control-layer .tcl-workflow-card::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: calc(var(--c1-r-card) - 1px);
  box-shadow: var(--c1-line-half);
}
/* the run number names a kind: the system's square tag (band paper, the firm hairline, the control corner) */
body.tfx .tallyfy-control-layer .tcl-meta-pill { border-radius: var(--c1-r-ctl); border-color: var(--c1-hair-firm); background: var(--c1-band); color: var(--c1-ink); }
/* the table head: band paper, ink labels at their own 11px capitals, the 2px ink rule under it (drawn inside the cell) */
body.tfx .tallyfy-control-layer table.tcl-workflow th { color: var(--c1-ink); box-shadow: inset 0 calc(var(--c1-rule) * -1) 0 var(--c1-hair); }
/* One meaning per ink, as in every product picture (70-visuals.css): green done, orange the step in hand and AI,
   blue a group and information, ink a person. */
/* the row in hand: band paper and an orange bar in the orange text step (4.5 to 1 on the band, as the hero card's ring) */
body.tfx .tallyfy-control-layer .tcl-row:is(.s-active, .s-working) { box-shadow: inset 3px 0 0 var(--c1-orange-text); }
/* the progress: done segments green; the segment in hand an orange tint with its orange runner */
body.tfx .tallyfy-control-layer .tcl-seg-active { background: var(--c1-orange-tint); }
body.tfx .tallyfy-control-layer .tcl-seg-active::after { background: var(--c1-orange); }
/* "Running now" is the run in hand: the orange text step and a still orange dot (no ping, no glow); "Completed" stays green */
body.tfx .tallyfy-control-layer .tcl-live-run { color: var(--c1-orange-text); }
body.tfx .tallyfy-control-layer .tcl-live-run .tcl-dot { background: var(--c1-orange); box-shadow: inset 0 0 0 1px var(--c1-ink); animation: none; }
/* pills: the system's tint and deep step, each with its hairline edge (an inset shadow, so no pill grows) */
body.tfx .tallyfy-control-layer .tcl-pill-done { color: var(--c1-green-deep); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1-green-deep) 30%, transparent); }
body.tfx .tallyfy-control-layer .tcl-pill-active { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1-orange-deep) 30%, transparent); }
body.tfx .tallyfy-control-layer .tcl-pill-wait { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c1-orange-deep) 30%, transparent); }
body.tfx .tallyfy-control-layer .tcl-pill-cond { box-shadow: inset 0 0 0 1px var(--c1-hair-firm); }
body.tfx .tallyfy-control-layer .tcl-pill-next { border-color: var(--c1-edge); color: var(--c1-ink-soft); }
/* the fields inside a prompt: blue chips (information), the control corner */
body.tfx .tallyfy-control-layer .tcl-var { background: var(--c1-blue-tint); color: var(--c1-blue-deep); border-radius: var(--c1-r-ctl); }
body.tfx .tallyfy-control-layer :where(.tcl-why):is(.tcl-why, .tcl-step-meta a), body.tfx .tallyfy-control-layer .tcl-step-meta a { color: var(--c1-ink); text-decoration-color: var(--c1-ink); text-underline-offset: 3px; }
body.tfx .tallyfy-control-layer :where(.tcl-why):is(.tcl-why, .tcl-step-meta a):hover, body.tfx .tallyfy-control-layer .tcl-step-meta a:hover { color: var(--c1-ink); text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }
/* who has the step: a person in ink, AI the orange spark with an ink mark, a group blue, a job title or a manager the
   quiet ink, a guest a dashed ink ring, flat */
body.tfx .tallyfy-control-layer .tcl-avatar { color: var(--c1-cream); }
body.tfx .tallyfy-control-layer .tcl-avatar-person { background: var(--c1-ink); }
body.tfx .tallyfy-control-layer .tcl-avatar-ai { background: var(--c1-orange); background-image: none; color: var(--c1-ink); box-shadow: inset 0 0 0 1.5px var(--c1-ink); }
/* its spark is drawn with fill="#fff" in the markup; the ink fills it, as in the hero card's AI spark */
body.tfx .tallyfy-control-layer .tcl-avatar-ai svg { fill: var(--c1-ink); }
body.tfx .tallyfy-control-layer .tcl-avatar-group { background: var(--c1-blue); background-image: none; }
body.tfx .tallyfy-control-layer .tcl-avatar-manager-color, body.tfx .tallyfy-control-layer .tcl-avatar-jobtitle { background: var(--c1-ink-soft); }
body.tfx .tallyfy-control-layer .tcl-avatar-guest { color: var(--c1-ink); border-color: var(--c1-ink); }
body.tfx .tallyfy-control-layer .tcl-avatar-cond { color: var(--c1-ink-soft); border-color: var(--c1-ink-soft); }
/* a person's photo: an ink ring, the same for everyone (green and orange rings would read as done and attention) */
body.tfx .tallyfy-control-layer img.tcl-avatar,
body.tfx .tallyfy-control-layer img.tcl-avatar.tcl-avatar-manager { box-shadow: 0 0 0 2px var(--c1-sheet), 0 0 0 3.5px var(--c1-ink); filter: grayscale(0.15) sepia(0.12); }
/* the working row's sweep is a moving glow; the row already says it is in hand (the turning mark and the orange bar),
   so the sweep goes. A flat block in its place covered the pill. */
body.tfx .tallyfy-control-layer .tcl-row.s-working td:first-child::before { display: none; }
/* pause: the system's paper stamp */
body.tfx .tallyfy-control-layer .tcl-toggle:hover { background: var(--c1-band); }

/* ---------- 4. The video band: the blurry poster mounted as a print on a sheet, on a band of paper ---------- */
:where(html[data-tfx-has~="process-wall"]) body.tfx main:is(main, #process-wall) > section:has(> .max-w-6xl > .vimeo-facade) {
  background-color: var(--c1-band);
  background-image: var(--c1-grain);
} /* Page-type tests read two marks on <html> written when the page is built (data-tfx-canonical, data-tfx-has; see page-marks.mjs), not a :has() on html or main, which Chrome checks again after every change; html:root[...] and main:is(main, X) keep the old weight (tallyfy/website-astro#760). */
body.tfx .vimeo-facade {
  border-radius: 0 !important;
  /* the system's sheet mat around the picture (14px, 8px on a phone), edged with the hairline; drawn outside the box, so nothing moves */
  box-shadow: 0 0 0 var(--c1-mat) var(--c1-sheet), 0 0 0 calc(var(--c1-mat) + 1px) var(--c1-hair) !important;
  background-color: var(--c1-night) !important;
}
/* the poster cannot change, so it is printed onto the paper: the band multiplied over it turns its white to cream
   and warms its screen green, a little less saturation calms it, and the fine grain softens the blur. Today's
   30% black wash goes. The play button paints above both layers. */
body.tfx .vimeo-facade img { filter: saturate(0.78) contrast(1.02); }
body.tfx .vimeo-facade > div.absolute.inset-0::before,
body.tfx .vimeo-facade > div.absolute.inset-0::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
body.tfx .vimeo-facade > div.absolute.inset-0::before {
  background-color: var(--c1-band);
  background-image: var(--c1-grain);
  mix-blend-mode: multiply;
}
/* the inner keyline round the picture */
body.tfx .vimeo-facade > div.absolute.inset-0::after { box-shadow: inset 0 0 0 1px var(--c1-hair); }
body.tfx .vimeo-facade > div.absolute.inset-0 > button { position: relative; z-index: 1; }
body.tfx .vimeo-facade > div.absolute.inset-0 { background-color: transparent; }
body.tfx .vimeo-facade button:not(:focus-visible) {
  background-color: var(--c1-green) !important;
  color: var(--c1-ink) !important;
  box-shadow: var(--c1-line-whole) !important;
}
body.tfx .vimeo-facade button:hover { background-color: var(--c1-green-hover) !important; }
body.tfx .vimeo-facade button svg { color: var(--c1-ink) !important; }

/* ---------- 5. Template cards (TemplateShowcaseCard) outside posts; inside a post they are 30-posts.css's ---------- */
body.tfx.tfx .tsc-card.card-snipped:not(.blog-article-body *) {
  --tsc-ink: var(--c1-ink);
  --tsc-muted: var(--c1-ink-soft);
  --tsc-faint: var(--c1-ink-soft);
  --tsc-rule: var(--c1-hair);
  --tsc-line: var(--c1-hair);
  --tsc-head: var(--c1-band);
  --tsc-track: var(--c1-hair);
  --tsc-link: var(--c1-ink);
  --tsc-link-hover: var(--c1-ink);
  --tsc-fill: var(--c1-green);
  --tsc-done: var(--c1-green-deep);
  --tsc-green-bg: var(--c1-green-tint);
  --tsc-green-tint: var(--c1-band);
  /* the step in hand (the clock mark): orange, as in every product picture */
  --tsc-blue: var(--c1-orange-deep);
  --tsc-blue-bg: var(--c1-orange-tint);
  --tsc-amber: var(--c1-orange-deep);
  --tsc-amber-bg: var(--c1-orange-tint);
  background-color: var(--c1-sheet) !important;
  border-color: var(--c1-hair) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: none !important;
}
/* its 1.5px ink edge: the 1px border and half a pixel more on a layer above the band-paper rows and foot */
body.tfx .tsc-card.card-snipped:not(.blog-article-body *)::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: calc(var(--c1-r-card) - 1px);
  box-shadow: var(--c1-line-half);
}
/* the row in hand: the orange bar in the orange text step; the segment in hand an orange tint with its orange runner */
body.tfx .tsc-card:not(.blog-article-body *) .tsc-rows > .tsc-row-active::before { background: var(--c1-orange-text); }
body.tfx .tsc-card:not(.blog-article-body *) .tsc-seg-active { background: var(--c1-orange-tint); }
body.tfx .tsc-card:not(.blog-article-body *) .tsc-seg-active::after { background: var(--c1-orange); }
body.tfx .tsc-card:not(.blog-article-body *) .tsc-foot { border-radius: 0 0 var(--c1-r-ctl) var(--c1-r-ctl); }
/* the step count names a kind: the system's square tag */
body.tfx .tsc-card:not(.blog-article-body *) .tsc-meta { border-radius: var(--c1-r-ctl); border-color: var(--c1-hair-firm); background: var(--c1-band); color: var(--c1-ink); }
body.tfx.tfx .tsc-card:not(.blog-article-body *) a.tsc-link.tsc-link { text-decoration: underline; text-decoration-color: var(--c1-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.tfx.tfx .tsc-card:not(.blog-article-body *) a.tsc-link.tsc-link:hover { color: var(--c1-ink); text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }

/* ---------- 6. The compliance grid: the same 1.5px ink edge as every other sheet ---------- */
/* each card has its own 1px border (ink by the system's card rule), so half a pixel more is drawn inside it; system
   section 47 would add a full 1.5px inside the border and make the edge 2.5px */
body.tfx.tfx main .compliance-grid .rounded-xl.border[class*='shadow-green'] {
  box-shadow: var(--c1-line-half) !important;
}
/* on the home page the lower half changes by flat bands, as a printed sheet does: the video band and the trust band
   sit on the band paper, the sections between them on the page paper */
:where(html[data-tfx-has~="process-wall"]) body.tfx main:is(main, #process-wall) > section.compliance-grid {
  background-color: var(--c1-band);
  background-image: var(--c1-grain);
}

/* A quoted source (TfQuote, the competitor reviews on comparison and legal pages) is the system's inline quote block,
   drawn by system.css section 50a. */

/* ---------- 7. The quote callout in posts and pages (TestimonialCallout): the system's pull quote ----------
   Kitchen sink section 20: one customer's words standing in a page are a pull quote: no sheet, no edge, a 2px orange
   rule at the left is the mark, the words in ink, the name at 650, the role in soft ink. The callout's own left bar
   (an absolute span) becomes that rule and its big watermark mark goes, so nothing moves. */
/* system.css section 47 boxes every rounded box that had a soft green shadow; a pull quote has no box, so this rule
   carries the weight to answer it */
body.tfx.tfx.tfx.tfx main aside[aria-labelledby^='testimonial-callout-'][aria-labelledby^='testimonial-callout-'] {
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  --tw-ring-shadow: 0 0 #0000;
}
body.tfx aside[aria-labelledby^='testimonial-callout-'] > span:first-child { background: var(--c1-orange) !important; width: var(--c1-rule) !important; }
body.tfx aside[aria-labelledby^='testimonial-callout-'] > svg { display: none; }
body.tfx aside[aria-labelledby^='testimonial-callout-'] blockquote { color: var(--c1-ink); font-style: normal; }
body.tfx aside[aria-labelledby^='testimonial-callout-'] span[id^='testimonial-callout-'] { font-weight: var(--c1-w-strong, 600); color: var(--c1-ink); }
body.tfx aside[aria-labelledby^='testimonial-callout-'] img.rounded-full { box-shadow: 0 0 0 var(--c1-line) var(--c1-hair) !important; filter: grayscale(0.15) sepia(0.12); }
body.tfx aside[aria-labelledby^='testimonial-callout-'] .text-xs { color: var(--c1-ink-soft); }
body.tfx aside[aria-labelledby^='testimonial-callout-'] .flex-col a[href] {
  color: var(--c1-ink) !important;
  text-decoration: underline; text-decoration-color: var(--c1-ink); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.tfx aside[aria-labelledby^='testimonial-callout-'] .flex-col a[href]:hover { text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }
/* its button: "Try it free" the green ticket, "Talk to us" the orange */
body.tfx aside[aria-labelledby^='testimonial-callout-'] > div > a[href^='/start'] {
  background-color: var(--c1-green) !important; color: var(--c1-ink) !important;
  border-radius: var(--c1-r-ctl) !important; box-shadow: var(--c1-line-whole) !important;
}
body.tfx aside[aria-labelledby^='testimonial-callout-'] > div > a[href^='/start']:hover { background-color: var(--c1-green-hover) !important; }

/* ---------- 8. Kinds on the template pages: the square neutral tag (kitchen sink section 23, system.css 50d) ----------
   A tag names a kind: a step type ("task") and a template's categories ("Other", "HR") are kinds, not states, so each is
   the square tag: the band paper, the firm hairline, the control corner, ink words. Today "task" is a round blue pill and
   the related templates' "HR" is green. The tag's firmer weight is a hair of stroke, not a heavier face, so no tag
   changes width. These rules carry the page scope of the template pages' own rules (80-pages.css section 6b) with one
   more class, so they answer them; the states beside them (Completed, Active) keep their round tinted pills. */
body.tfx.tfx.tfx:is(html:root[data-tfx-canonical][data-tfx-canonical*='/templates/'] *) main span.px-2.py-1.text-xs.rounded.font-medium,
body.tfx.tfx.tfx:is(html:root[data-tfx-canonical][data-tfx-canonical*='/templates/'] *) main a.block span.rounded-sm.px-2.text-xs {
  border-radius: var(--c1-r-ctl) !important;
  background-color: var(--c1-band) !important;
  color: var(--c1-ink) !important;
  box-shadow: inset 0 0 0 1px var(--c1-hair-firm) !important;
  -webkit-text-stroke: 0.3px currentColor;
}

/* ---------- 9. The phase labels ("Phase 1", "Phase 2", "Phase 3") on the control layer section: square tags ----------
   A phase is a kind, not a state, so by kitchen sink section 23 each label is the square neutral tag: the band paper,
   the firm hairline, the control corner, ink words. Today it is a round green chip. Only the paint changes: its size,
   padding, face and capitals stay, so no label changes width. The rule answers the comparison pages' own rule for the
   label (80-pages.css) with more classes and with !important on the four painted properties. */
body.tfx.tfx.tfx.tfx .control-layer-positioning .clp-phase-head .clp-phase-badge.clp-phase-badge {
  border-radius: var(--c1-r-ctl) !important;
  background-color: var(--c1-band) !important;
  color: var(--c1-ink) !important;
  box-shadow: inset 0 0 0 1px var(--c1-hair-firm) !important;
}

/* ---------- 10. The calm rules for proof (the calm ruling, owner decisions 55 to 59) ---------- */
/* the run table, "Watch the work move" (50-proof.css section 3): one sheet with a hairline edge; its head is a
   quiet label row with a hairline under it, not a band with a 2px ink rule. The row in hand keeps its band. */
body.tfx.tfx .tallyfy-control-layer { --tcl-head: transparent; }
body.tfx.tfx .tallyfy-control-layer .tcl-workflow-card { border-color: var(--c1-hair); }
body.tfx.tfx .tallyfy-control-layer table.tcl-workflow th { box-shadow: inset 0 -1px 0 var(--c1-hair); }
/* its intro takes its heading's column like any other (the component's own 40em gave way to 48rem) */
body.tfx.tfx main p.tcl-sub { max-width: 48rem; }

/* a template card, wherever it shows (30-posts.css section 14, 50-proof.css section 5) */
body.tfx.tfx.tfx .tsc-card.card-snipped {
  border: 1px solid var(--c1-hair) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: none !important;
}
body.tfx.tfx.tfx .tsc-card.card-snipped::after { content: none; }
/* its foot's corners follow the card's: the card's radius less its 1px edge */
body.tfx.tfx.tfx .tsc-card .tsc-foot { border-radius: 0 0 calc(var(--c1-r-card) - 1px) calc(var(--c1-r-card) - 1px); }

/* a customer's story, rolling on home and on the customers page (50-proof.css sections 1 and 2) */
body.tfx.tfx.tfx .testimonials-rolling .testimonial-card.testimonial-card { border-color: var(--c1-hair) !important; box-shadow: none !important; }
body.tfx.tfx.tfx .testimonial-card.rounded-\[16px\],
body.tfx.tfx.tfx .testimonial-card.rounded-\[16px\].ring-2 { box-shadow: inset 0 0 0 1px var(--c1-hair) !important; --tw-ring-shadow: 0 0 #0000; }

/* ---------- 14. A template card's description ----------
   The site clamps it to two lines and gives it 12px of padding underneath. A clamped box shows its next line
   inside its own padding, so half of a third line showed under the ellipsis (seen on a solution page's form
   cards). The room under it is a margin instead, and nothing shows in it. */
body.tfx .tsc-card .tsc-desc { padding-bottom: 0; margin-bottom: 12px; }
body.tfx .tsc-card .tsc-desc-doc { padding-bottom: 0; margin-bottom: 14px; }
