/* Round 3, area: money, numbers and forms (r3-pricing, tallyfy/work-queue#5229).
   The pricing page, the cost calculator wherever it appears, the comparison tables on the
   alternative pages, and the forms a visitor can reach. The calmest, most exact pages on the site:
   ink figures that line up, no alarm red, no drawing, nothing hand-made in a field or a table.
   Tokens only, from system.css section 1. A size or a position changes only where a rule here says
   so and why: the Light Seat alignment (section 7), the "Annual billing only" line kept in both
   billing states (section 2), and full names that wrap (section 3). Elsewhere a figure that must
   line up with its neighbour is moved by paint (a transform), never by layout. */

/* ---------- 1. The cost calculator ("What busywork costs your company"), everywhere ---------- */

/* the sheet: lighter paper, the thin ink border (its own 1px border in ink and the half pixel inside, as
   system.css section 48 draws it, so the box keeps its size), today's padding, no soft shadow, no lift */
body.tfx [data-roi-widget].card-snipped {
  background-color: var(--c1-sheet) !important;
  border-color: var(--c1-hair) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: var(--c1-line-half) !important;
  transform: none !important;
}
body.tfx [data-roi-widget] h3 { color: var(--c1-ink); }

/* "What's busywork?" is a quiet ticket of the system's button family (system.css section 50b) */

/* the three field labels in ink */
body.tfx [data-roi-widget] label > span:first-child { color: var(--c1-ink); }

/* a field and its unit read as one control: one ink frame, the unit on band paper,
   one ink line between them, square inner corners */
body.tfx [data-roi-widget] .roi-input { font-variant-numeric: tabular-nums; }
body.tfx [data-roi-widget] label .flex > span {
  background-color: var(--c1-band) !important;
  border-color: var(--c1-edge) !important;
  color: var(--c1-ink-soft) !important;
  box-shadow: inset 0 0.5px 0 var(--c1-edge), inset 0 -0.5px 0 var(--c1-edge);
}
body.tfx [data-roi-widget] label .flex > span.rounded-r-lg { border-radius: 0 var(--c1-r-ctl) var(--c1-r-ctl) 0 !important; box-shadow: inset 0 0.5px 0 var(--c1-edge), inset 0 -0.5px 0 var(--c1-edge), inset -0.5px 0 0 var(--c1-edge); }
body.tfx [data-roi-widget] label .flex > span.rounded-l-lg { border-radius: var(--c1-r-ctl) 0 0 var(--c1-r-ctl) !important; box-shadow: inset 0 0.5px 0 var(--c1-edge), inset 0 -0.5px 0 var(--c1-edge), inset 0.5px 0 0 var(--c1-edge); }
body.tfx [data-roi-widget] .roi-input.rounded-l-lg { border-radius: var(--c1-r-ctl) 0 0 var(--c1-r-ctl) !important; }
body.tfx [data-roi-widget] .roi-input.rounded-r-lg { border-radius: 0 var(--c1-r-ctl) var(--c1-r-ctl) 0 !important; }
/* the focused field's ring paints over its unit, not under it (stacking only, no layout change) */
body.tfx [data-roi-widget] .roi-input:focus { position: relative; z-index: 1; }
/* the system's 1.5px field border renders 1px at normal density; half a pixel inside makes the field
   match its unit (1px border plus half a pixel); hover firms it to 2px */
body.tfx [data-roi-widget] .roi-input:not(:focus) { box-shadow: inset 0 0 0 0.5px var(--c1-edge); }
body.tfx [data-roi-widget] .roi-input:hover:not(:focus) { box-shadow: inset 0 0 0 1px var(--c1-edge); }

/* the result: a sum line in ink above the figures, as on a receipt, and a hairline under them that
   frames the figures (without it they float over the empty band left by the removed email row) */
body.tfx [data-roi-widget] .border-y { border-top-color: var(--c1-hair) !important; border-bottom-color: var(--c1-hair) !important; }

/* all three figures in ink, one face, one weight, one size, numbers that line up: the system's big figure
   (the heading face at the strong weight, 600 since the type ruling of 2026-11-16, -0.02em, ink), tabular because
   they are money; at 600 they still lead the calculator by their size */
body.tfx [data-roi-widget] #roi-weekly, body.tfx [data-roi-widget] #roi-yearly, body.tfx [data-roi-widget] #roi-fiveyear {
  color: var(--c1-ink) !important;
  font-family: var(--c1-display);
  font-weight: var(--c1-w-strong, 600) !important;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
} /* 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). */
/* the labels under them: small tracked labels in the label ink */
body.tfx [data-roi-widget] :is(#roi-weekly, #roi-yearly, #roi-fiveyear) + p {
  color: var(--c1-orange-text) !important;
  font-weight: 600;
  letter-spacing: var(--c1-label-track) !important;
}
@media (min-width: 768px) {
  /* one size; today the first box is 40px tall and the other two 36px, so the second and third
     figures and their labels are lowered by paint (2px and 4px) to share the first one's lines */
  body.tfx [data-roi-widget] #roi-weekly, body.tfx [data-roi-widget] #roi-yearly, body.tfx [data-roi-widget] #roi-fiveyear { font-size: 32px !important; }
  body.tfx [data-roi-widget] #roi-yearly, body.tfx [data-roi-widget] #roi-fiveyear { transform: translateY(2px); }
  body.tfx [data-roi-widget] :is(#roi-yearly, #roi-fiveyear) + p { transform: translateY(4px); }
}
@media (max-width: 767.98px) {
  /* stacked on a phone: one size, each in its own line box as today */
  body.tfx [data-roi-widget] #roi-weekly, body.tfx [data-roi-widget] #roi-yearly, body.tfx [data-roi-widget] #roi-fiveyear { font-size: 28px !important; }
}

/* ---------- 2. The pricing page (#compare): the billing switch, the estimate, the seats, the table ---------- */

/* the billing switch: "on" is the green, an ink edge, a sheet knob with an ink ring; "off" is band paper */
body.tfx #compare .billing-toggle-btn {
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-edge) !important;
  transition: background-color 0.15s ease;
}
body.tfx #compare .billing-toggle-btn.bg-brand-green { background-color: var(--c1-green) !important; }
body.tfx #compare .billing-toggle-btn.bg-gray-300 { background-color: var(--c1-band) !important; }
body.tfx #compare .billing-toggle-btn.bg-brand-green:hover { background-color: var(--c1-green-hover) !important; }
body.tfx #compare .billing-toggle-btn.bg-gray-300:hover { background-color: var(--c1-edge) !important; }
body.tfx #compare .billing-toggle-btn .toggle-circle {
  background-color: var(--c1-sheet) !important;
  box-shadow: 0 0 0 var(--c1-line) var(--c1-edge) !important;
}
body.tfx #compare .billing-label { color: var(--c1-ink-soft); }
body.tfx #compare .billing-label.font-bold { color: var(--c1-ink); font-weight: var(--c1-w-strong, 600); }
body.tfx #compare .billing-label .text-brand-green-dark { color: var(--c1-green-text) !important; font-weight: var(--c1-w-strong, 600); }
/* the rule under the switch is a hairline of ink */
body.tfx #compare .hidden.md\:block > .border-b { border-bottom-color: var(--c1-hair) !important; }

