/*
 * Provider detail page.
 *
 * Loaded only on this route. services.css is already the hub's and the results
 * view's whole composition; making them download a detail page's styles to
 * render a grid of tiles is a cost with nothing on the other side of it.
 *
 * SCOPED UNDER .tp-services-page, like every other sheet in this tree, so a
 * loaded Services asset cannot restyle an ordinary Locations page. Tokens come
 * from locations.css's :root — none are redefined here.
 */

/* ------------------------------------------------------------ layout --- */

.tp-services-page.tp-services-provider {
  /* No top padding: the crumb band below sits flush against the product bar,
     as it does in the design source, and carries the gap itself. */
  padding-block: 0 64px;
  background: var(--tpl-white);
}

/* The crumb strip: full width, the product bar's 18px gutter, and the page's
   own top spacing hanging off its bottom edge. */
.tp-services-page .tp-services-provider__crumbs-band {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--tpl-line);
  background: var(--tpl-surface-alt);
}

.tp-services-page .tp-services-provider__crumbs {
  padding: 11px 18px;
}

/*
 * ONE BREAKPOINT, AND THE RAIL BENDS SO THERE ONLY NEEDS TO BE ONE — TL
 * 2026-09-30.
 *
 * The design source has exactly two layouts and one switch:
 * `@media (max-width:840px)` flips `.tp-desktop` off and `.tp-mobile` on. There
 * is no tablet composition to restore, so this page must not invent one.
 *
 * It had five. A fixed 372px rail cannot sit beside the article below roughly
 * 1100px — at 841 the main column comes to 373 — so the layout used to unstack
 * at 1100 while the card kept its desktop styling until 743, the code
 * disappeared at 768 and the phone bar arrived at 768 too. Between 744 and 768
 * that produced a bar over a desktop card, which is the state this change was
 * raised against.
 *
 * SO THE RAIL IS FLUID INSTEAD. `clamp(300px, 32%, 372px)` holds the source's
 * 372 wherever there is room for it — 32% of the 1200 rail is 384, so the
 * clamp's upper bound is what applies on a desktop — and shrinks to 300 rather
 * than forcing the column to drop. Everything inside it is already `width:
 * 100%` or a stretched flex item, so it reflows without a second set of rules.
 *
 * THE SWITCH IS 768px, AND IT IS THE ONE NUMBER WITH A DOCUMENT BEHIND IT.
 * CMO-25 §04 says of the QR code: "🔴 只在桌面显示，≤768px 整块隐藏". Nothing
 * names any other width for this page.
 *
 * It was briefly 809 — the design system's own mobile step, where
 * `--tp-site-gutter` goes 24 → 20 and the heading roles drop. Measured
 * 2026-09-30, that step is worth almost nothing here: the provider templates
 * use `tp-site-type-*` exactly zero times, so all 809 would buy this page is
 * 4px of gutter per side. A named brief beats that.
 *
 * The design source's own switch is 840, but its desktop side is a fixed 1280
 * canvas — it never has to answer what happens at 841, so it cannot settle
 * this either.
 */
.tp-services-page .tp-services-provider__layout {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 32%, 372px);
  align-items: start;
}

.tp-services-page .tp-services-provider__main {
  min-width: 0;
}

.tp-services-page .tp-services-provider__stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 64px;
}

.tp-services-page .tp-services-provider__section {
  min-width: 0;
}

.tp-services-page .tp-services-provider__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* The heading's own margin is the row's now. */
.tp-services-page .tp-services-provider__section-head .tp-services-provider__h2 {
  margin: 0;
}

/* ------------------------------------------------------- typography --- */

.tp-services-page .tp-services-provider__title {
  /* NO BOTTOM MARGIN — the status line below owns the gap, as the board does
     (`.pv-title` margin 0, `.pv-status` margin-top 6). This was 14px while the
     heading was followed straight by the paragraph; with the status line
     between them the two margins collapsed to 14 and sat 8px below the source.
     Measured 2026-11-04. */
  margin: 0;
  color: var(--tpl-ink);
  font-family: Poppins, system-ui, sans-serif;
  /* 32 / 600 / -0.4, FROM THE BOARD'S LAST PASS, NOT ITS FIRST. `.pv-title`
     is declared 44/600/-0.8 at the top of the stylesheet and then cut to
     32/-0.4 by the block the board labels `round 12: tighter page`, which sits
     ~400 lines further down and wins. The 2026-11-04 restoration read the base
     declaration, scaled it, and never reached the override -- which is how a
     40/700/-1px heading came to be called a match for a 32/600/-0.4 one.
     Re-measured against the rendered board 2026-11-05 at 1440 and 390.

     THE WEIGHT MOVES WITH IT. 700 was ours; the board has never set this
     heading above 600 in any pass. A page title at 700 beside 600 section
     headings is a second weight scale, not emphasis. */
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.12;
}

/*
 * THE PARKING DETAIL PAGE KEEPS THE PRE-v7 SCALE. It loads this same
 * stylesheet (locations-parking-provider.blade.php) and shares `__title`,
 * `__address*` and `__cta-solid`, but it was never drawn against
 * Services-Provider-v2-Ad-Large. Restyling it as a side effect of T29 would be
 * an unreviewed change to another surface, so the v7 values above are held off
 * it here and in the two blocks further down marked the same way.
 * OPEN: whether parking should adopt v7 too -- that is a design call, not a
 * consequence of this task.
 */
.tp-services-provider.tpl-parking-provider .tp-services-provider__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.18;
}

.tp-services-page .tp-services-provider__h2 {
  /* 18px, ONE SIZE FOR THE WHOLE COLUMN — board `.pv-main h2`, which ends at
     `18px !important` for every block including Verified by Trucker Path.
     Ours had drifted into five sizes (23 base, 15 address, 18 list, 20 card,
     17 band); a heading scale that changes per block stops being a scale.
     The dark panels keep their own larger roles, as the board does.

     18px IS THE CONTENT, NOT A DENSITY TRICK — design-system.md §3.4: integer
     pixel roles only, and this is the one the source names.

     NO `display: flex` HERE. The board sets `flex` + `gap: 12px` on its
     headings to hold an icon; none of ours carries one, and blockifying a
     heading changes how a long one wraps for nothing in return. Recorded as a
     deviation rather than copied. */
  margin: 0 0 18px;
  color: var(--tpl-ink);
  font-family: Poppins, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.35;
}

/* The source's two uses of this level are the review breakdown's headings at
   13px. The 15px one belonged to "What is on site?", which is not rendered —
   see _provider-capabilities.blade.php. */
.tp-services-page .tp-services-provider__h3 {
  margin: 0 0 12px;
  /* Board `.pv-mini`: 12/600 in the secondary ink (walkthrough 2026-11-24 P4). */
  color: var(--tpl-ink-secondary);
  font-size: 12px;
  font-weight: 600;
}

/* THE HEADLINE UNDER THE TITLE -- board `.pv-tagline`, QA #16.
   14 / 400 / 1.5, 6px under the title: Body S, a named role, not a half-step
   invented for density. The status line below already carries its own 6px top
   margin, so the title -> headline -> status rhythm is 6 / 6 with no further
   rule here, and a listing without a headline keeps the title -> status 6 it
   always had. The board sets it in the lede's colour, which in this stylesheet
   is the primary ink (see `__answer` below), not a lighter one -- it is the
   business's own line about itself. */