/* the price list is one printed sheet: the sheet paper and the thin ink edge every card has. A 1px
   outline inside the table's own box (it paints over every cell and follows the corner), and the
   half pixel more drawn by the cells along the edge as a 1.5px inset shadow, which paints over their
   own and their row's band paper. No box changes. (A 1.5px outline renders 1px at normal density, and
   a pseudo-element frame inside a table adds blank lines to the page's text.) */
body.tfx #pricing-table {
  background-color: var(--c1-sheet);
  border-radius: var(--c1-r-card);
  outline: 1px solid var(--c1-hair);
  outline-offset: -1px;
}
/* its head: the estimate on band paper, the two seats on the sheet, the 2px ink rule under them */
body.tfx #pricing-table thead tr { border-bottom-color: transparent !important; }
body.tfx #pricing-table thead th:first-child {
  background-color: var(--c1-band) !important;
  background-image: none !important;
  border-radius: var(--c1-r-card) 0 0 0 !important;
}
body.tfx #pricing-table thead th:first-child div.text-sm { color: var(--c1-ink-soft) !important; }
body.tfx #pricing-table thead th:first-child .text-gray-500 { color: var(--c1-ink-soft) !important; }
body.tfx #pricing-table #total-price, body.tfx #pricing-table #seat-count { color: var(--c1-ink) !important; font-variant-numeric: tabular-nums; }
/* the total is a big figure (kitchen sink 25): the heading face at the strong weight (600, the type ruling of
   2026-11-16), -0.02em, in ink, tabular because it is money; it leads the estimate by its 30px size.
   System.css 50f leaves #compare to this sheet. The same on the phone card (#total-price-mobile, section 2 below). */
body.tfx #pricing-table #total-price, body.tfx #compare #total-price-mobile {
  font-family: var(--c1-display) !important;
  font-weight: var(--c1-w-strong, 600) !important;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
body.tfx #pricing-table #price-period { color: var(--c1-ink-soft) !important; }
body.tfx #pricing-table thead th .text-xl.font-bold { color: var(--c1-ink) !important; font-weight: var(--c1-w-strong, 600); }
/* item 16: both seat prices in ink, tabular; the periods quiet */
body.tfx #compare .annual-price, body.tfx #compare .monthly-price { color: var(--c1-ink) !important; font-weight: var(--c1-w-strong, 600); font-variant-numeric: tabular-nums; }
/* the periods are quiet, at the reading weight, as on desktop and on today's site (on the phone they sat inside the
   price's bold wrapper and took its bold) */
body.tfx #compare .annual-period, body.tfx #compare .monthly-period { color: var(--c1-ink-soft) !important; font-weight: var(--c1-w-read, 400); }

/* the seat steppers: small quiet printed buttons, an ink edge, 3px corners, ink signs */
body.tfx #compare #full-decrement, body.tfx #compare #full-increment, body.tfx #compare #light-decrement, body.tfx #compare #light-increment,
  body.tfx #compare #full-decrement-mobile, body.tfx #compare #full-increment-mobile, body.tfx #compare #light-decrement-mobile, body.tfx #compare #light-increment-mobile {
  background-color: var(--c1-sheet) !important;
  color: var(--c1-ink) !important;
  border: 0 !important;
  border-radius: var(--c1-r-ctl) !important;
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-edge) !important;
  font-weight: var(--c1-w-strong, 600);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}
body.tfx #compare #full-decrement:hover, body.tfx #compare #full-increment:hover, body.tfx #compare #light-decrement:hover, body.tfx #compare #light-increment:hover,
  body.tfx #compare #full-decrement-mobile:hover, body.tfx #compare #full-increment-mobile:hover, body.tfx #compare #light-decrement-mobile:hover, body.tfx #compare #light-increment-mobile:hover {
  background-color: var(--c1-band) !important;
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-edge) !important;
}
body.tfx #compare #full-decrement:active, body.tfx #compare #full-increment:active, body.tfx #compare #light-decrement:active, body.tfx #compare #light-increment:active,
  body.tfx #compare #full-decrement-mobile:active, body.tfx #compare #full-increment-mobile:active, body.tfx #compare #light-decrement-mobile:active, body.tfx #compare #light-increment-mobile:active { transform: translateY(1px); }
body.tfx #compare #full-members, body.tfx #compare #light-members, body.tfx #compare #full-members-mobile, body.tfx #compare #light-members-mobile {
  font-variant-numeric: tabular-nums;
  color: var(--c1-ink) !important;
}

/* the section rows (FEATURES, AVAILABLE ROLES, ADD-ONS): band paper, ink small capitals, hairlines */
body.tfx #pricing-table tbody tr.bg-gray-50 { background-color: var(--c1-band) !important; }
body.tfx #pricing-table tbody tr.bg-gray-50 > td { color: var(--c1-ink) !important; letter-spacing: 0.12em; font-weight: var(--c1-w-strong, 600); }
body.tfx #pricing-table tbody { border-color: var(--c1-hair); }
body.tfx #pricing-table tbody > tr { border-color: var(--c1-hair) !important; }
body.tfx #pricing-table tbody > tr:not(.bg-gray-50):hover { background-color: var(--c1-paper) !important; }
/* the feature names: ink; a link shows its ink underline on hover, never a green */
body.tfx #pricing-table tbody th { color: var(--c1-ink) !important; }
body.tfx #compare :is(th, li, span) > a[href^='/products/']:not([aria-label]) { color: var(--c1-ink) !important; }
body.tfx #compare :is(th, li, span) > a[href^='/products/']:not([aria-label]):hover {
  color: var(--c1-ink) !important;
  text-decoration: underline; text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; text-underline-offset: 0.24em;
}
/* the little help marks: the soft ink (today's grey fails 3 to 1), ink on hover */
body.tfx main a[aria-label].text-gray-400:has(> svg) { color: var(--c1-ink-soft) !important; text-decoration: none !important; }
body.tfx main a[aria-label].text-gray-400:has(> svg):hover { color: var(--c1-ink) !important; }

/* ticks are the green's text step (done); a cross is the soft ink, never a red */
body.tfx #compare svg.text-brand-green-dark { color: var(--c1-green-text) !important; }
body.tfx #compare svg.text-gray-400 { color: var(--c1-ink-soft) !important; }
body.tfx #compare li > span.text-gray-500 { color: var(--c1-ink-soft) !important; }

/* the add-on switch (Data Feed): the same printed switch as billing */
body.tfx #compare :is(#data-feed-toggle, #data-feed-toggle-mobile) + div {
  background-color: var(--c1-band) !important;
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-edge) !important;
  --tw-ring-shadow: 0 0 #0000 !important; --tw-ring-offset-shadow: 0 0 #0000 !important;
}
body.tfx #compare :is(#data-feed-toggle, #data-feed-toggle-mobile) + div::after {
  background-color: var(--c1-sheet) !important;
  border-color: var(--c1-edge) !important;
  box-shadow: 0 0 0 0.5px var(--c1-edge);
}
body.tfx #compare :is(#data-feed-toggle, #data-feed-toggle-mobile):checked + div { background-color: var(--c1-green) !important; }
body.tfx #compare #data-feed-note, body.tfx #compare #data-feed-note-mobile { color: var(--c1-orange-text) !important; }
/* the billing switch moves nothing: "Annual billing only" shows only with monthly billing, and today it takes a new line
   then (the page grew 13.9px at 1440 and 16px at 390). Its line is kept in both states and the note is only unseen
   with annual billing (visibility keeps it out of the page's text and out of reach, as display: none did). */
body.tfx #compare #data-feed-note.hidden, body.tfx #compare #data-feed-note-mobile.hidden { display: block !important; visibility: hidden; }
/* so the add-on switch stands beside its name in both states, never beside the empty line: at desktop width its cell
   starts at the top and its box is one text line tall (the th's line is 1.75 of the same size, from the site's
   .text-gray-700 rule); on a phone the name, the price and the note become the rows of a two-column grid and the
   switch is centred on the first two rows (the name and the price), as it is today with annual billing */
@media (min-width: 768px) {
  body.tfx #compare #data-feed-row > td { vertical-align: top; }
  body.tfx #compare #data-feed-row > td > label { height: 1.75em; }
  /* the knob is placed from its frame's top; the frame was the label, which was the track's height, so the track is
     the frame now and the knob stays centred in it */
  body.tfx #compare #data-feed-row > td > label > div { position: relative; }
}
@media (max-width: 767.98px) {
  body.tfx #compare #data-feed-container-mobile > label { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  body.tfx #compare #data-feed-container-mobile > label > div.flex-col { display: contents; }
  body.tfx #compare #data-feed-container-mobile > label > div.flex-col > span { grid-column: 1; }
  body.tfx #compare #data-feed-container-mobile > label > div.relative { grid-column: 2; grid-row: 1 / 3; }
}
body.tfx #compare .text-xs.text-gray-500 { color: var(--c1-ink-soft) !important; }

/* the phone layout: the billing card and the seat cards are sheets with an ink edge; the estimate
   is band paper like the desktop head; the Full Seat card is the sheet that matters (2px ink top) */
body.tfx #compare .md\:hidden > div { border-radius: var(--c1-r-card) !important; }
/* the 2px-bordered cards keep their 2px border box: the border goes clear and the same edge as the
   1px-bordered cards beside them (1px plus half a pixel) is drawn as a frame at the outer edge of the
   2px border (inset is the border's own 2px, which is the rule's width) */
body.tfx #compare .md\:hidden > div.border-2 {
  border-color: transparent !important;
  box-shadow: none !important;
  position: relative;
}
body.tfx #compare .md\:hidden > div.border-2::after {
  content: ''; position: absolute; inset: calc(var(--c1-rule) * -1); pointer-events: none;
  border: 1px solid var(--c1-hair); border-radius: var(--c1-r-card);
  box-shadow: inset 0 0 0 0.5px var(--c1-hair);
}
body.tfx #compare .md\:hidden > div.bg-gradient-to-r {
  background-color: var(--c1-band) !important;
  background-image: none !important;
}
/* the Full Seat card is the sheet that matters: its top edge is the 2px ink rule */
body.tfx #compare .md\:hidden > div.border-2.border-brand-green::after { box-shadow: inset 0 0 0 0.5px var(--c1-hair), inset 0 1px 0 var(--c1-hair); }
body.tfx #compare .md\:hidden #total-price-mobile { color: var(--c1-ink) !important; font-variant-numeric: tabular-nums; }
/* the phone seat prices: today a site-wide span rule resets them to 400 inside a bold wrapper;
   they take the strong weight, as on desktop */
body.tfx #compare .md\:hidden .font-bold > .annual-price, body.tfx #compare .md\:hidden .font-bold > .monthly-price { font-weight: var(--c1-w-strong, 600); }
body.tfx #compare .md\:hidden #price-period-mobile, body.tfx #compare .md\:hidden #seat-count-mobile { color: var(--c1-ink-soft) !important; }
body.tfx #compare .md\:hidden > div:not(.border-2) { border-color: var(--c1-hair) !important; box-shadow: inset 0 0 0 0.5px var(--c1-hair) !important; }
/* the feature names in the phone cards are labels that link: ink, underlined only on hover, as on desktop */
body.tfx #compare .md\:hidden li > a[href^='/products/']:not([aria-label]) { text-decoration: none; }

/* "Always included", the section after the price list: ticks in the green's text step */
body.tfx #compare + section svg.text-brand-green-dark { color: var(--c1-green-text); }
body.tfx #compare + section span.text-gray-700 { color: var(--c1-ink) !important; }
body.tfx #compare + section p.text-gray-600 { color: var(--c1-ink-soft) !important; }

/* ---------- 3. Comparison tables on the alternative and "vs" pages ---------- */
/* "Tallyfy vs. X" (.comparison-table-section) and "AI readiness comparison" (.ai-scorecard-section):
   one sheet with a hairline edge; its head a label row on the same sheet, the rows' own top edge the one hairline
   under it (the head has no foot edge), hairlines between rows, the Tallyfy column as a flat green-tint stripe, ticks
   in the green's text step and crosses in ink. No alarm red, no sage, no 12px corners. */