.tp-services-page .tp-services-provider__tagline {
  margin: 6px 0 0;
  color: var(--tpl-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tp-services-page .tp-services-provider__answer {
  /* 12px FROM THE STATUS LINE ABOVE, which is where the board puts this gap --
     `.pv-lede` owns its own top margin and `.pv-status` has no bottom one.
     Measured 2026-11-04: title→status 6, status→lede 12, lede→ticks 16. This
     read `0` because until the status line existed the heading's own 14px
     bottom margin was the whole gap; inserting a sibling between them left the
     paragraph butted against it, which is what the 390 capture showed. */
  margin: 12px 0 12px;
  /* THE ANSWER IS THE PAGE'S OWN VOICE, NOT A FOOTNOTE. The design source sets
     it in the primary ink; it had been rendering in the tertiary caption colour,
     which put the longest and first paragraph on the page a full level lighter
     than everything it introduces. */
  color: var(--tpl-ink);
  /* 14 / 1.65 -- THE BOARD'S `round 12` VALUE, NOT ITS OPENING ONE.
     `.pv-lede` opens at 16/1.7 and the same late block that cut the heading
     sets `font-size: 14px; line-height: 1.65`. The note this replaces ("16.5px
     in the source") was reading the first declaration. Body S is a named role;
     this is not a half-step invented to gain density. */
  font-size: 14px;
  line-height: 1.65;
  /* THE SOURCE ASKS FOR THIS AND NOTHING WAS CARRYING IT. `text-wrap: pretty`
     lets the browser avoid leaving one word alone on the last line; where it is
     not supported the paragraph wraps exactly as it did before. */
  text-wrap: pretty;
  /* THE `max-width: 84ch` THAT USED TO BE HERE WAS COPIED OFF THE WRONG
     ELEMENT (2026-09-22). In the design source the answer paragraph has no
     max-width — it runs the full content column. The 84ch belongs to the
     "no prices on file" notice further down the page (`prov.noPricesCopy`),
     which is a bordered aside and does want a shorter measure. Carrying it up
     here broke the first and longest paragraph on the page early, and nothing
     in the source asked for that. */
}

/* A SECTION'S STANDFIRST IS BODY, NOT CAPTION. The design source sets it in
   --tp-text-2, the supporting-text role, and it used to be set here in
   --tp-text-3 — the caption role, a level lighter than the paragraph it is.
   The two blocks that genuinely want the caption weight say so below. */
.tp-services-page .tp-services-provider__sub {
  max-width: 80ch;
  margin: 0 0 14px;
  color: var(--tpl-ink-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.tp-services-page .tp-services-provider__foot {
  max-width: 84ch;
  margin: 11px 0 0;
  /* proto @37270 `color:var(--tp-text-3)` — Caption ink, not the faint role. */
  color: var(--tpl-ink-soft);
  /* 11.5px in the source; the named Caption role is 12. */
  font-size: 12px;
  line-height: 1.65;
}

.tp-services-page .tp-services-provider__dot {
  color: var(--tpl-ink-faint);
}

/* --------------------------------------------------- crumbs / tools --- */

.tp-services-page .tp-services-provider__crumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
  color: var(--tpl-ink-soft);
  /* Prototype: 12.5px. Named Caption role instead. */
  font-size: 12px;
}

.tp-services-page .tp-services-provider__crumbs li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--tpl-ink-soft);
}

/* A LINKED LEVEL IS A LINK. The source leaves its crumb anchors to the canvas's
   own `a { color: var(--tp-brand) }` — the same brand blue every other link on
   the page gets — and spends the nav's grey on the levels that are only words.
   Painted grey the one crumb you can actually press looked exactly like the
   three you cannot. */
.tp-services-page .tp-services-provider__crumbs a {
  color: var(--tpl-blue);
  text-decoration: none;
}

.tp-services-page .tp-services-provider__crumbs a:hover {
  text-decoration: underline;
}

/* AND THE PAGE YOU ARE ON IS THE DARKEST THING IN THE TRAIL — proto @1023
   `color:var(--tp-text-1);font-weight:500`. It is the end of the trail and the
   name of what you are looking at, so it carries full ink while the levels
   above it stay in the nav's grey. */
.tp-services-page .tp-services-provider__crumbs [aria-current='page'] {
  color: var(--tpl-ink);
  font-weight: 500;
}

/* NOT A BRAND-BLUE LINK. The source draws this one as text — `font:500 13px`
   on `--tp-text-2` (proto @1378) — and it sits directly above the H1 beside
   Share / Save, which are the same weight and the same ink. Painted blue at
   14px it read as the loudest thing in the utility row, which is the row a
   driver is meant to look past. */
.tp-services-page .tp-services-provider__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tpl-ink-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.tp-services-page .tp-services-provider__back .tp-site-icon {
  fill: currentColor;
  transform: rotate(180deg);
}

/*
 * SHARE — board `.pv-share`, which lives on the Verified line and is pushed to
 * its right end (`margin-left: auto`). It was a bordered white chip in a tool
 * row above the card; the board draws a filled grey button inside the card.
 *
 * `--tpl-surface` IS THE BOARD'S `#f3f5f7`. The hover step `#e9edf0` has no
 * role of its own, so it takes the next surface down rather than a new hex.
 */
.tp-services-page .tp-services-provider__share {
  display: inline-flex;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: var(--tpl-surface);
  color: var(--tpl-ink);
  cursor: pointer;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

/* The glyph keeps its size when the label is long — the row is inline-flex and
   an svg left to flex would be the thing that gives. */
.tp-services-page .tp-services-provider__share .tp-site-icon {
  flex: none;
}

.tp-services-page .tp-services-provider__share:hover {
  background: var(--tpl-line-soft);
}

@media (max-width: 768px) {
  /* Board's own phone step: `height: 36px; padding: 0 10px`. */
  .tp-services-page .tp-services-provider__share,
  .tp-services-page .tp-services-provider__actions .tp-services-provider__save.tp-site-button {
    height: 36px;
    padding: 0 10px;
  }

}

/*
 * STACKED, NOT WRAPPED.
 *
 * `flex-wrap` did nothing here and could not: wrapping only happens when the
 * items no longer fit, and the copy column carries `min-width: 0` so it always
 * "fits" — it just gets narrower. Beside a `flex: none` button that refuses to
 * wrap its own label, the column was squeezed to 59px at 390, which set the
 * heading and the paragraph one word per line and ran the banner past a full
 * screen.
 *
 * Below the point where the argument and the button stop fitting side by side,
 * the banner becomes what it reads as: the case, then the thing it asks for.
 *
 * 743px is where they genuinely collide — the button is ~230px, the demand
 * link ~180px and two 20px gaps, so the copy has nothing usable left under
 * about 690px of inner width.
 */

/* The CTA kept its treatment when the banner became a card; only the selector
   moved. Mixed case in the source, uppercased here — see the partial. */
.tp-services-page .tp-services-provider__rail-owner-cta {

  padding: 13px 22px;
  border-radius: 8px;
  background: var(--tpl-warn);
  color: var(--tpl-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  margin-top: 14px;
  text-align: center;
}

/* ------------------------------------------------------------ chips --- */

/* ================================================ page surface ======= *
 *
 * GREY GROUND, WHITE CARDS — board `Services-Provider-v2-Ad-Large.dc.html`,
 * `.pv` / `.pv-intro` / `.pv-block`. Restored 2026-11-04 after a `ui-dev diff`
 * found the whole surface layer missing: every block on the board is a white
 * card on a tinted ground, and this page was drawing all of them flat on white.
 *
 * THE GROUND IS SCOPED TO THIS PAGE, NOT TO `.tp-services-page`. That class is
 * shared with the hub, the search page and the city pages, which are white on
 * purpose. The compound selector is the provider page and nothing else -- the
 * same pairing the board itself uses on its root element.
 *
 * THE TWO ARE ONE DECISION. The cards and the 16px rhythm below arrive
 * together: the board can afford 16px between blocks because each has its own
 * surface to be read against. Keeping the old 64px gaps with cards would
 * scatter them; taking the gaps down without cards would run the blocks into
 * one another. Change neither alone.
 */
.tp-services-page.tp-services-provider {
  background: var(--tpl-surface);
}

/* The crumbs keep the page's own white -- they sit above the content rail and
   the board draws them on white too. */
.tp-services-page .tp-services-provider__crumbs-band {
  background: var(--tpl-white);
}

/*
 * ONE CARD TREATMENT, NAMED ONCE.
 *
 * `--tpl-surface` and `--tpl-white` are roles; the shadow is not a token and
 * there is no shadow role in the palette, so it is written out here from the
 * board's own value and named for what it is. If a shadow role is ever added
 * to the Design System this should consume it instead.
 *
 * NOT ON THE DARK APP BAND. `.pv-appband` is not a `.pv-block` on the board
 * either -- it is its own dark surface and painting it white would delete the
 * one contrast the column has.
 */
.tp-services-page .tp-services-provider__intro,
.tp-services-page .tp-services-provider__section:not(.tp-services-provider__app) {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--tpl-white);
  box-shadow: 0 1px 2px rgba(1, 25, 50, 0.04), 0 6px 20px rgba(1, 25, 50, 0.04);
}

/*
 * THE COLUMN RHYTHM. `block` + per-section `margin-top: 64px` became a flex
 * column with the board's 16px gap. Measured 2026-11-04: board `.pv-main` is
 * `flex column` / `gap: 16px`, ours was 64px between blocks and nothing between
 * the loose title pieces.
 */
.tp-services-page .tp-services-provider__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*
 * THE CARD'S PADDING IS THE CARD'S, not the last child's margin plus it. The
 * title block's pieces carried bottom margins from the days when they were
 * loose on the page and the gap to whatever followed was theirs to make. Inside
 * a card the last of them adds to the padding: measured 2026-11-04, 20px at the
 * top against 52px at the bottom. The board's own last row has no margin.
 */
.tp-services-page .tp-services-provider__intro > :last-child {
  margin-bottom: 0;
}

.tp-services-page .tp-services-provider__stack {
  gap: 16px;
}

/* The gaps own the spacing now; the old per-block margins would add to them. */
.tp-services-page .tp-services-provider__section_photos,
.tp-services-page .tp-services-provider__stack {
  margin-top: 0;
}

.tp-services-page .tp-services-provider__chips {
  display: flex;
  align-items: center;
  /* Board `.pv-tags { gap: 8px }`. */
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 13px;
}

/*
 * QUESTIONS & ANSWERS (CMO-93 phase 2). The card body is the Locations detail page's
 * (poi.partials._qa-body, styled by locations.css); only the heading's role is this page's own:
 * every section here titles itself 18/600 with 18px beneath, where the detail page's cards use 24px.
 * The selectors carry enough specificity to outrank the card body's heading rule.
 */
.tp-services-page .tp-services-provider__qa .tpl-qa__head {
  margin-bottom: 18px;
}
.tp-services-page .tp-services-provider__qa .tpl-qa__head > h2 {
  font-size: 18px;
  line-height: 1.35;
}

/*
 * THE TITLE ROW ON THE PAID-PARKING PAGE (CMO-93 phase 2). That page has no intro card, so its Save
 * sits at the right end of the row the title is on. The Save chip itself is the one defined for the
 * provider page below (`__actions .__save`); only the row is new. On a phone the row stacks and the
 * button takes the width, as the provider page's pair does.
 */
.tp-services-page .tp-services-provider__titlerow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.tp-services-page .tp-services-provider__titlerow > .tp-services-provider__title {
  flex: 1 1 auto;
  min-width: 0;
}
.tp-services-page .tp-services-provider__titlerow > .tp-services-provider__actions {
  display: flex;
  flex: none;
}

/*
 * SAVE AND SHARE (CMO-93 phase 2). One group, the last child of the intro card. On desktop the card
 * is a two-column grid so the group sits at the right end of the rating line (Save, then Share, 8px
 * apart, as the design draws them: Save at 683, Share at 782 in a 1440 viewport); on a phone it drops
 * under the description as two equal buttons. The buttons are never moved or copied, so Share's
 * single contract (services-provider.js binds the first `[data-provider-share]`) holds.
 *
 * The group carries the 10px the chips row has beneath it, so the row is as tall as the 40px buttons
 * it used to be made of and the title does not move up.
 */
.tp-services-page .tp-services-provider__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
}
.tp-services-page .tp-services-provider__intro > * {
  grid-column: 1 / -1;
}
.tp-services-page .tp-services-provider__intro > .tp-services-provider__chips {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}
.tp-services-page .tp-services-provider__intro > .tp-services-provider__actions {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* Save is the shared Button underneath (markup, `aria-pressed` toggle, focus ring); this gives it
   Share's chip look. One class more than the Button's own variant and icon rules, and `flex` on the
   glyph as well: the Button's `flex: 0 0 18px` beats `width` in a flex row. The design's glyph is
   20px beside Share's 16px. */
.tp-services-page .tp-services-provider__actions .tp-services-provider__save.tp-site-button {
  display: inline-flex;
  height: 40px;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: var(--tpl-surface);
  color: var(--tpl-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  /* The shared Button upper-cases its label; Share's is as typed and the design's Save matches it. */
  text-transform: none;
}
.tp-services-page .tp-services-provider__actions .tp-services-provider__save.tp-site-button:hover {
  background: var(--tpl-line-soft);
}
.tp-services-page .tp-services-provider__actions .tp-services-provider__save.tp-site-button > .tp-site-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

/* Phone: the card goes back to a column and the group follows the description, two equal buttons.
   It sits AFTER the desktop rules above on purpose: they have the same specificity, so the later
   rule wins, and a phone block placed earlier in the file would lose to them. */
@media (max-width: 768px) {
  /* Board's phone step for the buttons, repeated here for Save: its desktop rule above has the
     same specificity as the earlier phone rule and would win over it. */
  .tp-services-page .tp-services-provider__actions .tp-services-provider__save.tp-site-button {
    height: 36px;
    padding: 0 10px;
  }
  .tp-services-page .tp-services-provider__intro {
    display: block;
  }
  .tp-services-page .tp-services-provider__intro > .tp-services-provider__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 16px 0 0;
  }
  .tp-services-page .tp-services-provider__actions > * {
    width: 100%;
    justify-content: center;
  }
  .tp-services-page .tp-services-provider__titlerow {
    display: block;
  }
  .tp-services-page .tp-services-provider__titlerow > .tp-services-provider__actions {
    display: block;
    margin-top: 12px;
  }
}

.tp-services-page .tp-services-provider__reviews-count {
  color: var(--tpl-ink-secondary);
}

/*
 * A chip, not loose text. The design source gives the category a filled
 * background — it is a label on the listing, and a label that looks like prose
 * reads as part of the sentence beside it.
 */
.tp-services-page .tp-services-provider__kicker {
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--tpl-blue-wash);
  color: var(--tpl-blue-strong);
  /* Prototype: 10.5px. The named Caption role instead. */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/*
 * THE VERIFIED BADGE — board `.pv-tag_ver`, T29 / CMO-147.
 *
 * NOT A CHIP. The category beside it is a filled label because it names what
 * kind of listing this is; this one states a fact about the listing, and the
 * board draws it as a mark plus a word on the page's own ground. Giving it the
 * kicker's background would put two filled pills in one row and make the
 * stronger claim look like the weaker one.
 *
 * `--tpl-blue`, NOT THE BOARD'S `#005EE9`. The canvas paints this badge in a
 * blue that is not a role in `locations.css`, and design-system.md §3.2
 * forbids introducing a brand hex in a page file. The icon inherits
 * `currentColor` from here, so the mark and the word stay one colour whichever
 * role this ends up being.
 *
 * The gap is the icon's own, not the row's: the row separates chips by 10px
 * and a mark sits closer to its word than two chips sit to each other.
 */
.tp-services-page .tp-services-provider__verified {
  display: inline-flex;
  height: 26px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--tpl-blue-wash);
  color: var(--tpl-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/*
 * The board draws this mark at 15px. The registry has three sizes -- 16 / 20 /
 * 24 (design-system.md §4.3) -- and 15 is not one of them, so this takes `sm`
 * and is 1px larger than the source. Adding a fourth size for one badge would
 * put a page's measurement into a shared scale.
 */
.tp-services-page .tp-services-provider__verified .tp-site-icon {
  flex: none;
}

/*
 * THE STATUS LINE — board `.pv-status`, T29 / CMO-147.
 *
 * ROLES, NOT THE BOARD'S HEXES (design-system.md §3.2, which forbids a new
 * brand hex in a page file). The pin's `#868f98` IS `--tpl-ink-soft` exactly;
 * the line's `#4a5a68` has no role of its own and takes `--tpl-ink-secondary`,
 * the named role for supporting text, which is a shade darker.
 *
 * 12px IS THE BOARD'S FINAL VALUE, not its first. `.pv-status` is declared at
 * 14px, overridden to 14px again inside a `max-width: 809px` query, then to
 * 12px `!important` at top level further down the file -- and that last one
 * wins at every width, the phone included. Caption is the matching named role.
 *
 * WRAPS AS A SENTENCE. The parts are separated by the page's own dot, and on a
 * narrow rail the address drops to its own line rather than being truncated --
 * a half address is worse than a second line.
 */
.tp-services-page .tp-services-provider__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  color: var(--tpl-ink-secondary);
  font-size: 12px;
}

.tp-services-page .tp-services-provider__status-hours,
.tp-services-page .tp-services-provider__status-where {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* The pin belongs to the address, not to the row: 4px to its own words, where
   the row's own parts sit 8px apart. */
.tp-services-page .tp-services-provider__status-where {
  gap: 4px;
}

.tp-services-page .tp-services-provider__status-where .tp-site-icon {
  flex: none;
  color: var(--tpl-ink-soft);
}

.tp-services-page .tp-services-provider__verify {
  display: flex;
  flex-direction: column;
  margin: 0 0 32px;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.tp-services-page .tp-services-provider__verify li {
  display: flex;
  /* CENTRED, AS THE SOURCE DRAWS IT (2026-09-22). This read `flex-start`, which
     is indistinguishable on a one-line item and wrong the moment one wraps: the
     tick rides up against the first line instead of sitting level with the
     block it marks. */
  align-items: center;
  gap: 8px;
  color: var(--tpl-ink-soft);
  font-size: 13px;
}

/*
 * `check` is a stroked icon, not a filled one — its path takes currentColor as
 * its stroke and has no fill at all. Colouring it with `fill` did nothing, so
 * these ticks were inheriting the line's own grey while the design source draws
 * them in success green. Set on `color`, which is what the stroke follows.
 */
.tp-services-page .tp-services-provider__verify .tp-site-icon,
.tp-services-page .tp-services-provider__creds .tp-site-icon {
  flex: none;
  /* `--tpl-success` IS NOT A TOKEN. This read var(--tpl-go) and
     had been running on the fallback since it was written — a custom property
     that does not exist fails silently and the hex beside it wins, so the
     colour was right by luck and detached from the palette. The real name
     carries the same value. */
  color: var(--tpl-go);
}

/*
 * THE SELLING POINTS, IN THE TICK LIST — board `.pv-ticks`, Q64 / T29.
 *
 * A MODIFIER, NOT A SECOND LIST. The slot and its geometry are the survey
 * line's already; what changes with the content is the rhythm the board draws
 * for it (6px between lines, Caption rather than 13px) and the colour of the
 * mark.
 *
 * BLUE, BECAUSE THESE ARE NOT OUR CLAIM. `--tpl-go` on the survey line means
 * "we checked this". A selling point is what the shop says about itself, and a
 * success-green tick in front of it would lend it our voice. The board paints
 * these `#005EE9`; `--tpl-blue` is the role that carries the paid listing
 * everywhere else on this page, including the badge above.
 */
.tp-services-page .tp-services-provider__verify_points {
  margin-top: 16px;
  gap: 6px;
  /* ON THE LIST, NOT ONLY ON THE ROW. Measured against the board 2026-11-04:
     the row was already 12px and ink-soft from the rule below, but the `ul`
     was inheriting the article's 16px and `--tpl-ink` -- which is what any
     future child of the list would have taken. The board sets both here. */
  font-size: 12px;
  color: var(--tpl-ink-soft);
}

.tp-services-page .tp-services-provider__verify_points li {
  font-size: 12px;
  /* The board's own value, not a chosen ratio: `.pv-ticks` declares no
     line-height, so each row is one `normal` line and the pair sits 6px apart.
     The article's inherited 1.5 made every row 4px taller and the block 7px
     deeper than the source. */
  line-height: normal;
}

.tp-services-page .tp-services-provider__verify_points .tp-site-icon {
  color: var(--tpl-blue);
}

/* ---------------------------------------------------------- address --- */

/*
 * A CARD, WITH ITS HEADING INSIDE IT. The design source draws a bordered box
 * round the whole block — heading, rows and the two actions at the foot. It is
 * the one block on the page that is a lookup table rather than prose, and the
 * border is what says so.
 */
.tp-services-page .tp-services-provider__section_address {
  /* THE BORDER WENT WITH THE CARDS — 2026-11-04. The 1px rule was what said
     "this block is a lookup table" back when it was the only framed thing on a
     white page. Now every block is a card, and a bordered card among shadowed
     ones reads as a rendering mistake rather than as emphasis. Padding comes
     from the shared card rule above; what stays here is the block's own
     internals. */
}
.tp-services-page .tp-services-provider__section_address .tp-services-provider__h2 {
  margin: 0 0 18px;
}

/*
 * THE LOT PLAN, inside the address card — PRD §6 D3, CMO-94.
 *
 * Sized and behaved like the Locations detail fence (locations.css
 * .tpl-detail-fence), and deliberately so: it is the same object drawn by the
 * same provider, and a driver who has seen one should not have to re-learn the
 * other. The surface differs because the context does — that map sits on the
 * dark hero and uses the on-dark line token, this one sits inside a bordered
 * card on white.
 */
.tp-services-page .tp-services-provider__map {
  /* The cooperative-wheel hint floats over the canvas; this is its anchor. */
  position: relative;
  margin: 0 0 10px;
}

.tp-services-page .tp-services-provider__map-canvas {
  height: 300px;
  max-width: 100%;
  /* A vertical swipe always belongs to the page; other gestures go to the map.
     HERE has no equivalent of Google's `gestureHandling: 'cooperative'` — its
     behaviour is all or nothing — and turning a 300px box into a scroll trap
     is the worst thing this element can do. Pinch still reaches the map, which
     is the half that matters on a phone. The wheel half is in
     provider-fence-map.js. */
  touch-action: pan-y;
  border: 1px solid var(--tpl-line);
  border-radius: 10px;
  overflow: hidden;
  /* The ground before the tiles land. */
  background: var(--tpl-placeholder);
}

.tp-services-page .tp-services-provider__map-canvas[hidden] { display: none; }

.tp-services-page .tp-services-provider__map-blocked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px;
  border: 1px dashed var(--tpl-line);
  border-radius: 10px;
  color: var(--tpl-ink-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* `hidden` is an attribute, not ours to overrule. The `display: flex` above is
   a class selector — same specificity as the UA's `[hidden]{display:none}` and
   later in the cascade — so without this the script unhiding nothing would
   still show the notice. */
.tp-services-page .tp-services-provider__map-blocked[hidden] { display: none; }

.tp-services-page .tp-services-provider__map-blocked p { margin: 0; }
.tp-services-page .tp-services-provider__map-blocked a { color: var(--tpl-blue); }

/* The hint shown when the reader scrolls without ctrl/⌘. Without it the map
   reads as broken rather than as deliberate. Built by the script, because it
   has no meaning on a page where the map never loads. */
.tp-services-page .tp-services-provider__map-hint {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 8px 14px;
  max-width: calc(100% - 28px);
  border-radius: var(--tpl-radius-sm);
  background: var(--tpl-surface-dark);
  color: var(--tpl-white);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .tp-services-page .tp-services-provider__map-hint { transition: none; }
}

.tp-services-page .tp-services-provider__map-hint.is-shown { opacity: 1; }

/* Two rows this phase: the boundary and the shop's own point. The swatches are
   samples of what is drawn on the canvas, not named interface icons — see the
   template for why neither goes through components.site.icon. */
.tp-services-page .tp-services-provider__map-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: var(--tpl-ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.tp-services-page .tp-services-provider__map-key li {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* The polygon's own two colours, so the sample and the shape agree. */
.tp-services-page .tp-services-provider__map-key-lot {
  width: 18px;
  height: 12px;
  border: 2px solid rgb(91 91 214 / 95%);
  border-radius: 3px;
  background: rgb(91 91 214 / 35%);
}

.tp-services-page .tp-services-provider__map-key-pin {
  display: inline-flex;
  width: 14px;
}

.tp-services-page .tp-services-provider__map-key-pin svg {
  width: 100%;
  height: auto;
}

/*
 * THE FOUR GATE SWATCHES — TL, 2026-11-05.
 *
 * A SAMPLE OF WHAT IS ON THE MAP, drawn the same way the marker is: a coloured
 * disc with the registry's glyph in white. The disc is CSS and the glyph is
 * `components.site.icon`, so neither is a second copy of the other — the same
 * split the `This stop` swatch above already uses, and the reason no path data
 * appears in provider-fence-map.js.
 *
 * COLOURS ARE SEMANTIC TOKENS HERE AND LITERALS IN THE RENDERER, because a .js
 * file cannot read a custom property. `--tpl-go` / `--tpl-blue` / `--tpl-ink`
 * carry exactly the `#08B86C` / `#1688CA` / `#011932` the script draws. Change
 * one and change the other.
 *
 * THE GLYPH IS A SHADE LARGER THAN THE BOARD'S. The board fills a 22px disc
 * with a 16-in-28 glyph (0.57); the registry's sizes are 16 / 20 / 24
 * (design-system.md §4.3) and 13 is not one of them, so `sm` in a 22px disc
 * gives 0.73. Adding a fourth size for one legend would put a page's
 * measurement into a shared scale -- the same call the `verified` badge made.
 */
.tp-services-page .tp-services-provider__map-key-ic {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.tp-services-page .tp-services-provider__map-key-ic .tp-site-icon {
  color: var(--tpl-white);
}

/* Entrance green, exit blue, and both approach points in the same ink so they
   read as one pair and recede behind the gates themselves. */
.tp-services-page .tp-services-provider__map-key-ic_in {
  background: var(--tpl-go);
}

.tp-services-page .tp-services-provider__map-key-ic_out {
  background: var(--tpl-blue);
}

.tp-services-page .tp-services-provider__map-key-ic_road {
  background: var(--tpl-ink);
}

/*
 * A TINTED PANEL INSIDE THE WHITE CARD -- board `.pv-facts`, which is a
 * `#f7f9fb` block with a 12px radius and its own 4/20 inset. Ours had the rows
 * and nothing to hold them, so the lookup table ran edge to edge of the card
 * and had to draw a rule between every row to look like a table at all. The
 * panel is what separates it from the prose above; the rules then become
 * unnecessary, which is exactly what the board's late pass did to them
 * (`.pv-facts div { border-bottom: 0 }`).
 *
 * `--tpl-surface-alt` (#f9fafb) FOR THE BOARD'S #f7f9fb. The two differ by a
 * point of blue that has no named role, and design-system.md §3.2 forbids
 * adding the hex. Recorded as a deviation rather than introducing a colour.
 */
.tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address {
  /* Board `.pv-facts { margin: 18px 0 0 }`. The legend above carries 12 of its
     own and the two collapse, so this is the gap, not an addition to it. */
  margin: 18px 0 0;
  padding: 4px 20px;
  border-radius: 12px;
  background: var(--tpl-surface-alt);
  gap: 0;
}

.tp-services-page .tp-services-provider__address > div {
  display: grid;
  gap: 16px;
  /* 116px in the design source, where the label is 11px. The named Caption
     role is 12px, and "WHERE TO TURN IN" wraps at 116. Widened to hold it on
     one line rather than shrinking the type to fit — page-style.md is explicit
     that a fractional size is not a density tool. */
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--tpl-line-soft);
}

.tp-services-page .tp-services-provider__address dt {
  color: var(--tpl-ink-soft);
  /* Prototype: 11px uppercase. The named Caption role at 12px. */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tp-services-page .tp-services-provider__address dd {
  margin: 0;
  color: var(--tpl-ink);
  font-size: 14px;
  line-height: 1.55;
}

/*
 * v7 ROWS. The two rules above are the pre-v7 shape and stay for the parking
 * detail page, which shares this stylesheet.
 *
 * NO RULE BETWEEN ROWS. The board's late pass sets `border-bottom: 0` on every
 * row once the panel exists; a tinted block with eight hairlines in it reads as
 * a grid, not as a list of four facts.
 *
 * THE LABEL IS A WORD, NOT A HEADER. 170px sentence case at the Caption role,
 * where ours was 132px of 600-weight uppercase with tracking -- which is a
 * table-header treatment, and made the label compete with the value it labels.
 * "Where to turn in" fits 170 at 12px with room to spare, so nothing is being
 * squeezed to gain the change.
 */
.tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address > div {
  grid-template-columns: 170px minmax(0, 1fr) auto;
  padding: 8px 0;
  border-top: 0;
}

.tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address dt {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

/* The value carries the row, so it takes the weight the label gave up. */
.tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address dd {
  font-weight: 500;
}

/*
 * THE HOURS ROW moved to services.css (CMO-253, 2026-11-26): the results page's map
 * panel draws the same row, and both pages load services.css. Same rules, unchanged.
 */

.tp-services-page .tp-services-provider__address dd a {
  color: var(--tpl-blue);
  text-decoration: none;
}

/*
 * The per-row action is a button in the design source, and it needs to be: it
 * is the only thing on the row a driver can press, and a grey word beside a
 * grey label does not read as one.
 */
.tp-services-page .tp-services-provider__address-act {
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--tpl-blue-wash);
  color: var(--tpl-blue-strong);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  /* It is an <a> since 2026-09-20 and was a <span> before it. The pill already
     carries its own colour and shape, so the browser's underline is the only
     thing the change would have altered visually.

     AND ONE OF THEM IS A <button> SINCE 2026-09-23 — the phone row's, which
     reveals and copies rather than navigating. A button brings its own font,
     its own line-height and a UA border; the three lines below hand it back to
     this rule so the two element types draw the same pill. */
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

/*
 * v7 PILL. The board draws it filled and 30px tall with no outline of its own
 * -- `.pv-chip`, radius 4, 600. Ours was a 34px outlined pill at 500, which
 * on a tinted panel reads as a secondary button rather than as the row's one
 * action. The transparent border stays so the quiet `_call` variant below,
 * which does draw one, keeps exactly the same box.
 */
.tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address-act {
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 600;
}

/* Calling is a different kind of action from opening the app, and the design
   gives it the quieter treatment. */
.tp-services-page .tp-services-provider__address-act_call {
  border-color: var(--tpl-line);
  background: var(--tpl-white);
  color: var(--tpl-ink-soft);
}

.tp-services-page .tp-services-provider__ghost_light {
  color: rgba(255, 255, 255, 0.72);
}

.tp-services-page .tp-services-provider__address-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tpl-line-soft);
}

/* NO RULE ABOVE THE ACTION EITHER -- board `.pv-acts` is a plain 16px gap off
   the panel. The hairline was separating the button from rows that no longer
   have hairlines of their own, so it had become the only one left. */
.tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address-cta {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}
.tp-services-page .tp-services-provider__address-cta > * {
  padding: 10px 16px;
  border-radius: 6px;
  /* 12.5px in the source; the named Body S role is 13. */
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

/* ONE BUTTON IN THIS ROW NOW. Its outlined neighbour, "How far is it from
   me?", was removed on 2026-09-21 (page owner): it asked a question this
   application cannot answer and had no destination to give it. The outline
   rule went with it rather than being left for a button that no longer
   exists — `__cta-outline` matched nothing in any template. */
/*
 * THE PRIMARY ACTION IS BRAND BLUE, NOT THE DARKEST SURFACE. Board
 * `.pv-btn_blue` is `#1688ca` -- which is `--tpl-blue` exactly, so this is a
 * role correction rather than a colour choice: `--tpl-ink-deep` is a surface
 * token (§3.2) and was standing in for primary action on the one page that
 * had no other blue button. 44px with the board's 1px edge and 4px radius;
 * 14/600 where this row's generic child rule sets 13/500.
 *
 * NO ICON. The board pairs it with an 18px route glyph, and that glyph belongs
 * to the Button Foundation (§4.2: Call / Directions / Share icons are owned by
 * `components.site.button`, which this page-local anchor is not). Adding a
 * page-local SVG is forbidden by §4.3. Left for the Button migration; recorded.
 */
.tp-services-page .tp-services-provider__cta-solid {
  display: inline-flex;
  height: 44px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--tpl-blue);
  border-radius: 4px;
  background: var(--tpl-blue);
  color: var(--tpl-white);
  font-size: 14px;
  font-weight: 600;
}

/* ---------------------------------------------------------- prices --- */

/*
 * TWO MISSING-INFORMATION BLOCKS, AND THE SOURCE DRAWS THEM DIFFERENTLY.
 *
 * They had one treatment here — a left rule on a grey ground — which read as
 * one recurring warning. The source makes them two different kinds of thing:
 *
 *   The price block is a bordered card. It stands in for the rate table a Pro
 *   listing shows in that slot, so it holds the slot's shape.
 *
 *   The gate block is prose, a step larger than body copy and with no frame at
 *   all. Nothing is missing from a slot there; the whole answer is the
 *   paragraph.
 */
.tp-services-page .tp-services-provider__noprice {
  max-width: 84ch;
  /* Source: h2 margin 4 + p margin-top 14 = 18. The h2 here carries the
     page-wide 12, so the paragraph makes up the remaining 6. */
  margin: 6px 0 22px;
  padding: 14px 17px;
  border: 1px solid var(--tpl-line);
  border-radius: 8px;
  color: var(--tpl-ink-secondary);
  font-size: 14px;
  line-height: 1.75;
}

/*
 * Two lines, as the brief writes them: what is missing, then the one control
 * that fills it. Its own row rather than a trailing clause — the first line is
 * addressed to a driver and the second to an owner, and running them together
 * makes one sentence that answers neither.
 */
.tp-services-page .tp-services-provider__noprice-claim {
  display: block;
}

.tp-services-page .tp-services-provider__missing {
  max-width: 78ch;
  margin: 0;
  color: var(--tpl-ink-secondary);
  /* 15.5px in the source; the named Body L role is 16, and this paragraph is
     deliberately a step above body copy. */
  font-size: 16px;
  line-height: 1.8;
}

/* ---------------------------------------------------------- rivals --- */

/* The heading and its standfirst are one statement here, so the source closes
   the gap between them: 6px rather than the 12px a section heading carries when
   the next thing is a block rather than a sentence explaining it. */
.tp-services-page .tp-services-provider__section_rivals .tp-services-provider__h2 {
  margin-bottom: 6px;
}

.tp-services-page .tp-services-provider__rivals,
.tp-services-page .tp-services-provider__ads {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-services-page .tp-services-provider__rival,
.tp-services-page .tp-services-provider__ad {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid var(--tpl-line);
  border-radius: 11px;
  background: var(--tpl-white);
}

/* THE WHOLE CARD OPENS THE BUSINESS — page owner, 2026-09-22.
   Only the name was the target, which is a three-word strip inside a card the
   size of a business card; everything around it — the town, the distance, the
   opening hours, the white space — looked equally pressable and was not.

   DONE WITHOUT TOUCHING THE MARKUP, and that is the point. The link's
   accessible name stays the business's name rather than becoming the name plus
   the town plus the bearing plus the closing time, which is what wrapping the
   card in an <a> would have read out. One tab stop, one announced label, and
   the card's own text is still text.

   `a.` IS LOAD-BEARING: a row the upstream gave no `ident` renders its name as
   a <span>, and that card must stay unclickable — the same rule the template
   states. An attribute selector on the tag is what keeps the two in step
   without a second flag to forget.

   NOT ON `__ad`, although it shares the rule above. A sponsored card's link
   carries rel="sponsored" and its own measurement; widening its hit area is a
   separate decision with a different owner. */
.tp-services-page .tp-services-provider__rival {
  position: relative;
}
.tp-services-page a.tp-services-provider__rival-name::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* A filled chip beside the name, not a coloured word above it. The design
   source puts the two on one baseline — the badge qualifies the name, and a
   line of its own reads as a heading for the card. */
.tp-services-page .tp-services-provider__rival-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.tp-services-page .tp-services-provider__rival-tier {
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--tpl-go);
  color: var(--tpl-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tp-services-page .tp-services-provider__rival-name,
.tp-services-page .tp-services-provider__ad-name,
.tp-services-page .tp-services-provider__organic-name {
  color: var(--tpl-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

/* SUPPORTING TEXT, NOT A CAPTION. All three of the design source's row captions
   — competitor, sponsored and the nearest list — are --tp-text-2. This rule had
   them a level lighter, which read as a row whose second line was fading out. */
.tp-services-page .tp-services-provider__rival-meta,
.tp-services-page .tp-services-provider__ad-place,
.tp-services-page .tp-services-provider__organic-meta {
  color: var(--tpl-ink-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.tp-services-page .tp-services-provider__rival-price,
.tp-services-page .tp-services-provider__ad-price {
  margin-top: 4px;
  color: var(--tpl-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

/* Filled on a competitor card, outlined on a paid one. The competitor block is
   the page's own argument and leads with it; a placement someone bought sits a
   step quieter than the page's own recommendations. */
.tp-services-page .tp-services-provider__rival-cta,
.tp-services-page .tp-services-provider__ad-cta {
  margin-top: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--tpl-blue);
  color: var(--tpl-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.tp-services-page .tp-services-provider__ad-cta {
  border: 1px solid var(--tpl-blue);
  background: var(--tpl-white);
  color: var(--tpl-blue);
}

.tp-services-page .tp-services-provider__ad-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-services-page .tp-services-provider__ad-tag {
  padding: 3px 7px;
  border: 1px solid var(--tpl-line);
  border-radius: 4px;
  color: var(--tpl-ink-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The paid band's heading is smaller than the page's own sections. It is a
   recommendation strip, not one of the answers the page is organised around,
   and the design source sizes it that way. */
.tp-services-page .tp-services-provider__section_band .tp-services-provider__h2 {
  font-size: 17px;
}

.tp-services-page .tp-services-provider__ad-why {
  color: var(--tpl-ink-soft);
  font-size: 12px;
}

/* ----------------------------------------------------- capabilities --- */

.tp-services-page .tp-services-provider__cap-note {
  color: var(--tpl-ink-soft);
  font-size: 13px;
}

.tp-services-page .tp-services-provider__caps {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
 * NO FRAME, WHICH IS THE DESIGN SOURCE'S OWN TREATMENT. Twenty-two boxed tiles
 * draw twenty-two rectangles the reader has to look past to reach the
 * drawings; the source sets the tiles on the page itself and lets the icon and
 * the word be the tile. The 36px drawing is the source's size too — at 24 the
 * grid read as a legend rather than as the page's answer to "what do they work
 * on".
 *
 * 12px, not the source's 12.5: AGENTS.md maps fractional sizes onto the named
 * integer roles, and this is Caption.
 */
.tp-services-page .tp-services-provider__cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 6px;
  color: var(--tpl-ink);
  font-size: 12px;
  /* 500, the board's `.pv-caps li` (walkthrough 2026-11-24 P1). */
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

/*
 * Dimmed, not hidden. Twenty-two tiles with four lit is a picture of how much
 * nobody has told us; four tiles on their own would read as a small shop.
 */
.tp-services-page .tp-services-provider__cap_off {
  color: var(--tpl-ink-faint);
  opacity: 0.35;
}

.tp-services-page .tp-services-provider__cap_off img {
  filter: grayscale(1);
}

/* --------------------------------------------------------- reviews --- */

/* The number above the sentence that qualifies it, not beside it. */
.tp-services-page .tp-services-provider__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

/* Mentions are their own thought and run the full width under the pair above. */
.tp-services-page .tp-services-provider__mentions-row {
  margin-bottom: 24px;
}

.tp-services-page .tp-services-provider__score-value {
  /* The design source's own colour for a scored listing: the same warn orange
     the compact rating uses, so the number reads the same in both places. */
  color: var(--tpl-warn);
  font-family: Poppins, system-ui, sans-serif;
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.tp-services-page .tp-services-provider__score-unit {
  color: var(--tpl-ink);
  font-size: 15px;
  font-weight: 600;
}

/* Score and distribution, centred against each other and ruled off below —
   the design source's own treatment. They are one statement in two halves. */
.tp-services-page .tp-services-provider__breakdown {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  margin: 0 0 22px;
  padding: 6px 0 22px;
  border-bottom: 1px solid var(--tpl-line-soft);
}

/* The distribution only renders when there is one, and the score should not
   sit in half a row when it is alone. */
.tp-services-page .tp-services-provider__breakdown > :only-child {
  grid-column: 1 / -1;
}

/* THE ONE STANDFIRST THE SOURCE DOES SET IN THE CAPTION ROLE. It is a footnote
   under the score — who may review and what we will not remove — rather than a
   section's opening sentence, and the design source sets it in --tp-text-3. */
.tp-services-page .tp-services-provider__breakdown .tp-services-provider__sub {
  color: var(--tpl-ink-soft);
}

.tp-services-page .tp-services-provider__bars,
.tp-services-page .tp-services-provider__mentions,
.tp-services-page .tp-services-provider__reviews,
.tp-services-page .tp-services-provider__organic,
.tp-services-page .tp-services-provider__symptoms,
.tp-services-page .tp-services-provider__app-reasons {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* THREE COLUMNS, SO FIVE ROWS LINE UP. The design source lays each row out as
   `30px 1fr 28px`; with flex the star column took its width from its own text
   and the tracks started at slightly different x per row. */
.tp-services-page .tp-services-provider__bars li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  /* 12px in the source, for both the star column and the count. */
  font-size: 12px;
}

/* ONE CELL, TWO THINGS. The design source puts only the digit in this 30px
   column — `<span>{{ b.stars }}</span>`, no mark at all. The star is this
   repository's addition, so the pair is laid out rather than typed, and the
   digit, not the icon, sets the row's baseline.

   RIGHT (page owner, 2026-09-23). The column is 30px and the pair is about 24,
   so the slack has to fall on one side or the other. On the right the digit and
   the star sit next to the bar they label, one gap away from it, and the five
   rows read as one block; on the left they drift off to the edge with the slack
   between them and what they describe.

   BOTH PROPERTIES ARE WRITTEN OUT, not left to defaults. A grid item stretches
   to its column and a flex container starts its content at the inline start,
   so before this the pair sat left by inheritance rather than by instruction —
   and two properties nobody wrote are two properties the next change can move
   without ever touching this rule. The grid's own `gap: 9px` still stands
   between the pair and the track. */
.tp-services-page .tp-services-provider__bar-star {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 3px;
  color: var(--tpl-ink-soft);
}

.tp-services-page .tp-services-provider__bars .tp-site-icon {
  flex: none;
  /* 14px — page owner, 2026-09-23. It was 12 to keep the row exactly as tall as
     its 12px text; at 14 the row grows by about two pixels, which is the trade
     that was asked for. The pair is still ~24px inside a 30px column, so
     nothing reflows. */
  width: 14px;
  height: 14px;
  fill: var(--tpl-rating);
}

/* THE EMPTY PART OF THE TRACK HAS TO BE VISIBLE. The design source runs it in
   the structural line colour; on --tpl-surface-alt (#f9fafb against a white
   card) a bar at 2% read as no track at all. */
.tp-services-page .tp-services-provider__bar-track {
  height: 7px;
  border-radius: 999px;
  background: var(--tpl-line);
}

.tp-services-page .tp-services-provider__bar-fill {
  display: block;
  width: var(--tp-bar-width, 0%);
  height: 100%;
  border-radius: 999px;
  /* The distribution is read against the score above it, so it takes the
     score's colour rather than the stars'. */
  background: var(--tpl-warn);
}

.tp-services-page .tp-services-provider__bar-count {
  color: var(--tpl-ink-soft);
  text-align: right;
}

/* Chips in a wrapping row, as the design source draws them. A stacked list with
   the count pushed to the far right reads as a table of figures; these are four
   things drivers said, and they are meant to be scanned. */
.tp-services-page .tp-services-provider__mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tp-services-page .tp-services-provider__mentions li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--tpl-line);
  border-radius: 12px;
  background: var(--tpl-white);
  box-shadow: 0 2px 10px rgba(1, 25, 50, 0.06);
  font-size: 13px;
  font-weight: 600;
}

.tp-services-page .tp-services-provider__mention-count {
  color: var(--tpl-ink-soft);
  font-size: 12px;
  font-weight: 400;
}

/* The bookings figure is a pill beside the name — it qualifies the reviewer,
   and plain text beside a plain name reads as part of it. */
.tp-services-page .tp-services-provider__review-bookings {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tpl-blue-wash);
  color: var(--tpl-blue-strong);
  font-size: 12px;
  font-weight: 500;
}

/* "Show all N" is a button in the design source. It is the only control in the
   section, and plain grey text does not read as one. */
.tp-services-page .tp-services-provider__reviews-all {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 20px;
  border: 1px solid var(--tpl-line);
  border-radius: 6px;
  background: var(--tpl-white);
  color: var(--tpl-ink);
  font-size: 13px;
  font-weight: 500;
  /* It became an anchor on 2026-09-22 (it opens the app). Same line the rail's
     own CTA carries for the same reason. */
  text-decoration: none;
}

.tp-services-page .tp-services-provider__review {
  padding: 16px 0;
  border-top: 1px solid var(--tpl-line-soft);
}

/*
 * TWO RULES THAT ARE EACH RIGHT ALONE. The distribution closes with a bottom
 * border and every review opens with a top one, and the tag band sits between
 * them. The upstream answers no tags for any record measured, so the band is
 * empty and the two borders land 22px apart — read as a double rule with a gap
 * in it rather than as one separator.
 *
 * THE FIRST SELECTOR STOPPED MATCHING WHEN THE BAND BECAME CSR (2026-09-20),
 * AND THAT IS WHY THE DOUBLE RULE CAME BACK. `+` is a DOM relationship, not a
 * rendered one: the band is now always in the HTML as
 * `<div data-services-mentions hidden>`, so the review list is no longer the
 * distribution's adjacent sibling even though nothing is drawn between them.
 * `display: none` removes a box from the layout; it does not remove the element
 * from the selector's reckoning.
 *
 * SO THE CONDITION IS THE ATTRIBUTE, NOT THE ADJACENCY. `[hidden]` is exactly
 * the state in which nothing is drawn between the two borders, and the script
 * clears it (`row.hidden = false`) at the moment it has tags to show — so the
 * border comes back by itself when the band is there to need it. No second
 * flag, no class for the script to remember to toggle.
 *
 * The first selector is kept for the shape where the band is not emitted at
 * all: it costs nothing and it is the one that states the original intent.
 */
.tp-services-page .tp-services-provider__breakdown + .tp-services-provider__reviews
  > .tp-services-provider__review:first-child,
.tp-services-page .tp-services-provider__breakdown
  + .tp-services-provider__mentions-row[hidden]
  + .tp-services-provider__reviews
  > .tp-services-provider__review:first-child {
  border-top: 0;
}

.tp-services-page .tp-services-provider__review-head {
  display: flex;
  align-items: center;
  /* The gap IS the separator here — see the partial. */
  gap: 10px;
  flex-wrap: wrap;
  color: var(--tpl-ink-soft);
  font-size: 13px;
}

.tp-services-page .tp-services-provider__review-name {
  color: var(--tpl-ink);
  /* 13.5px in the source; the named Body role is 14. */
  font-size: 14px;
  font-weight: 600;
}

.tp-services-page .tp-services-provider__review-when {
  font-size: 12px;
}

/* THE COMPACT RATING, SIZED FOR A ROW RATHER THAN A PAGE HEAD. The Foundation
   draws it at 16px/700 with a 16px mark, which is the page head's scale; the
   source sets this one at 12.5px beside a 13.5px name. The mark and the icon
   inside it are both sized — the primitive's own icon keeps the registry's sm
   otherwise and overflows the box it sits in. */
.tp-services-page .tp-services-provider__review-head .tp-data-rating_compact {
  gap: 4px;
  /* 12.5px in the source; the named Body Small role is 13. */
  font-size: 13px;
  font-weight: 600;
}

.tp-services-page .tp-services-provider__review-head .tp-data-rating__mark,
.tp-services-page .tp-services-provider__review-head .tp-data-rating__mark > .tp-site-icon {
  width: 13px;
  height: 13px;
}

.tp-services-page .tp-services-provider__review-text {
  max-width: 84ch;
  margin: 8px 0 0;
  /* Supporting text, not a caption: the source sets the body of a review in
     --tp-text-2, the same role the row captions take. */
  color: var(--tpl-ink-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------- organic --- */

.tp-services-page .tp-services-provider__organic li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--tpl-line-soft);
}

/* The whole row is the link now, not the name inside it — a name alone is a
 * small target on a phone held in one hand at a fuel island. The flex that used
 * to sit on the `li` moves here so the figure still pushes to the end. */
.tp-services-page .tp-services-provider__organic-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  text-decoration: none;
}

/* `a.`, because the row is a span when the answer carried no address to open
   — an underline on hover over something that cannot be clicked is a promise
   the row does not keep. */
.tp-services-page a.tp-services-provider__organic-row:hover
  .tp-services-provider__organic-name {
  text-decoration: underline;
}

/* THE SOURCE'S `figure` OVER `figureK`, stacked and right-aligned — not a
   number sitting beside its unit. See the partial: the unit belongs to the
   figure, and the small line under it says what the distance is measured
   from. */
.tp-services-page .tp-services-provider__organic-figure {
  display: block;
  margin-left: auto;
  text-align: right;
}

.tp-services-page .tp-services-provider__organic-figure strong {
  display: block;
  color: var(--tpl-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.tp-services-page .tp-services-provider__organic-figure-k {
  display: block;
  margin-top: 3px;
  color: var(--tpl-ink-soft);
  /* 10px in the source; 11px is the smallest named role. */
  font-size: 11px;
}

/* ------------------------------------------------------------- app --- */

/* THE NAV DARK, WITH THE SOURCE'S GLOW ON IT. Two things were wrong here: the
   ground was --tpl-ink, the text colour, where the source asks for --tp-nav-dark
   (the same #05101C this page's own topbar sits on); and the blue wash the
   source throws from the top right was missing entirely, which is what made the
   band read as a flat navy rectangle. The gradient's own fade colour is --tpl-ink
   at zero alpha — a gradient cannot take a token through rgba(), so it is written
   out here and only here. */
.tp-services-page .tp-services-provider__app {
  overflow: hidden;
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 88% 10%, rgba(24, 172, 246, 0.28) 0%, rgba(1, 25, 50, 0) 55%),
    var(--tpl-ink-nav);
  color: var(--tpl-white);
}

.tp-services-page .tp-services-provider__app .tp-services-provider__h2,
.tp-services-page .tp-services-provider__app .tp-services-provider__sub {
  color: var(--tpl-white);
}

/* The band's own headline is larger than a section heading — it is the one
   place on the page selling something rather than answering something.

   24px, NOT 30 — board `.pv-appband h2` ends at `24px !important` at every
   width. This was 30 on desktop and 24 only on a phone, so the band was a step
   louder than the source everywhere a desktop reader saw it. 2026-11-05. */
.tp-services-page .tp-services-provider__app .tp-services-provider__h2 {
  max-width: 26ch;
  margin: 0 0 10px;
  font-size: 24px;
  /* 700 in the design source, against the 600 every other heading on the page
     carries. Same reason as the size above it. */
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.22;
}

.tp-services-page .tp-services-provider__app .tp-services-provider__sub {
  max-width: 62ch;
  margin: 0 0 22px;
  /* Not flat white: the source runs the standfirst at .66 so the headline above
     it keeps the contrast. The white comes from the rule two above this one. */
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

/* The eyebrow and the headline as one column, so the code can sit beside them
   rather than above the list. `flex-start` keeps the code's top edge on the
   eyebrow's, which is where the design lands it. */
/* THE HEADINGS ARE A PLAIN BLOCK AGAIN. They used to share a flex row with the
   QR code, which sat at the card's top right; the code moved to the foot on
   2026-09-29 (design source, see the grid below) and took the row with it. */
.tp-services-page .tp-services-provider__app-headings {
  min-width: 0;
}

/*
 * THE QR CODE, DESKTOP ONLY — CMO-25 §04.
 *
 * Below 768px it is removed rather than hidden from view only: asking a reader
 * to scan the screen they are holding is not a smaller version of this control,
 * it is a different and useless one. `display: none` on a phone, full stop.
 *
 * The plate is white because a code needs its quiet zone to scan, and this card
 * is nearly black. The asset carries its own white ground too; the padding here
 * is what keeps the dark card from crowding the edge modules.
 */
/*
 * SIZED FROM THE SOURCE, NOT FROM THE CAPTION — measured in
 * `TP Services B.dc.html` on `7c` at 1280, 2026-09-28: a 134px code on a 148px
 * plate, 7px of quiet zone, 10px radius.
 *
 * It was 104px on a 140px plate, which was this file's own guess — the width
 * picked so the caption would sit on one line, and the code then fitted to what
 * was left. That is the wrong way round: the code is the control and the
 * caption is the label under it. At 148px the caption still takes one line, so
 * nothing was bought by shrinking it.
 *
 * THE CAPTION IS THE BRIEF'S, NOT THE SOURCE'S. The canvas plate carries no
 * text at all; CMO-25 §04 asks for "底下一行小字 Scan to get the app", so the
 * bottom padding is a little deeper than the other three to seat it.
 */
/*
 * THE CODE AND ITS CAPTION, MEASURED FROM THE SOURCE 2026-09-29.
 *
 * `TP Services B.dc.html` `7c` at 1280 draws a 160-wide column: a 148px white
 * tile with the code inset 7px, then the caption 11px below it on the card's
 * own dark ground.
 *
 * THE CAPTION USED TO BE ON THE TILE. It sat inside the white, in dark ink,
 * which made the tile 168 tall against the source's 148 and read as part of the
 * artwork rather than a label for it.
 */
.tp-services-page .tp-services-provider__app-qr {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  width: 160px;
  text-decoration: none;
}

.tp-services-page .tp-services-provider__app-qr-plate {
  box-sizing: border-box;
  display: block;
  width: 148px;
  height: 148px;
  padding: 7px;
  border-radius: 10px;
  background: var(--tpl-white);
}

.tp-services-page .tp-services-provider__app-qr img {
  display: block;
  width: 134px;
  height: 134px;
}

.tp-services-page .tp-services-provider__app-qr-tail {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

/*
 * THE CARD'S FOOT IS TWO COLUMNS — design source 2026-09-29, `7c` at 1280:
 * `380px 160px`, 56px apart, aligned to the top.
 *
 * ABSOLUTE WIDTHS, NOT FRACTIONS. Our card is 780 wide against the source's
 * 732, so a fractional grid would stretch both columns and put the button at a
 * width nobody chose. 380 is the same absolute the button and the store plates
 * already use; the room left over at the right is the room left over.
 */
.tp-services-page .tp-services-provider__app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px;
}

/*
 * FLEX RATHER THAN A FIXED GRID, so the code wraps instead of leaving the card.
 *
 * This was `grid-template-columns: 380px 160px`, which is 596px of fixed track
 * inside whatever the card happens to be. That was safe while the layout
 * unstacked at 1100 and the card was always at least 632 wide. It stopped being
 * safe the moment the rail became fluid: at a 810px viewport the article column
 * is 414, and the code was measured sitting at x=497 in a card that ended at
 * 438 — outside it, and invisible, because the card is `overflow: hidden`.
 *
 * `flex: 1 1 380px` with the same 380 ceiling reproduces the source's geometry
 * wherever there is room (708px of content gives 380 + 56 + 160, code at x=473,
 * which is the source's own x) and lets the code drop below the buttons when
 * there is not, rather than off the edge.
 */
.tp-services-page .tp-services-provider__app-foot-main {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 380px;
}

/* The card's own action, between the reasons and the badges: press it to use
   the app, press a badge to get it. Geometry, radius, focus and motion all come
   from `.tp-site-button` — this rule only places it. */
/*
 * THE CTA AND THE TWO BADGES ARE ONE COLUMN — measured against the design
 * source 2026-09-28 (`TP Services B.dc.html` `7c` @1280): button 380 wide, then
 * each store plate 380 wide under it, 12px apart, then the qualifying line.
 * Ours had a 304px content-width button above two 168px plates side by side,
 * which reads as three unrelated objects rather than one stack.
 *
 * 380 IS TAKEN AS AN ABSOLUTE, not scaled to our wider card (780 against 732):
 * a button's width is a decision, not a proportion of its container.
 */
.tp-services-page .tp-services-provider__app-act {
  max-width: 380px;
  margin: 0 0 12px;
}

/* Width only — height, radius, type, icon, focus and motion stay with
   `components.site.button`. AGENTS.md lets a page place the shared primitive,
   not redraw it. */
.tp-services-page .tp-services-provider__app-act .tp-site-button {
  width: 100%;
}

/* 14 / 600 in mixed case, as the board's `.pv-appband__cta .pv-btn` sets it
   (walkthrough 2026-11-24 P7). The 48px landing height stays the shared
   primitive's; only the label's size and case are this card's. */
.tp-site-chrome .tp-services-page .tp-services-provider__app-act .tp-site-button {
  font-size: 14px;
  text-transform: none;
}

.tp-services-page .tp-services-provider__app-eyebrow {
  display: block;
  margin-bottom: 9px;
  /* The accent for a dark ground, which is what the source uses here. It was a
     weak white, so the one line naming the product read as a caption. */
  color: var(--tpl-blue-bright);
  /* The design system's Eyebrow: 12 / 600 / 0.09em (walkthrough 2026-11-24 P6). */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Boxed, two up — the source frames each reason rather than bulleting it. */
/* TWO COLUMNS WHILE TWO FIT, AND THAT IS THE GRID'S OWN JUDGEMENT. The design
   source draws 324px columns; `auto-fit` with a 240px floor keeps two of them
   on a desktop card (708px of content makes 349 each) and folds to one as the
   card narrows, without a breakpoint deciding it. That matters now the rail
   bends: the main column runs from 414 to 780 with no step in between. */
.tp-services-page .tp-services-provider__app-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.tp-services-page .tp-services-provider__app-reasons li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  /* A FILL, NOT JUST A HAIRLINE. The source lifts each card off the band by
     five percent of white; with only the border they read as four outlines. */
  background: rgba(255, 255, 255, 0.05);
  color: var(--tpl-on-dark-secondary);
  /* 13.5px in the source; the named Body S role is 13. */
  font-size: 13px;
  line-height: 1.6;
}

/* THE MARK IS THE ACCENT BLUE, AND IT IS STROKED. The source draws it in
   --tp-brand-on-dark; this filled it with the success green instead, which is a
   different claim — these are four things the app does, not four things that
   succeeded. The registry's check is a stroked path, so the colour has to reach
   it through `color`, and the `fill` this set had was painting the open path in
   as well. Sized to the source's 14 and dropped to the first line's baseline. */
.tp-services-page .tp-services-provider__app-reasons .tp-site-icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--tpl-blue-bright);
  fill: none;
}

/*
 * STACKED, AND EACH PLATE AS WIDE AS THE COLUMN — design source 2026-09-28.
 * Both pairs sit one above the other there, each plate filling the group's
 * width (380 in the body card, 330 in the rail). Ours sat side by side at the
 * artwork's own 168px, which left the button above them looking like a
 * different family of control.
 */
.tp-services-page .tp-services-provider__app-stores {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
}

/*
 * THE PLATE IS OURS, THE ARTWORK IS THEIRS.
 *
 * Both supplied files are a bare figure on a transparent ground — no plate, no
 * outline, no padding; sampled, the outermost ring of the white one is fully
 * transparent. So the badge the design source draws (dark plate, hairline,
 * white wordmark, colour Play glyph) is the white artwork with the first three
 * supplied here.
 *
 * Two wrong turns are worth recording, because each looked right in isolation:
 * the black artwork on this card was black on near-black and what remained
 * visible was this frame; removing the frame then left white strokes floating
 * on the navy with nothing to sit on.
 *
 * The plate is a shade deeper than the card rather than pure black — the
 * hairline is what separates them, which is how the source does it too.
 */
/*
 * THE ARTWORK'S OWN SIZE, WHICH IS THE OFFICIAL ONE — CMO-25, 2026-09-23.
 *
 * Both files are 166 × 49, and the markup has always declared that. This sheet
 * was rendering them at 24px tall in the band and 20px in the rail — under half
 * — which is the whole of the fault: the assets were right and the CSS shrank
 * them.
 *
 * AND THE PLATE PADDING GOES WITH THE SHRINKING. The 166 × 49 box IS the
 * badge's outer edge; the figure inside it is inset, which is why the outermost
 * ring samples transparent. At 24px that inset was invisible and the 8/14px
 * padding stood in for it. At full size the padding would be added OUTSIDE a
 * badge that already carries its own margin, drawing a plate larger than the
 * official one. The border now sits on the badge's own edge, where it belongs,
 * and the 8px radius is the corner the artwork was drawn with.
 */
/*
 * THE PLATE IS OURS AND IT FILLS THE COLUMN; THE ARTWORK KEEPS ITS OWN SIZE.
 *
 * These are two separable things, and conflating them is what kept this wrong:
 * PM14 A7 governs the artwork — "素材本身没问题，是 CSS 压的", it must not be
 * scaled down — and says nothing about the plate the page draws around it. So
 * the plate goes full width and the 166x49 file is centred inside it, which
 * satisfies A7 and the source's composition at the same time.
 *
 * `--tpl-ink-nav` rather than `--tpl-ink-deep`: the source's plates are flat
 * black, and of the tokens this page already owns that is the nearer one — and
 * it is the same ink as the rail's dark panel, so the page stops carrying two
 * near-identical darks for no reason.
 */
.tp-services-page .tp-services-provider__app-stores a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--tpl-ink-nav);
  line-height: 0;
}

.tp-services-page .tp-services-provider__app-stores img {
  display: block;
  width: auto;
  height: 49px;
}

/* THE BADGES AND THE LINE AFTER THEM ARE ONE ROW. The source puts both stores
   and "Free · no account needed" on a single baseline; the line sat under them
   as its own paragraph, which read as a footnote about the band rather than the
   last thing said about the two buttons. */
.tp-services-page .tp-services-provider__app-get {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 380px;
  gap: 12px;
}

.tp-services-page .tp-services-provider__app-tail {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
}

/* ------------------------------------------------------------ rail --- */

/*
 * ONE CARD, DIVIDED BY RULES — the source's own construction.
 *
 * It was a card with a grey rounded block inside it and a 20px pad around
 * everything, which reads as two panels stacked. The source gives each band
 * its own 18/20 padding and separates them with a hairline, so the rate
 * statement, the phone number and the app pitch are three parts of one panel
 * rather than three panels.
 */
.tp-services-page .tp-services-provider__rail {
  position: sticky;
  /* 40px under the site header, which is fixed and changes height by width
     (UI walkthrough QA-23; it was 40px under the 48px product bar). */
  top: calc(var(--tp-site-header-height) + 40px);
  display: flex;
  flex-direction: column;
  /* TRANSPARENT NOW — board `.pv-rail`. It used to be the card; the three
     blocks inside it were plain. The board's rail is a flex column with a 16px
     gap and nothing of its own, which is also what the main column does since
     2026-11-04. Change these two together or the page has two rhythms. */
  gap: 16px;
  padding: 0;
}

/* The contact card: hours, the Call control and the line under it. Same
   treatment as the main column's blocks, so the two columns read as one page. */
.tp-services-page .tp-services-provider__rail-card {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--tpl-white);
  box-shadow: 0 1px 2px rgba(1, 25, 50, 0.04), 0 6px 20px rgba(1, 25, 50, 0.04);
}

/*
 * THE CLAIM CARD — board `.pv-owner`.
 *
 * IT DOES NOT LOOK LIKE ITS NEIGHBOURS, deliberately. The board gives it a warm
 * wash and a ring instead of the white card's shadow; an owner-facing offer
 * styled like the contact card beside it stops reading as an offer. The ring is
 * an inset shadow rather than a border so the card's box is the same size as
 * the two above it.
 *
 * `--tpl-caution-wash` / `--tpl-warn` are the roles the banner already used —
 * the board's `#fff7ec` gradient and `#fde2bf` ring have no roles of their own
 * and design-system.md §3.2 forbids introducing them here.
 */
.tp-services-page .tp-services-provider__rail-owner {
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--tpl-caution-wash);
  box-shadow: inset 0 0 0 1px var(--tpl-warn);
}

.tp-services-page .tp-services-provider__rail-owner-title {
  margin: 0;
  color: var(--tpl-ink);
  font-family: Poppins, system-ui, sans-serif;
  /* Board: `.pv-app h2, .pv-owner h2 { font-size: 16px !important }` — the rail
     headings are a step down from the main column's 18px. */
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.tp-services-page .tp-services-provider__rail-owner-copy {
  margin: 8px 0 0;
  color: var(--tpl-ink-secondary);
  font-size: 12px;
  line-height: 1.6;
}

/*
 * THE CARD OWNS THE INSET NOW — 2026-11-05. These three blocks carried their
 * own 18/20px padding and margins because the rail was one tall box and each
 * had to inset itself from its edges. Inside a card with 20/24px padding those
 * numbers doubled up: the Call control ended up a shrunken box floating in the
 * middle of the card.
 *
 * The rule under the hours went with them. It separated two blocks inside one
 * box; the blocks are separate cards' worth of content now and the heading
 * reads as the card's own title.
 */
.tp-services-page .tp-services-provider__rail-head {
  padding: 0;
}

.tp-services-page .tp-services-provider__rail-title {
  color: var(--tpl-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.tp-services-page .tp-services-provider__rail-body {
  margin: 6px 0 0;
  color: var(--tpl-ink-secondary);
  /* 12.5px in the source; the named Caption role is 12. */
  font-size: 12px;
  line-height: 1.65;
}

/*
 * Quiet on purpose. A brand-blue button here would promise somebody is waiting
 * to answer, and on an unclaimed listing nobody is: the number came from our
 * own survey.
 */
.tp-services-page .tp-services-provider__rail-call {
  display: block;
  margin: 14px 0 0;
  padding: 14px;
  border: 1.5px solid var(--tpl-line);
  border-radius: 6px;
  background: var(--tpl-white);
  color: var(--tpl-ink);
  font-size: 14px;
  /* 500, as the design source sets it — the uppercase + tracking already carry
     the emphasis, and 600 on top of both made this shout over the heading it
     sits under. */
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.tp-services-page .tp-services-provider__rail-foot {
  margin: 11px 0 0;
  color: var(--tpl-ink-soft);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/*
 * FULL BLEED, NOT AN INSET CARD — measured against the design source
 * 2026-09-28. `TP Services B.dc.html` `7c` at 1280 draws this panel at x=1,
 * 370 wide, with no radius of its own: it runs edge to edge inside the rail
 * and its corners are cut by the rail's own `border-radius: 12px` +
 * `overflow: hidden`, which this file already has. The card reads as two
 * stacked bands, white over dark, rather than a dark tile floating on white.
 *
 * AND IT PUTS THE CONTROLS BACK ON ONE LINE. The 20px inset plus 16px of
 * padding started this panel's button and badges at x=37 while the Call button
 * above them sat at x=21 — two left edges in a 372px column, which is the kind
 * of thing that reads as wrong before anyone can say why. Bleeding the panel
 * and giving it the rail's own 20px gutter lands everything on x=21.
 */
.tp-services-page .tp-services-provider__rail-app {
  margin: 0;
  /* Its own card now that the rail is transparent — board `.pv-app`, which is
     a sibling of the other two rather than something nested inside them. */
  border-radius: 12px;
  padding: 20px;
  /* THE SAME INK AS THE BODY CARD — design source 2026-09-28, which draws both
     dark surfaces at rgb(5, 16, 28); `--tpl-ink-nav` is that value. This panel
     had been the page's only use of `--tpl-ink`, a second, slightly different
     dark sitting two columns away from the first. */
  background: var(--tpl-ink-nav);
  /* THE SEAM BETWEEN THE TWO BANDS — the source rules a line at
     rgb(240, 243, 244) where the white half of the rail ends and the dark half
     begins. Without it the two bands butt straight together and the card loses
     the edge that says they are separate things. */
  border-top: 1px solid var(--tpl-line-soft);
  color: rgba(255, 255, 255, 0.86);
  /* 12.5px in the source; the named Caption role is 12. */
  font-size: 12px;
}

.tp-services-page .tp-services-provider__rail-app p {
  margin: 0 0 13px;
  /* Quieter than the panel's default ink — in the source this sentence sits
     well back from the title above it, and at .86 the two read as one weight. */
  color: var(--tpl-on-dark-muted);
  line-height: 1.6;
}

.tp-services-page .tp-services-provider__rail-app-title {
  display: block;
  margin-bottom: 5px;
  color: var(--tpl-white);
  /* 13.5px in the source; the named Body S role is 13. */
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------- related --- */

/* THE FLOOR OF THE PAGE, ON ITS OWN GROUND. The design source closes with a
   full-width band — --tp-bg-gray under a --tp-border-1 rule — and puts only the
   links on the 1200 rail inside it. This was a bare section inside the
   container with the lighter of the two rules, which read as one more part of
   the article. Same construction as the breadcrumb band at the top of the file,
   and the same two tokens. */
.tp-services-page .tp-services-provider__related-band {
  margin-top: 48px;
  /* Not a `padding` shorthand: the rail's own gutters live on
     .tp-site-container inside this, and AGENTS.md makes that the owner of them. */
  padding-top: 40px;
  padding-bottom: 48px;
  border-top: 1px solid var(--tpl-line);
  background: var(--tpl-surface-alt);
}

/* ONE GROUP PER ROW, NOT TWO PER ROW. The source stacks them and lets the links
   wrap inside the full width; in two columns the first group folds after five
   links instead of ten and the band reads as a two-column directory. */
.tp-services-page .tp-services-provider__related {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* A band label, not a section heading. The source sets these in the caption
   role — uppercase, tracked out, quiet — because the links under them are the
   content and the group name is only telling you which set you are in. */
.tp-services-page .tp-services-provider__related .tp-services-provider__h3 {
  margin: 0 0 11px;
  color: var(--tpl-ink-soft);
  /* 11.5px in the source; the named Caption role is 12. */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tp-services-page .tp-services-provider__related p {
  margin: 0;
  color: var(--tpl-ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

/* The source spaces the separator rather than relying on the space either
   side of it, which collapses at the end of a wrapped line.

   AND IT IS THE FAINT ROLE, which in this whole page the source spends on
   exactly two things: this separator and the one between the rating and the
   category chip (proto @45219 and @7005 — the only two `--tp-text-4` in the
   template). A separator is the one piece of text that should recede. */
.tp-services-page .tp-services-provider__related p span {
  color: var(--tpl-ink-faint);
  padding: 0 9px;
}

.tp-services-page .tp-services-provider__related a,
.tp-services-page .tp-services-provider__symptoms a {
  color: var(--tpl-blue);
  text-decoration: none;
}

/* A link wraps as a whole, never mid-label ("Trailer lights / out"), as the
   hub's browse band and design 7c draw these lists.

   EXCEPT WHEN THE LABEL IS WIDER THAN THE ROW. A shop's own name is one of
   these links ("Murphys Heavy Towing, Off-Road Recovery & Semi Truck Repair",
   442px), and `white-space: nowrap` pushed the page 72px past a 390 screen.

   An atomic inline box gives the same result for every ordinary label — it
   shrink-wraps to its text and moves to the next line as one piece — and only
   a label longer than the whole row wraps inside itself. */
.tp-services-page .tp-services-provider__related a {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  white-space: normal;
}

.tp-services-page .tp-services-provider__symptoms {
  display: grid;
  gap: 4px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 13px;
  line-height: 1.9;
}

.tp-services-page .tp-services-provider__disclaimer,
.tp-services-page .tp-services-provider__fixture-note {
  max-width: 90ch;
  margin: 32px 0 0;
  color: var(--tpl-ink-faint);
  font-size: 13px;
  line-height: 1.75;
}

/* TWO LEVELS OF INK, NOT ONE FAINT ONE — proto @45558.
 *
 * The source sets the paragraph in `--tp-text-3` and lifts each `<strong>` to
 * `--tp-text-2`, so the two sentences a driver has to act on — what the page
 * does not stand behind, and what a price would and would not have covered —
 * read a step darker than the sentence around them. Set in the faint role with
 * no distinction at all, the whole block sank below the legal boilerplate it
 * is not.
 *
 * `__fixture-note` keeps the faint role above: it is this repository's own
 * aside about its own data, has no counterpart in the source, and is the one
 * thing here that genuinely should recede.
 */
.tp-services-page .tp-services-provider__disclaimer {
  color: var(--tpl-ink-soft);
  /* Board `.pv-about p` 14px, `strong` 600 (walkthrough 2026-11-24 P5). */
  font-size: 14px;
}

.tp-services-page .tp-services-provider__disclaimer strong {
  color: var(--tpl-ink-secondary);
  font-weight: 600;
}

.tp-services-page .tp-services-provider__fixture-note {
  margin-top: 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--tpl-line);
  background: var(--tpl-surface-alt);
}

/* ------------------------------------------------------------ small --- */

/*
 * THE DESIGN SYSTEM'S OWN STEP, NOT A PAGE-SPECIFIC ONE.
 *
 * This was `1100px`, and its first two rules unstacked the layout — which is
 * what created the band where the rail sat under the article with no phone bar
 * to replace it. The rail is fluid now, so the column never has to drop and
 * those two rules are gone.
 *
 * What is left is ordinary density: a 40px headline and six capability columns
 * are a 1280 measurement. `site-design.min.css` already steps its heading roles
 * at 1199, so these ride the same step rather than adding one.
 */
@media (max-width: 1199px) {
  .tp-services-page .tp-services-provider__caps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Board: 32 at desktop, 28 here, 24 on a phone. */
  .tp-services-page .tp-services-provider__title {
    font-size: 28px;
  }

  .tp-services-provider.tpl-parking-provider .tp-services-provider__title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .tp-services-page .tp-services-provider__caps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tp-services-page .tp-services-provider__rivals,
  .tp-services-page .tp-services-provider__ads,
  .tp-services-page .tp-services-provider__breakdown,
  /* `__related` is not here: it is a single column at every width now. */
  .tp-services-page .tp-services-provider__symptoms {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The label column collapses rather than squeezing the value out of view. */
  .tp-services-page .tp-services-provider__address > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* AND THE v7 RULE HAS TO COLLAPSE WITH IT. The scoped desktop rule above
     carries one class more than this one, so without this the 170px label
     column survived onto the phone and squeezed the address into 76px with the
     action column at zero. Board's own phone step: a two-column row with a 4px
     row gap, and the panel's inset drops 20 -> 14. */
  .tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address {
    padding: 4px 14px;
  }

  .tp-services-provider:not(.tpl-parking-provider) .tp-services-provider__address > div {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
  }

  .tp-services-page .tp-services-provider__address dt {
    grid-column: 1 / -1;
  }

  /* THE HOURS ROW HAS NO ACTION COLUMN, so its value takes the whole row on the
     phone. Left in the first column, the 16px gap in front of the empty action
     track stopped the week list's hairlines short of the panel's inset. (On the
     desktop board the same gap is drawn, and is kept.) */
  .tp-services-page .tp-services-provider__address > .tp-services-provider__hours-row dd {
    grid-column: 1 / -1;
  }

  .tp-services-page .tp-services-provider__title {
    font-size: 24px;
  }

  .tp-services-provider.tpl-parking-provider .tp-services-provider__title {
    font-size: 27px;
  }

  /* The App band's 34/36 is a desktop measurement. At 390 it eats a fifth of
     the width before a word is set, and the two reason cards come out 134px
     wide — narrower than the sentences inside them. */
  .tp-services-page .tp-services-provider__app {
    padding: 22px 18px;
    /* The source softens the corner with the card at this width: 14, not 16. */
    border-radius: 14px;
  }

  /* CENTRED UNDER THE GROUP — the source sets this line to `text-align: center`
     at phone width and leaves it ranged left on desktop. */
  .tp-services-page .tp-services-provider__app-tail {
    text-align: center;
  }

  /*
   * TWO UP AT PHONE WIDTH — design source 2026-09-29, `7c` at 390: the pair is
   * a row, 8px apart, each plate half the column (157 there inside a 322 card).
   * Stacked full-width, as they were, the two plates plus the button above them
   * took a third of the card's height for three controls that say one thing.
   *
   * ⚠️ THE ARTWORK SHRINKS HERE, AND THAT IS A DECISION, NOT A SIDE EFFECT.
   * Our plates hold the vendors' 166 x 49 files, not the source's CSS-typeset
   * lookalikes, so half of our 312px column leaves about 150 — the artwork
   * lands near 150 x 44. PM14 A7 is the rule that governs it ("素材本身没问题，
   * 是 CSS 压的", accepted on height >= the vendors' published minimum), and
   * TL 2026-09-29 took that call explicitly against these measurements. Logged
   * in docs/services-fidelity.md §49.
   */
  .tp-services-page .tp-services-provider__app-stores {
    flex-direction: row;
    gap: 8px;
  }

  .tp-services-page .tp-services-provider__app-stores a {
    flex: 1 1 0;
    min-width: 0;
  }

  /*
   * IT SHRINKS, IT NEVER GROWS. `width: 166px` keeps the supplied size wherever
   * there is room for it — at 743, half the column is ~330 and a plain
   * `width: 100%` would have stretched a 166px file to twice its size. The
   * `max-width` only bites once the column is genuinely too narrow, and
   * `height: auto` is what keeps the vendors' proportions while it does.
   */
  .tp-services-page .tp-services-provider__app-stores img {
    width: 166px;
    max-width: 100%;
    height: auto;
  }

  /*
   * THE HEADLINE COMES DOWN A STEP — design source `7c` at 390 sets it to
   * 21px against the desktop 30px; ours never left 30 and took three lines and
   * 110px, a sixth of the card, before a reason was read.
   *
   * 24px, NOT 21. AGENTS.md types this page in the approved integer roles, and
   * 21 is not one of them: below 809px the heading roles are 24 (heading-4) and
   * 20 (heading-5). 24 is the nearer of the two and keeps the band's headline
   * weightier than the section headings around it. TL, 2026-09-28.
   */
  .tp-services-page .tp-services-provider__app .tp-services-provider__h2 {
    font-size: 24px;
    /* FULL ROW — design source 2026-09-30, `7c` at 390: the heading runs the
       card's whole content width (322 of 322). The `26ch` ceiling is a desktop
       measure and at 768 it was holding this to 407 inside a 585 card. */
    max-width: none;
  }

  /*
   * THE ACTION COLUMN IS THE CARD, NOT 380 — design source 2026-09-30.
   *
   * Measured on `7c` at 390: card content 322, and the CTA, the badge pair and
   * the qualifying line are all 322. The 380 ceiling is the DESKTOP figure
   * (§47: a 380 button beside a 160 code inside a 732 card) and it has no
   * business here — at 768 it was pinning the button and the badges to 380
   * while the reasons above them ran the full 585.
   *
   * The badges keep their own row: half of whatever the column is, which is
   * 152 at 390 and 288 at 768, with the artwork centred and clamped (§49).
   *
   * `__app-foot-main` HAS TO BE IN THIS LIST. Releasing only the two children
   * measured as no change at 768: the wrapper carries its own `max-width: 380px`
   * from §52, where it is the flex basis that holds the desktop foot's 380 + 56
   * + 160 row together. The foot is `display: block` here, so that ceiling is
   * doing nothing but pinning everything inside it.
   */
  .tp-services-page .tp-services-provider__app-foot-main,
  .tp-services-page .tp-services-provider__app-act,
  .tp-services-page .tp-services-provider__app-get {
    max-width: none;
  }

  /*
   * ① THE ROUTE BUTTON RUNS THE ROW — design source 2026-09-30.
   *
   * Measured: mobile draws it 324 wide in a 324 container; desktop draws it at
   * its own 204 beside a second button. Ours is a flex ROW that used to hold
   * two children and now holds one, so it took its content width — 213 — at
   * both widths. Desktop is right by accident and stays; this is the half that
   * was wrong.
   *
   * `column` rather than a width on the child: the source stacks two full-width
   * buttons here, so if the second one ever returns this already holds it.
   */
  .tp-services-page .tp-services-provider__address-cta {
    flex-direction: column;
  }

  .tp-services-page .tp-services-provider__app-reasons {
    grid-template-columns: minmax(0, 1fr);
    /* 11 in the source at this width, against 10 on desktop. */
    gap: 11px;
    /* 18 in the source before the action column; 22 was the desktop value. */
    margin-bottom: 18px;
  }

  /*
   * NO PLATE ON A PHONE — measured against the design source 2026-09-29.
   *
   * The source's own two treatments: at 1280 each reason is a tile, 13px 15px
   * inside a 1px hairline on five percent of white, and at 390 it is a plain
   * row — check mark, 9px, sentence. Nothing else changes.
   *
   * The reason it changes is width. One column of four boxed rows on a 358px
   * card is four nested rectangles inside a rounded card inside the page, and
   * the frame starts competing with the four sentences that are the whole
   * point of the block. The desktop grid is two columns, where the tile is what
   * separates the left sentence from the right one; stacked, the gap already
   * does that.
   */
  .tp-services-page .tp-services-provider__app-reasons li {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    /* 9 against 10 on desktop. */
    gap: 9px;
    color: var(--tpl-on-dark-secondary);
  }

}

/* ------------------------------------------------------- Credentials ----- */

/* Two columns in the design source, one when there is no room for two. */
.tp-services-page .tp-services-provider__creds {
  display: grid;
  margin: 0 0 14px;
  padding: 0;
  gap: 9px 24px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}
.tp-services-page .tp-services-provider__creds > li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--tpl-ink-secondary);
  /* Prototype: 14.5px. The named Body Small role instead — a fractional size
     is not a density tool. */
  font-size: 14px;
  line-height: 1.6;
}
.tp-services-page .tp-services-provider__creds .tp-site-icon {
  margin-top: 4px;
}
.tp-services-page .tp-services-provider__creds-note {
  max-width: 72ch;
  margin: 0;
  color: var(--tpl-ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .tp-services-page .tp-services-provider__creds {
    grid-template-columns: 1fr;
  }
}

/* The rail's app button: full width, filled — the design source's primary
   action for that panel. */
.tp-services-page .tp-services-provider__rail-app-cta {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 6px;
  background: var(--tpl-blue);
  color: var(--tpl-white);
  /* Board `.pv-btn`: 14 / 600, mixed case (walkthrough 2026-11-24 P8). */
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

/* The badges sit under it, at the rail's own scale. */
/* The stack and the full-width plate come from the base rule; the rail only
   tightens the gap — 7px here against 12px in the body card, which is the
   design source's own pair of values. */
.tp-services-page .tp-services-provider__rail-app .tp-services-provider__app-stores {
  margin-top: 9px;
  gap: 7px;
}

/* A bought placement asks more quietly than the page's own recommendation. */
.tp-services-page .tp-services-provider__ad-cta {
  border: 1.5px solid var(--tpl-blue);
  background: var(--tpl-white);
  color: var(--tpl-blue);
}

/* ------------------------------------------------- not-for-sale lists ---- */

/*
 * Nearest and also-called are one card each, rows ruled off inside it. The
 * design source draws them that way, and the box is what separates them from
 * the paid strip above: these are lists, not offers.
 */
.tp-services-page .tp-services-provider__organic {
  padding: 0 16px;
  border: 1px solid var(--tpl-line);
  border-radius: 12px;
  background: var(--tpl-white);
  overflow: hidden;
}
.tp-services-page .tp-services-provider__organic li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 12px 0;
  border-top: 1px solid var(--tpl-line-soft);
  border-bottom: 0;
}
.tp-services-page .tp-services-provider__organic li:first-child {
  border-top: 0;
}
.tp-services-page .tp-services-provider__organic-name {
  flex: 1;
  min-width: 0;
}
.tp-services-page .tp-services-provider__organic-figure {
  flex: none;
  text-align: right;
}

/* These two bands are a level below the page's own questions. */
.tp-services-page .tp-services-provider__section_list .tp-services-provider__h2 {
  margin: 0 0 4px;
}

/* And their standfirst is smaller than a section's — it names what the list is
   sorted by rather than arguing anything. */
.tp-services-page .tp-services-provider__section_list .tp-services-provider__sub {
  color: var(--tpl-ink-soft);
  /* 12.5px in the source; the named Caption role is 12. */
  font-size: 12px;
  line-height: 1.7;
}

/* A boxed block on a quiet ground — the design source's treatment for the
   symptom band, which is a way out of the page rather than one of its answers. */
.tp-services-page .tp-services-provider__section_card {
  padding: 20px 22px;
  border: 1px solid var(--tpl-line);
  border-radius: 12px;
  background: var(--tpl-surface-alt);
}
.tp-services-page .tp-services-provider__section_card .tp-services-provider__h2 {
  font-size: 20px;
}

/* The link grid's vertical rhythm, from the design source. */
.tp-services-page .tp-services-provider__symptoms {
  gap: 9px 20px;
}

/* Name over meta, as the design source stacks them. On one line the meta
   competes with the figure on the right and the row reads as three columns
   when it is two. */
.tp-services-page .tp-services-provider__organic-copy {
  display: block;
  flex: 1;
  min-width: 0;
}
.tp-services-page .tp-services-provider__organic-name {
  display: block;
  font-size: 14px;
}
.tp-services-page .tp-services-provider__organic-meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}

/*
 * THE CODE IS A DESKTOP CONTROL — CMO-25 §04, 2026-09-23.
 *
 * On a phone the reader is holding the screen the code is on. The block also
 * costs a third of the fold, which on this card is the four reasons. Removed,
 * not shrunk: there is no small version of "scan this with the device in your
 * other hand".
 */
/* ------------------------------------------- Phone-width action bar ----- */

/*
 * DESKTOP NEVER SEES IT — «Services 一期 · 可直接开工的 14 条» B4.
 *
 * The rail is the desktop answer and it is untouched there. Below 769px the
 * rail is not rendered and this takes over; see the 768 block.
 */
.tp-services-page .tp-services-provider__bar {
  display: none;
}

@media (max-width: 768px) {
  .tp-services-page .tp-services-provider__app-qr {
    display: none;
  }

  /* ONE COLUMN ONCE THE CODE IS GONE. With `380px 160px` still in force the
     grid would hold a 160px empty track and cap the action column at 380 on a
     screen narrower than that. */
  .tp-services-page .tp-services-provider__app-foot {
    display: block;
  }

  /*
   * THE RAIL IS NOT RENDERED AT PHONE WIDTH — B4, TL 2026-09-28.
   *
   * B4's complaint is that on a phone this column lands under the whole
   * article, so a driver scrolls the page to reach a phone number. The fix
   * chosen was the bar below rather than a re-order.
   *
   * WHAT GOES WITH IT, STATED RATHER THAN DISCOVERED LATER: today's opening
   * line, the `From our survey on {date}` note that sourced the phone number,
   * and a second copy of the app panel. Only the survey note is unique — the
   * week's hours are in the table, the number and its `Call` are in the
   * `Phone` row, and the app has the dark card in the body. Recorded in
   * docs/services-fidelity.md §48.
   */
  /* ONE COLUMN, AND THE RAIL'S TRACK GOES WITH IT. `display: none` takes the
     rail out of the flow but NOT out of `grid-template-columns` — the explicit
     second track would keep reserving up to 372px of an empty column and
     squeeze the article into what was left. */
  .tp-services-page .tp-services-provider__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tp-services-page .tp-services-provider__rail {
    display: none;
  }

  /*
   * EXCEPT THE CLAIM CARD — 2026-11-05.
   *
   * The rail hides on a phone because everything in it is said again in the
   * body: the week's hours are in the Address table, the number and its `Call`
   * are in the Phone row, the app has its own dark block. The claim card is
   * the one thing in there that is said nowhere else, and it arrived in the
   * rail the same day this hiding rule met it — for one build a phone reader
   * had no way to claim a listing at all. The board keeps its whole rail on a
   * phone (`.pv-rail { display: grid }` at 809) rather than hiding it; we hide
   * the duplicates and keep the one that is not a duplicate.
   *
   * `contents` ON THE ASIDE, not a second copy of the card: the card stays
   * exactly one element in the document, and the grid treats it as a child of
   * the layout's single column rather than of a hidden rail.
   */
  .tp-services-page .tp-services-provider__rail:has(.tp-services-provider__rail-owner) {
    display: contents;
  }

  .tp-services-page .tp-services-provider__rail:has(.tp-services-provider__rail-owner)
    > :not(.tp-services-provider__rail-owner) {
    display: none;
  }

  /* Back in the flow under the article, with the gap the column uses. */
  .tp-services-page .tp-services-provider__rail-owner {
    margin-top: 16px;
  }

  /*
   * ROOM FOR THE BAR TO STAND ON — and it has to be on `body`.
   *
   * This was written against `.tp-services-page` first and measured as still
   * broken: that div lives inside `#tp-main`, and the site footer is main's
   * SIBLING, so padding there reserves space in the middle of the document and
   * none at its end. Scrolled to the bottom the bar still sat on top of the
   * footer's last row — `Cookie Preferences`, `Cookie Policy`, `Privacy Policy`
   * and `Terms of Service`. Covering a consent control is not a cosmetic bug.
   *
   * SCOPED BY THE BAR'S OWN PRESENCE, NOT BY A BODY CLASS. The chrome layout
   * has no per-page body-class hook and AGENTS.md puts Site Chrome off limits,
   * so `:has()` scopes this to exactly the pages that render the bar and
   * touches nothing else. It adds room under everything rather than restyling
   * the footer itself.
   *
   * AND IT IS THE BAR'S EXACT HEIGHT, DERIVED ONCE. This read 76px against a
   * bar that measures 69, so at the bottom of the scroll a 7px band of page
   * showed between the footer's dark end and the bar's own white — read as a
   * gap under the buttons. Reserving more room than the bar occupies is as
   * visible as reserving less.
   *
   * 1px rule + 10px + the 48px `landing` control + 10px = 69, plus whatever the
   * device keeps for its home indicator. The bar takes its `min-height` from
   * the same custom property below, so the two cannot drift apart silently.
   */
  body:has(.tp-services-provider__bar) {
    --tp-provider-bar-h: calc(69px + env(safe-area-inset-bottom));
    padding-bottom: var(--tp-provider-bar-h);
  }

  .tp-services-page .tp-services-provider__bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    /* Bound to the same value the document reserves above — see the note on
       `body:has()`. `border-box` so the rule and the padding are inside it. */
    box-sizing: border-box;
    min-height: var(--tp-provider-bar-h);
    gap: 10px;
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    /* THE BAR BLEEDS, ITS CONTENTS DO NOT. Same column as the article above it
       — see the cap at the end of this block — so on a 768 screen the two
       buttons line up with the card rather than running out to the edges of a
       band that is twice the width the phone layout was drawn for. Below the
       cap the `max()` falls back to the 16px gutter. */
    padding-right: max(16px, calc((100% - var(--tp-site-reading-max)) / 2));
    padding-left: max(16px, calc((100% - var(--tp-site-reading-max)) / 2));
    /* UNDER THE SITE HEADER, OVER THE PAGE. services.css puts the sticky
       header at 60; anything the page itself raises tops out at 20. */
    background: var(--tpl-white);
    /* The line is what separates it from whatever it is covering. No shadow:
       AGENTS.md keeps decorative elevation off unless it is asked for. */
    border-top: 1px solid var(--tpl-line);
  }

  /* TWO EQUAL HALVES. `flex: 1` over a width so the bar still divides evenly
     if the second control is absent — no coordinates means no Directions, and
     Call should not then sit at half width beside a gap. */
  .tp-services-page .tp-services-provider__bar-act {
    flex: 1 1 0;
    min-width: 0;
  }

}

/* ==========================================================================
   THE PAID SLOTS — PRD §6 D1 / D2, CMO-94 (T16 / T17)

   Two blocks that render only what the upstream answered. The contract is
   published (CT/4628906022) but photos, banner and headline are not
   implemented yet, so on production pages today neither block appears.
   `services-provider.paid_fixture` (local/testing only) relaxes the pro-tier
   gate so backend mock data can be looked at on a test shop; it fabricates
   nothing, so an ident with no data still shows nothing.

   TOKENS ONLY. No hex lands in this file — the ground, the rule and the ink
   are the same variables the rest of the page reads.
   ========================================================================== */

/* THE BANNER — full content rail, breadcrumb above, title below.

   NO FIXED HEIGHT. The tier fixes the ratio (1248x300 for $199, 1248x150 for
   the other two) and `aspect-ratio` holds the box at that shape while the
   bytes are still coming, so the title below does not jump. Height would
   crop the artwork the moment the rail is narrower than 1248. */
.tp-services-provider__banner {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 20px;
}

.tp-services-provider__banner_large { aspect-ratio: 1248 / 300; }
.tp-services-provider__banner_small { aspect-ratio: 1248 / 150; }

.tp-services-provider__banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PHOTOS FROM THE SHOP.

   SITTING FLUSH, NOT IN A CARD. The design source draws every block as a
   white `.pv-block`; this page gives a card to `Address and gate` alone and
   lets the rest sit on the page ground. Importing the board's card here
   would make one section look like a different page — the rhythm is judged
   in the assembled runtime, which is what the prototype rule asks for.

   64px ABOVE IT because that is this page's section rhythm: `__stack` sets
   `gap: 64px` for everything below. This block is outside that flow (it has
   to be, it belongs between the address card and the stack), so it carries
   the spacing itself rather than inheriting it. */
.tp-services-provider__section_photos {
  margin-top: 64px;
}

/* Heading and count on one baseline. */
.tp-services-provider__photos-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* The heading's page-wide 18px bottom margin is the block's gap to whatever
   follows it. Here what follows is inside the same row, and the credit line
   below owns its own 6px -- board `.pv-head` (h2 margin 0) + `.pv-head +
   .pv-sub { margin-top: 6px }`. Left as it was, the row stood 42px tall for a
   28px heading and pushed the credit line a step too far down. */
.tp-services-provider__photos-head .tp-services-provider__h2 {
  margin-bottom: 0;
}

.tp-services-provider__photos-all {
  flex: 0 0 auto;
  color: var(--tpl-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.tp-services-provider__photos-all:hover { text-decoration: underline; }

.tp-services-provider__photos-by {
  margin: 6px 0 0;
  color: var(--tpl-ink-soft);
  /* Board `.pv-sub`, which its late pass takes to 12 at every width -- the
     phone override below had the right value and the desktop rule had not
     caught up. This is the Caption role, not a density step. */
  font-size: 12px;
}

/* Six across where six fit, fewer where they do not, and the row keeps its
   height whatever the pictures are shaped like — a strip that reflows per
   shop reads as broken rather than varied.

   THE COLUMN COUNT IS NOT A BREAKPOINT. `repeat(6, 1fr)` with a phone
   override looks right at 1440 and at 390 and is wrong between: this page
   keeps its rail down to 768 (one switch, see the media query below), so at
   a 800px window the article column is ~430px and six tiles measured 60px
   wide — portrait slivers, not photographs.

   An auto track count + a 96px floor lets the row answer the width it
   actually got: six across on a desktop article, fewer as the rail narrows,
   three on a phone -- which is the design source's mobile figure arrived at
   by measurement rather than by declaring it.

   `auto-fill`, NOT `auto-fit`, AND THE FLOOR IS A SIXTH OF THE RAIL.
   Both parts are there for the same reason: a tile must be the same size
   whatever the shop uploaded. `auto-fit` collapses the tracks nothing sits
   in, so the surviving tiles stretch to share the whole rail -- a shop with
   three photos drew them at 253x96 on a 780px article (2.6:1) and
   `object-fit: cover` cut three portrait photographs into letterbox strips.
   Seen first on 11-04, when backend mock data finally put photos on a page.
   `auto-fill` keeps the empty tracks, so three photos occupy three of the
   six and leave the rest blank, which is what the strip is supposed to do.

   But `auto-fill` with a bare 96px floor fits SEVEN tracks on that same
   780px article, and seven across is not the design. Raising the floor to
   one sixth of the rail caps the count at six by arithmetic -- no track can
   be narrower than a sixth, so no seventh fits -- while `max()` lets the
   96px floor take back over once a sixth of the container drops below it,
   which is the narrow case the floor existed for. Measured 11-04: a 1440
   window gives six tracks at 122, an 800 window three at 131, a 390 phone three at 110 -- and the tile keeps that width whether
   the shop uploaded one photo or six.

   The `5 * 10px` is the five gaps between six tiles. It has to be written
   out because `gap` is not readable from inside a track function -- if the
   gap above changes, change it here too or the sixth tile wraps. */
.tp-services-provider__photos {
  display: grid;
  margin: 16px 0 0;
  padding: 0;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(max(96px, (100% - 5 * 10px) / 6), 1fr));
  list-style: none;
}

.tp-services-provider__photo {
  position: relative;
  overflow: hidden;
  height: 96px;
  border-radius: 12px;
}

.tp-services-provider__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The count sits ON the sixth tile rather than after it, so "more" costs no
   extra row. Its scrim is a flat overlay, not a token colour — it exists to
   keep the number legible over an unknown photograph. */
.tp-services-provider__photo-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 25, 50, 0.55);
  color: var(--tpl-white);
  font-size: 16px;
  font-weight: 600;
}

/* Phone: three across, two rows. Six tiles under 768px would be under
   100px wide and stop reading as photographs.

   768, NOT THE DESIGN SYSTEM'S 810. This page has exactly one PC/mobile
   switch and it is 768 — CMO-25 §04 names that width for the QR block, and
   `testThePageHasOnePcMobileBreakpointAndNoTabletView` holds the page to it.
   809 was tried here on 2026-09-30 and removed: the provider templates use
   no `tp-site-type-*` roles, so the design system's mobile step bought 4px
   of gutter and a second breakpoint. A named brief beats a generic step. */
@media (max-width: 768px) {
  /*
   * THE PHONE VIEW IS CAPPED TO THE READING WIDTH.
   *
   * The design source draws this view at 390, where the card comes to 358. With
   * the switch at 768 the same composition measured 728 wide — twice what it
   * was drawn for, with a 656px line length. `--tp-site-reading-max` is the
   * design system's own 62ch, which keeps the composition near its drawn
   * proportions everywhere above 390.
   *
   * THE CHILD OF THE CONTAINER, not the container. AGENTS.md: a page may narrow
   * an inner reading block but must not redefine `.tp-site-container` — it owns
   * the rail and the gutters. The crumb band and the related-links band at the
   * foot are full-width bands with their own grounds and keep it.
   *
   * ONE CHILD SINCE 2026-11-05. This capped three: the tool row, the
   * full-width claim banner and the layout. The row is gone and the banner is a
   * card inside the rail, which the layout already caps. (Deleting the other
   * two selectors took this rule with them for one commit — the breakpoint test
   * caught it, which is what it is for.)
   */
  .tp-services-page .tp-services-provider__layout {
    max-width: var(--tp-site-reading-max);
    margin-right: auto;
    margin-left: auto;
  }

  /* Board: `.pv-intro, .pv-block { padding: 16px }` under its own 809px query.
     Ours is the page's single 768 switch — one breakpoint, not two. */
  .tp-services-page .tp-services-provider__intro,
  .tp-services-page .tp-services-provider__section:not(.tp-services-provider__app) {
    padding: 16px;
  }

  /* The column count is not here — the grid above sizes itself. */
  .tp-services-provider__banner { border-radius: 12px; }
}