body.tfx .comparison-header, body.tfx .ai-scorecard-header {
  background-color: var(--c1-sheet) !important;
  border-color: var(--c1-hair) !important;
  border-radius: var(--c1-r-card) var(--c1-r-card) 0 0 !important;
  box-shadow: none !important;
}
body.tfx .comparison-rows, body.tfx .ai-scorecard-rows {
  background-color: var(--c1-sheet);
  border-color: var(--c1-hair) !important;
  border-radius: 0 0 var(--c1-r-card) var(--c1-r-card) !important;
  box-shadow: none !important;
}
body.tfx .comparison-row, body.tfx .ai-scorecard-row { border-bottom-color: var(--c1-hair) !important; }
body.tfx .comparison-row:hover, body.tfx .ai-scorecard-row:hover { background-color: transparent !important; }
/* the head's words: small ink capitals; the competitor's name in ink */
body.tfx .header-feature, body.tfx .ai-header-criterion { color: var(--c1-ink) !important; letter-spacing: 0.12em; font-weight: var(--c1-w-strong, 600); }
body.tfx .competitor-name, body.tfx .ai-competitor-name { color: var(--c1-ink) !important; font-weight: var(--c1-w-strong, 600); }
/* the competitor's full name in the head, never cut (art director's fault 9): the component caps it at 100px on one
   line with an ellipsis, and "Process Street" is 100.1px in this weight, so it read "Process Str...". The name takes
   its column and a little of the gaps beside it, wraps between words, centred, on a line of 1.25. Every name on the 75 pages that carry the head fits two lines (35px), inside the
   40px of the Tallyfy mark beside it, so the head keeps its height. Under 641px the head cells are hidden for screen
   readers only, and this leaves them alone. The AI readiness scorecard's head has the same cap and the same fix.
   Its width: 124px from 769 (6px clear of the Tallyfy stripe, below), 112px from 641 to 768, where no stripe is drawn. */
@media (min-width: 641px) {
  body.tfx .comparison-header .competitor-name, body.tfx .ai-scorecard-header .ai-competitor-name {
    flex-shrink: 0;
    max-width: calc(100% + 0.25rem);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
    text-wrap: balance;
  }
}
@media (min-width: 641px) and (max-width: 768px) {
  body.tfx .comparison-header .competitor-name, body.tfx .ai-scorecard-header .ai-competitor-name { max-width: calc(100% + 0.75rem); }
}
/* the Tallyfy column: one flat stripe of the green's tint behind the last column, head and rows,
   drawn as a hard-edged band (no fade) so nothing in the grid moves; desktop and tablet grids only.
   It ends in the middle of the gap between the two columns (the 1.5rem padding, the 120px column and half the 1rem
   gap: 152px), so no part of the competitor's column is green (it was 168px, 8px into that column) */
@media (min-width: 769px) {
  body.tfx .comparison-header, body.tfx .comparison-rows, body.tfx .ai-scorecard-header, body.tfx .ai-scorecard-rows {
    background-image: linear-gradient(to left, var(--c1-green-tint) 0 152px, transparent 152px) !important;
  }
  /* the name may reach 2px into the gap, so it stays 6px clear of the stripe */
  body.tfx .comparison-header .competitor-name, body.tfx .ai-scorecard-header .ai-competitor-name { max-width: calc(100% + 0.25rem); }
}
/* on a phone the head's cells are clipped for screen readers only; the system sheet folds the empty head
   away, so the sheet opens on its first row in its own hairline frame; each row's Tallyfy line takes the
   green's tint as a flat stripe behind it (paint only, the row keeps its box) */
@media (max-width: 640px) {
  body.tfx .comparison-header, body.tfx .ai-scorecard-header {
    background-color: var(--c1-sheet) !important;
    box-shadow: none !important;
  }
  body.tfx .row-tallyfy, body.tfx .ai-row-tallyfy {
    background-color: var(--c1-green-tint);
    box-shadow: -10px 0 0 var(--c1-green-tint), 10px 0 0 var(--c1-green-tint);
    border-radius: var(--c1-r-ctl);
  }
  body.tfx :is(.row-tallyfy, .ai-row-tallyfy) .mobile-label,
  body.tfx .ai-row-tallyfy .ai-mobile-label { color: var(--c1-ink) !important; font-weight: 600; }
}
/* the row numbers: band paper discs with ink figures */
body.tfx .comparison-row .row-number { background-color: var(--c1-band) !important; color: var(--c1-ink) !important; box-shadow: inset 0 0 0 1px var(--c1-hair); font-variant-numeric: tabular-nums; }
body.tfx .row-label, body.tfx .ai-criterion-name { color: var(--c1-ink) !important; }
body.tfx .ai-criterion-desc { color: var(--c1-ink-soft) !important; }
body.tfx .mobile-label, body.tfx .ai-mobile-label { color: var(--c1-ink-soft) !important; }
/* the marks: a tick is done (green text step), a cross is the soft ink, never red */
body.tfx .comparison-table-section .icon-check, body.tfx .ai-scorecard-section .ai-icon-check { color: var(--c1-green-text) !important; }
body.tfx .comparison-table-section .icon-x, body.tfx .ai-scorecard-section .ai-icon-x { color: var(--c1-ink-soft) !important; }
/* the Tallyfy column head: the logo's own flat three-ink folded crane in place of the old textured
   crane picture, in exactly the picture's box (360 by 264, 40px tall) */
body.tfx .comparison-header img.tallyfy-logo, body.tfx .ai-scorecard-header img.ai-tallyfy-logo {
  content: url('/brand/v1/tallyfy-mark-v1.svg');
  height: 40px; width: auto; aspect-ratio: 360 / 264;
  object-fit: contain;
}
body.tfx .ai-scorecard-subtitle, body.tfx .ai-scorecard-note { color: var(--c1-ink-soft) !important; }
body.tfx .ai-scorecard-note a { color: var(--c1-ink) !important; text-decoration-color: var(--c1-ink); }
body.tfx .ai-scorecard-note a:hover { text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }

/* the positioning chart: Tallyfy on the sheet, a "vs" line on the page paper between hairlines, the
   alternatives on band paper (it was a pink panel), the vendor chips as quiet printed chips */
body.tfx .positioning-chart-wrap > div { background-color: var(--c1-sheet) !important; position: relative; }
/* its 1px border plus half a pixel, drawn over the bands inside it (they would cover an inset shadow) */
body.tfx .positioning-chart-wrap > div::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--c1-r-ctl); box-shadow: inset 0 0 0 0.5px var(--c1-hair);
}
body.tfx .positioning-chart-wrap .bg-green-50 { background-color: var(--c1-sheet) !important; }
body.tfx .positioning-chart-wrap .bg-green-50 > p { color: var(--c1-ink) !important; }
body.tfx .positioning-chart-wrap .bg-page {
  background-color: var(--c1-paper) !important;
  color: var(--c1-ink) !important;
  box-shadow: inset 0 1px 0 var(--c1-hair), inset 0 -1px 0 var(--c1-hair);
}
body.tfx .positioning-chart-wrap .bg-red-50 { background-color: var(--c1-band) !important; }
body.tfx .positioning-chart-wrap .bg-red-50 > p.uppercase { color: var(--c1-orange-text) !important; letter-spacing: var(--c1-label-track); }
/* the chart's titles and its "vs" at the strong weight, nothing heavier (the type ruling of 2026-11-16) */
body.tfx .positioning-chart-wrap p.font-bold, body.tfx .positioning-chart-wrap div.bg-page { font-weight: var(--c1-w-strong, 600); }
body.tfx .positioning-chart-wrap .bg-red-50 > p.italic { color: var(--c1-ink-soft) !important; }
body.tfx .positioning-chart-wrap .bg-red-50 a.no-underline {
  background-color: var(--c1-sheet) !important;
  border-color: var(--c1-edge) !important;
  border-radius: var(--c1-r-ctl) !important;
  color: var(--c1-ink) !important;
  box-shadow: none !important;
}
body.tfx .positioning-chart-wrap .bg-red-50 a.no-underline:hover {
  border-color: var(--c1-edge) !important;
  color: var(--c1-ink) !important;
  text-decoration: underline; text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
body.tfx .positioning-chart-wrap .bg-red-50 span.border-dashed {
  background-color: transparent !important;
  border-color: var(--c1-edge) !important;
  border-radius: var(--c1-r-ctl) !important;
  color: var(--c1-ink-soft) !important;
}
body.tfx .positioning-chart-wrap > p.italic { color: var(--c1-ink-soft) !important; }
/* every chip shows its full name ("Automation Anywh..." was cut, today's site too): a long name wraps to a second line
   inside its chip, the chips of that row take the same height (the grid's own stretch), and every name is centred
   in its chip both ways */
body.tfx .positioning-chart-wrap .bg-red-50 a.truncate, body.tfx .positioning-chart-wrap .bg-red-50 span.truncate {
  display: flex !important;
  align-items: center;
  justify-content: center;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-wrap: balance;
}

/* the competitor's price card: their prices in ink and tabular, never the action green */
body.tfx div.pt-10.pb-8:has(.tier-card) > div:first-child svg.text-primary { color: var(--c1-ink-soft) !important; }
body.tfx div.pt-10.pb-8:has(.tier-card) > div:first-child .text-gray-800 { color: var(--c1-ink) !important; }
body.tfx div.pt-10.pb-8:has(.tier-card) > div:first-child > a {
  color: var(--c1-ink) !important;
  text-decoration: underline; text-decoration-color: var(--c1-ink); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
body.tfx div.pt-10.pb-8:has(.tier-card) > div:first-child > a:hover { text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }
/* the system's card rule draws the tier card's sheet and thin ink border; it does not lift on hover */
body.tfx .tier-card { transform: none !important; }
body.tfx .tier-card .text-primary { color: var(--c1-ink) !important; font-weight: var(--c1-w-strong, 600); font-variant-numeric: tabular-nums; }
body.tfx .tier-card li::marker { color: var(--c1-ink-soft); }
body.tfx .tier-card ul { color: var(--c1-ink-soft) !important; }
body.tfx div.pt-10.pb-8:has(.tier-card) > div.text-xs { color: var(--c1-ink-soft) !important; border-color: var(--c1-hair) !important; }

/* ---------- 5. Forms a visitor can reach ---------- */

/* the Close web form (contact, account closure): its colors are custom properties on its host,
   which the page may set; the face and the focus ring inside its shadow root are set by
   40-pricing-forms.js. Fields on the sheet with an ink edge, ink words, 3px corners, the green
   ticket to submit. */
body.tfx close-form {
  --fieldBorderRadius: var(--c1-r-ctl);
  --labelTextColor: var(--c1-ink);
  --fieldTextColor: var(--c1-ink);
  --fieldBackgroundColor: var(--c1-sheet);
  --fieldBorderColor: var(--c1-ink);
  --submitButtonTextColor: var(--c1-ink);
  --submitButtonBackgroundColor: var(--c1-green);
  --submitButtonBorderColor: var(--c1-ink);
  --formTextColor: var(--c1-ink);
  --formBorderColor: var(--c1-ink);
  --formBackgroundColor: var(--c1-sheet);
}
/* the card it sits in: the sheet, a thin ink edge drawn outside its box, 4px corners, no soft shadow */
body.tfx main section > div.shadow-lg:has(> close-form) {
  background-color: var(--c1-sheet) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: 0 0 0 var(--c1-line) var(--c1-hair) !important;
}

/* the newsletter form: a sheet with an ink edge (it was a grey panel), the system's field, the
   green ticket to subscribe, ink words */
body.tfx main form[action*='newsletter'] { color: var(--c1-ink); }
body.tfx main div.bg-gray-50:has(> form[action*='newsletter']) {
  background-color: var(--c1-sheet) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: 0 0 0 var(--c1-line) var(--c1-hair) !important;
}
body.tfx main form[action*='newsletter'] label { color: var(--c1-ink) !important; }
/* the field is the system's field (section 8: its 1px ink border, the half pixel, the control corner);
   hover firms the edge, and a field left in error takes the error edge */
body.tfx main form[action*='newsletter'] input[type='email']:hover:not(:focus) { box-shadow: inset 0 0 0 1px var(--c1-edge); }
body.tfx main form[action*='newsletter'] input[type='email']:user-invalid:not(:focus) {
  border-color: var(--c1-orange-deep); box-shadow: inset 0 0 0 1px var(--c1-orange-deep);
}
body.tfx main form[action*='newsletter'] button[type='submit'] {
  background-color: var(--c1-green) !important;
  color: var(--c1-ink) !important;
  border-radius: var(--c1-r-ctl) !important;
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-ink) !important;
  -webkit-text-stroke: 0.35px currentColor;
  transition: background-color 0.15s ease, transform 0.08s ease;
}
body.tfx main form[action*='newsletter'] button[type='submit']:hover { background-color: var(--c1-green-hover) !important; }
body.tfx main form[action*='newsletter'] button[type='submit']:active { transform: translateY(1px); }
body.tfx main form[action*='newsletter'] p.text-xs { color: var(--c1-ink-soft) !important; }

/* the contact page around its form (scoped to a page that carries the Close form) */
/* the four ways to reach us: one ink for the icons, ink words, no green hover on plain text */
:where(html[data-tfx-has~="close-form"]) body.tfx main:is(main, close-form) .text-center > div.text-brand-green-dark { color: var(--c1-ink) !important; } /* 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). */
:where(html[data-tfx-has~="close-form"]) body.tfx main:is(main, close-form) .text-center > p.text-gray-600 { color: var(--c1-ink-soft) !important; }
:where(html[data-tfx-has~="close-form"]) body.tfx main:is(main, close-form) .text-center > p > span:not(:not([class*='hover:'])) { color: inherit !important; } /* Double not: filed under the tag (tallyfy/website-astro#760). */
/* the social marks: the soft ink, ink on hover */
:where(html[data-tfx-has~="close-form"]) body.tfx main:is(main, close-form) a.text-gray-500:has(> svg) { color: var(--c1-ink-soft) !important; }
:where(html[data-tfx-has~="close-form"]) body.tfx main:is(main, close-form) a.text-gray-500:has(> svg):hover { color: var(--c1-ink) !important; }
/* "Prefer to talk?": the night paper, flat, cream words; "Book a call" is the orange ticket */
body.tfx main section.bg-brand-green-dark:has(a[href^='/booking']) {
  background-color: var(--c1-night) !important;
  background-image: var(--c1-grain-night) !important;
}
body.tfx main section.bg-brand-green-dark:has(a[href^='/booking']) p { color: var(--c1-cream) !important; }
/* the newsletter page's three "Why subscribe?" icons: one ink, as on the contact page */
:where(html[data-tfx-has~="newsletter-form"]) body.tfx main:is(main, form[action*='newsletter']) .text-center > div.text-\[\#01803d\] { color: var(--c1-ink) !important; }

/* the RFP page (it sends a visitor to the contact form): "Submit your RFP" is the green ticket beside
   the orange "Book a call"; its two info cards are sheets with an ink edge; its links are ink */
body.tfx main a[href='/contact/'].bg-brand-green-dark {
  background-color: var(--c1-green) !important;
  color: var(--c1-ink) !important;
  border-radius: var(--c1-r-ctl) !important;
  box-shadow: inset 0 0 0 var(--c1-line) var(--c1-ink) !important;
  -webkit-text-stroke: 0.35px currentColor;
  transition: background-color 0.15s ease, transform 0.08s ease;
}
body.tfx main a[href='/contact/'].bg-brand-green-dark:hover { background-color: var(--c1-green-hover) !important; }
body.tfx main a[href='/contact/'].bg-brand-green-dark:active { transform: translateY(1px); }
:where(html[data-tfx-has~="contact-cta"]) body.tfx main:is(main, a[href='/contact/'].bg-brand-green-dark) .grid > div.rounded-lg.shadow {
  background-color: var(--c1-sheet) !important;
  border-radius: var(--c1-r-card) !important;
  box-shadow: 0 0 0 var(--c1-line) var(--c1-hair) !important;
}
:where(html[data-tfx-has~="contact-cta"]) body.tfx main:is(main, a[href='/contact/'].bg-brand-green-dark) a.text-\[\#01803d\] { color: var(--c1-ink) !important; text-decoration-color: var(--c1-ink); }
:where(html[data-tfx-has~="contact-cta"]) body.tfx main:is(main, a[href='/contact/'].bg-brand-green-dark) a.text-\[\#01803d\]:hover { text-decoration-color: var(--c1-orange); text-decoration-thickness: 2px; }

/* ---------- 6. The fair price guarantee's discount table: the same printed sheet as the price list ---------- */
:where(html[data-tfx-has~="gdp-map"]) body.tfx main:is(main, img[src*='countries_by_gdp']) table {
  background-color: var(--c1-sheet);
  outline: 1px solid var(--c1-hair);
  outline-offset: -1px;
}
:where(html[data-tfx-has~="gdp-map"]) body.tfx main:is(main, img[src*='countries_by_gdp']) table thead tr { border-bottom-color: transparent !important; }
:where(html[data-tfx-has~="gdp-map"]) body.tfx main:is(main, img[src*='countries_by_gdp']) table tbody > tr { border-color: var(--c1-hair) !important; }
:where(html[data-tfx-has~="gdp-map"]) body.tfx main:is(main, img[src*='countries_by_gdp']) table td { color: var(--c1-ink); }

/* ---------- 7. Alignment correction (lead's ruling 2026-11-15, art director's item 16) ----------
   Today the Light Seat price takes a 1.75 line height from a site-wide rule
   (.text-gray-700 { line-height: 1.75 !important }) while the Full Seat price keeps text-2xl's 2rem,
   so the Light Seat column is 0.525rem taller: its heading sits about 4px higher and its stepper
   about 4px lower than the Full Seat's. The Light Seat price takes the same 2rem line, and the cell
   gets the removed 0.525rem back as padding, half above and half below, so the header row keeps its
   height and nothing outside the Light Seat column moves. Both columns then centre the same stack:
   headings, prices and steppers share baselines. */
body.tfx #pricing-table thead th:nth-child(3) .annual-price, body.tfx #pricing-table thead th:nth-child(3) .monthly-price { line-height: 2rem !important; }
body.tfx #pricing-table thead th:nth-child(3) {
  padding-top: calc(1rem + 0.2625rem) !important;
  padding-bottom: calc(1rem + 0.2625rem) !important;
}

/* ---------- 8. The edge cells of the two printed tables (the price list, the fair price table) ----------
   Each cell on an edge of the table draws a 1.5px inset ink line on that side; the table's 1px outline
   lies over the outer pixel, so the edge reads 1px plus half a pixel, like every card. One variable per
   side, so a corner cell carries two lines and a single full-width cell carries both sides. */
body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) th, body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) td {
  --c1-e-t: 0 0 transparent; --c1-e-r: 0 0 transparent; --c1-e-b: 0 0 transparent; --c1-e-l: 0 0 transparent;
  box-shadow: var(--c1-e-t), var(--c1-e-r), var(--c1-e-b), var(--c1-e-l);
}
body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) thead tr:first-child > :where(th), body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) thead tr:first-child > :where(td) { --c1-e-t: inset 0 var(--c1-line) 0 var(--c1-ink); }
body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) tr > :where(th):first-child, body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) tr > :where(td):first-child { --c1-e-l: inset var(--c1-line) 0 0 var(--c1-ink); }
body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) tr > :where(th):last-child, body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) tr > :where(td):last-child { --c1-e-r: inset calc(var(--c1-line) * -1) 0 0 var(--c1-ink); }
body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) tbody tr:last-child > :where(th), body.tfx :is(#pricing-table, :where(html[data-tfx-has~="gdp-map"]) main:is(main, img[src*='countries_by_gdp']) table) tbody tr:last-child > :where(td) { --c1-e-b: inset 0 calc(var(--c1-line) * -1) 0 var(--c1-ink); }

/* ---------- 9. The fair price page: the world map as a mounted print, and its numbered rules in ink ----------
   The map is a raster of GDP-per-capita bands (dark red the lowest, then red, orange, mustard, yellow, lime, the greens,
   navy the highest; grey has no data). The page prints no legend; the table below is the authoritative list. So the
   colours only need to keep their order and stay apart. The sheet mat and the thin ink edge are drawn by the section
   behind the picture, exactly the picture's box, because a filter on the picture would also tint a frame drawn on it.
   The picture itself is printed onto the sheet: half the saturation and a little warmth. Measured on the PNG's own
   palette, neighbouring bands stay at least 14.4 apart (CIE delta E; today 27.1), and the two dark ends, dark red and
   navy, 64.2 apart. Nothing moves: the section and the picture only become positioned, and the frame is absolute. */
body.tfx main section:has(> img[src*='countries_by_gdp']) { position: relative; }
body.tfx main section:has(> img[src*='countries_by_gdp'])::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  /* the picture's own box: centred, its natural 800px or the content width, standing on the section's 3rem padding */
  left: 0; right: 0; margin-inline: auto; bottom: 3rem;
  width: min(800px, calc(100% - 2rem)); aspect-ratio: 800 / 414;
  background-color: var(--c1-sheet);
  box-shadow: 0 0 0 var(--c1-mat) var(--c1-sheet), 0 0 0 calc(var(--c1-mat) + 1px) var(--c1-hair);
}
@media (min-width: 640px) { body.tfx main section:has(> img[src*='countries_by_gdp'])::before { width: min(800px, calc(100% - 3rem)); } }
@media (min-width: 1024px) { body.tfx main section:has(> img[src*='countries_by_gdp'])::before { width: min(800px, calc(100% - 4rem)); } }
body.tfx main img[src*='countries_by_gdp'] {
  position: relative; z-index: 1;
  border-radius: 0 !important;
  filter: saturate(0.5) sepia(0.15);
}
/* the numbered rules: the numerals in ink; green is for action and done, and these are neither (a site-wide round 2
   rule sets every ordered list's numerals in the green's text step). Colour only, so no numeral changes width. */
:where(html[data-tfx-has~="gdp-map"]) body.tfx main:is(main, img[src*='countries_by_gdp']) ol > li::marker { color: var(--c1-ink); }

/* ---------- 10. Search results (art director's fault 8) ----------
   Google draws its results into the page's own document, so they take the page's paper, ink and link (kitchen sink 24):
   no white panels, no green title, no link is green. Google's own style and the site's route sheet
   (custom/search.css) set the white and the green, some with !important, so these rules carry it too. Colour, edge and
   face only: every box keeps its size. Keyed on the search page's canonical mark. */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-control-cse,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-webResult.gsc-result,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-webResult.gsc-result:hover {
  background-color: transparent !important;
  border-color: transparent !important;
}
/* one hairline between results, at rest and on hover (the route sheet keeps the last one clear) */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-webResult.gsc-result,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-webResult.gsc-result:hover { border-bottom-color: var(--c1-hair) !important; }
/* the title is a link like any other: ink, the ink underline a little below, 2px of orange on hover; the query word
   Google sets bold stays bold, in ink, under the same line */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult.gs-result a.gs-title,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult.gs-result a.gs-title b {
  color: var(--c1-ink) !important;
}
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult.gs-result a.gs-title {
  text-decoration: underline !important;
  text-decoration-color: var(--c1-ink) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.24em;
}
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult.gs-result a.gs-title b { text-decoration: none !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult.gs-result a.gs-title:hover {
  text-decoration-color: var(--c1-orange) !important;
  text-decoration-thickness: 2px !important;
}
/* where it lives and what it says: the soft ink; the query word in the snippet in ink */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult div.gs-visibleUrl,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult .gs-snippet,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-result-info,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-orderby-label { color: var(--c1-ink-soft) !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gs-webResult .gs-snippet b { color: var(--c1-ink) !important; }
/* "Sort by:" was set in Arial by Google's theme: the page's own face */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-orderby-label { font-family: var(--c1-body) !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-selected-option-container { color: var(--c1-ink) !important; }
/* the sort menu when open: a sheet with an ink edge, the chosen line on band paper */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-option-menu {
  background-color: var(--c1-sheet) !important;
  border-color: var(--c1-hair) !important;
  border-radius: var(--c1-r-ctl);
  box-shadow: none !important;
}
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-option-menu-item { color: var(--c1-ink) !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-option-menu-item-highlighted { background-color: var(--c1-band) !important; }
/* 'Search "workflow" on Google' under the page numbers is a link like any other (Google's theme set it and its
   magnifier in the green): ink, the ink underline under its words (the query word is its own span, so it carries the line too), 2px of orange on hover */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gcsc-more-maybe-branding-root .gcsc-find-more-on-google { color: var(--c1-ink) !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gcsc-more-maybe-branding-root .gcsc-find-more-on-google-magnifier { fill: var(--c1-ink) !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gcsc-more-maybe-branding-root .gcsc-find-more-on-google-text,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gcsc-more-maybe-branding-root .gcsc-find-more-on-google-query {
  text-decoration: underline;
  text-decoration-color: var(--c1-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gcsc-more-maybe-branding-root a:hover .gcsc-find-more-on-google-text,
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gcsc-more-maybe-branding-root a:hover .gcsc-find-more-on-google-query {
  text-decoration-color: var(--c1-orange);
  text-decoration-thickness: 2px;
}
/* a picture beside a result: a printed photo, the control corner and a hairline drawn over its edge */
:where(html[data-tfx-canonical$="/search/"]) body.tfx img.gs-image {
  border-radius: var(--c1-r-ctl) !important;
  outline: 1px solid var(--c1-hair);
  outline-offset: -1px;
}
/* the page numbers are the system's page numbers (system.css 50b, kitchen sink 21), drawn with its page-number
   properties (--c1-pg-*), so this pager, the posts' "Newer posts" and "Older posts" and the kitchen sink cannot drift:
   the quiet printed button, band paper on hover; the page you are on is band paper with a 2px orange rule along its
   foot, at 700; focus is the system's ring round the number's own edge, which stays under it. Google's own box sizes
   (27px, 14px figures) are kept: they are layout, and only the paint is the system's. */
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-results .gsc-cursor-box .gsc-cursor-page {
  color: var(--c1-pg-ink) !important;
  background-color: var(--c1-pg-bg) !important;
  border-color: var(--c1-pg-edge) !important;
  border-radius: var(--c1-pg-radius) !important;
  box-shadow: var(--c1-pg-shadow);
  font-weight: var(--c1-pg-weight);
  text-decoration: none !important;
  font-variant-numeric: tabular-nums;
}
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-results .gsc-cursor-box .gsc-cursor-page:hover { background-color: var(--c1-pg-hover-bg) !important; }
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  background-color: var(--c1-pg-current-bg) !important;
  box-shadow: var(--c1-pg-current-shadow);
  font-weight: var(--c1-pg-current-weight);
}
:where(html[data-tfx-canonical$="/search/"]) body.tfx .gsc-results .gsc-cursor-box .gsc-cursor-current-page:focus-visible { box-shadow: var(--c1-pg-current-shadow) !important; }

/* ---------- 11. The calm rules for pricing and forms (the calm ruling, owner decisions 55 to 59) ---------- */
/* the cost calculator ("What busywork costs your company", 40-pricing-forms.css section 1): one quiet sheet.
   A hairline edge; a field and its unit are one control with the quiet edge, the unit in soft ink on the sheet;
   the sum line is a hairline; "What's busywork?" is a quiet word with no box. */
body.tfx.tfx [data-roi-widget].card-snipped { border-color: var(--c1-hair) !important; }
body.tfx.tfx [data-roi-widget] .roi-input { border-color: var(--c1-edge) !important; }
body.tfx.tfx [data-roi-widget] .roi-input:not(:focus) { box-shadow: none; }
body.tfx.tfx [data-roi-widget] .roi-input:hover:not(:focus) { box-shadow: inset 0 0 0 1px var(--c1-edge); }
body.tfx.tfx [data-roi-widget] label .flex > span { background-color: transparent !important; border-color: var(--c1-edge) !important; box-shadow: none; }
body.tfx.tfx [data-roi-widget] label .flex > span.rounded-r-lg,
body.tfx.tfx [data-roi-widget] label .flex > span.rounded-l-lg { box-shadow: none; }
body.tfx.tfx [data-roi-widget] .border-y { border-top-color: var(--c1-hair) !important; }
body.tfx.tfx.tfx.tfx.tfx.tfx.tfx main [data-roi-widget] a.rounded-full.border {
  border-color: transparent !important; background-color: transparent !important; box-shadow: none !important;
  color: var(--c1-ink-soft) !important; font-weight: var(--c1-w-label, 500);
}
body.tfx.tfx.tfx.tfx.tfx.tfx.tfx main [data-roi-widget] a.rounded-full.border:hover { background-color: var(--c1-band) !important; color: var(--c1-ink) !important; }

/* ---------- 5. Pricing ---------- */
/* the rule under the billing switch goes: space parts the switch from the price list */
body.tfx #compare .hidden.md\:block > .border-b { border-bottom-color: transparent !important; }

/* a switch is a control: its track takes the quiet edge at 1px; the knob keeps a thin ink ring so "on" and "off" still tell apart */
body.tfx #compare .billing-toggle-btn { box-shadow: inset 0 0 0 1px var(--c1-edge) !important; }
body.tfx #compare .billing-toggle-btn .toggle-circle { box-shadow: 0 0 0 1px var(--c1-ink) !important; }
body.tfx #compare #data-feed-toggle + div,
body.tfx #compare #data-feed-toggle-mobile + div { box-shadow: inset 0 0 0 1px var(--c1-edge) !important; }
body.tfx #compare #data-feed-toggle + div::after,
body.tfx #compare #data-feed-toggle-mobile + div::after { box-shadow: none; }

/* the price list is one sheet with a hairline edge: no ink frame, no line drawn by the edge cells */
body.tfx #pricing-table { outline-color: var(--c1-hair); }
body.tfx #pricing-table th,
body.tfx #pricing-table td { box-shadow: none; }
/* its head: a hairline under the estimate and the two seats */
body.tfx.tfx #pricing-table thead th { border-bottom: 1px solid var(--c1-hair); }

/* the section rows (FEATURES, AVAILABLE ROLES, ADD-ONS) are quiet labels: no band, more room above them */
body.tfx #pricing-table tbody tr.bg-gray-50 { background-color: transparent !important; }
body.tfx #pricing-table tbody tr.bg-gray-50 > td { color: var(--c1-ink-soft) !important; padding-top: var(--c1-s-6); padding-bottom: 14px; }

/* room: a cell keeps 14px above and below; the first and last columns' words stand 24px inside the sheet */
body.tfx #pricing-table tbody tr:not(.bg-gray-50) > th,
body.tfx #pricing-table tbody tr:not(.bg-gray-50) > td { padding-top: 14px; padding-bottom: 14px; }
body.tfx #pricing-table tr > th:first-child,
body.tfx #pricing-table tr > td:first-child { padding-left: var(--c1-s-5); }
body.tfx #pricing-table tr > th:last-child,
body.tfx #pricing-table tr > td:last-child { padding-right: var(--c1-s-5); }
body.tfx #pricing-table thead th:first-child { padding-top: var(--c1-s-5); padding-bottom: var(--c1-s-5); }

/* the seat steppers are quiet: a soft sign with no box at rest, the band paper behind it on hover */
body.tfx #compare #full-decrement, body.tfx #compare #full-increment, body.tfx #compare #light-decrement, body.tfx #compare #light-increment,
body.tfx #compare #full-decrement-mobile, body.tfx #compare #full-increment-mobile, body.tfx #compare #light-decrement-mobile, body.tfx #compare #light-increment-mobile {
  background-color: transparent !important; color: var(--c1-ink-soft) !important; box-shadow: none !important; font-weight: var(--c1-w-label, 500);
}
body.tfx #compare #full-decrement:hover, body.tfx #compare #full-increment:hover, body.tfx #compare #light-decrement:hover, body.tfx #compare #light-increment:hover,
body.tfx #compare #full-decrement-mobile:hover, body.tfx #compare #full-increment-mobile:hover, body.tfx #compare #light-decrement-mobile:hover, body.tfx #compare #light-increment-mobile:hover {
  background-color: var(--c1-band) !important; color: var(--c1-ink) !important; box-shadow: none !important;
}

/* the phone cards: the sheet with a hairline; the estimate keeps the band paper */
body.tfx #compare .md\:hidden > div:not(.border-2) { border-color: var(--c1-hair) !important; box-shadow: none !important; }
body.tfx #compare .md\:hidden > div.border-2::after { border-color: var(--c1-hair); box-shadow: none; }
body.tfx #compare .md\:hidden > div.border-2.border-brand-green::after { box-shadow: none; }

/* the seat counts are fields: the quiet edge */
/* (:not(:focus): an id outweighs the field rule of section 9, and a focused seat count showed no mark at all) */
body.tfx #compare #full-members:not(:focus), body.tfx #compare #light-members:not(:focus),
body.tfx #compare #full-members-mobile:not(:focus), body.tfx #compare #light-members-mobile:not(:focus) { border-color: var(--c1-edge) !important; box-shadow: none !important; }
/* on a phone the price cards keep 20px from the window, as the ruling's side margin */
@media (max-width: 639.98px) {
  body.tfx #compare > div.max-w-5xl { padding-left: 20px; padding-right: 20px; }
}

/* ---------- 16. Pricing, "Always included" ----------
   Five labels stood in five equal columns (147px each at 1440), and "Unlimited Guests*" with its help mark needs
   173px: the label broke in two and the mark hung beside the two lines, half way up. From 768px the five columns
   take their own words' widths and share the room left over, so each label is one line. Where a label must still
   wrap it runs as text, and its mark is tied to its last word by a word joiner, so the mark never stands alone
   on a line. */
@media (min-width: 768px) {
  body.tfx #compare + section .grid { grid-template-columns: repeat(5, auto); justify-content: space-between; }
}
body.tfx #compare + section .grid span.inline-flex,
body.tfx #compare + section .grid span.inline-flex > a { display: inline; }
body.tfx #compare + section .grid span.inline-flex > a::before { content: '\2060'; }
body.tfx #compare + section .grid span.inline-flex > a > svg { display: inline; vertical-align: -0.15em; }
